/* Carbonext — carbonext.eu
   Colour rule used across the site: teal is structure and gas, orange is product.
   Orange appears where CO₂ has become something of value, and on the primary action. */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --teal-900: #0c3437;
  --teal-800: #114246;
  --teal-600: #24686a;
  --teal-300: #9dbdb9;
  --ink: #142a2c;
  --ink-soft: #4a5f61;
  --paper: #f5f3ee;
  --paper-deep: #ebe7dd;
  --rule: #d3cec1;
  --green: #4fa35a;
  --orange: #f08a3c;
  --orange-deep: #b3540d;
  --white: #fffefb;

  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.375rem, 1.3rem + 4.4vw, 4.5rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);
  --max: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
sub { font-size: 0.72em; line-height: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--teal-900); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; background: var(--teal-900); color: var(--paper); padding: 0.6rem 1rem; font-family: var(--display); font-size: var(--step--1); }
.skip:focus { top: 0.75rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--teal-900); }
.brand__mark { width: 1.75rem; height: 1.75rem; flex: none; }
.brand__ring { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.brand__dot { fill: var(--orange); }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.03em; }
.brand--light { color: var(--paper); }

.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { font-family: var(--display); font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--ink); padding: 0.6rem 0.75rem; border-radius: 3px; }
.nav__link:hover { color: var(--teal-600); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.has-sub .nav__link { padding-right: 0.2rem; }
.nav__toggle { appearance: none; border: 0; background: none; color: var(--ink-soft); padding: 0.6rem 0.5rem 0.6rem 0.2rem; cursor: pointer; display: grid; place-items: center; }
.nav__toggle svg { width: 0.6rem; height: 0.375rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.15s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item--cta { margin-left: 0.75rem; }
.nav__link--cta { border: 1.5px solid var(--teal-900); color: var(--teal-900); padding: 0.5rem 1.1rem; }
.nav__link--cta:hover, .nav__link--cta[aria-current="page"] { background: var(--teal-900); color: var(--paper); box-shadow: none; border-radius: 3px; }

.sub { position: absolute; top: 100%; left: 0; min-width: 14rem; background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--teal-900); padding: 0.4rem; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 0.14s, transform 0.14s, visibility 0s 0.14s; }
.sub a { display: block; font-family: var(--display); font-size: 0.9375rem; text-decoration: none; padding: 0.55rem 0.7rem; color: var(--ink); }
.sub a:hover, .sub a:focus-visible { background: var(--paper); color: var(--teal-600); }
@media (hover: hover) {
  .has-sub:hover .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
.has-sub.is-open .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

.menu-btn { display: none; appearance: none; border: 1.5px solid var(--teal-900); background: none; color: var(--teal-900); font-family: var(--display); font-weight: 500; font-size: 0.9375rem; padding: 0.5rem 0.85rem; border-radius: 3px; cursor: pointer; align-items: center; gap: 0.6rem; }
.menu-btn__bars { width: 1rem; height: 0.6rem; border-top: 1.5px solid; border-bottom: 1.5px solid; }

@media (max-width: 60rem) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); max-height: calc(100dvh - 4.5rem); overflow: auto; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
  .nav__link { flex: 1; padding: 0.9rem 0; font-size: 1.125rem; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--teal-600); }
  .nav__toggle { display: none; }
  .sub { position: static; visibility: visible; opacity: 1; transform: none; border: 0; background: none; padding: 0 0 0.75rem 1rem; width: 100%; min-width: 0; }
  .sub a { padding: 0.4rem 0; color: var(--ink-soft); }
  .nav__item--cta { margin: 1.25rem 0 0; border: 0; }
  .nav__link--cta { text-align: center; padding: 0.8rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 500; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; padding: 0.95rem 1.5rem; border-radius: 3px; border: 1.5px solid transparent; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn--primary { background: var(--orange); color: #1d1206; }
.btn--primary:hover { background: #f79b54; }
.btn--ghost { border-color: var(--teal-900); color: var(--teal-900); background: none; }
.btn--ghost:hover { background: var(--teal-900); color: var(--paper); }
.band .btn--ghost { border-color: var(--teal-300); color: var(--paper); }
.band .btn--ghost:hover { background: var(--paper); color: var(--teal-900); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link { font-family: var(--display); font-weight: 500; font-size: 1.0625rem; color: var(--teal-600); text-decoration: underline; text-decoration-color: var(--teal-300); text-underline-offset: 0.3em; }
.link:hover { text-decoration-color: currentColor; }
.band .link { color: var(--paper); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--ruled { border-top: 1px solid var(--rule); }
.band { background: var(--teal-900); color: var(--paper); }
.band--deep { background: var(--paper-deep); }
.band ::selection { background: var(--orange); color: #1d1206; }

.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-1); letter-spacing: -0.012em; line-height: 1.25; }
.lead { font-size: var(--step-1); line-height: 1.5; }
.note { font-family: var(--display); font-size: var(--step--1); line-height: 1.5; color: var(--ink-soft); }
.band .note { color: var(--teal-300); }

/* heading on the left, text on the right */
.split { display: grid; gap: 1.75rem 3rem; }
.split__body { max-width: 40rem; }
.split__body > * + .figure, .split__body > * + .list, .split__body > * + .btn-row, .split__body > * + .spec { margin-top: 2.25rem; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split__head { position: sticky; top: 7rem; align-self: start; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.02; }
.hero__sub { font-size: var(--step-1); line-height: 1.5; max-width: 34rem; margin: 1.75rem 0 2.25rem; color: var(--ink); }
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; }
  .hero__figure { margin-right: calc(var(--gutter) * -0.25); }
}

/* ---------- Home hero illustration ---------- */
.factory { width: 100%; height: auto; }
@media (max-width: 63.99rem) { .hero__figure { max-width: 26rem; } }
.factory__hall { fill: var(--paper-deep); stroke: var(--teal-900); stroke-width: 2; stroke-linejoin: miter; }
.factory__detail { fill: none; stroke: var(--teal-900); stroke-width: 1; opacity: 0.45; }
.factory__windows rect { fill: var(--teal-300); stroke: var(--teal-900); stroke-width: 1; }
.factory__door { fill: var(--paper); stroke: var(--teal-900); stroke-width: 1.5; }
.factory__chimney { fill: var(--teal-900); }
.factory__band { fill: none; stroke: var(--teal-300); stroke-width: 2; }
.factory__pipe { fill: none; stroke: var(--teal-600); stroke-width: 6; }
.factory__feet { fill: var(--teal-900); }
.factory__unit { fill: var(--white); stroke: var(--teal-900); stroke-width: 2; }
.factory__ribs { fill: none; stroke: var(--teal-300); stroke-width: 1.5; }
.factory__product { fill: none; stroke: var(--orange); stroke-width: 4; }
.factory__tank { fill: var(--white); stroke: var(--teal-900); stroke-width: 2; }
.factory__tank-level { fill: var(--orange); }
.factory__ground-from { stop-color: var(--teal-900); }
.factory__ground-to { stop-color: var(--green); }
.factory__labels path { fill: none; stroke: var(--ink-soft); stroke-width: 1; }
.factory__labels text { font-family: var(--display); font-size: 15px; fill: var(--ink-soft); }
.factory__labels .is-strong { fill: var(--teal-900); font-weight: 600; }
.factory__labels .is-product { fill: var(--orange-deep); font-weight: 600; }

/* The flue gas leaves the stack grey, drifts right and turns green as it passes over the unit. */
.factory__plume-from { stop-color: var(--ink-soft); }
.factory__plume-to { stop-color: var(--green); }
.factory__plume-end { stop-color: var(--green); stop-opacity: 0; }
.factory__plume { opacity: 0.3; }
.factory__flow path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 11; }
@media (prefers-reduced-motion: no-preference) {
  .factory__flow path { animation: flue-flow 1.8s linear infinite; }
  .factory__flow path:nth-child(2) { animation-duration: 2.1s; }
  .factory__flow path:nth-child(3) { animation-duration: 1.6s; }
  .factory__flow path:nth-child(4) { animation-duration: 2.3s; }
  @keyframes flue-flow { to { stroke-dashoffset: -14; } }
}

/* ---------- Process diagram ---------- */
.process { overflow: visible; }
.process__ground { stroke: var(--teal-900); stroke-width: 1.5; }
.process__body, .process__unit, .process__vessel { fill: var(--paper); stroke: var(--teal-900); stroke-width: 1.5; stroke-linejoin: round; }
.process__unit { fill: var(--white); }
.process__feet { fill: var(--teal-900); }
.process__beds rect { fill: url(#bed-hatch); stroke: var(--teal-900); stroke-width: 1.5; }
.process__hatch { stroke: var(--teal-600); stroke-width: 2; }
.process__gas { fill: none; stroke: var(--teal-600); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.process__gas--side { stroke-dasharray: 2 9; opacity: 0.6; }
.process__arrow { fill: none; stroke: var(--teal-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.process__product { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linejoin: round; }
.process__tank { fill: var(--white); stroke: var(--teal-900); stroke-width: 1.5; }
.process__tank-level { fill: var(--orange); }
.process__step circle { fill: var(--teal-900); }
.process__step text { fill: var(--paper); font-family: var(--display); font-size: 14px; font-weight: 600; text-anchor: middle; }
.process__labels text { font-family: var(--display); font-size: 14px; fill: var(--ink-soft); }
.process__labels .is-strong { fill: var(--teal-900); font-weight: 600; }
.process__labels .is-product { fill: var(--orange-deep); font-weight: 600; }
@media (max-width: 34rem) { .process__labels text { font-size: 20px; } .process__step text { font-size: 15px; } }
@media (prefers-reduced-motion: no-preference) {
  .process__gas { animation: gas-flow 1.6s linear infinite; }
  .process__gas--side { animation-duration: 2.4s; }
  @keyframes gas-flow { to { stroke-dashoffset: -18; } }
}

.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.9rem; align-items: start; }
.steps li::before { content: counter(step); width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--teal-900); color: var(--paper); font-family: var(--display); font-weight: 600; font-size: 0.875rem; display: grid; place-items: center; margin-top: 0.1rem; }
.steps--compact { gap: 0.6rem; font-family: var(--display); font-size: var(--step--1); line-height: 1.45; color: var(--ink-soft); }
.steps--compact li { grid-template-columns: 1.375rem 1fr; gap: 0.7rem; }
.steps--compact li::before { width: 1.375rem; height: 1.375rem; font-size: 0.75rem; margin-top: 0; }

/* ---------- Facts (home) ---------- */
.facts { display: grid; border-top: 2px solid var(--teal-900); }
.facts > div { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-weight: 500; font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.15; color: var(--teal-900); }
.facts dd { margin-top: 0.5rem; max-width: 24rem; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; }
@media (min-width: 52rem) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts > div { padding: 1.75rem 2rem 0.25rem 0; border-bottom: 0; }
  .facts > div + div { padding-left: 2rem; border-left: 1px solid var(--rule); }
}

/* inline figures inside running text */
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.figures dt { font-family: var(--display); font-weight: 500; font-size: var(--step-3); letter-spacing: -0.03em; line-height: 1; color: var(--teal-900); }
.figures dd { font-family: var(--display); font-size: var(--step--1); line-height: 1.45; color: var(--ink-soft); margin-top: 0.5rem; max-width: 15rem; }
.band .figures { border-color: color-mix(in srgb, var(--teal-300) 40%, transparent); }
.band .figures dt { color: var(--paper); }
.band .figures dd { color: var(--teal-300); }

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.benefit__icon { width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefit__icon .accent { stroke: var(--orange); }
.benefit__icon .dot { fill: var(--paper); stroke: none; }
.benefit__icon .dot-accent { fill: var(--orange); stroke: none; }
.benefit p { color: var(--teal-300); margin-top: 0.6rem; max-width: 22rem; font-size: 1.0625rem; line-height: 1.5; }
@media (min-width: 52rem) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .benefit { padding-right: 2.5rem; }
  .benefit + .benefit { padding-left: 2.5rem; border-left: 1px solid color-mix(in srgb, var(--teal-300) 35%, transparent); }
}

/* ---------- Photos ---------- */
.photo { background: var(--paper-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption, .photo-row figcaption { font-family: var(--display); font-size: var(--step--1); line-height: 1.45; color: var(--ink-soft); margin-top: 0.75rem; }
.band .figure figcaption { color: var(--teal-300); }

.photo-row { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.photo-row figure:nth-child(2) { margin-top: clamp(1.5rem, 5vw, 4.5rem); }
.photo-row .photo { aspect-ratio: 4 / 5; overflow: hidden; }
@media (max-width: 44rem) {
  .photo-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 0.5rem; }
  .photo-row figure { scroll-snap-align: start; }
  .photo-row figure:nth-child(2) { margin-top: 0; }
}

.figure--photo { max-width: 26rem; }
.figure--photo .photo { overflow: hidden; }

/* ---------- Closing call ---------- */
.closing { display: grid; gap: 2rem; align-items: end; }
.closing p { max-width: 32rem; color: var(--teal-300); font-size: var(--step-1); line-height: 1.5; margin-top: 1.25rem; }
@media (min-width: 52rem) { .closing { grid-template-columns: 1fr auto; } }

/* ---------- Inner page header ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-size: var(--step-4); letter-spacing: -0.035em; }
.page-head .lead { max-width: 38rem; margin-top: 1.5rem; }

/* ---------- Generic lists and specs ---------- */
.list { border-top: 1px solid var(--rule); }
.list li { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 1.0625rem; line-height: 1.4; }
.band .list, .band .list li { border-color: color-mix(in srgb, var(--teal-300) 35%, transparent); }
.list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }

.spec { border-top: 2px solid var(--teal-900); }
.spec > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-family: var(--display); font-size: var(--step--1); color: var(--ink-soft); padding-top: 0.2rem; }
.spec dd { font-family: var(--display); font-weight: 500; font-size: 1.0625rem; line-height: 1.4; }

/* ---------- Technology: dilution scale ---------- */
.scale { padding: 1.5rem 0 0; border-top: 1px solid var(--rule); }
.scale__title { font-family: var(--display); font-weight: 500; font-size: 1.0625rem; margin-bottom: 1.5rem; }
.scale__bar { position: relative; height: 2.25rem; background: var(--paper-deep); }
.scale__range { position: absolute; top: 0; bottom: 0; left: 1.3%; width: 4.7%; min-width: 6px; background: var(--teal-900); }
.scale__ticks { display: flex; justify-content: space-between; font-family: var(--display); font-size: 0.8125rem; color: var(--ink-soft); margin-top: 0.4rem; }
.scale__key { display: grid; gap: 0.5rem; margin-top: 1.25rem; font-family: var(--display); font-size: var(--step--1); line-height: 1.45; color: var(--ink-soft); }
.scale__key li { display: grid; grid-template-columns: 0.875rem 1fr; gap: 0.6rem; align-items: baseline; }
.scale__key i { width: 0.875rem; height: 0.875rem; background: var(--paper-deep); transform: translateY(0.1rem); }
.scale__key i.is-range { background: var(--teal-900); }

/* ---------- Technology: readiness ---------- */
.trl { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
.trl li { font-family: var(--display); font-weight: 500; font-size: 0.9375rem; text-align: center; padding: 0.7rem 0; background: var(--paper-deep); color: var(--ink-soft); }
.trl li.is-done { background: var(--teal-300); color: var(--teal-900); }
.trl li.is-now { background: var(--teal-900); color: var(--paper); }
.trl li.is-next { background: none; box-shadow: inset 0 0 0 1.5px var(--teal-900); color: var(--teal-900); }
.trl-key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 0.9rem; font-family: var(--display); font-size: var(--step--1); color: var(--ink-soft); }
.trl-key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trl-key i { width: 0.875rem; height: 0.875rem; background: var(--teal-900); }
.trl-key i.is-next { background: none; box-shadow: inset 0 0 0 1.5px var(--teal-900); }

.diagram-block { display: grid; gap: 2.5rem; align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.diagram-block .process { width: 100%; height: auto; }
@media (min-width: 60rem) { .diagram-block { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }

/* ---------- Project roadmap ---------- */
.road { display: grid; }
.road__step { display: grid; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.road__step:first-child { border-top: 2px solid var(--teal-900); }
.road__num { font-family: var(--display); font-weight: 500; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 0.75rem; }
.road__scale { display: flex; align-items: flex-end; gap: 1rem; margin-top: 2rem; }
.road__square { background: var(--teal-900); flex: none; }
.road__square--ref { background: none; box-shadow: inset 0 0 0 1.5px var(--teal-600); }
.road__scale-label { font-family: var(--display); font-size: var(--step--1); line-height: 1.35; color: var(--ink-soft); }
.road__scale-label strong { display: block; font-weight: 500; font-size: var(--step-2); letter-spacing: -0.02em; color: var(--teal-900); line-height: 1.1; }
.road__body { max-width: 40rem; }
.road__body > * + .list, .road__body > * + .spec { margin-top: 2rem; }
@media (min-width: 56rem) { .road__step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- About: team and partners ---------- */
.team { border-top: 2px solid var(--teal-900); }
.team li { display: grid; gap: 0.35rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.team__name { font-family: var(--display); font-weight: 500; font-size: var(--step-1); letter-spacing: -0.015em; line-height: 1.2; }
.team__role { font-family: var(--display); font-size: 1rem; color: var(--teal-600); }
.team__bio { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; max-width: 34rem; }
@media (min-width: 52rem) {
  .team li { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 6fr); align-items: baseline; }
}

.partners { display: grid; gap: 2.5rem; }
.partner { border-top: 2px solid var(--teal-900); padding-top: 1.5rem; }
.partner__kind { font-family: var(--display); font-size: 1rem; color: var(--teal-600); margin: 0.4rem 0 1rem; }
.partner p:last-child { color: var(--ink-soft); max-width: 30rem; }
@media (min-width: 52rem) { .partners { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3.5rem; }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 6rem; } }
.form { display: grid; gap: 1.4rem; }
.form__pair { display: grid; gap: 1.4rem; }
@media (min-width: 40rem) { .form__pair { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--display); font-weight: 500; font-size: 1rem; margin-bottom: 0.45rem; }
.field label small { font-weight: 400; font-size: var(--step--1); color: var(--ink-soft); }
.field input, .field textarea { width: 100%; font: inherit; font-family: var(--display); font-size: 1.0625rem; color: var(--ink); background: var(--white); border: 1px solid #a9aea6; border-radius: 3px; padding: 0.8rem 0.9rem; }
.field textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--teal-600); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal-900); outline-offset: 0; border-color: var(--teal-900); }
.field [aria-invalid="true"] { border-color: #a4321c; box-shadow: inset 0 0 0 1px #a4321c; }
.field__error { font-family: var(--display); font-size: var(--step--1); color: #a4321c; margin-top: 0.4rem; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; font-family: var(--display); font-size: 1rem; line-height: 1.45; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--teal-900); }
.hp { position: absolute; left: -9999px; }
.form__status { font-family: var(--display); font-size: 1.0625rem; line-height: 1.45; padding: 1rem 1.2rem; border-left: 3px solid var(--teal-900); background: var(--white); }
.form__status.is-error { border-color: #a4321c; }
.form__status:empty { display: none; }
.form__done { border-top: 2px solid var(--teal-900); padding-top: 1.75rem; }
.form__done h2 { margin-bottom: 0.75rem; }

.aside { display: grid; gap: 2.5rem; align-content: start; }
.aside h2 { font-size: var(--step-1); letter-spacing: -0.012em; margin-bottom: 1rem; }
.aside address { font-family: var(--display); font-size: 1.0625rem; line-height: 1.6; }
.aside .list li { font-size: 1rem; }

/* ---------- Legal pages ---------- */
.prose { max-width: 42rem; }
.prose h2 { font-size: var(--step-2); margin: 3rem 0 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose .pending { background: #fbe3cf; padding: 0.05em 0.3em; font-family: var(--display); font-size: 0.9em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: var(--paper); padding-top: clamp(3rem, 6vw, 5rem); font-family: var(--display); font-size: 1rem; }
.band + .site-footer, main > .band:last-child + .site-footer { border-top: 1px solid color-mix(in srgb, var(--teal-300) 30%, transparent); }
.site-footer__in { display: grid; gap: 2.5rem; }
.site-footer__brand p { color: var(--teal-300); margin-top: 0.9rem; max-width: 17rem; line-height: 1.45; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer__nav li + li { margin-top: 0.6rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__contact { line-height: 1.7; }
.site-footer__contact a { text-decoration: underline; text-decoration-color: var(--teal-300); }
.site-footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); color: var(--teal-300); font-size: var(--step--1); }
.site-footer__legal p { padding-block: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--teal-300) 30%, transparent); }
@media (min-width: 52rem) { .site-footer__in { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 3rem; } }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(5rem, 14vw, 11rem); }
.lost h1 { font-size: var(--step-4); letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.lost p { max-width: 30rem; margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .site-footer__nav, .menu-btn, .btn-row { display: none; }
  .band, .site-footer { background: none; color: #000; }
}
