/* =========================================================
   N.I.D Club
   Black and white like the mark; colour comes from the photography.
   ========================================================= */

:root {
  --paper: #F2F1EE;
  --paper-2: #E7E6E2;
  --ink: #111111;
  --sea: #0D1417;

  --fg: var(--ink);
  --bg: var(--paper);
  --muted: #6E6D69;
  --rule: rgba(17, 17, 17, .14);

  --sans: 'Barlow', system-ui, sans-serif;
  --cond: 'Barlow Condensed', 'Barlow', sans-serif;

  /* viewport-fit=cover: keep content clear of the notch / Dynamic Island in landscape */
  --gutter: max(clamp(20px, 3.4vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right));
  color-scheme: light;
  --header: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { background: var(--paper); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- type ---------- */
.label { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, h4 { font-weight: 500; }
h2 { font-size: clamp(48px, 7vw, 120px); line-height: .92; letter-spacing: -.03em; }
h3 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
h4 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: clamp(22px, 2vw, 30px); line-height: 1.28; letter-spacing: -.012em; font-weight: 500; color: var(--fg); }
.prose p + p { margin-top: 20px; }
.prose p:not(.lead) { color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small-note { font-size: 14px; color: var(--muted); }

/* ---------- layout ---------- */
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.col-label { grid-column: 1 / span 3; }
.col-main { grid-column: 1 / span 7; }
.col-side { grid-column: 9 / span 4; }

section { position: relative; }
.sec-head { display: grid; grid-template-columns: 80px 1fr; column-gap: 24px; padding-bottom: clamp(40px, 6vw, 88px); }
.sec-no { font-family: var(--cond); font-weight: 600; font-size: 18px; padding-top: .7em; }
.sec-head h2 { grid-column: 2; }
.sec-sub { grid-column: 2; margin-top: 18px; font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); }
.block-head { margin-bottom: 40px; }
.block-head .label { margin-bottom: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 500; font-size: 16px; white-space: nowrap; transition: background .3s;
}
.btn::after { content: "→"; transition: transform .4s var(--ease); }
.btn:hover { background: #2a2a2a; }
.btn:hover::after { transform: translateX(4px); }
.btn--small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--small::after { content: none; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* ---------- 3D mark layer ---------- */
#mark3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid transparent; transition: border-color .4s;
}
.header.is-scrolled { border-bottom-color: var(--rule); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand-slot { width: 34px; height: 34px; flex: none; }
.brand-mark { width: 100%; height: 100%; overflow: visible; opacity: 0; }
.brand-line { fill: none; stroke: var(--ink); stroke-width: 124; stroke-linecap: round; }
.brand-dot { fill: var(--paper); opacity: 0; transition: opacity .4s; }
.brand.is-tracking .brand-dot { opacity: 1; }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand-crumb { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-crumb:not(:empty)::before { content: "/"; margin: 0 10px 0 2px; color: var(--rule); color: #b9b8b4; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); font-size: 15px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.menu-btn { display: none; font-weight: 500; font-size: 15px; }

.menu { position: fixed; inset: var(--header) 0 0; z-index: 49; background: var(--paper); padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; } /* scrolls on landscape phones */
.menu nav { display: flex; flex-direction: column; }
.menu a { font-size: 34px; font-weight: 500; letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid var(--rule); }

/* ---------- hero ---------- */
.hero { --mark: min(34vh, 62vw); height: 100vh; height: 100svh; min-height: 600px; }
.hero-slot { position: absolute; left: 50%; top: 41%; width: var(--mark); height: var(--mark); transform: translate(-50%, -50%); }
.hero-copy { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(41% + var(--mark) / 2 + 40px); text-align: center; }
.hero-copy h1, .hero-copy p { font-size: clamp(26px, 3vw, 48px); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; }
.hero-copy p { color: var(--muted); }
.hero-entries { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.entry { display: grid; grid-template-columns: 44px auto 1fr auto; align-items: baseline; column-gap: 16px; padding: 22px 0 26px; border-top: 1px solid var(--rule); }
.entry-no { font-family: var(--cond); font-weight: 600; font-size: 15px; color: var(--muted); }
.entry-name { font-weight: 600; font-size: 18px; }
.entry-text { color: var(--muted); font-size: 16px; }
.entry-arrow { transition: transform .4s var(--ease); }
.entry:hover .entry-arrow { transform: translateY(4px); }

/* ---------- club ---------- */
.club { padding-top: clamp(100px, 12vw, 180px); }
.club .col-label { padding-top: .6em; }
.statement { grid-column: 4 / -1; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.2; letter-spacing: -.016em; font-weight: 500; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: clamp(80px, 10vw, 150px); }
.duo-item { position: relative; height: min(86vh, 860px); overflow: hidden; background: var(--paper-2); }
.duo-item img { transition: transform 1.6s var(--ease); }
.duo-item:hover img { transform: scale(1.03); }
.duo-item::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.42)); pointer-events: none; }
.duo-cap { position: absolute; left: max(24px, env(safe-area-inset-left)); right: max(24px, env(safe-area-inset-right)); bottom: 22px; z-index: 1; color: #fff; display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.duo-cap b { font-size: 22px; font-weight: 600; }

/* ---------- ski ---------- */
.ski { padding-top: clamp(120px, 14vw, 220px); }
.facts { border-bottom: 1px solid var(--rule); align-self: start; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.facts dt { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { font-size: 17px; font-weight: 500; }

/* the face */
.face { margin-top: clamp(110px, 13vw, 200px); }
.face-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 36px; }
.face-head h3 { grid-column: 1 / span 6; }
.face-head p { grid-column: 8 / span 5; color: var(--muted); }
.face-stage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.face-canvas-wrap { position: relative; height: min(80vh, 820px); min-height: 520px; background: var(--paper-2); overflow: hidden; }
#face3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.face-labels { position: absolute; inset: 0; pointer-events: none; }
.gate {
  position: absolute; left: 0; top: 0; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  background: var(--paper); color: var(--ink); border-radius: 99px; padding: 3px 9px; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,.08); transition: opacity .3s, background .3s, color .3s;
}
.gate.is-dim { opacity: .35; }
.gate.is-on { background: var(--ink); color: var(--paper); }
.face-note { position: absolute; left: max(20px, env(safe-area-inset-left)); bottom: 16px; font-size: 13px; color: var(--muted); }

.roster { border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.roster li { flex: 1; display: flex; border-bottom: 1px solid var(--rule); }
.roster li:last-child { border-bottom: 0; }
.rider { flex: 1; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 0 max(24px, env(safe-area-inset-right)) 0 24px; min-height: 72px; cursor: pointer; transition: background .3s, color .3s; text-align: left; width: 100%; }
.rider-no { font-family: var(--cond); font-weight: 500; font-size: 30px; line-height: 1; }
.rider-name { font-weight: 500; font-size: 17px; line-height: 1.2; }
.rider-disc { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.rider-go { font-size: 14px; color: var(--muted); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.rider:hover, .rider.is-on { background: var(--ink); color: var(--paper); }
.rider:hover .rider-disc, .rider.is-on .rider-disc { color: rgba(242,241,238,.6); }
.rider:hover .rider-go, .rider.is-on .rider-go { opacity: 1; color: var(--paper); transform: translateX(2px); }

/* the plan */
.plan { padding-top: clamp(110px, 13vw, 200px); }
.years { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.years li { border-top: 2px solid var(--ink); padding-top: 18px; }
.years li:nth-child(1) { border-top-color: rgba(17,17,17,.3); }
.years li:nth-child(2) { border-top-color: rgba(17,17,17,.6); }
.year { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.years h4 { margin: 28px 0 10px; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; }
.years p { color: var(--muted); max-width: 34ch; }
.plan .small-note { margin-top: 36px; }

/* leadership */
.lead-team { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: clamp(110px, 13vw, 200px); padding-bottom: clamp(120px, 14vw, 220px); }
.team-photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); align-self: start; }
.team-body { grid-column: 7 / span 6; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person-photo { aspect-ratio: 1; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 18px; }
.person-photo span { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a3a29e; }
.person-role { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.person h4 { margin: 6px 0 8px; }
.person p:last-child { color: var(--muted); font-size: 16px; }
.team-close { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.35; font-weight: 500; }

/* ---------- surf ---------- */
.surf { --fg: var(--paper); --muted: rgba(242,241,238,.6); --rule: rgba(242,241,238,.16); background: var(--sea); color: var(--fg); padding-top: clamp(120px, 14vw, 220px); padding-bottom: clamp(120px, 14vw, 220px); }
.wide { height: min(84vh, 900px); overflow: hidden; }
.surf-body { padding-top: clamp(60px, 8vw, 120px); }
.results table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 14px; }
.results th { text-align: left; font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 8px 10px 0; }
.results td { padding: 14px 8px 14px 0; border-top: 1px solid var(--rule); vertical-align: baseline; }
.results .place { font-family: var(--cond); font-weight: 600; font-size: 26px; text-align: right; padding-right: 0; }
.results th:last-child { text-align: right; padding-right: 0; }
.join-surf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding-top: clamp(100px, 12vw, 180px); }
.join-surf figure { grid-column: 1 / span 6; aspect-ratio: 4 / 3; overflow: hidden; }
.join-surf-body { grid-column: 8 / span 5; }
.join-surf-body h3 { margin: 14px 0 18px; }
.join-surf-body p { color: var(--muted); margin-bottom: 32px; max-width: 42ch; }

/* ---------- partners ---------- */
.partners { padding-top: clamp(120px, 14vw, 220px); }
.routes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.route { border-top: 2px solid var(--ink); padding-top: 22px; }
.route > p { color: var(--muted); margin: 14px 0 26px; max-width: 46ch; }
.route li { padding: 12px 0; border-top: 1px solid var(--rule); display: flex; gap: 14px; }
.route li::before { content: "—"; color: var(--muted); }
.routes-cta { display: flex; align-items: center; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(90px, 10vw, 150px); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.logo-cell { height: 150px; padding: 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: space-between; }
.logo-cell b { font-weight: 600; font-size: 18px; line-height: 1.2; max-width: 14ch; }
.logo-cell .slot { color: #a3a29e; font-size: 16px; }

/* ---------- contact ---------- */
.contact { padding: clamp(120px, 14vw, 220px) 0 clamp(120px, 14vw, 200px); }
.contact-head { grid-column: 1 / span 4; }
.contact-head p { color: var(--muted); margin-top: 20px; max-width: 32ch; }
.contact h2 { font-size: clamp(40px, 4.8vw, 76px); }
.form { grid-column: 6 / -1; }
.topics { border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.topics legend { margin-bottom: 14px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; }
.topics span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--rule); border-radius: 99px; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.topics label:hover span { border-color: var(--ink); }
.topics input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.topics input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; margin-bottom: 28px; }
.field span { display: block; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 20px; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 8px 0 12px; outline: 0; resize: vertical; transition: border-color .3s; border-radius: 0; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-invalid input { border-color: #B3261E; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-status { font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.footer-brand { grid-column: 1 / span 6; }
.footer-mark { width: 44px; height: 44px; color: var(--paper); margin-bottom: 24px; }
.footer-brand p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; font-weight: 500; }
.footer-nav { grid-column: span 3; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: rgba(242,241,238,.7); width: max-content; transition: color .3s; }
.footer-nav a:hover { color: var(--paper); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 80px; padding-top: 20px; border-top: 1px solid rgba(242,241,238,.16); font-size: 13px; color: rgba(242,241,238,.5); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(17,17,17,.36); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100%); background: var(--paper);
  padding: 28px max(36px, env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) 36px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .7s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close { align-self: flex-end; font-size: 15px; font-weight: 500; padding: 6px 0; }
.drawer-no { font-family: var(--cond); font-weight: 500; font-size: 96px; line-height: .9; margin-top: 24px; }
.drawer-panel h3 { margin-top: 16px; }
.drawer-disc { color: var(--muted); margin-top: 6px; }
.drawer-line { margin: 28px 0; background: var(--paper-2); aspect-ratio: 5 / 4; }
.drawer-line svg { width: 100%; height: 100%; display: block; }
.facts--tight { margin-bottom: 32px; }
.drawer-cta { align-self: flex-start; margin-top: auto; }

/* ---------- reveal ---------- */
.js [data-fade] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-fade].is-in { opacity: 1; transform: none; }
.js .hero-copy, .js .hero-entries { opacity: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .face-stage { grid-template-columns: 1fr; }
  .roster { border-left: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; }
  .roster li { border-right: 1px solid var(--rule); }
  .roster li:nth-child(2n) { border-right: 0; }
  .roster li:last-child { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 760px) {
  :root { --header: 64px; }
  body { font-size: 16px; }
  .header { gap: 16px; }
  .header-cta, .brand-crumb { display: none; }
  .grid, .face-head, .lead-team, .join-surf, .footer-grid { grid-template-columns: 1fr; }
  .col-label, .col-main, .col-side, .statement, .face-head h3, .face-head p, .team-photo, .team-body,
  .join-surf figure, .join-surf-body, .contact-head, .form, .footer-brand, .footer-nav { grid-column: 1 / -1; }
  .col-side { margin-top: 48px; }
  .statement { margin-top: 14px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-no { padding-top: 0; margin-bottom: 8px; }
  .sec-head h2, .sec-sub { grid-column: 1; }

  .hero { --mark: min(30vh, 56vw); }
  .hero-slot { top: 36%; }
  .hero-copy { top: calc(36% + var(--mark) / 2 + 28px); }
  .hero-entries { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 36px 1fr auto; padding: 16px 0; }
  .entry-text { grid-column: 2 / -1; grid-row: 2; font-size: 14px; }

  .duo { grid-template-columns: 1fr; }
  .duo-item { height: 62vh; }
  .face-head p { margin-top: 14px; }
  .face-canvas-wrap { height: 64vh; min-height: 420px; }
  .roster { grid-template-columns: 1fr; }
  .roster li { border-right: 0; }
  .rider-go { opacity: 1; }
  .years { grid-template-columns: 1fr; row-gap: 40px; }
  .team-photo { margin-bottom: 48px; }
  .people { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wide { height: 56vh; }
  .join-surf figure { margin-bottom: 36px; }
  .routes { grid-template-columns: 1fr; row-gap: 48px; }
  .logos { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form { margin-top: 48px; }
  .footer-nav { margin-top: 32px; }
  .drawer-panel { padding: 22px 22px 28px; }
}

/* Short portrait phones (e.g. 320×568): the slogan wraps to five lines and ran into the entries.
   Here only, let the hero flow — same order, same spacing — instead of fixed percentages. */
@media (max-width: 760px) and (max-height: 600px) and (orientation: portrait) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--header) + 28px) var(--gutter) 0; }
  .hero-slot { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; flex: none; }
  .hero-copy { position: static; margin-top: 28px; }
  .hero-entries { position: static; margin-top: auto; padding-top: 36px; }
}

/* Touch: at least 44 px hit areas. Padding plus an equal negative margin (or a transparent border
   with the fill clipped to the padding box) enlarges the target without moving or resizing anything. */
@media (pointer: coarse) {
  .menu-btn { padding: 11px 14px; margin: -11px -14px; }
  .brand { padding: 5px 0; margin-top: -5px; margin-bottom: -5px; }
  .btn--small { border: solid transparent; border-width: 2px 0; background-clip: padding-box; height: 44px; margin: -2px 0; }
  .topics label { display: inline-flex; padding: 2px 0; margin: -2px 0; }
  .drawer-close { padding: 13px 14px; margin: -7px -14px -7px 0; }
  .footer-nav { gap: 0; }
  .footer-nav a { padding: 4px 0; } /* 33 px: as tall as the list's spacing allows without overlapping (see report) */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
