/* Beadline: wet black paint at night. Ink and graphite, bone for text, one cold accent (ice). */
:root {
  --ink: #0a0b0d;
  --ink-2: #101215;
  --graphite: #191c21;
  --graphite-2: #23272d;
  --line: rgba(236, 232, 225, 0.16);
  --line-strong: rgba(236, 232, 225, 0.32);
  --bone: #ece8e1;
  --mute: #aaacb1;
  --ice: #8cc0ff;
  --ice-dim: rgba(140, 192, 255, 0.16);
  --display: 'Syncopate', 'Golos Text', sans-serif;
  --text: 'Golos Text', system-ui, sans-serif;
  --gut: clamp(16px, 4.4vw, 56px);
  --wide: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bar-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.55 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 60; padding: 12px 16px; background: var(--ice); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Photographs are graded to graphite, so the only colour on the page is the accent. */
.hero video, .readout img, .van-photo img, .kit-photo img, .step-photo, .sms-photo img, .book-photo img {
  filter: grayscale(1) contrast(1.12) brightness(0.9);
}
.van-photo img, .book-photo img { filter: grayscale(1) contrast(1.22) brightness(0.74); }

/* Type */
h2, .kicker, .brand span, .btn, legend, .giant, .foot-mark { font-family: var(--display); text-transform: uppercase; }
h2 { font-weight: 700; font-size: clamp(1.7rem, 7.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.01em; }
.kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; color: var(--ice); margin-bottom: 14px; }
.head-note { margin-top: 14px; max-width: 34em; color: var(--mute); }

/* Buttons: one ice slab, ink letters. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  background: var(--ice); color: var(--ink); border: 0; border-radius: 2px; cursor: pointer;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:hover { background: var(--bone); }
.btn:focus-visible { outline-offset: 4px; }
.btn-wide { width: 100%; }

/* The top bar: name, three anchors, the button. */
.bar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  height: var(--bar-h); padding: 0 var(--gut); background: var(--ink); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand span { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; }
.brand-beads circle { fill: var(--ice); }
.brand-beads .glint { fill: var(--ink); opacity: 0.55; }
.bar-nav ul { display: flex; flex: none; gap: 0; }
.bar-nav a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 9px; text-decoration: none;
  font-size: 0.9rem; color: var(--mute); white-space: nowrap; transition: color 180ms var(--ease);
}
.bar-nav a:hover { color: var(--bone); }
.btn-bar { display: none; min-height: 44px; padding: 0 18px; font-size: 0.7rem; }
@media (min-width: 760px) {
  :root { --bar-h: 72px; }
  .bar { gap: 20px; }
  .bar-nav ul { gap: 8px; }
  .bar-nav a { padding: 0 12px; }
  .btn-bar { display: inline-flex; }
}

/* Sections settle into place once. Reduced motion and no script leave them where they are. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Phone bottom bar: the one button, with the picker's choice beside it. */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-strong);
  transition: transform 320ms var(--ease), visibility 0s linear 0s;
}
.dock-line { flex: 1; min-width: 0; font-size: 0.86rem; line-height: 1.3; color: var(--mute); }
.dock-line span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-line b { font-family: var(--display); font-size: 1.05rem; color: var(--bone); }
.dock .btn { min-height: 48px; padding: 0 18px; }
.dock.is-away { transform: translateY(110%); visibility: hidden; transition: transform 320ms var(--ease), visibility 0s linear 320ms; }
.is-shot .dock { display: none; }
@media (min-width: 760px) { .dock { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 76px; } .is-shot body, .is-shot { padding-bottom: 0; } }

/* Footer: headed site map, then the name across the whole width. */
.foot { padding: 72px var(--gut) 28px; background: var(--ink-2); border-top: 1px solid var(--line); overflow: hidden; }
.foot-groups { display: grid; gap: 36px; max-width: var(--wide); margin: 0 auto; }
.foot h2 { font-size: 0.7rem; letter-spacing: 0.24em; color: var(--ice); margin-bottom: 14px; }
.foot li { color: var(--mute); }
.foot li + li { margin-top: 2px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--bone); transition: color 180ms var(--ease); }
.foot a:hover { color: var(--ice); }
.foot-mark {
  margin: 56px auto 0; max-width: var(--wide); font-weight: 700; font-size: min(calc((100vw - 2 * var(--gut)) / 6.8), 200px);
  line-height: 0.82; letter-spacing: -0.02em; color: var(--bone); text-align: center; white-space: nowrap;
}
.foot-small { max-width: var(--wide); margin: 28px auto 0; font-size: 0.86rem; color: var(--mute); }
@media (min-width: 760px) {
  .foot-groups { grid-template-columns: 1.2fr 1fr 1.4fr; }
}
