/* The landing page's own stylesheet (Base.astro links it instead of site.css when `landing` is set).
   Built from the Refract prototype (Hallmark skill, 2026-11-21) in the Nousavant brand colours. Type exception, Bruno's call:
   Funnel Display and Funnel Sans replace Albert Sans and Brygada 1918 on this page only. Plan: intent/2026-11-21-refract-landing/. */
:root {
  /* Nousavant brand colours (brand book, DESIGN.md of the live site) on the Refract type and light: paper and bone ~70%, graphite ink, cobalt for actions; the water light is drawn in a pale cobalt. */
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: #fbfaf7; --color-paper-2: #f2f0eb; --color-paper-3: #e6e3dc;
  --color-ink: #111214; --color-ink-2: #45474d; --color-muted: #6b6c70;
  --color-rule: #e3e0d9; --color-rule-2: #ecebe6;
  --color-accent: #3d63e6; --color-accent-hi: #3455c6; --color-accent-ink: #fefefd; --color-accent-soft: #e6ebfc; --color-focus: #2f52cf;
  --color-shade: #d6def9; --color-shade-2: #a8b9f2; --color-light: #fefefd;
  --spec-1: oklch(78% 0.15 32); --spec-2: oklch(90% 0.15 105); --spec-3: oklch(82% 0.13 175); --spec-4: oklch(66% 0.15 270);
  --color-slot: #d6def9;
  --edge-light: inset 0 1px 0 oklch(100% 0 0 / 0.9), inset 0 0 0 1px oklch(100% 0 0 / 0.55);
  --shadow-card: 18px 28px 48px -26px oklch(40% 0.08 267 / 0.32), 2px 3px 6px -2px oklch(25% 0.01 270 / 0.12);
  --shadow-cast: 28px 40px 70px -30px oklch(50% 0.12 267 / 0.38);
  --font-display: "Funnel Display Variable", ui-sans-serif, system-ui, sans-serif; --font-body: "Funnel Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 22px; --radius-inner: 12px; --radius-pill: 999px; --rule-hair: 1px;
  --tracking-display: -0.032em; --display-weight: 400;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: natural con=3 exp=4 */
[data-slot] > img { filter: contrast(1.03) brightness(1.04); }

/* Hallmark · shape: Narrative Workflow · genre: atmospheric · theme: Refract (deal 2/3, seed nousavant-consultancy-owners-mid-sized-7f1c·434b1f7c·2026-11-21·r0) · job: hire · draw: 66a258
 * hero: Index · nav: floating pill · footer: letter close · imagery: the product built as sample panels, the founders' own portraits 2 · signature: a sample ranking of bottlenecks lying in moving water light, the costliest row lit · refract: water, Nousavant colours (paper, graphite, cobalt; the light in pale cobalt) · brand: Nousavant colours and wordmark (brand book); type exception: Funnel Display and Funnel Sans replace Albert Sans and Brygada 1918 on this page (Bruno, 2026-11-21), revisit at the move to Astro
 * copy: verbatim (the live site's approved wording for the nine solutions and the offer steps)
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R4 V5 · weakest: S, water light is not a consultancy's own object; the hero and the pinned map carry the firm's real method so the light only sets the room */
/* Hallmark · dismissed 3 · the bento has five tiles in mixed spans, the tools tile across two columns, and each tile carries a built sample of the work, not an icon */
/* Hallmark · dismissed 25 · the tile head second line is a display-size continuation of the head in grey, not running prose, so the prose measure does not apply */
/* Hallmark · answered F4 · the second filled control in the hero is the clear pause control for the moving light, not a second primary action */

body { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); line-height: 1.02; }
.label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.clear { background: color-mix(in oklab, var(--color-light) 84%, transparent); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-card); }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--clear { background: color-mix(in oklab, var(--color-light) 84%, transparent); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.btn--clear:hover { background: var(--color-light); }
.link { color: var(--color-ink); font-weight: 500; text-decoration-line: underline; text-decoration-color: var(--color-rule); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); }

/* The light: one generated canvas, fading to paper under the text. */
.light { position: absolute; display: block; pointer-events: none; }
.light--hero { top: 0; right: 0; width: 66%; height: 100%; -webkit-mask-image: linear-gradient(to right, transparent, var(--color-ink) 42%), linear-gradient(var(--color-ink) 80%, transparent); mask-image: linear-gradient(to right, transparent, var(--color-ink) 42%), linear-gradient(var(--color-ink) 80%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.light--fig { top: var(--space-2xl); right: var(--gutter); width: 36%; height: calc(100% - 2 * var(--space-2xl)); border-radius: var(--radius-card); }
.sun .pause { right: calc(var(--gutter) + var(--space-md)); bottom: calc(var(--space-2xl) + var(--space-md)); }
@media (max-width: 60rem) { .light--fig { position: relative; top: auto; right: auto; width: 100%; height: 200px; } .sun .pause { top: calc(var(--space-2xl) + var(--space-md)); bottom: auto; } }
html:not(.js) .light { background: var(--color-shade); }
.pause { position: absolute; right: var(--gutter); bottom: var(--space-lg); z-index: var(--z-raised); min-height: 44px; font-size: var(--text-sm); }
html:not(.js) .pause { display: none; }

/* Nav: a floating pill. */
.nav { position: sticky; top: var(--space-md); z-index: var(--z-sticky-nav); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); max-width: 880px; min-height: 64px; margin-inline: auto; padding: 0 var(--space-xs) 0 var(--space-lg); background: var(--color-light); border-radius: var(--radius-pill); box-shadow: var(--edge-light), var(--shadow-card); }
.nav__bar img { height: 18px; width: auto; }
.nav__links { display: none; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 500; }
.nav__links a { color: var(--color-ink-2); text-decoration: none; }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__links a { white-space: nowrap; }
@media (min-width: 72rem) { .nav__links { display: flex; } }

/* Hero: the ranking is the visual, lying in the light. */
.hero { position: relative; margin-top: calc(-1 * var(--space-2xl)); min-height: 100svh; display: grid; align-items: center; }
.hero__in { position: relative; display: grid; gap: var(--space-xl); align-items: center; padding-top: var(--space-4xl); padding-bottom: var(--space-3xl); }
.hero__copy { display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { font-size: clamp(3rem, 5.6vw + 1rem, 6rem); max-width: 9ch; }
.hero .lead { max-width: 28ch; color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
@media (min-width: 60rem) { .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); } }

.lanes { isolation: isolate; margin: 0; padding: var(--space-lg) var(--space-xl) var(--space-md); box-shadow: var(--edge-light), var(--shadow-card), var(--shadow-cast); }
.lanes figcaption { display: flex; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-sm); }
.lanes ol { margin: 0; padding: 0; list-style: none; }
.lanes li { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: var(--space-lg); align-items: center; min-height: 76px; border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); }
.lanes b { font: 400 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.lanes span { font-weight: 500; }
.tag { font-style: normal; display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.lanes li:first-child::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--space-xl)); background: var(--color-accent-soft); z-index: -1; transform-origin: left; }
.lanes li:first-child .tag { background: var(--color-accent); color: var(--color-accent-ink); }
.js .lanes li { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .lanes.is-in li { opacity: 1; transform: none; }
.js .lanes li:first-child::before { transform: scaleX(0); transition: transform 0.7s var(--ease-out) 0.45s; }
.js .lanes.is-in li:first-child::before { transform: none; }
@media (max-width: 40rem) { .lanes { padding-inline: var(--space-md); } .lanes li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); padding-block: var(--space-sm); } .lanes b { grid-column: 1; } .lanes span { grid-column: 1; } .lanes .tag { grid-row: 1 / span 2; grid-column: 2; } .lanes li:first-child::before { inset-inline: calc(-1 * var(--space-md)); } }

/* Sections. */
.sec { padding-block: var(--section-gap); }
.sec--s { padding-block: var(--section-gap-s); }
.sec--l { padding-block: var(--section-gap-l); }
.head { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
@media (min-width: 60rem) { .head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--gap-columns); } .head--split .lead { justify-self: end; max-width: 30ch; } }

/* The assessment, pinned: the map holds still while the four stages pass it. */
.pin { display: grid; gap: var(--space-xl); }
.pin__hold { display: grid; gap: var(--space-xl); align-content: start; }
.pin__run { display: grid; gap: var(--space-lg); align-content: start; }
.pin__head { display: grid; gap: var(--space-md); }
.pin__head .lead { max-width: 34ch; }
.map { margin: 0; padding: var(--space-lg); }
.map figcaption { padding-bottom: var(--space-md); }
.map__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); }
.map__lane { grid-column: 1 / -1; padding-top: var(--space-sm); }
.node { position: relative; min-width: 0; hyphens: auto; display: grid; align-content: space-between; gap: var(--space-2xs); min-height: 92px; padding: var(--space-sm); border-radius: var(--radius-inner); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; transition: opacity var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.node b { font: 400 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
[data-at="1"] .node--leak, [data-at="2"] .node--leak, [data-at="3"] .node--leak { background: var(--color-shade); }
[data-at="2"] .node--leak b, [data-at="3"] .node--leak b { opacity: 1; }
[data-at="3"] .node:not(.node--top) { opacity: 0.4; }
[data-at="3"] .node--top { background: var(--color-light); box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-card); }
.stages { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.stages li { counter-increment: st; display: grid; align-content: center; gap: var(--space-md); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.stages h3 { font-size: var(--text-section); }
.stages h3::before { content: counter(st) ". "; color: var(--color-muted); }
.stages p { max-width: 34ch; font-size: var(--text-lead); }
@media (min-width: 60rem) {
  .pin { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
  /* The held column is one screen tall and centres its content below the nav, so the map sits in the middle of the screen while the stages pass. */
  .pin__hold { position: sticky; top: 0; min-height: 100svh; align-content: center; padding-block: var(--space-3xl) var(--space-lg); }
  /* The stages start and end half a screen in, so the first and the last can each reach the middle while the map is held. */
  .pin__run { padding-block: 27svh; }
  .stages li { min-height: 46svh; border-top: 0; opacity: 0.35; transition: opacity var(--dur-long) var(--ease-out); }
  .stages li.is-on { opacity: 1; }
  html:not(.js) .stages li { opacity: 1; min-height: 0; }
}
@media (min-width: 60rem) and (max-height: 860px) {
  .pin__hold { gap: var(--space-lg); padding-bottom: var(--space-md); }
  .pin__head { gap: var(--space-xs); }
  .map { padding-block: var(--space-md); }
  .map figcaption { padding-bottom: var(--space-xs); }
  .node { min-height: 56px; }
}

/* Phones: the map runs two steps wide, so long step names (German) keep whole words. */
@media (max-width: 40rem) { .map { padding: var(--space-sm); } .map__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .node { min-height: 64px; padding: var(--space-xs) var(--space-sm); } .node b { white-space: nowrap; } }

/* The threshold: one real figure in the sun. */
.sun { position: relative; }
.sun__in { position: relative; display: grid; gap: var(--space-lg); padding-block: var(--space-4xl); }
@media (max-width: 60rem) { .sun__in { padding-block: var(--space-2xl); } }
.sun__fig { position: relative; margin: 0; font: 300 clamp(5rem, 13.5vw, 12.5rem)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--color-ink); }
.sun h2 { max-width: 16ch; }
.sun p:last-child { max-width: 40ch; }

/* What we build: a card grid after Ramp. Each well holds a sample of the work running off its foot; the tools sit on a fading grid. */
.bento { display: grid; gap: var(--space-md); }
.tile { display: flex; flex-direction: column; gap: var(--space-xl); min-height: 460px; padding: var(--space-xl) var(--space-xl) 0; border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.tile__head h3 { font-size: var(--text-2xl); line-height: 1.1; }
.tile__head p { font: 400 var(--text-2xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-muted); max-width: 20ch; }
.frag { flex: 1; display: grid; align-content: start; gap: var(--space-sm); margin: 0 0 calc(-1 * var(--space-lg)); padding: var(--space-md) var(--space-lg) var(--space-xl); border-radius: var(--radius-inner) var(--radius-inner) 0 0; color: var(--color-ink); font-size: var(--text-sm); }
.frag figcaption { padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule); }
.frag table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.frag th, .frag td { padding: var(--space-xs) var(--space-sm) var(--space-xs) 0; border-top: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; }
.frag th { border-top: 0; font-weight: 500; color: var(--color-muted); }
.frag td:last-child, .frag th:last-child { text-align: right; padding-right: 0; }
.frag .sum td { padding-top: var(--space-sm); border-top-color: var(--color-ink); font: 400 var(--text-xl)/1.1 var(--font-display); }
.frag__mail { display: grid; gap: var(--space-3xs); padding: var(--space-sm); border-radius: var(--radius-inner); background: var(--color-paper-2); }
.frag__mail span { color: var(--color-muted); }
.fields { display: grid; gap: var(--space-xs); margin: 0; }
.fields div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: center; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-inner); }
.fields dt { color: var(--color-muted); } .fields dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.frag__sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-xs); font-weight: 500; }
.frag__sum b { font: 400 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.ok { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-success); font-weight: 500; }
.ok svg { flex-shrink: 0; width: 16px; height: 16px; }
.ask { justify-self: end; max-width: 85%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner) var(--radius-inner) var(--space-2xs) var(--radius-inner); background: var(--color-ink); color: var(--color-paper); }
.answer { justify-self: start; display: grid; gap: var(--space-xs); max-width: 92%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner) var(--radius-inner) var(--radius-inner) var(--space-2xs); background: var(--color-paper-2); }
.answer b { font: 400 var(--text-xl)/1.1 var(--font-display); }
.answer span { color: var(--color-ink-2); }
.answer .src { justify-self: start; padding: var(--space-2xs) var(--space-xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--space-xs); color: var(--color-muted); }
.bars { display: grid; gap: var(--space-sm); margin: 0; padding: var(--space-2xs) 0 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3rem; gap: var(--space-sm); align-items: center; }
.bars i { position: relative; height: 8px; border-radius: var(--space-2xs); background: var(--color-paper-3); overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: var(--space-2xs); background: var(--color-ink); }
.bars b { text-align: right; font-weight: 500; }
.bars .down i::after { background: var(--color-error); } .bars .down b { color: var(--color-error); }
.cloud { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-sm); width: min(100%, 440px); margin: 0 auto var(--space-xl); padding: 0; list-style: none; -webkit-mask-image: radial-gradient(closest-side, var(--color-ink) 58%, transparent 100%); mask-image: radial-gradient(closest-side, var(--color-ink) 58%, transparent 100%); }
.cloud li { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-inner); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-card); }
.cloud li:nth-child(10n+6), .cloud li:nth-child(10n+7), .cloud li:nth-child(10n+8), .cloud li:nth-child(10n+9), .cloud li:nth-child(10n+10) { transform: translateX(-22%); }
.cloud img { width: 44%; height: 44%; object-fit: contain; }
.cloud .me { background: var(--color-accent); }
.cloud .me svg { width: 58%; height: 58%; fill: var(--color-accent-ink); }
@media (min-width: 46rem) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--wide { grid-column: span 2; } }
@media (min-width: 72rem) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; flex-direction: row; align-items: center; padding-bottom: var(--space-xl); }
  .tile--wide .tile__head { flex: none; }
  .tile--wide .cloud { margin: 0 0 0 auto; }
}
@media (max-width: 40rem) { .tile { min-height: 0; padding: var(--space-lg) var(--space-md) 0; } .frag { padding-inline: var(--space-md); } .tile--wide { padding-bottom: var(--space-lg); } .cloud { margin-bottom: 0; } }

/* What we build, at work: the live site's solution films in a clear panel. The list picks a solution, the film plays it,
   the five steps tick as it runs. It moves on by itself until one is picked, waits while hovered or focused, and can be paused. */
.sol { display: grid; gap: var(--space-md); margin-bottom: var(--space-md); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); }
.sol-scroll { overflow-x: auto; scrollbar-width: none; }
.sol__list { display: flex; gap: var(--space-2xs); margin: 0; padding: var(--space-2xs); list-style: none; }
.sol__list button { position: relative; width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-inner); background: transparent; color: var(--color-ink-2); font: 500 var(--text-md)/1.25 var(--font-body); text-align: left; white-space: nowrap; cursor: pointer; overflow: hidden; transition: background-color var(--dur-short) var(--ease-out); }
.sol__list button:hover { background: var(--color-paper-3); }
.sol__list button:active { transform: translateY(1px); }
.sol__list button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.sol__list button[aria-selected="true"] { background: var(--color-light); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.sol__list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform var(--dur-long) var(--ease-out); }
/* A product scene's run: the picked tab's bottom edge fills over the scene's length, on a faint track */
.sol__list button[data-run]::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-rule); }
.sol__list button[data-run]::after { height: 3px; transition: none; animation: sol-run var(--dur, 8s) linear forwards; }
@keyframes sol-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sol__stage { position: relative; display: grid; gap: var(--space-md); align-content: start; margin: 0; padding: var(--space-lg); }
.sol__stage figcaption { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 44px; }
.sol__hold { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.sol__hold:hover { background: var(--color-paper-3); }
.sol__hold:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.sol__film { display: none; }
.sol__film canvas { display: block; width: 100%; aspect-ratio: 43 / 26; }
.sol__req { font: 400 var(--text-2xl)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 26ch; }
.sol-panel { display: grid; gap: var(--space-md); }
.sol-panel + .sol-panel { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.sol-steps { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.sol-steps li { display: flex; align-items: center; gap: var(--space-xs); }
.sol-steps svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--color-accent); }
/* With the script running: one panel at a time, its request above the film and its steps beneath, the steps lighting as the film reaches them. */
.sol.live .sol__film { display: block; grid-row: 3; }
.sol.live .sol__scene { grid-row: 3; } /* a product scene (src/films/) in place of the canvas */
.sol.live .sol-panel { display: contents; }
.sol.live .sol__req { grid-row: 2; }
.sol.live .sol-steps { grid-row: 4; }
.sol.live .sol-steps li { color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); }
.sol.live .sol-steps svg { opacity: 0.25; color: var(--color-muted); transition: opacity var(--dur-short) var(--ease-out); }
.sol.live .sol-steps li.done { color: var(--color-ink); }
.sol.live .sol-steps li.done svg { opacity: 1; color: var(--color-accent); }
@media (min-width: 60rem) {
  .sol { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg); padding: var(--space-lg); align-items: start; }
  .sol__list { flex-direction: column; }
}
@media (min-width: 60rem) and (max-width: 80rem) {
  .sol { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .sol__list button { font-size: var(--text-sm); }
}
@media (min-width: 60rem) { .sol__stage { padding: var(--space-lg) var(--space-xl) var(--space-xl); } }

/* How pricing works: the free call as a row, then one chapter per paid step with the live site's offer film beside it. */
.start { display: grid; gap: var(--space-xs) var(--space-lg); align-items: baseline; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.start h3 { font-size: var(--text-2xl); }
.start b, .chapter__price { color: var(--color-ink); font-weight: 500; }
.chapter { display: grid; gap: var(--space-xl); align-items: center; padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.chapter__copy { display: grid; gap: var(--space-md); align-content: start; }
.chapter h3 { font-size: var(--text-section); }
.chapter__copy > p:not([class]) { max-width: 46ch; }
.beats { margin: var(--space-xs) 0 0; padding: 0; list-style: none; counter-reset: beat; }
.beats li { counter-increment: beat; display: grid; grid-template-columns: 2ch minmax(0, 1fr); gap: var(--space-2xs) var(--space-sm); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.beats li::before { content: counter(beat); color: var(--color-muted); font-weight: 500; }
.beats b { color: var(--color-ink); font-weight: 500; }
.beats span { grid-column: 2; max-width: 44ch; }
/* With the script running, only the step the film is showing keeps its sentence. */
.beats.live li { transition: opacity var(--dur-short) var(--ease-out); }
.beats.live li:not(.on):not(.done) { opacity: 0.45; }
.beats.live li:not(.on) span { display: none; }
.beats.live li.on::before { color: var(--color-accent); }
/* Reduced motion: the film shows its last frame, so every step keeps its sentence. */
@media (prefers-reduced-motion: reduce) { .beats.live li span { display: block; } .beats.live li:not(.on):not(.done) { opacity: 1; } }
.chapter__film { position: relative; margin: 0; padding: var(--space-md); box-shadow: var(--edge-light), var(--shadow-card); }
.chapter__film canvas { display: block; width: 100%; aspect-ratio: 7 / 5.2; }
.chapter__film figcaption { position: absolute; left: var(--space-lg); top: var(--space-md); }
html:not(.js) .chapter__film { display: none; }
.replay { position: absolute; right: var(--space-md); bottom: var(--space-md); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; }
.replay:hover { background: var(--color-paper-3); }
.replay:active { transform: translateY(1px); }
.replay:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (min-width: 60rem) {
  .start { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); } .start b { justify-self: end; }
  .chapter { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); }
  .chapter:last-of-type .chapter__copy { order: 2; }
  .chapter:last-of-type { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* The close. */
.close { display: grid; gap: var(--space-2xl); align-items: center; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.people figure { margin: 0; }
.people [data-slot] { aspect-ratio: 4 / 5; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
/* The founders stand cut out in the same pool light as the hero: pale water deepening toward the bottom so a white shirt still reads, one soft highlight. */
.people [data-slot] { background: radial-gradient(70% 45% at 30% 18%, color-mix(in oklab, var(--color-light) 70%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in oklab, var(--color-shade) 70%, var(--color-paper-2)) 0%, var(--color-shade) 55%, color-mix(in oklab, var(--color-shade) 80%, var(--color-shade-2)) 100%); }
.people [data-slot] > img { object-fit: contain; object-position: 50% 100%; }
.people figcaption { margin-top: var(--space-md); color: var(--color-ink); font-weight: 500; }
.people figcaption span { display: block; font-weight: 400; color: var(--color-muted); font-size: var(--text-sm); }
.close__copy { display: grid; gap: var(--space-lg); justify-items: start; }
.mail { white-space: nowrap; font: 400 clamp(1.25rem, 6.2vw, 3.75rem)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: var(--color-accent); text-underline-offset: 0.14em; }
.mail:hover { text-decoration-thickness: 2px; }
.worked { margin: var(--space-3xl) 0 0; }
.worked ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.worked li { display: grid; place-items: center; height: 104px; border-top: var(--rule-hair) solid var(--color-rule); }
.worked img { height: 26px; width: auto; max-width: 60%; filter: grayscale(1) brightness(0.35) contrast(1.2); opacity: 0.8; }
.worked figcaption { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
@media (min-width: 60rem) { .close { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); } .worked ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Footer: a letter's close. */
.foot { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-paper-2); }
.foot__in { display: grid; gap: var(--space-3xl); }
.foot__sign { font: 400 var(--text-display-s)/1.1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 20ch; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md) var(--space-xl); font-size: var(--text-sm); }
.foot__row ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot__row img { height: 16px; width: auto; }

@media (prefers-reduced-motion: reduce) { .js .lanes li, .js .lanes li:first-child::before { opacity: 1; transform: none; transition: none; } .btn, .link, .sol__list button, .sol-steps li, .sol-steps svg, .beats li, .node, .node b, .stages li { transition: none; } .pause { display: none; } }

/* Astro additions to the prototype: the language switch in the bar, the booking note, the FAQ, the founders' links. */
.nav__end { display: flex; align-items: center; gap: var(--space-xs); }
.lang { display: flex; gap: var(--space-3xs); }
.lang a { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; text-decoration: none; text-transform: uppercase; }
.lang a:hover { color: var(--color-ink); background: var(--color-paper-2); }
.lang a[aria-current] { color: var(--color-ink); background: var(--color-paper-2); }
.lang a:focus-visible, .lang-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.lang-btn { display: none; align-items: center; gap: var(--space-2xs); min-height: 44px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); text-transform: uppercase; cursor: pointer; }
.lang-pop { margin: 0; inset: auto; top: 88px; right: var(--space-md); padding: var(--space-xs); border: 0; border-radius: var(--radius-inner); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-card); }
.lang-pop .lang { flex-direction: column; }
.lang-pop .lang a { justify-content: start; text-transform: none; padding-inline: var(--space-md); min-height: 44px; }
@media (max-width: 40rem) { .nav__end > .lang { display: none; } .lang-btn { display: inline-flex; } .nav__bar { padding-left: var(--space-md); gap: var(--space-xs); } .nav__end .btn { padding-inline: var(--space-md); } }

.faq { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.faq__in { display: grid; gap: var(--space-2xl); }
.faq__head { display: grid; gap: var(--space-md); align-content: start; }
.faq__head p { max-width: 34ch; }
.faq__head a { color: var(--color-ink); font-weight: 500; text-decoration-color: var(--color-accent); }
.faq__list details { border-top: var(--rule-hair) solid var(--color-rule-3, var(--color-paper-3)); }
.faq__list details:last-child { border-bottom: var(--rule-hair) solid var(--color-paper-3); }
.faq__list summary { display: flex; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); color: var(--color-ink); font: 400 var(--text-xl)/1.2 var(--font-display); letter-spacing: var(--tracking-display); cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-body); color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq__list p { max-width: 65ch; padding-bottom: var(--space-lg); }
@media (min-width: 60rem) { .faq__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); } .faq__head { position: sticky; top: var(--space-4xl); } }

.people figcaption a { font-weight: 400; font-size: var(--text-sm); color: var(--color-ink-2); }
@media (prefers-reduced-motion: reduce) { .faq__list summary::after { transition: none; } }
