/* Claustrum — site design system.
   Hand-authored (no Tailwind build needed). Dark surface, two signal colors:
   cyan and amber are the two polarizations the coupler sorts. */

@font-face {
  font-family: "Mona Sans";
  src: url(/fonts/MonaSans-latin.woff2) format("woff2-variations");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url(/fonts/GeistMono-latin.woff2) format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-0: #05070a;
  --ink-1: #0a0d12;
  --ink-2: #10141b;
  --ink-3: #181d26;
  --line: rgba(233, 237, 242, 0.1);
  --line-2: rgba(233, 237, 242, 0.2);
  --text: #e9edf2;
  --text-2: #a1aab8;
  --text-3: #6b7482;
  --cyan: #4fd8ff;
  --amber: #ffb347;
  --chart-cyan: #1c9bd4;   /* validated mark colors for the dark surface */
  --chart-amber: #cf7f14;
  --danger: #ff7a70;

  --font-sans: "Mona Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1440px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink-0); scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
main { flex: 1; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--ink-0); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--text); color: var(--ink-0); padding: 0.6rem 1rem; font-size: 0.875rem; }
.skip:focus { top: 1rem; }

/* ── Type ─────────────────────────────────────────── */
.display {
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.015em;
  font-size: clamp(2.9rem, 9.4vw, 9.25rem);
  text-wrap: balance;
}
.h1 { font-stretch: 118%; font-weight: 560; line-height: 0.98; letter-spacing: -0.02em; font-size: clamp(2.5rem, 6vw, 5.5rem); text-wrap: balance; }
.h2 { font-stretch: 112%; font-weight: 540; line-height: 1.04; letter-spacing: -0.02em; font-size: clamp(1.9rem, 3.9vw, 3.5rem); text-wrap: balance; }
.h3 { font-stretch: 108%; font-weight: 560; line-height: 1.15; letter-spacing: -0.01em; font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.lede { font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.5; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
.body { color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.body + .body { margin-top: 1em; }
.body strong, .lede strong { color: var(--text); font-weight: 560; }
.mono, .eyebrow, .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 450;
}
.eyebrow { color: var(--text-2); display: flex; align-items: center; gap: 0.7em; }
.eyebrow::before { content: ""; width: 1.4em; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--cyan { color: var(--cyan); }
.eyebrow--amber { color: var(--amber); }
.note { font-size: 0.8125rem; line-height: 1.5; color: var(--text-3); max-width: 70ch; }
.note a, .body a, .lede a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; }
.note a:hover, .body a:hover, .lede a:hover { text-decoration-color: var(--cyan); }

/* ── Layout ───────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(5rem, 11vw, 10rem) 0; position: relative; background: var(--ink-0); }
.section--raised { background: var(--ink-1); }
.section--line { border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); row-gap: 3rem; }
.col-3 { grid-column: auto / span 3; } .col-4 { grid-column: auto / span 4; } .col-5 { grid-column: auto / span 5; }
.col-6 { grid-column: auto / span 6; } .col-7 { grid-column: auto / span 7; } .col-8 { grid-column: auto / span 8; } .col-12 { grid-column: 1 / -1; }
.start-6 { grid-column-start: 6; } .start-7 { grid-column-start: 7; } .start-8 { grid-column-start: 8; } .start-9 { grid-column-start: 9; }
.stack > * + * { margin-top: var(--gap, 1.5rem); }
.head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* ── Buttons & links ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 48px; padding: 0 1.4rem;
  font-size: 0.9375rem; font-weight: 560; font-stretch: 105%; letter-spacing: 0.005em; white-space: nowrap;
  border: 1px solid var(--line-2); border-radius: 2px; color: var(--text); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer; -webkit-appearance: none; appearance: none; font-family: var(--font-sans);
}
.btn:hover { border-color: var(--text); }
.btn--solid { background: var(--text); color: var(--ink-0); border-color: var(--text); }
.btn--solid:hover { background: var(--cyan); border-color: var(--cyan); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: 0.875rem; }
.arr { width: 0.95em; height: 0.95em; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover .arr, .link:hover .arr, a:hover > .arr { transform: translateX(0.22em); }
.link { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 560; font-stretch: 105%; padding: 0.4rem 0; border-bottom: 1px solid var(--line-2); transition: border-color 0.25s; }
.link:hover { border-color: var(--cyan); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── Nav ──────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s; border-bottom: 1px solid transparent; }
.nav.is-solid, .nav.is-open { background: rgba(5, 7, 10, 0.82); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand .logo { height: 36px; width: auto; }
.foot .brand .logo { height: 40px; }
@media (max-width: 760px) { .brand .logo { height: 32px; } }
.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.6rem); }
.nav__link { font-size: 0.9375rem; font-weight: 480; color: var(--text-2); padding: 0.5rem 0; position: relative; transition: color 0.2s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle span + span { margin-top: 6px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav__sheet { display: none; }

/* ── Flash ────────────────────────────────────────── */
.flash { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); top: calc(var(--nav-h) + 0.75rem); max-width: min(92vw, 40rem); padding: 0.8rem 1.1rem; font-size: 0.9rem; background: var(--ink-2); border: 1px solid var(--line-2); border-left: 2px solid var(--cyan); }
.flash--alert { border-left-color: var(--danger); }

/* ── Film: sticky WebGL stage with text beats ─────── */
.film { position: relative; background: var(--ink-0); }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__poster, .film__sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__poster { object-fit: cover; }
/* The still moves from the first paint, so a first visit is never static while the 3D scene compiles. */
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05) translate3d(-0.7%, -0.5%, 0); } }
.film__poster, .stage > img { animation: drift 18s ease-in-out infinite alternate; transform-origin: 62% 55%; will-change: transform; }
.is-live > .film__sticky .film__poster, .stage.is-live > img { visibility: hidden; transition: visibility 0s linear 1.4s; }
.film__sticky canvas { opacity: 0; transition: opacity 1.2s ease; }
.is-live > .film__sticky canvas, .is-live > canvas { opacity: 1; }
.film__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,7,10,0.82) 0%, rgba(5,7,10,0.45) 34%, rgba(5,7,10,0) 62%), linear-gradient(0deg, rgba(5,7,10,0.9) 0%, rgba(5,7,10,0) 30%), linear-gradient(180deg, rgba(5,7,10,0.75) 0%, rgba(5,7,10,0) 18%); }
.film__track { position: relative; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.film__track a, .film__track button { pointer-events: auto; }
.beat { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 2rem) 0 4rem; }
.beat--tall { min-height: 140vh; }
.beat--hold { min-height: 200vh; align-items: flex-start; }
.beat--hold > .wrap { position: sticky; top: 30vh; }
.beat--hero { align-items: flex-end; padding-bottom: clamp(2.5rem, 6vh, 5rem); }
.beat__copy { max-width: min(33rem, 100%); }
.hero__sub { margin-top: clamp(1.25rem, 2.4vw, 2rem); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.hero__meta { display: flex; gap: 2.5rem; color: var(--text-3); }
.hero__meta b { display: block; color: var(--text); font-weight: 450; margin-top: 0.3rem; }
.film__hud { font-variant-numeric: tabular-nums; position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 1rem); color: var(--text-3); text-align: right; }

/* ── Stage block (non-sticky canvas panel) ────────── */
.stage { position: relative; background: var(--ink-0); overflow: hidden; }
.stage > img, .stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage > canvas { opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; }
.stage.is-live > canvas { opacity: 1; }
.stage:not(.is-live) .live-only { display: none; }      /* controls that only make sense while the scene is running */
.stage--hero { height: 100vh; height: 100svh; min-height: 620px; }
.stage--panel { aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.stage__copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(2.5rem, 6vh, 5rem); pointer-events: none; }
.stage__copy a, .stage__copy button { pointer-events: auto; }
.stage__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(5,7,10,0.94) 2%, rgba(5,7,10,0.35) 42%, rgba(5,7,10,0) 70%), linear-gradient(90deg, rgba(5,7,10,0.6) 0%, rgba(5,7,10,0) 55%), linear-gradient(180deg, rgba(5,7,10,0.8) 0%, rgba(5,7,10,0) 17%); }
.stage__cap { position: absolute; z-index: 2; left: 1rem; bottom: 0.9rem; color: var(--text-3); }

.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; background: rgba(5,7,10,0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: auto; }
.seg button { min-height: 44px; padding: 0 1.1rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); transition: background 0.25s, color 0.25s; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--ink-0); }
.seg button:not([aria-pressed="true"]):hover { color: var(--text); }

/* ── Savings: towers of power ─────────────────────── */
.save__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.save__ctl { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 1.25rem; }
.save__ctl label { color: var(--text-2); }
.save__gpus { font-stretch: 118%; font-weight: 560; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.save__ctl input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0.5rem 0 0; cursor: grab; }
.save__ctl input[type="range"]:active { cursor: grabbing; }
.save__ctl input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--text) var(--p, 16%), var(--line-2) var(--p, 16%)); }
.save__ctl input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
.save__ctl input[type="range"]::-moz-range-progress { height: 2px; background: var(--text); }
.save__ctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--text); border: 6px solid var(--ink-1); box-shadow: 0 0 0 1px var(--text); margin-top: -11px; transition: transform 0.2s var(--ease); }
.save__ctl input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 6px solid var(--ink-1); box-shadow: 0 0 0 1px var(--text); }
.save__ctl input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
.save__scale { grid-column: 1 / -1; position: relative; height: 1.2em; color: var(--text-3); }
.save__scale span { position: absolute; transform: translateX(-50%); }
.save__scale span:first-child { transform: none; }
.save__scale span:last-child { transform: translateX(-100%); }
.save__read .fig__n { font-size: clamp(3rem, 6.4vw, 5.75rem); }
.save__sky { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.25rem, 1.4vw, 1.5rem); align-items: end; border-bottom: 1px solid var(--line-2); }
.tower { display: block; width: 100%; height: auto; max-height: 17rem; overflow: visible; }
.tower__line { fill: none; stroke: var(--text-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tower__sure, .tower__maybe { fill: var(--chart-cyan); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 0.5s var(--ease); transition-delay: calc(var(--k, 0) * 18ms); }
.tower__maybe { opacity: 0.32; }
.tower__floors { fill: none; stroke: var(--ink-1); stroke-width: 1.4; }
.save__key { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; align-items: center; margin-top: 1.25rem; color: var(--text-2); font-size: 0.875rem; }
.save__unit { margin-left: auto; color: var(--text-3); }
.save__figs { margin-top: clamp(2.5rem, 5vw, 4rem); }
.save__figs .fig__n { font-size: clamp(2.1rem, 3.5vw, 3.25rem); }

/* ── Product cards ────────────────────────────────── */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product { position: relative; background: var(--ink-0); display: flex; flex-direction: column; min-height: clamp(30rem, 52vw, 44rem); overflow: hidden; isolation: isolate; }
.product__img { position: absolute; inset: 0; z-index: -1; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; opacity: 0.9; }
.product:hover .product__img img { transform: scale(1.035); opacity: 1; }
.product__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,10,0.96) 6%, rgba(5,7,10,0.5) 46%, rgba(5,7,10,0.1) 78%); }
.product__top { display: flex; justify-content: space-between; padding: clamp(1.25rem, 2.4vw, 2rem); color: var(--text-2); }
.product__body { margin-top: auto; padding: clamp(1.25rem, 2.4vw, 2rem); }
.product__body .h2 { margin: 0.9rem 0 0.9rem; }
.product__body p { color: var(--text-2); max-width: 34rem; }
.product__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.product__link::after { content: ""; position: absolute; inset: 0; }
.product__link { white-space: nowrap; flex: none; }
.product--wide { min-height: clamp(28rem, 44vw, 38rem); border: 1px solid var(--line); }
.product--wide .product__img::after { background: linear-gradient(90deg, rgba(5,7,10,0.88) 0%, rgba(5,7,10,0.5) 48%, rgba(5,7,10,0.05) 100%), linear-gradient(0deg, rgba(5,7,10,0.92) 4%, rgba(5,7,10,0) 60%); }
.product--wide .product__body .h2 { font-size: clamp(2.1rem, 4.6vw, 4.25rem); margin-bottom: 1.1rem; }

/* ── Figures: hero numbers, spec rows ─────────────── */
.figs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fig { padding: 1.75rem 1.5rem 0 0; }
.fig + .fig { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fig__n { font-stretch: 118%; font-weight: 560; font-size: clamp(2.4rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig__n small { font-size: 0.42em; letter-spacing: 0; font-weight: 500; margin-left: 0.12em; color: var(--text-2); }
.fig__l { margin-top: 0.9rem; color: var(--text); font-weight: 520; }
.fig__d { margin-top: 0.35rem; color: var(--text-3); font-size: 0.9rem; line-height: 1.45; max-width: 26ch; }

.specs { border-top: 1px solid var(--line); }
.specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--text-2); font-size: 0.95rem; }
.specs dd { font-family: var(--font-mono); font-size: 0.875rem; text-align: right; font-variant-numeric: tabular-nums; }

/* ── Chart: light delivered ───────────────────────── */
.chart { --track: var(--ink-3); }
.chart__legend { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; color: var(--text-2); font-size: 0.875rem; }
.chart__key { display: inline-flex; align-items: center; gap: 0.55rem; }
.chart__key i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.chart__row { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; align-items: center; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); position: relative; outline-offset: 2px; }
.chart__row:last-of-type { border-bottom: 1px solid var(--line); }
.chart__name { font-size: 0.95rem; color: var(--text); }
.chart__name small { display: block; color: var(--text-3); font-size: 0.8rem; }
.chart__plot { position: relative; height: 44px; }
.chart__plot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.chart__bar { position: absolute; top: 50%; height: 16px; transform: translateY(-50%); background: var(--c); border-radius: 0 4px 4px 0; left: 0; width: var(--v); transition: width 1.2s var(--ease); }
.chart__bar--range { left: var(--lo); width: calc(var(--hi) - var(--lo)); border-radius: 4px; }
.chart__val { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--at) + 0.75rem); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart__tip { position: absolute; z-index: 5; left: 12rem; bottom: calc(100% - 0.4rem); max-width: 22rem; padding: 0.6rem 0.8rem; background: var(--ink-3); border: 1px solid var(--line-2); font-size: 0.8125rem; line-height: 1.45; color: var(--text); opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; }
.chart__row:hover .chart__tip, .chart__row:focus-visible .chart__tip { opacity: 1; transform: none; }
.chart__axis { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 1rem; margin-top: 0.5rem; color: var(--text-3); }
.chart__axis div { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem; }
.js .is-pre .chart__bar { width: 0; }
.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; }

/* ── Laser calculator ─────────────────────────────── */
.calc { border: 1px solid var(--line); background: var(--ink-1); padding: clamp(1.25rem, 2.5vw, 2.25rem); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.75rem 0; }
.calc__n { font-stretch: 118%; font-weight: 560; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; padding: 0; border: 0; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--chart-amber) 0 var(--today), var(--line-2) var(--today) 100%); }
.calc input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 5px solid var(--ink-1); box-shadow: 0 0 0 1px var(--text); margin-top: -10px; }
.calc input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 5px solid var(--ink-1); box-shadow: 0 0 0 1px var(--text); }
.calc__marks { position: relative; height: 2.6rem; color: var(--text-3); }
.calc__marks span { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; text-align: center; }
.calc__marks span::before { content: ""; display: block; width: 1px; height: 8px; background: currentColor; margin: 0 auto 4px; }
.calc__marks span:first-child { transform: none; text-align: left; } .calc__marks span:first-child::before { margin-left: 0; }
.calc__marks .is-us { color: var(--cyan); }

/* ── Plan drawings (package shift) ────────────────── */
.shift { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.shift__cell { background: var(--ink-0); padding: 1.25rem 1.25rem 1.5rem; }
.section--raised .shift__cell { background: var(--ink-1); }
.shift__cell svg { width: 100%; height: auto; margin: 0.75rem 0 1.25rem; }
.shift__cell h3 { font-size: 1rem; font-weight: 560; }
.shift__cell p { font-size: 0.9rem; color: var(--text-3); margin-top: 0.3rem; line-height: 1.45; }
.shift__yr { color: var(--text-3); }
.pl-o { fill: none; stroke: var(--text-3); stroke-width: 1; }
.pl-f { fill: var(--ink-3); stroke: var(--text-2); stroke-width: 1; }
.pl-e { fill: none; stroke: var(--amber); stroke-width: 1; }
.pl-l { fill: none; stroke: var(--cyan); stroke-width: 1.25; }
.pl-lf { fill: var(--cyan); }
.pl-t { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.06em; fill: var(--text-3); text-transform: uppercase; }

/* ── Columns of statements ────────────────────────── */
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols > * { background: var(--ink-0); padding: 2rem 2rem 2.25rem 0; }
.cols > * + * { padding-left: 2rem; }
.section--raised .cols > * { background: var(--ink-1); }
.cols h3 { margin: 1rem 0 0.6rem; }
.cols p { color: var(--text-2); font-size: 0.975rem; }
.idx { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.08em; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.compare > div { background: var(--ink-0); padding: clamp(1.25rem, 2.4vw, 2rem); }
.compare h3 { margin: 0.9rem 0 1rem; }
.compare li { position: relative; padding: 0.7rem 0 0.7rem 1.4rem; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.975rem; }
.compare li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 0.6rem; height: 1px; background: var(--c, var(--text-3)); }

/* ── Page header (inner pages without a stage) ────── */
.phead { padding: calc(var(--nav-h) + clamp(4rem, 9vw, 8rem)) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.phead .h1 { margin: 1.5rem 0; max-width: 16ch; }

/* ── CTA band ─────────────────────────────────────── */
.cta { border-top: 1px solid var(--line); background: var(--ink-1); padding: clamp(4.5rem, 9vw, 8rem) 0; }
.cta__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta .h1 { max-width: 14ch; }
.cta p { color: var(--text-2); max-width: 38ch; margin-top: 1.25rem; }

/* ── Forms ────────────────────────────────────────── */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 0.55rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.8rem 0.95rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--ink-1); border: 1px solid var(--line-2); border-radius: 2px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1aab8' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field select option { background: var(--ink-1); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); background: var(--ink-2); }
.field__hint { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--text-3); }
.field__err { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--danger); }
.form__errors { border: 1px solid var(--line-2); border-left: 2px solid var(--danger); padding: 1rem 1.1rem; font-size: 0.9rem; color: var(--text); }
.form__errors li { color: var(--text-2); margin-top: 0.25rem; }
.aside-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.aside-list li:last-child { border-bottom: 1px solid var(--line); }
.aside-list b { display: block; font-weight: 560; }
.aside-list span { color: var(--text-2); font-size: 0.95rem; }

/* ── Footer ───────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--ink-0); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot__top p { color: var(--text-2); max-width: 30ch; margin-top: 1.25rem; font-size: 0.95rem; }
.foot h2 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); font-weight: 450; margin-bottom: 1rem; }
.foot li + li { margin-top: 0.55rem; }
.foot li a { color: var(--text-2); font-size: 0.95rem; transition: color 0.2s; }
.foot li a:hover { color: var(--text); }
.foot__word { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.8; font-size: clamp(2.5rem, 12.2vw, 12.6rem); color: var(--ink-2); overflow: hidden; margin: clamp(3rem, 6vw, 5rem) 0 1.5rem -0.04em; user-select: none; white-space: nowrap; }
.foot__base { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.8125rem; }

/* ── Reveal ───────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1000px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
  .products, .compare { grid-template-columns: 1fr; }
  .shift { grid-template-columns: 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .cols > *, .cols > * + * { padding: 1.75rem 0 2rem; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; }
  .nav__sheet { display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); background: var(--ink-0); padding: 1.5rem var(--gutter) 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s; }
  .nav.is-open .nav__sheet { visibility: visible; opacity: 1; }
  .nav__sheet a.nav__big { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); font-stretch: 112%; font-weight: 540; font-size: 1.5rem; }
  .nav__big .arr { width: 0.72em; height: 0.72em; color: var(--text-3); }
  .nav__sheet .btn { width: 100%; margin-top: 2rem; }
  .film__shade { background: linear-gradient(0deg, rgba(5,7,10,0.95) 0%, rgba(5,7,10,0.72) 38%, rgba(5,7,10,0) 70%); }
  .beat { align-items: flex-end; padding-bottom: 3rem; }
  .film__hud, .hero__meta { display: none; }
  .beat--hold > .wrap { top: 46vh; top: 46svh; }
  .figs { grid-template-columns: 1fr; }
  .save__top { grid-template-columns: 1fr; }
  .save__unit { margin-left: 0; flex-basis: 100%; }
  .fig, .fig + .fig { padding: 1.5rem 0; border-left: 0; }
  .fig + .fig { border-top: 1px solid var(--line); }
  .form__row, .calc__out { grid-template-columns: 1fr; }
  .shift { grid-template-columns: 1fr; }
  .chart__row, .chart__axis { grid-template-columns: 1fr; gap: 0.25rem; }
  .chart__axis > span { display: none; }
  .chart__tip { left: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__top > :first-child { grid-column: 1 / -1; }
  .actions .btn { flex: 1 1 auto; }
  .stage--panel { aspect-ratio: 4 / 5; }
  .product { min-height: 32rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .film__poster, .stage > img { animation: none !important; }
  .live-only { display: none; }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 * Only site.css is pulled in here. admin.css is served on its own, to the admin pages only.
 *


 */
