/* ==========================================================================
   Green Advanced — site stylesheet
   1. Tokens   2. Base   3. Layout   4. Header & nav   5. Heroes
   6. Components   7. Footer   8. Motion   9. Utilities
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* Brand */
  --ink: #0a1d18;
  --forest-900: #0c2721;
  --forest-800: #10342b;
  --forest-700: #174536;
  --green-600: #1e7a50;
  --green-500: #2f9b68;
  --lime: #b6ef6b;
  --lime-soft: #d9f7b1;

  /* Neutrals */
  --paper: #f5f4ef;
  --surface: #ffffff;
  --stone-100: #ebeae3;
  --stone-300: #d6d5cb;
  --stone-600: #4e5c56;
  --stone-700: #36433e;

  /* Semantic */
  --bg: var(--paper);
  --text: var(--ink);
  --text-muted: var(--stone-600);
  --line: var(--stone-300);
  --on-dark: #eef3ee;
  --on-dark-muted: #a9bab2;
  --line-dark: rgba(238, 243, 238, 0.14);
  --focus: #2f9b68;

  /* Type */
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  --fs-lg: clamp(1.25rem, 0.8vw + 1.05rem, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.4vw + 1.1rem, 2.125rem);
  --fs-2xl: clamp(2rem, 2.6vw + 1.2rem, 3.25rem);
  --fs-3xl: clamp(2.5rem, 4.8vw + 1rem, 5.25rem);

  /* Space (8pt rhythm) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --container: 1200px;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 24, 0.06), 0 1px 1px rgba(10, 29, 24, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(10, 29, 24, 0.18), 0 2px 6px rgba(10, 29, 24, 0.05);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 800ms;

  /* Layers */
  --panel-gap: clamp(6px, 0.9vw, 12px);
  --panel-radius: clamp(20px, 2.4vw, 32px);

  --z-header: 40;
  --z-menu: 50;
  --header-h: 72px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible, .mobile-menu :focus-visible { outline-color: var(--lime); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--surface); }
.section--tint { background: var(--stone-100); }
.section--dark, .on-dark { background: var(--ink); color: var(--on-dark); }
.section--forest { background: var(--forest-900); color: var(--on-dark); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* Rounded inset panels: colored sections float on the paper background */
.hero, .page-hero, .section--white, .section--dark, .section--forest, .site-footer {
  margin-inline: var(--panel-gap);
  border-radius: var(--panel-radius);
}
.hero, .page-hero { margin-top: var(--panel-gap); }
.site-footer { margin-block: var(--panel-gap); }
:is(.hero, .page-hero, .section--white, .section--dark, .section--forest) + :is(.section--white, .section--dark, .section--forest) { margin-top: var(--panel-gap); }
.section--white, .section--dark, .section--forest { overflow: hidden; }

.section-head {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 760px;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-6); }
}

.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--text-muted); max-width: 62ch; }
.on-dark .lead, .section--dark .lead, .section--forest .lead { color: var(--on-dark-muted); }
.muted { color: var(--text-muted); }
.on-dark .muted, .section--dark .muted, .section--forest .muted { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}
.on-dark .eyebrow, .section--dark .eyebrow, .section--forest .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--lime); }

.grid { display: grid; gap: var(--sp-3); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}
.stack { display: grid; gap: var(--sp-3); align-content: start; }
.stack--sm { gap: var(--sp-2); }

/* 4. Header & nav --------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  view-transition-name: site-header;
}
/* Scrolled state: a floating rounded bar inset like the panels */
.site-header::before {
  content: "";
  position: absolute;
  inset: 8px var(--panel-gap);
  background: rgba(10, 29, 24, 0.84);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  box-shadow: 0 12px 30px -16px rgba(10, 29, 24, 0.5);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 1; transform: none; }
.menu-open .site-header::before { inset: 0; border-radius: 0; border-width: 0 0 1px; box-shadow: none; }

.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark .hex { fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand__mark .leaf { fill: var(--lime); }
.brand__mark .vein { stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.brand__word span { color: var(--lime); }

.nav { display: none; }
@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: var(--sp-4); }
}
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color var(--dur-fast) ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 1.5px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__links a:hover { color: var(--on-dark); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--on-dark); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  touch-action: manipulation;
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .bar { transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease; transform-origin: center; transform-box: fill-box; }
.menu-open .menu-toggle .bar--top { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle .bar--mid { opacity: 0; }
.menu-open .menu-toggle .bar--bot { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 960px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-menu);
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--sp-4) var(--gutter) calc(var(--sp-4) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-4);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur) var(--ease-out), visibility 0s;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}
.mobile-menu li a[aria-current="page"] { color: var(--lime); }
.mobile-menu li a svg { width: 22px; height: 22px; color: var(--on-dark-muted); }
.menu-open .mobile-menu li a { opacity: 1; transform: none; }
.mobile-menu__foot { font-size: var(--fs-sm); color: var(--on-dark-muted); display: grid; gap: 6px; }
.mobile-menu__foot a { color: var(--on-dark); }
@media (min-width: 960px) { .mobile-menu { display: none; } }
.menu-open body { overflow: hidden; }

/* 5. Heroes --------------------------------------------------------------- */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}

/* Honeycomb lattice backdrop */
.hex-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'%3E%3Cpath d='M20.78 0 41.57 12v24L20.78 48 0 36V12Zm0 48v24' fill='none' stroke='%23b6ef6b' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 41.57px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 0%, transparent 70%);
}
.glow {
  position: absolute;
  z-index: -1;
  width: 70vmax;
  height: 70vmax;
  right: -25vmax;
  top: -30vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 155, 104, 0.35) 0%, rgba(47, 155, 104, 0) 60%);
  pointer-events: none;
}
.glow--low { top: auto; bottom: -45vmax; right: auto; left: -30vmax; opacity: 0.6; }

.hero {
  min-height: clamp(640px, 100svh, 980px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--sp-5));
  padding-bottom: var(--sp-6);
}
.hero__grid {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-4); }
}
.hero__copy { display: grid; gap: var(--sp-4); position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; }
.hero h1 .serif { color: var(--lime); }
.hero .lead { max-width: 52ch; }

.pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(238, 243, 238, 0.04);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: border-color var(--dur) ease, background-color var(--dur) ease, color var(--dur) ease;
}
.pill:hover { border-color: rgba(182, 239, 107, 0.5); color: var(--on-dark); background: rgba(182, 239, 107, 0.06); }
.pill__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 500;
}
.pill svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.pill:hover svg { transform: translateX(3px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  aspect-ratio: 540 / 480;
}
@media (max-width: 1023px) {
  .hero__visual {
    position: absolute;
    right: -18%;
    top: 8%;
    width: 92%;
    max-width: 520px;
    opacity: 0.32;
    z-index: 0;
  }
}
.molecule { width: 100%; height: 100%; overflow: visible; }
.molecule .bond { stroke: var(--on-dark); stroke-opacity: 0.55; stroke-width: 1.6; stroke-linecap: round; }
.molecule .ring { fill: none; stroke: var(--lime); stroke-opacity: 0.55; stroke-width: 1.4; stroke-dasharray: 3 6; }
.molecule .atom { fill: var(--on-dark); }
.molecule .atom--accent { fill: var(--lime); }
.molecule .halo { fill: none; stroke: var(--lime); stroke-width: 1.2; }
.molecule .orbit { fill: none; stroke: var(--on-dark); stroke-opacity: 0.12; stroke-width: 1; stroke-dasharray: 2 10; }
.molecule .orbit-dot { fill: var(--lime); }

.hero__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--sp-3);
  z-index: 1;
}
.hero__meta .container { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.hero__meta p { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.scroll-cue { display: none; align-items: center; gap: 10px; }
.scroll-cue__line { width: 1px; height: 36px; background: var(--line-dark); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateY(-100%); }
@media (min-width: 720px) { .scroll-cue { display: inline-flex; } }
@media (max-height: 700px) { .hero__meta { display: none; } }

/* Inner page hero */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}
.page-hero .hex-field {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 0%, transparent 70%);
}
.page-hero__inner { display: grid; gap: var(--sp-3); max-width: 900px; }
.page-hero h1 { font-size: clamp(2.5rem, 4.2vw + 1rem, 4.5rem); }
.page-hero h1 .serif { color: var(--lime); }
.page-hero .lead { max-width: 60ch; }
.page-hero__ring {
  position: absolute;
  right: clamp(-160px, -6vw, -40px);
  top: 50%;
  width: clamp(260px, 34vw, 480px);
  aspect-ratio: 1;
  transform: translateY(-45%);
  z-index: -1;
  opacity: 0.9;
}
.page-hero__ring polygon, .page-hero__ring circle { fill: none; stroke: var(--lime); stroke-width: 0.6; }
.page-hero__ring .r2 { stroke: var(--on-dark); stroke-opacity: 0.18; }
@media (max-width: 719px) { .page-hero__ring { opacity: 0.35; } }

/* 6. Components ----------------------------------------------------------- */

/* Buttons */
.btn {
  --btn-bg: var(--forest-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn:hover { --btn-bg: var(--forest-700); }

.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); }
.btn--lime:hover { --btn-bg: var(--lime-soft); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); border-color: var(--line-dark); }
.btn--ghost:hover { --btn-bg: rgba(238, 243, 238, 0.08); border-color: rgba(238, 243, 238, 0.35); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--stone-300); }
.btn--outline:hover { --btn-bg: var(--surface); border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--green-600);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow, .section--dark .link-arrow, .section--forest .link-arrow { color: var(--lime); }

/* Icon chip */
.icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--stone-100);
  color: var(--forest-700);
  flex: none;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.section--dark .icon, .section--forest .icon { background: rgba(182, 239, 107, 0.1); color: var(--lime); }
.section--white .icon { background: var(--paper); }

/* Statement */
.statement {
  font-size: clamp(1.75rem, 2.9vw + 0.9rem, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 500;
  max-width: 24ch;
  text-wrap: balance;
}
.statement .serif { color: var(--green-600); }
.statement-wrap { display: grid; gap: var(--sp-5); }
@media (min-width: 960px) {
  .statement-wrap { grid-template-columns: 220px 1fr; gap: var(--sp-6); }
}

/* Cards */
.card {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.section--white .card { background: var(--paper); border-color: var(--stone-100); }
.card p { color: var(--text-muted); }
.card h3 + p { margin-top: -6px; }
.card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-2); }
@media (hover: hover) {
  .card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone-300); }
}
.card--link { text-decoration: none; color: inherit; }
.card--link .link-arrow { margin-top: auto; }
.card--dark {
  background: rgba(238, 243, 238, 0.03);
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.card--dark p { color: var(--on-dark-muted); }
.card--dark .card__num { color: var(--on-dark-muted); }

/* Process timeline */
.process { position: relative; }
.process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-3);
  padding-bottom: var(--sp-5);
}
.process__step:last-child { padding-bottom: 0; }
.process__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lime);
  transition: background-color var(--dur-slow) var(--ease-out), color var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out);
}
.process__step.is-in .process__dot { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.process__step h3 { font-size: var(--fs-lg); margin-top: 8px; }
.process__step p { color: var(--on-dark-muted); margin-top: 8px; max-width: 46ch; }
.process__rail {
  position: absolute;
  left: 21.5px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: var(--line-dark);
}
.process__rail span {
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
}
@media (min-width: 1024px) {
  .process__list { grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); }
  .process__step { grid-template-columns: 1fr; padding-bottom: 0; gap: var(--sp-2); }
  .process__rail { left: 22px; right: 22px; top: 21.5px; bottom: auto; width: auto; height: 1px; }
  .process__rail span { transform-origin: left; transform: scaleX(var(--progress, 0)); }
}

/* Regulatory / pipeline notice */
.notice {
  position: relative;
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.notice .hex-field {
  -webkit-mask-image: radial-gradient(ellipse 50% 80% at 100% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 80% at 100% 0%, #000 0%, transparent 75%);
}
@media (min-width: 960px) {
  .notice { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-6); align-items: start; }
}
.notice h2 { font-size: var(--fs-xl); }
.notice p { color: var(--on-dark-muted); }
.notice__fine {
  font-size: var(--fs-sm);
  border-top: 1px solid var(--line-dark);
  padding-top: var(--sp-3);
}

.status {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
.status li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--sp-2);
  padding-bottom: var(--sp-3);
  position: relative;
}
.status li:last-child { padding-bottom: 0; }
.status li::before {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--line-dark);
}
.status li:last-child::before { display: none; }
.status__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
}
.status__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.status li[data-state="done"] .status__icon { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.status li[data-state="active"] .status__icon { border-color: var(--lime); color: var(--lime); }
.status li[data-state="active"] .status__icon::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: ping 2.4s var(--ease-out) infinite;
}
.status strong { display: block; font-weight: 600; color: var(--on-dark); }
.status span.state {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.status li[data-state="active"] span.state { color: var(--lime); }
.status__body { padding-top: 4px; }

/* Data sheet (spec panel used in place of photography) */
.sheet {
  background: var(--surface);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: var(--fs-sm);
}
.sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  padding: 16px 22px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sheet__head .dots { display: flex; gap: 6px; }
.sheet__head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-dark); }
.sheet__head .dots i:first-child { background: var(--lime); }
.sheet dl { margin: 0; }
.sheet__row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) 1.2fr;
  gap: var(--sp-2);
  padding: 16px 22px;
  border-top: 1px solid var(--stone-100);
}
.sheet__row:first-child { border-top: 0; }
.sheet dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding-top: 2px; }
.sheet dd { margin: 0; font-weight: 500; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.checklist svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(47, 155, 104, 0.12); stroke: var(--green-600); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.section--dark .checklist svg, .section--forest .checklist svg { background: rgba(182, 239, 107, 0.12); stroke: var(--lime); }

/* Big feature rows (capabilities) */
.feature-list { display: grid; border-top: 1px solid var(--stone-300); }
.feature {
  display: grid;
  gap: var(--sp-2) var(--sp-5);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--stone-300);
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 80px 1fr 1.2fr; align-items: start; }
}
.feature__num { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--green-600); padding-top: 8px; }
.feature h3 { font-size: var(--fs-xl); }
.feature p { color: var(--text-muted); }
.feature ul { margin: var(--sp-2) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.feature li {
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stone-300);
  color: var(--stone-700);
}

/* Quote band */
.quote {
  font-size: clamp(1.625rem, 2.6vw + 0.8rem, 2.875rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 28ch;
  margin: 0;
  text-wrap: balance;
}
.quote .serif { color: var(--lime); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--stone-300); }
.faq details { border-bottom: 1px solid var(--stone-300); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  min-height: 72px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--stone-300); transition: background-color var(--dur) ease, border-color var(--dur) ease; }
.faq summary .plus::before, .faq summary .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease-out);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .plus { border-color: var(--ink); }
.faq__body { padding-bottom: var(--sp-3); color: var(--text-muted); max-width: 68ch; }
.faq__body p + p { margin-top: 12px; }
.js .faq details[open] .faq__body { animation: faq-in var(--dur) var(--ease-out); }

/* Contact */
.contact-card { gap: var(--sp-2); }
.contact-card h3 { margin-top: var(--sp-1); }
.contact-card a.email {
  font-weight: 600;
  color: var(--green-600);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-meta { display: grid; gap: var(--sp-3); }
.contact-meta__row { display: grid; grid-template-columns: 52px 1fr; gap: var(--sp-2); align-items: center; }
.contact-meta__row p:first-child { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.contact-meta__row a { font-weight: 600; overflow-wrap: anywhere; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band__inner {
  display: grid;
  gap: var(--sp-4);
  align-items: end;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr auto; }
}
.cta-band h2 { max-width: 18ch; }
.cta-band h2 .serif { color: var(--lime); }

/* 7. Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  font-size: var(--fs-sm);
  border-top: 1px solid var(--line-dark);
}
.footer__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer .brand { color: var(--on-dark); }
.footer__about { display: grid; gap: var(--sp-3); max-width: 40ch; align-content: start; justify-items: start; }
.footer__col h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--sp-2);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; transition: color var(--dur-fast) ease; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--lime); }
.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: var(--sp-3);
}
.footer__disclaimer { font-size: var(--fs-xs); line-height: 1.6; max-width: 110ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-xs); }

/* 404 */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem; }
.not-found .code { font-family: var(--font-mono); color: var(--lime); letter-spacing: 0.1em; }
.not-found h1 { font-size: var(--fs-2xl); margin-top: var(--sp-2); }
.not-found p { margin: var(--sp-2) auto var(--sp-4); max-width: 44ch; color: var(--on-dark-muted); }

/* 8. Motion --------------------------------------------------------------- */

/* Scroll reveal (content stays visible without JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > [data-reveal] { transition-delay: calc(var(--i, 0) * 80ms); }

/* Headline word mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w__i { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
.is-split.is-in .w__i { transform: none; }

/* Hero entrance */
.js .hero [data-enter] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .is-loaded .hero [data-enter], .js.is-loaded .hero [data-enter] { opacity: 1; transform: none; }

/* Molecule drawing */
.molecule .bond { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .molecule .bond { stroke-dashoffset: 1; }
.js.is-loaded .molecule .bond { animation: draw 900ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 55ms + 300ms); }
.molecule .atom { transform-box: fill-box; transform-origin: center; }
.js .molecule .atom { transform: scale(0); }
.js.is-loaded .molecule .atom { animation: pop 600ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 50ms + 500ms); }
.js .molecule .ring { opacity: 0; }
.js.is-loaded .molecule .ring { animation: fade-in 1200ms var(--ease-out) 1500ms forwards; }
.molecule .halo { transform-box: fill-box; transform-origin: center; opacity: 0; }
.js.is-loaded .molecule .halo { animation: ping 3.2s var(--ease-out) infinite; animation-delay: calc(var(--d) * 400ms + 2000ms); }
.molecule .cluster { animation: float 9s var(--ease-in-out) infinite alternate; transform-origin: 268px 250px; }
.molecule .orbit-g { transform-origin: 268px 250px; animation: spin 80s linear infinite; }

.scroll-cue__line::after { animation: cue 2.4s var(--ease-in-out) infinite; }

/* Inner hero hexagon drawing */
.page-hero__ring .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .page-hero__ring .draw { stroke-dashoffset: 1; }
.js.is-loaded .page-hero__ring .draw { animation: draw 1800ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 220ms + 200ms); }
.page-hero__ring .spin { transform-origin: 100px 100px; animation: spin 140s linear infinite; }

/* Scroll-linked statement highlight (progressive: only where supported) */
.scrub-word { display: inline; }
@supports (animation-timeline: view()) {
  .js .scrub .scrub-word {
    opacity: 0.18;
    animation: word-on linear both;
    animation-timeline: view();
    animation-range: entry 70% cover 45%;
  }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes float { from { transform: translate3d(0, -6px, 0) rotate(-1.5deg); } to { transform: translate3d(0, 8px, 0) rotate(1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes word-on { to { opacity: 1; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Cross-page transitions (supporting browsers only) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 220ms var(--ease-in-out) both; }
  ::view-transition-new(root) { animation: vt-in 420ms var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Respect reduced motion: final states, no loops */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js .hero [data-enter], .w__i { opacity: 1 !important; transform: none !important; }
  .js .molecule .bond { stroke-dashoffset: 0; }
  .js .molecule .atom { transform: none; }
  .js .molecule .ring { opacity: 1; }
  .js .page-hero__ring .draw { stroke-dashoffset: 0; }
  .molecule .halo, .status li[data-state="active"] .status__icon::after, .scroll-cue__line::after { display: none; }
  .js .scrub .scrub-word { opacity: 1 !important; animation: none !important; }
}

/* 9. Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.center { text-align: center; }
