/* ==========================================================================
   honma-golf.us — main stylesheet
   Plain CSS, no build step. Sections:
   1. Tokens  2. Base  3. Layout  4. Components  5. Header & menu
   6. Home sections  7. Forms  8. Footer  9. Consent  10. Legal pages
   11. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --paper: #F3EFE7;
  --paper-2: #EAE4D8;
  --card: #FBF9F4;
  --manila: #EFE3C8;
  --ink: #16150F;
  --ink-2: #38352D;
  --muted: #676155;
  --rule: #D3CABA;
  --rule-strong: #7E7767;
  --grid: rgba(22, 21, 15, .055);

  --green: #1C3127;
  --green-rule: #3E5848;
  --on-green: #EDE8DC;
  --on-green-muted: #B9C0AC;

  --accent: #B8361F;
  --accent-ink: #9C2C17;
  --accent-soft: #E3725A;
  --error: #A3261A;
  --success: #2F6B3F;

  --on-ink: #E9E4D8;
  --on-ink-muted: #A8A294;
  --ink-rule: #34322B;

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-jp: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS Mincho", serif;

  --fs-display: clamp(2.75rem, 1.4rem + 5.6vw, 6.5rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 3vw, 4rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 152px);
  --header-h: 68px;
  --radius: 2px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 220ms;

  --z-header: 40;
  --z-menu: 50;
  --z-banner: 60;

  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 .11 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--noise), var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }

em { font-style: italic; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--accent-ink); }

img, svg { display: block; max-width: 100%; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--ink); color: var(--paper); }

address { font-style: normal; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(64px, 7vw, 112px); }
.section--alt { background: var(--noise), var(--paper-2); }
.section--green { background: var(--green); color: var(--on-green); }

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head p:not(.eyebrow) { color: var(--ink-2); max-width: 46ch; }

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: end;
  }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head h2 { grid-column: 1 / 8; }
  .section-head p:not(.eyebrow) { grid-column: 9 / 13; padding-bottom: .35em; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-label);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.eyebrow__num::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}
.section--green .eyebrow { color: var(--on-green-muted); }
.section--green .eyebrow__num { color: var(--accent-soft); }

/* 4. Components ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 120ms var(--ease);
}
.btn:hover { --btn-bg: var(--accent); --btn-border: var(--accent); --btn-fg: #fff; color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-border: var(--ink); --btn-fg: var(--paper); }

.btn--light { --btn-bg: var(--on-green); --btn-fg: var(--green); --btn-border: var(--on-green); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-stretch: 108%;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-text {
  appearance: none;
  background: none;
  border: 0;
  padding: 10px 2px;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.btn-text:hover { color: var(--accent-ink); }

/* Drawing plate (the "catalogue card" that holds a line drawing) */
.plate {
  position: relative;
  padding: 48px clamp(16px, 3vw, 28px) 22px;
  background-color: var(--card);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  border: 1px solid var(--rule);
}
.plate__meta {
  position: absolute;
  top: 14px;
  left: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .6875rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.plate figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Line drawings (SVG symbols in the page sprite) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dwg { --dwg-bg: var(--card); width: 100%; height: auto; color: var(--ink); overflow: visible; }
.dwg-fill, .dwg-line, .dwg-thin, .dwg-faint, .dwg-center, .dwg-dash, .dwg-acc { vector-effect: non-scaling-stroke; }
.dwg-fill { fill: var(--dwg-bg); stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.dwg-line { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.dwg-thin { fill: none; stroke: currentColor; stroke-width: .8; opacity: .7; }
.dwg-faint { fill: none; stroke: currentColor; stroke-width: .8; opacity: .42; }
.dwg-center { fill: none; stroke: var(--accent); stroke-width: .8; stroke-dasharray: 14 4 2 4; opacity: .85; }
.dwg-dash { fill: none; stroke: currentColor; stroke-width: .9; stroke-dasharray: 3 3; opacity: .7; }
.dwg-acc { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.dwg-acc-fill { fill: var(--accent); stroke: none; }
.dwg-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  fill: var(--muted);
}

/* 5. Header & menu --------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--on-ink);
  font-size: .8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 9px var(--gutter);
}
.topbar span { color: var(--on-ink-muted); padding-inline: .4em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--noise), var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.wordmark__seal {
  width: 16px;
  height: 16px;
  flex: none;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px var(--paper);
}
.wordmark__tld { font-weight: 500; color: var(--muted); }
.wordmark--light { color: var(--on-ink); }
.wordmark--light:hover { color: var(--on-ink); }
.wordmark--light .wordmark__tld { color: var(--on-ink-muted); }
.wordmark--light .wordmark__seal { box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px var(--ink); }

.nav { display: none; }
.nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 22px; height: 9px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { bottom: 0; width: 70%; }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  background: var(--noise), var(--paper);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--rule);
}
.menu-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-close svg { width: 18px; height: 18px; }
.mobile-menu__nav ol { list-style: none; margin: 0; padding: 12px 0 0; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu__nav a span {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.mobile-menu__foot {
  margin-top: auto;
  padding-block: 32px;
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: var(--fs-small);
}

/* 6. Home sections --------------------------------------------------------- */

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; gap: 56px; }
.hero h1 {
  margin-top: 28px;
  font-size: var(--fs-display);
  font-weight: 350;
  line-height: .98;
  letter-spacing: -.028em;
}
.hero h1 em { font-weight: 300; }
.hero__lead {
  margin-top: 28px;
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}
.hero__figure { position: relative; }
.plate--hero .dwg { max-width: 520px; margin-inline: auto; }

.ticket {
  position: relative;
  width: min(250px, 78%);
  margin: -26px 12px 0 auto;
  padding: 16px 18px 14px;
  background: var(--manila);
  color: var(--ink);
  font-size: .8125rem;
  line-height: 1.3;
  transform: rotate(-2deg);
  box-shadow: 0 1px 0 rgba(22, 21, 15, .05), 0 14px 28px -16px rgba(60, 40, 10, .45);
}
.ticket::before {
  /* punched hole */
  content: "";
  position: absolute;
  top: 12px; right: 14px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(22, 21, 15, .25);
}
.ticket__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(22, 21, 15, .35);
}
.ticket dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ticket dt { color: var(--muted); font-weight: 500; }
.ticket dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.ticket__stamp {
  position: absolute;
  right: 12px;
  bottom: -14px;
  padding: 4px 8px;
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
  background: rgba(239, 227, 200, .85);
  font-size: .6875rem;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
  }
  .hero__text { grid-column: 1 / 8; }
  .hero__figure { grid-column: 8 / 13; }
  .plate--hero figcaption { max-width: 50%; }
  .ticket { position: absolute; right: -20px; bottom: -64px; margin: 0; width: 232px; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--ink);
}
.facts > div { padding: 18px 16px 4px 0; }
.facts dt { font-size: var(--fs-label); font-weight: 600; font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 6px; font-family: var(--font-serif); font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); line-height: 1.2; }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
}

/* Range index */
.range { display: grid; gap: 48px; }
.range__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.range__item a {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr) auto;
  column-gap: clamp(12px, 2vw, 24px);
  align-items: baseline;
  padding: 22px 0 20px;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.range__num { font-size: .8125rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.range__name {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.625rem);
  line-height: 1.08;
  transition: transform 300ms var(--ease), color var(--dur) var(--ease);
}
.range__desc { grid-column: 2 / 3; margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
.range__arrow {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  width: 20px;
  height: 20px;
  opacity: .35;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.range__item a:hover .range__arrow,
.range__item a:focus-visible .range__arrow { opacity: 1; color: var(--accent); transform: translateX(4px); }
@media (hover: hover) {
  .range__item a:hover .range__name,
  .range__item.is-active .range__name { transform: translateX(10px); }
}
.range__preview { display: none; }

@media (min-width: 1024px) {
  .range { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .range__list { grid-column: 1 / 8; }
  .range__preview {
    display: block;
    grid-column: 9 / 13;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}
.range__figs { position: relative; aspect-ratio: 5 / 4; }
.range__fig {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.range__fig.is-active { opacity: 1; transform: none; }

/* Club tabs */
.tabs__list {
  display: flex;
  gap: clamp(22px, 4vw, 56px);
  border-bottom: 1px solid var(--rule-strong);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 52px;
  padding: 12px 0 14px;
  background: none;
  border: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3125rem, 1.05rem + 1vw, 1.875rem);
  color: var(--muted);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.tabs__tab sup {
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  vertical-align: super;
}
.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
@media (max-width: 479px) {
  .tabs__list { gap: 18px; }
  .tabs__tab { font-size: 1.1875rem; }
  .tabs__tab sup { display: none; }
}
.tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }

.panel { display: grid; gap: 40px; padding-top: clamp(32px, 5vw, 64px); }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; }
.panel__body h3 { font-size: var(--fs-h3); }
.panel__body > p:first-of-type { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
@media (min-width: 1024px) {
  .panel { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .panel__figure { grid-column: 1 / 7; }
  .panel__body { grid-column: 8 / 13; }
}

.spec {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  margin: 28px 0 32px;
  border-top: 1px solid var(--ink);
}
.spec dt, .spec dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spec dt {
  padding-top: 15px;
  padding-right: 12px;
  font-size: var(--fs-label);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec dd { font-variant-numeric: tabular-nums; }

.fit-list { list-style: none; margin: 12px 0 32px; padding: 0; display: grid; gap: 10px; }
.fit-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 18px;
  height: 1px;
  background: var(--accent);
}

/* Gapping */
.gap { display: grid; gap: 56px; }
.gap h2 { margin-top: 20px; }
.gap__intro { margin-top: 24px; color: var(--on-green-muted); max-width: 46ch; }
.gap__clubs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip {
  min-height: 44px;
  min-width: 52px;
  padding: 0 14px;
  border: 1px solid var(--green-rule);
  border-radius: var(--radius);
  background: transparent;
  color: var(--on-green);
  font-size: .875rem;
  font-weight: 600;
  font-stretch: 108%;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--on-green); }
.chip[aria-pressed="true"] { background: var(--on-green); border-color: var(--on-green); color: var(--green); }
.chip:focus-visible { outline-color: var(--accent-soft); }

.gap__readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 24px;
  align-items: end;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--green-rule);
}
.gap__deg {
  font-family: var(--font-serif);
  font-size: clamp(4.25rem, 3rem + 4vw, 7rem);
  font-weight: 300;
  line-height: .82;
  font-variant-numeric: tabular-nums lining-nums;
}
.gap__unit { font-size: .55em; vertical-align: top; margin-left: .04em; }
.gap__name { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; }
.gap__detail { margin-top: 4px; color: var(--on-green-muted); font-size: var(--fs-small); }
.gap__note { margin-top: 28px; font-size: .875rem; color: var(--on-green-muted); max-width: 52ch; }

.loft-svg { width: 100%; height: auto; overflow: visible; }
.loft-svg text { fill: var(--on-green-muted); font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.loft-svg .ground { stroke: var(--on-green-muted); stroke-width: 1; opacity: .6; }
.loft-svg .vref { stroke: var(--on-green-muted); stroke-width: 1; stroke-dasharray: 4 5; opacity: .5; }
.loft-svg .scale { fill: none; stroke: var(--on-green-muted); stroke-width: 1; opacity: .45; }
.loft-svg .tick { stroke: var(--on-green-muted); stroke-width: 1; opacity: .45; }
.loft-svg .tick--major { opacity: .8; }
.loft-svg .ln { stroke: var(--on-green); stroke-width: 1; opacity: .38; transition: opacity var(--dur) var(--ease), stroke var(--dur) var(--ease), stroke-width var(--dur) var(--ease); }
.loft-svg .ln.is-active { stroke: var(--accent-soft); stroke-width: 3; opacity: 1; stroke-linecap: round; }
.loft-svg .lbl { transition: fill var(--dur) var(--ease); }
.loft-svg .lbl.is-active { fill: var(--on-green); }
.loft-svg .gap-wedge { fill: var(--accent-soft); opacity: .16; }
.loft-svg .arc { fill: none; stroke: var(--accent-soft); stroke-width: 1.5; }
.loft-svg .arc-label { fill: var(--accent-soft); font-size: 13px; }
.loft-svg .ball { fill: none; stroke: var(--on-green-muted); stroke-width: 1; opacity: .7; }
.loft-svg .pivot { fill: var(--on-green); }

@media (max-width: 639px) {
  .loft-svg text { font-size: 14px; }
  .loft-svg .arc-label { font-size: 16px; }
}

@media (min-width: 1024px) {
  .gap { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .gap__text { grid-column: 1 / 6; }
  .gap__chart { grid-column: 6 / 13; }
}

/* Bags */
.bags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bag__plate {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 18px;
  background-color: var(--card);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid var(--rule);
}
.bag__plate svg { width: auto; height: 100%; max-width: 100%; }
.bag h3 { margin-top: 18px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.bag p { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-2); }
@media (min-width: 1024px) { .bags { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.table-wrap { margin-top: clamp(56px, 7vw, 96px); overflow-x: auto; }
.table-wrap:focus-visible { outline-offset: 4px; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; table-layout: fixed; font-size: var(--fs-small); }
.compare caption {
  caption-side: top;
  padding-bottom: 14px;
  text-align: left;
  font-size: var(--fs-label);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare th, .compare td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { border-top: 1px solid var(--ink); border-bottom-color: var(--ink); font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 400; }
.compare tbody th { width: 20%; font-weight: 600; color: var(--ink-2); }
.compare td { font-variant-numeric: tabular-nums; }
.bags__cta { margin-top: 40px; }

/* Phones: each table row becomes a small card */
@media (max-width: 639px) {
  .table-wrap--stack { overflow: visible; }
  .compare { min-width: 0; table-layout: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare caption { display: block; }
  .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: auto; }
  .compare tbody { border-top: 1px solid var(--ink); }
  .compare tr { padding: 16px 0 12px; border-bottom: 1px solid var(--rule); }
  .compare tbody th { padding: 0 0 6px; border: 0; font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 400; color: var(--ink); }
  .compare td { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
  .compare td::before { content: attr(data-label); color: var(--muted); text-align: left; }
}

/* Fitting */
.fitting { display: grid; gap: 56px; }
.fitting h2 { margin-top: 20px; }
.fitting__lead { margin-top: 24px; color: var(--ink-2); max-width: 44ch; }
.measure { margin: 36px 0 32px; padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--rule); max-width: 520px; }
.measure p:not(.label) { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); }
.ruler {
  height: 22px;
  margin-top: 18px;
  border-bottom: 1px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 48px) left bottom / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 24px) left bottom / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 6px) left bottom / 100% 6px no-repeat;
}
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step__num { font-family: var(--font-serif); font-size: 2.5rem; line-height: .9; color: var(--accent-ink); font-variant-numeric: lining-nums; }
.step h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.step__tag { display: inline-block; margin-left: 8px; vertical-align: middle; }
@media (min-width: 1024px) {
  .fitting { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .fitting__intro { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 40px); }
  .steps { grid-column: 7 / 13; }
  .step { grid-template-columns: 96px minmax(0, 1fr); }
}

/* Craft */
.craft {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.craft__step { padding: 28px 0 32px; border-bottom: 1px solid var(--rule); }
.craft__kanji {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-jp);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent);
}
.craft__step h3 { margin-top: 6px; font-size: 1.5rem; }
.craft__step p:last-child { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); }
@media (min-width: 720px) {
  .craft { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1100px) {
  .craft { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; }
  .craft__step { padding: 28px 22px 8px; border-bottom: 0; border-left: 1px solid var(--rule); }
  .craft__step:first-child { padding-left: 0; border-left: 0; }
}

/* Small print */
.notes {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.note a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.note h3 { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.5rem; transition: color var(--dur) var(--ease); }
.note h3 svg { width: 18px; height: 18px; flex: none; opacity: .5; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.note p:last-child { font-size: var(--fs-small); color: var(--ink-2); }
.note a:hover { color: inherit; }
.note a:hover h3 { color: var(--accent-ink); }
.note a:hover h3 svg { opacity: 1; transform: translate(3px, -3px); }
@media (min-width: 720px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) {
  .notes { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .note a { padding-inline: 22px; border-bottom: 0; border-left: 1px solid var(--rule); }
  .note:first-child a { padding-left: 0; border-left: 0; }
}

/* FAQ */
.faq { display: grid; gap: 40px; }
.faq h2 { margin-top: 20px; }
.faq__intro p:not(.eyebrow) { margin-top: 20px; color: var(--ink-2); max-width: 36ch; }
.faq__list details { border-top: 1px solid var(--rule); }
.faq__list details:last-child { border-bottom: 1px solid var(--rule); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  min-height: 48px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--accent-ink); }
.faq__plus { position: relative; flex: none; width: 16px; height: 16px; margin-top: .4em; }
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.faq__plus::after { transform: rotate(90deg); }
details[open] .faq__plus::after { transform: rotate(0deg); }
.faq__answer { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 64ch; }
.faq__answer p + p { margin-top: 12px; }
@media (min-width: 1024px) {
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .faq__intro { grid-column: 1 / 5; }
  .faq__list { grid-column: 6 / 13; }
}

/* Contact */
.contact { display: grid; gap: 56px; }
.contact h2 { margin-top: 20px; }
.contact__intro > p:not(.eyebrow) { margin-top: 24px; color: var(--ink-2); max-width: 40ch; }
.contact__list { margin-top: 36px; border-top: 1px solid var(--ink); }
.contact__list div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact__list dt { padding-top: 3px; font-size: var(--fs-label); font-weight: 600; font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list a { word-break: break-word; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .contact__intro { grid-column: 1 / 5; }
  .form { grid-column: 6 / 13; }
}

/* 7. Forms ----------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__note { font-size: .875rem; color: var(--muted); }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field__label { font-size: .9375rem; font-weight: 600; }
.req { color: var(--accent-ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder { color: #8A8475; opacity: 1; }
.input:hover { border-color: var(--ink); }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
textarea.input { min-height: 150px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%2316150F' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field__hint { font-size: .875rem; color: var(--muted); }
.field__error { display: none; align-items: flex-start; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--error); }
.field__error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.field.has-error .field__error { display: flex; }
.field.has-error .input { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }

.fitting-fields {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 22px 20px 24px;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
}
.fitting-fields[hidden] { display: none; }
.fitting-fields legend { padding: 0 8px; font-size: .9375rem; font-weight: 600; }

.choices { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.choice, .check { display: inline-flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-top: 10px; cursor: pointer; }
.choice input, .check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.check span { font-size: .9375rem; color: var(--ink-2); }
.form__legal { font-size: .875rem; color: var(--muted); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading svg { animation: spin 900ms linear infinite; }
.form__status {
  padding: 14px 16px;
  border-left: 3px solid var(--success);
  background: var(--card);
  font-size: .9375rem;
}
.form__status.is-error { border-left-color: var(--error); }
.form__status[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-ink);
  padding-top: clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { margin-top: 18px; max-width: 34ch; color: var(--on-ink-muted); }
.footer__brand address { margin-top: 22px; display: grid; gap: 4px; color: var(--on-ink-muted); font-size: var(--fs-small); }
.footer__h { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600; font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.footer__col ul { list-style: none; margin: 12px 0 0; padding: 0; }
.footer__col a, .footer__col button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  background: none;
  border: 0;
  font-size: var(--fs-small);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.footer__col a:hover, .footer__col button:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}
.footer__mark {
  margin: clamp(56px, 8vw, 104px) 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 12.4vw, 11.25rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: var(--on-ink);
}
.footer__mark span { color: var(--accent-soft); font-style: italic; }
.footer__legal {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 22px 0 36px;
  border-top: 1px solid var(--ink-rule);
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--on-ink-muted);
}
@media (min-width: 1024px) {
  .footer__legal { grid-template-columns: auto minmax(0, 1fr); gap: 48px; }
  .footer__legal p:last-child { text-align: right; max-width: 78ch; justify-self: end; }
}
.site-footer :focus-visible { outline-color: var(--accent-soft); }

/* 9. Consent banner & preferences ----------------------------------------- */
.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: var(--z-banner);
  max-width: 460px;
  padding: 20px 20px 16px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 22px 44px -22px rgba(22, 21, 15, .5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent h2 { font-size: 1.375rem; }
.consent p { margin-top: 8px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.consent__gpc { padding-left: 10px; border-left: 2px solid var(--accent); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.consent__actions .btn { flex: 1 1 140px; }
@media (min-width: 640px) { .consent { left: 24px; right: auto; bottom: 24px; } }

.prefs {
  width: calc(100% - 24px);
  max-width: 580px;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
}
.prefs::backdrop { background: rgba(22, 21, 15, .55); }
.prefs[open] { animation: rise 220ms var(--ease); }
.prefs__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid var(--rule); }
.prefs__head h2 { font-size: 1.625rem; }
.prefs__close { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.prefs__close svg { width: 18px; height: 18px; }
.prefs__body { padding: 8px 22px 4px; }
.prefs__body > p { margin: 10px 0 6px; font-size: .9375rem; color: var(--ink-2); }
.pref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.pref:first-of-type { border-top: 0; }
.pref__title { font-weight: 600; }
.pref__desc { grid-column: 1 / 2; font-size: .875rem; color: var(--ink-2); }
.pref__control { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.pref__always { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.prefs__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 16px 22px 20px; border-top: 1px solid var(--rule); }

.switch {
  appearance: none;
  position: relative;
  width: 48px;
  height: 28px;
  margin: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--paper-2);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.switch:checked { background: var(--ink); border-color: var(--ink); }
.switch:checked::after { transform: translateX(20px); background: var(--paper); }
.switch:disabled { opacity: .5; cursor: not-allowed; }

/* 10. Legal pages ---------------------------------------------------------- */
.legal-hero { padding-block: clamp(48px, 7vw, 104px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.legal-hero h1 { margin-top: 24px; font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); font-weight: 350; letter-spacing: -.025em; }
.legal-hero__intro { margin-top: 24px; max-width: 60ch; font-size: var(--fs-lead); color: var(--ink-2); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--rule-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.legal { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 88px) var(--section-y); }
.toc-mobile { border: 1px solid var(--rule); background: var(--card); }
.toc-mobile summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; font-weight: 600; cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile ol { padding: 0 18px 16px; }
.toc { display: none; }
.toc ol, .toc-mobile ol { list-style: none; margin: 0; }
.toc ol { padding: 0; margin-top: 14px; }
.toc a, .toc-mobile a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--rule); font-size: .875rem; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc-mobile a:hover { color: var(--ink); }
.toc a.is-active { border-left: 2px solid var(--accent); padding-left: 13px; color: var(--ink); }
@media (min-width: 1024px) {
  .legal { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .toc-mobile { display: none; }
  .toc { display: block; grid-column: 1 / 4; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; }
  .prose { grid-column: 5 / 12; }
}

.prose { max-width: 72ch; }
.prose section + section { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--rule); }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); margin-bottom: 16px; }
.prose h3 { margin: 28px 0 10px; font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.prose p, .prose ul, .prose ol, .prose .table-wrap { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; padding-left: .2em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose .table-wrap { margin-top: 8px; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose thead th { border-top: 1px solid var(--ink); border-bottom-color: var(--ink); font-size: var(--fs-label); font-weight: 600; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.callout { margin: 24px 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--accent); }
.callout p:last-child { margin-bottom: 0; }
.choice-panel { margin: 24px 0; padding: 24px; background: var(--card); border: 1px solid var(--ink); }
.choice-panel .check span { color: var(--ink); font-weight: 500; }
.choice-panel .btn { margin-top: 16px; }
.choice-panel [role="status"] { margin-top: 14px; font-size: .9375rem; color: var(--success); font-weight: 500; }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; padding-block: var(--section-y); }
.lost h1 { margin-top: 24px; font-size: var(--fs-display); font-weight: 350; letter-spacing: -.028em; }
.lost p:not(.eyebrow) { margin-top: 24px; max-width: 44ch; font-size: var(--fs-lead); color: var(--ink-2); }
.lost .hero__actions { margin-top: 36px; }

/* 11. Motion --------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.panel.is-entering { animation: fade-up 320ms var(--ease); }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal-delay="1"] { transition-delay: 80ms; }
  .js [data-reveal-delay="2"] { transition-delay: 160ms; }
  .js [data-reveal-delay="3"] { transition-delay: 240ms; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .topbar, .site-header, .mobile-menu, .consent, .prefs, .toc, .toc-mobile, .site-footer { display: none !important; }
  body { background: #fff; }
  .legal { display: block; }
}
