/* Springdale Robotics site styles (ported from design option A, Anduril-inspired). Black, white, crisp. */
:root {
  --black: #010101;
  --ink: #0b0b0b;
  --panel: #111111;
  --white: #ffffff;
  --text: #f4f4f2;
  --dim: #a3a3a0;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .32);
  --olive: #50553f;
  --gray: #8e9291;
  --cream: #f1f0ea;
  --accent: #6f86ff;               /* the old site's primary */
  --pad: clamp(16px, 2.3vw, 32px);
  --gap: clamp(10px, 1.25vw, 18px);
  --max: 1680px;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--black); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 12px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.micro {
  font-size: 12px; line-height: 1.3; font-weight: 500; text-transform: uppercase; letter-spacing: .09em;
}
.dim { color: var(--dim); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; transition: background-color .3s ease, border-color .3s ease;
  background: var(--black); border-bottom: 1px solid transparent;
}
.site-header.over-hero { background: transparent; }
.site-header.scrolled { background: var(--black); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a { font-size: 15px; font-weight: 450; position: relative; padding: 6px 0; color: var(--text); }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
}
.menu-btn {
  display: none; background: none; border: 0; color: var(--text); font: 500 15px/1 var(--font);
  padding: 10px 0 10px 12px; cursor: pointer; align-items: center; gap: 10px;
}
.menu-btn .bars { width: 18px; height: 10px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s ease, top .25s ease;
}
.menu-btn .bars::before { top: 1px; }
.menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4.5px; transform: rotate(-45deg); }

.menu-panel {
  display: none; position: fixed; inset: 72px 0 0 0; z-index: 49; background: var(--black);
  padding: 24px var(--pad) 32px; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.menu-panel.open { display: flex; }
.menu-panel nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: clamp(34px, 9vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.menu-panel nav a[aria-current="page"] .idx { color: var(--accent); }
.menu-panel .idx { font-size: 12px; letter-spacing: .09em; color: var(--dim); font-weight: 500; }
.menu-panel .menu-foot { display: grid; gap: 6px; margin-top: 40px; color: var(--dim); font-size: 15px; }
.menu-panel .menu-foot a { color: var(--text); }
body.menu-open { overflow: hidden; }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 22px; }
}

main { display: block; }
.page-top { padding-top: 72px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1200px;
  background: var(--black); overflow: hidden; isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: 0; }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
.hero-stage.live canvas { opacity: 1; }
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  transition: opacity 1.2s ease;
}
.hero-stage.live .hero-poster { opacity: 0; }
.hero::before { /* vignette for headline legibility, over the render only */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(1,1,1,.85) 0%, rgba(1,1,1,.35) 28%, rgba(1,1,1,0) 55%),
    linear-gradient(to bottom, rgba(1,1,1,.55) 0%, rgba(1,1,1,0) 18%);
}
.grain::after {
  content: ""; position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .11; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .grain::after { animation: none; } }

.hero-copy {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px);
}
.hero-copy .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 104px); letter-spacing: -.045em; line-height: .95; max-width: 11ch; }
.hero .lede { margin-top: 22px; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); color: #d8d8d4; }
.hero .meta { margin: 0; display: flex; align-items: center; gap: 8px; justify-content: flex-end; color: #cfcfca; }
.hero .meta img { height: 14px; width: auto; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero-copy .wrap { grid-template-columns: 1fr; }
  .hero .meta { justify-content: flex-start; }
  .hero-poster { object-position: 50% 30%; }
}

.text-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
/* "↗" drawn as a thin stroke in the text color. The character itself falls back to a system font
   (Inter Tight's web subset lacks it), and iOS renders that as a color emoji. */
.arr { display: inline-block; width: .72em; height: .72em; vertical-align: -.02em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12.5 3.5M5.5 3.5h7v7' fill='none' stroke='black' stroke-width='1.25' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12.5 3.5M5.5 3.5h7v7' fill='none' stroke='black' stroke-width='1.25' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat; }
.text-link .arr { transition: transform .2s ease; }
.text-link:hover .arr { transform: translate(2px, -2px); }

/* ---------- Section heads ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end;
  padding-bottom: 24px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line);
}
.sec-head h2 { font-size: clamp(34px, 4.2vw, 64px); }
.sec-head p { margin: 0; max-width: 34em; color: var(--dim); }
.on-light .sec-head, .on-band .sec-head { border-bottom-color: rgba(0,0,0,.35); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(300px, 31vw, 520px);
  grid-auto-flow: dense;
}
.tile {
  position: relative; overflow: hidden; background: var(--panel); display: block; isolation: isolate;
  grid-column: span 1; grid-row: span 1;
}
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.035); }
.tile::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
}
.tile .label { position: absolute; z-index: 2; left: clamp(16px, 1.4vw, 22px); right: clamp(16px, 1.4vw, 22px); bottom: clamp(16px, 1.4vw, 22px); }
.tile .label h3 { font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.03em; line-height: 1.05; }
.tile .label .micro { margin-top: 10px; color: #dcdcd8; max-width: 40ch; }
.tile .badge {
  position: absolute; z-index: 2; top: clamp(14px, 1.3vw, 20px); left: clamp(16px, 1.4vw, 22px);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  padding: 5px 8px; border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(0,0,0,.35);
}
.tile.type { background: #0c0c0c; border: 1px solid var(--line); }
.tile.type::after { display: none; }
.tile.type .typeart { position: absolute; inset: 0; padding: clamp(18px, 1.6vw, 26px); display: flex; flex-direction: column; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(280px, 44vw, 440px); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .tile.w2, .tile.h2 { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 4.6; }
  .tile.w2 { aspect-ratio: 4 / 3.4; }
}

/* Basis typographic tile */
.basis-art { justify-content: space-between; }
.basis-art .ver { display: flex; align-items: center; gap: 8px; color: var(--dim); }
.basis-art .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  margin-block: 18px auto;
}
.basis-art .grid span {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 10px 26px;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #cfcfca;
}

/* ---------- Bands with rows (services) ---------- */
.band { color: var(--black); }
.band.gray { background: var(--gray); }
.band.olive { background: var(--olive); color: var(--white); }
.band.cream { background: var(--cream); color: var(--black); }
.band .sec-head p { color: inherit; opacity: .85; }
.rows .row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid rgba(0,0,0,.45); padding-block: 32px; align-items: stretch;
}
.band.olive .rows .row { border-top-color: rgba(255,255,255,.4); }
.rows .row:last-child { padding-bottom: 0; }
.rows .row .name { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.rows .row h3 { font-size: clamp(34px, 4.4vw, 66px); letter-spacing: -.045em; line-height: .98; }
.rows .row .num { display: block; margin-bottom: 18px; }
.rows .row .desc { max-width: 30em; font-size: 16px; }
.rows .row .desc p:last-child { margin: 0; }
.rows .row figure { margin: 0; position: relative; width: 100%; align-self: start; aspect-ratio: 16 / 6.6; overflow: hidden; background: #000; }
.rows .row figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .rows .row { grid-template-columns: 1fr; }
  .rows .row figure { aspect-ratio: 16 / 10; }
}

/* ---------- Process strip ---------- */
/* dark panel band: matches the Capabilities panels */
.band.panel { background: var(--panel); color: var(--text); border-block: 1px solid var(--line); }
.band.panel .steps { border-top-color: var(--line-strong); }
.band.panel .steps li { border-color: var(--line); }
.band.panel .steps .n { color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.4); }
.steps li { padding: 22px 20px 8px 0; border-right: 1px solid rgba(255,255,255,.25); padding-left: 20px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps .n { display: block; margin-bottom: 40px; }
.steps h3 { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 14px; }
.steps p { font-size: 15px; line-height: 1.5; opacity: .88; margin: 0; }
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li:first-child { padding: 22px 20px 24px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .steps li:nth-child(odd) { padding-right: 24px; }
  .steps .n { margin-bottom: 18px; }
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Now building (cream) ---------- */
.now { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.now article { border-top: 1px solid var(--black); padding-top: 18px; display: flex; flex-direction: column; }
.now .state { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; }
.now h3 { font-size: clamp(26px, 2.6vw, 40px); margin-bottom: 14px; }
.now p { font-size: 16px; color: #2b2b28; max-width: 30em; }
.now .text-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .now { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(80px, 12vw, 180px); }
.cta h2 { font-size: clamp(44px, 8vw, 132px); letter-spacing: -.05em; line-height: .92; max-width: 12ch; }
.cta .row2 { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: end; justify-content: space-between; margin-top: 40px; }
.cta p { color: var(--dim); max-width: 32em; margin: 0; }
.big-mail { font-size: clamp(22px, 3vw, 44px); letter-spacing: -.03em; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 6px; overflow-wrap: anywhere; }
.big-mail:hover { border-bottom-color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid .logo img { height: 34px; }
.foot-grid .blurb { margin-top: 22px; color: var(--dim); max-width: 26em; font-size: 15px; }
.foot-col h4 { font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.foot-col li { margin-bottom: 8px; font-size: 16px; }
.foot-col a { overflow-wrap: anywhere; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-col .small { font-size: 14px; color: var(--dim); }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 8vw, 120px);
  padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim);
}
.foot-base nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-base a:hover { color: var(--white); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Page headers ---------- */
.page-head { padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head .micro { margin-bottom: 22px; display: block; color: var(--dim); }
.page-head h1 { font-size: clamp(48px, 8.4vw, 136px); letter-spacing: -.05em; line-height: .92; max-width: 14ch; }
.page-head .lede { margin-top: 28px; max-width: 36em; font-size: clamp(17px, 1.4vw, 20px); color: #d6d6d2; }
.page-head .split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
@media (max-width: 900px) { .page-head .split { grid-template-columns: 1fr; } }

/* ---------- Spec rows ---------- */
.specs { border-top: 1px solid var(--line); }
.specs .sr {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px;
  padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 16px;
}
.specs .sr dt { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; padding-top: 3px; }
.specs .sr dd { margin: 0; }
.on-light .specs, .on-light .specs .sr { border-color: rgba(0,0,0,.2); }
.on-light .specs .sr dt { color: #55554f; }
@media (max-width: 600px) { .specs .sr { grid-template-columns: 1fr; gap: 6px; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--line-strong); padding: 4px 9px; font-size: 13px; line-height: 1.3; }

/* ---------- Editorial (project detail) ---------- */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px; padding-block: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.ed > h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; color: var(--dim); line-height: 1.6; }
.ed .body { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; letter-spacing: -.01em; max-width: 38em; }
.ed .body p:last-child { margin: 0; }
.ed ol { list-style: none; padding: 0; margin: 0; counter-reset: o; }
.ed ol li { counter-increment: o; display: grid; grid-template-columns: 48px 1fr; padding-block: 14px; border-bottom: 1px solid var(--line); }
.ed ol li:first-child { padding-top: 0; }
.ed ol li::before { content: counter(o, decimal-leading-zero); font-size: 12px; letter-spacing: .09em; color: var(--dim); padding-top: .5em; }
@media (max-width: 760px) { .ed { grid-template-columns: 1fr; } }

.proj-hero { position: relative; height: 86vh; height: 86svh; min-height: 520px; max-height: 980px; overflow: hidden; background: #000; isolation: isolate; }
.proj-hero > img, .proj-hero .hero-stage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(1,1,1,.88) 0%, rgba(1,1,1,.3) 34%, rgba(1,1,1,0) 60%), linear-gradient(to bottom, rgba(1,1,1,.5), rgba(1,1,1,0) 16%);
}
.proj-hero .hero-copy { bottom: clamp(28px, 5vw, 56px); }
.proj-hero h1 { font-size: clamp(42px, 6.8vw, 112px); letter-spacing: -.048em; line-height: .94; max-width: 13ch; }
.proj-hero .crumbs { margin-bottom: 20px; color: #d4d4cf; display: flex; gap: 10px; flex-wrap: wrap; }
.proj-hero .crumbs a:hover { color: #fff; }
.proj-hero.type-hero { height: auto; min-height: 0; max-height: none; padding-top: clamp(140px, 16vw, 220px); padding-bottom: clamp(36px, 5vw, 60px); }
.proj-hero.type-hero::before { display: none; }
.proj-hero.type-hero .hero-copy { position: relative; bottom: auto; }
.proj-hero .caption { position: absolute; z-index: 3; right: var(--pad); top: 92px; color: #cfcfca; text-align: right; }
.tagline { font-size: clamp(22px, 2.5vw, 38px); line-height: 1.22; letter-spacing: -.025em; max-width: 30em; padding-block: clamp(48px, 6vw, 88px) clamp(36px, 4vw, 56px); }
.framed { margin: 0 0 clamp(40px, 5vw, 72px); border: 1px solid var(--line); background: #000; }
.framed img { width: 100%; height: auto; }
.framed figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-block: clamp(40px, 5vw, 64px); }
.strip figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:last-child { display: none; } }
.proj-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.proj-nav a { padding: 28px 0; display: block; }
.proj-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.proj-nav .t { font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.03em; font-weight: 500; margin-top: 8px; display: block; }
.proj-nav a:hover .t { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.notfound { padding-top: clamp(140px, 16vw, 220px); padding-bottom: 120px; min-height: 70vh; }
.notfound h1 { font-size: clamp(44px, 7vw, 100px); letter-spacing: -.05em; margin-bottom: 24px; }

/* ---------- Buttons (only used on SuperSeat buy box) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 500 15px/1 var(--font); border: 1px solid var(--white); background: var(--white); color: var(--black);
}
.btn:hover { background: #e6e6e2; }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--white); background: transparent; }

/* ---------- About ---------- */
.full-photo { position: relative; margin: 0; }
.full-photo img { width: 100%; height: clamp(320px, 52vw, 820px); object-fit: cover; }
.full-photo figcaption { padding: 14px var(--pad); color: var(--dim); font-size: 14px; border-bottom: 1px solid var(--line); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px; }
.story .big { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.2; letter-spacing: -.028em; max-width: 26em; }
.story .big + p { margin-top: 28px; color: #cfcfca; max-width: 38em; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.founder figure { margin: 0 0 22px; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.founder figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.founder h3 { font-size: clamp(30px, 3.2vw, 48px); margin-bottom: 8px; }
.founder .role { color: var(--dim); margin-bottom: 18px; display: block; }
.founder p { max-width: 34em; color: #d6d6d2; }
.founder .specs { margin-top: 20px; }
@media (max-width: 700px) { .founders { grid-template-columns: 1fr; gap: 56px; } }
.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap-grid section { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 20px 28px; }
.cap-grid h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 20px; }
.cap-grid li { font-size: 15px; line-height: 1.4; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); color: #d8d8d4; }
@media (max-width: 1080px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.values div { border-top: 1px solid rgba(255,255,255,.45); padding-top: 18px; }
.values h3 { font-size: clamp(26px, 2.6vw, 40px); margin-bottom: 12px; }
.values p { opacity: .9; font-size: 16px; margin: 0; max-width: 26em; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact ---------- */
.contact-hero h1 { font-size: clamp(64px, 13vw, 220px); letter-spacing: -.06em; line-height: .86; }
.contact-mail { display: inline-block; margin-top: clamp(28px, 4vw, 56px); font-size: clamp(26px, 5.4vw, 88px); letter-spacing: -.045em; font-weight: 500; line-height: 1; border-bottom: 2px solid var(--white); padding-bottom: 8px; overflow-wrap: anywhere; }
.contact-mail:hover { border-bottom-color: var(--accent); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; border-top: 1px solid var(--line); padding-top: 22px; }
.person img { width: 120px; height: 150px; object-fit: cover; object-position: 50% 15%; }
.person h3 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 6px; }
.person .role { color: var(--dim); display: block; margin-bottom: 16px; }
.person a { display: block; font-size: 17px; overflow-wrap: anywhere; padding: 2px 0; }
.person a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 400px) { .person { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; } .person img { width: 88px; height: 110px; } }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
.mailform { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mailform label { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: baseline; border-bottom: 1px solid var(--line); }
.mailform label span { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--dim); font-weight: 500; padding: 20px 0; }
.mailform input, .mailform textarea {
  width: 100%; background: transparent; border: 0; color: var(--white); font: 400 18px/1.4 var(--font); padding: 18px 0; resize: vertical;
}
.mailform input:focus, .mailform textarea:focus { outline: none; }
.mailform label:focus-within { border-bottom-color: var(--white); }
.mailform .actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; }
.mailform .actions p { color: var(--dim); font-size: 14px; margin: 0; }
@media (max-width: 560px) { .mailform label { grid-template-columns: 1fr; } .mailform label span { padding: 16px 0 0; } .mailform input, .mailform textarea { padding-top: 6px; } }
.include li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; }
.include li span { color: var(--dim); font-size: 12px; letter-spacing: .09em; padding-top: 4px; }
.loc { display: flex; align-items: center; gap: 10px; }
.loc img { height: 14px; width: auto; }

/* ---------- SuperSeat ---------- */
.ss-hero { position: relative; height: 92vh; height: 92svh; min-height: 560px; max-height: 1040px; overflow: hidden; background: #000; isolation: isolate; }
.ss-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.ss-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(1,1,1,.86), rgba(1,1,1,.2) 40%, rgba(1,1,1,0) 62%), linear-gradient(to bottom, rgba(1,1,1,.5), rgba(1,1,1,0) 16%); }
.ss-hero .hero-copy .wrap { grid-template-columns: minmax(0, 1fr) auto; }
.ss-hero h1 { font-size: clamp(56px, 10vw, 168px); letter-spacing: -.055em; line-height: .88; }
.ss-hero .lede { margin-top: 18px; font-size: clamp(17px, 1.5vw, 22px); color: #e2e2de; max-width: 30em; }
.ss-hero .buy { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .ss-hero .hero-copy .wrap { grid-template-columns: 1fr; } .ss-hero .buy { justify-content: flex-start; } }
.ss-gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 24vw, 400px); }
.ss-gallery figure { margin: 0; overflow: hidden; background: #111; position: relative; }
.ss-gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.ss-gallery figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ss-gallery .w2 { grid-column: span 2; }
.ss-gallery .h2 { grid-row: span 2; }
@media (max-width: 900px) { .ss-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(200px, 44vw, 380px); } }
.variants { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.variant { border-top: 2px solid var(--white); padding-top: 22px; display: flex; flex-direction: column; }
.variant .top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.variant h3 { font-size: clamp(32px, 3.4vw, 52px); }
.variant .price { font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; }
.variant .price small { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-left: 6px; font-weight: 500; }
.variant > p { color: #d6d6d2; max-width: 34em; }
.variant .specs { margin-block: 18px 24px; }
.variant .act { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .variants { grid-template-columns: 1fr; gap: 64px; } }
.fineprint { color: var(--dim); font-size: 14px; max-width: 60em; }
.fineprint p { margin-bottom: .8em; }
.fineprint a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.how div { border-top: 1px solid var(--black); padding-top: 16px; }
.how h3 { font-size: clamp(22px, 2vw, 30px); margin-block: 26px 12px; }
.how p { font-size: 15px; color: #2b2b28; margin: 0; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }

.reveal { opacity: 1; }

/* Our Work index list */
.idx-title { display: block; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; margin-bottom: 8px; }
.idx-title:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.idx-sum { display: block; max-width: 44em; font-size: 16px; }

/* contact form on gray band */
.dark-form, .dark-form label { border-color: rgba(0,0,0,.35) !important; }
.dark-form label span { color: #1d1d1b; }
.dark-form input, .dark-form textarea { color: var(--black); }
.dark-form label:focus-within { border-bottom-color: var(--black) !important; }
.dark-form .actions p { color: #1d1d1b; }
.btn.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn.dark:hover { background: #222; }
ol.steps, ol.include, .ed ol { list-style: none; margin: 0; padding: 0; }
.sec-head.flush { border-bottom: 0; padding-bottom: 0; }
.sec-head.stack { grid-template-columns: 1fr; gap: 10px; }   /* a short line belongs under its heading, not across the page */
.proj-hero .hero-copy .wrap { display: block; }
.ed .body .specs .sr dd { font-size: 17px; line-height: 1.45; letter-spacing: 0; }
.band .include li span { color: #2b2b28; }

/* ---------- Technical drawings and renders (imagery round) ---------- */
.dwg { margin: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.dwg img { width: 100%; height: auto; margin-inline: auto; }
.dwg figcaption { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; line-height: 1.45; }
.dwg figcaption .micro { display: block; color: var(--text); margin-bottom: 6px; }
.dwg-lead img { max-width: 1240px; }
.dwg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); align-items: end; margin-top: clamp(48px, 6vw, 96px); }
.dwg-row.first { margin-top: 0; }
.dwg-row.lop { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.dwg-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: end; margin-block: clamp(48px, 6vw, 88px) 0; }
.dwg-tall img { max-width: 400px; }
.dwg-mid img { max-width: 796px; }
@media (max-width: 760px) {
  .dwg-row, .dwg-row.lop, .dwg-trio { grid-template-columns: 1fr; gap: 48px; }
  .dwg-tall img { max-width: 260px; }
}
.dwg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.dwg-head h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; color: var(--dim); line-height: 1.6; }
/* align caption rules across a row: figures share row tracks via subgrid */
.dwg-row > .dwg, .dwg-trio > .dwg { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.dwg-row > .dwg img, .dwg-trio > .dwg img { align-self: end; }

/* ---------- Round 3: render-led heroes ---------- */
/* Home: edge-to-edge bento of renders, copy below */
.hero.hero-r {
  height: 100vh; height: 100svh; min-height: 680px; max-height: none;
  display: flex; flex-direction: column; padding-top: 72px;
}
.hero.hero-r::before { display: none; }
.hr-grid {
  flex: 1 1 auto; min-height: 0; display: grid; gap: 2px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}
.hr-cell { position: relative; overflow: hidden; background: #0a0a0a; display: block; isolation: isolate; }
.hr-cell img { position: absolute; left: 6%; top: 7%; width: 88%; height: 78%; object-fit: contain; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hr-cell:hover img { transform: scale(1.025); }
/* zoomed cells: the render runs past the cell; (--fx, --fy) is where in the cell its (--cx, --cy) point sits */
.hr-cell.hr-zoom img { left: var(--fx, 50%); top: var(--fy, 50%); width: var(--w, 100%); height: auto; max-width: none; object-fit: fill;
  translate: calc(-1 * var(--cx, 50%)) calc(-1 * var(--cy, 50%)); }
@media (min-width: 1001px) {                     /* wide, short cells: size by height so the render isn't cropped flat */
  .hr-cell.hr-zoom img { width: auto; height: var(--h, 140%); }
}
.hr-zoom::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0)); }
/* sits right under the capability tiles, so it reads as part of them */
.hero.hero-r .hero-more { position: absolute; z-index: 2; top: 12px; right: var(--pad); display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.hero.hero-r .hero-more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .hero.hero-r .hero-copy { padding-top: 44px; } }   /* room for the link above the headline */
.hr-main { grid-row: span 2; background: #000; }
.hr-main img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hr-cell .cap {
  position: absolute; z-index: 2; left: clamp(14px, 1.4vw, 22px); bottom: clamp(12px, 1.2vw, 18px); right: 14px;
  color: #d8d8d4; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
}
.hr-cell .cap-k { color: #fff; }
.hr-cell .cap-s { color: #b8b8b2; }
.hr-main::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
}
.hero.hero-r .hero-copy { position: relative; bottom: auto; padding-block: clamp(24px, 4vh, 44px) clamp(28px, 5vh, 56px); }
.hero.hero-r h1 { font-size: clamp(40px, 5.6vw, 92px); max-width: 14ch; }
.hero.hero-r .lede { margin-top: 16px; }
@media (max-width: 1000px) {
  .hero.hero-r { height: auto; min-height: 100vh; min-height: 100svh; max-height: none; }   /* at least a screen; the main image takes the slack */
  .hr-grid { flex: 1 1 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(calc(100vw * 851 / 1600), 1fr) auto; }
  .hr-main { grid-row: auto; grid-column: span 2; aspect-ratio: auto; }
  .hr-cell:not(.hr-main) { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .hr-grid { grid-template-rows: minmax(calc(100vw * 2 / 3), 1fr) auto; }
  .hr-main { aspect-ratio: auto; }
  .hr-main img { object-position: 50% 50%; }
  .hr-cell:not(.hr-main) { aspect-ratio: 1 / 1; }
  .hr-cell:not(.hr-main):not(.hr-zoom) img { top: 8%; height: 70%; }
  .hr-cell .cap { font-size: 10px; }
  .hr-cell .cap-s { display: none; }             /* phones: the capability alone; the subject wrapped */
}

/* Home: tape transport band (procedural 3D, moved down from the hero) */
.tape-band {
  position: relative; height: 82vh; height: 82svh; min-height: 560px; max-height: 920px;
  background: var(--black); overflow: hidden; isolation: isolate;
}
.tape-band::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(1,1,1,.88) 0%, rgba(1,1,1,.4) 32%, rgba(1,1,1,0) 60%),
    radial-gradient(ellipse 55% 60% at 0% 88%, rgba(1,1,1,.9) 0%, rgba(1,1,1,.6) 45%, rgba(1,1,1,0) 100%),   /* only behind the copy, so the image stays even */
    linear-gradient(to bottom, rgba(1,1,1,.6) 0%, rgba(1,1,1,0) 20%);
}
.tape-note { position: absolute; z-index: 3; top: clamp(18px, 3vw, 32px); right: var(--pad); left: var(--pad); color: #cfcfca; display: flex; gap: 8px; align-items: center; justify-content: flex-end; text-align: right; }
.tape-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 5vw, 56px); }
.tape-copy .micro { display: block; color: #cfcfca; margin-bottom: 14px; }
.tape-copy h2 { font-size: clamp(34px, 5vw, 80px); letter-spacing: -.045em; line-height: .96; max-width: 12ch; }
.tape-copy p { margin: 18px 0 22px; max-width: 34em; color: #d8d8d4; }
@media (max-width: 760px) {
  .tape-band { height: auto; min-height: 0; max-height: none; padding-top: 0; }
  .tape-band .hero-stage { position: relative; inset: auto; aspect-ratio: 4 / 3.4; }
  .tape-band::before { background: linear-gradient(to bottom, rgba(1,1,1,.55) 0%, rgba(1,1,1,0) 22%); }
  .tape-band .hero-poster { object-position: 65% 50%; }
  .tape-copy { position: relative; bottom: auto; padding-block: 24px 48px; }
  .tape-note { justify-content: flex-start; text-align: left; }
}

/* Render tiles and rows: transparent renders sit contained, not cropped */
.tile.render { background: #0d0d0d; }
.tile.render img { left: 7%; top: 6%; width: 86%; height: 66%; object-fit: contain; }
/* placed renders: the render runs past the tile; its (--cx, --cy) point sits at (--fx, --fy) in the tile */
.tile.zoom img { left: var(--fx, 50%); top: var(--fy, 50%); width: var(--w, 100%); height: auto; max-width: none; object-fit: fill;
  translate: calc(-1 * var(--cx, 50%)) calc(-1 * var(--cy, 50%)); }
@media (min-width: 601px) { .tile.zoom-h img { width: auto; height: var(--h, 140%); } }   /* wide tiles: size by height */
.rows .row figure.render { background: #050505; }
.rows .row figure.render img { object-fit: contain; padding: 4% 6%; box-sizing: border-box; }

/* SuperSeat: large board render hero */
.ss-hero.ss-hero-r {
  display: flex; flex-direction: column; padding-top: 72px;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1120px; background: #000;
}
.ss-hero.ss-hero-r::before { display: none; }
.ss-visual { position: relative; flex: 1 1 auto; min-height: 0; }
.ss-visual img { position: absolute; left: 4%; top: 2%; width: 92%; height: 98%; object-fit: contain; object-position: 50% 60%; }
.ss-hero.ss-hero-r .hero-copy { position: relative; bottom: auto; padding-block: 8px clamp(28px, 5vh, 56px); }
@media (max-width: 760px) {
  .ss-hero.ss-hero-r { height: auto; min-height: 0; max-height: none; }
  .ss-visual { flex: none; aspect-ratio: 16 / 10; margin-top: 8px; }
  .ss-visual img { left: 2%; top: 0; width: 96%; height: 100%; object-position: 50% 50%; }
}

/* SuperSeat: render gallery */
.ss-renders { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 26vw, 420px); }
.ss-renders figure { margin: 0; position: relative; overflow: hidden; background: #0b0b0b; }
.ss-renders img { position: absolute; left: 7%; top: 6%; width: 86%; height: 76%; object-fit: contain; }
.ss-renders figcaption { position: absolute; left: 14px; bottom: 12px; color: #dcdcd8; }
.ss-renders .w2 { grid-column: span 2; }
@media (max-width: 760px) {
  .ss-renders { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 46vw, 320px); }
  .ss-renders img { height: 70%; }
}

/* Project page: render hero (SuperSeat) */
.proj-hero.render-hero { display: flex; flex-direction: column; padding-top: 72px; }
.proj-hero.render-hero::before { display: none; }
.proj-hero.render-hero .rh-visual { position: relative; flex: 1 1 auto; min-height: 0; }
.proj-hero.render-hero .rh-visual img { position: absolute; left: 4%; top: 3%; width: 92%; height: 94%; object-fit: contain; }
.proj-hero.render-hero .hero-copy { position: relative; bottom: auto; padding-block: 8px clamp(28px, 5vw, 56px); }
@media (max-width: 760px) {
  .proj-hero.render-hero { height: auto; min-height: 0; max-height: none; }
  .proj-hero.render-hero .rh-visual { flex: none; aspect-ratio: 4 / 3; }
}
.strip figure { position: relative; background: #0b0b0b; }
.strip img { object-fit: contain; padding: 8%; box-sizing: border-box; }

/* ---------- Round 3: simulation (FEA reveal slider) ---------- */
/* capability, not a result: no stress scale, numbers or peak marker; the wipe shows the idea */
.sim .fea-legend, .sim .fea-peak { display: none; }
.sim-fig .sim-cap { max-width: none; font-size: 12px; line-height: 1.3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: #cfcfca; }
.sim-cap .sim-more { color: var(--text); display: inline-flex; gap: 8px; }
.sim-cap .sim-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.sim .fea-body { grid-template-columns: minmax(0, 1fr); }
.tile .tile-note { position: absolute; z-index: 2; top: clamp(14px, 1.3vw, 20px); right: clamp(16px, 1.4vw, 22px); color: #cfcfca; }
.sim .fea-slider {
  --fea-ink: var(--text); --fea-muted: var(--dim); --fea-line: var(--line-strong); --fea-accent: var(--accent);
  --fea-mono: var(--font); --fea-radius: 0px; --fea-knob: rgba(1,1,1,.55);
  --fea-label-bg: rgba(1,1,1,.8); --fea-label-ink: var(--white);
}
.sim-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--dim); margin-bottom: 18px; }
.sim-fig { margin: 0; }
.sim-fig figcaption { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; line-height: 1.45; max-width: 62em; }
.sim-fig figcaption .micro { display: block; color: var(--text); margin-bottom: 6px; }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.sim-h3 { color: var(--dim); padding-bottom: 14px; letter-spacing: .09em; line-height: 1.3; }
.sim-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 16px; }
.sim-table th, .sim-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.sim-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; color: var(--dim); }
.sim-table td { font-variant-numeric: tabular-nums; }
.sim-foot { margin: 14px 0 0; color: var(--dim); font-size: 14px; line-height: 1.45; }
.sim .specs .sr { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.sim-caps { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid var(--line); }
.sim-caps li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.sim-caps li::before { content: counter(c, decimal-leading-zero); font-size: 12px; letter-spacing: .09em; color: var(--dim); padding-top: .3em; }
@media (max-width: 1080px) { .sim-grid { grid-template-columns: 1fr 1fr; } .sim-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .sim-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sim-table { font-size: 15px; } .sim .specs .sr { grid-template-columns: 1fr; } }
.sim .specs { margin: 0; }
.sim-table tbody th { white-space: nowrap; }

/* SuperSeat buybox (live commerce: variant, price, stock, Stripe checkout) */
.buybox { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(28px, 3vw, 44px); }
.bb-gallery { min-width: 0; }
.bb-stage { position: relative; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.bb-track { position: absolute; inset: 0; }
.bb-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .35s ease; }
.bb-slide.is-active { opacity: 1; }
.bb-slide img { width: 100%; height: 100%; object-fit: contain; padding: 4%; } /* renders: show the whole part */
@media (prefers-reduced-motion: reduce) { .bb-slide { transition: none; } }
.bb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: rgba(1,1,1,.72); color: var(--white); font: inherit; font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.bb-nav:hover { border-color: var(--white); background: var(--black); }
.bb-prev { left: 12px; }
.bb-next { right: 12px; }
.bb-count { position: absolute; right: 14px; bottom: 12px; z-index: 2; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.bb-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.bb-thumb { padding: 0; border: 1px solid transparent; background: #111; aspect-ratio: 1; cursor: pointer; overflow: hidden; opacity: .55; transition: opacity .2s ease; }
.bb-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bb-thumb:hover { opacity: .85; }
.bb-thumb[aria-current="true"] { opacity: 1; border-color: var(--white); }
.bb-panel { min-width: 0; border-top: 2px solid var(--white); padding-top: 18px; }
.bb-variants { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.bb-variant { font: inherit; font-size: 15px; font-weight: 500; padding: 13px 10px; background: transparent; color: var(--text); border: 0; cursor: pointer; min-height: 48px; }
.bb-variant + .bb-variant { border-left: 1px solid var(--line-strong); }
.bb-variant[aria-pressed="true"] { background: var(--white); color: var(--black); }
.bb-variant:not([aria-pressed="true"]):hover { background: #161616; }
.bb-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.bb-price { font-size: clamp(40px, 4.4vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.bb-sku { color: var(--dim); }
.bb-stock { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--text); }
.bb-stock[hidden] { display: none; }
.bb-stock .dot { background: var(--dim); }
.bb-stock[data-state="in"] .dot { background: var(--accent); }
.bb-stock[data-state="low"] .dot { background: #f0a53c; }
.bb-stock[data-state="out"] .dot { background: #e5484d; }
.bb-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.bb-cta .btn[hidden] { display: none; }
.btn.is-disabled { opacity: .4; pointer-events: none; cursor: not-allowed; }
.bb-desc { margin-top: 32px; color: #d6d6d2; }
.bb-desc strong { color: var(--white); font-weight: 500; }
.bb-notes { color: var(--dim); font-size: 15px; }
.bb-specs { margin-top: 24px; }
.bb-specs .sr dd { font-size: 15px; }
.bb-support { margin-top: 24px; font-size: 15px; }
.bb-support a, .bb-legal a { text-decoration: underline; text-underline-offset: 3px; }
.bb-legal { color: var(--dim); font-size: 14px; border-left: 2px solid var(--accent); padding-left: 12px; }
@media (max-width: 900px) { .buybox { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .bb-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Capabilities page ---------- */
.cap-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 56px); }
.cap-index a { display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 14px; border: 1px solid var(--line-strong); font-size: 15px; color: var(--text); transition: background-color .2s ease, color .2s ease; }
.cap-index a .micro { display: inline; margin: 0; color: var(--dim); font-size: 11px; }
.cap-index a:hover { background: var(--text); color: var(--black); }
.cap-index a:hover .micro { color: #55554f; }
.capx-list-wrap { display: grid; gap: var(--gap); padding-bottom: clamp(48px, 6vw, 96px); }
.capx {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch;
  background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 88px; overflow: hidden;
}
.capx-text { padding: clamp(24px, 3vw, 52px); }
.capx .num { display: block; color: var(--dim); margin-bottom: 14px; }
.capx h2 { font-size: clamp(32px, 3.6vw, 56px); }
.capx-text > p { margin-top: 16px; max-width: 34em; color: #d8d8d4; font-size: 17px; line-height: 1.5; }
.capx-ul { margin: 22px 0 0; padding: 0; list-style: none; }
.capx-ul li { font-size: 15px; line-height: 1.4; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); color: #d8d8d4; }
.capx-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* Image half: bleeds to the panel's edges, full panel height */
.capx-fig { position: relative; margin: 0; min-height: clamp(400px, 40vw, 660px); border-left: 1px solid var(--line); }
.capx.flip .capx-fig { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.capx.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.capx-frame { position: absolute; inset: 0; overflow: hidden; background: #000; }
.capx-frame img { position: absolute; left: 50%; top: 50%; width: var(--w, 100%); height: auto; max-width: none; margin: 0; transform: translate(calc(-1 * var(--cx, 50%)), calc(-1 * var(--cy, 50%))); }
.capx-frame.cover img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--cx, 50%) var(--cy, 50%); transform: scale(var(--z, 1)); transform-origin: var(--cx, 50%) var(--cy, 50%); }
.capx-fig::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); }
.capx-fig figcaption { position: absolute; z-index: 2; left: clamp(16px, 1.6vw, 24px); bottom: clamp(14px, 1.4vw, 20px); margin: 0; padding: 0; border: 0; color: #d8d8d4; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.capx-fig figcaption .micro { margin: 0; color: inherit; }

/* Text-only panels */
.capx-plain { align-items: center; }
.capx-plain .capx-side { margin: 0; padding: clamp(24px, 3vw, 52px); padding-left: 0; }

@media (max-width: 860px) {
  .capx, .capx.flip { grid-template-columns: 1fr; }
  .capx-fig, .capx.flip .capx-fig { order: -1; min-height: 0; aspect-ratio: 4 / 3; border: 0; border-bottom: 1px solid var(--line); }
  .capx-plain .capx-side { padding: 0 clamp(24px, 3vw, 52px) clamp(24px, 3vw, 52px); margin-top: -8px; }
}

/* Our Work grid with three projects: last tile fills its own row at 3 columns */
.tile.tail3 { grid-column: 1 / -1; }
@media (max-width: 1080px) { .tile.tail3 { grid-column: span 1; } }
/* two-column grid (tablet): a tile that would sit alone on the last row spans it */
@media (min-width: 601px) and (max-width: 1080px) { .tile.w2-tablet { grid-column: span 2; } }

/* How we work on a ruler: fine millimetre ticks, the steps marked with arrows under the scale;
   each step's column starts at its arrow. On scroll the arrows rise into place in turn. */
.rule-scale { display: block; width: 100%; height: auto; overflow: visible; }
.rule-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 14px 0 0; padding: 0; list-style: none; }
.rule-steps li { padding-right: clamp(16px, 2vw, 32px); }
.rule-steps h3 { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.rule-steps .step-n { color: var(--accent); font-variant-numeric: tabular-nums; }
.rule-steps p { font-size: 14.5px; line-height: 1.5; color: #c9c9c4; margin: 0; max-width: 26ch; }
.ruler .arrow { transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease; transition-delay: calc(var(--i) * .09s); }
.ruler:not(.in) .arrow { transform: translateY(14px); opacity: 0; }
.rule-steps li { transition: opacity .6s ease; transition-delay: calc(.05s + var(--i) * .09s); }
.ruler:not(.in) .rule-steps li { opacity: 0; }
@media (max-width: 860px) {
  .ruler .arrow { display: none; }
  .rule-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .rule-steps h3 { display: flex; align-items: center; gap: 0; }
  .rule-steps h3 .step-n { margin-right: .3em; }
  .rule-steps h3::before { content: ""; flex: none; margin-right: 12px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .ruler .arrow, .rule-steps li { transition: none; }
  .ruler:not(.in) .arrow, .ruler:not(.in) .rule-steps li { transform: none; opacity: 1; }
}
@media (min-width: 861px) { .rule-steps { position: relative; left: -7px; } }   /* text starts at the arrow's left corner, not its tip */

/* About: everything on the title's left edge, using the full width: the opening paragraph,
   the workbench as a wide band, then the other two paragraphs side by side */
.company .big { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.22; letter-spacing: -.025em; margin: 14px 0 0; max-width: 34em; }
.company-photo.band-photo { margin: clamp(32px, 4vw, 56px) 0 0; }
.company-photo.band-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.company-photo.band-photo figcaption { margin-top: 12px; color: var(--dim); }
.company-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(28px, 3vw, 44px); }
.company-cols p { margin: 0; color: #cfcfca; max-width: 40em; }
@media (max-width: 760px) { .company-photo.band-photo img { aspect-ratio: 3 / 2; } .company-cols { grid-template-columns: 1fr; gap: 20px; } }
.founders .founder { display: grid; grid-template-columns: clamp(120px, 12vw, 180px) minmax(0, 1fr); gap: 24px; align-items: start; }
.founders .founder figure { margin: 0; aspect-ratio: 4 / 5; }
.founders .founder h3 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 6px; }
.founders .founder p { font-size: 15.5px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
@media (max-width: 900px) { .founders { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .founders .founder { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } }

/* Contact: location and SuperSeat support as a quiet row under the form */
.contact-details { display: flex; flex-wrap: wrap; gap: 16px clamp(32px, 6vw, 96px); padding-block: clamp(28px, 3vw, 40px); }
.contact-details .detail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.contact-details .micro { color: var(--dim); }
.contact-details .loc { display: inline-flex; align-items: center; gap: 8px; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.band.panel .include li span { color: var(--dim); }

/* SuperSeat: What it is on the title's edge; What's inside as one row of three framed views */
.story.stacked { grid-template-columns: 1fr; gap: 14px; }
.inside-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.inside-row figure { margin: 0; }
.inside-row .frame { position: relative; aspect-ratio: 4 / 3; background: #050505; border: 1px solid var(--line); overflow: hidden; }
.inside-row .frame img { position: absolute; inset: 7% 6%; width: 88%; height: 86%; object-fit: contain; }   /* the whole render, centered */
.inside-row figcaption { margin-top: 12px; color: var(--dim); }
@media (max-width: 760px) { .inside-row { grid-template-columns: 1fr; } }
.band.panel .how div { border-top-color: var(--line-strong); }
.band.panel .how p { color: #c9c9c4; }
.band.panel .how .micro { color: var(--dim); }

/* Legal pages: one reading column, the old legal text unchanged */
.legal { padding-bottom: clamp(72px, 9vw, 128px); }
.legal > * { max-width: 46rem; }
.legal .legal-effective { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; margin: 0 0 28px; }
.legal p, .legal li { color: #d6d6d2; font-size: 16.5px; line-height: 1.65; }
.legal p { margin: 0 0 18px; }
.legal h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin: clamp(40px, 4vw, 56px) 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 1.2em; list-style: disc outside; }
.legal ol { list-style-type: decimal; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.legal a:hover { text-decoration-color: var(--text); }
.legal strong { color: var(--text); font-weight: 600; }
.legal-callout { background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--accent); padding: 18px 22px; margin: 0 0 18px; }
.legal-callout p:last-child { margin-bottom: 0; }

/* SuperSeat support: the wiring tool's stylesheet speaks the old design's variables; map them onto
   the new palette for this page, and give its sections the site's heads */
.support-page {
  --font-body: var(--font); --font-display: var(--font); --font-label: var(--font);
  --on-surface: var(--text); --on-surface-variant: #c9c9c4;
  --surface-container-lowest: #050505; --surface-container-low: var(--panel); --surface-container-high: #1c1c1c;
  --ghost-border: var(--line); --ghost-border-strong: var(--line-strong);
  --primary: var(--accent); --primary-container: var(--accent); --on-primary-container: #fff; --on-primary-fixed-variant: var(--accent);
  --radius-sm: 0px; --radius-md: 0px; --radius-lg: 0px;
}
.support-body { padding-bottom: clamp(72px, 9vw, 128px); }
.support-head { margin-top: clamp(48px, 6vw, 88px); }
.support-head h2 { font-size: clamp(30px, 3.4vw, 52px); }
.support-page #support-toc { max-width: 28rem; }
.support-page [id] { scroll-margin-top: 96px; }   /* TOC jumps clear the fixed header */

/* 404 */
.nf { min-height: 62vh; padding-bottom: clamp(72px, 9vw, 128px); }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(28px, 3vw, 44px); }

/* Home FAQ: plain questions that open in place */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.015em; margin: 0; }
.faq-item summary::after { content: "+"; flex: none; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; max-width: 46rem; color: #c9c9c4; font-size: 16px; line-height: 1.6; }

/* How we work on phones: the ruler runs down the left of the stacked steps, ticks pointing in.
   Each step is exactly three major divisions (150px; minor every 5px, mid every 25px) and the scale
   is offset so every step's arrow lands on a major tick, like the 0/3/6/9/12 marks on desktop. */
@media (max-width: 860px) {
  .ruler .rule-scale { display: none; }
  .rule-steps { --div: 50px; --at: 13px; position: relative; margin-top: 8px; padding: 0 0 0 46px; gap: 0; grid-auto-rows: minmax(calc(3 * var(--div)), auto); }
  .rule-steps::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 20px;
    border-left: 1.5px solid #c9ccd6;
    background:
      linear-gradient(#c9ccd6 0 1.5px, transparent 1.5px) 0 var(--at) / 19px var(--div) repeat-y,
      linear-gradient(#c9ccd6 0 1px, transparent 1px) 0 calc(var(--at) + var(--div) / 2) / 12px var(--div) repeat-y,
      linear-gradient(#c9ccd6 0 1px, transparent 1px) 0 var(--at) / 7px calc(var(--div) / 10) repeat-y;
  }
  .rule-steps li { position: relative; }
  .rule-steps h3 { display: block; }
  .rule-steps h3::before {
    position: absolute; left: -24px; top: calc(var(--at) - 6px); margin: 0;
    border-bottom: 6px solid transparent; border-top: 6px solid transparent; border-right: 10px solid var(--accent); border-left: 0;
  }
  .rule-steps h3 { line-height: 26px; margin-bottom: 8px; }
}

/* SuperSeat: tighter lead-in to the buybox; What's included = the two assemblies + the pack list */
.ss-what { padding-block: clamp(28px, 3.5vw, 48px) 0; }
.ss-what + .buybox-sec { padding-top: clamp(40px, 5vw, 72px); }
.included { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.pack { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pack li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: #d6d6d2; }
.pack .qty { color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .included { grid-template-columns: 1fr; } }
.faq-people { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 0 0 24px; }
.faq-people figure { margin: 0; display: flex; align-items: center; gap: 14px; }
.faq-people img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 18%; }
.faq-people figcaption { display: grid; gap: 4px; }
.faq-people b { font-weight: 500; font-size: 16px; }
.faq-people span { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }



/* Grid wallpaper behind the closing sections (home: Questions through the CTA; Our Work: the CTA).
   It fades in from the top. A brighter copy of the grid shows in a soft circle around the pointer
   (site.js sets --mx/--my/--glow; mouse and trackpad only). */
.grid-wall { position: relative; isolation: isolate; }
.grid-wall::before, .grid-wall::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-wall::before {
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 12px 12px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%), linear-gradient(100deg, transparent 25%, #000 75%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%), linear-gradient(100deg, transparent 25%, #000 75%); mask-composite: intersect; }
.grid-wall::after {
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 12px 12px;
  opacity: var(--glow, 0); transition: opacity .5s ease;
  -webkit-mask-image: radial-gradient(circle 360px at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 35%, rgba(0,0,0,.12) 70%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%), linear-gradient(100deg, transparent 25%, #000 75%);
  -webkit-mask-composite: source-in, source-in;
  mask-image: radial-gradient(circle 360px at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 35%, rgba(0,0,0,.12) 70%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%), linear-gradient(100deg, transparent 25%, #000 75%);
  mask-composite: intersect; }

/* "?" explainer on the tape deck heading */
.info-btn { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-left: .55em; padding: 0; vertical-align: middle;
  font: 500 clamp(11px, .2em, 15px)/1 var(--font); border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--dim); cursor: help; transition: color .2s, border-color .2s; }
.nowrap { white-space: nowrap; }
.info-btn:hover, .info-btn[aria-expanded="true"] { color: var(--text); border-color: var(--accent); }
.info-pop { position: absolute; z-index: 1000; left: 0; top: 0; width: min(560px, calc(100vw - 32px));
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px; background: var(--panel); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px rgba(0,0,0,.6); text-align: left; }
.info-pop[hidden] { display: none; }
.info-pop img { width: 100%; height: auto; display: block; }
.info-pop h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -.01em; }
.info-pop .info-body p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #cfcfca; max-width: none; }
.info-pop sup a { color: var(--accent); text-decoration: none; font-size: 11px; margin-left: 1px; }
.info-src { margin: 10px 0 6px; padding: 10px 0 0 1.2em; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.info-src a, .info-credit a { color: var(--dim); text-decoration: underline; text-underline-offset: 2px; }
.info-pop .info-body .info-credit { font-size: 11px; color: var(--dim); margin: 0; }
@media (max-width: 760px) {
  .info-pop { position: fixed; left: 8px !important; right: 8px; bottom: 8px; top: auto !important; width: auto; max-height: 75vh; overflow: auto; grid-template-columns: 1fr; }
  .info-pop img { max-width: 220px; }
}
