/* ==========================================================================
   AudibleCode design system: "signal from noise"
   --------------------------------------------------------------------------
   An engineering spec sheet: bone paper, near-black ink, hairline rules,
   mono annotations, and the logo orange used only as the signal colour.

   Tokens        colour, type, spacing, shape, layout
   Base          reset, typography, focus, utilities, reveal motion
   Components    buttons, links, markers, header, frames, status, forms
   Sections      homepage, products listing, product page, simple pages
   Footer, motion, print
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colour */
  --paper: #f2f1ec;         /* bone page */
  --paper-2: #e8e6df;       /* recessed band */
  --card: #fbfaf7;          /* raised surfaces, form */
  --ink: #111210;           /* primary text */
  --ink-2: #4b4d47;         /* secondary text (7.4:1 on paper) */
  --ink-3: #61635c;         /* annotations (5.3:1 on paper) */
  --line: #d5d3ca;          /* hairlines */
  --line-strong: #b4b2a8;   /* rules, input borders */
  --signal: #f7941d;        /* logo orange: fills and marks only */
  --signal-ink: #a65300;    /* orange for text on paper (4.9:1) */
  --night: #10110f;         /* dark bands */
  --night-2: #1b1c19;
  --on-night: #edece6;
  --on-night-2: #a8a9a1;
  --line-night: #2f312c;
  --ok: #8fd4b7;
  --live: #23a26a;
  --error: #b42318;
  --focus: var(--signal-ink);

  /* Product accents: approved set. -lt variants are for dark surfaces. */
  --cobalt: #3458db;  --cobalt-lt: #a9bcff;
  --green: #27745c;   --green-lt: #8fd4b7;
  --ochre: #a76400;   --ochre-lt: #ffc16d;
  --slate: #53647e;   --slate-lt: #bdc9d8;

  /* Type: Mona Sans throughout (semi-wide for headlines, normal width for text), Geist Mono for annotations */
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: var(--font);
  --display-width: 112%;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: 0.75rem;       /* 12, mono labels */
  --text-sm: 0.9375rem;     /* 15 */
  --text-base: 1.0625rem;   /* 17 */
  --text-lg: 1.25rem;       /* 20 */
  --text-xl: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  --text-2xl: clamp(1.875rem, 1.2rem + 2.3vw, 3.5rem);
  --text-3xl: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem);
  --text-hero: clamp(2.5rem, 0.7rem + 6.1vw, 7rem);
  --text-giant: clamp(3.25rem, 1rem + 8vw, 9.5rem);

  /* Space (4px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;
  --section: clamp(4.5rem, 2.5rem + 7vw, 9rem);

  /* Shape and layout */
  --radius: 4px;
  --radius-l: 8px;
  --container: 90rem; /* 1440px */
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Breakpoints (documented; custom properties can't be used in media queries)
   sm  40rem  640px   large phones
   md  56rem  896px   tablets, navigation switches to full bar
   lg  64rem  1024px  laptops, split layouts
   xl  80rem  1280px  large desktops */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
main:focus { outline: none; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  padding: var(--s3) var(--s4); background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: var(--s4); }

/* Scroll reveal. Content is only hidden once JavaScript has confirmed it can reveal it. */
@media (prefers-reduced-motion: no-preference) {
  .js.reveal-ready [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 3.25rem; padding: 0.875rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: var(--text-sm); font-weight: 500; line-height: 1.2; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.button__arrow::before { content: "\2192"; display: inline-block; transition: transform 0.25s var(--ease); }
.button__arrow--out::before { content: "\2197"; }
.button:hover .button__arrow::before { transform: translateX(4px); }
.button:hover .button__arrow--out::before { transform: translate(3px, -3px); }
.button--primary { background: var(--ink); color: var(--paper); }
.button--primary:hover { background: var(--signal); color: var(--ink); }
.button--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--secondary:hover { background: var(--ink); color: var(--paper); }
.button--on-dark { border-color: var(--on-night-2); color: var(--on-night); }
.button--on-dark:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.button--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.button[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.text-link {
  display: inline-flex; align-items: baseline; gap: var(--s2);
  font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.35em;
  transition: text-decoration-thickness 0.2s ease, color 0.2s ease;
}
.text-link:hover { text-decoration-thickness: 4px; }
.text-link__arrow::before { content: "\2192"; display: inline-block; transition: transform 0.25s var(--ease); }
.text-link:hover .text-link__arrow::before { transform: translateX(4px); }
.text-link--back::before { content: "\2190"; margin-right: var(--s1); }
.text-link--light { color: var(--on-night); }

/* Section marker: CAPABILITIES ———— */
.marker {
  display: flex; align-items: center; gap: var(--s4);
  margin-bottom: clamp(2rem, 1rem + 3vw, 4rem);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.marker::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

.status {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.125rem 0.5rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5;
}
.status--live::before, .pulse {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(35, 162, 106, 0.55); animation: pulse 2.4s ease-out infinite;
}
.pulse { display: inline-block; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 0.45rem rgba(35, 162, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 162, 106, 0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 241, 236, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { display: block; width: clamp(8.75rem, 11vw, 10.5rem); height: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s6); }
.site-nav__list { display: flex; gap: var(--s5); }
.site-nav__list a {
  position: relative; display: inline-block; padding-block: var(--s2);
  font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: color 0.2s ease;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover, .site-nav__list a[aria-current] { color: var(--ink); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current]::after { transform: scaleX(1); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s2); margin-left: auto;
  min-height: 2.75rem; padding: 0 var(--s3);
  font: inherit; font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Small screens without JavaScript: navigation wraps under the logo. */
@media (max-width: 55.99rem) {
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: var(--s3); }
  .no-js .site-nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: var(--s3); }
  .no-js .site-nav__list { flex-wrap: wrap; gap: var(--s2) var(--s4); }

  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--s5);
    padding: var(--s2) var(--gutter) var(--s6);
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .js .site-nav[data-open] { display: flex; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list a {
    display: block; padding-block: var(--s4); border-bottom: 1px solid var(--line);
    font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
  }
  .js .site-nav__list a::after { display: none; }
  .js .site-nav__cta { min-height: 3.25rem; }
}
@media (min-width: 56rem) { .nav-toggle { display: none; } }

/* ---------- Shared section parts ---------- */
.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head--wide { max-width: 64rem; }
.section-title { font-size: var(--text-2xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.035em; line-height: 1.02; }
.section-intro { margin-top: var(--s5); font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); max-width: 42rem; }

/* Browser-like frame for product screenshots */
.frame {
  overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: 0 1px 0 rgba(17, 18, 16, 0.04), 0 24px 48px -24px rgba(17, 18, 16, 0.22);
}
.frame__bar {
  display: flex; align-items: center; gap: var(--s3);
  height: 2.25rem; padding-inline: var(--s4);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3);
  background: var(--paper);
}
.frame__mark { width: 0.5rem; height: 0.5rem; background: var(--signal); flex: none; }
.frame__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame__body img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--paper-2); }
.frame__body img.fit-contain { object-fit: contain; object-position: center; }
.frame--dark { border-color: var(--line-night); background: var(--night-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.frame--dark .frame__bar { background: var(--night-2); border-color: var(--line-night); color: var(--on-night-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) calc(var(--section) * 0.5); overflow: hidden; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6);
  padding-bottom: var(--s4); margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.hero__meta p:last-child { margin-left: auto; }
.hero__live { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; }
.hero__live:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.hero__grid { display: grid; gap: var(--s6); align-items: center; }
.hero__eyebrow {
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-ink);
  margin-bottom: var(--s5);
}
.hero__title {
  font-size: clamp(2.6rem, 1rem + 4.3vw, 4.875rem); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500;
  letter-spacing: -0.035em; line-height: 1.04;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 88% / 100% 0.14em;
}
.hero__lead { max-width: 34rem; margin-block: var(--s6); font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); }
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: 7fr 6fr; gap: var(--s5); }
}

/* Entrance: the hero settles in once, on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__title, .hero__lead, .hero__text .actions, .showcase { animation: rise 1s var(--ease) both; }
  .hero__title { animation-delay: 0.06s; }
  .hero__lead { animation-delay: 0.16s; }
  .hero__text .actions { animation-delay: 0.24s; }
  .showcase { animation-delay: 0.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } }

/* Showcase: the six stages of the Approach, one at a time. Illustrations are sized in em
   from the showcase width, so each one scales as a whole. */
.showcase { margin: 0; container-type: inline-size; }
.showcase__slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }

.slide__art {
  --glow: 70% 20%;
  position: relative; aspect-ratio: 6 / 5; overflow: hidden;
  font-size: clamp(6.5px, 1.95cqw, 12px);
  /*border: 1px solid var(--line); border-radius: 14px;*/
  /*background:*/
  /*  radial-gradient(circle at var(--glow), rgba(247, 148, 29, 0.2), transparent 45%),*/
  /*  radial-gradient(circle, rgba(17, 18, 16, 0.12) 1px, transparent 1.2px) 0 0 / 18px 18px,*/
  /*  var(--paper-2);*/
}
.slide__art--2 { --glow: 20% 80%; }
.slide__art--3 { --glow: 85% 70%; }
.slide__art--4 { --glow: 15% 15%; }
.slide__art--5 { --glow: 60% 85%; }
.slide__art--6 { --glow: 90% 25%; }
.slide__num {
  position: absolute; right: 0.15em; bottom: -0.2em; z-index: 0;
  font-family: var(--display); font-stretch: var(--display-width); font-weight: 600; font-size: 13em; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
}
.slide__text { padding-top: var(--s5); max-width: 34rem; min-height: 9.5rem; }
.slide__kicker { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-ink); }
.slide__title { margin-top: var(--s2); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; }
.slide__desc { margin-top: var(--s2); color: var(--ink-2); font-size: var(--text-base); line-height: 1.5; }

/* Pieces enter in turn, then drift gently. */
.sh-piece { position: absolute; z-index: 1; opacity: 0; transform: translateY(1.6em) scale(0.97); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.slide.is-active .sh-piece { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--d) * 0.14s); }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .sh-piece > * { animation: drift 6s ease-in-out calc(var(--d) * -1.7s) infinite alternate; }
}
@keyframes drift { to { translate: 0 -0.35em; } }
@media (prefers-reduced-motion: reduce) {
  .sh-piece, .slide.is-active .sh-piece { transform: none; transition: opacity 0.4s ease; }
}

/* Shared parts */
.sh-card {
  padding: 1.1em 1.2em; border-radius: 0.9em; font-size: 1em; line-height: 1.35; color: var(--ink);
  background: rgba(251, 250, 247, 0.92); border: 1px solid rgba(180, 178, 168, 0.6);
  box-shadow: 0 1.8em 3em -1.6em rgba(17, 18, 16, 0.32), 0 0.2em 0.5em rgba(17, 18, 16, 0.05);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sh-card--night { background: var(--night); border-color: var(--line-night); color: var(--on-night); box-shadow: 0 2em 3.2em -1.6em rgba(17, 18, 16, 0.6); }
.sh-label { margin-bottom: 0.8em; font-family: var(--mono); font-size: 0.85em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sh-card--night .sh-label { color: var(--on-night-2); }
.sh-chip {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 0.7em 1.1em; border-radius: 999px; white-space: nowrap;
  font-family: var(--mono); font-size: 0.95em; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: 0 1em 2em -1em rgba(17, 18, 16, 0.3);
}
.sh-tick { width: 1.2em; height: 1.2em; flex: none; padding: 0.15em; border-radius: 50%; background: var(--live); }
.sh-tick path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh-area { fill: rgba(247, 148, 29, 0.16); }
.sh-line { fill: none; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }
.slide.is-active .sh-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) 0.5s; }
.showcase .pulse { width: 0.7em; height: 0.7em; }

/* 01 Discover */
.sh-notes { left: 6%; top: 9%; width: 56%; }
.sh-stickies { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; }
.sh-sticky {
  position: relative; display: block; min-height: 5.4em; padding: 0.8em; border-radius: 0.3em;
  font-size: 0.95em; font-weight: 500; line-height: 1.3; background: #fff; box-shadow: 0 0.4em 0.8em -0.4em rgba(17, 18, 16, 0.3);
  rotate: -2deg;
}
.sh-sticky:nth-child(2) { rotate: 2deg; }
.sh-sticky:nth-child(3) { rotate: 1deg; }
.sh-sticky:nth-child(4) { rotate: -1.5deg; }
.sh-sticky--sig { background: var(--signal); }
.sh-sticky--ochre { background: var(--ochre-lt); }
.sh-sticky i {
  position: absolute; right: -0.6em; top: -0.9em; padding: 0.2em 0.6em; border-radius: 999px;
  font-family: var(--mono); font-style: normal; font-size: 0.75em; letter-spacing: 0.04em; text-transform: uppercase; background: var(--ink); color: var(--paper);
}
.sh-interview { right: 5%; top: 20%; width: 34%; }
.sh-person { display: flex; align-items: center; gap: 0.7em; }
.sh-person b { display: block; font-size: 1em; font-weight: 600; }
.sh-person small { display: block; font-family: var(--mono); font-size: 0.8em; color: var(--ink-3); }
.sh-avatar { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; flex: none; background: var(--green); color: #fff; font-family: var(--mono); font-size: 0.9em; }
.sh-wave { display: flex; align-items: center; gap: 0.22em; height: 3em; margin-top: 0.9em; }
.sh-wave span { flex: 1; height: var(--h); border-radius: 1em; background: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .sh-wave span { animation: wave 1.1s ease-in-out calc(var(--i) * -0.13s) infinite alternate; }
}
@keyframes wave { to { transform: scaleY(0.35); } }
.sh-quote {
  left: 26%; bottom: 10%; max-width: 62%; padding: 1em 1.3em; border-radius: 1.2em 1.2em 1.2em 0.2em;
  font-family: var(--display); font-stretch: var(--display-width); font-size: 1.35em; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
  background: var(--ink); color: var(--paper); box-shadow: 0 1.6em 2.6em -1.4em rgba(17, 18, 16, 0.55);
}

/* 02 Define */
.sh-blueprint { left: 5%; top: 8%; width: 60%; background-image: linear-gradient(var(--line-night) 1px, transparent 1px), linear-gradient(90deg, var(--line-night) 1px, transparent 1px); background-size: 1.6em 1.6em; }
.sh-blueprint svg { display: block; width: 100%; }
.sh-blueprint text { font-family: var(--mono); font-size: 8.5px; text-anchor: middle; fill: var(--on-night); }
.sh-node { fill: var(--night-2); stroke: var(--on-night-2); stroke-width: 0.8; }
.sh-node--core { fill: var(--signal); stroke: var(--signal); }
.sh-node--core + text { fill: var(--ink); font-weight: 600; }
.sh-node--ext { stroke-dasharray: 3 2; }
.sh-wire { fill: none; stroke: var(--on-night-2); stroke-width: 1; stroke-dasharray: 3 3; }
.sh-wire--hot { stroke: var(--signal); stroke-width: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .sh-wire { animation: dash 1.4s linear infinite; }
}
@keyframes dash { to { stroke-dashoffset: -12; } }
.sh-plan { right: 5%; top: 42%; width: 46%; }
.sh-gantt { display: grid; grid-template-columns: auto 1fr; gap: 0.55em 0.8em; align-items: center; }
.sh-gantt__name { font-family: var(--mono); font-size: 0.85em; color: var(--ink-2); }
.sh-gantt__track { position: relative; height: 0.9em; border-radius: 1em; background: repeating-linear-gradient(90deg, var(--paper-2) 0 calc(12.5% - 1px), var(--line) calc(12.5% - 1px) 12.5%); }
.sh-gantt__bar {
  position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 12.5%); width: calc(var(--w) * 12.5%); border-radius: 1em; background: var(--ink);
  transform-origin: left; transform: scaleX(0); transition: transform 0.7s var(--ease);
}
.sh-gantt__bar--sig { background: var(--signal); }
.slide.is-active .sh-gantt__bar { transform: none; transition-delay: calc(0.6s + var(--i) * 0.15s); }
.slide__art--2 .sh-chip { left: 9%; bottom: 9%; }

/* 03 Design */
.sh-browser { left: 5%; top: 9%; width: 66%; padding: 0; overflow: hidden; }
.sh-bar { display: flex; align-items: center; gap: 0.35em; padding: 0.6em 0.8em; border-bottom: 1px solid var(--line); background: var(--paper); }
.sh-bar i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--line-strong); }
.sh-bar span { margin-left: 0.6em; font-family: var(--mono); font-size: 0.75em; color: var(--ink-3); }
.sh-app { display: grid; grid-template-columns: 22% 1fr; min-height: 15em; }
.sh-app__side { display: flex; flex-direction: column; gap: 0.6em; padding: 0.9em; background: var(--night); }
.sh-app__side b { width: 1.1em; height: 1.1em; border-radius: 0.25em; background: var(--signal); margin-bottom: 0.4em; }
.sh-app__side i { height: 0.45em; border-radius: 1em; background: #3b3d37; }
.sh-app__side i:nth-of-type(2) { background: var(--on-night-2); width: 80%; }
.sh-app__main { padding: 0.9em; }
.sh-app__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.sh-app__stats span { padding: 0.6em; border-radius: 0.5em; border: 1px solid var(--line); background: #fff; }
.sh-app__stats small { display: block; font-family: var(--mono); font-size: 0.7em; color: var(--ink-3); }
.sh-app__stats b { font-family: var(--display); font-stretch: var(--display-width); font-size: 1.4em; font-weight: 500; }
.sh-app__stats .is-sig { background: var(--signal); border-color: var(--signal); }
.sh-app__stats .is-sig small { color: var(--ink); }
.sh-app__chart { display: block; width: 100%; height: 6.5em; margin-top: 0.8em; }
.sh-phone { right: 6%; top: 22%; width: 25%; }
.sh-phone__screen {
  display: flex; flex-direction: column; gap: 0.55em; aspect-ratio: 9 / 17; padding: 1.4em 0.8em 0.8em;
  border: 0.45em solid var(--ink); border-radius: 1.6em; background: #fff; box-shadow: 0 2em 3em -1.6em rgba(17, 18, 16, 0.45);
}
.sh-phone__title { font-family: var(--display); font-stretch: var(--display-width); font-size: 1.05em; font-weight: 600; }
.sh-phone__card { padding: 0.6em; border-radius: 0.5em; background: var(--night); color: var(--on-night); }
.sh-phone__card small { display: block; font-family: var(--mono); font-size: 0.65em; color: var(--on-night-2); }
.sh-phone__card b { font-size: 1em; font-weight: 600; }
.sh-phone__row { height: 0.5em; border-radius: 1em; background: var(--line); }
.sh-phone__row--short { width: 60%; }
.sh-phone__btn { margin-top: auto; padding: 0.55em; border-radius: 0.5em; text-align: center; font-size: 0.85em; font-weight: 600; background: var(--signal); }
.sh-cursor { position: absolute; right: 18%; bottom: 4%; width: 1.5em; fill: var(--ink); stroke: #fff; stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .sh-cursor { animation: tap 2.4s var(--ease) 1s infinite; }
}
@keyframes tap { 0% { transform: translate(2.5em, 2em); } 40%, 100% { transform: none; } 45% { scale: 0.85; } 55% { scale: 1; } }
.sh-swatches { left: 8%; bottom: 8%; }
.sh-swatches i { width: 1.2em; height: 1.2em; border-radius: 50%; margin-right: -0.5em; border: 2px solid var(--card); background: var(--ink); }
.sh-swatches i:nth-child(2) { background: var(--signal); }
.sh-swatches i:nth-child(3) { background: var(--green); }
.sh-swatches i:nth-child(4) { background: var(--paper-2); }
.sh-swatches b { margin-left: 0.6em; font-family: var(--display); font-stretch: var(--display-width); font-size: 1.2em; }

/* 04 Engineer */
.sh-editor { left: 5%; top: 8%; width: 66%; padding: 0; overflow: hidden; }
.sh-tabs { display: flex; border-bottom: 1px solid var(--line-night); font-family: var(--mono); font-size: 0.8em; color: var(--on-night-2); }
.sh-tabs span { padding: 0.7em 1em; }
.sh-tabs .is-on { color: var(--on-night); box-shadow: inset 0 -2px var(--signal); }
.sh-code { margin: 0; padding: 1.2em 1em 1.4em 0.4em; font-family: var(--mono); font-size: 1em; line-height: 2.1; white-space: pre; overflow: hidden; }
.sh-code span { display: block; }
.sh-code i { display: inline-block; width: 2em; text-align: right; margin-right: 1em; font-style: normal; color: #4b4d47; }
.sh-code k { color: var(--signal); }
.sh-code f { color: var(--cobalt-lt); }
.sh-code s { color: var(--ok); text-decoration: none; }
.sh-code u { display: inline-block; width: 0.55em; height: 1.1em; margin-left: 0.3em; vertical-align: -0.2em; background: var(--signal); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .sh-code span { clip-path: inset(0 100% 0 0); }
  .slide.is-active .sh-code span { clip-path: inset(0 0 0 0); transition: clip-path 0.5s steps(24) calc(0.5s + var(--n) * 0.45s); }
  .slide.is-active .sh-code u { animation: blink 1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
.sh-terminal { right: 5%; bottom: 10%; width: 44%; font-family: var(--mono); font-size: 0.95em; }
.sh-cmd { color: var(--ink-3); margin-bottom: 0.6em; }
.sh-ok { display: flex; align-items: center; gap: 0.6em; margin-top: 0.4em; }
.sh-pr { right: 7%; top: 10%; }
.sh-pr svg { width: 1.1em; fill: none; stroke: var(--live); stroke-width: 1.3; }

/* 05 Validate and launch */
.sh-scores { left: 6%; top: 9%; width: 58%; }
.sh-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; text-align: center; }
.sh-ring { position: relative; display: block; }
.sh-ring svg { display: block; width: 78%; margin: 0 auto; transform: rotate(-90deg); }
.sh-ring__bg { fill: rgba(35, 162, 106, 0.08); stroke: var(--line); stroke-width: 3.5; }
.sh-ring__fg { fill: none; stroke: var(--live); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.2s var(--ease); }
.slide.is-active .sh-ring__fg { stroke-dasharray: var(--v) 100; transition-delay: calc(0.5s + var(--i) * 0.2s); }
.sh-ring b { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; display: grid; place-items: center; width: 78%; margin: 0 auto; font-family: var(--display); font-stretch: var(--display-width); font-size: 1.5em; font-weight: 600; color: var(--green); }
.sh-ring small { display: block; margin-top: 0.5em; font-family: var(--mono); font-size: 0.75em; color: var(--ink-3); }
.sh-checklist { right: 5%; top: 40%; width: 40%; }
.sh-check { display: flex; align-items: center; gap: 0.6em; padding: 0.45em 0; border-top: 1px solid var(--line); font-size: 0.95em; }
.sh-check .sh-tick, .sh-ok .sh-tick { transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.slide.is-active .sh-check .sh-tick, .slide.is-active .sh-ok .sh-tick { transform: none; transition-delay: calc(0.9s + var(--n) * 0.3s); }
.sh-deploy {
  left: 9%; bottom: 9%; display: flex; align-items: center; gap: 0.9em; padding: 1em 1.3em; border-radius: 0.9em;
  background: var(--ink); color: var(--paper); box-shadow: 0 1.6em 2.6em -1.4em rgba(17, 18, 16, 0.55);
}
.sh-deploy b { display: block; font-size: 1.1em; font-weight: 600; }
.sh-deploy small { display: block; font-family: var(--mono); font-size: 0.8em; color: var(--on-night-2); }

/* 06 Evolve */
.sh-growth { left: 5%; top: 9%; width: 60%; }
.sh-growth svg { display: block; width: 100%; height: 7.5em; }
.sh-big { font-family: var(--display); font-stretch: var(--display-width); font-size: 2.3em; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.3em; }
.sh-big span { font-family: var(--mono); font-size: 0.4em; letter-spacing: 0; color: var(--green); vertical-align: middle; }
.sh-release { right: 5%; top: 44%; width: 40%; }
.sh-pill { display: inline-block; margin-right: 0.4em; padding: 0.1em 0.5em; border-radius: 999px; background: var(--signal); color: var(--ink); }
.sh-li { padding: 0.4em 0; border-top: 1px solid var(--line); font-size: 0.95em; }
.sh-li::before { content: "+"; margin-right: 0.6em; font-family: var(--mono); color: var(--signal-ink); }
.sh-feedback { right: 6%; bottom: 9%; }
.sh-feedback b { padding: 0.15em 0.6em; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 400; font-size: 0.85em; }
.sh-uptime { left: 9%; bottom: 9%; }

/* Pause / play, for a tour that moves on its own */
.showcase__toggle {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); cursor: pointer;
}
.showcase__toggle span { width: 0.625rem; height: 0.75rem; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.showcase__toggle[data-paused] span { width: 0; height: 0; border: 0.4rem solid transparent; border-left: 0.65rem solid var(--ink); border-right: 0; margin-left: 0.2rem; }
.showcase__toggle:hover { border-color: var(--ink); }

/* The stage rail: the same six stages as the Approach section, grouped by phase. */
.showcase__caption { margin-top: var(--s5); }
.journey { display: grid; grid-template-columns: 2fr 3fr 1fr; gap: var(--s2); }
.journey__phase { min-width: 0; }
.journey__phase-name {
  display: block; margin-bottom: var(--s2);
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.journey__steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s2); }
.journey__step a {
  position: relative; display: block; padding-top: var(--s2); border-top: 2px solid var(--line-strong);
  font-family: var(--mono); font-size: 0.6875rem; line-height: 1.35; letter-spacing: 0.02em; color: var(--ink-3); text-decoration: none;
  transition: color 0.3s ease;
}
.journey__num { display: block; color: var(--ink-3); }
.journey__fill { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--ink); }
.journey__step a:hover { color: var(--ink); }
.showcase[data-ready] .journey__step[data-done] .journey__fill { width: 100%; }
.showcase[data-ready] .journey__step[data-active] a { color: var(--ink); }
.showcase[data-ready] .journey__step[data-active] .journey__num { color: var(--signal-ink); }
.showcase[data-ready] .journey__step[data-active] .journey__fill { width: calc(var(--p, 0) * 100%); background: var(--signal); }
@media (max-width: 39.99rem) {
  .journey__step a { font-size: 0.625rem; }
}

/* ---------- About ---------- */
.about { padding-block: calc(var(--section) * 0.5) var(--section); }
.about__grid { display: grid; gap: var(--s6); }
.about__title { font-size: var(--text-3xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; line-height: 1; }
.about__title span { color: var(--ink-3); }
.about__body { display: grid; gap: var(--s4); align-content: end; color: var(--ink-2); font-size: var(--text-lg); line-height: 1.55; max-width: 36rem; }
@media (min-width: 64rem) { .about__grid { grid-template-columns: 7fr 5fr; gap: var(--s8); } }

.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3rem, 2rem + 4vw, 6rem); border-top: 1px solid var(--ink); }
.facts__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s2); padding: var(--s5) var(--s4) var(--s5) 0; }
.facts__item + .facts__item { padding-left: var(--s4); border-left: 1px solid var(--line); }
.facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
.facts__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
.facts dd { font-size: var(--text-3xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.facts dt { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); max-width: 18ch; }
@media (min-width: 56rem) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts__item:nth-child(3) { border-left: 1px solid var(--line); padding-left: var(--s4); }
  .facts__item:nth-child(n + 3) { border-top: 0; }
}

/* ---------- Capabilities ---------- */
.capabilities { padding-bottom: var(--section); }
.pillar { display: grid; gap: var(--s4) var(--s6); padding-block: var(--s6) var(--s7); border-top: 1px solid var(--line-strong); }
.pillars .pillar:last-child { border-bottom: 1px solid var(--line-strong); }
.pillar__index { font-size: var(--text-2xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--signal-ink); }
.pillar__name { font-family: var(--mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.5; }
.pillar__statement { margin-top: var(--s3); font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.pillar__body { display: grid; gap: var(--s5); align-content: start; color: var(--ink-2); }
.pillar__list { display: grid; border-top: 1px solid var(--line); }
.pillar__list li {
  display: flex; gap: var(--s3); padding-block: 0.625rem; border-bottom: 1px solid var(--line);
  font-size: var(--text-sm); color: var(--ink);
}
.pillar__list li::before { content: "+"; font-family: var(--mono); color: var(--signal-ink); }
.pillar .text-link { justify-self: start; }
@media (min-width: 40rem) { .pillar__list { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
@media (min-width: 64rem) {
  .pillar { grid-template-columns: 5rem 5fr 7fr; gap: var(--s8); }
  .pillar__head { position: sticky; top: calc(var(--header-h) + var(--s5)); align-self: start; }
}

.aside-note {
  display: grid; gap: var(--s3); margin-top: var(--s8);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper-2); border-left: 3px solid var(--signal);
}
.aside-note__label { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-ink); }
.aside-note__title { font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; margin-bottom: var(--s3); }
.aside-note p:not(.aside-note__label) { color: var(--ink-2); max-width: 52rem; }
@media (min-width: 64rem) { .aside-note { grid-template-columns: 5rem 1fr; gap: var(--s8); } }

.section-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5);
  margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--ink);
}
.section-cta p { font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; max-width: 30ch; }

/* ---------- Products showcase (homepage, dark) ---------- */
.accent-cobalt { --product-accent: var(--cobalt); --product-accent-lt: var(--cobalt-lt); }
.accent-green { --product-accent: var(--green); --product-accent-lt: var(--green-lt); }
.accent-ochre { --product-accent: var(--ochre); --product-accent-lt: var(--ochre-lt); }
.accent-slate { --product-accent: var(--slate); --product-accent-lt: var(--slate-lt); }

.products-showcase {
  --focus: var(--signal);
  padding-block: var(--section); background: var(--night); color: var(--on-night);
}
.products-showcase .marker { color: var(--on-night-2); }
.products-showcase .marker::after { background: var(--line-night); }
.products-showcase .section-intro { color: var(--on-night-2); }
.features { display: grid; }
.feature { display: grid; gap: var(--s6); align-items: center; padding-block: var(--s7) var(--s8); border-top: 1px solid var(--line-night); }
.feature__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-night-2);
}
.feature__index { color: var(--signal); }
.feature__name {
  margin-top: var(--s5);
  font-size: var(--text-giant); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95;
}
.feature__positioning { margin-top: var(--s5); font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: var(--product-accent-lt); max-width: 26ch; }
.feature__summary { margin-top: var(--s4); color: var(--on-night-2); max-width: 36rem; }
.feature__caps { display: flex; flex-wrap: wrap; gap: var(--s2); margin-block: var(--s5) var(--s6); }
.feature__caps li {
  padding: 0.25rem 0.625rem; border: 1px solid var(--line-night); border-radius: 999px;
  font-size: 0.8125rem; color: var(--on-night);
}
.feature .text-link { text-decoration-color: var(--product-accent-lt); }
@media (min-width: 64rem) {
  .feature { grid-template-columns: 5fr 7fr; gap: var(--s8); }
  .feature--flip .feature__text { order: 2; }
}
.products-showcase__all { padding-top: var(--s6); border-top: 1px solid var(--line-night); }

/* ---------- Approach: delivery rail ---------- */
.approach { --rail: 2.5rem; --lead: 0rem; padding-block: var(--section); }
.approach__head { display: grid; gap: var(--s5); margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.approach__head .section-intro { margin-top: 0; }
@media (min-width: 64rem) { .approach__head { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: end; } }

.flow { --fill: 0; position: relative; padding-left: var(--lead); }
/* Track and progress fill, centred on the rail column */
.flow::before, .flow::after {
  content: ""; position: absolute; top: 2.1rem; left: calc(var(--lead) + var(--rail) / 2); width: 1px; transform: translateX(-50%);
}
.flow::before { bottom: 0; background: var(--line-strong); }
.flow::after { width: 2px; height: calc(var(--fill) * (100% - 2.1rem)); background: var(--signal); }

.flow__step {
  position: relative; display: grid; grid-template-columns: var(--rail) 1fr; column-gap: var(--s4);
  padding-block: var(--s5) var(--s7);
}
.flow__step::before {
  content: ""; position: absolute; top: 0; right: 0; left: calc(var(--rail) + var(--s4)); height: 1px; background: var(--line);
}
.flow__rail { grid-row: 1 / span 3; display: flex; justify-content: center; padding-top: 0.75rem; }
.flow__node {
  position: relative; z-index: 1; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.flow__num {
  grid-column: 2; font-size: var(--text-2xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 300; letter-spacing: -0.035em; line-height: 1;
  color: var(--line-strong); transition: color 0.4s ease;
}
.flow__head, .flow__body { grid-column: 2; }
.flow__phase {
  margin-block: var(--s3) var(--s2);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-ink);
}
.flow__title { margin-top: var(--s3); font-size: var(--text-2xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; line-height: 1; transition: color 0.4s ease; }
.flow__phase + .flow__title { margin-top: 0; }
.flow__body { margin-top: var(--s4); }
.flow__body > p:first-child { color: var(--ink-2); font-size: var(--text-lg); line-height: 1.55; max-width: 34rem; }
.flow__outputs-label {
  margin-top: var(--s5);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.flow__outputs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.flow__outputs li {
  padding: 0.3rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.8125rem; background: var(--card); transition: border-color 0.4s ease;
}
.flow__note {
  display: inline-flex; gap: var(--s2); margin-top: var(--s5); padding: 0.5rem 0.75rem;
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.02em; color: var(--signal-ink);
  border: 1px dashed var(--signal); border-radius: var(--radius);
}
.flow__note::before { content: "\21B3"; }

/* Scroll state (set by main.js): reached stages light up along the rail. */
.flow[data-ready] .flow__step:not([data-active]) .flow__title { color: var(--ink-3); }
.flow__step[data-active] .flow__node { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 6px rgba(247, 148, 29, 0.2); }
.flow__step[data-active] .flow__num { color: var(--signal-ink); }
.flow__step[data-active] .flow__outputs li { border-color: var(--ink-2); }

.flow__loop {
  display: flex; align-items: center; gap: var(--s4); margin-left: var(--lead);
  padding-top: var(--s5); border-top: 1px solid var(--ink);
  font-size: var(--text-lg); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3;
}
.flow__loop-icon {
  flex: none; display: grid; place-items: center; width: var(--rail); height: var(--rail); border-radius: 50%;
  background: var(--signal); color: var(--ink);
}
.flow__loop-icon::before { content: "\21BB"; font-size: 1.25rem; line-height: 1; }

@media (min-width: 64rem) {
  .approach { --lead: 9rem; }
  .flow__step { grid-template-columns: var(--rail) 7rem 5fr 6fr; column-gap: var(--s5); padding-block: var(--s6) var(--s8); }
  .flow__step::before { left: calc(var(--rail) + var(--s5)); }
  .flow__num { font-size: var(--text-3xl); }
  .flow__head { grid-column: 3; }
  .flow__body { grid-column: 4; margin-top: 0; }
  .flow__phase { position: absolute; top: calc(var(--s6) + 0.6rem); left: calc(var(--lead) * -1); width: 7.5rem; margin: 0; }
  .flow__phase::after { content: ""; display: block; width: 3rem; height: 1px; margin-top: var(--s2); background: var(--signal); }
  .flow__title { margin-top: 0.35rem; }
}

/* ---------- Standards ---------- */
.standards { padding-block: var(--section); background: var(--paper-2); }
.standards .marker::after { background: var(--line-strong); }
.standards__grid { display: grid; gap: var(--s7); }
.spec { border-top: 1px solid var(--ink); }
.spec__row { display: grid; gap: var(--s2); padding-block: var(--s4); border-bottom: 1px solid var(--line-strong); }
.spec dt { font-weight: 600; }
.spec dd { color: var(--ink-2); }
@media (min-width: 40rem) { .spec__row { grid-template-columns: 15rem 1fr; gap: var(--s5); } }
@media (min-width: 64rem) {
  .standards__grid { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: start; }
  .verify { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}

.verify {
  --focus: var(--signal);
  padding: var(--s5); border-radius: var(--radius-l);
  background: var(--night); color: var(--on-night);
  font-family: var(--mono); font-size: 0.875rem;
}
.verify__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2);
  padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--line-night);
  font-size: var(--text-xs); color: var(--on-night-2);
}
.verify__bar span:last-child { color: var(--signal); }
.verify__title { font-size: var(--text-lg); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.02em; margin-bottom: var(--s4); }
.verify__list { display: grid; gap: var(--s2); }
.verify__list li { display: flex; align-items: baseline; gap: var(--s3); }
.verify__ok {
  flex: none; padding: 0 0.375rem; border-radius: 2px;
  font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ok); color: var(--night);
}
.verify__sum {
  display: flex; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-night);
  font-size: var(--text-xs); color: var(--on-night-2);
}
.verify__sum span:first-child { color: var(--ok); }

/* ---------- Why ---------- */
.why { padding-block: var(--section); }
.why__grid { display: grid; border-top: 1px solid var(--ink); }
.why__item { display: grid; gap: var(--s3); align-content: start; padding-block: var(--s5) var(--s6); border-bottom: 1px solid var(--line); }
.why__num { font-size: var(--text-3xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 300; letter-spacing: -0.035em; line-height: 1; color: var(--line-strong); }
.why__item h3 { font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; margin-top: var(--s3); }
.why__item p { color: var(--ink-2); max-width: 36rem; }
@media (min-width: 56rem) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item { padding-right: var(--s7); }
  .why__item:nth-child(2n) { padding-left: var(--s7); padding-right: 0; border-left: 1px solid var(--line); }
}

/* ---------- Engagement ---------- */
.engage { padding-bottom: var(--section); }
.engage__grid { display: grid; gap: var(--s7); }
.engage__intro .button { margin-top: var(--s6); }
.engage__list { border-top: 1px solid var(--ink); }
.engage__item { display: grid; gap: var(--s2); padding-block: var(--s5); border-bottom: 1px solid var(--line); }
.engage__item dt { display: flex; gap: var(--s4); align-items: baseline; font-size: var(--text-lg); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.engage__num { flex: none; width: 2rem; font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.04em; color: var(--signal-ink); }
.engage__item dd { padding-left: calc(2rem + var(--s4)); color: var(--ink-2); }
@media (min-width: 64rem) {
  .engage__grid { grid-template-columns: 5fr 7fr; gap: var(--s8); }
  .engage__intro { position: sticky; top: calc(var(--header-h) + var(--s5)); align-self: start; }
  .engage__item { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .engage__item dd { padding-left: 0; }
}

/* ---------- Contact and form ---------- */
.contact { --focus: var(--ink); padding-block: var(--section); background: var(--signal); color: var(--ink); }
.contact .marker { color: var(--ink); }
.contact .marker::after { background: rgba(17, 18, 16, 0.35); }
.contact__grid { display: grid; gap: var(--s7); }
.contact__title { font-size: var(--text-3xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.035em; line-height: 0.98; }
.contact__intro { margin-top: var(--s5); font-size: var(--text-lg); line-height: 1.55; max-width: 34rem; }
.contact__details { display: grid; margin-block: var(--s6); border-top: 1px solid rgba(17, 18, 16, 0.35); max-width: 30rem; }
.contact__details div { display: grid; grid-template-columns: 5rem 1fr; gap: var(--s3); padding-block: var(--s3); border-bottom: 1px solid rgba(17, 18, 16, 0.35); }
.contact__details dt { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.25rem; }
.contact__details a { font-weight: 600; text-underline-offset: 0.25em; }
.contact .button--secondary:hover { background: var(--ink); color: var(--signal); }
@media (min-width: 64rem) {
  .contact__grid { grid-template-columns: 6fr 6fr; gap: var(--s8); align-items: start; }
  .contact__text { position: sticky; top: calc(var(--header-h) + var(--s6)); }
}

.enquiry {
  --focus: var(--ink);
  display: grid; gap: var(--s5);
  padding: clamp(1.25rem, 0.5rem + 3vw, 2.75rem);
  background: var(--card); border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -30px rgba(80, 40, 0, 0.45);
}
.enquiry__title { font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; }
.enquiry__hint { margin-top: calc(var(--s3) * -1); color: var(--ink-2); font-size: var(--text-sm); }
.enquiry__summary { padding: var(--s4); border: 1px solid var(--error); border-left-width: 4px; color: var(--error); font-size: var(--text-sm); }
.enquiry__summary ul { margin-top: var(--s2); padding-left: var(--s5); list-style: disc; }
.enquiry__summary a { color: inherit; }

.field { display: grid; gap: var(--s2); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field__optional { font-weight: 400; color: var(--ink-3); }
.field__hint { font-size: var(--text-sm); color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.875rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field select {
  appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111210' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--signal);
}
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { font-size: var(--text-sm); color: var(--error); font-weight: 500; }
.field__error:empty { display: none; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.enquiry__more { border-top: 1px solid var(--line); padding-top: var(--s4); }
.enquiry__more summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; width: fit-content; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.enquiry__more-fields { display: grid; gap: var(--s5); margin-top: var(--s4); }
@media (min-width: 40rem) { .enquiry__more-fields { grid-template-columns: 1fr 1fr; } }
.enquiry__privacy { font-size: var(--text-sm); color: var(--ink-3); }
.enquiry__privacy a { color: var(--ink); text-underline-offset: 0.2em; }
.enquiry__submit { justify-self: stretch; }
@media (min-width: 40rem) { .enquiry__submit { justify-self: start; min-width: 12rem; } }
.enquiry__status { font-size: var(--text-sm); font-weight: 500; }
.enquiry__status:empty { display: none; }
.enquiry__status[data-state="error"] { color: var(--error); }

.enquiry--done { align-content: start; }
.enquiry__done-title { font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; }
.enquiry__done-title::before { content: ""; display: block; width: 2.5rem; height: 3px; margin-bottom: var(--s4); background: var(--signal); }
.enquiry__done p { margin-top: var(--s3); color: var(--ink-2); }

/* ---------- Page heroes (listing, simple pages) ---------- */
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3);
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--s2); color: var(--line-strong); }
.crumbs a { color: var(--ink-3); text-underline-offset: 0.25em; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.page-hero { padding-block: clamp(2.5rem, 1rem + 4vw, 5rem) var(--s8); }
.page-hero__title { font-size: var(--text-3xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.035em; line-height: 1; max-width: 20ch; }
.page-hero__lead { margin-top: var(--s5); font-size: var(--text-lg); color: var(--ink-2); max-width: 40rem; }
.page-hero--plain { padding-bottom: var(--section); }
.page-hero .actions { margin-top: var(--s6); }

.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line-strong); font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.025em; }
.prose p { margin-top: var(--s4); color: var(--ink-2); }
.prose .page-hero__lead { margin-top: var(--s5); }
.prose a { text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* ---------- Products listing ---------- */
.product-list { padding-bottom: var(--section); }
.product-list__items { border-top: 1px solid var(--ink); }
.product-row { display: grid; gap: var(--s6); align-items: center; padding-block: var(--s7); border-bottom: 1px solid var(--line-strong); }
.product-row .feature__meta { color: var(--ink-3); }
.product-row .feature__index { color: var(--signal-ink); }
.product-row__name { margin-top: var(--s4); font-size: var(--text-giant); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95; }
.product-row__name a { text-decoration: none; }
.product-row__name a:hover { color: var(--product-accent); }
.product-row__positioning { margin-block: var(--s4) var(--s3); font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: var(--product-accent); max-width: 26ch; }
.product-row__text > p:not([class]) { color: var(--ink-2); max-width: 36rem; }
.product-row .text-link { margin-top: var(--s5); }
@media (min-width: 64rem) { .product-row { grid-template-columns: 5fr 7fr; gap: var(--s8); } }

/* ---------- Product detail ---------- */
.product-hero { padding-top: clamp(2.5rem, 1rem + 4vw, 5rem); }
.product-hero__text { display: grid; }
.product-hero .feature__meta { color: var(--ink-3); }
.product-hero__title { margin-top: var(--s4); font-size: var(--text-giant); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95; }
.product-hero__positioning { margin-top: var(--s6); font-size: var(--text-2xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; max-width: 22ch; }
.product-hero__summary { margin-top: var(--s5); font-size: var(--text-lg); color: var(--ink-2); max-width: 38rem; }
.product-hero .actions { margin-top: var(--s6); }
.product-hero__media { margin-top: var(--s8); }
.product-hero__media figcaption, .gallery figcaption {
  margin-top: var(--s3); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.02em; color: var(--ink-3);
}
@media (min-width: 64rem) {
  .product-hero__text {
    grid-template-columns: 6fr 5fr; column-gap: var(--s8);
    grid-template-areas: "crumbs crumbs" "meta meta" "title title" "pos summary" "pos actions";
  }
  .product-hero__text .crumbs { grid-area: crumbs; }
  .product-hero__text .feature__meta { grid-area: meta; }
  .product-hero__title { grid-area: title; }
  .product-hero__positioning { grid-area: pos; }
  .product-hero__summary { grid-area: summary; margin-top: var(--s6); }
  .product-hero__text .actions { grid-area: actions; align-self: start; }
}

.product-story { padding-block: var(--section); }
.product-story__grid { display: grid; gap: var(--s7); }
.product-story__item { padding-top: var(--s5); border-top: 2px dashed var(--line-strong); }
.product-story__item--after { border-top: 2px solid var(--signal); }
.product-story__label { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.product-story__item--after .product-story__label { color: var(--signal-ink); }
.product-story__title { margin-block: var(--s3) var(--s4); font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; }
.product-story__item > p:last-child { color: var(--ink-2); font-size: var(--text-lg); line-height: 1.6; }
@media (min-width: 56rem) { .product-story__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

.product-caps { padding-block: var(--section); background: var(--paper-2); }
.caps { display: grid; margin-top: var(--s7); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.cap { display: grid; gap: var(--s2); align-content: start; padding: var(--s5); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cap__num { font-family: var(--mono); font-size: var(--text-xs); color: var(--signal-ink); }
.cap__title { margin-top: var(--s3); font-size: var(--text-lg); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.02em; }
.cap p { color: var(--ink-2); font-size: var(--text-sm); }
.product-caps__planned { margin-top: var(--s8); font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); }
.caps--planned, .caps--planned .cap { border-style: dashed; }
.caps--planned .cap__num { color: var(--ink-3); }
@media (min-width: 40rem) { .caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .caps { grid-template-columns: repeat(3, 1fr); } }

.gallery { padding-block: var(--section); }
.gallery__grid { display: grid; gap: var(--s7) var(--s6); margin-top: var(--s7); }
@media (min-width: 56rem) { .gallery__grid { grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr)); } }

.product-foot { padding-bottom: var(--s7); }
.product-foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--line-strong); color: var(--ink-2); }
.product-foot__inner p a { font-weight: 600; color: var(--ink); text-underline-offset: 0.25em; }

.prompt { --focus: var(--signal); padding-block: var(--section); background: var(--night); color: var(--on-night); }
.prompt__inner { display: grid; gap: var(--s6); justify-items: start; }
.prompt__title { font-size: var(--text-2xl); font-family: var(--display); font-stretch: var(--display-width); letter-spacing: -0.03em; line-height: 1.02; max-width: 24ch; }
.prompt .button--primary { background: var(--signal); color: var(--ink); }
.prompt .button--primary:hover { background: var(--on-night); }
@media (min-width: 64rem) { .prompt__inner { grid-template-columns: 1fr auto; align-items: end; gap: var(--s8); } }

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--s8); background: var(--paper-2); color: var(--ink-2); font-size: var(--text-sm); border-top: 1px solid var(--line); }
.site-footer__top { display: grid; gap: var(--s5); align-items: end; }
.site-footer__statement { font-size: var(--text-xl); font-family: var(--display); font-stretch: var(--display-width); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); max-width: 30ch; }
@media (min-width: 64rem) { .site-footer__top { grid-template-columns: 5fr 7fr; gap: var(--s8); } }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); margin-top: var(--s8); padding-block: var(--s6) var(--s7); border-top: 1px solid var(--ink); }
.site-footer__heading { margin-bottom: var(--s3); font-family: var(--mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.site-footer__col ul { display: grid; gap: var(--s2); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  padding-block: var(--s5); border-top: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.02em;
}
@media (min-width: 56rem) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .enquiry, .prompt, .showcase { display: none; }
  .products-showcase, .contact, .verify { background: none; color: #000; }
  .feature__positioning, .feature__summary, .products-showcase .section-intro { color: #000; }
}
