/* ==========================================================================
   cidrus — dream movers
   Plain CSS, no build step. Sections follow the order of index.html.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, SIL Open Font License; see fonts/) ---------- */
@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Geist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Geist-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Geist-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/GeistMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/GeistMono-Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/GeistMono-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); }

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --ink: #050505;
  --ink-2: #0a0a0a;
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --zinc: #71717a;
  --sun: #FF8C52;
  --ember: #e8833a;
  --signal: #7cffb2;

  /* type: Geist for display, UI and reading, Geist Mono for labels,
     Instrument Serif italic for the accent word ("today") */
  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --display-weight: 500;
  --display-track: -0.055em;
  --font-accent: var(--font-serif);
  --accent-style: italic;
  --accent-scale: 1.12;
  --accent-track: -0.02em;

  /* studio ease: fast start, long gentle settle */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shell: 1140px;
  --gutter: 16px;

  /* type scale: everything hangs off the body size (a plain number, in px) and
     a ratio per step: headings = body × ratio */
  --fs-n: 16.5;
  --r-lead: 1.26;
  --r-m: 3.15;
  --r-l: 5.33;
  --r-xl: 7.76;
  --fs-label-n: 11;
  --fs-body: calc(var(--fs-n) * 1px);
  --fs-body-s: calc(var(--fs-body) - 1px);
  --fs-label: calc(var(--fs-label-n) * 1px);
  --display-xl: clamp(3.5rem, calc(var(--fs-n) * var(--r-xl) * 0.0703vw), calc(var(--fs-body) * var(--r-xl)));
  --display-l: clamp(2.75rem, calc(var(--fs-n) * var(--r-l) * 0.0796vw), calc(var(--fs-body) * var(--r-l)));
  --display-m: clamp(2rem, calc(var(--fs-n) * var(--r-m) * 0.0808vw), calc(var(--fs-body) * var(--r-m)));
  --lead: clamp(calc(var(--fs-body) * 1.09), calc(var(--fs-n) * var(--r-lead) * 0.0722vw), calc(var(--fs-body) * var(--r-lead)));

  color-scheme: light;
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}
/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: calc(var(--fs-body) - 0.5px);
  line-height: 1.5;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
svg { display: block; }

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

/* one consistent, highly visible focus ring */
:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 8px 16px; border-radius: 999px;
  background: var(--sun); color: var(--ink);
  font: 500 12px var(--font-mono);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 3. Layout primitives ----------------------------------------- */
.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* the base rule above already caps content at --shell with a gutter either side, so no override at wider widths */

.section-pad { padding: 96px 0; }
@media (min-width: 640px) { .section-pad { padding: 128px 0; } }
@media (min-width: 1024px) { .section-pad { padding: 160px 0; } }

/* 12-column grid from 1024px; stacks below */
.grid { display: grid; row-gap: 64px; }
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-5-end { grid-column: 8 / span 5; }
  .col-4-end { grid-column: 9 / span 4; }
}

.rel { position: relative; }
.theme-dark { background: var(--ink); color: var(--paper); }
.theme-dark-2 { background: var(--ink-2); color: var(--paper); }
.theme-paper-2 { background: var(--paper-2); }

/* ---------- 4. Type ------------------------------------------------------ */
.display-xl { font-size: var(--display-xl); line-height: 0.86; letter-spacing: var(--display-track); font-weight: var(--display-weight); }
.display-l { font-size: var(--display-l); line-height: 0.95; letter-spacing: var(--display-track); font-weight: var(--display-weight); }
.display-m { font-size: var(--display-m); line-height: 1; letter-spacing: var(--display-track); font-weight: var(--display-weight); }
/* every headline and every piece of UI speaks in the display face; the logo is an SVG and stays as is */
h1, h2, h3, .display-xl, .display-l, .display-m, .btn, .chip-btn, .dock__links a, .mobile-menu a, .paperstage__title { font-family: var(--font-display); font-synthesis: none; }
.lead { font-size: var(--lead); line-height: 1.55; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }
.muted { opacity: 0.6; }
.sun { color: var(--sun); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* "01 —— label" */

/* ---------- 5. Icons + buttons ------------------------------------------- */
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 12px; height: 12px; }
.i--md { width: 14px; height: 14px; }
.i--lg { width: 20px; height: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn__inner { display: inline-flex; align-items: center; gap: 8px; will-change: transform; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sun); color: var(--ink); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--ink); color: var(--sun); }
.btn--lg { height: 48px; padding: 0 24px; font-size: 14px; }

.chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 999px;
  font: var(--fs-label) var(--font-mono);
  color: var(--ink);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--sun); }
.chip-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--sun); }

/* live status dot */
.status-dot { position: relative; display: inline-flex; width: 8px; height: 8px; flex: none; }
.status-dot::before,
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--signal); }
.status-dot::before { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; opacity: 0.6; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* ---------- 6. Reveal + rise --------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(var(--d, 0s) * 0.6);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.rise__word { display: inline-block; overflow: hidden; padding-bottom: 0.08em; vertical-align: bottom; }
.rise__inner {
  display: inline-block;
  transform: translateY(110%);
  filter: blur(6px);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  transition-delay: calc(var(--d, 0s) * 0.6);
}
[data-rise].is-in .rise__inner { transform: none; filter: blur(0); }

/* the page hero is above the fold: reveal it with CSS so it never waits for JavaScript (keeps the first paint fast) */
.page-hero [data-reveal] { animation: hero-in 0.9s var(--ease) calc(var(--d, 0s) * 0.6) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* before JS runs, show everything (no-JS safety) */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) .rise__inner { transform: none; filter: none; }

/* ---------- 7. Dock ------------------------------------------------------ */
.dock-wrap {
  position: fixed; inset: 16px 0 auto; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.dock {
  pointer-events: auto;
  width: 100%; max-width: var(--shell);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(5, 5, 5, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--ink);
  transform: translateY(-96px);
  transition: background-color 0.5s, border-color 0.5s, color 0.5s;
  animation: dock-in 1s var(--ease) 0.2s forwards;
}
@keyframes dock-in { to { transform: none; } }
.dock.is-dark { border-color: rgba(255, 255, 255, 0.1); background: rgba(5, 5, 5, 0.6); color: var(--paper); }

.dock__logo svg { height: 18px; width: auto; color: var(--ink); transition: color 0.5s; }
.dock.is-dark .dock__logo svg { color: var(--sun); }

.dock__links { display: none; align-items: center; gap: 4px; }
@media (min-width: 768px) { .dock__links { display: flex; } }
.dock__links a {
  padding: 6px 12px; border-radius: 999px;
  font: var(--fs-label) var(--font-mono); text-transform: lowercase; letter-spacing: 0.025em;
  color: rgba(5, 5, 5, 0.55);
  transition: color 0.3s;
}
.dock__links a:hover { color: var(--ink); }
.dock.is-dark .dock__links a { color: rgba(255, 255, 255, 0.6); }
.dock.is-dark .dock__links a:hover { color: var(--paper); }

.dock__actions { display: flex; align-items: center; gap: 8px; }
.dock__cta { height: 36px; padding: 0 16px; font-size: 13px; }
.dock.is-dark .dock__cta { background: var(--sun); color: var(--ink); }

.dock__burger { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; }
@media (min-width: 768px) { .dock__burger { display: none; } }
.dock__burger .i-close { display: none; }
.dock__burger[aria-expanded="true"] .i-open { display: none; }
.dock__burger[aria-expanded="true"] .i-close { display: block; }

.mobile-menu {
  pointer-events: auto;
  position: absolute; left: 16px; right: 16px; top: 64px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(5, 5, 5, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--paper);
  opacity: 0; transform: translateY(-12px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
@media (min-width: 768px) { .mobile-menu { display: none; } }
.mobile-menu a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 24px; letter-spacing: -0.025em;
}
.mobile-menu a span { font: var(--fs-label) var(--font-mono); color: var(--sun); }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: 128px 0 80px; }
@media (min-width: 640px) { .hero { padding-top: 160px; } }
/* the two columns share a bottom line: the buttons, and the status + pause under the world */
@media (min-width: 1024px) { .hero { padding-bottom: 112px; } .hero .grid { align-items: end; } }

.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; color: var(--zinc); opacity: 0; animation: fade-in 1s 0.3s forwards; }
@keyframes fade-in { to { opacity: 1; } }

.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line__in { display: block; transform: translateY(105%); animation: line-up 0.8s var(--ease) forwards; animation-delay: var(--d); }
.hero__title .line--accent .line__in { color: var(--sun); }
@keyframes line-up { to { transform: none; } }

.hero__sub { opacity: 0; transform: translateY(16px); animation: sub-in 1s var(--ease) 0.75s forwards; }
@keyframes sub-in { to { opacity: 1; transform: none; } }
.hero__sub p { max-width: 28rem; margin-top: 40px; color: rgba(5, 5, 5, 0.6); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }

/* Crafty studio: an accent colour, a hand-drawn underline */

.hero__head { position: relative; font-size: var(--display-xl); }
.hero__title .line--accent .line__in { font-family: var(--font-accent); font-style: var(--accent-style); font-weight: 400; letter-spacing: var(--accent-track); font-size: calc(var(--accent-scale) * 1em); line-height: 0.86; }
.hero__squiggle { position: absolute; left: 0.04em; bottom: -0.16em; width: 2.95em; height: 0.24em; overflow: visible; }
.hero__squiggle path { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; opacity: 0.85; }
/* single-column hero (phones and tablets): everything centred, the underline under the centred word */
@media (max-width: 1023px) {
  .hero__copy { text-align: center; }
  .hero__squiggle { left: 50%; transform: translateX(-50%); }
  .hero__sub p { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__mark { white-space: nowrap; }
}

.hero__mark {
  color: inherit; padding: 0 0.15em; margin: 0 -0.05em;
  background: linear-gradient(100deg, transparent 2%, rgba(255, 140, 82, 0.28) 6%, rgba(255, 140, 82, 0.22) 92%, transparent 98%);
  border-radius: 0.3em 0.15em 0.35em 0.2em;
}

/* "always building": a small live-status line, its dot breathing like a recording light */
.build-status { display: inline-flex; align-items: center; gap: 8px; font: calc(var(--fs-label) + 1px) var(--font-mono); color: var(--zinc); }
.build-status__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); animation: build-pulse 2.4s ease-in-out infinite; }
@keyframes build-pulse { 50% { opacity: 0.25; transform: scale(0.7); } }
@media (prefers-reduced-motion: reduce) { .build-status__dot { animation: none; } }
/* centred on the 48px button row beside it: 24px up from the shared bottom line */
/* tucked beside the pause button on the right, on the same line as the buttons */
.voyage__canvas > .build-status { position: absolute; right: 46px; bottom: 16px; z-index: 2; }
.hero__foot .build-status { margin-bottom: 12px; }

/* Scroll cue (js/scrollcue.js): a small pill that fades in at the bottom when the visitor idles at the top */
.scroll-cue {
  position: fixed; left: 50%; bottom: 28px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border: 1px solid rgba(5, 5, 5, 0.08); border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -12px rgba(5, 5, 5, 0.25);
  font: calc(var(--fs-label) + 1px) var(--font-mono); color: var(--zinc);
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.scroll-cue.is-shown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
/* v2's hero fills the screen and its buttons sit bottom-centre, so the cue waits in the empty bottom-left corner */
body:has(.hero--center) .scroll-cue { left: var(--gutter); transform: translate(0, 10px); }
body:has(.hero--center) .scroll-cue.is-shown { transform: translate(0, 0); }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue__mouse { position: relative; width: 12px; height: 18px; border: 1.5px solid currentColor; border-radius: 7px; }
.scroll-cue__dot { position: absolute; left: 50%; top: 3px; width: 3px; height: 4px; margin-left: -1.5px; border-radius: 2px; background: var(--sun); animation: cue-drift 1.8s var(--ease) infinite; }
@keyframes cue-drift { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(6px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue__dot { animation: none; } .scroll-cue { transition: opacity 0.3s; } }

/* a quiet pause control tucked in the scene's corner */
.masons__controls { position: absolute; right: 0; bottom: 7px; z-index: 2; }
.masons__controls .js-pause { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; opacity: 0.55; transition: opacity 0.3s, background-color 0.3s, color 0.3s; }
.masons__controls .js-pause:hover, .masons__controls .js-pause:focus-visible, .masons__controls .js-pause[aria-pressed="true"] { opacity: 1; }

/* Centred hero (from the retired v2 layout, unused on these pages; safe to prune): the world on a paper stage */
.hero--center { display: flex; flex-direction: column; min-height: 100svh; padding: 88px 0 28px; }
@media (min-width: 640px) { .hero--center { padding-top: 96px; } }
/* the stage takes whatever the first screen has left after the dock and the copy */
.paperstage { position: relative; flex: 1; min-height: 320px; max-height: 920px; perspective: 1400px; }
.paperstage > [data-depth] { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }

/* the headline, flat and legible, behind the world; sized by whichever is tighter, width or height */
.paperstage__title {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 5% 0 2.5%; pointer-events: none;
  font-size: min(15vw, 17svh); line-height: 0.86; letter-spacing: var(--display-track); font-weight: var(--display-weight);
  color: var(--ink);
}
.paperstage__line { display: block; opacity: 0; animation: paper-up 1.2s var(--ease) forwards; }
.paperstage__line:first-child { animation-delay: 0.15s; }
.paperstage__line--low { animation-delay: 0.3s; }

/* each word is its own cut piece: a slight tilt here, its own drift in js/paperstage.js */
.paperstage__title .w { display: inline-block; will-change: transform; }
.w--we { rotate: -2.5deg; }
.w--build { rotate: 1.2deg; translate: 0 0.03em; }
.w--your { rotate: 1.8deg; }
.w--dreams { rotate: -1.5deg; translate: 0 -0.04em; }
/* the back copy lies flat on the page; the front copy is lifted, so it throws a shadow onto the world */
.paperstage__title:not(.paperstage__title--front) .w { filter: drop-shadow(0 2px 1px rgba(40, 28, 10, 0.1)); }
.paperstage__title--front .w { visibility: hidden; }
.paperstage__title--front .w--build { visibility: visible; filter: drop-shadow(0 6px 6px rgba(40, 28, 10, 0.16)); }
.paperstage__title--front .w--your,
.paperstage__title--front .w--dreams .w-rest { visibility: visible; clip-path: inset(24% -20% -30% -20%); filter: drop-shadow(0 -4px 6px rgba(40, 28, 10, 0.16)); }
/* the tall "d" stands wholly in front, so the island tucks in behind its ascender */
.paperstage__title--front .w--dreams .w-d { visibility: visible; filter: drop-shadow(0 -4px 6px rgba(40, 28, 10, 0.16)); }
.w--dreams .w-d, .w--dreams .w-rest { display: inline-block; }
.paperstage__title em {
  font-family: var(--font-accent); font-style: var(--accent-style); font-weight: 400; letter-spacing: var(--accent-track); font-size: calc(var(--accent-scale) * 1em);
  color: var(--sun);
}
@keyframes paper-up { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }

.hero--center .voyage__canvas { position: absolute; inset: 0; aspect-ratio: auto; }
.hero--center .masons__gl { left: 0; top: 0; width: 100%; height: 100%; }

/* the banner link: invisible until the crew holds the cloth up, then laid exactly over it */
.world-cta {
  position: absolute; left: 50%; top: 82%; width: 1px; height: 1px; z-index: 3;
  overflow: hidden; color: transparent; font-size: 1px; border-radius: 4px;
  pointer-events: none;
}
.world-cta.is-up { pointer-events: auto; cursor: pointer; }
.world-cta:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }
.world-cta-touch { display: none; }
@media (hover: none) { .world-cta { display: none; } .world-cta-touch { display: inline-flex; } }

/* loose paper in front of everything, drifting fastest */
.paperstage__front { pointer-events: none; }
.scrap { position: absolute; overflow: visible; filter: drop-shadow(0 6px 8px rgba(60, 40, 20, 0.14)); }
.scrap path, .scrap circle { stroke: none; }
.scrap--leaf { left: 7%; top: 30%; width: clamp(28px, 3.4vw, 46px); transform: rotate(-18deg); fill: #8cc46c; }
.scrap--leaf-2 { left: auto; right: 8%; top: 58%; width: clamp(22px, 2.6vw, 36px); transform: rotate(152deg); fill: #76b45e; }
.scrap__vein { fill: none; stroke: rgba(255, 255, 255, 0.45) !important; stroke-width: 1.2; }
.scrap--tri { right: 12%; top: 26%; width: clamp(20px, 2.4vw, 30px); transform: rotate(14deg); fill: var(--paper-2); }
.scrap--tri path { fill: #e2b13c; }
.scrap--dot { left: 15%; bottom: 26%; width: clamp(10px, 1.2vw, 15px); fill: #f08a64; }
.scrap--strip { right: 20%; bottom: 24%; width: clamp(44px, 5vw, 72px); transform: rotate(-8deg); fill: #eac2b0; }

.hero__foot { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 16px; position: relative; z-index: 2; }
.hero__foot .lead { max-width: 34rem; font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: rgba(5, 5, 5, 0.6); }
.hero__foot-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; }


/* the headline's last word: "today" (html.say-today on index.html); "dreams" is kept as the fallback */
.word-today { display: none; }
html.say-today .word-today { display: inline; }
html.say-today .word-dreams { display: none; }
/* the underline follows the shorter word */
html.say-today .hero__squiggle { width: 2.45em; }
/* v2 front copy: "today" stands wholly in front, like the "d" of "dreams" */
.paperstage__title--front .w--dreams .word-today { visibility: visible; filter: drop-shadow(0 -4px 6px rgba(40, 28, 10, 0.16)); }

.dock__cta { white-space: nowrap; }

/* Dream Voyage */
.voyage__canvas { position: relative; aspect-ratio: 1; width: 100%; }
.voyage__canvas > svg { width: 100%; height: 100%; overflow: visible; }
/* the island floats free of the column: a larger, transparent canvas centred on it */
.masons__gl { position: absolute; left: -11%; top: -17%; width: 122%; height: 122%; display: block; pointer-events: none; }
.voyage__caption {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: var(--fs-label) var(--font-mono); color: var(--zinc);
}
.voyage__phase { flex: none; white-space: nowrap; }
.voyage__phase b { font-weight: 400; color: var(--ink); }
.voyage__track { position: relative; flex: 1; height: 1px; overflow: hidden; background: rgba(5, 5, 5, 0.1); }
.voyage__bar { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: rgba(5, 5, 5, 0.6); }
.voyage__controls { display: flex; flex: none; align-items: center; gap: 8px; }
.voyage__controls .js-full[hidden] { display: none; }
.voyage__controls .i-play { display: none; }
.js-pause[aria-pressed="true"] .i-play { display: block; }
.js-pause[aria-pressed="true"] .i-pause { display: none; }

.voyage-in { opacity: 0; animation: voyage-in 1.2s var(--ease) 0.6s forwards; }
@keyframes voyage-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.sun-in { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: sun-in 1.3s var(--ease) 0.25s forwards; }
@keyframes sun-in { to { transform: none; } }
.draw-in { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0s) * 0.6); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.spin { transform-box: view-box; transform-origin: 0 0; animation: spin var(--dur, 30s) linear infinite; }
.spin--rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.twinkle { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 50% { opacity: 0.15; } }
.is-paused .spin,
.is-paused .twinkle { animation-play-state: paused; }

/* ---------- 9. Dreamer character ----------------------------------------- */
.d-root { transform-box: fill-box; transform-origin: 50% 100%; }
.d-lean { transform-box: view-box; transform-origin: 0 0; transition: transform 0.4s var(--ease); }
.leg { transform-box: view-box; transition: transform 0.3s var(--ease); }
.d-breath { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; animation-delay: var(--seed-b, 0s); }
.mood-sleep .d-breath { animation-duration: 4.6s; }
@keyframes breathe { 50% { transform: scale(1.015, 1.035); } }
.d-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.2s infinite; animation-delay: var(--seed-e, 0s); }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }

.d-closed, .d-arms-push, .d-arm-wave { display: none; }
.mood-sleep .d-eyes { display: none; }
.mood-sleep .d-closed { display: inline; }
.mood-push .d-arms-push { display: inline; }
.mood-wave .d-arm-wave { display: inline; }
.d-arm-wave { transform-box: fill-box; transform-origin: 0 100%; animation: wave 2s ease-in-out infinite; }
@keyframes wave { 0%, 100%, 70% { transform: rotate(0); } 17.5%, 52.5% { transform: rotate(-28deg); } 35% { transform: rotate(0); } }

/* walk / push cycle: legs swing about the hip, the body bobs */
.mood-walk .leg-l, .mood-push .leg-l { animation: stride var(--pace, 0.5s) ease-in-out infinite; }
.mood-walk .leg-r, .mood-push .leg-r { animation: stride var(--pace, 0.5s) ease-in-out infinite; animation-delay: calc(var(--pace, 0.5s) / -2); }
@keyframes stride { 0%, 100% { transform: rotate(var(--swing, 26deg)); } 50% { transform: rotate(calc(var(--swing, 26deg) * -1)); } }
.mood-walk .d-lean { animation: bob-walk calc(var(--pace, 0.5s) / 2) ease-in-out infinite alternate; }
.mood-push .d-lean { animation: bob-push calc(var(--pace, 0.5s) / 2) ease-in-out infinite alternate; }
@keyframes bob-walk { from { transform: rotate(4deg) translateY(0); } to { transform: rotate(4deg) translateY(var(--bob, -2px)); } }
@keyframes bob-push { from { transform: rotate(12deg) translateY(0); } to { transform: rotate(12deg) translateY(var(--bob, -2px)); } }

/* seated: legs dangle and swing */
.is-seated .leg-l { animation: dangle 2.4s ease-in-out infinite; animation-delay: var(--seed-l, 0s); }
.is-seated .leg-r { animation: dangle 2.4s ease-in-out infinite; animation-delay: calc(var(--seed-l, 0s) - 1.2s); }
@keyframes dangle { 50% { transform: rotate(-24deg); } }

.zzz text { transform-box: fill-box; animation: zzz 3s ease-out infinite; opacity: 0; }
.zzz text:nth-child(2) { animation-delay: 1s; }
.zzz text:nth-child(3) { animation-delay: 2s; }
@keyframes zzz {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(14px, -34px) scale(1.15); }
}

/* ---------- 10. Dream field (floating background particles) -------------- */
.dreamfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dreamfield__plane { position: absolute; inset: 0; will-change: transform; }
.dreamfield__p { position: absolute; display: block; animation: float 7s ease-in-out infinite; }
.dreamfield__p svg { width: 100%; height: 100%; }
@keyframes float { 50% { transform: translate3d(0, -10px, 0); } }

/* ---------- 11. About ---------------------------------------------------- */
.about { overflow-x: clip; } /* the crew canvas overhangs its column; don't let it widen the page on phones */
.about .grid { align-items: center; }
/* the dancing crew leads on the left, the words sit on the right */
@media (min-width: 1024px) {
  .about .grid > .dance { grid-column: 1 / span 5; grid-row: 1; }
  .about .grid > .col-6 { grid-column: 7 / span 6; grid-row: 1; }
}
.about__body { max-width: 34rem; margin-top: 40px; font-size: var(--fs-body); line-height: 1.75; color: rgba(5, 5, 5, 0.65); }
.about__body p + p { margin-top: 24px; }
.about__body strong { font-weight: 600; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 34rem; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(5, 5, 5, 0.1); }
.stats dt { color: var(--zinc); }
.stats dd { margin-top: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.025em; }
/* on the home page the numbers come first, right under the heading, ruled off from the paragraphs below */
.about h2 + .stats { margin-top: 32px; padding: 0 0 24px; border-top: 0; border-bottom: 1px solid rgba(5, 5, 5, 0.1); }
.orbit-art { aspect-ratio: 1; width: 100%; }
/* About: the dancing crew; the canvas overhangs its column a little so hats never clip */
.dance { position: relative; aspect-ratio: 1; width: 100%; }
.dance__gl { position: absolute; inset: -8%; width: 116%; height: 116%; display: block; }
.dance__pause { position: absolute; right: 0; bottom: 0; z-index: 2; width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; opacity: 0.55; transition: opacity 0.3s, background-color 0.3s, color 0.3s; }
.dance__pause:hover, .dance__pause:focus-visible, .dance__pause[aria-pressed="true"] { opacity: 1; }
.dance__tag { position: absolute; z-index: 3; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font: calc(var(--fs-label) + 1px) var(--font-mono); white-space: nowrap; pointer-events: none; }
.dance__tag[hidden] { display: none; }
.dance__pause .i-play { display: none; }
.dance__pause[aria-pressed="true"] .i-play { display: block; }
.dance__pause[aria-pressed="true"] .i-pause { display: none; }
.orbit-art svg { width: 100%; height: 100%; overflow: visible; }
.orbit-system { transform-box: view-box; transform-origin: 0 0; }

/* ---------- 12. Section rise (dark card setting down) -------------------- */
.rise-card { transform-origin: top; overflow: hidden; overflow: clip; will-change: transform; }

/* ---------- 13. Capabilities --------------------------------------------- */
.caps__head { display: grid; row-gap: 24px; align-items: center; }
@media (min-width: 1024px) {
  .caps__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; }
  .caps__head > :first-child { grid-column: span 7; }
  .caps__head > :last-child { grid-column: 8 / span 5; }
  /* the heading block and the sculptor sit side by side as one compact header */
  #capabilities.section-pad { padding-top: 96px; }
}
.caps__intro { color: rgba(255, 255, 255, 0.55); }
.caps__list { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
/* the sculptor's stage sits beside the heading; the rows below stay full width */
.caps__intro { margin-top: 24px; max-width: 30rem; }
.studio { position: relative; width: 100%; max-width: 360px; aspect-ratio: 3 / 2; justify-self: center; }
@media (min-width: 1024px) { .studio { justify-self: end; } }
.studio__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.studio__pause { position: absolute; right: 0; bottom: 0; z-index: 2; width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; color: var(--paper); border-color: rgba(255, 255, 255, 0.2); opacity: 0.55; transition: opacity 0.3s; }
.studio__pause:hover, .studio__pause:focus-visible, .studio__pause[aria-pressed="true"] { opacity: 1; }
.studio__pause .i-play { display: none; }
.studio__pause[aria-pressed="true"] .i-play { display: block; }
.studio__pause[aria-pressed="true"] .i-pause { display: none; }
#capabilities:not(.has-studio) .studio { display: none; }
#capabilities.has-studio .cap__glyph { display: none; }
/* the way on to the full capabilities page, centred under the rows */
.caps__more { display: flex; justify-content: center; margin-top: 56px; }

.cap { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.cap__row {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 16px;
  width: 100%; padding: 32px 0; text-align: left;
}
@media (min-width: 640px) { .cap__row { grid-template-columns: 5rem 1fr auto; } }
@media (min-width: 1024px) { .cap__row { padding: 40px 0; } }
.cap__n { display: block; color: rgba(255, 255, 255, 0.35); transition: color 0.5s; }
.cap__n svg { width: 22px; height: 22px; }
.cap__title {
  font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.4); transition: color 0.5s;
}
.cap__row:hover .cap__title { color: rgba(255, 255, 255, 0.7); }
.cap__plus { color: rgba(255, 255, 255, 0.4); transition: transform 0.5s var(--ease), color 0.5s; }
.cap.is-active .cap__n { color: var(--sun); }
.cap.is-active .cap__title { color: var(--paper); }
.cap.is-active .cap__plus { transform: rotate(45deg); color: var(--sun); }

.cap__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.45s var(--ease), opacity 0.45s var(--ease); }
.cap.is-active .cap__body { grid-template-rows: 1fr; opacity: 1; }
.cap__body > div { overflow: hidden; }
.cap__inner { display: grid; grid-template-columns: 3rem 1fr; gap: 16px; padding-bottom: 40px; }
@media (min-width: 640px) { .cap__inner { grid-template-columns: 5rem 1fr auto; align-items: center; } }
.cap__inner p { max-width: 36rem; font-size: var(--fs-body); line-height: 1.625; color: rgba(255, 255, 255, 0.6); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 4px 12px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: rgba(255, 255, 255, 0.6); }
.cap__glyph { display: none; padding-right: 8px; color: var(--paper); }
@media (min-width: 640px) { .cap__glyph { display: block; } }
.cap__glyph svg { width: 120px; height: 72px; overflow: visible; }

/* vignette 01 — the idea pops once the Dreamer has scanned the horizon */
.vig-idea { transform-box: fill-box; transform-origin: center; transform: scale(0.3); opacity: 0.25; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
.cap.is-active .vig-idea, .vig-on .vig-idea { transform: none; opacity: 1; transition-delay: 1.2s; }
.cap.is-active .vig-scan .d-pupils, .vig-on .vig-scan .d-pupils { animation: scan 1.4s ease-in-out forwards; }
@keyframes scan { 0% { transform: translate(0, 0); } 25% { transform: translate(-2.2px, 0); } 50% { transform: translate(2.2px, 0); } 75% { transform: translate(-2.2px, 0); } 100% { transform: translate(2.2px, -1.7px); } }
/* vignette 02 — blocks drop into a stack */
.vig-block { transform: translateY(-50px); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.45s var(--ease); }
.vig-block:first-of-type { transform: none; opacity: 1; }
.cap.is-active .vig-block, .vig-on .vig-block { transform: none; opacity: 1; transition-timing-function: cubic-bezier(0.55, 0, 0.85, 0.35); transition-delay: var(--d, 0s); }
/* vignette 03 — speed lines */
.vig-speed { opacity: 0.2; }
.cap.is-active .vig-speed, .vig-on .vig-speed { animation: speed 0.5s linear infinite; animation-delay: var(--d, 0s); }
@keyframes speed { 0% { transform: translateX(12px); opacity: 0; } 50% { opacity: 0.8; } 100% { transform: translateX(-10px); opacity: 0; } }
/* vignette 04 — riding the loop */
.vig-loop-arc { stroke-dasharray: 151 151; stroke-dashoffset: 113; }
.cap.is-active .vig-loop-arc, .vig-on .vig-loop-arc { animation: loop-draw 1.8s ease-in-out infinite; }
@keyframes loop-draw { from { stroke-dashoffset: 151; } to { stroke-dashoffset: 0; } }
.vig-rider { transform-box: view-box; transform-origin: 0 0; transition: transform 0.6s var(--ease); }
.cap.is-active .vig-rider, .vig-on .vig-rider { animation: spin 1.8s ease-in-out infinite; }

/* ---------- 14. Engine --------------------------------------------------- */
.engine.is-scrub .engine__frame { position: sticky; top: 72px; padding: 96px 0 16px; }
.engine:not(.is-scrub) .engine__frame { padding: 88px 0 24px; }
@media (min-width: 640px) { .engine:not(.is-scrub) .engine__frame { padding: 112px 0 24px; } }
.engine__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.engine__head h2 { margin-top: 24px; }
.engine__status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: rgba(255, 255, 255, 0.5); }
.engine__status p { display: flex; align-items: center; gap: 8px; }
.engine__hint { color: rgba(255, 255, 255, 0.3); }
.engine:not(.is-scrub) .engine__hint { display: none; }
.pipeline { display: none; margin-top: 32px; }
@media (min-width: 640px) { .pipeline { display: block; } }
@media (min-width: 1280px) { .pipeline { margin-top: 48px; } }
.pipeline svg { width: 100%; overflow: visible; }
.node-shape { fill: var(--ink); stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; transition: fill 0.5s, stroke 0.5s; }
.node.is-on .node-shape { fill: var(--sun); stroke: var(--sun); }
.node-core { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; transition: stroke 0.5s; }
.node.is-on .node-core { stroke: var(--ink); }
.node-label { font: 500 13px var(--font-mono); letter-spacing: 0.12em; fill: rgba(255, 255, 255, 0.5); transition: fill 0.5s; }
.node.is-current .node-label { fill: var(--sun); }

.stages { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; }
.stage {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 4px;
  width: 100%; padding: 16px 24px; text-align: left; transition: background-color 0.5s;
}
.stage + .stage { border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 640px) { .stage { grid-template-columns: 11rem 1fr; align-items: center; padding: 16px 32px; } }
.stage:hover { background: rgba(255, 255, 255, 0.02); }
.stage::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sun); transform: scaleY(0); transition: transform 0.5s var(--ease); }
.stage.is-on { background: rgba(255, 255, 255, 0.04); }
.stage.is-on::before { transform: none; }
.stage__name { font: 500 14px var(--font-mono); text-transform: uppercase; letter-spacing: 0.025em; color: var(--paper); transition: color 0.3s; }
.stage__line { font-size: 15px; color: rgba(255, 255, 255, 0.55); transition: color 0.3s; }
.stage.is-on .stage__name { color: var(--sun); }
.stage.is-on .stage__line { color: var(--paper); }
.engine__lead { max-width: 32rem; margin-top: 20px; font-size: var(--fs-body-s); line-height: 1.625; color: rgba(255, 255, 255, 0.55); }
.meters { display: grid; align-content: start; gap: 20px; }
.meters__title { color: rgba(255, 255, 255, 0.4); }
.industries { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.industries li {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font: 13px var(--font-mono); text-transform: lowercase; color: rgba(255, 255, 255, 0.35);
  transition: color 0.5s var(--ease);
}
.industries li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transition: background-color 0.5s var(--ease), transform 0.5s var(--ease); }
.industries li.is-on { color: var(--paper); }
.industries li.is-on::before { background: var(--sun); transform: scale(1.3); }
.industries__note { font: calc(var(--fs-label) + 1px) var(--font-mono); color: rgba(255, 255, 255, 0.4); }
/* the lab: the process line sits beside the heading, next to the animation it describes */
.engine__intro { max-width: 26rem; }
.engine__intro .engine__lead { margin-top: 0; }
.engine__intro .more-link { margin-top: 14px; }

/* software we have built: product cards, each with an icon for its domain */
.built-sec { padding: 40px 0 112px; overflow-x: clip; } /* the goo water bleeds past the cards; keep it from widening the page on phones */
@media (min-width: 1024px) { .built-sec { padding: 48px 0 144px; } }
.built-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.built-sec__lead { max-width: 24rem; font-size: var(--fs-body-s); line-height: 1.6; color: rgba(255, 255, 255, 0.5); }
.products { display: grid; gap: 12px; margin-top: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.product { display: flex; flex-direction: column; gap: 6px; min-height: 172px; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.4s, background-color 0.4s; }
.product:hover { border-color: rgba(255, 140, 82, 0.5); background: rgba(255, 140, 82, 0.05); }
/* glass glyph icons: a solid orange shape behind a frosted pane (drawn inline,
   gradients and frost filter defined once per page as #gico-*) */
.product__icon { display: block; width: 52px; height: 52px; margin-bottom: auto; color: var(--sun); transition: transform 0.4s var(--ease), filter 0.4s; filter: drop-shadow(0 8px 14px rgba(255, 120, 60, 0.28)); }
.product__icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.product:hover .product__icon { transform: translateY(-3px) rotate(-3deg); filter: drop-shadow(0 12px 18px rgba(255, 120, 60, 0.45)); }
.product__name { margin-top: 20px; font-family: var(--font-display); font-size: calc(var(--fs-body) * 1.09); line-height: 1.2; color: var(--paper); }
.product__domain { font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: rgba(255, 255, 255, 0.4); }
.product--next { border-style: dashed; background: none; }
.product--next .product__icon { opacity: 0.7; transition: opacity 0.4s, transform 0.4s var(--ease), filter 0.4s; }
.product--next:hover .product__icon, .product--next:focus-visible .product__icon { opacity: 1; transform: translateY(-3px) rotate(90deg); }
.product--next .product__name { color: rgba(255, 255, 255, 0.6); }
/* the open card is a way in: it takes you to the contact form */
.products__next { display: flex; }
.products__next .product { flex: 1; cursor: pointer; }
.product--next:hover, .product--next:focus-visible { border-color: var(--sun); border-style: solid; background: rgba(255, 140, 82, 0.06); }
.product--next:hover .product__icon, .product--next:focus-visible .product__icon { border-color: transparent; }
.product--next:hover .product__name, .product--next:focus-visible .product__name { color: var(--paper); }
.product__go { display: inline-flex; align-items: center; gap: 6px; color: var(--sun); }
.product__go .i { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.product--next:hover .product__go .i { transform: translate(2px, -2px); }
.meter { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.meter__top { display: flex; justify-content: space-between; font: var(--fs-label) var(--font-mono); text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.45); }
.meter__top span:last-child { color: rgba(255, 255, 255, 0.3); }
.meter__val { margin-top: 8px; font: 24px var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
@media (min-width: 1280px) { .meter__val { font-size: 30px; } }
.meter__val small { margin-left: 4px; font-size: 16px; color: rgba(255, 255, 255, 0.4); }
.meter__track { margin-top: 12px; height: 1px; background: rgba(255, 255, 255, 0.1); }
.meter__fill { height: 1px; background: var(--sun); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }

/* ---------- 15. Work ----------------------------------------------------- */
.work__list { margin-top: 64px; border-top: 1px solid rgba(5, 5, 5, 0.1); }
.work__list li { border-bottom: 1px solid rgba(5, 5, 5, 0.1); }
.work__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 28px 0; }
@media (min-width: 640px) { .work__row { grid-template-columns: 1fr 14rem 5rem auto; } }
.work__name {
  font-size: clamp(1.5rem, 3.6vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em;
  transition: color 0.5s var(--ease), transform 0.5s var(--ease);
}
.work__row:hover .work__name { transform: translateX(8px); }
.work__list.is-hovering .work__row:not(:hover):not(:focus-visible) .work__name { color: rgba(5, 5, 5, 0.25); }
.work__meta { display: none; font: calc(var(--fs-label) + 1px) var(--font-mono); text-transform: lowercase; color: rgba(5, 5, 5, 0.6); }
@media (min-width: 640px) { .work__meta { display: block; } }
.work__arrow { color: rgba(5, 5, 5, 0.3); transition: transform 0.5s var(--ease), color 0.5s; }
.work__row:hover .work__arrow { transform: rotate(45deg); color: var(--ink); }

.plate { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; display: none; will-change: transform; }
@media (hover: hover) { .plate { display: block; } }
.plate__card {
  width: 220px; height: 160px; overflow: hidden; border-radius: 16px; background: var(--sun);
  transform: translate(-50%, -115%) scale(0.6) rotate(-6deg); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.plate.is-on .plate__card { transform: translate(-50%, -115%); opacity: 1; }
.plate__card svg { width: 100%; height: 100%; }
.plate__shape { transform-box: fill-box; transform-origin: center; }
.plate__shape.is-in { animation: plate-shape 0.6s var(--ease); }
@keyframes plate-shape { from { transform: rotate(-45deg) scale(0.6); } }
.plate__peek.is-in { animation: plate-peek 0.5s cubic-bezier(0.15, 0.85, 0.35, 1) 0.12s both; }
@keyframes plate-peek { from { transform: translateY(46px); } }

/* ---------- 16. Partner + contact ---------------------------------------- */
/* why partner: four promises in open columns, split by thin dividers */
#contact .partner > h2.display-l { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1; }
#contact .partner > .lead { font-size: calc(var(--fs-body) + 0.5px); }
.points { display: grid; margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
.point {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 24px 0;
  text-align: left; cursor: default;
}
@media (min-width: 640px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .point { padding: 24px 28px 24px 0; }
  .point:nth-child(n+3) { border-top: 1px solid rgba(5, 5, 5, 0.1); }
  .point:nth-child(2n) { padding-left: 28px; border-left: 1px solid rgba(5, 5, 5, 0.1); }
}
@media (min-width: 1024px) {
  .points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .point { padding: 4px 28px; margin: 8px 0; }
  .point:nth-child(n+3) { border-top: 0; }
  .point:first-child { padding-left: 0; }
  .point:last-child { padding-right: 0; }
  .point + .point { border-left: 1px solid rgba(5, 5, 5, 0.1); }
}
@media (max-width: 639px) { .point + .point { border-top: 1px solid rgba(5, 5, 5, 0.1); } .point:first-child { padding-top: 0; } }
/* glass glyphs, same build as the product icons, with light-paper glass (#gico-glass-l) */
.point__icon { display: block; width: 40px; height: 40px; margin-bottom: 10px; filter: drop-shadow(0 6px 10px rgba(240, 110, 50, 0.18)); transition: transform 0.4s var(--ease), filter 0.4s; }
.point__icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.point__title { font-size: calc(var(--fs-body) * 0.97); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.point__body { font-size: var(--fs-body-s); line-height: 1.55; color: rgba(5, 5, 5, 0.55); transition: color 0.4s; }
.point.is-on .point__icon { transform: translateY(-2px) rotate(-4deg); filter: drop-shadow(0 10px 14px rgba(240, 110, 50, 0.32)); }
.point.is-on .point__body { color: rgba(5, 5, 5, 0.8); }
/* reach us directly: a clear strip under the partner columns */
.reach {
  display: grid; gap: 20px; align-items: center; margin-top: 40px; padding: 24px;
  border-radius: 20px; background: rgba(5, 5, 5, 0.04);
}
@media (min-width: 1024px) { .reach { grid-template-columns: auto 1fr auto; gap: 32px; padding: 20px 20px 20px 28px; } }
.reach__title { color: rgba(5, 5, 5, 0.55); }
.reach__list { display: grid; gap: 16px; }
@media (min-width: 640px) { .reach__list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; } }
.reach__item { display: flex; align-items: center; gap: 12px; }
a.reach__item:hover .reach__v { color: #c4541f; text-decoration: underline; text-underline-offset: 3px; }
.reach__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(5, 5, 5, 0.06); }
.reach__icon svg { width: 19px; height: 19px; }
.reach__k { display: block; font: calc(var(--fs-label) - 1px) var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: rgba(5, 5, 5, 0.5); }
.reach__v { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.reach__all { justify-self: start; white-space: nowrap; }
@media (min-width: 1024px) { .reach__all { justify-self: end; } }

@media (min-width: 1024px) { .contact-col { padding-top: 96px; } }
.contact { position: relative; }
.contact__peek { position: absolute; top: -58px; right: 24px; width: 80px; height: 62px; overflow: visible; }
.contact__confetti { position: absolute; top: 0; right: 64px; }
.form { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 24px 16px 10px;
  border: 1px solid rgba(5, 5, 5, 0.15); border-radius: 12px;
  background: var(--paper); font-size: 15px; outline: none;
  transition: border-color 0.3s;
}
.field textarea { resize: none; }
.field input:hover, .field textarea:hover { border-color: rgba(5, 5, 5, 0.35); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: rgba(239, 68, 68, 0.7); }
.field label {
  position: absolute; left: 16px; top: 16px; pointer-events: none;
  font-size: 15px; color: rgba(5, 5, 5, 0.6); transform-origin: left;
  transition: top 0.3s var(--ease), font-size 0.3s var(--ease);
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 11px; }
.field__err { margin-top: 6px; padding-left: 4px; font: var(--fs-label) var(--font-mono); color: #dc2626; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 4px; }
.form__error[hidden] { display: none; }
.scope { padding-top: 12px; }
.scope legend { margin-bottom: 12px; color: var(--zinc); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border: 1px solid rgba(5, 5, 5, 0.15); border-radius: 999px;
  font-size: 13px; color: rgba(5, 5, 5, 0.7); transition: all 0.3s var(--ease);
}
.chip:hover { border-color: rgba(5, 5, 5, 0.4); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(5, 5, 5, 0.2); transition: background-color 0.3s; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"]::before { background: var(--sun); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 20px; }
.form__actions .btn { width: 100%; padding: 0 28px; }
@media (min-width: 640px) { .form__actions .btn { width: auto; } }
.call-link { display: inline-flex; align-items: center; gap: 8px; font: calc(var(--fs-label) + 1px) var(--font-mono); text-transform: lowercase; color: rgba(5, 5, 5, 0.55); text-underline-offset: 4px; transition: color 0.3s; }
.call-link:hover { color: var(--ink); text-decoration: underline; }
.form[hidden] { display: none; }
.form.is-leaving { opacity: 0; transform: translateY(-12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.success { display: flex; flex-direction: column; justify-content: center; min-height: 28rem; padding: 32px; border: 1px solid rgba(5, 5, 5, 0.1); border-radius: 16px; background: var(--paper); animation: sub-in 0.6s var(--ease) both; }
.success[hidden] { display: none; }
.success__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); }
.success .display-m { margin-top: 32px; }
.success p:last-child { max-width: 24rem; margin-top: 16px; color: rgba(5, 5, 5, 0.6); }

.confetti-bit { position: absolute; display: block; }
.confetti-bit svg { width: 100%; height: 100%; }

/* ---------- 17. Footer --------------------------------------------------- */
.footer { position: relative; overflow: hidden; padding: 80px 0 calc(0.0449 * (min(100vw, 1440px) - 2 * var(--gutter))); } /* bottom padding = how far the wordmark sinks (18% of its height), so it sits flush with the page bottom at every width */
.footer__top { display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 768px) { .footer__top { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.footer__mail { display: inline-block; margin-top: 16px; font: 14px var(--font-mono); color: rgba(255, 255, 255, 0.6); text-underline-offset: 4px; }
.footer__mail:hover { color: var(--sun); text-decoration: underline; }
.footer__addr { margin-top: 24px; font: normal 12px/1.8 var(--font-mono); color: rgba(255, 255, 255, 0.55); }
.footer__status { display: flex; align-items: center; gap: 8px; font: var(--fs-label) var(--font-mono); color: rgba(255, 255, 255, 0.6); }
.footer__status { flex-wrap: wrap; }
.footer__cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; color: var(--paper); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.footer__cta:hover { border-color: var(--sun); background: var(--sun); color: var(--ink); }
/* the contact form, under "let's move your dream." */
.footer__top { align-items: stretch; }
@media (min-width: 768px) { .footer__top { align-items: flex-end; } }
.footer__form { width: 100%; max-width: 26rem; }
.footer__form-title { margin-bottom: 20px; color: rgba(255, 255, 255, 0.55); }
.footer__form .contact__peek { top: -44px; }
.footer .field input { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: var(--paper); }
.footer .field input:hover { border-color: rgba(255, 255, 255, 0.35); }
.footer .field input:focus { border-color: var(--sun); }
.footer .field label { color: rgba(255, 255, 255, 0.55); }
.footer .field__err { color: #f87171; }
.footer .success { min-height: 16rem; border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.footer .success p:last-child { color: rgba(255, 255, 255, 0.6); }
.footer .success__icon { color: var(--ink); }
.footer__links { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 640px) { .footer__links { flex-direction: row; justify-content: space-between; } }
.footer__links ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--paper); }
.footer__links .social a:hover { color: var(--sun); }
.footer__links .copy { color: rgba(255, 255, 255, 0.5); }
.bench { position: relative; width: 100%; max-width: 1440px; margin: 16px auto 0; padding: 0 16px; }
@media (min-width: 640px) { .bench { padding: 0 32px; } }
.bench__slide { transform: translateY(40%); transition: transform 0.9s var(--ease); }
.bench.is-in .bench__slide { transform: translateY(18%); }
.bench__mark { position: relative; }
.bench__mark > svg { width: 100%; height: auto; color: var(--sun); overflow: visible; }
.bench__mark > svg + svg { position: absolute; inset: 0; height: 100%; }
.bench__ring { position: absolute; left: 3%; top: 18%; width: 16%; pointer-events: none; animation: spin-c 40s linear infinite; }
@keyframes spin-c { to { transform: rotate(360deg); } }

/* ---------- 18. Journey rail --------------------------------------------- */
.rail, .rail-walker { display: none; position: fixed; right: 24px; top: 50%; z-index: 40; height: 300px; transform: translateY(-50%); pointer-events: none; }
@media (min-width: 1280px) { .rail, .rail-walker { display: block; } }
.rail { color: var(--paper); mix-blend-mode: difference; }
.rail__line { position: absolute; right: 13px; top: 0; width: 1px; height: 100%; background: rgba(255, 255, 255, 0.6); }
.rail__stop { position: absolute; right: 0; transform: translateY(-50%); }
.rail__stop a { pointer-events: auto; display: grid; place-items: center; width: 24px; height: 24px; margin-right: 1.5px; }
.rail__stop span { display: block; width: 7px; height: 7px; border: 1px solid var(--paper); border-radius: 50%; transition: background-color 0.5s, transform 0.5s; }
.rail__stop a:hover span { transform: scale(1.5); }
.rail__stop.is-passed span { background: var(--paper); }
.rail-walker { width: 30px; }
.rail-walker__fig { position: absolute; right: -4px; top: -34px; will-change: transform; }
.rail-walker__fig svg { width: 36px; height: 40px; overflow: visible; }

html.no-lenis { scroll-behavior: smooth; }

/* pipeline base line draws in when the diagram enters */
.pipeline .js-base { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pipeline.is-in .js-base { animation: draw 1s var(--ease) forwards; }


/* ==========================================================================
   Pages + reusable blocks (used by about/capabilities/process/work/contact
   and documented in template.html)
   ========================================================================== */

/* outline button + "more" text link */
.btn--outline { border: 1px solid rgba(5, 5, 5, 0.18); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--sun); }
.theme-dark .btn--outline { border-color: rgba(255, 255, 255, 0.2); color: var(--paper); }
.theme-dark .btn--outline:hover { border-color: var(--sun); background: var(--sun); color: var(--ink); }

.more-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  font: calc(var(--fs-label) + 1px) var(--font-mono); text-transform: lowercase; letter-spacing: 0.02em;
  color: inherit; opacity: 0.75;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px;
  transition: opacity 0.3s, background-size 0.5s var(--ease);
}
.more-link:hover { opacity: 1; background-size: 100% 1px; }
.more-link .i { transition: transform 0.5s var(--ease); }
.more-link:hover .i { transform: translate(2px, -2px); }

/* current page in the dock */
.dock__links a[aria-current="page"] { color: var(--ink); background: rgba(5, 5, 5, 0.05); }
.dock.is-dark .dock__links a[aria-current="page"] { color: var(--paper); background: rgba(255, 255, 255, 0.08); }

/* idle bob for illustrations */
.float { animation: float 7s ease-in-out infinite; }

/* ---- page hero ---------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 144px 0 96px; }
@media (min-width: 1024px) { .page-hero { padding: 176px 0 128px; } .page-hero .grid { align-items: center; } }
.crumbs { display: flex; gap: 8px; margin-bottom: 32px; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: var(--zinc); }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { margin-top: 32px; }
.page-hero .lead { max-width: 34rem; margin-top: 32px; color: rgba(5, 5, 5, 0.6); }
.page-hero__art { aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; }
.page-hero__art svg { width: 100%; height: 100%; overflow: visible; }
/* contact page: the form is the hero */
.contact-hero__form { margin-top: 48px; }
@media (min-width: 1024px) { .contact-hero__form { margin-top: 0; } }
.contact-hero__form > .eyebrow { margin-bottom: 28px; color: rgba(5, 5, 5, 0.55); }
.contact-hero .ticks { margin-top: 28px; }
.contact-hero .more-link { margin-top: 28px; }

/* ---- block: split (label + heading | body) ------------------------------ */
.block-split { display: grid; row-gap: 32px; }
@media (min-width: 1024px) {
  .block-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; }
  .block-split > :first-child { grid-column: span 5; }
  .block-split > :last-child { grid-column: 7 / span 6; }
}
.block-split h2 { margin-top: 24px; }
.prose { font-size: calc(var(--fs-body) - 0.5px); line-height: 1.75; color: rgba(5, 5, 5, 0.65); }
.prose p + p { margin-top: 20px; }
.theme-dark .prose, .theme-dark-2 .prose { color: rgba(255, 255, 255, 0.6); }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: calc(var(--fs-body) - 0.5px); }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); transform: translateY(-1px); }

/* ---- block: cards ------------------------------------------------------- */
.cards { display: grid; gap: 1px; margin-top: 56px; overflow: hidden; border: 1px solid rgba(5, 5, 5, 0.12); border-radius: 16px; background: rgba(5, 5, 5, 0.12); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--paper); transition: background-color 0.5s var(--ease); }
.card:hover { background: var(--paper-2); }
.card__n { font: var(--fs-label) var(--font-mono); color: var(--sun); letter-spacing: 0.12em; }
.card__title { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.card p { font-size: var(--fs-body-s); line-height: 1.65; color: rgba(5, 5, 5, 0.6); }
.card__meta { margin-top: auto; padding-top: 12px; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: var(--zinc); }
.card__thumb { aspect-ratio: 4 / 3; margin: -28px -28px 8px; background: var(--sun); }
.card__thumb svg { width: 100%; height: 100%; }
.theme-dark .cards, .theme-dark-2 .cards { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.12); }
.theme-dark .card, .theme-dark-2 .card { background: var(--ink); }
.theme-dark .card:hover, .theme-dark-2 .card:hover { background: #111; }
.theme-dark .card p, .theme-dark-2 .card p { color: rgba(255, 255, 255, 0.6); }

/* ---- block: steps (numbered timeline) ----------------------------------- */
.steps { margin-top: 56px; border-top: 1px solid rgba(5, 5, 5, 0.12); }
.step { display: grid; gap: 16px; padding: 32px 0; border-bottom: 1px solid rgba(5, 5, 5, 0.12); }
@media (min-width: 768px) { .step { grid-template-columns: 6rem 1fr 1fr; gap: 32px; } }
.step:last-child { border-bottom: 0; }
.step__n { font: calc(var(--fs-label) + 1px) var(--font-mono); color: var(--sun); }
.step__n svg { width: 22px; height: 22px; }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.step__when { display: block; margin-top: 8px; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: var(--zinc); }
.step p { font-size: var(--fs-body); line-height: 1.7; color: rgba(5, 5, 5, 0.62); }
.step .ticks { margin-top: 16px; }
.step .ticks li { font-size: var(--fs-body-s); }

/* ---- block: faq --------------------------------------------------------- */
.faq { margin-top: 48px; border-top: 1px solid rgba(5, 5, 5, 0.12); }
.faq details { border-bottom: 1px solid rgba(5, 5, 5, 0.12); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 24px var(--font-mono); color: var(--zinc); transition: transform 0.4s var(--ease), color 0.4s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--sun); }
.faq details p { max-width: 44rem; padding-bottom: 24px; font-size: var(--fs-body); line-height: 1.7; color: rgba(5, 5, 5, 0.62); }

/* ---- block: CTA band ---------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 96px 0; }
@media (min-width: 1024px) { .cta-band { padding: 128px 0; } }
.cta-band__inner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band .display-l span { color: var(--sun); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-band__art { position: absolute; right: 6%; top: 24px; width: 120px; height: 120px; opacity: 0.9; pointer-events: none; }
@media (max-width: 1023px) { .cta-band__art { display: none; } }
.cta-band__art svg { width: 100%; height: 100%; overflow: visible; }

/* ---- block: section header (label + h2 + intro) -------------------------- */
.sec-head { max-width: 44rem; }
.sec-head h2 { margin-top: 24px; }
.sec-head .lead { margin-top: 24px; color: rgba(5, 5, 5, 0.6); }
.theme-dark .sec-head .lead, .theme-dark-2 .sec-head .lead { color: rgba(255, 255, 255, 0.55); }

/* pillar detail rows (capabilities page) */
.pillar { display: grid; gap: 24px; padding: 48px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.pillar:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 1024px) { .pillar { grid-template-columns: 5rem 1fr 1fr 140px; gap: 32px; align-items: start; } }
.pillar__mark { color: var(--sun); }
.pillar__mark svg { width: 24px; height: 24px; }
.pillar h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.pillar p { font-size: var(--fs-body); line-height: 1.7; color: rgba(255, 255, 255, 0.6); }
.pillar .ticks li { color: rgba(255, 255, 255, 0.8); font-size: var(--fs-body-s); }
.pillar__glyph svg { width: 140px; height: 84px; overflow: visible; color: var(--paper); }

/* quick contact cards */
.quick a { color: inherit; }
.quick .card__title { font-size: calc(var(--fs-body) * 1.09); }

/* tools we build with (capabilities) */
.stack__groups { display: grid; gap: 28px; }
.stack__group .eyebrow { color: var(--zinc); }
.stack .tags { margin-top: 12px; }
.stack .tags li { border-color: rgba(5, 5, 5, 0.15); color: rgba(5, 5, 5, 0.75); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.stack .tags li:hover { border-color: var(--ink); background: var(--ink); color: var(--sun); }

/* "and more" card fills the last row of the work grid */
@media (min-width: 1024px) { .cards--3 .card--more { grid-column: span 2; } }
.card--more .card__title { color: var(--sun); }

/* Grain: a faint noise overlay that drifts with scroll (js/grain.js) */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-repeat: repeat; background-size: 180px 180px;
  opacity: 0.045; mix-blend-mode: multiply;
}

/* the lab pusher: white arms and legs so they read on the dark lane */
.pipeline .d-legs, .pipeline .d-arms-push, .pipeline .d-arm-wave { stroke: var(--paper); }

/* "software we have built": the card boxes are drawn by js/goo.js as blobs that
   fuse with a neighbour now and then; the cards themselves go transparent */
.products.is-goo { position: relative; gap: 20px 40px; grid-template-columns: minmax(0, 1fr); } /* tight stack on phones */
@media (min-width: 640px) { .products.is-goo { gap: 48px 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .products.is-goo { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.products.is-goo > li { position: relative; z-index: 1; will-change: transform; }
/* squircle cards: icon on the left, the text beside it */
.products.is-goo .product {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto;
  align-content: center; column-gap: 14px; row-gap: 4px;
  min-height: 132px; padding: 18px 30px 18px 26px;
}
.products.is-goo .product__icon { grid-row: 1 / span 2; align-self: center; margin: 0; }
.products.is-goo .product__name { margin-top: 0; align-self: end; font-size: calc(var(--fs-body) * 1.0); }
.products.is-goo .product__domain { align-self: start; }
.products.is-goo .product:not(.product--next),
.products.is-goo .product:not(.product--next):hover { border-color: transparent; background: none; }
/* the action card sits outside the water: a dashed "drop your dream here" slot
   with a round go button, filling with sun on hover */
.products.is-goo .product--next {
  position: relative; grid-template-columns: minmax(0, 1fr); align-content: end; row-gap: 6px;
  padding: 22px 28px 22px 28px; border-radius: 42px;
  border: 1.5px dashed rgba(255, 140, 82, 0.5); background: rgba(255, 140, 82, 0.035);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.products.is-goo .product--next:hover,
.products.is-goo .product--next:focus-visible { border-style: solid; border-color: var(--sun); background: rgba(255, 140, 82, 0.09); transform: translateY(-3px); }
.products.is-goo .product--next .product__icon { display: none; }
.products.is-goo .product--next .product__name,
.products.is-goo .product--next .product__domain { grid-column: 1; text-align: left; }
.products.is-goo .product--next .product__name { padding-right: 44px; }
.product__arrow {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sun); color: #0a0a0a;
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.product__arrow .i { width: 16px; height: 16px; }
.product--next:hover .product__arrow, .product--next:focus-visible .product__arrow { transform: rotate(45deg) scale(1.08); box-shadow: 0 0 0 6px rgba(255, 140, 82, 0.18); }
.goo { position: absolute; left: -30px; top: -30px; z-index: 0; pointer-events: none; overflow: visible; }

/* ---------- Consent notice (js/analytics.js): shown only where analytics needs a yes ---------- */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: calc(100% - 32px); max-width: 24rem; padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px;
  background: var(--ink); color: var(--paper);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-shown { opacity: 1; transform: none; }
.consent__text { font-size: var(--fs-body-s); line-height: 1.55; color: rgba(255, 255, 255, 0.7); }
.consent__text a { color: var(--sun); text-underline-offset: 3px; text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; margin-top: 14px; }
.consent__btn { height: 40px; padding: 0 18px; font-size: 13px; }
.consent .btn--outline { color: var(--paper); border-color: rgba(255, 255, 255, 0.25); }
.consent .btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (min-width: 640px) { .consent { left: 32px; bottom: 32px; } }

/* ---------- Policy pages (privacy): topic rows ---------- */
.policy__row + .policy__row { margin-top: 64px; padding-top: 64px; border-top: 1px solid rgba(5, 5, 5, 0.1); }
.policy__btn { margin-top: 8px; }
.prose code { font-family: var(--font-mono); font-size: 0.92em; }

/* ---------- Careers (careers.html, js/careers.js) ---------- */
.section-pad[id] { scroll-margin-top: 80px; }
.roles { margin-top: 48px; border-top: 1px solid rgba(5, 5, 5, 0.12); }
.role { border-bottom: 1px solid rgba(5, 5, 5, 0.12); }
.role summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; }
.role summary::-webkit-details-marker { display: none; }
.role summary::after { content: "+"; flex: none; font: 300 28px var(--font-mono); color: var(--zinc); transition: transform 0.4s var(--ease), color 0.4s; }
.role[open] summary::after { transform: rotate(45deg); color: var(--sun); }
.role__head { display: grid; gap: 10px; }
.role__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.role__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font: var(--fs-label) var(--font-mono); text-transform: lowercase; color: rgba(5, 5, 5, 0.6); }
.role__body { display: grid; gap: 40px; padding: 8px 0 56px; }
@media (min-width: 1024px) { .role__body { grid-template-columns: 5fr 7fr; gap: 48px; } }
.role__about { max-width: 34rem; font-size: var(--fs-body); line-height: 1.75; color: rgba(5, 5, 5, 0.65); }
.role__apply { margin-top: 28px; }
.role__cols { display: grid; gap: 36px; }
.role__h { margin-bottom: 4px; color: var(--zinc); }
.role .ticks { margin-top: 16px; }

/* role select + résumé file field: same shape as the text fields */
.field select {
  display: block; width: 100%; padding: 24px 44px 10px 16px;
  border: 1px solid rgba(5, 5, 5, 0.15); border-radius: 12px;
  background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 16px center / 14px;
  font-size: 15px; outline: none; cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: border-color 0.3s;
}
.field select:hover { border-color: rgba(5, 5, 5, 0.35); }
.field select:focus { border-color: var(--ink); }
.field--select label { top: 8px; font-size: 11px; }
.field.has-error select { border-color: rgba(239, 68, 68, 0.7); }
.filefield input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; z-index: 1; }
.filefield__box { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed rgba(5, 5, 5, 0.3); border-radius: 12px; background: var(--paper); transition: border-color 0.3s; }
.filefield:hover .filefield__box { border-color: rgba(5, 5, 5, 0.55); }
.filefield:focus-within .filefield__box { outline: 2px solid var(--sun); outline-offset: 3px; }
.filefield__box .i { color: var(--zinc); }
.filefield__text { display: grid; gap: 2px; min-width: 0; }
.filefield__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.filefield__hint { font: var(--fs-label) var(--font-mono); color: rgba(5, 5, 5, 0.6); }
.filefield.has-file .filefield__box { border-style: solid; border-color: var(--ink); }
.filefield.has-file .filefield__box .i { color: var(--sun); }
.filefield.has-error .filefield__box { border-color: rgba(239, 68, 68, 0.7); }
