/* Ballast — concept site. One stylesheet, tokens first. */

@property --lw { syntax: "<length>"; inherits: false; initial-value: 6px; }
@property --sweep { syntax: "<percentage>"; inherits: false; initial-value: 130%; }
@property --o { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  color-scheme: light;
  --paper: #f2f3ef;
  --surface: #e8eae4;
  --card: #fbfbf8;
  --ink: #0d1b2a;
  --muted: #4a5563;
  --subtle: #5c6672;
  --article: #33404d;
  --line: rgba(13, 27, 42, .12);
  --line-strong: rgba(13, 27, 42, .24);
  --ring: 0 0 0 1px rgba(13, 27, 42, .06);
  --glass: rgba(242, 243, 239, .72);
  --brass: #a8834a;
  --brass-hover: #8f6d38;
  --brass-ink: #74572a;
  --green: #2f8f6b;
  --green-ink: #22694e;
  --red: #d64545;
  --tint-green: #e1ebe4;
  --tint-brass: #efe6d6;
  --btn-bg: var(--ink);
  --btn-fg: #f2f3ef;
  --shadow-card: 0 14px 30px -14px rgba(13, 37, 58, .30), 0 1px 3px rgba(13, 37, 58, .10);
  --shadow-chip: 0 18px 36px -14px rgba(13, 47, 72, .28), 0 2px 4px rgba(13, 37, 58, .08);
  --emboss: 0 1px 2px rgba(255, 255, 255, .9), 0 -1px 2px rgba(0, 0, 0, .04);
  --ui-bg: #0c1823;
  --ui-surface: #11202e;
  --ui-raise: #162838;
  --ui-line: rgba(255, 255, 255, .08);
  --ui-text: #c6cfd6;
  --ui-strong: #eef1ee;
  --ui-muted: #8996a2;
  --ui-deboss: inset 0 .75px .75px rgba(0, 0, 0, .45), inset 0 -.75px .5px rgba(255, 255, 255, .06), 0 .75px 0 rgba(255, 255, 255, .05);
  --serif: "Petrona", Georgia, serif;
  --sans: "Albert Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-stat: clamp(2.7rem, 1.987rem + 3.042vw, 4.725rem);
  --fs-h1: clamp(2.1375rem, 1.702rem + 1.859vw, 3.375rem);
  --fs-h2: clamp(1.6875rem, 1.41rem + 1.184vw, 2.475rem);
  --fs-2xl: clamp(1.35rem, 1.192rem + .676vw, 1.8rem);
  --fs-xl: clamp(1.25rem, 1.162rem + .376vw, 1.5rem);
  --fs-lg: clamp(1.125rem, 1.081rem + .188vw, 1.25rem);
  --fs-base: clamp(1rem, .956rem + .188vw, 1.125rem);
  --fs-sm: clamp(.875rem, .853rem + .094vw, .9375rem);
  --fs-xs: clamp(.75rem, .728rem + .094vw, .8125rem);
  --container: 1080px;
  --gutter: clamp(12px, 5vw - 8px, 40px);
  --sec: 80px;
  --header-h: 88px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-ui: cubic-bezier(.4, 0, .2, 1);
  --theme-duration: 0s;
}
@media (max-width: 1023px) { :root { --sec: 64px; } }
@media (max-width: 639px) { :root { --sec: 48px; } }

body[data-theme="dark"] .site-header, [data-zone].is-dark {
  color-scheme: dark;
  --paper: #0a1520;
  --surface: #102131;
  --card: #0f1d2b;
  --ink: #eef1ee;
  --muted: #a9b4bd;
  --subtle: #95a1ab;
  --article: #c7d0d7;
  --line: rgba(238, 241, 238, .12);
  --line-strong: rgba(238, 241, 238, .24);
  --ring: 0 0 0 1px rgba(238, 241, 238, .08);
  --glass: rgba(10, 21, 32, .72);
  --brass-ink: #cfaa6e;
  --green-ink: #5fc39b;
  --tint-green: #12302a;
  --tint-brass: #2c2618;
  --btn-bg: #eef1ee;
  --btn-fg: #0a1520;
  --emboss: 0 1px 2px rgba(255, 255, 255, .03), 0 -1px 2px rgba(0, 0, 0, .2);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; scrollbar-color: rgba(13, 27, 42, .3) transparent; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-base)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color var(--theme-duration) ease, color var(--theme-duration) ease;
}
body.theme-ready { --theme-duration: .5s; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #e2c48e; color: #0d1b2a; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
input, textarea, select { caret-color: var(--brass); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 20px; border-radius: 9999px;
  background: var(--ink); color: var(--paper); font: 500 15px/1.5 var(--sans); text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(1400px + 2 * var(--gutter)); }
.section { padding-block: var(--sec); }

.h1, .h2, .h2s { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.02em; }
.h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.015em; }
.h2s { font-size: var(--fs-2xl); line-height: 1.25; letter-spacing: -.01em; }
.h3 { font: 500 var(--fs-xl)/1.35 var(--sans); letter-spacing: -.005em; }
.h3t { font: 500 var(--fs-lg)/1.5 var(--sans); }
.lead { font-size: var(--fs-base); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 500; }
.label { font: 500 var(--fs-xs)/1.5 var(--sans); letter-spacing: .01em; color: var(--subtle); }
.mono { font-family: var(--mono); }
.stamp {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 11px/1 var(--mono); letter-spacing: .02em; color: inherit;
  padding: 5px 7px; border-radius: 4px; background: rgba(13, 27, 42, .07);
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 47px; padding: 12px 24px; border-radius: 9999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 var(--fs-sm)/1.5 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s var(--ease-ui), color .15s var(--ease-ui), transform .15s var(--ease-ui), opacity .15s;
}
.btn:hover { background: color-mix(in oklab, var(--btn-bg) 86%, var(--brass)); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px dashed var(--line-strong); }
.btn--ghost:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); border-style: solid; }
.tlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--muted); font-size: var(--fs-base); font-weight: 500;
  text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--ink) 25%, transparent);
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .15s var(--ease-ui), text-decoration-color .15s var(--ease-ui);
}
.tlink svg { width: 14px; height: 14px; transition: transform .15s var(--ease-ui); }
.tlink:hover { color: var(--ink); text-decoration-color: var(--ink); }
.tlink:hover svg { transform: translateX(2px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); pointer-events: none; }
.site-header__in {
  position: relative; height: var(--header-h); max-width: calc(1400px + 2 * var(--gutter)); margin-inline: auto;
  padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; pointer-events: none;
}
.site-header__in > * { pointer-events: auto; }
.pill {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--ring), var(--emboss);
  border-radius: 8px;
  transition: background-color var(--theme-duration) ease;
}
.brand {
  display: flex; align-items: center; gap: 10px; height: 61px; padding: 0 30px 0 28px;
  text-decoration: none; color: var(--ink); overflow: hidden; max-width: 182px;
  transition: max-width .45s var(--ease), padding .45s var(--ease), background-color .15s;
}
.brand:hover { background: color-mix(in oklab, var(--paper) 80%, var(--ink) 8%); }
.brand__mark { flex: none; width: 25px; height: 22px; }
.brand__word { font: 400 25px/1 var(--serif); letter-spacing: -.01em; transition: opacity .3s var(--ease); white-space: nowrap; }
.is-scrolled .brand { max-width: 81px; padding: 0 28px; }
.is-scrolled .brand__word { opacity: 0; }
.nav-pill { display: flex; align-items: center; height: 55px; padding: 6px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; height: 43px; padding: 0 12px; border-radius: 9999px;
  font: 500 15px/1.5 var(--sans); color: var(--muted); text-decoration: none;
  transition: color .15s var(--ease-ui);
}
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav__sep { width: 1px; height: 18px; background: var(--line-strong); margin-inline: 6px; }
.nav .btn { min-height: 43px; padding: 10px 14px; font-size: 15px; }
.i-open, .i-close, .i-pause, .i-play { display: contents; }
.menu-btn, .menu-panel { display: none; }

@media (max-width: 1023px) {
  .nav-pill { display: none; }
  .brand, .is-scrolled .brand { height: 59px; max-width: 160px; padding: 0 22px 0 20px; }
  .is-scrolled .brand__word { opacity: 1; }
  .menu-btn { display: grid; place-items: center; width: 56px; height: 56px; border: 0; cursor: pointer; color: var(--ink); }
  .menu-btn svg { width: 20px; height: 20px; }
  .menu-btn .i-close { display: none; }
  .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .menu-panel {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 87px;
    display: grid; gap: 2px; padding: 8px 6px 6px; border-radius: 8px;
    background: color-mix(in oklab, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .menu-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 55px; padding: 0 12px; font: 400 18px/1.5 var(--sans); color: var(--muted); text-decoration: none; }
  .menu-panel a:not(.btn):hover { color: var(--ink); }
  .menu-panel .btn { width: 100%; min-height: 48px; font-size: 18px; margin-top: 6px; }
}

/* ---------- headline reveal: thin water-level lines thicken into letters ---------- */
.js-motion [data-reveal].rv-armed {
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 var(--lw), transparent var(--lw) 6px), linear-gradient(to top, #000 calc(var(--sweep) - 30%), transparent var(--sweep));
          mask-image: repeating-linear-gradient(to bottom, #000 0 var(--lw), transparent var(--lw) 6px), linear-gradient(to top, #000 calc(var(--sweep) - 30%), transparent var(--sweep));
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  --lw: .6px; --sweep: 0%;
  color: var(--brass);
}
.js-motion [data-reveal].rv-play { animation: rv-lines 1.2s var(--ease) forwards, rv-ink .45s ease-out .8s forwards; }
@keyframes rv-lines { 0% { --lw: .6px; --sweep: 0%; } 60% { --lw: 2px; --sweep: 130%; } 100% { --lw: 6px; --sweep: 130%; } }
@keyframes rv-ink { to { color: var(--ink); } }
.js-motion .cta [data-reveal].rv-play { animation: rv-lines 1.2s var(--ease) forwards, rv-ink-l .45s ease-out .8s forwards; }
@keyframes rv-ink-l { to { color: #eef1ee; } }
.js-motion [data-reveal].rv-done { -webkit-mask-image: none; mask-image: none; color: inherit; animation: none; }

/* ---------- dawn intro (once per session) ---------- */
.dawn {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  display: grid; place-items: center;
  background:
    linear-gradient(to top, #f2f3ef 0 calc(var(--o) * 100%), transparent calc(var(--o) * 100% + 24%)),
    radial-gradient(120% 55% at 50% 100%, #ecd3a0 0%, #a8834a 20%, #2b3a4a 48%, transparent 68%),
    linear-gradient(to bottom, #04090f 0%, #0a1520 45%, #1b2836 78%, #33393d 100%);
  animation: dawn-failsafe .01s linear 2.4s forwards;
}
.dawn__text { font: 400 13px/1 var(--mono); color: #e3cda4; letter-spacing: .08em; transition: opacity .2s; }
.dawn.is-rising { animation: dawn-rise .7s cubic-bezier(.5, 0, .2, 1) forwards; }
.dawn.is-rising .dawn__text { opacity: 0; }
@keyframes dawn-rise { 0% { --o: 0; } 82% { --o: 1; opacity: 1; } 100% { --o: 1; opacity: 0; } }
@keyframes dawn-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; border-bottom: 1px dashed var(--line); overflow: clip; isolation: isolate; }
.hero__top { padding-top: 96px; }
.hero__foot { padding-bottom: 80px; }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 40% at 50% 58%, rgba(168, 131, 74, .26), transparent 72%), radial-gradient(48% 34% at 26% 64%, rgba(47, 92, 120, .18), transparent 72%), radial-gradient(40% 30% at 76% 50%, rgba(47, 92, 120, .12), transparent 70%); }
.hero .h1 { max-width: 20ch; margin-inline: auto; }
.hero__sub { max-width: 600px; margin: 24px auto 0; }
.hero__cta { margin-top: 40px; }
.hero__stage {
  --bw: clamp(630px, calc(100vw - 2 * var(--gutter)), 1312px);
  --fw: calc(var(--bw) * 1266 / 1312);
  position: relative; width: var(--bw); margin: 80px auto 0; text-align: left;
}
.hero__stage::after {
  content: ""; position: absolute; inset: -40px; pointer-events: none; opacity: 0; z-index: 3;
  background: repeating-linear-gradient(to bottom, rgba(168, 131, 74, .28) 0 1px, transparent 1px 6px);
  -webkit-mask-image: radial-gradient(110px at var(--mx, 50%) var(--my, 50%), #000, rgba(0, 0, 0, .35) 45%, transparent);
          mask-image: radial-gradient(110px at var(--mx, 50%) var(--my, 50%), #000, rgba(0, 0, 0, .35) 45%, transparent);
  transition: opacity .2s ease;
}
@media (hover: hover) { .hero__stage:hover::after { opacity: 1; } }
@media (max-width: 639px) { .hero__stage { margin-left: var(--gutter); } }
.pausebtn.film__pause { position: absolute; left: 0; bottom: -52px; z-index: 4; min-height: 44px; padding: 0 14px; }
.film__pause .i-play, .is-paused .film__pause .i-pause { display: none; }
.is-paused .film__pause .i-play { display: block; }
.hero__label { margin-top: 64px; font: 500 var(--fs-sm)/1.5 var(--sans); color: var(--muted); }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--container); margin: 24px auto 0; color: var(--ink); }
.logo-w { white-space: nowrap; opacity: .8; }
.logo-w--1 { font: 600 19px/40px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.logo-w--2 { font: italic 400 28px/40px var(--serif); }
.logo-w--3 { font: 500 24px/40px var(--sans); letter-spacing: -.03em; }
.logo-w--4 { font: 400 26px/40px var(--serif); letter-spacing: .05em; font-variant: small-caps; }
.logo-w--5 { font: 600 23px/40px var(--sans); letter-spacing: -.035em; }
.logo-w svg { display: inline-block; vertical-align: -3px; width: 20px; height: 20px; margin-right: 8px; }
@media (max-width: 1023px) {
  .logos { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 22px 12px; max-width: 640px; }
  .logo-w:nth-child(3), .logo-w:last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .hero__top { padding-top: 56px; }
  .hero__foot { padding-bottom: 48px; }
  .hero .h1 { max-width: 11ch; }
  .logo-w--2, .logo-w--3, .logo-w--4, .logo-w--5 { font-size: 20px; }
  .logo-w--1 { font-size: 15px; }
}
@media (max-width: 400px) {
  .logos { grid-template-columns: 1fr; gap: 12px; }
  .logo-w:nth-child(3), .logo-w:last-child { grid-column: auto; }
}

/* ---------- product film (designed at 1280, scaled) ---------- */
.film { position: relative; width: var(--fw); height: calc(var(--fw) * 765 / 1266); }
.film__scale { position: absolute; left: 0; top: 0; width: 1280px; height: 774px; transform: scale(var(--s, .989)); transform-origin: 0 0; }
.film__frame {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden;
  background: var(--ui-bg); color: var(--ui-text);
  box-shadow: 0 0 0 1px rgba(242, 243, 239, .12), 0 24px 48px -32px rgba(0, 0, 0, .6);
  font: 400 13px/1.5 var(--sans);
}
.film__bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px; border-bottom: 1px solid var(--ui-line); background: var(--ui-surface); }
.film__icons { display: flex; gap: 10px; color: var(--ui-muted); }
.film__icons i { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .7; }
.film__icons i:nth-child(2) { border-radius: 50%; }
.film__crumb { font: 400 12px/1 var(--mono); color: var(--ui-muted); }
.film__crumb b { color: var(--ui-strong); font-weight: 400; }
.film__ws { padding: 5px 9px; border-radius: 6px; box-shadow: var(--ui-deboss); font-size: 12px; color: var(--ui-text); }
.film__status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 9999px; font: 500 12px/1 var(--sans);
  background: rgba(214, 69, 69, .16); color: #ff9c9c;
  transition: background-color .38s var(--ease), color .38s var(--ease);
}
.film__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.film[data-tone="brass"] .film__status { background: rgba(168, 131, 74, .2); color: #e2bd7f; }
.film[data-tone="green"] .film__status { background: rgba(47, 143, 107, .2); color: #7ad7ae; }
.film__dots { display: flex; gap: 5px; margin-left: 6px; }
.film__dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); transition: background-color .38s; }
.film__dots i.on { background: var(--brass); }
.film__body { position: absolute; left: 0; top: 52px; right: 0; bottom: 0; }
.film__main { position: absolute; left: 0; top: 0; bottom: 0; width: 880px; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.4px); background-size: 18px 18px; }
.film__h { font: 400 27px/1.2 var(--serif); color: var(--ui-strong); letter-spacing: -.01em; }
.film__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 3px; font: 400 12px/1.4 var(--mono); color: var(--ui-text); box-shadow: var(--ui-deboss); background: rgba(255, 255, 255, .02); }
.chip--red { color: #ff9c9c; } .chip--brass { color: #e2bd7f; } .chip--green { color: #7ad7ae; }
.scene { position: absolute; inset: 34px 40px 268px; opacity: 0; transform: translateY(10px); transition: opacity .22s var(--ease), transform .38s var(--ease); }
.scene.on { opacity: 1; transform: none; transition-delay: .16s; }
/* timeline band: the night in five marks and the p99 line that rises and falls with it */
.film__tl { position: absolute; left: 40px; right: 40px; bottom: 30px; height: 210px; padding: 18px 20px; border-radius: 10px; background: var(--ui-surface); box-shadow: 0 0 0 1px var(--ui-line); display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.film__tl-h { font: 500 13.5px/1 var(--sans); color: var(--ui-strong); }
.tl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; font: 400 12px/1.3 var(--mono); color: var(--ui-muted); }
.tl li { padding-top: 10px; border-top: 2px solid rgba(255, 255, 255, .1); transition: color .38s var(--ease), border-color .38s var(--ease); }
.tl li.on { color: var(--ui-strong); border-top-color: var(--brass); }
.p99 { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 14px; }
.p99__l { font: 400 12px/1 var(--mono); color: var(--ui-muted); }
.p99__v { font: 400 14px/1 var(--mono); color: var(--ui-strong); }
.p99__bars { height: 72px; display: flex; align-items: flex-end; gap: 4px; }
.p99__bars i { flex: 1; height: calc(var(--h) * 100%); background: repeating-linear-gradient(to top, #e2bd7f 0 2px, transparent 2px 5px); transition: opacity .38s; }
.p99__bars i.off { opacity: .14; }
.ucard { background: var(--ui-surface); border-radius: 10px; box-shadow: 0 0 0 1px var(--ui-line); padding: 22px 24px; }
.ucard__t { font: 500 15px/1.4 var(--sans); color: var(--ui-strong); }
.ucard__s { font-size: 13px; color: var(--ui-muted); margin-top: 8px; }
.alert-card { margin-top: 22px; box-shadow: 0 0 0 1px rgba(214, 69, 69, .35), 0 0 0 6px rgba(214, 69, 69, .06); }
.alert-card .ucard__t { font: 400 16px/1.4 var(--mono); color: #ffc3c3; }
.ev-h { font: 500 13.5px/1 var(--sans); color: var(--ui-strong); margin: 22px 0 12px; }
.ev { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 6px; background: var(--ui-surface); box-shadow: 0 0 0 1px var(--ui-line); font: 400 13px/1.45 var(--mono); color: var(--ui-text); opacity: 0; transform: translateY(8px); transition: opacity .38s var(--ease), transform .38s var(--ease); }
.ev + .ev { margin-top: 8px; }
.ev.on { opacity: 1; transform: none; }
.ev__src { font: 500 11px/1 var(--sans); color: var(--ui-muted); padding: 4px 6px; border-radius: 3px; box-shadow: var(--ui-deboss); text-align: center; }
.ev--out { color: var(--ui-muted); }
.ev--out s { text-decoration-color: rgba(255, 255, 255, .4); }
.ev--out em { font: normal 500 11px/1 var(--sans); margin-left: 10px; color: var(--ui-muted); }
.chain { display: flex; align-items: center; gap: 10px; margin-top: 20px; opacity: 0; transition: opacity .38s var(--ease); }
.chain.on { opacity: 1; }
.chain span { padding: 8px 12px; border-radius: 6px; font: 400 12.5px/1 var(--mono); color: var(--ui-strong); background: var(--ui-raise); box-shadow: 0 0 0 1px var(--ui-line); white-space: nowrap; }
.chain span:first-child { box-shadow: 0 0 0 1px rgba(168, 131, 74, .6); }
.chain span:last-child { box-shadow: 0 0 0 1px rgba(214, 69, 69, .5); }
.chain svg { width: 26px; height: 10px; color: var(--ui-muted); flex: none; }
.diff { margin-top: 16px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--ui-line); font: 400 13px/1.9 var(--mono); }
.diff__file { display: flex; justify-content: space-between; padding: 8px 14px; color: var(--ui-muted); background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--ui-line); font-size: 12px; }
.diff__l { padding: 0 14px; white-space: pre; color: var(--ui-text); }
.diff__l.del { background: rgba(214, 69, 69, .13); color: #ffb3b3; }
.diff__l.add { background: rgba(47, 143, 107, .16); color: #93e3bf; }
.ubtns { display: flex; gap: 10px; margin-top: 18px; }
.ubtn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9999px; font: 500 13px/1 var(--sans); box-shadow: 0 0 0 1px var(--ui-line); color: var(--ui-text); }
.ubtn--p { background: var(--ui-strong); color: var(--ui-bg); box-shadow: none; transition: transform .3s ease, background-color .3s; }
.ubtn--p.pressed { transform: scale(.97); background: #7ad7ae; }
.checks { display: grid; gap: 8px; margin-top: 14px; }
.check { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 6px; background: var(--ui-surface); box-shadow: 0 0 0 1px var(--ui-line); font: 400 13.5px/1.4 var(--mono); color: var(--ui-muted); transition: color .38s, box-shadow .38s; }
.check i { position: relative; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; flex: none; transition: background-color .38s; }
.check.ok { color: var(--ui-strong); box-shadow: 0 0 0 1px rgba(47, 143, 107, .4); }
.check.ok i { background: var(--green); box-shadow: none; }
.check.ok i::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid #0c1823; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.checks__end { margin-top: 16px; font: 600 15px/1 var(--sans); color: #7ad7ae; opacity: 0; transition: opacity .38s; }
.checks__end.on { opacity: 1; }
.pm__sum { font-size: 15px; line-height: 1.6; color: var(--ui-text); margin-top: 14px; max-width: 68ch; }
.pm__item { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 12px 14px; border-radius: 6px; box-shadow: 0 0 0 1px var(--ui-line); font-size: 13.5px; color: var(--ui-strong); }
.film__side {
  position: absolute; left: 902px; top: 44px; width: 425px; height: 705px;
  border-radius: 14px; background: #0f1d2a; color: var(--ui-text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; overflow: hidden; font: 400 14px/1.5 var(--sans);
}
.film__side header { display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: #13222f; border-bottom: 1px solid var(--ui-line); color: var(--ui-strong); font-weight: 500; }
.film__side header svg { width: 20px; height: 18px; color: var(--brass); }
.side__log { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; padding: 18px 16px; overflow: hidden; }
.side__msg { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--ui-line); display: none; }
.side__msg.on { display: block; animation: msg-in .38s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.side__msg small { display: block; font: 400 11px/1 var(--mono); color: var(--ui-muted); margin-bottom: 6px; }
.side__msg.now { box-shadow: 0 0 0 1px rgba(168, 131, 74, .45); }
.side__compose { margin: 0 16px 16px; height: 46px; border-radius: 10px; box-shadow: var(--ui-deboss); background: rgba(0, 0, 0, .18); }

/* ---------- capabilities (dark zone) ---------- */
.caps__h { max-width: 740px; }
.feat { display: grid; grid-template-columns: 416px 1fr; gap: 12px; margin-top: 32px; }
.caps__h + .feat { margin-top: 48px; }
.feat--flip { grid-template-columns: 1fr 416px; }
.feat--flip .feat__text { order: 2; }
.feat__text { align-self: center; padding: 31px 40px 0; }
.feat__text .lead { margin-top: 12px; }
.eyebrow { display: flex; gap: 10px; font: 600 var(--fs-xs)/1.5 var(--sans); letter-spacing: .01em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 11px; }
.eyebrow span:first-child { font-variant-numeric: tabular-nums; opacity: .75; }
.window {
  position: relative; aspect-ratio: 652 / 512; border-radius: 8px; overflow: hidden; isolation: isolate;
  background: #0b2030 url("../assets/field-caustics.webp") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.window > canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.window::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(to bottom, rgba(242, 222, 180, .24) 0 1px, transparent 1px 6px);
  -webkit-mask-image: radial-gradient(110px at var(--mx, 50%) var(--my, 50%), #000, rgba(0, 0, 0, .4) 45%, transparent);
          mask-image: radial-gradient(110px at var(--mx, 50%) var(--my, 50%), #000, rgba(0, 0, 0, .4) 45%, transparent);
  transition: opacity .2s ease;
}
@media (hover: hover) { .window:hover::after { opacity: 1; } }
.uicard {
  position: absolute; inset: 36px; border-radius: 6px; overflow: hidden;
  background: rgba(12, 24, 35, .92); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
  color: var(--ui-text); font: 400 13px/1.5 var(--sans); padding: 20px 22px;
  display: flex; flex-direction: column;
}
.uicard__t { display: flex; justify-content: space-between; align-items: center; font: 500 14px/1 var(--sans); color: var(--ui-strong); padding-bottom: 14px; border-bottom: 1px solid var(--ui-line); }
.inrow { display: grid; grid-template-columns: 10px 1fr; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--ui-line); font: 400 13px/1.4 var(--mono); color: var(--ui-strong); }
.inrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.inrow:nth-child(3) i { background: var(--brass); }
.uicard__foot { margin-top: auto; padding-top: 14px; font: 500 14px/1 var(--mono); color: #e2bd7f; }
.graph { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-top: 18px; }
.graph__nodes { display: grid; justify-items: start; align-content: center; }
.gnode { padding: 9px 13px; border-radius: 6px; font: 400 13px/1 var(--mono); color: var(--ui-strong); background: var(--ui-raise); box-shadow: 0 0 0 1px var(--ui-line); }
.gnode.n1 { box-shadow: 0 0 0 1px rgba(168, 131, 74, .6); }
.gnode.n2 { margin-left: 44px; } .gnode.n3 { margin-left: 88px; }
.gnode.n4 { margin-left: 132px; box-shadow: 0 0 0 1px rgba(214, 69, 69, .5); }
.glink { width: 2px; height: 22px; margin-left: 26px; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .3) 0 3px, transparent 3px 6px); animation: flow .6s linear infinite; }
.glink.l2 { margin-left: 70px; } .glink.l3 { margin-left: 114px; }
@keyframes flow { to { background-position-y: 6px; } }
.graph__note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ui-line); font: 400 12.5px/1.5 var(--mono); color: var(--ui-muted); }
.uicard__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; font: 400 12.5px/1 var(--mono); color: var(--ui-muted); }
.vbig { display: grid; gap: 10px; margin-top: 18px; }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 6px; background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px var(--ui-line); font: 400 14px/1.3 var(--mono); color: var(--ui-strong); }
.vrow em { font: normal 500 12px/1 var(--sans); color: #7ad7ae; white-space: nowrap; }
.vbars { display: flex; gap: 4px; margin-top: auto; padding-top: 16px; }
.vbars i { flex: 1; height: 26px; border-radius: 2px; background: rgba(47, 143, 107, .55); }
.caps__end { text-align: center; padding-top: 160px; }
.caps__end .btn { margin-top: 32px; }
@media (max-width: 1023px) {
  .feat, .feat--flip { grid-template-columns: 1fr; gap: 0; margin-top: 56px; }
  .feat--flip .feat__text { order: 0; }
  .feat__panel { order: -1; }
  .feat__text { padding: 24px 4px 0; max-width: 62ch; }
  .caps__end { padding-top: 96px; }
  .window.feat-win { aspect-ratio: auto; height: 420px; }
}
@media (max-width: 639px) {
  .window.feat-win { height: 412px; }
  .uicard { inset: 20px; padding: 16px; }
  .gnode.n2, .gnode.n3, .gnode.n4 { margin-left: 0; } .glink.l2, .glink.l3 { margin-left: 26px; }
  .graph { grid-template-columns: 1fr; }
  .uicard__meta { flex-wrap: wrap; }
}

/* ---------- testimonial cards ---------- */
.quote-card { display: grid; grid-template-columns: 760px 288px; gap: 16px; padding: 8px; border-radius: 8px; background: var(--card); box-shadow: var(--ring); }
.quote-card__body { display: flex; flex-direction: column; justify-content: space-between; padding: 26px 24px 24px; }
.quote { font: 400 var(--fs-2xl)/1.25 var(--sans); letter-spacing: -.01em; max-width: 576px; text-indent: -.42em; text-wrap: pretty; color: var(--ink); }
.who { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font: 400 32px/1 var(--serif); color: #74572a; background: radial-gradient(circle at 30% 25%, #f6efe2, #e2d3b8); box-shadow: inset 0 0 0 1px rgba(13, 27, 42, .08); }
.who__name { display: block; font: 500 var(--fs-lg)/1.5 var(--sans); }
.who__role { color: var(--muted); font-size: var(--fs-base); }
.stat { display: flex; flex-direction: column; min-height: 360px; border-radius: 6px; padding: 24px; background: #e1ebe4; box-shadow: inset 0 0 0 1px rgba(13, 27, 42, .06); color: #22694e; }
.stat--brass { background: #efe6d6; color: #74572a; }
.stat__n { display: flex; align-items: flex-start; gap: 4px; font: 400 var(--fs-stat)/1.02 var(--sans); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat__pct { width: .5em; height: .7em; margin-top: .12em; }
.stat__label { font-size: var(--fs-base); line-height: 1.4; margin-top: 10px; color: #23312b; }
.stat--brass .stat__label { color: #3a2f1d; }
.stat__viz { margin-top: auto; padding-top: 16px; }
.stat__stamp { margin-top: 12px; align-self: flex-start; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.ba__col { display: flex; flex-direction: column; gap: 8px; }
.ba__bars { height: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.ba__bars i { display: block; height: 2px; border-radius: 1px; background: currentColor; }
.ba__bars i.off { opacity: .16; }
.ba__cap { display: flex; justify-content: space-between; gap: 6px; font: 500 12px/1.3 var(--sans); }
.linechart svg { width: 100%; height: 120px; overflow: visible; }
.linechart__axis { display: flex; justify-content: space-between; font: 500 12px/1 var(--sans); margin-top: 8px; }
.linechart__legend { font: 500 12px/1.3 var(--mono); margin-top: 8px; }
@media (max-width: 1023px) { .quote-card { grid-template-columns: 1fr 288px; } }
@media (max-width: 639px) {
  .quote-card { grid-template-columns: 1fr; padding: 0; background: none; box-shadow: none; gap: 24px; }
  .quote-card__body { padding: 0; }
  .avatar { width: 80px; height: 80px; font-size: 26px; }
  .stat { min-height: 340px; }
}

/* ---------- agents ---------- */
.agents { position: relative; padding-block: var(--sec); isolation: isolate; }
.agents::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--paper) 0%, rgba(242, 243, 239, 0) 28%, rgba(242, 243, 239, 0) 74%, var(--paper) 100%),
    url("../assets/field-tide.webp") center 70% / cover no-repeat;
  transition: background-position 1.2s var(--ease);
}
.agents.is-in::before { background-position: center, center 50%; }
.rules__h { max-width: 12ch; }
.agents__head { display: grid; grid-template-columns: 532px 1fr; gap: 16px; align-items: start; }
.agents__intro { padding-top: 5px; max-width: 441px; }
.agents__intro p { color: var(--ink); }
.agents__intro .tlink { margin-top: 16px; color: var(--ink); }
.agents__body { display: grid; grid-template-columns: 445px 1fr; gap: 12px; margin-top: 48px; align-items: start; }
.tabs { display: grid; gap: 6px; }
.tab {
  position: relative; display: grid; grid-template-columns: 28px 1fr; align-items: center; column-gap: 12px;
  width: 100%; min-height: 57px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 10px;
  background: rgba(251, 251, 248, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 3px rgba(13, 37, 58, .10); text-align: left; cursor: pointer;
  transition: background-color .35s ease, box-shadow .35s ease, min-height .35s var(--ease);
}
.tab:hover { background: #fff; box-shadow: var(--shadow-card); }
.tab[aria-pressed="true"] { min-height: 70px; background: #fff; box-shadow: var(--shadow-card); padding-bottom: 16px; }
.tab__icon { width: 28px; height: 28px; opacity: .6; transition: opacity .35s; }
.tab:hover .tab__icon, .tab[aria-pressed="true"] .tab__icon { opacity: 1; }
.tab__txt { min-width: 0; }
.tab__name { display: block; font: 500 15px/1.3 var(--sans); color: #0d1b2a; }
.tab__line { display: block; font: 400 13px/1.35 var(--sans); color: #4a5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab__bar { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; border-radius: 2px; background: #e3e6e0; display: none; overflow: hidden; }
.tab[aria-pressed="true"] .tab__bar { display: block; }
.tab__bar i { display: block; height: 100%; background: var(--brass); transform-origin: 0 0; transform: scaleX(0); }
.tab__bar i.run { animation: bar 6s linear forwards; }
.is-paused .tab__bar i.run, .is-held .tab__bar i.run, .is-paused .wbar i.run, .is-held .wbar i.run { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.detail { border-radius: 10px; background: rgba(251, 251, 248, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow-card); color: #0d1b2a; overflow: hidden; }
.detail__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(13, 27, 42, .08); background: rgba(242, 243, 239, .6); font: 500 15px/1.3 var(--sans); }
.detail__icon { display: contents; }
.detail__head svg { width: 22px; height: 22px; }
.detail__head .stamp { margin-left: auto; color: #4a5563; }
.detail__pane { padding: 18px 16px 16px; }
.detail__pane[hidden] { display: none; }
.detail__line { font-size: 14.5px; color: #1d2b39; }
.detail__fig { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; }
.detail__fig span { font: 400 13px/1.3 var(--sans); color: #4a5563; }
.detail__fig b { font: 400 22px/1 var(--sans); color: #0d1b2a; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.detail__chart { margin-top: 12px; height: 120px; }
.detail__chart svg { width: 100%; height: 100%; }
.detail__ex { margin-top: 14px; padding: 14px 16px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(13, 27, 42, .07); font: 400 13px/1.5 var(--mono); color: #1d2b39; }
.detail__ex small { display: block; font: 500 11px/1 var(--mono); color: #2f5b7a; margin-bottom: 8px; }
.detail__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px 10px; border-top: 1px solid rgba(13, 27, 42, .08); font: 400 13px/1 var(--sans); color: #4a5563; }
.pausebtn { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 9999px; border: 1px solid rgba(13, 27, 42, .16); background: rgba(255, 255, 255, .6); cursor: pointer; font: 500 12.5px/1 var(--sans); color: #1d2b39; }
.pausebtn::before { content: ""; position: absolute; inset: -6px; }
.pausebtn svg { width: 12px; height: 12px; }
.pausebtn .i-play, .is-paused .pausebtn .i-pause { display: none; }
.is-paused .pausebtn .i-play { display: block; }
.pausebtn:hover { background: #fff; }
@media (max-width: 1023px) {
  .agents__head { grid-template-columns: 1fr; gap: 20px; }
  .agents__intro { max-width: 640px; padding-top: 0; }
  .agents__body { grid-template-columns: 1fr; margin-top: 40px; }
  .detail__chart { height: 80px; }
  .detail__fig { margin-top: 14px; }
  .detail__pane { padding: 14px 16px 12px; }
}

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile .window { aspect-ratio: 352 / 400; padding: 25px; display: flex; flex-direction: column; align-items: center; }
.tiles--2 .tile .window { aspect-ratio: 534 / 512; padding: 32px; }
/* one sheet of water, three tints: deep (capabilities), slate (rules), first light (ways to work) */
.tiles:not(.tiles--2) .window > canvas.field { filter: grayscale(.55) brightness(.92) contrast(1.05); }
.tiles:not(.tiles--2) .window { background-color: #26323c; background-blend-mode: luminosity; }
.tiles--2 .window > canvas.field { filter: sepia(.35) saturate(.8) brightness(1.08) hue-rotate(-8deg); }
.tiles--2 .window { background-color: #3a3328; background-blend-mode: luminosity; }
.tile h3 { margin: 20px 4px 0; }
.tile p { margin: 8px 4px 0; max-width: 448px; }
.gchip {
  position: relative; z-index: 2; width: 100%; max-width: 303px; min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 10px; background: rgba(250, 251, 249, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-chip); color: #0d1b2a; font: 500 14px/1.35 var(--sans);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.js-motion .tile .gchip.pre { opacity: 0; transform: translateY(8px); }
.gchip + .gchip { margin-top: 6px; }
.gchip svg { flex: none; width: 16px; height: 16px; color: #74572a; }
.gchip--ok svg { color: #22694e; }
.gchip--warn svg { color: #b4332f; }
.vline { position: relative; z-index: 2; width: 2px; height: 40px; flex: none; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .75) 0 3px, transparent 3px 6px); animation: flow .6s linear infinite; }
.typing { position: relative; z-index: 2; display: flex; gap: 5px; padding: 14px 16px; border-radius: 10px; background: rgba(250, 251, 249, .8); box-shadow: var(--shadow-chip); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #4a5563; animation: type 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes type { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@media (max-width: 1023px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles > .tile:nth-child(3):last-child { grid-column: 1 / -1; }
  .tiles > .tile:nth-child(3):last-child .window { aspect-ratio: 707 / 400; }
  .tiles--2 .tile .window { aspect-ratio: auto; height: 470px; }
}
@media (max-width: 639px) {
  .tiles, .tiles--2 { grid-template-columns: 1fr; gap: 48px; }
  .tile .window, .tiles > .tile:nth-child(3):last-child .window { aspect-ratio: 366 / 400; padding: 20px; }
  .tiles--2 .tile .window { aspect-ratio: auto; height: 440px; padding: 20px; }
}

/* ---------- ways to work ---------- */
.ways__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.ways__head .h2 { flex: 1 1 420px; }
.wtabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 24px; box-shadow: var(--ring); background: color-mix(in oklab, var(--card) 70%, transparent); }
.wtab { position: relative; min-height: 44px; padding: 0 16px; border: 0; border-radius: 9999px; background: transparent; cursor: pointer; font: 500 var(--fs-sm)/1 var(--sans); color: var(--muted); overflow: hidden; }
.wtab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.wtab:hover:not([aria-pressed="true"]) { color: var(--ink); }
.wbar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .22); display: none; overflow: hidden; }
.wtab[aria-pressed="true"] .wbar { display: block; }
.wbar i { display: block; height: 100%; background: var(--brass); transform: scaleX(0); transform-origin: 0 0; }
.wbar i.run { animation: bar 6s linear forwards; }
.ways .tile .window { transition: opacity .4s var(--ease); }
.ways .tile.is-dim .window { opacity: .62; }
.answer { position: relative; z-index: 2; width: 100%; max-width: 440px; padding: 16px; border-radius: 12px; background: rgba(12, 24, 35, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ui-text); font: 400 14px/1.55 var(--sans); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.answer .mono { color: #e2bd7f; font-size: 12.5px; }
.answer a { display: inline-block; margin-top: 10px; color: var(--ui-strong); font-size: 13px; text-underline-offset: 3px; }
.composer { position: relative; z-index: 2; width: 100%; max-width: 440px; margin-top: auto; }
.composer__box { display: flex; align-items: flex-end; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(250, 251, 249, .92); -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-chip); }
.composer__q { flex: 1; font: 400 15px/1.45 var(--sans); color: #4a5563; }
.composer__send { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #0d1b2a; color: #f2f3ef; }
.composer__send svg { width: 16px; height: 16px; }
.chat { position: relative; z-index: 2; width: 100%; max-width: 440px; flex: 1; min-height: 0; border-radius: 12px; background: rgba(250, 251, 249, .94); box-shadow: var(--shadow-chip); color: #0d1b2a; overflow: hidden; display: flex; flex-direction: column; font: 400 14px/1.5 var(--sans); }
.chat__ch { padding: 12px 16px; font: 600 14px/1 var(--sans); border-bottom: 1px solid rgba(13, 27, 42, .08); }
.chat__msgs { display: grid; gap: 14px; padding: 16px; align-content: start; overflow: hidden; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.msg__av { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font: 500 12px/1 var(--sans); background: #e2d3b8; color: #5b431c; }
.msg__av--b { background: #0d1b2a; color: #e2bd7f; }
.msg__av--b svg { width: 18px; height: 16px; }
.msg__who { font: 600 13.5px/1.3 var(--sans); }
.msg p { margin-top: 2px; }
.msg a { color: #2f5b7a; text-underline-offset: 3px; }
.mention { color: #6c4e1d; background: rgba(168, 131, 74, .18); border-radius: 3px; padding: 0 3px; }
@media (max-width: 639px) { .chat { font-size: 13px; } .chat__msgs { gap: 10px; padding: 12px; } }

/* ---------- video testimonial ---------- */
.vt { display: grid; grid-template-columns: 349px 1fr; gap: 16px; }
.vt__quote { display: flex; flex-direction: column; justify-content: space-between; }
.vt__q { font: 400 var(--fs-xl)/1.35 var(--serif); letter-spacing: -.005em; text-indent: -.4em; text-wrap: pretty; }
.vt__by { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.vt__logo { font: 500 17px/1.2 var(--sans); letter-spacing: -.03em; max-width: none; white-space: nowrap; opacity: 1; }
.vt__name { display: block; font: 500 15px/1.4 var(--sans); }
.vt__role { font: 400 13px/1.4 var(--sans); color: var(--muted); }
.poster { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #0d1b2a; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.poster:hover img { transform: scale(1.015); }
.poster__play { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(13, 27, 42, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .15s var(--ease-ui), background-color .15s; }
.poster:hover .poster__play { transform: scale(1.08); background: rgba(13, 27, 42, .6); }
.poster__play svg { width: 12px; height: 12px; margin-left: 2px; }
@media (max-width: 1023px) { .vt { grid-template-columns: 1fr; gap: 32px; } .vt__poster { order: -1; } }
.modal { border: 0; padding: 0; border-radius: 10px; width: min(440px, calc(100vw - 24px)); background: #fbfbf8; color: #0d1b2a; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.modal::backdrop { background: rgba(10, 21, 32, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__in { padding: 28px; }
.modal__in p { color: #4a5563; margin-top: 10px; }
.modal__in .btn { margin-top: 24px; background: #0d1b2a; color: #f2f3ef; }

/* ---------- final CTA ---------- */
.cta { position: relative; min-height: 512px; display: grid; place-items: center; text-align: center; border-top: 1px dashed var(--line); overflow: hidden; isolation: isolate; padding-block: var(--sec); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, #0a1520 0%, rgba(10, 21, 32, .6) 45%, rgba(10, 21, 32, .2) 100%); }
.cta .h2 { color: #eef1ee; max-width: 18ch; margin-inline: auto; }
.cta .lead { max-width: 640px; margin: 20px auto 0; color: #ccd4da; }
.cta .btn { margin-top: 40px; background: #eef1ee; color: #0a1520; }
.cta .btn:hover { background: #fff; }
@media (max-width: 639px) { .cta { min-height: 400px; } }

/* ---------- log carousel ---------- */
.logrow { padding: 29px 0 20px; }
.logrow__head { display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.logrow__head .h2l { font: 400 var(--fs-xl)/1.35 var(--serif); margin-right: auto; }
.logrow__head .tlink { font-size: 15px; font-weight: 400; margin-right: 20px; }
.arrow { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: color-mix(in oklab, var(--ink) 5%, transparent); color: var(--ink); cursor: pointer; transition: background-color .15s var(--ease-ui); }
.arrow::before { content: ""; position: absolute; inset: -6px; }
.arrow:hover { background: color-mix(in oklab, var(--ink) 14%, transparent); }
.arrow svg { width: 14px; height: 14px; }
.arrow .i-play, .is-paused .arrow .i-pause { display: none; }
.is-paused .arrow .i-play { display: block; }
.track-mask { margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 max(20px, calc(50% - 540px)), #000 calc(100% - max(20px, calc(50% - 540px))), transparent); mask-image: linear-gradient(90deg, transparent, #000 max(20px, calc(50% - 540px)), #000 calc(100% - max(20px, calc(50% - 540px))), transparent); }
.track { display: flex; gap: 8px; padding-left: 12px; width: max-content; will-change: transform; }
.lcard { flex: none; width: 280px; min-height: 332px; padding: 8px; border-radius: 14px; text-decoration: none; color: inherit; transition: background-color .25s var(--ease); }
a.lcard:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.lcard img { width: 264px; height: 189px; object-fit: cover; border-radius: 4px; }
/* log pictures share one navy-to-brass duotone; hovering a link shows the photograph as shot */
.lcard img, img.pcard__img, .featured img, .art-img { filter: url(#duo) contrast(1.06); transition: filter .4s var(--ease); }
a.lcard:hover img, .featured:hover img { filter: none; }
.lcard__meta { display: flex; gap: 10px; margin-top: 18px; font: 500 13px/1.5 var(--sans); color: var(--subtle); }
.lcard__t { margin-top: 8px; font: 400 var(--fs-lg)/1.5 var(--serif); color: color-mix(in oklab, var(--ink) 85%, transparent); text-wrap: balance; }
a.lcard:hover .lcard__t { color: var(--ink); }
@media (max-width: 639px) { .logrow__head .tlink { display: none; } }

/* ---------- footer ---------- */
.site-footer { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px dashed var(--line-strong); min-height: 288px; }
.fcol { padding: 36px 20px 28px; border-left: 1px dashed var(--line-strong); }
.fcol:first-child { border-left: 0; }
.fcol--wide { grid-column: span 2; display: flex; flex-direction: column; }
.fcol__t { font: 400 15px/1.5 var(--sans); color: var(--subtle); margin-bottom: 18px; }
.fcol li { font: 400 var(--fs-xl)/1.35 var(--serif); padding-block: 0; }
.fcol li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: text-decoration-color .3s var(--ease); }
.fcol li a:hover { text-decoration-color: currentColor; }
.fcol--plain li { font: 400 var(--fs-base)/1.9 var(--sans); color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 4px; font: 500 13px/1 var(--sans); }
.badge--fill { background: var(--ink); color: var(--paper); }
.badge--fill i { width: 6px; height: 6px; border-radius: 50%; background: #3fbf8c; }
.badge--text { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fbottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 28px; }
.fbottom p { font: 400 14px/1.5 var(--sans); color: var(--muted); max-width: 48ch; }
.fbottom .tag { color: var(--ink); font: 400 18px/1.3 var(--serif); margin-bottom: 6px; }
.fbottom .legal { font-size: 13px; color: var(--subtle); margin-top: 6px; }
.fbottom a { display: inline-block; padding-block: 11px; color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.fbottom a:hover { text-decoration-color: currentColor; }
.fmark { flex: none; width: 60px; height: 48px; color: var(--ink); }
@media (max-width: 1023px) {
  .fcol { padding: 24px 12px; }
  .fcol li { font-size: 18px; }
  .fcol--plain li { font-size: 16px; }
}
@media (max-width: 639px) {
  .site-footer { grid-template-columns: 1fr; }
  .fcol, .fcol--wide { grid-column: auto; border-left: 0; border-top: 1px dashed var(--line-strong); padding: 24px 12px; }
  .fcol:first-child { border-top: 0; }
  .fcol li { font-size: 20px; }
  .fcol--plain li { font-size: 16px; }
}

/* ---------- inner pages ---------- */
.page-head { padding-top: 48px; }
.ph { max-width: 768px; }
.ph .lead { margin-top: 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; padding: 8px; border-radius: 14px; text-decoration: none; color: inherit; transition: background-color .25s var(--ease); }
a.pcard:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.pcard__img { width: 100%; aspect-ratio: 349 / 250; object-fit: cover; border-radius: 4px; }
.cover { display: block; background-color: #0a1520; background-image: repeating-linear-gradient(to bottom, rgba(226, 196, 142, .5) 0 1px, transparent 1px var(--gap, 7px)), radial-gradient(80% 60% at var(--cx, 30%) 100%, rgba(168, 131, 74, .55), transparent 70%); }
.cover--b { --gap: 11px; --cx: 72%; }
.cover--c { --gap: 5px; --cx: 50%; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; font: 500 13px/1.5 var(--sans); color: var(--subtle); }
.pcard__t { margin-top: 8px; font: 400 var(--fs-xl)/1.35 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.pcard__dek { margin-top: 12px; font: 400 15px/1.5 var(--sans); color: var(--muted); }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.rchip { padding: 6px 8px; border-radius: 4px; background: color-mix(in oklab, var(--ink) 9%, transparent); font: 500 13px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.soon { padding: 6px 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 12px/1 var(--sans); color: var(--muted); }
.author { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); }
.author i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: normal 400 11px/1 var(--serif); background: #e2d3b8; color: #5b431c; }
.featured { display: grid; grid-template-columns: 715px 1fr; gap: 16px; margin: 32px -8px 0; padding: 8px; border-radius: 14px; text-decoration: none; color: inherit; transition: background-color .25s var(--ease); }
.featured:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.featured img { width: 100%; aspect-ratio: 715 / 510; object-fit: cover; border-radius: 4px; }
.featured__txt { display: flex; flex-direction: column; padding: 8px 8px 0; }
.featured .pcard__t { font-size: var(--fs-2xl); line-height: 1.25; }
.log-grid { margin: 40px -8px 0; row-gap: 32px; }
.archive__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 9999px; border: 0; background: transparent; cursor: pointer; font: 500 15px/1 var(--sans); color: var(--muted); }
.filter:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 5%, transparent); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 9999px; border: 1px solid rgba(13, 27, 42, .5); min-width: 240px; }
.search svg { width: 14px; height: 14px; color: var(--subtle); flex: none; }
.search input { border: 0; background: transparent; outline: none; font: 400 15px/1 var(--sans); width: 100%; min-height: 42px; }
.search input::placeholder { color: var(--subtle); }
.search:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }
.rows { margin-top: 24px; border-top: 1px dashed var(--line); }
.row { display: grid; grid-template-columns: 128px 120px 1fr 64px; align-items: center; gap: 8px; padding: 20px 16px; border-bottom: 1px dashed var(--line); text-decoration: none; color: inherit; transition: background-color .2s; }
a.row:hover { background: color-mix(in oklab, var(--ink) 4%, transparent); }
.row[hidden], .empty[hidden] { display: none; }
.row__c, .row__d { font: 500 13px/1.5 var(--sans); color: var(--subtle); }
.row__t { font: 400 var(--fs-xl)/1.35 var(--serif); }
.row .rchip { justify-self: end; }
.empty { padding: 32px 16px; color: var(--muted); }
@media (max-width: 1023px) {
  .featured { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .cards3 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; padding-inline: 4px; }
  .row__d { text-align: right; }
  .row__t { grid-column: 1 / -1; }
  .row .rchip { display: none; }
  .search { min-width: 0; width: 100%; }
}

/* article */
.article { max-width: calc(1400px + 2 * var(--gutter)); margin-inline: auto; padding: 56px var(--gutter) 128px; }
.art-head { max-width: 768px; display: grid; gap: 24px; }
.art-head .dek { font: 400 var(--fs-lg)/1.5 var(--sans); color: var(--muted); max-width: 52ch; }
.art-img { margin-top: 40px; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; }
.art-side__who { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.toc { display: grid; gap: 12px; }
.toc p { font: 500 13px/1 var(--sans); color: var(--subtle); }
.toc a { font: 400 13.5px/1.4 var(--sans); color: var(--subtle); text-decoration: none; transition: color .15s; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.prose { font: 400 clamp(18px, 17.27px + .19vw, 19px)/1.65 var(--sans); color: var(--article); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 500 var(--fs-xl)/1.35 var(--sans); color: var(--ink); scroll-margin-top: 104px; }
.prose .h2wrap { position: relative; margin-top: 2em; }
.prose .h2wrap h2 { margin: 0; }
.prose .anchor { position: absolute; left: -44px; top: -6px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--subtle); text-decoration: none; opacity: 0; transition: opacity .15s; }
.prose .h2wrap:hover .anchor, .prose .anchor:focus-visible { opacity: 1; }
.fiction { display: inline-block; font: 500 13px/1 var(--mono); color: var(--brass-ink); padding: 6px 8px; border-radius: 4px; background: var(--tint-brass); }
.prose .closing { font: italic 400 20px/1.5 var(--serif); color: var(--ink); padding-top: 1.2em; border-top: 1px dashed var(--line); margin-top: 2em; }
.art-nav { margin-top: 48px; padding-top: 24px; border-top: 1px dashed var(--line); }
.related .cards3 { margin: 48px -8px 0; }
.art-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 64px; padding: 32px; border-radius: 8px; background: var(--card); box-shadow: var(--ring); }
@media (max-width: 1023px) {
  .toc { display: none; }
  .prose .anchor { display: none; }
}
@media (max-width: 639px) { .article { padding: 40px var(--gutter) 96px; } .art-cta { padding: 24px 16px; } }

/* careers */
.c-hero { display: grid; grid-template-columns: 1fr 532px; gap: 48px; align-items: center; padding-block: 80px; }
.c-hero .lead { margin-top: 24px; max-width: 440px; }
.c-hero .btn { margin-top: 32px; }
.c-hero__vis { aspect-ratio: 532 / 398; border-radius: 8px; overflow: hidden; }
.c-hero__vis img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.3) saturate(.85) brightness(1.05) hue-rotate(-6deg); }
.band { border-block: 1px dashed var(--line); padding: 56px 0 48px; text-align: center; }
.band .label { font-size: 15px; color: var(--muted); }
.marquee { margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 max(20px, calc(50% - 540px)), #000 calc(100% - max(20px, calc(50% - 540px))), transparent); mask-image: linear-gradient(90deg, transparent, #000 max(20px, calc(50% - 540px)), #000 calc(100% - max(20px, calc(50% - 540px))), transparent); }
.marquee__in { display: flex; gap: 48px; width: max-content; font: 400 var(--fs-2xl)/1.25 var(--serif); white-space: nowrap; will-change: transform; }
.split { display: grid; grid-template-columns: 548px 1fr; }
.split .lead + .lead { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px dashed var(--line); }
.value { padding: 24px 24px 8px 0; }
.value + .value { padding-left: 24px; border-left: 1px dashed var(--line); }
.value h3 { font: 400 var(--fs-xl)/1.35 var(--serif); }
.value p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.dash-top { border-top: 1px dashed var(--line); }
.roles { margin-top: 48px; border-top: 1px dashed var(--line); }
.role { display: grid; grid-template-columns: 1fr 140px 240px auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.role h3 { font: 400 var(--fs-xl)/1.35 var(--serif); }
.role span { font: 500 14px/1.4 var(--sans); color: var(--subtle); }
.role .tlink { font-size: 15px; white-space: nowrap; }
.roles__note { margin-top: 32px; color: var(--muted); }
.roles__note a { color: var(--ink); text-underline-offset: 3px; }
.roles__fic { margin-top: 8px; font-size: 14px; color: var(--subtle); }
@media (max-width: 1023px) {
  .c-hero, .split { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
  .role { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .role .tlink { grid-column: 2; grid-row: 1; }
}
@media (max-width: 639px) {
  .c-hero { padding-block: 48px; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); }
}
.band .js-pause { margin: 20px auto 0; }

/* demo */
.demo { display: grid; grid-template-columns: 1fr 532px; gap: 40px; padding-block: 80px; align-items: start; }
.demo .lead { margin-top: 24px; max-width: 440px; }
.benefits { display: grid; gap: 12px; margin-top: 32px; }
.benefits li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.benefits svg { width: 16px; height: 16px; color: var(--green-ink); flex: none; }
.formcard { padding: 32px 28px; border-radius: 8px; background: var(--card); box-shadow: var(--ring); }
.formcard__t { font: 500 var(--fs-lg)/1.4 var(--sans); margin-bottom: 24px; }
.form { display: grid; gap: 24px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font: 500 15px/1.4 var(--sans); }
.input { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(13, 27, 42, .5); background: var(--paper); font: 400 16px/1.4 var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5563' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input::placeholder { color: #5c6672; }
.input:hover { border-color: color-mix(in oklab, var(--ink) 40%, transparent); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--brass); }
.input[aria-invalid="true"] { border-color: #b4332f; }
.help { font: 400 13px/1.4 var(--sans); color: var(--subtle); }
.err { font: 500 13px/1.4 var(--sans); color: #b4332f; }
.err:empty, .form__sum:empty { display: none; }
.form__sum { font: 500 14px/1.4 var(--sans); color: #b4332f; }
.banner { padding: 14px 16px; border-radius: 6px; background: #fbe9e7; color: #7c2420; font: 400 14px/1.5 var(--sans); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.banner[hidden], .success[hidden], .form[hidden] { display: none; }
.banner .btn { min-height: 44px; background: #7c2420; color: #fff; }
.form__note { font: 400 13px/1.5 var(--sans); color: var(--subtle); }
.success p { margin-top: 12px; color: var(--muted); }
.success .tlink { margin-top: 20px; }
@media (max-width: 1023px) { .demo { grid-template-columns: 1fr; padding-block: 48px; } }
@media (max-width: 639px) { .form__two { grid-template-columns: 1fr; } .formcard { padding: 24px 16px; } }

/* 404 */
.nf { min-height: calc(100vh - 88px - 288px); display: grid; place-items: center; text-align: center; padding-block: 96px; }
.nf .h2 { margin-top: 16px; }
.nf .lead { margin: 20px auto 0; max-width: 460px; }
.nf__acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 36px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .dawn { display: none; }
}

/* ---------- film controls (status menu + scene marks) ---------- */
.film__bar { position: relative; z-index: 2; }
button.film__status { border: 0; cursor: pointer; height: 26px; }
button.film__status svg { width: 10px; height: 10px; margin-left: 1px; }
button.film__status:hover { filter: brightness(1.15); }
.film__menu {
  position: absolute; top: 44px; right: 150px; z-index: 5; min-width: 200px; padding: 6px;
  border-radius: 10px; background: #13222f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -12px rgba(0, 0, 0, .6);
}
.film__menu[hidden] { display: none; }
.film__menu button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: none; text-align: left; font: 500 13px/1.3 var(--sans); color: var(--ui-text); cursor: pointer; }
.film__menu button:hover, .film__menu button:focus-visible { background: rgba(255, 255, 255, .07); color: var(--ui-strong); }
.film__menu li:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--ui-line); }
.film__dots button { display: grid; place-items: center; width: 22px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.film__dots button:hover i { background: rgba(255, 255, 255, .4); }
.film__dots button:hover i.on { background: #c9a46a; }

/* skip link stays out of sight (and out of page captures) until it has focus */
.skip:not(:focus-visible) { clip-path: inset(50%); opacity: 0; }

/* ---------- night zones paint themselves; the header follows them ---------- */
[data-zone] { background-color: var(--paper); color: var(--ink); transition: background-color .5s ease, color .5s ease; }
.cta[data-zone] { background-color: #0a1520; }

/* stage note opened from the film's scene marks */
.film__note {
  position: absolute; top: 46px; right: 16px; z-index: 5; width: 300px; padding: 10px 12px;
  border-radius: 8px; background: #13222f; color: var(--ui-text); font: 400 13px/1.45 var(--sans);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -12px rgba(0, 0, 0, .6);
}
.film__note[hidden] { display: none; }
.film__note b { display: block; font-weight: 500; color: var(--ui-strong); margin-bottom: 2px; }

/* article as one grid: header and picture span, side column and body sit side by side */
.art-grid {
  display: grid; column-gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 258px) minmax(24px, 107px) minmax(0, 715px) minmax(0, 1fr);
  align-items: start;
}
.art-grid > .art-head { grid-column: 2 / 5; margin: 0; max-width: 768px; }
.art-grid > .art-img { grid-column: 2 / 5; max-width: none; }
.art-grid > .art-side { grid-column: 2; margin-top: 40px; display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 32px 12px; position: sticky; top: 104px; max-width: none; }
.art-grid > .art-side .toc { grid-column: 1 / -1; }
.art-grid > .prose { grid-column: 4; margin-top: 40px; max-width: none; }
@media (max-width: 1023px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-grid > .art-head, .art-grid > .art-img, .art-grid > .art-side, .art-grid > .prose { grid-column: 1; }
  .art-grid > .art-side { position: static; grid-template-columns: 1fr; justify-items: start; gap: 10px; margin-top: 32px; }
  .art-grid > .prose { margin-top: 32px; }
}
