/* H4 Building Performance, "Nordic Precision" draft */
:root {
  --fog: #ECEEEF;
  --paper: #F5F5F2;
  --stone: #E4E2DC;
  --stone-2: #D9D6CE;
  --ink: #1D2328;
  --ink-2: #4A5560;
  --ink-3: #66727C;
  --slate: #50657A;
  --slate-2: #8597A8;
  --slate-bg: #3E4C58;
  --sun: #F0E84A;
  --sage: #8FB0A4;
  --line: rgba(29, 35, 40, .13);
  --line-2: rgba(29, 35, 40, .22);
  --gut: clamp(20px, 3.4vw, 48px);
  --max: 1520px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--fog); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--fog); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn-ink { background: var(--ink); color: #F3F4F2; }
.btn-ink:hover { background: var(--slate); }
.btn-ink .btn-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); transition: transform .4s var(--ease); }
.btn-ink:hover .btn-dot { transform: scale(1.5); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #F7F09A; box-shadow: 0 10px 30px -10px rgba(240, 232, 74, .55); }
.btn-sun svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn-sun:hover svg { transform: translateX(4px); }
.btn-label { display: inline-block; }
.btn-text { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.btn-text svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.btn-text:hover { border-color: var(--ink); }
.btn-text:hover svg { transform: translateY(3px); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.hdr.is-scrolled { background: rgba(236, 238, 239, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.hdr-in { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.hdr-left { display: flex; align-items: center; gap: 20px; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 24px; height: auto; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.logo-word span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; margin-top: 3px; color: var(--ink-2); }
.nav { display: flex; gap: 30px; font-size: 14.5px; }
.nav a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* site switcher */
.switcher { position: relative; }
.sw-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 12px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .45);
  font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color .3s, border-color .3s;
}
.sw-btn:hover, .sw-btn[aria-expanded="true"] { background: #fff; border-color: rgba(29, 35, 40, .35); }
.sw-marks { display: inline-grid; grid-template-columns: repeat(3, 6px); gap: 2px; }
.sw-marks i { width: 6px; height: 14px; border-radius: 2px; background: var(--c); }
.sw-marks i:nth-child(2) { box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); }
.sw-chev { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.sw-btn[aria-expanded="true"] .sw-chev { transform: rotate(180deg); }
.sw-menu {
  position: absolute; top: calc(100% + 10px); left: 0; width: 392px; z-index: 60;
  background: #FBFBF9; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  box-shadow: 0 30px 60px -24px rgba(29, 35, 40, .28), 0 2px 6px rgba(29, 35, 40, .05);
  transform-origin: 24px 0;
}
.sw-menu:not([hidden]) { animation: swIn .38s var(--ease); }
@keyframes swIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.sw-head { margin: 6px 10px 8px; color: var(--ink-3); font-size: 11px; }
.sw-menu ul { list-style: none; margin: 0; padding: 0; }
.sw-menu a {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 12px; border-radius: 10px; transition: background-color .25s;
}
.sw-menu a:hover, .sw-menu a:focus-visible { background: var(--fog); }
.sw-menu a:focus-visible { outline-offset: -2px; }
.sw-swatch { width: 34px; height: 34px; border-radius: 8px; background: var(--c); position: relative; }
.sw-swatch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(29,35,40,.08); }
.sw-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw-txt b { font-weight: 600; font-size: 15px; letter-spacing: -.015em; }
.sw-txt small { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.sw-menu em { font-style: normal; font-size: 10.5px; color: var(--slate); border: 1px solid rgba(80,101,122,.35); padding: 3px 7px; border-radius: 99px; }
.sw-arrow { width: 14px; height: 14px; color: var(--ink-3); transition: transform .35s var(--ease), color .3s; }
.sw-menu a:hover .sw-arrow { transform: translate(2px, -2px); color: var(--ink); }

/* ---------- shared type ---------- */
.label { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink-3); }
.label .idx { color: var(--ink); }
.label-light { color: rgba(242, 243, 241, .72); }
.label-light .idx { color: var(--sun); }
.h1 {
  margin: 0; font-weight: 500; font-size: clamp(3rem, 8.6vw, 10rem);
  line-height: .9; letter-spacing: -.057em; max-width: 16ch;
}
.h1-soft { color: var(--slate); }
.h1 { position: relative; z-index: 0; }
.hl { position: relative; display: inline-block; }
.hl::after { content: ""; position: absolute; left: .02em; right: .04em; bottom: .07em; height: .075em; background: var(--sun); z-index: -1; transform-origin: left; }
.motion .hl::after { transform: scaleX(0); transition: transform 1.2s var(--ease) 1.4s; }
.motion .is-in .hl::after { transform: scaleX(1); }
.h2 { margin: 0; font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 4.6rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.sec-head { display: flex; align-items: center; gap: 24px; }
.sec-head .label { flex: none; }
.rule { flex: 1; height: 1px; background: var(--line-2); transform-origin: left; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; padding-right: .02em; }
.wi { display: inline-block; will-change: transform; }
.motion [data-split] { opacity: 0; }
.motion [data-reveal] { opacity: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--hdr) + clamp(36px, 7vh, 88px)); }
.grid-lines {
  position: absolute; inset: 0 0 auto 0; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none;
}
.grid-lines i { border-left: 1px solid rgba(29, 35, 40, .05); }
.grid-lines i:last-child { border-right: 1px solid rgba(29, 35, 40, .05); }
.hero-top { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(22px, 3.4vh, 36px); color: var(--ink-2); }
.tick { width: 8px; height: 8px; border-radius: 2px; background: var(--sun); box-shadow: 0 0 0 1px rgba(29,35,40,.18); }
.hero-sub { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(28px, 5vh, 56px); align-items: end; }
.lede { grid-column: 1 / span 5; margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.hero-actions { grid-column: 8 / span 5; display: flex; justify-content: flex-end; align-items: center; gap: 28px; }

.hero-media { position: relative; margin: clamp(48px, 8vh, 96px) 0 0; height: min(86vh, 860px); overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.mesh-links line { stroke: rgba(29, 35, 40, .42); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mesh-pulses line { stroke: var(--slate); stroke-width: 8; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 0 100; stroke-dashoffset: 100; animation: pulse var(--d, 3s) linear var(--del, 0s) infinite; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.mesh-nodes circle { fill: #fff; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mesh-gw rect { fill: var(--sun); stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.gw-ring { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.mesh-tags line { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mesh-tags text { font-family: var(--mono); font-size: 25px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px var(--gut); color: var(--ink); background: linear-gradient(to top, rgba(236,238,239,.85), rgba(236,238,239,0));
}
.hero-cap span { display: flex; align-items: center; gap: 10px; }
.hero-cap span::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* ---------- connected ---------- */
.connected { background: var(--paper); padding: clamp(96px, 16vh, 180px) 0 clamp(80px, 14vh, 160px); position: relative; }
.conn-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(48px, 8vh, 88px); }
.conn-copy { grid-column: 1 / span 6; }
.conn-copy .h2 { max-width: 14ch; }
.systems { list-style: none; margin: clamp(56px, 9vh, 96px) 0 0; padding: 0; counter-reset: s; }
.sys {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 16px;
  padding: 24px 0 22px; border-top: 1px solid var(--line-2); cursor: default;
  transition: color .5s var(--ease);
}
.sys:last-child { border-bottom: 1px solid var(--line-2); }
.sys-i { color: var(--ink-3); transition: color .4s, transform .5s var(--ease); align-self: center; }
.sys-what { align-self: center; }
.sys-i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.sys.is-active .sys-i svg { fill: var(--slate); stroke: var(--ink); }
.sys-name { font-size: clamp(2.4rem, 4.6vw, 4.8rem); font-weight: 400; letter-spacing: -.05em; line-height: .95; color: rgba(29, 35, 40, .26); transition: color .55s var(--ease), transform .55s var(--ease); }
.sys-what { color: var(--ink-3); }
.sys.is-active .sys-name { color: var(--ink); transform: translateX(8px); }
.sys.is-active .sys-i { color: var(--ink); }
.sys-opt .sys-name { font-weight: 300; }
.conn-stage { grid-column: 8 / span 5; position: relative; }
.plan { position: sticky; top: calc(var(--hdr) + 6vh); margin: 0; }
.plan svg { width: 100%; height: auto; overflow: visible; }
.pl-dim { fill: none; stroke: var(--line); stroke-dasharray: 2 4; }
.hatch { stroke: rgba(29,35,40,.18); stroke-width: 1; }
.pl-wall { fill: #FBFBF9; stroke: var(--ink); stroke-width: 2.2; }
.pl-wall-in { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.pl-mesh path { fill: none; stroke: var(--slate-2); stroke-width: 1; stroke-dasharray: 3 5; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.nd > * { stroke: var(--ink); stroke-width: 1.4; fill: #FBFBF9; transform-box: fill-box; transform-origin: center; transition: fill .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.nd-occ > * { stroke-dasharray: 2.5 2.5; }
.plan[data-active] .nd > * { opacity: .32; }
.plan[data-active="light"] .nd-light > *,
.plan[data-active="energy"] .nd-energy > *,
.plan[data-active="hvac"] .nd-hvac > *,
.plan[data-active="occ"] .nd-occ > * { opacity: 1; fill: var(--slate); transform: scale(1.25); }
.plan[data-active="occ"] .nd-occ > * { fill: var(--slate-2); }
.pl-gw rect { fill: var(--sun); stroke: var(--ink); stroke-width: 1.6; }
.pl-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.pl-lbl-dim { fill: var(--ink-3); }
.plan-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--ink-3); font-size: 11px; }
.k { display: inline-flex; align-items: center; gap: 8px; transition: color .4s; }
.k i { width: 10px; height: 10px; border: 1.3px solid currentColor; }
.k-light i { border-radius: 50%; }
.k-hvac i { transform: rotate(45deg) scale(.85); }
.k-occ i { border-radius: 50%; border-style: dashed; }
.plan[data-active="light"] .k-light, .plan[data-active="energy"] .k-energy, .plan[data-active="hvac"] .k-hvac, .plan[data-active="occ"] .k-occ { color: var(--ink); }

/* ---------- how (signature) ---------- */
.how { position: relative; background: var(--stone); }
.how-track { position: relative; }
.panel { position: relative; padding: clamp(72px, 12vh, 120px) var(--gut); border-top: 1px solid var(--line-2); }
.panel-intro { border-top: 0; }
.how-title { max-width: 11ch; margin-top: 28px; font-size: clamp(2.4rem, 5.4vw, 6rem); }
.how-hint { display: none; }
.step { display: grid; grid-template-columns: 1fr; gap: 40px; }
.step-n { margin: 0 0 22px; color: var(--ink); }
.step-n span { color: var(--ink-3); }
.step-t { margin: 0; font-weight: 500; font-size: clamp(3rem, 7.4vw, 8.4rem); line-height: .9; letter-spacing: -.06em; white-space: nowrap; }
.step-l { margin: 22px 0 0; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); max-width: 22em; }
.dg { width: 100%; max-width: 620px; height: auto; overflow: visible; }
.dg [data-pop] { transform-box: fill-box; transform-origin: center; }
.d-soft { fill: none; stroke: rgba(29,35,40,.38); stroke-width: 1.2; }
.d-ink { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.d-ink-fill { fill: var(--ink); }
.d-route { fill: none; stroke: var(--slate); stroke-width: 2.2; stroke-linecap: round; }
.d-start { fill: var(--sun); stroke: var(--ink); stroke-width: 1.4; }
.d-mark { fill: var(--stone); stroke: var(--ink); stroke-width: 1.4; }
.d-lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-2); }
.d-lbl-strong { fill: var(--ink); }
.d-node circle { fill: var(--slate); stroke: var(--ink); stroke-width: 1.2; }
.d-wave { fill: none; stroke: var(--slate); stroke-width: 1.3; stroke-linecap: round; }
.d-link { fill: none; stroke: var(--slate); stroke-width: 1.1; stroke-dasharray: 3 5; }
.d-gw { fill: var(--sun); stroke: var(--ink); stroke-width: 1.5; }
.d-grid { fill: none; stroke: rgba(29,35,40,.14); stroke-width: 1; }
.d-base { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 5 6; }
.d-area { fill: rgba(240, 232, 74, .55); stroke: none; }
.d-line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.d-dash { stroke-dasharray: 2 5; }
.d-live { fill: var(--ink); }
.d-live-ring { fill: none; stroke: var(--ink); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
.d-floor circle { fill: var(--stone); stroke: var(--ink); stroke-width: 1.3; }
.d-floor-on circle { fill: var(--slate); }

.proof { display: flex; flex-direction: column; justify-content: center; }
.proof .label { margin-bottom: 18px; }
.proof-fig { margin: 0; display: flex; align-items: flex-start; gap: 18px; line-height: .8; }
.proof-up { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; padding-top: .6em; color: var(--ink-2); }
.proof-num { position: relative; display: inline-flex; align-items: flex-start; font-size: clamp(8rem, 24vw, 25rem); font-weight: 500; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.proof-num::after { content: ""; position: absolute; left: .04em; right: .1em; bottom: .02em; height: .085em; background: var(--sun); z-index: -1; transform-origin: left; transform: scaleX(var(--bar, 1)); }
.pct { font-size: .42em; font-weight: 400; letter-spacing: -.04em; margin-top: .12em; margin-left: .04em; color: var(--slate); }
.proof-l { margin: 26px 0 0; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; max-width: 24em; }
.foot { margin: 14px 0 0; color: var(--ink-2); font-size: 11.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-weight: 500; font-size: 16px; align-self: flex-start; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.how-bar { display: none; }

@media (min-width: 761px) {
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 4vw; }
}
/* horizontal mode: motion allowed and a wide enough screen */
@media (min-width: 761px) {
  .motion .how { height: 100vh; height: 100svh; overflow: hidden; }
  .motion .how-track { display: flex; height: 100%; width: max-content; will-change: transform; }
  .motion .panel { flex: none; height: 100%; border-top: 0; padding: calc(var(--hdr) + 5vh) var(--gut) 110px; }
  .motion .panel-intro { width: 46vw; display: flex; flex-direction: column; justify-content: center; }
  .motion .how-hint { display: inline-flex; align-items: center; gap: 14px; margin-top: 48px; color: var(--ink-2); }
  .motion .how-hint svg { width: 40px; height: 12px; animation: nudge 2s var(--ease) infinite; }
  @keyframes nudge { 50% { transform: translateX(8px); } }
  .motion .step { width: 78vw; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 4vw; border-left: 1px solid var(--line-2); }
  .motion .proof { width: 82vw; border-left: 1px solid var(--line-2); padding-left: 7vw; }
  .motion .how-bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) 34px; max-width: var(--max); margin: 0 auto; }
}
.how-steps { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 11px; color: var(--ink-3); margin-bottom: 12px; }
.how-steps span { transition: color .4s; }
.how-steps span.on { color: var(--ink); }
.how-rail { height: 1px; background: var(--line-2); position: relative; }
.how-fill { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- standards ---------- */
.standards { padding: clamp(120px, 22vh, 240px) 0; background: var(--fog); }
.std-text { margin: 40px 0 0; font-size: clamp(2.1rem, 5.6vw, 6.4rem); font-weight: 400; line-height: 1; letter-spacing: -.05em; max-width: 20ch; }

/* ---------- contact ---------- */
.contact { background: var(--slate-bg); color: #F2F3F1; padding: clamp(96px, 16vh, 170px) 0; overflow: hidden; }
.contact :focus-visible { outline-color: var(--sun); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.contact-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; }
.h-cta { margin: 34px 0 0; font-weight: 500; font-size: clamp(3.2rem, 8.6vw, 9.6rem); line-height: .88; letter-spacing: -.06em; }
.form { margin-top: clamp(48px, 8vh, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; max-width: 760px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field:nth-child(3) { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(242,243,241,.78); }
.field input, .field select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 52px; padding: 0 2px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(242,243,241,.38); border-radius: 0;
  font-size: 19px; letter-spacing: -.01em; color: #fff; transition: border-color .3s;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23F2F3F1' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 14px; }
.field select:invalid { color: rgba(242,243,241,.62); }
.field select option { color: var(--ink); background: #fff; }
.field input:hover, .field select:hover { border-color: rgba(242,243,241,.7); }
.field input:focus, .field select:focus { outline: none; border-color: var(--sun); box-shadow: 0 1px 0 var(--sun); }
.form-go { grid-column: 1 / -1; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 8px; }
.form-note { margin: 0; font-size: 14.5px; color: rgba(242,243,241,.78); }
.form-done { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--sun); min-height: 1px; }
.contact-media { grid-column: 9 / span 4; margin: 0; position: relative; border-radius: 4px; overflow: hidden; min-height: 520px; }
.contact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); }
.contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62,76,88,0) 55%, rgba(62,76,88,.45)); }

/* ---------- footer ---------- */
.ftr { background: var(--fog); padding: clamp(72px, 10vh, 110px) 0 30px; overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.logo-lg { grid-column: 1 / span 4; align-self: start; }
.logo-lg .logo-mark { width: 34px; }
.logo-lg .logo-word b { font-size: 19px; }
.ftr-sites { grid-column: 6 / span 3; display: flex; flex-direction: column; gap: 12px; }
.ftr-contact { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 10px; font-style: normal; color: var(--ink-2); font-size: 15px; }
.ftr-h { margin: 0 0 8px; color: var(--ink-3); font-size: 11px; }
.ftr-sites a { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: -.01em; }
.ftr-sites a i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(29,35,40,.1); }
.ftr-sites a:hover, .ftr-contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ftr-big { margin: clamp(64px, 10vh, 120px) 0 18px; font-size: clamp(3rem, 10.6vw, 11.4rem); font-weight: 300; letter-spacing: -.065em; line-height: .82; color: var(--stone-2); white-space: nowrap; }
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 11px; }
.to-top:hover { color: var(--ink); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: none; }
.cursor-ring {
  position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(29, 35, 40, .55); transition: transform .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), opacity .3s;
}
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { transform: scale(1.7); background: rgba(240, 232, 74, .35); border-color: rgba(29, 35, 40, .2); }
.cursor.is-zone .cursor-ring { transform: scale(2.2); background: transparent; border-color: rgba(29,35,40,.4); }
.cursor.is-zone .cursor-label { opacity: 1; }
.cursor.is-dark .cursor-ring { border-color: rgba(242,243,241,.6); }
.cursor.is-hidden .cursor-ring { opacity: 0; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .motion .cursor { display: block; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hero-sub { grid-template-columns: 1fr; }
  .lede, .hero-actions { grid-column: 1 / -1; }
  .hero-actions { justify-content: flex-start; }
  .conn-copy { grid-column: 1 / span 7; }
  .conn-stage { grid-column: 8 / span 5; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  body { font-size: 16px; }
  .hdr-in { gap: 10px; }
  .hdr-left { gap: 10px; }
  .logo-mark { width: 21px; }
  .logo-word b { font-size: 13px; }
  .logo-word span { font-size: 7.5px; letter-spacing: .12em; }
  .sw-btn { height: 34px; padding: 0 10px 0 9px; gap: 7px; font-size: 13px; }
  .hdr-cta { height: 34px; padding: 0 13px; font-size: 13px; gap: 8px; }
  .hdr-cta .btn-dot { display: none; }
  .sw-menu { position: fixed; top: calc(var(--hdr) - 4px); left: 12px; right: 12px; width: auto; }
  .grid-lines { grid-template-columns: repeat(4, 1fr); }
  .grid-lines i:nth-child(n+5) { display: none; }
  .grid-lines i:nth-child(4) { border-right: 1px solid rgba(29, 35, 40, .05); }
  .h1 { font-size: clamp(2.9rem, 13.6vw, 4.4rem); letter-spacing: -.055em; line-height: .92; }
  .hero-actions { flex-wrap: wrap; gap: 20px 24px; }
  .hero-media { height: 64vh; min-height: 420px; }
  .mesh-tags text { font-size: 44px; }
  .mesh-nodes circle { r: 14; }
  .hero-cap { font-size: 10px; padding: 14px var(--gut); }
  .hero-cap span:nth-child(3) { display: none; }
  .conn-grid { grid-template-columns: 1fr; gap: 0; }
  .conn-copy, .conn-stage { grid-column: 1 / -1; }
  .conn-copy { display: contents; }
  .conn-copy .h2 { order: 1; }
  .conn-stage { order: 2; margin-top: 40px; }
  .systems { order: 3; margin-top: 36px; }
  .plan { position: static; }
  .plan-key { margin-top: 14px; gap: 6px 16px; font-size: 10px; }
  .sys { grid-template-columns: 28px 1fr auto; padding: 18px 0 16px; }
  .sys-name { font-size: 2.4rem; }
  .panel { padding: 64px var(--gut) 72px; }
  .panel-intro { padding-top: 96px; }
  .step { gap: 30px; }
  .step-n { margin-bottom: 14px; }
  .step-t { font-size: clamp(3rem, 15vw, 4.6rem); }
  .step-l { margin-top: 14px; }
  .dg { width: 100%; margin-left: -6px; }
  .proof-num { font-size: clamp(8rem, 44vw, 12rem); }
  .form { grid-template-columns: 1fr; gap: 28px; }
  .contact-copy { grid-column: 1 / -1; }
  .contact-media { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .logo-lg { grid-column: 1 / -1; }
  .ftr-sites { grid-column: 1 / span 1; }
  .ftr-contact { grid-column: 2 / span 1; font-size: 14px; }
  .ftr-big { font-size: 15vw; white-space: normal; line-height: .9; }
}
@media (max-width: 380px) {
  .logo-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mesh-pulses { display: none; }
}

/* Scroll performance (2026-10-26). Backdrop blur is re-computed every frame for anything moving behind it,
   and its cost grows with the radius. These elements sit over scrolling or animating content, so they use
   a smaller radius; over soft backgrounds the frosted look is nearly identical. */
.hdr.is-scrolled { -webkit-backdrop-filter: blur(6px) saturate(1.2); backdrop-filter: blur(6px) saturate(1.2); }
