@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #000000;
  --ink-2: #0c0c0e;
  --paper: #f4efe4;
  --brass: #d4ae63;
  --brass-ink: #0a0804;
  --signal: #f0d089;
  --stop: #e0563a;
  --ok: #7aaa74;
  --line: rgba(255, 255, 255, 0.10);
  --shine: rgba(255, 255, 255, 0.08);
  --text: #f4f0e8;
  --muted: #9c968c;
  --bg: #000000;
  --bg-lift: #070708;
  --card: #0c0c0e;
  --gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 42%, transparent 100%);
  --max: 1160px;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(16px, 4vw, 36px);
  --color-text: var(--text);
}

html[data-mode="light"] {
  color-scheme: light;
  --text: #14110c;
  --muted: #5a5448;
  --bg: #f4efe4;
  --bg-lift: #faf6ec;
  --card: #fffcf5;
  --ink-2: #ece6d6;
  --line: rgba(20, 17, 12, 0.12);
  --shine: rgba(255, 255, 255, 0.85);
  --brass: #8a6424;
  --signal: #6a4e16;
  --brass-ink: #fffaf0;
  --gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  --color-text: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--text);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(255, 255, 255, 0.07), transparent 58%),
    radial-gradient(760px 420px at 6% 108%, rgba(212, 174, 99, 0.07), transparent 55%),
    var(--bg);
}
html[data-mode="light"] body {
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(255, 255, 255, 0.85), transparent 58%),
    radial-gradient(760px 420px at 8% 110%, rgba(212, 174, 99, 0.12), transparent 55%),
    var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-mode="light"] body::before {
  opacity: 0.035;
  mix-blend-mode: multiply;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
code, .sum, pre { font-family: var(--mono); font-size: 0.86em; }
pre {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 16px;
  overflow: auto;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--brass);
  color: var(--brass-ink);
  padding: 8px 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px var(--pad);
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--shine), transparent 70%),
    color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
}
.nav-brand {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-brand::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--brass);
}
.nav-brand:hover { color: var(--brass); }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px 18px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-end {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.nav-get {
  min-height: 44px;
  padding: 0 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--brass-ink);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
  border-radius: 2px;
  flex: 0 0 auto;
}
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  border-radius: 2px;
  flex: 0 0 auto;
}
.theme-btn:hover { border-color: var(--brass); color: var(--text); }
.nav-links .btn { white-space: nowrap; min-width: 108px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
}
.btn:hover { border-color: var(--brass); color: var(--text); }
.btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--brass-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px rgba(212, 174, 99, 0.16);
}
.btn-primary:hover { background: var(--signal); color: var(--brass-ink); }
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-secondary { background: transparent; }

.page, .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 88px; }
.band, .block { padding: 52px 0 8px; }
.kicker, .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 14px; }
h1 {
  font-size: clamp(28px, 5.4vw, 62px);
  max-width: 14ch;
  overflow-wrap: break-word;
}
h2 { font-size: clamp(24px, 3.6vw, 38px); max-width: 22ch; }
h3 { font-size: 18px; }
.lede, .speak { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 36em; }
.note, .quiet, .form-note { color: var(--muted); font-size: 15px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  grid-template-areas:
    "copy shot"
    "actions shot";
  gap: 12px 48px;
  align-items: center;
  padding: 40px 0 12px;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-copy h1 { max-width: 12ch; margin-bottom: 16px; }
.hero-copy .lede { margin: 0; }
.hero-shot { grid-area: shot; margin: 0; }
.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: start;
  margin: 8px 0 0;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }

.shot {
  position: relative;
  background: #000;
  border: 1px solid color-mix(in srgb, var(--brass) 42%, var(--line));
  overflow: hidden;
  margin: 0;
  box-shadow: inset 0 1px 0 var(--shine), 0 28px 64px rgba(0, 0, 0, 0.55);
}
.shot img, .shot video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #050403;
}
.hero-shot img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.shot figcaption, .film figcaption {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 12px 12px;
  background: var(--bg);
}
.chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--stop);
  color: #fff;
  padding: 6px 10px;
}

.stills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.still {
  background-color: var(--card);
  background-image: var(--gloss);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--shine);
  padding: 0 0 16px;
  min-width: 0;
}
.still img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 28%;
}
.still.overlay img {
  object-fit: contain;
  object-position: center;
  background: #050403;
}
.still strong {
  display: block;
  padding: 12px 14px 0;
  font-size: 16px;
}
.still p {
  margin: 4px 14px 0;
  color: var(--muted);
  font-size: 14px;
}
.n {
  font-family: var(--mono);
  color: var(--brass);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 14px 8px;
}

.covers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.cover, .card3, .fit-card, .dl, .plane, .instrument, .plain, .warnbox, .app, .fit-card, .still, .faq, .catalog article {
  background-color: var(--card);
  background-image: var(--gloss);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--shine);
}
.cover, .card3, .fit-card, .dl, .plane, .instrument, .plain, .warnbox, .app, .fit-card {
  padding: 22px;
}
.warnbox { border-color: color-mix(in srgb, var(--brass) 40%, var(--line)); }
.cover h3, .card3 h3, .dl h3 { margin-bottom: 8px; }
.cover p, .card3 p, .dl p, .plane p { margin: 0; color: var(--muted); font-size: 16px; }

.film-grid, .cards3, .fit-grid, .dl-grid, .apps, .planes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.planes { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plane { margin: 0; }

.film {
  background: #000;
  border: 1px solid var(--line);
  margin: 0;
}
.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.al {
  display: grid;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.al article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.al .id { font-family: var(--mono); color: var(--brass); font-size: 12px; }

.steps { list-style: none; padding: 0; margin: 24px 0; }
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps b { font-family: var(--mono); color: var(--brass); }
.chooser { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.chooser button, .filters button {
  min-height: 44px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0 14px;
  font: 500 16px var(--sans);
  cursor: pointer;
}
.chooser button[aria-pressed="true"],
.filters button[aria-pressed="true"] {
  background: var(--brass);
  color: var(--brass-ink);
  border-color: var(--brass);
}
.file { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.more { margin: 12px 0; }
.more .inner { padding: 12px 0; color: var(--muted); }

.rows { display: grid; gap: 16px; margin-top: 24px; }
.rowline { display: grid; grid-template-columns: 72px 1fr; gap: 16px; }
.num { font-family: var(--mono); font-size: 28px; color: var(--brass); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.catalog article {
  background-color: var(--card);
  background-image: var(--gloss);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--shine);
  padding: 16px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.filters button[aria-pressed="true"] { background: var(--brass); color: var(--brass-ink); }

.faqs { display: grid; gap: 8px; margin-top: 16px; }
.faq {
  border: 1px solid var(--line);
  background-color: var(--card);
  background-image: var(--gloss);
  box-shadow: inset 0 1px 0 var(--shine);
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 500;
  min-height: 44px;
}
.signup .row { display: flex; gap: 8px; flex-wrap: wrap; }
.input {
  min-height: 48px;
  padding: 0 12px;
  background: var(--ink-2);
  color: var(--text);
  border: 1px solid var(--line);
  font: 16px var(--sans);
  flex: 1 1 220px;
}

.tag, .hero-tags .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 6px 8px;
  color: var(--muted);
  margin: 4px 4px 0 0;
}
.tag.ok { color: var(--ok); }
.tag.warn { color: var(--brass); }
.tag.bad { color: var(--stop); }
.hero-tags { margin-top: 8px; }

.os-films {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.os-head, .os-row {
  display: grid;
  grid-template-columns: 110px repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
}
.os-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 8px 0 12px;
}
.os-row .theme { font-size: 14px; color: var(--muted); padding-top: 6px; }
.os-row .theme strong { display: block; color: var(--text); font-size: 16px; }
.alias, .skip {
  border: 1px dashed var(--line);
  background: var(--card);
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
  min-height: 88px;
}

.chapter { margin: 16px 0; }
.chapter .shot { margin-top: 16px; }
.chapter > summary { font-size: 17px; }

.checks { margin: 0; padding: 0 0 0 18px; color: var(--muted); }
.checks li { margin: 8px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
}
.example { display: grid; gap: 10px; }
.who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.card3.ok { border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); }
.card3.stop { border-color: color-mix(in srgb, var(--stop) 50%, var(--line)); }
.demo-caption { color: var(--muted); font-size: 14px; }
.plain ul { color: var(--muted); padding-left: 18px; }
.plain li { margin: 10px 0; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot a { color: var(--muted); text-decoration: none; margin-left: 12px; }
.foot a:hover { color: var(--brass); }
.call { margin-top: 20px; }
.icon { display: none; }
.verdict { margin-top: 10px; font-size: 15px; }
.verdict.yes { color: var(--ok); }
.verdict.no { color: var(--stop); }

@media (max-width: 980px) {
  .nav-end { display: flex !important; }
  .nav-toggle { display: inline-flex !important; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a, .nav-links .btn {
    min-height: 48px;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0;
  }
  .nav-links .btn-ghost { border: 0; min-width: 0; }
  .nav-links .btn-primary { display: none; }
  .nav-links [data-mode-toggle] { display: none; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "shot"
      "actions";
    gap: 18px;
    padding-top: 28px;
  }
  .hero-copy h1, h1 { max-width: none; }
  .hero-actions .btn { flex: 1 1 140px; }
  .stills, .covers, .os-head, .os-row, .os-films, .two, .stage {
    grid-template-columns: 1fr;
  }
  .os-head { display: none; }
}

@media (min-width: 701px) and (max-width: 980px) {
  .stills { grid-template-columns: 1fr 1fr; }
  .covers { grid-template-columns: 1fr 1fr; }
  .os-films { grid-template-columns: 1fr 1fr; }
  .two, .stage { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .band, .block { padding: 36px 0 4px; }
  h1, .hero-copy h1 { font-size: 28px; max-width: none; }
  .lede, .speak { font-size: 16px; }
  .nav-brand { letter-spacing: 0.16em; font-size: 12px; }
  .nav-brand::before { width: 14px; }
  .nav-get { padding: 0 10px; font-size: 15px; }
  .nav-toggle { min-width: 44px; padding: 0 10px; }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn { min-height: 48px; width: 100%; flex: none; }
  .rowline { grid-template-columns: 48px 1fr; }
  .al article { grid-template-columns: 56px 1fr; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 8px 0; }
  .foot a { margin-left: 0; margin-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (hover: hover) {
  .still img, .hero-shot img {
    transition: transform 0.5s ease;
  }
  .still:hover img, .hero-shot:hover img {
    transform: scale(1.02);
  }
}
