/* Option.Black house stylesheet (sites/option-black/style.css). One file for every page; built and content-hashed by sites/option-black/build.cjs.
   The site keeps one dark look on purpose (the brand is black metal), so colours are tokens on :root and nothing else defines a colour. */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/_ob/f/bodoni-moda-latin.c032219ef6.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("/_ob/f/bodoni-moda-italic-latin.b737328c13.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/_ob/f/host-grotesk-latin.ce9c9db8a4.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-raise: #0e0e0f;
  --panel: #121214;
  --line: rgba(239, 233, 223, 0.11);
  --line-strong: rgba(239, 233, 223, 0.24);
  --fg: #efe9df;
  --fg-soft: #c3bcb0;
  --fg-mute: #948d81;
  /* Platinum, from the chrome monogram (owner colour rule: never gold/amber/brown; 2026-10-20). One token: the live site's gold was #c9a467. */
  --accent: #c8ccd4;
  --accent-bright: #eef0f4;
  --accent-ink: #0b0c0e;
  --focus: #eef0f4;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Host Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 2px;
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.6vw, 2.9rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.6rem);
  --step-5: clamp(3rem, 1.9rem + 5.4vw, 6.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--text); font-size: var(--step-0); line-height: 1.6; font-weight: 380; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-bright); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0; }
em.gold, .gold { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--fg); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels: the small uppercase register the brand uses everywhere. */
.eyebrow { font-family: var(--text); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); font-weight: 560; }
.eyebrow .gold, .eyebrow b { color: var(--accent); font-weight: 600; }
.rule { display: inline-block; width: 44px; height: 1px; background: var(--accent); vertical-align: middle; margin: 0 12px; opacity: 0.8; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 21; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(7, 7, 7, 0.88); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header > .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 640; letter-spacing: 0.18em; font-size: 0.92rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.primary-nav a, .index-toggle { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--fg-soft); padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 520; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--fg); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--accent); }
.index-toggle { background: none; border: 1px solid var(--line-strong); color: var(--fg); cursor: pointer; font-family: inherit; gap: 10px; margin-left: 8px; }
.index-toggle:hover { border-color: var(--accent); }
.index-toggle .bars { width: 16px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; position: relative; }
.index-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid currentColor; }
.nav-contact { border: 1px solid var(--accent); color: var(--accent) !important; margin-left: 4px; }
.nav-contact:hover { background: var(--accent); color: var(--accent-ink) !important; }

/* Site index. The link falls back to the homepage portfolio without JavaScript. */
.index-panel {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
  max-height: calc(100vh - 69px);
  max-height: calc(100dvh - 69px - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.index-panel[hidden] { display: none; }
.index-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px 16px;
}
.index-heading h2 { font-size: clamp(1.8rem, 1.6rem + 1vw, 2.6rem); }
.index-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
}
.index-close:hover { border-color: var(--accent); }
.index-close span { font-size: 1.35em; }
.index-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding-block: 12px 40px; }
.index-grid > div { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.index-grid h2 { font-family: var(--text); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 620; margin-bottom: 8px; }
.index-grid ul { list-style: none; margin: 0; padding: 0; }
.index-grid a { display: flex; min-height: 44px; flex-direction: column; justify-content: center; padding: 6px 0; text-decoration: none; color: var(--fg); font-size: 0.98rem; line-height: 1.35; }
.index-grid a span { color: var(--fg-mute); font-size: 0.8rem; margin-top: 3px; }
.index-grid a:hover { color: var(--accent-bright); text-decoration: underline; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--fg); background: transparent; cursor: pointer; font-family: inherit; border-radius: var(--radius); }
.btn:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-bright); color: var(--accent-ink); border-color: var(--accent-bright); }
.arrow { font-family: var(--text); }
.text-link { color: var(--accent); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }
.text-link:hover { color: var(--accent-bright); text-decoration: underline; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.flush { border-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.6rem); }
.section-head .lede { color: var(--fg-soft); max-width: 60ch; font-size: var(--step-1); line-height: 1.5; }
.section-head .eyebrow { margin-bottom: 18px; }
.lede { color: var(--fg-soft); font-size: var(--step-1); line-height: 1.55; max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 68ch; color: var(--fg-soft); font-size: var(--step-1); line-height: 1.7; }

/* The house homepage. */
.home-hero { position: relative; isolation: isolate; overflow: hidden; }
.home-hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(450px, 34.5vw, 570px); }
.home-hero-copy { position: relative; z-index: 1; max-width: min(63%, 700px); padding-block: 53px; }
.home-hero-copy .eyebrow { color: var(--accent); }
.home-hero h1 {
  font-size: clamp(3.7rem, 3vw + 3.8vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.042em;
  text-wrap: initial;
  margin: 20px 0 25px;
}
.home-hero h1 em { display: block; color: var(--accent); font-weight: 500; }
.home-hero .lede { max-width: 36ch; font-size: clamp(1.08rem, 0.95rem + 0.55vw, 1.48rem); text-wrap: pretty; }
.home-hero .actions { margin-top: 31px; }
.home-hero .btn { font-size: 0.8rem; letter-spacing: 0.035em; text-transform: none; padding-inline: 17px; }
.home-hero-art {
  position: absolute;
  inset-block: 0;
  right: min(0px, (var(--wrap) - 100vw) / 2);
  width: min(66vw, 1050px);
  margin: 0;
  pointer-events: none;
}
.home-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 48%; }
.home-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg), rgba(7, 7, 7, 0.78) 12%, transparent 44%),
              linear-gradient(0deg, var(--bg), transparent 19%);
}
.home-dispatch-teaser { border-block: 1px solid var(--line); background: var(--bg-raise); }
.home-dispatch-teaser a { display: flex; align-items: center; gap: 18px; min-height: 57px; text-decoration: none; padding-block: 8px; }
.home-dispatch-teaser .eyebrow { color: var(--accent); flex: none; }
.home-dispatch-title { font-family: var(--display); font-size: 1.24rem; line-height: 1.15; }
.home-dispatch-arrow { margin-left: auto; color: var(--accent); font-size: 1.2rem; }
.home-dispatch-teaser a:hover .home-dispatch-title { text-decoration: underline; }

.home-products, .home-portfolio, .home-challenges, .home-notes, .home-contact { padding-block: clamp(44px, 5.7vw, 82px); }
.home-products { border-top: 0; padding-block-start: clamp(30px, 4vw, 56px); }
.home-products, .home-portfolio, .directory-items { scroll-margin-top: 86px; }
.home-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.home-section-title h2, .home-portfolio h2, .home-contact h2 { font-size: clamp(2.4rem, 1.6rem + 2.75vw, 4rem); text-wrap: pretty; }
.home-section-title .text-link { text-transform: none; font-size: 0.95rem; letter-spacing: 0.015em; }

.product-entrances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
  gap: 1px;
}
.product-entrance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  grid-template-rows: 1fr auto;
  gap: 16px;
  padding: clamp(19px, 2.2vw, 32px);
  background: linear-gradient(145deg, var(--panel), var(--bg) 75%);
  min-width: 0;
  text-decoration: none;
  transition: box-shadow .18s ease;
}
.product-entrance:hover, .product-entrance:focus-visible { box-shadow: inset 0 2px 0 var(--accent); }
.product-logo { grid-area: 1 / 2; width: 56px; height: 56px; object-fit: contain; }
.product-entrance > div { grid-area: 1 / 1; }
.product-entrance h3 { font-size: clamp(1.5rem, 1rem + 1.35vw, 2.4rem); margin: 10px 0 8px; text-wrap: pretty; }
.product-entrance .eyebrow { color: var(--accent); font-size: 0.7rem; line-height: 1.3; letter-spacing: 0.095em; }
.product-entrance p:not(.eyebrow) { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.45; }
.product-action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.product-action span { font-size: 1.15rem; }
.product-entrance:hover .product-action { color: var(--accent-bright); }

.home-portfolio { background: var(--bg-raise); }
.home-portfolio > .wrap { display: grid; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.home-portfolio-intro .lede, .home-contact .lede { margin-top: 14px; max-width: 36ch; }
.home-directory { border-bottom: 1px solid var(--line-strong); }
.home-directory details { border-top: 1px solid var(--line-strong); }
.home-directory summary {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.05rem + 1.05vw, 2.1rem);
  line-height: 1.15;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 59px;
  padding: 12px 5px;
  cursor: pointer;
}
.home-directory summary::-webkit-details-marker { display: none; }
.home-directory summary:hover { color: var(--accent-bright); }
.directory-expand {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.directory-expand::before, .directory-expand::after { content: ""; grid-area: 1 / 1; background: currentColor; width: 14px; height: 1px; }
.directory-expand::after { rotate: 90deg; }
details[open] .directory-expand::after { display: none; }
.directory-items { list-style: none; padding: 0; margin: 0 5px 15px; }
.directory-items li { border-top: 1px solid var(--line); }
.directory-items a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; text-decoration: none; padding: 12px 0; }
.directory-items a:hover strong { text-decoration: underline; }
.directory-items strong { font-weight: 580; }
.directory-description { display: block; color: var(--fg-soft); font-size: 0.88rem; line-height: 1.45; }
.directory-status { display: block; color: var(--accent); font-size: 0.76rem; margin-top: 4px; }

.challenge-entrances { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2.3vw, 30px); }
.challenge-entrances a { position: relative; border-top: 1px solid var(--line-strong); padding: 23px 30px 0 0; text-decoration: none; }
.challenge-entrances h3 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.65rem); text-wrap: pretty; margin-block: 10px; }
.challenge-entrances a > p:not(.eyebrow) { color: var(--fg-soft); max-width: 45ch; }
.challenge-entrances a > span { position: absolute; top: 18px; right: 0; color: var(--accent); }
.challenge-entrances a:hover h3 { color: var(--accent-bright); text-decoration: underline; }

.home-notes { background: var(--bg-raise); }
.home-notes .notes { gap: clamp(14px, 2.3vw, 30px); border: 0; background: none; }
.home-notes .note { border: 1px solid var(--line); }
.home-notes .note:hover { border-color: var(--line-strong); }
.home-contact > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-items: start; align-items: center; gap: clamp(20px, 4vw, 58px); }
.home-contact .actions { margin-top: 0; }
.home-contact .text-link { text-transform: none; letter-spacing: 0.015em; margin-top: 7px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; border: 1px solid var(--line); }
.hero-figure.mark img { border: 0; max-width: 420px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }

/* Page hero (product pages) */
.page-hero { padding-block: clamp(48px, 7vw, 100px) clamp(48px, 6vw, 84px); }
.page-hero h1 { font-size: var(--step-5); line-height: 0.96; margin: 20px 0 24px; }
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.page-hero .hero-figure img { max-height: 460px; width: auto; margin-inline: auto; border: 0; }
.page-hero .hero-figure.framed img { border: 1px solid var(--line); width: 100%; max-height: none; }
.notice { margin-top: 32px; border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; max-width: 60ch; }
.notice .eyebrow { color: var(--accent); margin-bottom: 6px; }
.notice p { color: var(--fg-soft); font-size: 0.95rem; }
.crumbs { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); }
.crumbs a { text-decoration: none; color: var(--fg-mute); }
.crumbs a:hover { color: var(--accent-bright); }
.crumbs span[aria-hidden] { margin: 0 8px; color: var(--accent); }

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--bg); padding: clamp(24px, 3vw, 40px); min-width: 0; }
.cell h3 { font-size: var(--step-2); margin: 12px 0 12px; }
.cell p { color: var(--fg-soft); }
.cell .num { font-family: var(--display); color: var(--accent); font-size: 1.1rem; font-style: italic; }

/* Proof figures */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 20px; }
.figures div { padding: 18px 16px 0 0; min-width: 0; }
.figures dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); font-weight: 580; }
.figures dd { margin: 8px 0 0; font-family: var(--display); font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.4rem); line-height: 1; white-space: nowrap; }
.figures dd small { white-space: normal; }
.figures dd small { display: block; font-family: var(--text); font-size: 0.86rem; color: var(--fg-soft); margin-top: 8px; line-height: 1.4; }
.figures .ours dd { color: var(--accent); }
.caveat { color: var(--fg-mute); font-size: 0.84rem; margin-top: 18px; max-width: 64ch; }

/* House index */
.house { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.house section { background: var(--bg); padding: 28px 24px 18px; min-width: 0; }
.house h3 { font-family: var(--text); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 620; margin-bottom: 14px; }
.house ul { list-style: none; margin: 0; padding: 0; }
.house li + li { border-top: 1px solid var(--line); }
.house a { display: block; padding: 14px 0; text-decoration: none; }
.house a b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.28rem; line-height: 1.15; }
.house a span { display: block; color: var(--fg-mute); font-size: 0.88rem; line-height: 1.45; margin-top: 4px; }
.house a .st { display: inline-block; color: var(--fg-soft); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; border: 1px solid var(--line-strong); padding: 2px 6px; }
.house a:hover b { color: var(--accent-bright); }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.6rem); margin: 16px 0 20px; }
.split figure { margin: 0; }
.split figure img { width: 100%; border: 1px solid var(--line); }
figcaption { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); margin-top: 12px; }
.list-tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.list-tags li { border: 1px solid var(--line-strong); padding: 6px 10px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }

/* Key/value table */
.kv { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); font-weight: 580; }
.kv dd { margin: 0; color: var(--fg); }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { counter-increment: s; background: var(--bg); padding: 20px 24px 20px 76px; position: relative; color: var(--fg-soft); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 24px; top: 18px; font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.2rem; }
.steps li b { color: var(--fg); font-weight: 560; display: block; }

/* Crucible tabs */
.crucible { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.crucible [role="tablist"] { background: var(--bg); display: flex; flex-direction: column; }
.crucible [role="tab"] { all: unset; cursor: pointer; padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; min-height: 44px; }
.crucible [role="tab"] b { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); font-weight: 620; }
.crucible [role="tab"] span { font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.crucible [role="tab"][aria-selected="true"] { background: var(--bg-raise); box-shadow: inset 2px 0 0 var(--accent); }
.crucible [role="tab"][aria-selected="true"] span { color: var(--fg); }
.crucible [role="tab"]:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.crucible [role="tabpanel"] { background: var(--bg); padding: clamp(24px, 3.5vw, 44px); }
.crucible blockquote { margin: 16px 0 22px; font-family: var(--display); font-size: var(--step-2); line-height: 1.25; font-style: italic; }
.crucible .verify { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: v; }
.crucible .verify li { counter-increment: v; border: 1px solid var(--line); padding: 10px 12px; font-size: 0.92rem; }
.crucible .verify li::before { content: counter(v) "  "; color: var(--accent); font-weight: 620; }
.outcome { display: inline-block; margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 640; color: var(--accent); border: 1px solid var(--accent); padding: 6px 10px; }
.js .crucible [role="tabpanel"][hidden] { display: none; }

/* Audio */
.player { border: 1px solid var(--line); background: var(--bg-raise); }
.player audio { width: 100%; display: block; }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li + li { border-top: 1px solid var(--line); }
.tracks button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; min-height: 52px; }
.tracks button:hover, .tracks button[aria-pressed="true"] { background: var(--panel); }
.tracks button[aria-pressed="true"] .t { color: var(--accent-bright); }
.tracks button:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
.tracks .n { font-family: var(--display); font-style: italic; color: var(--accent); }
.tracks .d { color: var(--fg-mute); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.now { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }
.now b { color: var(--fg); letter-spacing: 0.04em; text-transform: none; font-size: 0.98rem; font-weight: 520; }

/* Forms (the Vox scope composer prepares an e-mail; nothing is submitted to a server) */
.composer { border: 1px solid var(--line); background: var(--bg-raise); padding: clamp(22px, 3vw, 36px); }
.fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); font-weight: 580; }
.fields select { appearance: none; -webkit-appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8ccd4' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--fg); border: 1px solid var(--line-strong); min-height: 48px; padding: 10px 34px 10px 12px; font: inherit; font-size: 0.95rem; text-transform: none; letter-spacing: 0; border-radius: var(--radius); width: 100%; }
.fields select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.fine { color: var(--fg-mute); font-size: 0.82rem; margin-top: 16px; max-width: 80ch; }

/* Contact list */
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 22px 0; text-decoration: none; }
.channels .n { font-family: var(--display); font-style: italic; color: var(--accent); font-size: 1.2rem; }
.channels b { display: block; font-family: var(--display); font-weight: 500; font-size: var(--step-2); line-height: 1.15; }
.channels span { display: block; color: var(--fg-soft); margin-top: 6px; max-width: 64ch; }
.channels .go { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 620; white-space: nowrap; padding-top: 6px; }
.channels a:hover b { color: var(--accent-bright); }
.mail { font-family: var(--display); font-size: var(--step-3); color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { color: var(--accent-bright); text-decoration: underline; }

/* Dispatch */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.note { background: var(--bg); text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.note img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); background: var(--panel); }
.note div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.note time, .note .kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); }
.note .kicker { color: var(--accent); }
.note h3 { font-size: var(--step-2); }
.note p { color: var(--fg-soft); font-size: 0.95rem; }
.note:hover h3 { color: var(--accent-bright); }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: var(--step-4); margin: 18px 0 22px; }
.article figure { margin: 36px 0; }
.article figure img { width: 100%; border: 1px solid var(--line); }
.article .prose { max-width: none; }

/* People */
.people { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.people figure { margin: 0; }
.people figure img { width: 100%; border: 1px solid var(--line); }
.person + .person { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.person h3 { font-size: var(--step-3); margin: 10px 0 12px; }
.person p { color: var(--fg-soft); max-width: 60ch; }

/* Closing actions */
.cta-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem); margin-top: 16px; }
.cta-band .actions { justify-content: flex-end; margin-top: 0; }

/* Objects register */
.register { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.register .cell h3 { font-size: 1.35rem; }
.register .cell .eyebrow { font-size: 0.66rem; }
.register ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.register li { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); background: var(--panel); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--fg-soft); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(5, minmax(0, 1.6fr)); gap: 28px; }
.footer-grid h2 { font-family: var(--text); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 620; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid a { text-decoration: none; color: var(--fg-soft); display: inline-block; padding: 5px 0; }
.footer-grid a:hover { color: var(--accent-bright); }
.footer-brand p { margin-top: 14px; max-width: 34ch; color: var(--fg-mute); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--fg-mute); font-size: 0.8rem; letter-spacing: 0.06em; }
.footer-base a { color: var(--fg-mute); }

/* Responsive */
@media (max-width: 1100px) {
  .index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .house { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .register { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .people, .section-head, .cta-band, .crucible { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero-figure { order: -1; }
  .page-hero .hero-figure img { max-height: 260px; }
  .grid-3, .notes { grid-template-columns: minmax(0, 1fr); }
  .cta-band .actions { justify-content: flex-start; }
  .crucible [role="tablist"] { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .crucible [role="tab"] { border-bottom: 0; border-right: 1px solid var(--line); flex: 0 0 auto; }
  .crucible [role="tab"][aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header > .wrap { min-height: 60px; gap: 12px; }
  .index-grid a span { display: none; }
  .index-grid a { padding: 9px 0; }
  .index-toggle { margin-left: 0; padding: 10px 12px; }
  .eyebrow .rule { display: none; }
  .brand { font-size: 0.82rem; letter-spacing: 0.14em; }
  .brand img { width: 30px; height: 30px; }
  .index-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-block: 24px 32px; }
  .house, .grid-2, .grid-4, .register, .figures { grid-template-columns: minmax(0, 1fr); }
  .figures div { padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .crucible .verify { grid-template-columns: minmax(0, 1fr); }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .channels a { grid-template-columns: 34px minmax(0, 1fr); }
  .channels .go { grid-column: 2; padding-top: 0; }
  .actions .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

/* Related entrances: three across, never an empty fourth cell. Large figure band. */
.house.related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures.big dd { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); }
@media (max-width: 900px) { .house.related { grid-template-columns: minmax(0, 1fr); } }
.hero-grid > :only-child { grid-column: 1 / -1; max-width: 980px; }
.page-hero h1 { font-size: clamp(2.8rem, 1.5rem + 4.2vw, 5.6rem); }

@media (max-width: 730px) {
  .primary-nav a:not(.nav-contact):not(.index-toggle) { display: none; }
}

/* Tablet and phone layouts keep the product links close to the introduction. */
@media (max-width: 1020px) {
  .home-hero-art { right: 0; }
  .home-hero h1 { font-size: clamp(3.6rem, 7.9vw, 5.75rem); }
  .home-hero-copy { max-width: 66%; }
  .product-entrance { grid-template-columns: minmax(0, 1fr) 43px; gap: 10px; }
  .product-logo { width: 43px; height: 43px; }
  .home-notes .note div { padding: 17px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .home-notes .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-hero-art { width: 73vw; right: -10vw; }
}
@media (max-width: 640px) {
  .index-panel { max-height: calc(100dvh - 61px - env(safe-area-inset-top, 0px)); }
  .index-heading { padding-block: 18px 8px; }
  .index-grid { gap: 16px; }
  .site-header > .wrap { gap: 8px; }
  .primary-nav { gap: 4px; }
  .primary-nav .index-toggle { gap: 6px; }
  .primary-nav .index-toggle, .primary-nav .nav-contact { padding-inline: 8px; font-size: 0.71rem; letter-spacing: 0.04em; }
  .index-toggle .bars { width: 12px; }
  .nav-contact { margin-left: 0; }

  .home-hero-inner { min-height: unset; }
  .home-hero-copy { max-width: none; padding-block: 33px 29px; }
  .home-hero-copy .eyebrow { font-size: 0.68rem; letter-spacing: 0.11em; }
  .home-hero h1 { font-size: clamp(2.85rem, 12.4vw, 4.8rem); margin-block: 18px; }
  .home-hero .lede { font-size: 1.02rem; max-width: 29ch; }
  .home-hero-art { width: min(108vw, 530px); right: -26vw; height: 100%; }
  .home-hero-art img { object-position: 58% 42%; opacity: .60; }
  .home-hero-art::after {
    background: linear-gradient(90deg, var(--bg), rgba(7, 7, 7, 0.58) 22%, transparent 66%),
                linear-gradient(0deg, var(--bg), rgba(7, 7, 7, 0.77) 26%, transparent 76%);
  }
  .home-hero .actions { margin-top: 24px; gap: 8px; }
  .home-hero .actions .btn { flex: 0 1 auto; padding-inline: 10px; gap: 5px; min-height: 44px; font-size: 0.78rem; }
  .home-dispatch-teaser a { gap: 9px; min-height: 48px; }
  .home-dispatch-teaser .eyebrow { font-size: 0.62rem; letter-spacing: 0.09em; }
  .home-dispatch-title { font-size: 1.04rem; }
  .home-products { padding-block: 26px 38px; }
  .home-section-title { gap: 0 12px; margin-bottom: 14px; }
  .home-section-title h2, .home-portfolio h2, .home-contact h2 { font-size: clamp(2rem, 8.9vw, 2.9rem); }
  .home-section-title .text-link { font-size: 0.86rem; }
  .home-products .home-section-title { align-items: center; }

  .product-entrances { grid-template-columns: minmax(0, 1fr); }
  .product-entrance { grid-template-columns: 43px minmax(0, 1fr) 16px; grid-template-rows: auto; gap: 12px; padding: 12px; align-items: start; }
  .product-logo { grid-area: 1 / 1; align-self: center; }
  .product-entrance > div { grid-area: 1 / 2; }
  .product-entrance h3 { margin-block: 3px 4px; font-size: 1.56rem; }
  .product-entrance .eyebrow { font-size: 0.62rem; letter-spacing: 0.06em; }
  .product-entrance p:not(.eyebrow) { font-size: 0.87rem; line-height: 1.35; }
  .product-action { grid-area: 1 / 3; align-self: center; padding: 0; border: 0; font-size: 0; }

  .home-portfolio > .wrap, .home-contact > .wrap, .challenge-entrances { grid-template-columns: minmax(0, 1fr); }
  .home-portfolio > .wrap { gap: 22px; }
  .home-portfolio-intro .lede, .home-contact .lede { font-size: 1.04rem; }
  .challenge-entrances { gap: 22px; }
  .challenge-entrances a { padding-top: 15px; }
  .challenge-entrances a > span { top: 10px; }
  .home-contact .actions { width: 100%; }
}
@media (max-width: 355px) {
  .site-header > .wrap { --gutter-l: max(13px, env(safe-area-inset-left, 0px)); --gutter-r: max(13px, env(safe-area-inset-right, 0px)); }
  .site-header .brand { font-size: 0.73rem; letter-spacing: 0.10em; gap: 7px; }
}
