/* Oxiom site styles. Palette from the Oxiom colour palette 2025:
   Oxiom Black #0B0B0B, Dull Black #181C20, graphite #565A5E, off-white #F6F6F6,
   orange #F94A09 (logo), button gradient #F9430B to #FFA970. Orange is the 10%. */

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0B0B0B;
  --ink: var(--band);
  --graphite: #565A5E;
  --paper: #F6F6F6;
  --orange: #F94A09;
  --peach: #EAA28A;
  --ember: #F9430B;
  --apricot: #FFA970;
  --text: #F6F6F6;
  --text-2: #B4B8BC;
  --text-3: #8C9096;
  --line: rgb(var(--fg-rgb) / 0.14);
  --line-strong: rgb(var(--fg-rgb) / 0.32);
  --grad: linear-gradient(100deg, var(--ember) 0%, #FF7A3C 55%, var(--apricot) 100%);
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --intro-end: 0s;

  /* theme tokens: dark is the default, html[data-theme="light"] below swaps them */
  --bg: #0B0B0B; --fg: #F6F6F6; --fg-rgb: 246 246 246;
  --s0: #0B0B0B; --s1: #181C20; --s2: #202427; --sd: #0F1113;
  --band: #0B0B0B;
  --focus: #FFA970; --err: #FFB295; --err-line: #FF8F6B;
  --field-bg: rgb(11 11 11 / 0.6); --field-bg-focus: rgb(11 11 11 / 0.85);
  --opt-bg: #181C20; --opt-hover: #2B3035;
  --placeholder: #6E7378; --shadow: rgb(0 0 0 / 0.8);
  --plant-a: #D9C6BD; --plant-b: #E8A58C; --plant-c: #F7753F;
  --plant-back: 0.46; --glow-op: 0.22;
  --wl-a: #0F1113; --wl-b: #202427;
  --ic-top: #FFA970; --ic-left: #F94A09; --ic-right: #B8310A;
  --ic-rail-top: color-mix(in srgb, var(--fg) 15%, var(--ink)); --ic-rail-side: color-mix(in srgb, var(--fg) 7%, var(--ink)); --ic-rail-dark: color-mix(in srgb, var(--fg) 3%, var(--ink));
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F6F6; --fg: #0B0B0B; --fg-rgb: 11 11 11;
  --s0: #F6F6F6; --s1: #E8EBED; --s2: #DCE0E3; --sd: #F1F2F3;
  --band: #E8EBED;
  --text: #0B0B0B; --text-2: #3A3F44; --text-3: #565B60;
  --line: rgba(11, 11, 11, 0.14); --line-strong: rgba(11, 11, 11, 0.36);
  --peach: #D45A33; --orange: #D13A03;
  --focus: #B3320A; --err: #B02E08; --err-line: #C2310A;
  --field-bg: #FFFFFF; --field-bg-focus: #FFFFFF;
  --opt-bg: #FFFFFF; --opt-hover: #FBE3D6;
  --placeholder: #666B70; --shadow: rgb(11 11 11 / 0.22);
  --plant-a: #4A362D; --plant-b: #8F3715; --plant-c: #C93A07;
  --plant-back: 0.58; --glow-op: 0.2;
  --wl-a: #FBF4EF; --wl-b: #F8E3D5;
  --ic-top: #FF9C68; --ic-left: #E0440A; --ic-right: #A32D05;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

html.has-intro { --intro-end: 2.6s; }
html.intro-skipped { --intro-end: 0s; }
html.no-intro .intro { display: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }

h1, h2, .display {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0.012em;
}
h1, .display {
  font-size: clamp(3.2rem, 7.2vw, 6.6rem);
  line-height: 0.93;
}
h2 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 0.95;
}
h3 {
  font-stretch: 104%;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.008em;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -64px; z-index: 2000;
  background: var(--fg); color: var(--bg);
  padding: 0.7rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------------ nav
   One surface that morphs. At the top of the page it is a full width bar. Scrolled, it tightens into a floating capsule.
   On small screens the same capsule grows downward into the menu. */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; --nav-inset: 0px; --nav-max: var(--max); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav__scrim {
  position: fixed; inset: 0; z-index: -1; background: rgb(0 0 0 / 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
html[data-theme="light"] .nav__scrim { background: rgb(11 11 11 / 0.32); }
.nav.is-open .nav__scrim { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }

.nav__inner {
  position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  width: calc(100% - 2 * var(--nav-inset)); max-width: var(--nav-max); margin: 0 auto; height: 84px;
  border: 1px solid transparent; border-radius: 0; background: transparent;
  transition: width 0.6s var(--ease), max-width 0.6s var(--ease), margin-top 0.6s var(--ease), height 0.6s var(--ease),
    padding 0.5s var(--ease), border-radius 0.5s var(--ease), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.5s ease;
}
.nav.is-scrolled, .nav.is-open { --nav-inset: 12px; --nav-max: 1120px; }
.nav.is-scrolled .nav__inner, .nav.is-open .nav__inner {
  margin-top: 12px; height: 66px; padding-inline: 22px; border-radius: 12px; border-color: var(--line);
  background: color-mix(in srgb, var(--s0) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 22px 44px -28px var(--shadow);
}
.nav.is-open .nav__inner { background: var(--s0); border-color: var(--line-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 22px; width: auto; }

.nav__links { display: flex; gap: 2px; position: relative; }
.nav__links a {
  position: relative; z-index: 1; font-size: 0.9375rem; font-stretch: 104%;
  color: var(--text-2); text-decoration: none; padding: 8px 14px; border-radius: 8px;
  transition: color 0.25s ease;
}
.nav__hl {
  position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; width: var(--hw, 0px);
  transform: translateX(var(--hx, 0px)); border-radius: 8px; background: rgb(var(--fg-rgb) / 0.09);
  opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s ease;
}
.nav__hl.is-on { opacity: 1; }
.nav__links a:not(.btn):hover, .nav__links a:not(.btn):focus-visible, .nav__links a[aria-current]:not(.btn) { color: var(--fg); }
.nav__links a[aria-current]:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 1px;
  background: var(--grad); transform-origin: left; animation: navMark 0.5s var(--ease) both;
}
@keyframes navMark { from { transform: scaleX(0); } to { transform: none; } }

.nav__toggle {
  display: none; flex: none; width: 44px; height: 44px; margin-right: -11px;
  background: none; border: 0; color: var(--fg); cursor: pointer; position: relative;
}
/* two equal bars that meet in the middle to form a cross when the menu is open */
.nav__toggle span.bars { position: absolute; left: 11px; top: 15px; width: 22px; height: 14px; display: block; }
.nav__toggle span.bars::before,
.nav__toggle span.bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 1px;
  background: currentColor; transition: transform 0.4s var(--ease);
}
.nav__toggle span.bars::before { top: 0; }
.nav__toggle span.bars::after { bottom: 0; }
.nav.is-open .nav__toggle span.bars::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span.bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav .nav__cta { display: none; }
  .nav__hl { display: none; }
  .nav.is-open .nav__inner { border-radius: 12px 12px 0 0; border-bottom-color: var(--line); }
  .nav__links {
    position: absolute; left: -1px; right: -1px; top: calc(100% - 1px); flex-direction: column; gap: 0;
    padding: 6px 20px 22px; background: var(--s0);
    border: 1px solid var(--line-strong); border-top: 0; border-radius: 0 0 12px 12px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.55s var(--ease), visibility 0s linear 0.55s;
  }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0 round 0 0 12px 12px); visibility: visible; transition: clip-path 0.55s var(--ease), visibility 0s; }
  .nav__links a {
    font-size: 1.25rem; padding: 15px 0; border-radius: 0; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.5s var(--ease), color 0.25s ease;
  }
  .nav.is-open .nav__links a { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 50ms + 130ms); }
  .nav__links a:nth-of-type(1) { --k: 0; } .nav__links a:nth-of-type(2) { --k: 1; }
  .nav__links a:nth-of-type(3) { --k: 2; } .nav__links a:nth-of-type(4) { --k: 3; }
  .nav__links a[aria-current]:not(.btn)::after { left: 0; right: auto; width: 28px; bottom: -1px; }
  .nav__links .nav__links-cta {
    display: inline-flex; margin-top: 20px; border: 0; padding: 0.7rem 1.3rem; justify-content: center; font-size: 1rem;
    color: var(--black); background: var(--grad); background-size: 180% 100%; background-origin: border-box;
  }
}
@media (min-width: 861px) { .nav__links-cta { display: none !important; } }

.theme-toggle {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -8px;
  background: none; border: 0; border-radius: 50%; color: var(--fg); cursor: pointer;
  transition: background-color 0.2s ease;
}
/* the two symbols sit on top of each other and trade places with a turn, a scale and a touch of blur */
.theme-toggle svg {
  grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter;
  transition: opacity 0.35s ease, transform 0.6s var(--ease), filter 0.35s ease;
}
.theme-toggle .i-moon, html[data-theme="light"] .theme-toggle .i-sun { opacity: 0; transform: rotate(-70deg) scale(0.45); filter: blur(3px); }
html[data-theme="light"] .theme-toggle .i-moon { opacity: 1; transform: none; filter: none; }
@media (hover: hover) { .theme-toggle:hover { background: rgb(var(--fg-rgb) / 0.1); } }
.theme-toggle:active svg { transform: scale(0.88); }
@media (max-width: 860px) { .theme-toggle { margin-left: 0; margin-right: 0; } .nav__inner { gap: 0; } }

/* the wordmark comes in two colours, one per theme */
.logo--on-light { display: none; }
html[data-theme="light"] .logo--on-dark { display: none; }
html[data-theme="light"] .logo--on-light { display: block; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0.9rem 1.7rem;
  font: inherit; font-weight: 600; font-stretch: 108%; font-size: 1rem; letter-spacing: -0.005em;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease, background-position 0.5s var(--ease), border-color 0.2s ease, color 0.2s ease;
}
.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.9375rem; }
.btn--primary {
  color: var(--black);
  background: var(--grad); background-size: 180% 100%; background-position: 0 0; background-origin: border-box;
  border-color: transparent;
}
@media (hover: hover) {
  .btn--primary:hover {
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 10px 34px -10px rgba(249, 74, 9, 0.65);
  }
}
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 0.08s; }
.btn--ghost { color: var(--fg); border-color: var(--line-strong); background: transparent; }
@media (hover: hover) { .btn--ghost:hover { border-color: var(--fg); } }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

.textlink {
  display: inline-block; font-weight: 600; font-stretch: 106%; text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid currentColor;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.textlink:hover { color: var(--orange); }

/* ---------------------------------------------------------------- intro */

.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: auto; cursor: pointer;
  animation: introHide 0s linear 3.5s forwards;
}
.intro__panel {
  position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg);
  will-change: transform;
}
.intro__panel--top { top: 0; animation: panelUp 0.9s cubic-bezier(0.76, 0, 0.24, 1) 2.5s forwards; }
.intro__panel--bottom { bottom: 0; animation: panelDown 0.9s cubic-bezier(0.76, 0, 0.24, 1) 2.5s forwards; }
.intro__stack {
  position: relative; display: grid; justify-items: center; gap: 34px;
  animation: stackOut 0.45s ease 2.3s forwards;
}
.intro__logo { width: clamp(104px, 13vw, 164px); height: auto; overflow: visible; shape-rendering: geometricPrecision; }
.intro__icon-trace {
  fill: none; stroke: url(#introGrad); stroke-width: 5; stroke-linejoin: miter; stroke-miterlimit: 8;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: trace 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards, traceOut 0.45s ease 1.5s forwards;
}
.intro__icon-fill { opacity: 0; animation: fadeIn 0.8s ease 0.95s forwards; }
.intro__bar {
  width: clamp(150px, 18vw, 210px); height: 2px; border-radius: 2px; overflow: hidden;
  background: rgb(var(--fg-rgb) / 0.14);
}
.intro__bar::before {
  content: ""; display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--peach), var(--orange));
  transform: scaleX(0); transform-origin: left;
  animation: barFill 2.05s cubic-bezier(0.55, 0.05, 0.25, 1) 0.2s forwards;
}

@keyframes trace { to { stroke-dashoffset: 0; } }
/* the drawn line hands over to the exact vector shape, so the final edges are razor sharp */
@keyframes traceOut { to { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes stackOut { to { opacity: 0; transform: scale(0.96); } }
@keyframes panelUp { to { transform: translateY(-101%); } }
@keyframes panelDown { to { transform: translateY(101%); } }
@keyframes introHide { to { visibility: hidden; pointer-events: none; } }

.intro.is-skipping { animation: none; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 132px 0 clamp(56px, 10vh, 120px);
  background: linear-gradient(180deg, var(--s0) 0%, var(--s0) 40%, color-mix(in srgb, var(--s0) 93%, var(--band)) 50%, color-mix(in srgb, var(--s0) 74%, var(--band)) 60%, color-mix(in srgb, var(--s0) 50%, var(--band)) 70%, color-mix(in srgb, var(--s0) 26%, var(--band)) 80%, color-mix(in srgb, var(--s0) 7%, var(--band)) 90%, var(--band) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse closest-side at 70% 50%,
      rgba(249, 74, 9, 0.12) 0%, rgba(249, 74, 9, 0.15) 14%, rgba(249, 74, 9, 0.14) 25%,
      rgba(249, 74, 9, 0.105) 38%, rgba(249, 74, 9, 0.065) 52%, rgba(249, 74, 9, 0.032) 66%,
      rgba(249, 74, 9, 0.011) 82%, rgba(249, 74, 9, 0) 100%),
    radial-gradient(ellipse closest-side at 88% 22%,
      rgba(234, 162, 138, 0.07) 0%, rgba(234, 162, 138, 0.045) 35%, rgba(234, 162, 138, 0.015) 70%, rgba(234, 162, 138, 0) 100%);
  opacity: var(--glow-op);
}
/* engraved power plant: white linework used as a mask so it can take the brand tint.
   Order, back to front: the logo animation, a solid silhouette of the towers, chimneys, smoke and
   trees, then the engraving itself. The logo therefore sits behind the whole picture and only
   shows through the open sky. */
.hero { --plant-pos: center bottom; }
.hero__plant, .hero__fill { position: absolute; inset: 0; }
.hero__fill {
  background: var(--s0); opacity: 0.97;
  -webkit-mask: url(../img/powerplant-fill.webp) var(--plant-pos) / cover no-repeat;
          mask: url(../img/powerplant-fill.webp) var(--plant-pos) / cover no-repeat;
}
.hero__plant {
  background: linear-gradient(180deg, var(--plant-a) 0%, var(--plant-b) 55%, var(--plant-c) 100%);
  -webkit-mask: url(../img/powerplant.webp) var(--plant-pos) / cover no-repeat;
          mask: url(../img/powerplant.webp) var(--plant-pos) / cover no-repeat;
  opacity: var(--plant-back);
}
/* keeps the copy readable on the left, and melts the picture into the dark grey section below
   in small eased steps so there is no visible edge */
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--band) 0.0%, transparent) 58.0%, color-mix(in srgb, var(--band) 1.1%, transparent) 60.6%, color-mix(in srgb, var(--band) 4.3%, transparent) 63.2%, color-mix(in srgb, var(--band) 9.2%, transparent) 65.9%, color-mix(in srgb, var(--band) 15.6%, transparent) 68.5%, color-mix(in srgb, var(--band) 23.2%, transparent) 71.1%, color-mix(in srgb, var(--band) 31.6%, transparent) 73.8%, color-mix(in srgb, var(--band) 40.7%, transparent) 76.4%, color-mix(in srgb, var(--band) 50.0%, transparent) 79.0%, color-mix(in srgb, var(--band) 59.3%, transparent) 81.6%, color-mix(in srgb, var(--band) 68.4%, transparent) 84.2%, color-mix(in srgb, var(--band) 76.8%, transparent) 86.9%, color-mix(in srgb, var(--band) 84.4%, transparent) 89.5%, color-mix(in srgb, var(--band) 90.8%, transparent) 92.1%, color-mix(in srgb, var(--band) 95.7%, transparent) 94.8%, color-mix(in srgb, var(--band) 98.9%, transparent) 97.4%, var(--band) 100%),
    linear-gradient(180deg, var(--s0) 0%, color-mix(in srgb, var(--s0) 0%, transparent) 20%),
    linear-gradient(90deg, color-mix(in srgb, var(--s0) 94%, transparent) 0%, color-mix(in srgb, var(--s0) 78%, transparent) 34%, color-mix(in srgb, var(--s0) 20%, transparent) 66%, color-mix(in srgb, var(--s0) 0%, transparent) 100%);
}
.hero__mark {
  position: absolute; top: 50%; right: max(5vw, 24px);
  width: clamp(300px, 38vw, 560px); height: auto;
  transform: translateY(-50%); overflow: visible;
}
.hero__mark-line { fill: none; stroke: url(#heroGrad); stroke-width: 1.6; stroke-linejoin: round; opacity: 0.4; }

.hero__fx {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; animation: fxIn 2.4s ease forwards; animation-delay: var(--intro-end, 0s);
}
.hero--fx .hero__mark-line { opacity: 0; }
@keyframes fxIn { to { opacity: 1; } }
@keyframes glowPulse { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

.hero__inner { position: relative; }
.hero h1 { max-width: 19ch; }
.hero__lead {
  max-width: 50ch; margin-top: clamp(20px, 3vh, 30px);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vh, 40px); }
.hero__note { margin: 18px 0 0; font-size: 0.9375rem; color: var(--text-3); }

/* hero entrance, one orchestrated sequence after the intro */
.rh {
  opacity: 0; transform: translateY(26px);
  animation: rise 1s var(--ease) forwards;
  animation-delay: calc(var(--intro-end) + var(--d, 0s));
}
.hero__inner > :nth-child(1) { --d: 0s; }
.hero__inner > :nth-child(2) { --d: 0.12s; }
.hero__inner > :nth-child(3) { --d: 0.24s; }
.hero__inner > :nth-child(4) { --d: 0.34s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero { padding-top: 124px; --plant-pos: 87% bottom; }
  .hero__mark { right: -22vw; width: 96vw; top: 58%; opacity: 0.55; }
  .hero h1 { max-width: none; }
}

/* ------------------------------------------------------------- sections */

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--first { padding-top: clamp(28px, 4vw, 64px); }
.section--ink { background: var(--ink); }
.section--light { background: var(--paper); color: var(--ink); }
.section--light ::selection { background: var(--orange); color: var(--black); }

/* flow + steps */
.flow__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 110px); align-items: stretch;
}
.flow__copy h2 { max-width: none; }
.flow__intro { margin-top: 22px; max-width: 42ch; color: var(--text-2); }

.steps { position: relative; margin-top: clamp(36px, 5vw, 60px); --p: 0; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 28px; width: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(180deg, var(--peach), var(--orange));
  transform-origin: top; transform: scaleY(var(--p));
}
.step { position: relative; padding: 0 0 clamp(30px, 4vw, 44px) 62px; }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-stretch: 112%; font-size: 0.9375rem;
  background: var(--ink); border: 1px solid var(--line-strong); color: var(--text-2);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
}
.step.is-active .step__n {
  background: var(--grad); background-origin: border-box; background-clip: border-box;
  border-color: transparent; color: var(--black);
  box-shadow: 0 0 0 5px rgba(249, 74, 9, 0.12);
}
.step h3 { padding-top: 5px; }
.step p { margin: 8px 0 0; color: var(--text-2); max-width: 40ch; }

.step:last-child { padding-bottom: 0; }

.flow__viz { margin: 0; position: relative; min-height: 380px; }
.flow__canvas-wrap {
  position: absolute; inset: 0 0 52px 0;
  background: radial-gradient(ellipse closest-side at 50% 50%,
    rgba(249, 74, 9, 0.13) 0%, rgba(249, 74, 9, 0.115) 20%, rgba(249, 74, 9, 0.08) 40%,
    rgba(249, 74, 9, 0.045) 60%, rgba(249, 74, 9, 0.015) 80%, rgba(249, 74, 9, 0) 100%);
}
#flow { display: block; width: 100%; height: 100%; }
.flow__labels {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; padding-inline: 4%;
  font-size: 0.875rem; color: var(--text-3);
}
.flow__labels span:nth-child(2) { color: var(--fg); font-weight: 600; font-stretch: 112%; }
.flow__labels span:last-child { text-align: right; }

@media (max-width: 900px) {
  .flow__grid { grid-template-columns: 1fr; gap: 84px; }
  .flow__viz { order: -1; min-height: 320px; }
  .flow__copy h2 { max-width: none; }
}

/* sectors */
.section--sectors {
  background:
    linear-gradient(180deg, var(--band) 0px, color-mix(in srgb, var(--band) 98%, var(--s0)) 19px, color-mix(in srgb, var(--band) 94%, var(--s0)) 37px, color-mix(in srgb, var(--band) 86%, var(--s0)) 56px, color-mix(in srgb, var(--band) 77%, var(--s0)) 74px, color-mix(in srgb, var(--band) 67%, var(--s0)) 93px, color-mix(in srgb, var(--band) 56%, var(--s0)) 112px, color-mix(in srgb, var(--band) 44%, var(--s0)) 130px, color-mix(in srgb, var(--band) 33%, var(--s0)) 149px, color-mix(in srgb, var(--band) 23%, var(--s0)) 167px, color-mix(in srgb, var(--band) 14%, var(--s0)) 186px, color-mix(in srgb, var(--band) 6%, var(--s0)) 205px, color-mix(in srgb, var(--band) 2%, var(--s0)) 223px, var(--s0) 242px) top / 100% 260px no-repeat,
    linear-gradient(180deg, var(--s0) 0px, color-mix(in srgb, var(--s0) 98%, var(--band)) 19px, color-mix(in srgb, var(--s0) 94%, var(--band)) 37px, color-mix(in srgb, var(--s0) 86%, var(--band)) 56px, color-mix(in srgb, var(--s0) 77%, var(--band)) 74px, color-mix(in srgb, var(--s0) 67%, var(--band)) 93px, color-mix(in srgb, var(--s0) 56%, var(--band)) 112px, color-mix(in srgb, var(--s0) 44%, var(--band)) 130px, color-mix(in srgb, var(--s0) 33%, var(--band)) 149px, color-mix(in srgb, var(--s0) 23%, var(--band)) 167px, color-mix(in srgb, var(--s0) 14%, var(--band)) 186px, color-mix(in srgb, var(--s0) 6%, var(--band)) 205px, color-mix(in srgb, var(--s0) 2%, var(--band)) 223px, var(--band) 242px) bottom / 100% 260px no-repeat,
    var(--s0);
}
.sectors__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px);
}
.sectors__head h2 { max-width: 16ch; }
.sectors__head p { margin: 0; max-width: 46ch; color: var(--text-2); }
.sectors__list { border-top: 1px solid var(--line); }
.sector { position: relative; border-bottom: 1px solid var(--line); }
.sector::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--peach), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.sector[open]::after { transform: scaleX(1); }
@media (hover: hover) { .sector:hover::after { transform: scaleX(1); } }
.sector summary,
.sector__body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 28px;
  column-gap: clamp(24px, 5vw, 90px); align-items: center;
}
.sector summary { list-style: none; cursor: pointer; padding: clamp(22px, 3vw, 34px) 0; }
.sector summary::-webkit-details-marker { display: none; }
.sector__name {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-weight: 400;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: 0.012em;
  color: var(--text-3); transition: color 0.4s ease;
  background-image: linear-gradient(90deg, var(--peach), var(--orange));
  background-size: var(--row-w, 1160px) 100%; background-repeat: no-repeat; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text;
}
.sector[open] .sector__name { color: transparent; -webkit-text-fill-color: transparent; }
@media (hover: hover) { .sector:hover .sector__name { color: transparent; -webkit-text-fill-color: transparent; } }
.sector__lede { color: var(--text-2); max-width: 44ch; margin: 0; }
.sector__plus { position: relative; width: 22px; height: 22px; justify-self: end; }
.sector__plus::before, .sector__plus::after {
  content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--fg);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.sector__plus::after { transform: rotate(90deg); }
.sector[open] .sector__plus::after { transform: rotate(0deg); }
.sector__body { padding: 0 0 clamp(24px, 3vw, 34px); align-items: start; }
.sector[open] summary { padding-bottom: 14px; }
.sector[open] .sector__body { animation: rise 0.6s var(--ease) both; }
.sector__datasets { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.sector__datasets li {
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 0.9375rem; color: var(--fg);
}
.sectors__more { margin: clamp(28px, 4vw, 44px) 0 0; color: var(--text-2); }
.sectors__more .textlink { margin-left: 6px; color: var(--fg); }
.sectors__more .textlink:hover { color: var(--focus); }
@media (max-width: 820px) {
  .sectors__head { grid-template-columns: 1fr; }
  .sector summary { grid-template-columns: 1fr 28px; row-gap: 10px; }
  .sector__lede { grid-column: 1; grid-row: 2; }
  .sector__plus { grid-column: 2; grid-row: 1; }
  .sector__body { grid-template-columns: 1fr; }
  .sector__body > :first-child, .sector__body > :last-child { display: none; }
}

/* principles */
.hold__head { max-width: 14ch; }
.hold__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px);
}
.hold__item { position: relative; }
.hold__icon { display: block; width: 100px; height: 100px; margin-bottom: 22px; overflow: visible; shape-rendering: geometricPrecision; }

/* One grammar for every icon: a dashed floor plate, outlined structure, and a flat three tone cube that stands for a dataset. */
.hold__icon .plate { fill: none; stroke: var(--fg); stroke-opacity: 0.34; stroke-width: 1; stroke-dasharray: 2 3; stroke-linejoin: miter; }
.hold__icon .line, .hold__icon .edge { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linejoin: miter; stroke-linecap: butt; stroke-miterlimit: 8; }
.hold__icon .edge { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linejoin: miter; stroke-miterlimit: 8; }
.hold__icon .line.in { stroke-width: 1.2; stroke-opacity: 0.72; }
.hold__icon .s-top { fill: var(--ic-rail-top); }
.hold__icon .s-side { fill: var(--ic-rail-side); }
.hold__icon .s-side.s-dark { fill: var(--ic-rail-dark); }
.hold__icon .f-top { fill: var(--ic-top); }
.hold__icon .f-left { fill: var(--ic-left); }
.hold__icon .f-right { fill: var(--ic-right); }
.hold__icon .cube polygon { stroke: var(--ink); stroke-width: 0.9; stroke-linejoin: miter; }
.hold__icon .pin, .hold__icon .bullet { fill: var(--ic-top); stroke: var(--ink); stroke-width: 0.7; stroke-linejoin: miter; }
.hold__icon .trace { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 2 3; }
.hold__icon .ripple { fill: none; stroke: var(--orange); stroke-width: 1.2; stroke-linejoin: miter; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hold__icon .txt { fill: none; stroke: var(--fg); stroke-opacity: 0.8; stroke-width: 1.4; stroke-linecap: butt; }
.hold__icon .txt.hot { stroke: var(--orange); stroke-opacity: 1; stroke-width: 1.8; opacity: 0; }
.hold__icon .pop, .hold__icon .grow { transform-box: fill-box; }
.hold__icon .pop { transform-origin: center; }
.hold__icon .grow { transform-origin: 50% 100%; }

.hold__icon .i0 { --i: 0; } .hold__icon .i1 { --i: 1; } .hold__icon .i2 { --i: 2; }
.hold__grid .hold__item:nth-child(1) { --b: 0s; }
.hold__grid .hold__item:nth-child(2) { --b: 0.22s; }
.hold__grid .hold__item:nth-child(3) { --b: 0.44s; }

/* before the section scrolls into view (only when scripts run, motion is allowed and the observer exists) */
.hold__grid.will-draw:not(.is-in) .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hold__grid.will-draw:not(.is-in) :is(.s-top, .s-side, .plate-g, .bullet, .drop, .rise, .pop, .grow) { opacity: 0; }

/* Build-in. Every piece ends exactly where the idle motion starts, so nothing jumps afterwards. */
.hold__grid.is-in .d { stroke-dasharray: 1; animation: icDraw 0.9s var(--ease) calc(var(--b) + var(--i, 0) * 0.1s) both; }
.hold__grid.is-in .plate-g { animation: icFade 0.9s ease var(--b) both; }
.hold__grid.is-in :is(.s-top, .s-side) { animation: icFade 0.5s ease calc(var(--b) + var(--i, 0) * 0.1s + 0.45s) both; }
.hold__grid.is-in .bullet { animation: icFade 0.4s ease calc(var(--b) + var(--i, 0) * 0.12s + 0.9s) both; }
.hold__grid.is-in .row .d { animation-delay: calc(var(--b) + var(--i, 0) * 0.12s + 0.9s); }
.hold__grid.is-in .drop { animation: icDrop 0.85s cubic-bezier(0.2, 0.9, 0.25, 1) calc(var(--b) + var(--i, 0) * 0.14s + 0.7s) both; }
.hold__grid.is-in .rise { animation: icRise 0.9s cubic-bezier(0.2, 0.9, 0.25, 1) calc(var(--b) + 1.2s) both; }
.hold__grid.is-in .pop { animation: icPop 0.5s cubic-bezier(0.2, 0.9, 0.25, 1) calc(var(--b) + 0.8s) both; }
.hold__grid.is-in .grow { animation: icGrow 0.7s var(--ease) calc(var(--b) + 1.0s) both; }
.hold__grid.is-in .stamp-ring { animation: icStamp 0.9s ease-out calc(var(--b) + 1.55s) both; }
.hold__grid.is-settled .d { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }

/* Idle motion lives on its own wrapper, starts after the build-in, and begins from the resting pose with zero speed. */
.hold__grid.is-in .idle-slide { animation: icSlideBack 5.6s ease-in-out calc(var(--b) + 2.4s) infinite alternate backwards; }
.hold__grid.is-in .idle-slide-rev { animation: icSlideFwd 5.6s ease-in-out calc(var(--b) + 2.4s) infinite alternate backwards; }
.hold__grid.is-in .idle-bob { animation: icBob 4.6s ease-in-out calc(var(--b) + 2.3s) infinite backwards; }
.hold__grid.is-in .trace { animation: icFlow 1.5s linear calc(var(--b) + 1.0s) infinite; }
.hold__grid.is-in .ripple:not(.stamp-ring) { animation: icPulse 3.8s ease-out calc(var(--b) + 2.4s) infinite backwards; }
.hold__grid.is-in .ripple.r2:not(.stamp-ring) { animation-delay: calc(var(--b) + 4.3s); }
.hold__grid.is-in .row .hot { animation: icRead 6s ease-in-out calc(var(--b) + 2.8s + var(--i, 0) * 1.2s) infinite backwards; }

@keyframes icDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes icFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes icDrop { from { opacity: 0; transform: translateY(-14px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes icRise { from { opacity: 0; transform: translateY(14px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes icPop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
@keyframes icGrow { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes icStamp { from { opacity: 0.9; transform: scale(0.75); } to { opacity: 0; transform: scale(1.9); } }
/* travel = one rail length minus the cube, in icon units (see build/hold_icons.py) */
@keyframes icSlideBack { from { transform: translate(0, 0); } to { transform: translate(-24.94px, -14.4px); } }
@keyframes icSlideFwd { from { transform: translate(0, 0); } to { transform: translate(24.94px, 14.4px); } }
@keyframes icBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3.5px); } }
@keyframes icFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -5; } }
@keyframes icPulse { 0% { opacity: 0; transform: scale(1); } 12% { opacity: 0.85; } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes icRead { 0% { opacity: 0; } 7% { opacity: 1; } 17% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
.hold__item h3 {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif; font-weight: 400; font-stretch: 100%;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.02; letter-spacing: 0.012em; text-wrap: balance;
}
.hold__item p { margin: 18px 0 0; color: var(--text-2); max-width: 34ch; }
@media (max-width: 900px) {
  .hold__grid { grid-template-columns: 1fr; }
  .hold__item h3 { max-width: none; }
}

/* waitlist + contact */
.section--waitlist {
  background: linear-gradient(180deg, var(--band) 0%, color-mix(in srgb, var(--band) 94%, var(--wl-a)) 8%, color-mix(in srgb, var(--band) 74%, var(--wl-a)) 18%, color-mix(in srgb, var(--band) 42%, var(--wl-a)) 30%, color-mix(in srgb, var(--band) 13%, var(--wl-a)) 42%, var(--wl-a) 54%, color-mix(in srgb, var(--wl-a) 83%, var(--wl-b)) 66%, color-mix(in srgb, var(--wl-a) 47%, var(--wl-b)) 78%, color-mix(in srgb, var(--wl-a) 12%, var(--wl-b)) 90%, var(--wl-b) 100%);
  isolation: isolate; padding-bottom: clamp(56px, 6vw, 84px);
}
/* a hairline divider, aligned with the page content, marks where the waitlist starts */
.section--waitlist::after {
  content: ""; position: absolute; top: 0; height: 1px; pointer-events: none;
  left: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  right: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  background: rgb(var(--fg-rgb) / 0.22);
}
/* the red glow straddles the top edge, so it carries on into the section above instead of being cut off */
.section--waitlist::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 0; width: 74%; top: -460px; height: 980px;
  background: radial-gradient(ellipse closest-side at 52% 50%,
    rgba(249, 74, 9, 0.0850) 0.0%,
    rgba(249, 74, 9, 0.0839) 6.7%,
    rgba(249, 74, 9, 0.0805) 13.3%,
    rgba(249, 74, 9, 0.0752) 20.0%,
    rgba(249, 74, 9, 0.0681) 26.7%,
    rgba(249, 74, 9, 0.0597) 33.3%,
    rgba(249, 74, 9, 0.0504) 40.0%,
    rgba(249, 74, 9, 0.0407) 46.7%,
    rgba(249, 74, 9, 0.0311) 53.3%,
    rgba(249, 74, 9, 0.0223) 60.0%,
    rgba(249, 74, 9, 0.0146) 66.7%,
    rgba(249, 74, 9, 0.0084) 73.3%,
    rgba(249, 74, 9, 0.0040) 80.0%,
    rgba(249, 74, 9, 0.0013) 86.7%,
    rgba(249, 74, 9, 0.0002) 93.3%,
    rgba(249, 74, 9, 0.0000) 100.0%);
}
.fx-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 110px); align-items: start;
}
.split__copy h2 { max-width: 10ch; }
.split__copy > p { margin-top: 22px; max-width: 42ch; color: var(--text-2); }
.facts { margin-top: 34px; max-width: 42ch; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 1rem; }
.facts li strong { color: var(--fg); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__copy h2 { max-width: none; } }

/* contact: a slim bar that opens into the form, so it cannot be mistaken for the waitlist box */
.section--contact {
  padding-block: clamp(36px, 5vw, 64px) clamp(44px, 5vw, 72px);
  background: linear-gradient(180deg, var(--wl-b) 0%, color-mix(in srgb, var(--wl-b) 95%, var(--s0)) 14%, color-mix(in srgb, var(--wl-b) 78%, var(--s0)) 30%, color-mix(in srgb, var(--wl-b) 56%, var(--s0)) 46%, color-mix(in srgb, var(--wl-b) 32%, var(--s0)) 62%, color-mix(in srgb, var(--wl-b) 10%, var(--s0)) 80%, var(--s0) 100%);
}
.contact-box { max-width: 880px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.contact-box summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 84px; padding-block: 18px; cursor: pointer; list-style: none;
}
.contact-box summary::-webkit-details-marker { display: none; }
.contact-box__text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; }
.contact-box h2 { margin: 0; font-size: clamp(1.6rem, 2.3vw, 2rem); max-width: none; transition: color 0.25s ease; }
.contact-box__hint { color: var(--text-2); font-size: 1rem; }

.contact-box__icon {
  position: relative; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.contact-box__icon::before, .contact-box__icon::after {
  content: ""; position: absolute; left: 10px; top: 16px; width: 14px; height: 2px;
  background: var(--fg); transition: transform 0.3s var(--ease);
}
.contact-box__icon::after { transform: rotate(90deg); }
@media (hover: hover) { .contact-box summary:hover .contact-box__icon { border-color: var(--fg); } }
.contact-box[open] .contact-box__icon::after { transform: rotate(0deg); }
.contact-box__body { padding-bottom: 36px; }
.contact-box[open] .contact-box__body { animation: rise 0.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.contact-box .panel--bare { padding: 4px 0 0; }
.section--contact .field textarea { min-height: 84px; }
.section--contact .field input, .section--contact .field select { min-height: 46px; padding-block: 0.55rem; }
.section--contact .form { gap: 14px; }
.section--contact .form__row { gap: 14px; }
.section--contact .btn { min-height: 46px; }
@media (max-width: 600px) { .contact-box__hint { font-size: 0.9375rem; } .contact-box summary { min-height: 76px; } }

.panel {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgb(var(--fg-rgb) / 0.035);
  padding: clamp(22px, 3.4vw, 44px);
}

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: 0.9375rem; font-stretch: 104%; font-weight: 500; color: var(--text); }
.field .opt { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--field-bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.85rem 0.95rem; min-height: 50px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
/* The open list follows the theme: solid background, readable text, and a placeholder that is dimmer but still legible */
.field select option { color: var(--text); background-color: var(--opt-bg); }
.field select option:disabled { color: var(--text-3); }
.field select option:checked, .field select option:hover { background-color: var(--opt-hover); color: var(--text); }
.field select option:disabled:checked { background-color: var(--opt-bg); color: var(--text-3); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(var(--fg-rgb) / 0.5); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--focus); background: var(--field-bg-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 24%, transparent);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err-line); }
.field__error { margin: 0; font-size: 0.875rem; color: var(--err); min-height: 0; }
.field__error:empty { display: none; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0;
  border: 1px solid var(--line-strong); border-radius: 3px; background: var(--field-bg);
  cursor: pointer; display: grid; place-content: center; transition: background 0.2s ease, border-color 0.2s ease;
}
.check input::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black);
  transform: rotate(-45deg) scale(0); transform-origin: center; margin-top: -2px;
  transition: transform 0.2s var(--ease);
}
.check input:checked { background: var(--grad); background-origin: border-box; background-clip: border-box; border-color: transparent; }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check label { font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.check label a { color: var(--fg); }
.check .field__error { grid-column: 2; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 4px; }
.form__status { margin: 0; font-size: 0.9375rem; color: var(--text-2); flex: 1 1 220px; }
.form__status.is-error { color: var(--err); }
.form__status a { color: var(--fg); }

.btn .spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(11, 11, 11, 0.3); border-top-color: var(--black);
  animation: spin 0.7s linear infinite; display: none;
}
.btn.is-loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.done { display: none; text-align: left; }
.panel.is-done .form { display: none; }
.panel.is-done .done { display: block; animation: rise 0.7s var(--ease) both; }
.done__mark { width: 64px; height: 64px; margin-bottom: 22px; }
.done__ring { fill: none; stroke: url(#doneGrad); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 0.9s var(--ease) 0.1s forwards; }
.done__tick { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 0.6s var(--ease) 0.7s forwards; }
.done h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-stretch: 108%; }
.done p { margin-top: 12px; color: var(--text-2); max-width: 42ch; }


/* panel variants and the light contact section */
.panel--feature {
  border-color: rgb(var(--fg-rgb) / 0.14);
  background: linear-gradient(180deg, rgb(var(--fg-rgb) / 0.05), rgb(var(--fg-rgb) / 0.025));
  box-shadow: inset 0 1px 0 rgba(234, 162, 138, 0.4), 0 30px 70px -48px var(--shadow);
}
.panel--bare { border: 0; background: none; padding: 0; }
/* back link and social */
.backlink {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; padding: 6px 0;
  color: var(--text-2); text-decoration: none; font-size: 0.9375rem; font-stretch: 104%;
}
.backlink svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.backlink:hover { color: var(--fg); }
.backlink:hover svg { transform: translateX(-3px); }

.footer__nav .social { display: inline-flex; align-items: center; padding: 4px 0; color: var(--text-2); }
.footer__nav .social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer__nav .social:hover { color: var(--fg); text-decoration: none; }

/* --------------------------------------------------------------- footer */

.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 36px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.footer__brand img { height: 22px; width: auto; }
.footer__brand p { margin: 18px 0 0; max-width: 72ch; color: var(--text-3); font-size: 0.9375rem; text-wrap: balance; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.footer__nav a { color: var(--text-2); text-decoration: none; font-size: 0.9375rem; padding: 4px 0; }
.footer__nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal {
  margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 56px;
  font-size: 0.8125rem; line-height: 1.6; color: var(--text-3);
}
.footer__legal p { margin: 0; max-width: 62ch; }
.footer__legal p.legal__co { max-width: none; }
.legal__co span { display: block; }
.legal__co span:first-child { color: var(--text-2); font-weight: 500; }
@media (max-width: 760px) {
  .footer__legal { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; padding-top: 18px; font-size: 0.75rem; line-height: 1.5; }
  .legal__co span { display: inline; }
  .footer__legal p { max-width: none; }
}
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__nav { justify-content: flex-start; }
}

/* ---------------------------------------------------------- legal pages */

.page-head { padding: 136px 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(3.2rem, 6.4vw, 5.4rem); max-width: 18ch; }
.page-head p { margin: 20px 0 0; color: var(--text-3); font-size: 0.9375rem; }

.prose { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 130px); }
.prose__body { max-width: 72ch; }
.prose h2 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); margin: 2.2em 0 0.45em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--fg); text-underline-offset: 3px; }
.prose a:hover { color: var(--focus); }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.45em; padding-left: 0.2em; }
.prose li::marker { color: var(--graphite); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.prose th { color: var(--fg); font-weight: 600; font-stretch: 106%; border-bottom-color: var(--line-strong); }
.prose .table-wrap { overflow-x: auto; }
.prose .table-wrap table { min-width: 560px; }

.todo {
  background: rgba(249, 74, 9, 0.18); color: var(--focus);
  padding: 0 0.3em; border-radius: 2px; font-weight: 500;
}

.notfound { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding-block: 140px 80px; }
.notfound p { color: var(--text-2); max-width: 44ch; margin: 22px 0 32px; }

/* ------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-intro { --intro-end: 0.9s; }
  .intro { animation: introHide 0s linear 1.3s forwards; }
  .intro__panel--top, .intro__panel--bottom { animation: panelFade 0.5s ease 0.8s forwards; }
  .intro__stack { animation: stackOut 0.4s ease 0.8s forwards; }
  .intro__icon-trace { display: none; }
  .intro__icon-fill { animation: none; opacity: 1; }
  .intro__bar::before { animation: none; transform: scaleX(1); }
  .hero__glow { animation: none; }
  .hero__fx { animation-duration: 0.01s; }
  .hold__icon *, .hold__icon *::before { animation: none !important; }
  .rh { animation-duration: 0.01s; transform: none; }
  .btn, .nav__links a, .sector::after, .sector__plus::before, .sector__plus::after { transition: none; }
  .sector[open] .sector__body { animation: none; }
  .done__ring, .done__tick { animation-duration: 0.01s; }
}
@keyframes panelFade { to { opacity: 0; } }

/* ------------------------------------------------- touch and small screens */
@supports (padding: max(0px)) {
  .wrap { padding-inline: max(var(--pad), env(safe-area-inset-left), env(safe-area-inset-right)); }
  .footer { padding-bottom: max(36px, env(safe-area-inset-bottom)); }
}
@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .footer__nav { gap: 0 22px; }
  .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .footer__nav .social { min-width: 44px; justify-content: center; padding: 0; }
  .backlink { min-height: 44px; }
  .textlink { display: inline-flex; align-items: center; min-height: 44px; }
  .check input { width: 24px; height: 24px; }
  .check { padding-block: 4px; }
}
@media (max-width: 760px) {
  .hero__mark { opacity: 0.42; }
}

/* fine grain over the whole page so dark gradients dither instead of banding */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: url(../noise.png) 0 0 / 192px 192px repeat; opacity: 0.5;
}
html[data-theme="light"] body::after { opacity: 0.16; mix-blend-mode: multiply; }
@media print { body::after { display: none; } }

/* small refinements */
h1, h2, h3, .hero__lead, .split__copy > p { text-wrap: balance; }
.hero__lead, .split__copy > p { text-wrap: pretty; }
.footer__legal { font-variant-numeric: tabular-nums; }
.btn:active { transform: translateY(0) scale(0.985); }
.prose h2[id] { scroll-margin-top: 108px; }

.field--other[hidden] { display: none; }
.field--other { animation: rise 0.3s var(--ease) both; }

/* on small screens, #waitlist anchors so the heading sits one gutter below the header, matching the left margin */
@media (max-width: 900px) {
  #waitlist { scroll-margin-top: calc(84px + var(--pad) - clamp(72px, 11vw, 150px) - 100px); }
}

/* light mode: a warmer waitlist area with a clearer panel and a stronger glow */
html[data-theme="light"] .section--waitlist::before {
  background: radial-gradient(ellipse closest-side at 52% 50%,
    rgba(249, 96, 36, 0.27) 0%, rgba(249, 96, 36, 0.22) 14%, rgba(249, 96, 36, 0.16) 30%,
    rgba(249, 96, 36, 0.12) 46%, rgba(249, 96, 36, 0.06) 62%, rgba(249, 96, 36, 0.02) 80%, rgba(249, 96, 36, 0) 100%);
}
html[data-theme="light"] .panel--feature {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.82), rgb(255 250 246 / 0.7));
  border-color: rgb(209 58 3 / 0.28);
  box-shadow: inset 0 1px 0 rgba(209, 58, 3, 0.35), 0 30px 70px -44px rgb(150 50 10 / 0.35);
}
html[data-theme="light"] .facts, html[data-theme="light"] .facts li { border-color: rgb(120 60 30 / 0.22); }
html[data-theme="light"] .contact-box { border-color: rgb(120 60 30 / 0.4); }

/* on-this-page list for long policy pages */
.toc { margin: 0 0 clamp(28px, 4vw, 44px); padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.toc__title { margin: 0 0 12px; font-weight: 600; font-stretch: 108%; font-size: 0.9375rem; color: var(--fg); }
.toc ol { columns: 2; column-gap: 32px; counter-reset: toc; }
.toc li { break-inside: avoid; counter-increment: toc; padding: 3px 0; font-size: 0.9375rem; }
.toc li::before { content: counter(toc) "."; display: inline-block; min-width: 1.9em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.toc a { color: var(--text-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color 0.2s ease, background-size 0.3s var(--ease); }
.toc a:hover, .toc a:focus-visible { color: var(--fg); background-size: 100% 1px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.prose h2[id] { scroll-margin-top: 108px; }
