/* guru.blends — Escape-led editorial-commercial build.
   Type: League Gothic (display) + Commissioner (reading, interface). Both SIL OFL 1.1, self-hosted. */

@font-face {
  font-family: "League Gothic";
  src: url("fonts/league-gothic-latin-wdth.woff2") format("woff2");
  font-weight: 400;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: oblique 0deg 12deg;
  font-display: swap;
}
/* Metric-adjusted local fallbacks keep the condensed display lines inside their columns. */
@font-face {
  font-family: "League Gothic Fallback";
  src: local("Arial Narrow"), local("ArialNarrow"), local("Liberation Sans Narrow");
  size-adjust: 63%;
  ascent-override: 118%;
  descent-override: 30%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Commissioner Fallback";
  src: local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 101%;
  ascent-override: 100%;
  descent-override: 21%;
  line-gap-override: 0%;
}

:root {
  --paper: #eeede9;
  --card: #e2e0da;
  --ink: #121212;
  --graphite: #1c1c1a;
  --mute-ink: #57574f;
  --mute-paper: #a9a8a0;
  --line-ink: rgb(18 18 18 / 0.16);
  --line-paper: rgb(238 237 233 / 0.36);
  --rail: 0px;
  --gx: 20px;
  --gap: 14px;
  --bar-h: 56px;
  --r: 4px;
  --r-cell: 8px;
  --k-xl: 0.31;
  --k-l: 0.38;
  --k-v: 0.25;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-display: "League Gothic", "League Gothic Fallback", "Arial Narrow", sans-serif;
  --f-text: "Commissioner", "Commissioner Fallback", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (min-width: 768px) {
  :root { --gx: 32px; --gap: 18px; --k-xl: 0.205; --k-l: 0.25; --k-v: 0.17; }
}
@media (min-width: 1024px) {
  :root { --rail: 88px; --gx: clamp(36px, 3.6vw, 52px); --gap: 20px; --bar-h: 0px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  scroll-padding-bottom: 104px;
  scrollbar-color: var(--ink) var(--paper);
  accent-color: var(--ink);
  caret-color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding-right: var(--rail);
  font-family: var(--f-text);
  font-weight: 380;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
b, strong { font-weight: 600; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Themes (Escape swaps light/dark per section) ---------- */
[data-theme] {
  --fg: var(--ink);
  --bg: var(--paper);
  --mute: var(--mute-ink);
  --line: var(--line-ink);
  --focus: var(--ink);
  color: var(--fg);
  background: var(--bg);
}
[data-theme="band"] { --bg: var(--card); }
[data-theme="dark"] {
  --fg: var(--paper);
  --bg: var(--ink);
  --mute: var(--mute-paper);
  --line: var(--line-paper);
  --focus: var(--paper);
  color-scheme: dark;
}

::selection { background: var(--ink); color: var(--paper); }
[data-theme="dark"] ::selection { background: var(--paper); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus, var(--ink));
  outline-offset: 3px;
  border-radius: 2px;
}
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed;
  z-index: 100;
  top: 12px; left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 560;
  text-decoration: none;
  border-radius: var(--r);
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; outline-color: var(--ink); }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-stretch: 100%;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: 0;
  margin: 0;
}
.display--xl { font-size: clamp(5.5rem, calc((100vw - var(--rail)) * var(--k-xl)), 21rem); }
.display--l { font-size: clamp(6rem, calc((100vw - var(--rail)) * var(--k-l)), 21rem); }
.display--v { font-size: clamp(5.5rem, calc((100vw - var(--rail)) * var(--k-v)), 15rem); }
.display--m { font-size: clamp(2.75rem, 4.3vw, 4.25rem); line-height: 0.9; }
.display--f { font-size: clamp(5rem, 8.6vw, 8.5rem); line-height: 0.86; }

.caps {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  text-wrap: balance;
}
.label {
  font-family: var(--f-display);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.title {
  font-family: var(--f-text);
  font-weight: 300;
  font-size: clamp(1.625rem, 2.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-thickness 0.2s;
}
.link .icon { width: 1.1em; height: 1.1em; }
.link:hover { text-decoration-thickness: 2px; }
p a:not(.chip), dd a:not(.chip), li a:not(.chip) { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

/* CMS marker: an editorial proof mark for facts guru.blends has not supplied yet. */
.tk {
  display: inline-block;
  padding: 0.3em 0.45em 0.22em;
  margin-block: 0.08em;
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mute);
  border: 1px dashed currentColor;
  border-radius: 3px;
  vertical-align: 0.12em;
}

/* ---------- Chips (Escape buttons: display type in a 4px chip) ---------- */
.chip {
  display: inline-flex;
  text-indent: 0;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0.42em 0.62em 0.3em;
  font-family: var(--f-display);
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip .icon { width: 0.8em; height: 0.8em; stroke-width: 2; }
.chip--ink { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip--ink:hover { background: transparent; color: var(--fg); }
.chip--line { background: transparent; color: var(--fg); border-color: currentColor; }
.chip--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
/* Knockout: paper chip whose black letters let the media behind show through (Escape .btn--blend). */
.chip--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip--paper:hover { background: transparent; color: var(--paper); }
.chip--knock { background: var(--paper); color: #000; border-color: var(--paper); mix-blend-mode: lighten; }
.chip--knock:hover, .chip--knock:focus-visible { mix-blend-mode: normal; color: var(--ink); }
.chip--inline { font-size: max(1.0625rem, 0.62em); vertical-align: 0.14em; min-height: 0; padding: 0.3em 0.45em 0.2em; margin-left: 0.1em; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}
.icon-btn:hover { background: rgb(18 18 18 / 0.07); }
.icon-btn--s { width: 34px; height: 34px; }
.icon-btn--s .icon { width: 18px; height: 18px; }
.motion-btn .icon--play { display: none; }
.motion-btn[aria-pressed="true"] .icon--play { display: block; }
.motion-btn[aria-pressed="true"] .icon--pause { display: none; }

.circle-btn {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.circle-btn:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.circle-btn:disabled { opacity: 0.28; cursor: default; }
.circle-btn--big { width: 64px; height: 64px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.circle-btn--big .icon { width: 30px; height: 30px; }
.circle-btn--big:hover { background: transparent; color: var(--fg); }

/* ---------- Peripheral UI: desktop rail, mobile bar, ticker ---------- */
.site-head { position: sticky; top: 0; z-index: 40; }
.rail { display: none; }
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--bar-h);
  padding: 0 calc(var(--gx) - 8px) 0 var(--gx);
  background: var(--paper);
  color: var(--ink);
}
.bar__mark {
  margin-right: auto;
  font-family: var(--f-display);
  font-size: 1.9rem;
  line-height: 1;
  text-decoration: none;
}
.bar__book { font-size: 1.35rem; min-height: 40px; --fg: var(--ink); --bg: var(--paper); }

.ticker--bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-right: 4px;
  background: var(--ink);
  color: var(--paper);
  --focus: var(--paper);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}
.ticker__window { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}
.ticker--bar .ticker__track > span { padding-left: 1.6em; }
.ticker--bar .ticker__track > span::before { content: "·"; margin-right: 1.6em; }
.ticker--bar .icon-btn:hover { background: rgb(238 237 233 / 0.12); }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 38s linear infinite; }
  .is-still .ticker__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-btn { display: none; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

@media (min-width: 1024px) {
  .site-head { position: static; }
  .bar, .ticker--bar { display: none; }
  .rail {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 40;
    width: var(--rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0 20px;
    background: var(--paper);
    color: var(--ink);
    border-left: 1px solid var(--line-ink);
    --focus: var(--ink);
  }
  .rail__line {
    writing-mode: vertical-rl;
    display: flex;
    gap: 1.25em;
    font-size: 0.9375rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  .rail__line time { font-variant-numeric: lining-nums; }
  .rail__tools { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .rail__book {
    display: grid;
    place-items: center;
    width: 60px; height: 48px;
    background: var(--ink);
    color: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: var(--r);
    font-family: var(--f-display);
    font-size: 1.5rem;
    line-height: 1;
    padding-top: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
  }
  .rail__book:hover { background: var(--paper); color: var(--ink); }
}

/* ---------- Line-up: characters scatter and snap onto one clean line ---------- */
.lu-line { display: block; white-space: nowrap; }
.lu-word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .lineup--load .ch { animation: lineup 1.45s var(--ease) calc(var(--d) + 0.1s) both; }
  .lineup--scroll .ch { transition: transform 1.45s var(--ease) var(--d), opacity 0.9s var(--ease) var(--d); }
  .lineup--scroll.is-armed .ch { transform: translate(var(--x), var(--y)); opacity: 0.2; transition: none; }
}
@keyframes lineup {
  from { transform: translate(var(--x), var(--y)); opacity: 0.2; }
}

/* Scroll-linked drift for contained prints (Escape .js-parallax), CSS-only where supported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes drift {
  from { translate: 0 26px; }
  to { translate: 0 -26px; }
}

/* ---------- Prints and frames: every photo at its supplied size or smaller ---------- */
.print { position: relative; width: fit-content; }
.print img { width: 240px; max-width: 100%; height: auto; border-radius: var(--r); background: var(--graphite); }
.print figcaption { display: flex; flex-wrap: wrap; gap: 0.25em 0.7em; align-items: baseline; margin-top: 12px; font-size: 0.875rem; color: var(--mute); }
.print figcaption .label { white-space: nowrap; }
.print figcaption .label { color: var(--fg); font-size: 1.125rem; }

.crop { width: var(--w); height: var(--h); overflow: hidden; border-radius: 3px; background: var(--graphite); }
.crop img { width: 240px; height: 320px; max-width: none; translate: var(--x) var(--y); }

.frame {
  position: relative;
  width: 240px;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 24px;
  background: var(--paper);
  color: var(--mute-ink);
  border-radius: var(--r);
}
.frame--dark { background: var(--graphite); color: var(--mute-paper); }
.frame__marks { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; }
.frame__id { font-family: var(--f-display); font-size: 3.25rem; line-height: 0.9; color: var(--fg); }
.frame--dark .frame__id { color: var(--paper); }
.frame__spec { font-size: 0.8125rem; line-height: 1.35; max-width: 18ch; }

.slate { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em; font-size: 0.8125rem; color: var(--mute); }
.slate__id { font-family: var(--f-display); font-size: 1.125rem; letter-spacing: 0.06em; color: var(--fg); }

/* ---------- 1 · Hero: full-bleed statement ---------- */
.hero { position: relative; padding: 0 var(--gx); overflow: clip; }
.hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
  padding-top: 34px;
}
.hero__mark { display: none; }
.hero__title { grid-column: 1 / -1; margin: 0; }
.print--hero { grid-column: 4 / 7; grid-row: 2; justify-self: end; }
.print--hero img { width: min(168px, 100%); }
.hero__side { grid-column: 1 / 4; grid-row: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.hero__note { font-size: 1.375rem; }
.hero__cta { align-self: flex-start; }
.hero__slate { grid-column: 1 / -1; margin-top: 8px; }

.hero__cells {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 44px;
  padding-bottom: 48px;
}
.cell {
  border: 1px solid var(--line);
  border-radius: var(--r-cell);
  padding: 20px 20px 18px;
}
.cell + .cell { margin-top: -1px; }
.cell--cut, .cell--lingo { display: none; }
.cell--id { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cell__id { font-family: var(--f-display); font-size: 2.1rem; line-height: 0.92; text-transform: uppercase; max-width: 9ch; }
.cell__icon { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cell__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cell__title { font-family: var(--f-display); font-size: 2.1rem; line-height: 0.9; text-transform: uppercase; }
.cell__link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 32px;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
.cell__link .icon { width: 18px; height: 18px; }
.cell__spec { margin-top: 26px; display: grid; gap: 6px; }
.cell__spec > div { display: grid; grid-template-columns: 5.2em 1fr; gap: 10px; }
.cell__spec dt, .cell__spec dd { font-family: var(--f-display); font-size: 1.1875rem; line-height: 1; letter-spacing: 0.035em; text-transform: uppercase; }
.cell__spec dt { color: var(--mute); }
.cell__say { margin-top: 26px; font-family: var(--f-display); font-size: 1.9rem; line-height: 0.95; text-transform: uppercase; }
.cell__sub { margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; color: var(--mute); max-width: 26ch; }
.cell--run { display: flex; align-items: center; gap: 16px; padding: 12px 16px; overflow: hidden; }
.cell--run .ticker__track > span { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; padding: 0 0.45em; }
.run__arrows { display: none; gap: 14px; }
.run__arrows .icon { width: 22px; height: 22px; stroke-width: 1.6; }

@media (min-width: 768px) {
  .hero__stage { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: 48px; }
  .hero__title { grid-column: 1 / 10; grid-row: 1 / 3; }
  .print--hero { grid-column: 10 / 13; grid-row: 1; justify-self: start; align-self: start; margin-top: 12px; }
  .print--hero img { width: 100%; max-width: 240px; }
  .hero__side { grid-column: 9 / 13; grid-row: 1 / 4; padding-bottom: 8px; pointer-events: none; }
  .hero__side > * { pointer-events: auto; }
  .hero__cta { position: sticky; bottom: 28px; }
  .hero__slate { grid-column: 1 / 9; grid-row: 3; }
  .hero__cells { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 72px; padding-bottom: 88px; }
  .cell + .cell { margin-top: 0; }
  .cell--cut, .cell--lingo { display: flex; flex-direction: column; justify-content: space-between; }
  .cell--id { grid-column: 1 / 5; grid-row: 1 / 3; flex-direction: column; justify-content: center; text-align: center; gap: 22px; }
  .cell__id { font-size: clamp(2.2rem, 3.2vw, 2.9rem); max-width: 8ch; }
  .cell--cut:nth-of-type(2) { grid-column: 5 / 9; margin-left: -1px; }
  .cell--cut:nth-of-type(3) { grid-column: 9 / 13; margin-left: -1px; }
  .cell--lingo { grid-column: 5 / 13; grid-row: 2; margin-left: -1px; margin-top: -1px; }
  .cell--run { grid-column: 5 / 13; grid-row: 3; margin-left: -1px; margin-top: -1px; }
  .run__arrows { display: flex; }
}
@media (min-width: 1024px) {
  .hero__stage { min-height: 100svh; padding-top: clamp(104px, 15vh, 150px); row-gap: 36px; }
  .hero__mark {
    display: block;
    position: absolute;
    top: 28px; left: 0;
    font-family: var(--f-display);
    font-size: 2.1rem;
    line-height: 1;
  }
  .hero__title { grid-column: 1 / 9; }
  .print--hero { grid-column: 9 / 12; margin-top: 4vh; }
  .hero__note { font-size: clamp(1.5rem, 2vw, 1.95rem); }
  .hero__cells { grid-template-rows: auto auto; margin-top: clamp(64px, 10vh, 110px); padding-bottom: clamp(64px, 10vh, 110px); }
  .cell--id { grid-column: 1 / 4; grid-row: 1 / 3; }
  .cell--cut:nth-of-type(2) { grid-column: 4 / 7; grid-row: 1; }
  .cell--cut:nth-of-type(3) { grid-column: 7 / 10; grid-row: 1; }
  .cell--lingo { grid-column: 10 / 13; grid-row: 1; margin-top: 0; }
  .cell--run { grid-column: 4 / 13; grid-row: 2; margin-top: -1px; }
  .cell--cut, .cell--lingo { min-height: 250px; }
}

/* ---------- 2 · Work: Escape's collections slider, as a display of contained prints ---------- */
.work { padding: clamp(72px, 10vw, 150px) var(--gx) clamp(64px, 9vw, 130px); }
.work__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.work__head .title { margin-right: auto; }
.work__ig { order: 3; flex-basis: 100%; font-size: 0.9375rem; }
.slider-nav { display: flex; align-items: center; gap: 14px; }
.slider-count { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: 0.06em; min-width: 4.4ch; text-align: center; }
.work__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  column-gap: var(--gap);
  margin-inline: calc(-1 * var(--gx));
  padding-inline: var(--gx);
  scroll-padding-inline: var(--gx);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.work__track::-webkit-scrollbar { display: none; }
.work__track:focus-visible { outline-offset: 6px; }
@media (max-width: 767px) {
  .work__track { grid-auto-columns: calc(100% - 28px); }
}
.cut {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
  align-content: start;
}
.cut__media {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 36px 24px;
  background: var(--card);
  border-radius: var(--r-cell);
}
.cut__media .print img, .cut__media .frame { width: 216px; }
.chip--tag { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.75rem; pointer-events: none; }
.cut__text { grid-column: 1 / -1; display: grid; gap: 22px; align-content: start; }
.cut__lede { font-size: 1.125rem; line-height: 1.45; max-width: 36ch; }
.spec { display: grid; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 11px 0 9px; border-bottom: 1px solid var(--line); }
.spec dt, .spec dd { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.05; letter-spacing: 0.035em; text-transform: uppercase; }
.spec dt { color: var(--mute); }
.cut__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cut--open .cut__lede .tk { margin-left: 0.3em; }

.record {
  display: grid;
  gap: 18px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.record__title { color: var(--mute); }
.record__list { display: grid; gap: 22px; }
.record__list dt { font-family: var(--f-display); font-size: 1.9rem; line-height: 0.95; text-transform: uppercase; }
.record__list dd { margin-top: 8px; font-size: 0.9688rem; max-width: 34ch; }

@media (min-width: 768px) {
  .work__ig { order: 0; flex-basis: auto; }
  .cut { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cut__media { grid-column: 1 / 7; min-height: 500px; }
  .cut__media .print img, .cut__media .frame { width: 240px; }
  .cut__text { grid-column: 8 / 13; padding-top: 8px; }
  .record { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .record__title { grid-column: 1 / 3; }
  .record__list { grid-column: 3 / 13; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 1024px) {
  .cut__media { grid-column: 1 / 7; min-height: 560px; }
  .cut__text { grid-column: 8 / 12; }
}

/* ---------- 3 · Learn the Lingo: manifesto, then a dense index ---------- */
.lingo { padding: clamp(80px, 11vw, 170px) var(--gx) clamp(72px, 10vw, 150px); }
.lingo__intro { position: relative; max-width: 78rem; }
.runin {
  margin-bottom: 18px;
  max-width: 11ch;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.manifesto {
  font-weight: 200;
  font-size: clamp(1.75rem, 3.6vw, 3.4rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .runin { position: absolute; top: 0.7em; left: 0; margin: 0; width: 11ch; font-size: 1.3rem; }
  .manifesto { text-indent: clamp(9rem, 17%, 15rem); }
}

.terms { display: grid; gap: 44px; margin-top: clamp(64px, 9vw, 140px); }
.term { display: grid; gap: 12px; }
.term dt { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.86; text-transform: uppercase; }
.term__def { font-size: 1.0625rem; line-height: 1.5; max-width: 42ch; }
.term__ask { font-style: oblique 10deg; font-size: 1.0625rem; max-width: 36ch; }
.term__ask .label { font-style: normal; font-size: 1rem; margin-right: 0.5em; color: var(--mute); }
.evidence { display: flex; align-items: flex-end; gap: 14px; margin-top: 18px; }
.evidence figcaption { font-size: 0.875rem; color: var(--mute); }
.evidence figcaption a { color: var(--fg); }

.guards { display: grid; gap: 7px; margin-top: 20px; max-width: 30rem; }
.guards li { display: grid; grid-template-columns: 2.6em 1fr; align-items: center; column-gap: 12px; row-gap: 3px; }
.guards b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1; letter-spacing: 0.04em; }
.guards__bar {
  display: block;
  height: 10px;
  width: calc(4px + var(--len) * 12.5%);
  max-width: 100%;
  background: var(--fg);
  border-radius: 1px;
}
.guards li > span:last-child { grid-column: 2; font-size: 0.875rem; font-variant-numeric: diagonal-fractions; color: var(--mute); }

@media (min-width: 768px) {
  .terms { gap: clamp(40px, 4.4vw, 64px); }
  .term { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; }
  .term dt { grid-column: 1 / 6; }
  .term__def { grid-column: 6 / 10; }
  .term__ask { grid-column: 10 / 13; }
  .guards li { grid-template-columns: 2.6em minmax(0, 1fr) 9.5em; }
  .guards li > span:last-child { grid-column: 3; }
}

.more { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.more summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 320;
}
.more summary::-webkit-details-marker { display: none; }
.more[open] summary .icon, .faq details[open] summary .icon { rotate: 45deg; }
.more summary .icon, .faq summary .icon { transition: rotate 0.35s var(--ease); }
.more__list { display: grid; gap: 22px; padding: 8px 0 12px; }
.more__list dt { font-family: var(--f-display); font-size: 2rem; line-height: 0.9; text-transform: uppercase; }
.more__list dd { margin-top: 6px; max-width: 42ch; }
@media (min-width: 768px) {
  .more__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
}

/* ---------- 4 · Pause: an original barber still life, full bleed ---------- */
.pause {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(660px, 90svh, 960px);
  padding: clamp(48px, 6vw, 88px) var(--gx);
}
.pause__image {
  position: absolute;
  z-index: -1;
  /* Overscan exceeds the JS travel limit, including at the smallest viewport. */
  inset: -72px 0;
  background-image: url("img/barber-still-life.svg");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.pause.is-parallax-active .pause__image { will-change: transform; }
.pause__copy { position: relative; max-width: 34rem; }
.pause__copy h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(64px, 7.8vw, 120px);
  line-height: 0.94;
  text-transform: uppercase;
}
.pause__copy h2 span { display: block; }
.pause__copy p { margin-top: 24px; max-width: 28ch; font-weight: 320; }
@media (min-width: 768px) {
  .pause__image { background-position: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pause__image { transform: none !important; will-change: auto !important; }
}

/* ---------- 5 · Services: the menu ---------- */
.services { padding: clamp(80px, 10vw, 150px) var(--gx) clamp(72px, 9vw, 140px); }
.services__head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 56px); }
.services__note { font-size: 0.9688rem; max-width: 52ch; color: var(--mute); }
.menu { width: 100%; border-collapse: collapse; }
.menu th, .menu td { text-align: left; vertical-align: baseline; }
.menu thead th {
  padding: 0 16px 14px 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.menu tbody tr { border-top: 1px solid var(--line); }
.menu tbody tr:last-child { border-bottom: 1px solid var(--line); }
.menu tbody th {
  padding: 22px 16px 20px 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.menu td { padding: 22px 16px 20px 0; }
.menu__act { text-align: right !important; padding-right: 0 !important; }
.menu__open th { color: var(--mute); }
.nowrap { white-space: nowrap; }
@media (max-width: 767px) {
  .menu thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu, .menu tbody { display: block; }
  .menu tbody tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); padding: 20px 0; }
  .menu tbody th, .menu td { padding: 0; }
  .menu tbody th { grid-column: 1 / -1; margin-bottom: 10px; }
  .menu td[data-label="What it covers"] { grid-column: 1 / -1; margin-bottom: 14px; }
  .menu td[data-label="Time"]::before, .menu td[data-label="Price"]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font-family: var(--f-display);
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
  }
  .menu__act { grid-column: 1 / -1; text-align: left !important; margin-top: 16px; }
  .menu__act:empty { display: none; }
  .menu__open td[data-label="Time"], .menu__open td[data-label="Price"] { display: none; }
}
@media (min-width: 768px) {
  .services__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .services__head .title { grid-column: 1 / 5; }
  .services__note { grid-column: 7 / 13; }
  .menu tbody th { width: 30%; }
  .menu td[data-label="What it covers"] { width: 32%; }
}

/* ---------- 6 · Showtime: scattered words, steps, booking composer ---------- */
.show { padding: clamp(80px, 10vw, 150px) var(--gx) clamp(72px, 9vw, 130px); overflow: clip; }
.show__stage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 26px; }
.show__w--1 { grid-column: 1 / -1; }
.show__w--2 { grid-column: 1 / -1; justify-self: end; }
.show__steps { grid-column: 1 / -1; display: grid; gap: 10px; counter-reset: none; }
.show__steps li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 10px; row-gap: 2px; align-items: baseline; }
.show__steps .num, .step__k { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; }
.show__steps .num { grid-row: 1 / span 2; color: var(--mute); }
.step__s { grid-column: 2; font-size: 0.9688rem; color: var(--mute); }
.print--show { grid-column: 1 / 3; grid-row: 2; align-self: end; }
.print--show img { width: min(112px, 100%); }
.show__w--1 { grid-row: 1; }
.show__w--2 { grid-row: 2; grid-column: 3 / -1; align-self: end; }
.show__steps { grid-row: 3; }
.show__offer { grid-column: 1 / -1; grid-row: 4; display: grid; gap: 20px; justify-items: start; }
.show__lede { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.4; max-width: 34ch; }
.show__tk { font-size: 0.9375rem; color: var(--mute); }
@media (min-width: 768px) {
  .show__stage { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 20px; }
  .show__w--1 { grid-column: 1 / 8; grid-row: 1; }
  .show__steps { grid-column: 1 / 6; grid-row: 2; align-self: start; margin-top: 8px; }
  .print--show { grid-column: 5 / 8; grid-row: 2 / 4; justify-self: center; margin-top: 24px; }
  .print--show img { width: 100%; max-width: 240px; }
  .show__w--2 { grid-column: 8 / 13; grid-row: 2; justify-self: end; align-self: start; }
  .show__offer { grid-column: 8 / 12; grid-row: 3; align-self: start; }
}

.compose {
  display: grid;
  gap: 40px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--bar-h) + 12px);
}
.compose__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--gap); align-content: start; }
.compose__fields .title { grid-column: 1 / -1; }
.field { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.field--half { grid-column: auto / span 2; }
.field__k { font-family: var(--f-display); font-size: 1.125rem; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0.38em 0.7em 0.26em;
  font-family: var(--f-display);
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.opt:hover span { border-color: var(--fg); }
.opt input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
select, input[type="text"], textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: transparent;
  border: 1.5px solid var(--fg);
  border-radius: var(--r);
  font-size: 1.0625rem;
  font-weight: 400;
}
select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}
input::placeholder, textarea::placeholder { color: var(--mute); opacity: 1; }
.compose__out { display: grid; gap: 14px; align-content: start; }
.compose__out .label { color: var(--mute); }
textarea {
  resize: vertical;
  min-height: 12.5rem;
  padding: 16px 18px;
  background: var(--card);
  border-color: transparent;
  font-size: 1.125rem;
  line-height: 1.5;
}
.compose__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.compose__status { min-height: 1.5em; font-weight: 520; }
.compose__fine { font-size: 0.9375rem; color: var(--mute); }
@media (min-width: 768px) {
  .compose { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .compose__fields { grid-column: 1 / 7; }
  .field--half { grid-column: auto / span 1; }
  .compose__out { grid-column: 8 / 13; position: sticky; top: 32px; align-self: start; }
}

/* ---------- 7 · The chair: practical visit information (Escape Lab) ---------- */
.visit { padding: clamp(80px, 10vw, 150px) var(--gx) clamp(72px, 9vw, 140px); }
.visit__cells { display: grid; grid-template-columns: 1fr; margin-top: clamp(28px, 4vw, 56px); }
.vcell {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-cell);
}
.vcell + .vcell { margin-top: -1px; }
.vcell__k { color: var(--mute); }
.vcell__v { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.vcell__v .link { text-decoration-thickness: 1.5px; }
.vcell__v .tk { font-size: 1rem; }
.vcell__s { margin-top: auto; font-size: 0.9375rem; color: var(--mute); }
.visit__cols { display: grid; gap: 56px; margin-top: clamp(64px, 8vw, 120px); }
.visit__cols .title { margin-bottom: 24px; }
.guide { display: grid; gap: 18px; max-width: 46ch; }
.guide li { padding-left: 22px; position: relative; }
.guide li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1.5px; background: currentColor; }
.policy { display: grid; }
.policy > div { display: grid; gap: 6px; padding: 14px 0 13px; border-top: 1px solid var(--line); }
.policy > div:last-child { border-bottom: 1px solid var(--line); }
.policy dt { font-weight: 520; }
.policy dd { color: var(--mute); }
@media (min-width: 768px) {
  .visit__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcell + .vcell { margin-top: 0; }
  .vcell:nth-child(even) { margin-left: -1px; }
  .vcell:nth-child(n + 3) { margin-top: -1px; }
  .visit__cols { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .visit__guide { grid-column: 1 / 6; }
  .visit__policy { grid-column: 7 / 13; }
  .policy > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); align-items: baseline; }
}
@media (min-width: 1024px) {
  .visit__cells { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vcell { min-height: 210px; }
  .vcell + .vcell { margin-left: -1px; }
  .vcell:nth-child(n + 3) { margin-top: 0; }
}

/* ---------- 8 · Questions: one open at a time ---------- */
.faq { display: grid; gap: 28px; padding: clamp(80px, 10vw, 150px) var(--gx) clamp(80px, 10vw, 150px); }
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 320;
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__a { padding: 0 0 26px; max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a, .more[open] .more__list { animation: open 0.5s var(--ease); }
}
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 768px) {
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .faq .title { grid-column: 1 / 4; }
  .faq__list { grid-column: 4 / 12; }
}

/* ---------- 9 · Footer: authored close ---------- */
.foot { padding: clamp(64px, 8vw, 110px) var(--gx) 24px; }
.foot__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.foot__nav { grid-column: 1 / 4; }
.foot__nav ul { display: grid; gap: 6px; }
.foot__nav a { text-decoration: none; font-size: 1.0625rem; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.foot__else { grid-column: 4 / -1; }
.foot__chair { grid-column: 1 / -1; display: grid; gap: 6px; }
.foot__k { color: var(--mute); margin-bottom: 12px; }
.foot__frame { grid-column: 1 / 4; }
.foot__follow { grid-column: 4 / -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 16px; }
.foot__sign { grid-column: 1 / -1; display: grid; gap: 24px; justify-items: start; }
.foot__title .lu-line { white-space: nowrap; }
.foot__bar {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 56px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-cell);
  font-size: 0.875rem;
  text-align: center;
}
.foot__top {
  display: inline-flex; align-items: center; gap: 18px;
  min-height: 44px;
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.foot__top .run__arrows { display: flex; gap: 10px; }
.foot__top > span:not(.run__arrows) { white-space: nowrap; }
.foot__top .run__arrows .icon:nth-child(n + 2) { display: none; }
@media (min-width: 768px) {
  .foot__top .run__arrows .icon:nth-child(n + 2) { display: block; }
}
.foot__top .icon { width: 20px; height: 20px; }
.foot__top:hover span:not(.run__arrows) { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 768px) {
  .foot__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 48px; }
  .foot__nav { grid-column: 5 / 8; grid-row: 1; }
  .foot__else { grid-column: 10 / 13; grid-row: 1; margin-top: 140px; }
  .foot__chair { grid-column: 7 / 10; grid-row: 2; }
  .foot__frame { grid-column: 1 / 4; grid-row: 2 / 4; align-self: end; }
  .foot__follow { grid-column: 1 / 7; grid-row: 4; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 28px; }
  .foot__sign { grid-column: 7 / 13; grid-row: 3 / 5; align-self: end; }
  .foot__bar { grid-template-columns: 1fr auto 1fr; justify-items: stretch; align-items: center; text-align: left; }
  .foot__bar p:last-child { text-align: right; }
}

/* ---------- Quick booking bar (Escape's sticky purchase bar) ---------- */
.bookbar {
  position: fixed;
  z-index: 35;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gx) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line-ink);
  --fg: var(--ink); --bg: var(--paper); --focus: var(--ink); --mute: var(--mute-ink); --line: var(--line-ink);
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.bookbar.is-on { transform: none; visibility: visible; transition: transform 0.5s var(--ease), visibility 0s; }
.bookbar__k { display: none; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.bookbar__f { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.bookbar__f label { font-family: var(--f-display); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.bookbar__f label, .bookbar__f--ref, .bookbar__price { display: none; }
.bookbar select { min-height: 44px; padding-block: 8px; }
.bookbar .chip { font-size: 1.35rem; white-space: nowrap; }
.bookbar__price { font-size: 0.875rem; color: var(--mute); }
@media (prefers-reduced-motion: reduce) {
  .bookbar, .bookbar.is-on { transition: none; }
}
@media (max-width: 1023px) {
  body { padding-bottom: 72px; }
}
@media (min-width: 1024px) {
  .bookbar {
    left: var(--gx);
    right: calc(var(--rail) + var(--gx));
    bottom: 16px;
    gap: 24px;
    padding: 8px 8px 8px 20px;
    border: 1px solid var(--line-ink);
    border-radius: var(--r);
  }
  .bookbar__k, .bookbar__f label, .bookbar__f--ref, .bookbar__price { display: block; }
  .bookbar__f--ref { display: flex; }
  .bookbar__f { max-width: 22rem; }
  .bookbar .chip { margin-left: auto; }
}

/* ---------- Menu (dialog) ---------- */
dialog.navsheet {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(460px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 18px var(--gx) 28px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  --fg: var(--ink); --bg: var(--paper); --focus: var(--ink); --line: var(--line-ink);
  overflow-y: auto;
}
dialog.navsheet[open] { display: flex; flex-direction: column; }
dialog.navsheet::backdrop { background: rgb(18 18 18 / 0.56); }
@media (min-width: 1024px) {
  dialog.navsheet { right: var(--rail); border-left: 1px solid var(--line-ink); }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.navsheet[open] { animation: panel 0.55s var(--ease); }
  dialog.navsheet[open]::backdrop { animation: fade 0.4s ease; }
}
@keyframes panel { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.navsheet__top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.navsheet__big { display: grid; gap: 4px; margin: 40px 0 56px; }
.navsheet__big a { font-weight: 300; font-size: clamp(2rem, 7vw, 2.6rem); line-height: 1.12; letter-spacing: -0.012em; text-decoration: none; }
.navsheet__big a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.navsheet__list { border-bottom: 1px solid var(--line); }
.navsheet__list li { border-top: 1px solid var(--line); }
.navsheet__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.navsheet__list .icon { width: 20px; height: 20px; }
.navsheet__foot { margin-top: auto; padding-top: 32px; font-size: 0.9375rem; color: var(--mute-ink); }

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  .ch { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
  .drift { animation: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media print {
  .site-head, .ticker, .bookbar, dialog { display: none !important; }
  body { padding: 0; }
}
