/* =========================================================
   Hydrovlux Energy Inc. — V2 "control room"
   Signal system: copper = power, cyan = water.
   ========================================================= */
:root {
  --bg: #050d13;
  --bg-2: #08151e;
  --panel: #0a1a24;
  --navy: #102a3a;
  --teal: #2f6378;
  --ice: #eef4f6;
  --text: #b6c6cd;
  --dim: #6d8590;
  --line: rgba(150, 205, 230, .14);
  --line-2: rgba(150, 205, 230, .28);
  --copper: #c8743a;
  --power: #ff8a3d;
  --water: #46d2ff;
  --grad: linear-gradient(90deg, var(--power), var(--water));
  --wide: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(18px, 4.4vw, 64px);
  --max: 1260px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ol { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.skip { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--power); color: var(--bg); padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; }
::selection { background: var(--power); color: var(--bg); }

/* Blueprint field behind everything */
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 8% 10%, rgba(70, 210, 255, .07), transparent 70%),
    radial-gradient(50% 45% at 95% 85%, rgba(255, 138, 61, .06), transparent 70%),
    linear-gradient(rgba(150, 205, 230, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(150, 205, 230, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
}

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.hdr.solid, .hdr.open { background: rgba(5, 13, 19, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(16px, 2.6vw, 40px); }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav a { position: relative; display: flex; align-items: baseline; gap: 8px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text); padding: 10px 0; transition: color .25s; }
.nav a i { font-style: normal; color: var(--copper); font-size: 10px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.on { color: var(--ice); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.hdr-right { display: flex; align-items: center; gap: 18px; }
.clock { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--water); box-shadow: 0 0 10px var(--water); animation: blink 2.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(255, 138, 61, .5); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: rgba(5, 13, 19, .5); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--ice); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (max-width: 1180px) { .clock { display: none; } }
@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .hdr-right .btn { display: none; }
  .nav { position: fixed; top: var(--hdr); left: 0; right: 0; height: calc(100svh - var(--hdr)); flex-direction: column; gap: 0; padding: 24px var(--gutter); background: rgba(5, 13, 19, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-size: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .logo img { height: 40px; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 26px; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color .3s, background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { color: #120802; background: linear-gradient(100deg, #ffa25c, var(--power) 45%, var(--copper)); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.btn-solid:hover { box-shadow: 0 0 40px rgba(255, 138, 61, .45); transform: translateY(-1px); }
.btn-line { color: var(--ice); border: 1px solid var(--line-2); background: rgba(5, 13, 19, .35); }
.btn-line:hover { border-color: var(--water); box-shadow: 0 0 0 1px rgba(70, 210, 255, .25), 0 0 30px rgba(70, 210, 255, .18); }
.btn.sm { padding: 11px 18px; font-size: 11px; }

/* ---------- Shared type ---------- */
.tag { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ice); margin-bottom: 26px; }
.tag i { font-style: normal; color: var(--power); border: 1px solid rgba(255, 138, 61, .45); padding: 3px 7px; letter-spacing: .12em; font-size: 11px; }
.tag::after { content: ""; width: 56px; height: 1px; background: var(--grad); opacity: .8; }
h2 { font: 300 clamp(2rem, 4.2vw, 3.5rem)/1.08 var(--sans); letter-spacing: -.02em; color: var(--ice); max-width: 18ch; text-wrap: balance; }
.sec { position: relative; padding: clamp(84px, 11vw, 160px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.sec-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text); max-width: 34ch; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* HUD corner brackets */
.c { position: absolute; width: 18px; height: 18px; border: 0 solid var(--water); pointer-events: none; z-index: 2; }
.c.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.c.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.c.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.c.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; padding: calc(var(--hdr) + 40px) 0 110px; background: #02080c; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px),
    radial-gradient(70% 60% at 50% 50%, rgba(2, 8, 12, .15), rgba(2, 8, 12, .7)),
    linear-gradient(180deg, rgba(5, 13, 19, .75) 0%, rgba(5, 13, 19, .1) 24%, rgba(5, 13, 19, .2) 70%, var(--bg) 100%);
}
.scan { position: absolute; left: 0; right: 0; top: -10%; height: 120px; background: linear-gradient(180deg, transparent, rgba(70, 210, 255, .07), transparent); animation: scan 9s linear infinite; }
@keyframes scan { to { transform: translateY(1100%); } }
.hud { position: absolute; inset: calc(var(--hdr) + 18px) clamp(14px, 2.4vw, 36px) 22px; z-index: -1; pointer-events: none; }
.hud .c { width: 26px; height: 26px; border-color: rgba(238, 244, 246, .45); }
.rail { position: absolute; left: -4px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: rgba(238, 244, 246, .5); }
.rail em { font-style: normal; color: var(--power); }
.hero-in { position: relative; width: 100%; max-width: 1120px; padding: 0 var(--gutter); text-align: center; }
.wordmark { margin: 0; font-weight: 400; }
.wm { display: block; font: 400 clamp(2rem, 6.2vw, 5.6rem)/1 var(--wide); letter-spacing: .2em; margin-right: -.2em; color: var(--ice); text-shadow: 0 0 40px rgba(70, 210, 255, .25); white-space: nowrap; }
.wm-sub { display: block; margin-top: 18px; font-size: clamp(.66rem, 1vw, .82rem); letter-spacing: .7em; margin-right: -.7em; text-transform: uppercase; color: var(--power); }
.xrule { position: relative; width: 140px; height: 18px; margin: 30px auto 34px; }
.xrule i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform-origin: center; }
.xrule .w { background: linear-gradient(90deg, transparent, var(--water), transparent); transform: rotate(7deg); }
.xrule .p { background: linear-gradient(90deg, transparent, var(--power), transparent); transform: rotate(-7deg); }
.hero-title { font: 300 clamp(1.75rem, 3.7vw, 3.25rem)/1.14 var(--sans); letter-spacing: -.015em; color: var(--ice); max-width: 22ch; margin: 0 auto; text-wrap: balance; }
.t-water { background: linear-gradient(90deg, #8ae6ff, var(--water)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-power { background: linear-gradient(90deg, #ffb27a, var(--power)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { max-width: 640px; margin: 26px auto 0; font-size: clamp(.98rem, 1.3vw, 1.08rem); line-height: 1.75; color: #cbd8de; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--dim); text-decoration: none; }
.cue i { width: 1px; height: 38px; background: linear-gradient(var(--water), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .rail { display: none; }
  .wm { letter-spacing: .14em; margin-right: -.14em; font-size: clamp(1.5rem, 7.2vw, 2.8rem); }
  .wm-sub { letter-spacing: .5em; margin-right: -.5em; }
  .hero-cta .btn { width: 100%; }
  .cue { display: none; }
}

/* Entry animation (JS adds .ready) */
.js .hero-in > * { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .ready .hero-in > * { opacity: 1; transform: none; }
.js .ready .hero-in > :nth-child(2) { transition-delay: .25s; }
.js .ready .hero-in > :nth-child(3) { transition-delay: .4s; }
.js .ready .hero-in > :nth-child(4) { transition-delay: .55s; }
.js .ready .hero-in > :nth-child(5) { transition-delay: .7s; }
.js .xrule i { transform: scaleX(0); transition: transform 1.2s var(--ease) .5s; }
.js .ready .xrule .w { transform: rotate(7deg) scaleX(1); }
.js .ready .xrule .p { transform: rotate(-7deg) scaleX(1); }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8, 21, 30, .7); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: tick 48s linear infinite; font: 500 12px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.ticker-track b { width: 7px; height: 7px; transform: rotate(45deg); flex: 0 0 auto; }
.ticker-track b.pw { background: var(--power); box-shadow: 0 0 10px var(--power); }
.ticker-track b.wt { background: var(--water); box-shadow: 0 0 10px var(--water); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy { position: sticky; top: calc(var(--hdr) + 48px); }
.about-lede { margin-top: 34px; padding-left: 22px; border-left: 1px solid; border-image: linear-gradient(var(--power), var(--water)) 1; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.75; color: var(--ice); max-width: 32ch; }
.about-media { display: grid; gap: clamp(26px, 3vw, 44px); }
.frame { position: relative; padding: 10px; border: 1px solid var(--line); background: rgba(8, 21, 30, .6); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.frame .c { width: 16px; height: 16px; }
.f2 { width: 88%; justify-self: end; }
.f2 .c { border-color: var(--power); }
.frame figcaption { display: flex; gap: 14px; padding: 12px 4px 2px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.frame figcaption span { color: var(--power); }
.beam { position: absolute; inset: 10px 10px auto 10px; height: calc(100% - 20px); pointer-events: none; overflow: hidden; }
.beam::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(70, 210, 255, .22), transparent); }
.frame .beam { height: auto; bottom: 46px; }
.in .beam::after, .module:hover .beam::after { animation: beam 1.6s var(--ease); }
@keyframes beam { to { left: 120%; } }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-copy { position: static; } .f2 { width: 100%; } }

/* ---------- Focus modules ---------- */
.focus { background: linear-gradient(180deg, transparent, rgba(16, 42, 58, .35) 30%, transparent); }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); perspective: 1200px; }
.module { --acc: var(--power); position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(16, 42, 58, .55), rgba(8, 21, 30, .85)); border: 1px solid var(--line); transition: border-color .35s, box-shadow .35s, transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }
.m-water { --acc: var(--water); }
.m-both { --acc: var(--water); }
.module:hover { border-color: color-mix(in srgb, var(--acc) 55%, transparent); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 40px -12px var(--acc); }
.mod-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.sig { display: flex; align-items: center; gap: 8px; color: var(--ice); }
.sig b { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: blink 2.4s infinite; }
.m-both .sig b { background: linear-gradient(90deg, var(--power) 50%, var(--water) 50%); box-shadow: 0 0 10px var(--power), 0 0 12px var(--water); }
.mod-img { position: relative; overflow: hidden; }
.mod-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85) contrast(1.05) brightness(.9); transform: scale(1.01); transition: transform 1.2s var(--ease), filter .6s; }
.module:hover .mod-img img { transform: scale(1.06); filter: none; }
.mod-img .beam { inset: 0; height: 100%; }
.mod-body { padding: 26px 22px 30px; flex: 1; }
.mod-body h3 { font: 400 14px/1.6 var(--wide); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.mod-body p { font-size: .98rem; line-height: 1.75; color: var(--text); }
.mod-line { position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); box-shadow: 0 0 14px var(--acc); }
.m-both .mod-line { background: var(--grad); }
.module:hover .mod-line { transform: scaleX(1); }
@media (max-width: 980px) { .modules { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; } }

/* ---------- Co-location schematic ---------- */
.schematic { position: relative; border: 1px solid var(--line); background: radial-gradient(60% 70% at 50% 50%, rgba(16, 42, 58, .5), rgba(5, 13, 19, .4)); padding: 0 0 clamp(14px, 2vw, 28px); }
.sch-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.sch-key { display: flex; align-items: center; gap: 8px; color: var(--text); }
.sch-key b { width: 14px; height: 2px; }
.sch-key b.wt { margin-left: 14px; }
.pw { --c: var(--power); }
.wt { --c: var(--water); }
.sch-key b { background: var(--c); box-shadow: 0 0 8px var(--c); }
.sch-ill { color: var(--power); }
.sch-svg { width: 100%; height: auto; margin: 0 auto; }
.sch-svg.wide { max-width: 1040px; padding: 10px clamp(8px, 2vw, 24px) 0; }
.sch-svg.tall { display: none; max-width: 420px; padding: 18px 10px 0; }
.sch-svg .ln { fill: none; stroke: var(--c); stroke-opacity: .28; stroke-width: 1.5; transition: stroke-opacity .3s; }
.sch-svg .fl { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 22; animation: flow 1.6s linear infinite; filter: drop-shadow(0 0 4px var(--c)); }
@keyframes flow { to { stroke-dashoffset: -24; } }
.sch-svg .ring { fill: none; stroke: var(--power); stroke-opacity: .5; stroke-dasharray: 3 9; transform-box: fill-box; transform-origin: center; animation: spin 26s linear infinite; }
.sch-svg .r2 { stroke: var(--water); stroke-opacity: .35; stroke-dasharray: 1 6; animation-duration: 40s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.sch-svg .hub { fill: #0a1a24; stroke: var(--power); stroke-width: 1.5; filter: drop-shadow(0 0 18px rgba(255, 138, 61, .45)); }
.sch-svg .lbl-core { fill: var(--ice); font: 500 11.5px var(--mono); letter-spacing: .14em; text-anchor: middle; }
.sch-svg.tall .lbl-core { font-size: 10px; letter-spacing: .1em; }
.sch-svg .lbl-tiny { fill: var(--power); font: 500 9px var(--mono); letter-spacing: .3em; text-anchor: middle; }
.sch-svg .node { cursor: default; }
.sch-svg .node rect { fill: rgba(8, 21, 30, .92); stroke: var(--c); stroke-opacity: .6; stroke-width: 1; transition: stroke-opacity .3s, filter .3s; }
.sch-svg .node text { fill: var(--ice); font: 500 12.5px var(--mono); letter-spacing: .14em; text-anchor: middle; }
.sch-svg .node:hover rect, .sch-svg .node.on rect { stroke-opacity: 1; filter: drop-shadow(0 0 10px var(--c)); }
.sch-svg.wide.hl .ln { stroke-opacity: .12; }
.sch-svg.wide .ln.on { stroke-opacity: .9; }
@media (max-width: 700px) { .sch-svg.wide { display: none; } .sch-svg.tall { display: block; } }

/* Build · Own · Finance · Operate */
.bofo { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.bofo li { position: relative; padding: 28px 10px 6px 0; display: flex; flex-direction: column; gap: 10px; }
.bofo li span { font-size: 11px; letter-spacing: .24em; color: var(--dim); transition: color .4s; }
.bofo li b { font: 400 clamp(1.15rem, 2.5vw, 2.15rem)/1.1 var(--wide); letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 244, 246, .28); transition: color .5s, text-shadow .5s; }
.bofo li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; transform: rotate(45deg); background: var(--bg); border: 1px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; }
.bofo li.on b { color: var(--ice); text-shadow: 0 0 28px rgba(70, 210, 255, .35); }
.bofo li.on span { color: var(--power); }
.bofo li.on::before { background: var(--power); border-color: var(--power); box-shadow: 0 0 12px var(--power); }
.bofo li.done b { color: rgba(238, 244, 246, .7); }
.bofo-line { position: absolute; top: -1px; left: 0; right: 0; height: 1px; pointer-events: none; }
.bofo-line i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad); box-shadow: 0 0 10px var(--power); transition: width .9s var(--ease), height .9s var(--ease); }
.no-js .bofo li b { color: var(--ice); }
.bofo-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-top: 30px; max-width: 64ch; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.7; color: var(--text); }
.bofo-note .mono { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--power); }
@media (max-width: 640px) {
  .bofo { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line); margin-left: 5px; }
  .bofo li { flex-direction: row; align-items: baseline; gap: 18px; padding: 16px 0 16px 26px; }
  .bofo li::before { top: 50%; left: -5px; margin-top: -5px; }
  .bofo li b { font-size: 1.35rem; }
  .bofo-line { top: 0; bottom: 0; left: -1px; right: auto; width: 1px; height: auto; }
  .bofo-line i { width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(var(--power), var(--water)); }
}

/* ---------- Strategic outlook ---------- */
.outlook { overflow: hidden; isolation: isolate; min-height: 80vh; display: flex; align-items: center; }
.outlook-media { position: absolute; inset: 0; z-index: -1; }
.outlook-media img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.outlook-media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 19, .92) 0%, rgba(5, 13, 19, .6) 45%, rgba(5, 13, 19, .45) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 80%, var(--bg) 100%),
    linear-gradient(rgba(150, 205, 230, .05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(150, 205, 230, .05) 1px, transparent 1px) 0 0 / 64px 64px; }
.outlook-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.panel { position: relative; padding: clamp(26px, 3.4vw, 46px); background: rgba(5, 13, 19, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.panel::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: linear-gradient(var(--power), var(--water)); }
.outlook-panel p { font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.8; color: var(--text); }
.outlook-panel p + p { margin-top: 1.3em; }
.outlook-panel strong { font-weight: 500; color: var(--ice); }
.outlook-panel .invite { padding-top: 1.3em; border-top: 1px solid var(--line); color: var(--ice); }
@media (max-width: 860px) { .outlook-grid { grid-template-columns: minmax(0, 1fr); } .outlook { min-height: 0; } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, transparent, rgba(16, 42, 58, .45)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-copy { position: sticky; top: calc(var(--hdr) + 40px); }
.contact-copy > p:not(.tag) { margin-top: 26px; font-size: 1.05rem; line-height: 1.8; max-width: 34ch; }
.direct { margin-top: 40px; }
.direct .k { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.mail { font: 300 clamp(1.4rem, 2.6vw, 2rem) var(--sans); color: var(--ice); text-decoration: none; background: linear-gradient(var(--grad)) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: color .3s; overflow-wrap: anywhere; }
.mail:hover { color: var(--water); }
.dl { margin-top: 36px; }
.terminal { border: 1px solid var(--line-2); background: #12262f; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(5, 13, 19, .6); }
.term-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(5, 13, 19, .6); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.term-bar span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lights { display: flex; gap: 6px; }
.lights b { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.lights b:nth-child(1) { background: var(--power); box-shadow: 0 0 8px var(--power); }
.lights b:nth-child(2) { background: var(--water); box-shadow: 0 0 8px var(--water); }
.ver { color: var(--power); }
.terminal iframe { display: block; width: 100%; height: 760px; border: 0; transition: height .25s; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-copy { position: static; } }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0 28px; overflow: hidden; }
.ftr-mark { font: 400 clamp(2rem, 8vw, 8.4rem)/1 var(--wide); letter-spacing: .12em; width: max-content; margin-left: 50%; transform: translateX(calc(-50% + .06em)); color: transparent; -webkit-text-stroke: 1px rgba(150, 205, 230, .16); white-space: nowrap; user-select: none; }
.ftr-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(30px, 4vw, 56px); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ftr-row img { height: 52px; width: auto; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ftr-nav a { text-decoration: none; color: var(--text); }
.ftr-nav a:hover { color: var(--ice); }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: .82rem; color: var(--dim); }
.ftr-base .mono { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.ftr-base a { text-decoration: none; color: var(--text); }
.ftr-base a:hover { color: var(--water); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .module.reveal.in { transform: none; }
.js .module.tilt-ready { transition: border-color .35s, box-shadow .35s, transform .25s ease-out; transition-delay: 0s; }
/* Cursor spotlight on modules (set by JS, mouse only) */
.module::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%); }
.module:hover::before { opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-in > * { opacity: 1 !important; transform: none !important; }
  .js .xrule .w { transform: rotate(7deg); } .js .xrule .p { transform: rotate(-7deg); }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; padding: 18px var(--gutter); }
  .ticker-track > :nth-child(n+15) { display: none; }
  .bofo li b { color: var(--ice); }
}
