/* RigClock site. Tokens mirror the app (lib/core/theme/app_colors.dart). */
:root {
  --ground: #0B0F14;
  --deep: #06090D;
  --s1: #11161D;
  --s2: #161C24;
  --s3: #1D242E;
  --s4: #262E39;
  --ink: #F5F7FA;
  --muted: #A7B0BC;
  --paper: #F5F7FA;
  --paper-ink: #0B0F14;
  --paper-soft: #46505C;
  --go: #34D399;
  --work: #059669;
  --prep: #D97706;
  --rest: #DC2626;
  --amber: #FBBF24;
  --emom: #2563EB;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --m: clamp(16px, 3.2vw, 48px);
  --gap: clamp(96px, 13vw, 200px);
  --t-display: clamp(44px, 7.2vw, 118px);
  --t-h2: clamp(34px, 4.6vw, 70px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-body: 18px;
  --t-small: 15px;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--t-body)/1.5 var(--font);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--go); color: var(--paper-ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--paper); color: var(--paper-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: .95; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 750; letter-spacing: -0.015em; line-height: 1.15; }
p { text-wrap: pretty; }

/* Buttons: one shape (pill, like the app), one fill. */
.btn, .store {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--go); color: var(--paper-ink); font-weight: 750; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover, .store:hover { background: #6EE7B7; }
.btn:active, .store:active { transform: scale(.97); }
.store { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 26px 9px; line-height: 1.15; }
.store small { font-size: 15px; font-weight: 600; }
.store b { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.store.alt { background: var(--paper); }
.store.alt:hover { background: #fff; }

/* Top bar */
.bar {
  position: relative; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m); background: var(--ground);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: auto; }
.bar nav { display: flex; gap: 26px; margin-left: auto; }
.bar nav a, .lang summary { text-decoration: none; font-weight: 600; font-size: 17px; color: var(--ink); transition: color .15s; }
.bar nav a:hover { color: var(--go); }
.bar .btn { min-height: 44px; padding: 0 20px; font-size: 17px; }
.lang { position: relative; }
.lang summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--s3); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--s4); border-radius: 16px; padding: 8px; min-width: 170px; }
.lang li a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 17px; }
.lang li a:hover, .lang li a[aria-current] { background: #333D4A; }
.lang li a[aria-current] { color: var(--go); font-weight: 700; }

/* Hero: the gym wall, whiteboard beside the clock */
.hero { padding: clamp(28px, 4vw, 56px) var(--m) 0; }
.hero-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.hero h1 { font-size: var(--t-display); }
.hero h1 span { display: block; }
.hero-side { display: grid; gap: 24px; padding-bottom: 6px; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; max-width: 40ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

.wall { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.board {
  background: var(--paper); color: var(--paper-ink); border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px;
}
.board label { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.board textarea {
  flex: 1; min-height: 190px; resize: none; border: 0; border-radius: 12px; background: #E6EAEF; color: var(--paper-ink);
  padding: 16px 18px; font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
}
.board textarea:focus-visible { outline-color: var(--work); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  border: 0; border-radius: 999px; padding: 9px 16px; min-height: 42px; background: var(--paper-ink); color: var(--paper);
  font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .15s var(--ease), background-color .15s;
}
.chips button:hover { background: var(--s4); }
.chips button:active { transform: scale(.95); }
.chips button[aria-pressed="true"] { background: #047857; color: #fff; }
.board-note { font-size: var(--t-small); color: var(--paper-soft); }

.clock {
  --phase: var(--work);
  background: var(--phase); color: #fff; border-radius: var(--r);
  padding: clamp(18px, 2vw, 28px) clamp(18px, 2.4vw, 34px) clamp(18px, 2vw, 26px);
  display: grid; grid-template-rows: auto auto 1fr auto auto auto; text-align: center;
  transition: background-color .35s var(--ease);
}
.clock[data-phase="prep"] { --phase: var(--prep); }
.clock[data-phase="rest"] { --phase: var(--rest); }
.clock[data-phase="done"] { --phase: var(--s4); }
.clock-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 21px; text-align: left; }
.clock-top span:last-child { text-align: right; }
.clock-phase { font-size: clamp(26px, 3vw, 44px); font-weight: 800; letter-spacing: .14em; margin-top: 6px; }
.clock-digits {
  font-size: clamp(88px, 15.5vw, 236px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; align-self: center; white-space: nowrap;
}
.clock-round { font-size: clamp(20px, 2.1vw, 32px); font-weight: 800; letter-spacing: .08em; margin-top: 6px; }
.segs { display: flex; gap: 5px; margin: 14px auto 0; width: 100%; max-width: 640px; }
.segs i { flex: 1; height: 8px; border-radius: 4px; background: rgba(0,0,0,.28); }
.segs i.done { background: rgba(255,255,255,.95); }
.segs i.now { background: rgba(255,255,255,.55); }
.clock-ctl { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.clock-ctl button {
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.32); color: #fff; font-weight: 800; font-size: 21px; letter-spacing: .02em;
  transition: transform .15s var(--ease), background-color .15s;
}
.clock-ctl button:hover { background: rgba(0,0,0,.45); }
.clock-ctl button:active { transform: scale(.95); }
.clock-ctl button[data-act="toggle"] { background: #fff; color: var(--paper-ink); }
.no-js .js-only { display: none !important; }

/* Showcase: square plate, language tabs */
.show { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.plate { width: 100%; background: var(--work); border-radius: var(--r); aspect-ratio: 1; overflow: hidden; position: relative; display: flex; justify-content: center; align-items: flex-start; padding-top: 7%; }
.plate img { width: 60%; border-radius: 26px 26px 0 0; }
.show-text { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: 4px 0; min-height: 100%; align-self: stretch; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: var(--s2); color: var(--muted); min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-weight: 700; font-size: 17px; cursor: pointer; transition: background-color .15s, color .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper-ink); }
.show h2 { max-width: 12ch; }
.show-copy p { margin-top: 28px; max-width: 46ch; }
.fmt { margin-top: 32px; display: grid; gap: 14px; }
.fmt li { display: grid; grid-template-columns: 9px 9.5ch 1fr; gap: 14px; align-items: baseline; }
.fmt li::before { content: ""; width: 9px; height: 26px; border-radius: 5px; background: var(--c); align-self: center; }
.fmt b { font-size: 21px; font-weight: 800; white-space: nowrap; }
.fmt span { color: var(--ink); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cell {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-radius: 999px;
  background: var(--s3); text-decoration: none; font-weight: 750; transition: transform .15s var(--ease), background-color .15s;
}
.cell::after { content: "→"; font-weight: 700; transition: transform .2s var(--ease); }
.cell:hover::after { transform: translateX(6px); }
.cell:active { transform: scale(.98); }
.cell.ink { background: var(--ink); color: var(--paper-ink); }

/* Paste: the slip */
.paste { margin-top: var(--gap); padding: clamp(56px, 7vw, 110px) var(--m); background: var(--s1); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.paste h2 { max-width: 13ch; }
.paste-text > p { margin-top: 28px; max-width: 44ch; }
.pair { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 620px; }
.pair figure { display: grid; gap: 10px; }
.pair video, .pair img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--s3); }
.pair img { object-position: top; }
figcaption { font-size: var(--t-small); color: var(--muted); }
.slip {
  background: var(--paper); color: var(--paper-ink); width: 100%; max-width: 480px; justify-self: end;
  padding: 36px 32px 56px; font-size: 17px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%);
}
.slip-head { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 21px; }
.slip-head img { width: 30px; }
.slip-head span:last-child { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--paper-soft); }
.slip h3 { font-size: 18px; font-weight: 800; margin-top: 28px; margin-bottom: 6px; }
.row { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.row dt, .row .k { flex: 0 1 auto; }
.row dd, .row .v { flex: 0 0 auto; text-align: right; font-weight: 700; }
.lead-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 4px dotted #9AA3AE; transform: translateY(-4px); }
.slip-total { margin: 30px -32px 0; padding: 0 32px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper-ink); color: var(--paper); font-weight: 800; font-size: 18px; }
.slip-total span:last-child { color: var(--go); }

/* Everything: the menu sheet */
.menu { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.sheet {
  background: var(--paper); color: var(--paper-ink); padding: 60px clamp(22px, 3vw, 44px) 64px;
  /* taste-skill-ignore: radial-gradient is only the alpha mask that cuts the scalloped paper edge, nothing is painted */
  -webkit-mask: radial-gradient(circle 10px at 50% 0, transparent 9.5px, #000 10px) top / 28px 51% repeat-x, radial-gradient(circle 10px at 50% 100%, transparent 9.5px, #000 10px) bottom / 28px 51% repeat-x; /* taste-skill-ignore: alpha mask for the scalloped edge */
  mask: radial-gradient(circle 10px at 50% 0, transparent 9.5px, #000 10px) top / 28px 51% repeat-x, radial-gradient(circle 10px at 50% 100%, transparent 9.5px, #000 10px) bottom / 28px 51% repeat-x; /* taste-skill-ignore: alpha mask for the scalloped edge */
}
.sheet h2 { text-align: center; font-size: clamp(36px, 3.6vw, 54px); }
.sheet-note { text-align: center; margin: 16px auto 0; max-width: 38ch; color: var(--paper-soft); font-size: 17px; }
.sheet h3 { font-size: 21px; font-weight: 800; margin: 44px 0 6px; }
.item { padding: 9px 0; }
.item .row { padding: 0; font-size: 21px; }
.item .row .k { font-weight: 650; }
.item p { font-size: var(--t-small); color: var(--paper-soft); max-width: 36ch; margin-top: 2px; }
.menu-media { position: sticky; top: 100px; display: grid; gap: 16px; }
.menu-media h3 { font-size: var(--t-h3); }
.menu-media > p { max-width: 46ch; color: var(--ink); }
.menu-media video { width: 100%; max-width: 420px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: var(--s3); }
.duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.duo img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; border-radius: 16px; background: var(--s3); }
.menu-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; }

/* Coaches: the relay, four real screens in the order a lesson travels */
.coach { margin-top: var(--gap); padding: 0 var(--m); }
.coach-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.coach-head h2 { max-width: 12ch; }
.coach-head p { max-width: 44ch; font-size: 21px; line-height: 1.45; }
.relay { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 1.8vw, 28px); }
.leg { display: flex; flex-direction: column; }
.leg img { width: 100%; aspect-ratio: 720 / 1383; object-fit: cover; object-position: top; border-radius: 22px; background: var(--s2); }
/* One bar under the four screens, split like the clock's round segments. */
.leg h3 { position: relative; margin-top: 44px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.leg h3::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 8px; border-radius: 4px; background: var(--go); }
.leg p { margin-top: 12px; max-width: 34ch; font-size: 17px; line-height: 1.5; }

/* Roster sheet (printed list) */
.roster { margin-top: var(--gap); padding: clamp(64px, 8vw, 120px) var(--m); background: var(--work); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.roster-copy h2 { color: #fff; max-width: 11ch; }
.roster-copy p { margin-top: 24px; max-width: 40ch; color: #fff; font-size: 21px; }
.roster-copy .caps { margin-top: 36px; display: flex; gap: clamp(16px, 3vw, 44px); flex-wrap: wrap; }
.caps div { display: grid; }
.caps b { font-size: clamp(64px, 7vw, 112px); font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: #fff; }
.caps span { font-weight: 700; color: #fff; }
.roster-sheet {
  background: var(--paper); color: var(--paper-ink); padding: 64px clamp(24px, 4vw, 64px); text-align: center;
  /* taste-skill-ignore: radial-gradient is only the alpha mask that cuts the scalloped paper edge, nothing is painted */
  -webkit-mask: radial-gradient(circle 10px at 50% 0, transparent 9.5px, #000 10px) top / 28px 51% repeat-x, radial-gradient(circle 10px at 50% 100%, transparent 9.5px, #000 10px) bottom / 28px 51% repeat-x; /* taste-skill-ignore: alpha mask for the scalloped edge */
  mask: radial-gradient(circle 10px at 50% 0, transparent 9.5px, #000 10px) top / 28px 51% repeat-x, radial-gradient(circle 10px at 50% 100%, transparent 9.5px, #000 10px) bottom / 28px 51% repeat-x; /* taste-skill-ignore: alpha mask for the scalloped edge */
}
.roster-sheet h3 { font-size: 21px; font-weight: 800; margin: 48px 0 14px; }
.roster-sheet h3:first-child { margin-top: 0; }
.roster-sheet ul { max-width: 440px; margin: 0 auto; text-align: left; display: grid; gap: 14px; }
.roster-sheet li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; font-size: 17px; }
.roster-sheet li b { font-weight: 700; }
.roster-sheet li span { text-align: right; font-weight: 700; }
.roster-sheet li small { grid-column: 1 / -1; font-size: 15px; color: var(--paper-soft); }
.roster-end { margin-top: 44px; font-size: 15px; color: var(--paper-soft); }

/* FAQ: tabbed index cards */
.faq { margin-top: var(--gap); padding: 0 var(--m); }
.faq-in { max-width: 1040px; margin: 0 auto; }
.faq h2 { margin-bottom: 44px; }
.cards { --tw: 200px; --step: min(140px, calc((100% - var(--tw)) / 6)); }
.card {
  --bg: var(--s3); position: relative; margin-top: -36px; padding-top: 44px; background: var(--bg);
  clip-path: polygon(0 44px, calc(var(--i) * var(--step)) 44px, calc(var(--i) * var(--step) + 10px) 0, calc(var(--i) * var(--step) + var(--tw) - 10px) 0, calc(var(--i) * var(--step) + var(--tw)) 44px, 100% 44px, 100% 100%, 0 100%);
}
.card:first-child { margin-top: 0; }
.card:nth-child(3n+2) { --bg: var(--s4); }
.card:nth-child(3n) { --bg: #2E3846; }
.card summary { list-style: none; cursor: pointer; padding: 18px clamp(20px, 3vw, 36px) 30px; }
.card summary::-webkit-details-marker { display: none; }
.card .tab { position: absolute; top: 0; left: calc(var(--i) * var(--step)); width: var(--tw); height: 44px; display: grid; place-items: center; font-weight: 750; font-size: 17px; color: var(--muted); }
.card[open] .tab { color: var(--go); }
.card .q { font-size: 21px; font-weight: 650; display: flex; justify-content: space-between; gap: 20px; }
.card .q::after { content: "+"; font-weight: 400; font-size: 28px; line-height: .8; transition: transform .25s var(--ease); }
.card[open] .q::after { transform: rotate(45deg); }
.card summary:hover .q { color: var(--go); }
.card .a { padding: 0 clamp(20px, 3vw, 36px) 72px; display: grid; grid-template-columns: minmax(0, 52ch) auto; gap: 32px; align-items: start; }
.card .a p { font-size: 17px; }
.card .a p + p { margin-top: 12px; }
.card .a a { color: var(--go); padding: 12px 0; }
.card video { width: 220px; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--deep); }

/* CTA */
.cta { margin-top: var(--gap); padding: 0 var(--m); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.cta-shot { grid-column: 2; grid-row: 1 / span 2; background: var(--work); border-radius: var(--r); padding: clamp(24px, 3vw, 44px) clamp(24px, 4vw, 64px) 0; overflow: hidden; }
.cta-shot img { width: 100%; aspect-ratio: 720 / 760; object-fit: cover; object-position: top; border-radius: 22px 22px 0 0; }
.cta h2 { font-size: clamp(36px, 5vw, 82px); line-height: 1.22; max-width: 20ch; }
.blank {
  display: inline-block; vertical-align: baseline; padding: .1em .32em; min-height: 44px; border-radius: .5em; background: var(--go); color: var(--paper-ink);
  text-decoration: none; line-height: 1.02; transition: transform .18s var(--ease), background-color .18s;
}
.blank.alt { background: var(--paper); }
.blank:hover { background: #6EE7B7; }
.blank:active { transform: scale(.97); }
.cta p { color: var(--muted); align-self: start; }
.cta h2 { align-self: end; }

/* Footer: photograph half, menu half */
.foot { margin-top: var(--gap); display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--s1); }
.foot-pic { overflow: hidden; background: var(--work); }
.foot-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.foot-menu { padding: 64px var(--m) 32px clamp(32px, 5vw, 88px); display: flex; flex-direction: column; gap: 52px; }
.foot-menu .brand img { width: 30px; }
.foot-nav { display: grid; gap: 14px; }
.foot-nav a { font-size: clamp(30px, 2.8vw, 44px); font-weight: 800; letter-spacing: -0.03em; text-decoration: none; transition: transform .2s var(--ease), color .2s; width: fit-content; }
.foot-nav:hover a { color: var(--muted); }
.foot-nav a:hover, .foot-nav a:focus-visible { color: var(--ink); transform: translateX(12px); }
.foot-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-size: var(--t-small); }
.foot-blocks h3 { font-size: 17px; margin-bottom: 8px; }
.foot-blocks ul { display: grid; gap: 0; }
.foot-blocks a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-blocks a:hover { color: var(--go); text-decoration: underline; }
.foot-legal { margin-top: auto; font-size: 15px; color: var(--muted); display: grid; gap: 10px; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }

/* Entrances (only when JS is running and motion is welcome) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
/* Long phone pages: slide only, never hide content while it waits for its entrance. */
@media (max-width: 700px) { .js .rv { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* Tablet */
@media (max-width: 1080px) {
  .bar nav { display: none; }
  .lang { margin-left: auto; }
  .hero-head { grid-template-columns: 1fr; }
  .wall { grid-template-columns: 1fr; }
  .clock { order: -1; }
  .board textarea { min-height: 150px; }
  .show { grid-template-columns: 1fr; }
  .plate { aspect-ratio: 4 / 3.4; }
  .plate img { width: 40%; }
  .paste { grid-template-columns: 1fr; }
  .slip { justify-self: start; }
  .menu { grid-template-columns: 1fr; }
  .sheet { max-width: 640px; }
  .menu-media { position: static; }
  .coach-head { grid-template-columns: 1fr; }
  .relay { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .leg img { aspect-ratio: 720 / 1000; }
  .roster { grid-template-columns: 1fr; }
  .roster-sheet { max-width: 640px; }
  .cta { grid-template-columns: 1fr; }
  .cta-shot { grid-column: 1; grid-row: auto; max-width: 520px; }
  .foot { grid-template-columns: 1fr; min-height: 0; }
  .foot-pic { height: auto; aspect-ratio: 5 / 4; }
  .foot-pic img { object-position: 50% 8%; }
}

/* Phone */
@media (max-width: 700px) {
  :root { --t-body: 17px; }
  body { font-size: 17px; }
  .bar { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 21px; }
  .bar .btn { padding: 0 16px; min-height: 44px; font-size: 15px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .stores .store { flex: 1 1 140px; }
  .clock-digits { font-size: 27vw; }
  .clock-top { font-size: 15px; }
  .plate { aspect-ratio: 1; }
  .plate img { width: 58%; }
  .fmt li { grid-template-columns: 9px 1fr; }
  .fmt li span { grid-column: 2; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .pair { gap: 10px; }
  .slip { padding: 28px 20px 48px; }
  .slip-total { margin: 26px -20px 0; padding: 0 20px; }
  .sheet { padding: 48px 20px 52px; }
  .item .row { font-size: 17px; }
  .duo { gap: 8px; }
  .relay { grid-template-columns: 1fr; gap: 48px; }
  .leg img { aspect-ratio: 720 / 860; border-radius: 18px; }
  .leg h3 { font-size: 24px; margin-top: 36px; }
  .leg h3::before { top: -22px; }
  .coach-head p { font-size: 17px; }
  .roster-sheet { padding: 52px 22px; }
  .cards { --tw: 120px; --step: calc((100% - var(--tw)) / 6); }
  .card .tab { font-size: 15px; }
  .card .q { font-size: 21px; }
  .card .a { grid-template-columns: 1fr; padding-bottom: 60px; }
  .card video { width: 100%; max-width: 260px; }
  .cta h2 { font-size: clamp(28px, 8vw, 44px); }
  .foot-menu { padding: 44px var(--m) 28px; }
  .foot-nav a { font-size: clamp(28px, 8vw, 36px); }
  .foot-blocks { grid-template-columns: 1fr; }
}
