@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
  :root {
    --ink: #14181F; --text-2: #4B5563; --slate: #7B8794; --rule: #D1D5DB; --panel: #F5F7FA; --white: #FFFFFF;
    --blue: #006393; --blue-light: #E5F0F5; --blue-tint: #8CB9CE; --navy: #0B1F2A; --navy-2: #102A38;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.2,.7,.2,1);
  }
  * { box-sizing: border-box; }
  html { scroll-padding-top: 72px; }
  body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
  a { color: inherit; }
  p, li { text-wrap: pretty; }
  h1, h2, h3 { text-wrap: balance; }
  .wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
  section, .hero { position: relative; }
  .on-navy { background: var(--navy); color: var(--white); }
  /* Fine grain on navy, for depth */
  .grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; z-index: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

  /* Spine */
  .spine { position: fixed; left: 0; top: 0; bottom: 0; width: 6px; background: var(--navy); z-index: 40; }
  .spine i { position: absolute; inset: 0 0 auto 0; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(0); }

  /* Nav */
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .35s, border-color .35s, transform .35s var(--ease); border-bottom: 1px solid transparent; }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .wordmark { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--white); text-decoration: none; transition: color .35s; }
  .nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; align-items: center; }
  .nav ul a { text-decoration: none; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.72); position: relative; transition: color .25s; }
  .nav ul a:not(.cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav ul a.active::after, .nav ul a:not(.cta):hover::after { transform: scaleX(1); }
  .nav ul a:hover, .nav ul a.active { color: var(--white); }
  .nav .cta { color: var(--white) !important; background: var(--blue); padding: 10px 18px; border-radius: 4px; font-weight: 600 !important; }
  .nav.light { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--rule); }
  .nav.light .wordmark { color: var(--blue); }
  .nav.light ul a { color: var(--text-2); }
  .nav.light ul a:hover, .nav.light ul a.active { color: var(--ink); }
  .nav.dark { background: rgba(11,31,42,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.1); }

  .eyebrow { display: flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 0 0 22px; }
  .eyebrow::before { content: ""; width: 40px; height: 2px; background: currentColor; }
  .on-navy .eyebrow { color: var(--blue-tint); }
  h2.title { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1; font-weight: 800; letter-spacing: -0.04em; margin: 0; }

  /* Reveal */
  .r { transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .anim .r { opacity: 0; transform: translateY(32px); }
  .r.in { opacity: 1; transform: none; }
  .r.d1 { transition-delay: .1s; } .r.d2 { transition-delay: .2s; } .r.d3 { transition-delay: .3s; }

  /* ===== Hero ===== */
  .hero { height: 100svh; min-height: 680px; background: var(--navy); color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11,31,42,1) 8%, rgba(11,31,42,.4) 46%, rgba(11,31,42,0) 70%, rgba(11,31,42,.75) 100%); }
  .hero .wrap { position: relative; z-index: 2; width: 100%; }
  .hero h1 { font-size: clamp(3.2rem, 11vw, 10.5rem); line-height: .9; font-weight: 900; letter-spacing: -0.055em; margin: 0; }
  .hero h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.12em; }
  .hero h1 .line span { display: block; transition: transform 1.3s var(--ease); }
  .anim .hero h1 .line span { transform: translateY(105%); }
  .hero.go h1 .line span { transform: none; }
  .hero h1 .line:nth-child(2) span { transition-delay: .12s; color: var(--blue-tint); }
  .hero h1 .line:nth-child(3) span { transition-delay: .24s; color: var(--blue-tint); }
  .hero-foot { display: grid; grid-template-columns: minmax(0, 52ch) auto; align-items: end; justify-content: space-between; gap: 32px; margin: 44px 0 0; padding: 28px 0 40px; border-top: 1px solid rgba(255,255,255,.16); }
  .hero-foot p { margin: 0; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6; color: #B9CBD4; }
  .hero-foot p b { color: var(--white); font-weight: 600; }
  .btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-weight: 600; font-size: .98rem; padding: 17px 26px; border-radius: 4px; text-decoration: none; background: var(--blue); color: var(--white); white-space: nowrap; transition: background .25s, gap .25s; }
  .btn:hover { background: #0077AD; gap: 18px; }
  .scroll-cue { position: absolute; right: var(--gutter); top: 50%; z-index: 2; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 14px; }
  .scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--blue-tint), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
  @keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

  /* ===== Strengths strip ===== */
  .strengths { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
  .strengths .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .strengths .cell { padding: 36px 28px 40px 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.1); }
  .strengths .cell:last-child { border-right: 0; margin-right: 0; }
  .strengths b { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-tint); font-weight: 700; margin-bottom: 10px; }
  .strengths span { font-size: 1.02rem; line-height: 1.45; color: #E3ECF0; }

  /* ===== Philosophy: scroll-lit statement ===== */
  .philosophy { padding-block: clamp(110px, 16vw, 220px) clamp(80px, 10vw, 140px); }
  .lit { font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; margin: 0; max-width: 20ch; }
  .lit .w { transition: color .25s; }
  .anim .lit .w { color: var(--rule); }
  .lit .w.on { color: var(--ink); }
  .lit .w.on.hl { color: var(--blue); }
  .phil-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(64px, 9vw, 120px); align-items: start; }
  .phil-body p { margin: 0 0 20px; font-size: 1.08rem; line-height: 1.75; color: var(--text-2); }
  .belief { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; border-left: 6px solid var(--blue); padding: 6px 0 6px 28px; margin: 0; }
  .belief small { display: block; margin-top: 16px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
  .photo-strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: clamp(64px, 9vw, 120px); }
  .photo { background-size: cover; background-position: center; background-color: var(--navy); border-radius: 4px; height: clamp(260px, 34vw, 520px); }
  .photo-strip .photo:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }

  /* ===== Marquee ===== */
  .marquee { background: var(--blue); color: var(--white); overflow: hidden; padding-block: 26px; border-block: 1px solid rgba(255,255,255,.15); }
  .marquee .track { display: flex; width: max-content; animation: slide 60s linear infinite; }
  .marquee span { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; padding-right: .9em; white-space: nowrap; }
  .marquee span:nth-child(even) { color: var(--blue-tint); }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* ===== Foundation: pinned build ===== */
  .foundation .fbody { padding-block: clamp(110px, 14vw, 200px); }
  .foundation .fbody > .wrap { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
  .f-copy h2 { margin-bottom: 26px; }
  .f-lead { font-size: 1.08rem; line-height: 1.7; color: #B9CBD4; margin: 0 0 36px; max-width: 46ch; }
  .f-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .f-steps li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 40px 1fr; gap: 6px; transition: opacity .5s; }
  .anim .f-steps li { opacity: .35; }
  .f-steps li.on { opacity: 1; }
  .f-steps .n { font-weight: 700; color: var(--blue-tint); font-size: .85rem; padding-top: 3px; }
  .f-steps h3 { margin: 0 0 4px; font-size: 1.08rem; font-weight: 700; }
  .f-steps p { margin: 0; color: #9FB3BE; font-size: .93rem; line-height: 1.55; }
  .f-diagram { display: grid; gap: 18px; position: relative; }
  .layer { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 22px 24px; background: rgba(255,255,255,.02); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .9s; }
  .anim .layer { opacity: .08; transform: translateY(40px) scale(.97); }
  .layer.on { opacity: 1; transform: none; }
  .layer[data-l="1"] { transition-delay: .35s; } .layer[data-l="2"] { transition-delay: .7s; }
  .link[data-l="1"]::before { transition-delay: .25s; } .link[data-l="2"]::before { transition-delay: .6s; }
  .layer h4 { margin: 0 0 14px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-tint); font-weight: 700; display: flex; justify-content: space-between; }
  .layer h4 em { font-style: normal; letter-spacing: 0; text-transform: none; color: #9FB3BE; font-weight: 500; font-size: .82rem; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { font-size: .86rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #E3ECF0; transition: opacity .5s, transform .5s var(--ease); }
  .anim .chip { opacity: 0; transform: translateY(8px); }
  .layer.on .chip { opacity: 1; transform: none; }
  .layer.core { background: var(--blue); border-color: var(--blue); padding: 30px 26px; }
  .layer.core.on { box-shadow: 0 40px 120px -30px rgba(0,99,147,.85), 0 0 0 1px rgba(140,185,206,.3); }
  .layer.core h4, .layer.core h4 em { color: var(--white); }
  .layer.core .chip { border-color: rgba(255,255,255,.5); color: var(--white); background: rgba(255,255,255,.1); }
  .layer.core .chip.v { border-style: dashed; background: none; font-style: italic; }
  .link { height: 18px; position: relative; margin: -18px 0; }
  .link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(140,185,206,.6); transform-origin: bottom; transition: transform .6s var(--ease); }
  .anim .link::before { transform: scaleY(0); }
  .link.on::before { transform: scaleY(1); }

  .benefits { padding-block: 0 clamp(80px, 10vw, 140px); }
  .benefits .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .benefits .grid > div { padding: 32px 28px 8px 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.1); position: relative; }
  .benefits .grid > div:last-child { border-right: 0; margin-right: 0; }
  .benefits .grid > div::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--blue-tint); }
  .benefits h3 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
  .benefits p { margin: 0; color: #9FB3BE; line-height: 1.65; font-size: .95rem; }

  /* ===== Services ===== */
  .services { padding-block: clamp(110px, 14vw, 200px); }
  .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
  .sec-head p { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--text-2); max-width: 48ch; }
  .svc-list { border-top: 2px solid var(--ink); }
  .svc { display: grid; grid-template-columns: 90px 1.1fr 1fr 40px; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--rule); position: relative; transition: padding .45s var(--ease); }
  .svc::before { content: ""; position: absolute; inset: 0; background: var(--panel); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
  .svc:hover { padding-inline: 24px; }
  .svc:hover::before { transform: scaleY(1); }
  .svc .n { font-size: .9rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
  .svc h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
  .svc p { margin: 0; color: var(--text-2); line-height: 1.6; }

  /* ===== Industries ===== */
  .industries { padding-block: clamp(110px, 14vw, 200px) clamp(80px, 10vw, 140px); }
  .ind { display: flex; gap: 14px; height: clamp(440px, 52vw, 640px); }
  .ind article { flex: 1; position: relative; border-radius: 6px; overflow: hidden; background-size: cover; background-position: center; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; transition: flex 1s var(--ease); isolation: isolate; cursor: default; }
  .ind article::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,42,.15) 10%, rgba(11,31,42,.94) 82%); z-index: -1; transition: background .8s; }
  .ind article.open { flex: 2; }
  .ind article:not(.open) h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
  .ind h3 { transition: font-size .8s var(--ease); }
  .ind article.open::before { background: linear-gradient(180deg, rgba(0,99,147,.2) 0%, rgba(11,31,42,.95) 75%); }
  .ind .in { padding: clamp(22px, 3vw, 36px); }
  .ind .n { font-size: .72rem; letter-spacing: .18em; font-weight: 700; color: var(--blue-tint); }
  .ind h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 0; }
  .ind p { margin: 0; color: #DCE6EB; line-height: 1.6; max-width: 40ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s, margin .8s; }
  .ind article.open p { max-height: 160px; opacity: 1; margin-top: 14px; }

  .takeaway { margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 6px 1fr; background: var(--panel); }
  .takeaway::before { content: ""; background: var(--blue); }
  .takeaway .body { padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
  .takeaway h3 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
  .takeaway p { margin: 0; color: var(--text-2); line-height: 1.75; }

  /* ===== Contact ===== */
  .contact { overflow: hidden; padding-block: clamp(130px, 18vw, 240px) 0; }
  .contact canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; z-index: 0; }
  .contact::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, var(--navy) 30%, rgba(11,31,42,0) 100%); }
  .contact .wrap { position: relative; z-index: 2; }
  .contact h2 { font-size: clamp(3rem, 10vw, 9.5rem); line-height: .92; font-weight: 900; letter-spacing: -0.055em; margin: 0 0 40px; }
  .contact h2 span { color: var(--blue-tint); }
  .contact p { color: #B9CBD4; font-size: 1.15rem; line-height: 1.6; max-width: 46ch; margin: 0 0 48px; }
  .form { display: grid; gap: 18px; max-width: 760px; }
  .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form label { display: grid; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-tint); }
  .form input, .form textarea { font: 400 1.05rem/1.5 var(--font); letter-spacing: 0; text-transform: none; color: var(--white); background: var(--navy-2); border: 1px solid rgba(255,255,255,.22); border-radius: 4px; padding: 14px 16px; transition: border-color .25s, background .25s; }
  .form textarea { resize: vertical; min-height: 140px; }
  .form input:focus, .form textarea:focus { outline: none; border-color: var(--blue-tint); background: #143345; }
  .form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form .send { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
  .form .btn { border: 0; cursor: pointer; }
  .form .btn[disabled] { opacity: .6; cursor: default; }
  .form .status { margin: 0; font-size: .98rem; color: #B9CBD4; max-width: 46ch; }
  .foot { position: relative; z-index: 2; margin-top: clamp(120px, 16vw, 220px); border-top: 1px solid rgba(255,255,255,.12); padding-block: 28px; font-size: .85rem; color: #9FB3BE; }
  .foot .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
  .foot { background: var(--navy); }
  .foot span { max-width: 70ch; line-height: 1.6; }
  .foot b { color: var(--white); font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }

  /* Static mode: reduced motion, or no scripting effects */
  .static .r, .static .layer, .static .chip { opacity: 1 !important; transform: none !important; transition: none !important; }
  .static .hero h1 .line span { transform: none; transition: none; }
  .static .lit .w { color: var(--ink); }
  .static .lit .w.hl { color: var(--blue); }
  .static .marquee .track { animation: none; }
  .static .f-steps li { opacity: 1; }
  .static .link::before { transform: scaleY(1); }
  .static .scroll-cue::after { animation: none; }

  @media (max-width: 960px) {
    .nav ul li:not(:last-child) { display: none; }
    .scroll-cue { display: none; }
    .hero-foot, .phil-body, .sec-head, .takeaway .body, .form .row { grid-template-columns: 1fr; }
    .strengths .grid, .benefits .grid { grid-template-columns: repeat(2, 1fr); }
    .strengths .cell:nth-child(2), .benefits .grid > div:nth-child(2) { border-right: 0; margin-right: 0; }
    .foundation .fbody > .wrap { grid-template-columns: 1fr; }
    .f-steps li { opacity: 1; }
    .svc { grid-template-columns: 52px 1fr; }
    .svc p { grid-column: 2; }
    .svc:hover { padding-inline: 0; }
    .ind { flex-direction: column; height: auto; }
    .ind article { min-height: 300px; flex: none; }
    .ind p { max-height: none; opacity: 1; margin-top: 12px; }
    .photo-strip { grid-template-columns: 1fr; }
    .photo-strip .photo:nth-child(2) { margin-top: 0; }
    .spine { width: 4px; }
  }
  @media (max-width: 560px) {
    .strengths .grid, .benefits .grid { grid-template-columns: 1fr; }
    .strengths .cell, .benefits .grid > div { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 24px 0; }
  }

  .f-lead { margin-top: 26px; }
  .benefits .wrap { position: relative; z-index: 1; }
  .nf { height: 100svh; justify-content: center; }
  .nf h1 { font-size: clamp(2.6rem, 8vw, 6rem); }
  .nf p { margin-top: 28px; }
  .form .note { margin: 4px 0 0; font-size: .9rem; color: #9FB3BE; }
  .form .note a, .foot a { color: #B9CBD4; }
  .doc { padding-block: 140px 100px; }
  .doc .wrap { max-width: 820px; }
  .doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 24px; }
  .doc h2 { font-size: 1.3rem; font-weight: 800; margin: 44px 0 12px; }
  .doc p, .doc li { color: var(--text-2); line-height: 1.7; }
  .doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
  .doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
  .doc th { border-top: 2px solid var(--ink); }
  .doc hr { border: 0; border-top: 1px solid var(--rule); margin: 28px 0; }
  .doc-nav { position: static; background: var(--navy); }

  /* Photography */
  .ph-port { background-image: url("img/energy-site.webp"); }
  .ph-service { background-image: url("img/check-in.webp"); }
  .ph-truck { background-image: url("img/truck-depot.webp"); }
  .ph-utility { background-image: url("img/field-crew.webp"); }
  .ph-skyline { background-image: url("img/city.webp"); }
