/* Okuma Works — product-shot calm. Studio black, off-white, steel; the service colour is a detail, never a wash.
   One typeface (Host Grotesk) at two sizes plus the statement size. */
:root {
  --mat: #0b0c0f;
  --ink: #f1efea;
  --ink-2: #a7abb3;
  --gel: #3b5bff;
  --signal: #7c90ff;
  --face: "Host Grotesk", "Segoe UI", system-ui, sans-serif;
  --s: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --big: clamp(2.75rem, 1rem + 5vw, 6rem);
  --statement: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  --m: clamp(20px, 3vw, 48px);
  --out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3a3c42 var(--mat); }
body { margin: 0; background: var(--mat); color: var(--ink); font: 400 var(--s)/1.55 var(--face); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--mat); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }

#bench { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; touch-action: pan-y; cursor: grab; }
#bench.grabbing { cursor: grabbing; }
.no-gl #bench { display: none; }
.no-gl body { background: var(--mat) url(img/still.webp) center 22% / min(80vw, 760px) auto no-repeat; }

/* Header */
.top { position: fixed; z-index: 3; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: max(24px, env(safe-area-inset-top)) max(var(--m), env(safe-area-inset-right)) 24px max(var(--m), env(safe-area-inset-left)); pointer-events: none; }
.top > * { pointer-events: auto; }
.mark { display: block; line-height: 0; }
.mark .logo { height: 36px; width: auto; display: block; }
nav { display: flex; gap: 28px; align-items: center; font-size: 1rem; }
nav a, #sound { color: var(--ink-2); transition: color 200ms ease; }
#sound { font: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
#sound .ico { width: 20px; height: 20px; }
#sound .w { opacity: 0.35; transition: opacity 200ms ease; }
#sound[aria-pressed="true"] { color: var(--ink); }
#sound[aria-pressed="true"] .w { opacity: 1; }
@media (hover: hover) and (pointer: fine) { nav a:hover, #sound:hover { color: var(--ink); } }

/* Chapters */
main { position: relative; z-index: 2; pointer-events: none; }
.ch { min-height: 140svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 max(var(--m), env(safe-area-inset-right)) 28svh max(var(--m), env(safe-area-inset-left)); position: relative; }
.ch:first-child { min-height: 100svh; padding-bottom: max(48px, env(safe-area-inset-bottom)); }
.say { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 36ch); align-items: end; column-gap: 56px; row-gap: 20px; max-width: 1240px; }
.ch.right .say { margin-left: auto; grid-template-columns: minmax(0, 36ch) minmax(0, auto); }
.ch.right .say > p { grid-column: 1; grid-row: 1; }
.ch.right .say > .big { grid-column: 2; grid-row: 1; text-align: right; }
.say > p { color: var(--ink-2); max-width: 36ch; padding-bottom: 0.6em; }
.big { font-size: var(--big); font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
.hint { position: absolute; right: max(var(--m), env(safe-area-inset-right)); bottom: max(52px, env(safe-area-inset-bottom)); color: var(--ink-2); font-size: 0.9375rem; }
.say a, .say button, .index, .price-list { pointer-events: auto; }

/* The full-screen render moment */
.ch.plate { padding: 0; min-height: auto; justify-content: center; background: var(--mat); pointer-events: auto; }
.plate figure { position: relative; }
.plate img { display: block; width: 100%; height: 100svh; object-fit: cover; }
.plate figcaption { position: absolute; left: max(var(--m), env(safe-area-inset-left)); bottom: max(40px, env(safe-area-inset-bottom)); max-width: 44ch;
  color: var(--ink); }
.plate figcaption span { font-weight: 500; }
/* A neutral scrim under the caption so it reads over any part of the photo. */
.plate figure::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 12, 15, 0), rgba(11, 12, 15, 0.82)); } /* taste-skill-ignore: neutral scrim under a caption on a photo */
.plate figcaption { z-index: 1; }

/* Quiet beats */
.ch.quiet { justify-content: center; padding-bottom: 0; min-height: 120svh; }
.statement { font-size: var(--statement); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; color: var(--ink); }
.say-prices { grid-template-columns: minmax(0, auto) minmax(0, 52ch); align-items: start; }
.price-list { display: grid; gap: 22px; padding-top: 0.6em; }
.price-list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; }
.price-list dt { color: var(--ink); font-weight: 500; }
.price-list dd { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Work index */
.ch-work .say { grid-template-columns: 1fr; max-width: none; }
.index { list-style: none; padding: 0; display: grid; gap: 2px; max-width: 820px; }
.index a { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: 20px; padding: 12px 0; color: var(--ink); transition: color 220ms ease, transform 320ms var(--out); }
.index a span:not(:first-child) { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .index:hover a { color: var(--ink-2); }
  .index a:hover { color: var(--ink); transform: translateX(8px); }
  .index a:hover span { color: var(--ink); }
}
.index a:active { transform: scale(0.99); }
.peek { position: fixed; z-index: 1; left: 0; top: 0; width: min(30vw, 440px); aspect-ratio: 16 / 9; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity 240ms ease; will-change: transform; }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Close */
.ch-end { min-height: 100svh; padding-bottom: max(48px, env(safe-area-inset-bottom)); }
.ch-end .say { grid-template-columns: 1fr; max-width: none; row-gap: 32px; }
.lede { color: var(--ink-2); }
.mail { justify-self: start; transition: color 240ms ease; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .mail:hover { color: var(--signal); } }
.foot { display: flex; flex-wrap: wrap; gap: 8px 36px; color: var(--ink-2); }
.foot a { color: var(--ink); }

@media (max-width: 760px) {
  .mark .logo { height: 30px; }
  nav { gap: 18px; } nav a[href="#prices"] { display: none; }
  #sound .lbl { display: none; }
  .top { background: var(--mat); padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 14px; }
  .say, .ch.right .say, .say-prices { grid-template-columns: 1fr; }
  .ch.right .say > p, .ch.right .say > .big { grid-column: 1; grid-row: auto; text-align: left; }
  .ch { min-height: 125svh; padding-bottom: 20svh; }
  .ch.quiet { min-height: 100svh; }
  .plate img { height: 70svh; }
  .price-list div { grid-template-columns: 1fr; gap: 2px; }
  .index a { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; }
  .index a span:nth-child(2) { grid-row: 2; grid-column: 1; }
  .index a span:nth-child(3) { grid-row: 1; grid-column: 2; }
  .peek { display: none; }
  .mail .dom { display: block; }
}
@media (hover: none) { .hint { display: none; } }

/* Hero: the headline on the left, the visitor's name field on the right. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.say-hero { grid-template-columns: minmax(0, auto) minmax(0, 440px); align-items: end; max-width: none; justify-content: space-between; }
.try { display: grid; gap: 14px; pointer-events: auto; padding-bottom: 0.4em; }
.try-lead { color: var(--ink-2); }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid #3a3c42; color: var(--ink); font: 500 var(--statement)/1.2 var(--face);
  letter-spacing: -0.02em; padding: 10px 0 12px; border-radius: 0; transition: border-color 200ms ease; }
.field-small input { font: 400 var(--s)/1.4 var(--face); letter-spacing: 0; }
.field input::placeholder { color: #8a8e96; }
.field input:focus { outline: none; border-bottom-color: var(--signal); }
.field input:focus-visible { outline: none; }
.go { justify-self: start; margin-top: 8px; font: 500 1rem var(--face); color: #fff; background: #3b5bff; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer;
  transition: transform 160ms var(--out), background-color 200ms ease; }
.go:hover { background: #2f4ef0; }
.go:active { transform: scale(0.97); }
.go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[data-name] { color: var(--ink); }
@media (max-width: 760px) {
  .say-hero { grid-template-columns: 1fr; }
  .try { padding-bottom: 0; }
}
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--mat); outline: 2px solid transparent; background: var(--c); cursor: pointer; transition: transform 160ms var(--out), outline-color 160ms ease; }
.chip[aria-pressed="true"] { outline-color: var(--ink); }
.chip:active { transform: scale(0.94); }
.brand-status { color: var(--ink-2); font-size: 0.9375rem; min-height: 1.4em; }
.needs { border: 0; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs legend { color: var(--ink-2); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.need { font: 500 0.9375rem var(--face); color: var(--ink); background: #1a1b1f; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--out); }
.need:hover { background: #24262b; }
.need[aria-pressed="true"] { background: var(--ink); color: var(--mat); }
.need:active { transform: scale(0.97); }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.watch { font: 500 1rem var(--face); color: var(--ink); background: #1a1b1f; border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; margin-top: 8px; transition: background-color 200ms ease, transform 160ms var(--out); }
.watch:hover { background: #24262b; } .watch:active { transform: scale(0.97); }
.speed { display: grid; gap: 10px; pointer-events: auto; grid-column: 1 / -1; margin-top: 8px; }
.speed div { display: grid; grid-template-columns: 14em auto; gap: 16px; }
.speed dt { color: var(--ink-2); } .speed dd { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.speed[data-state="pending"] dd { color: var(--ink-2); }
.speed-note { color: var(--ink-2); font-size: 0.9375rem; }
.vsl { border: 0; padding: 0; background: var(--mat); width: min(92vw, 1100px); color: var(--ink); }
.vsl::backdrop { background: rgba(8, 9, 11, 0.86); }
.vsl video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vsl-close { position: absolute; top: 12px; right: 12px; font: 500 0.9375rem var(--face); color: var(--ink); background: rgba(11, 12, 15, 0.7); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
@media (max-width: 760px) { .speed div { grid-template-columns: 1fr auto; } }

.speed[hidden], .watch[hidden] { display: none; }
