/* Mildura Sports Performance Centre
   Built on the Elite Force Athletes social look: black, white, boxed headline words,
   widely tracked mono labels. One warm accent used sparingly for live/active states. */

:root {
  --ink: #0a0a0a;
  --ink-2: #121212;
  --ink-3: #1a1a1a;
  --fg: #f5f3ee;
  --muted: #a3a09a;
  --line: rgba(245, 243, 238, 0.12);
  --line-strong: rgba(245, 243, 238, 0.3);
  --accent: #ff5b1f;
  --paper: #f2efe8;
  --paper-ink: #0e0e0e;
  --paper-muted: #5c5953;
  --paper-line: rgba(14, 14, 14, 0.14);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--fg); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.tag {
  font-family: var(--font); font-stretch: 125%; font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.big {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  line-height: 0.9; letter-spacing: -0.005em; margin: 0;
}
/* White box behind a word, like the EFA Instagram slides */
.box { display: inline-block; background: var(--fg); color: var(--ink); padding: 0.02em 0.12em 0.06em; margin-left: -0.08em; line-height: 0.92; }
.paper .box { background: var(--paper-ink); color: var(--paper); }
h2.big { font-size: clamp(46px, 7vw, 92px); }
p.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 54ch; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-stretch: 112%; font-weight: 800; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--fg); transition: background-color 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { background: var(--fg); color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--fg); }
.btn-line { background: transparent; color: var(--fg); }
.btn-line:hover { background: var(--fg); color: var(--ink); }
.paper .btn-solid { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.paper .btn-solid:hover { background: transparent; color: var(--paper-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name { font-stretch: 125%; font-weight: 900; font-size: 14.5px; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { font-stretch: 125%; font-weight: 600; font-size: 9.5px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; margin-top: 6px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav-links .btn { min-height: 40px; padding: 0 18px; font-size: 12px; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg); cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 70px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 20px; }
  .nav-links.open a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--fg); }
  .nav-links.open .btn { margin-top: 16px; min-height: 52px; }
}
@media (max-width: 520px) {
  .brand { gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 11.5px; font-stretch: 108%; letter-spacing: 0; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.24em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(64px, 10.4vw, 156px); margin: 20px 0 0; }
.hero h1 .ln { display: block; padding-block: 0.03em; }
.hero h1 .ln > span { display: inline-block; animation: rise 0.9s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
.hero .lead { margin: 28px 0 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; }

.lanes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lanes svg { position: absolute; left: -5%; bottom: -8%; width: 110%; min-width: 900px; height: auto; }
.lanes path { fill: none; stroke: var(--line); stroke-width: 1.2; }
.lanes path.run { stroke: var(--fg); stroke-width: 1.6; stroke-dasharray: 60 2000; animation: runner 6s linear infinite; opacity: 0.6; }
@keyframes runner { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -2060; } }

/* Reel frame */
.reel { position: relative; width: 100%; max-width: 340px; margin-inline: auto; }
.reel-screen {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000;
  border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9), 0 0 0 8px #151515;
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.reel-bar .mono { color: var(--fg); }
.play-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; padding: 7px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.play-toggle svg { width: 12px; height: 12px; }
.progress { position: absolute; left: 14px; right: 14px; top: 12px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.25); overflow: hidden; z-index: 2; }
.progress i { display: block; height: 100%; width: 0; background: #fff; }
.hero .reel { transform: rotate(2.5deg); animation: tilt-in 1.2s var(--ease) both; }
@keyframes tilt-in { from { opacity: 0; transform: translateY(40px) rotate(8deg); } to { opacity: 1; transform: rotate(2.5deg); } }

.stamp {
  position: absolute; z-index: 3; left: -58px; bottom: 90px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--fg); color: var(--ink); display: grid; place-items: center;
}
.stamp svg { position: absolute; inset: 0; animation: spin 20s linear infinite; }
.stamp text { font-family: var(--font); font-stretch: 112%; font-weight: 700; font-size: 9px; text-transform: uppercase; fill: var(--ink); }
.stamp b { font-stretch: 62%; font-weight: 900; font-size: 30px; line-height: 0.85; text-transform: uppercase; text-align: center; }
.stamp b small { display: block; font-size: 12px; font-stretch: 112%; letter-spacing: 0.1em; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { padding-inline: 40px 8px; }
  .reel { max-width: 300px; }
  .stamp { left: -34px; width: 108px; height: 108px; bottom: 70px; }
  .stamp b { font-size: 26px; }
}

/* ---------- Statement ---------- */
.statement { border-top: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(72px, 10vw, 140px); }
.statement figure { margin: 0; position: relative; }
.statement figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 88%; }
.statement figcaption { position: absolute; left: 0; bottom: 0; background: var(--fg); color: var(--ink); padding: 10px 14px; }
.statement figcaption .mono { color: var(--ink); }
.statement h2 { font-size: clamp(48px, 7.4vw, 104px); }
.statement p { margin: 26px 0 0; font-size: clamp(18px, 1.7vw, 22px); max-width: 40ch; color: #d9d6cf; }
.statement p + p { color: var(--muted); font-size: 17px; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } .statement figure { order: 2; } }

/* ---------- Programs ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin-top: 16px; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.programs { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prog-list { border-top: 1px solid var(--line); }
.prog { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default; }
.prog .num { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 10px; }
.prog h3 { font-stretch: 62%; font-weight: 900; font-size: clamp(36px, 4vw, 54px); line-height: 0.92; text-transform: uppercase; margin: 0; transition: transform 0.4s var(--ease), color 0.3s; color: var(--muted); }
.prog p { grid-column: 2; margin: 10px 0 0; color: var(--muted); max-width: 48ch; }
.prog .mono { grid-column: 2; margin-top: 12px; }
.prog.active h3, .prog:hover h3 { color: var(--fg); transform: translateX(8px); }
.prog-thumb { display: none; }
.prog-media { position: sticky; top: 100px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.prog-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; clip-path: inset(100% 0 0 0); transition: clip-path 0.7s var(--ease), opacity 0.2s; }
.prog-media img.on { opacity: 1; clip-path: inset(0 0 0 0); }
.prog-media .mono { position: absolute; right: 0; bottom: 0; z-index: 2; background: var(--fg); color: var(--ink); padding: 8px 12px; }
@media (max-width: 860px) {
  .programs { grid-template-columns: 1fr; }
  .prog-media { display: none; }
  .prog { grid-template-columns: 40px minmax(0, 1fr); }
  .prog h3 { color: var(--fg); }
  .prog-thumb { display: block; grid-column: 1 / -1; margin-top: 18px; aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
}

/* ---------- Parents ---------- */
.parents { background: var(--ink-2); border-block: 1px solid var(--line); }
.parents-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.parents blockquote { margin: 0; }
.parents h2 { font-size: clamp(46px, 6.6vw, 92px); }
.parents .body p { color: #d9d6cf; font-size: 18px; max-width: 52ch; margin: 22px 0 0; }
.rules { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-stretch: 62%; font-weight: 900; font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; line-height: 1; }
.rules li .mono { font-stretch: 100%; flex: none; width: 34px; }
@media (max-width: 860px) { .parents-grid { grid-template-columns: 1fr; } }

/* ---------- Sessions ---------- */
.sessions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 16px; align-items: start; }
.card { border: 1px solid var(--line); background: var(--ink-2); padding: clamp(22px, 3vw, 36px); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.card h3 { font-stretch: 62%; font-weight: 900; font-size: clamp(44px, 5vw, 68px); line-height: 0.9; text-transform: uppercase; margin: 10px 0 0; }
.blocks { display: grid; gap: 10px; }
.block { display: grid; grid-template-columns: 150px minmax(0, 1fr); border: 1.5px solid var(--line-strong); border-radius: 14px; overflow: hidden; }
.block-name { padding: 14px 16px; border-right: 1.5px solid var(--line-strong); }
.block-name strong { display: block; font-stretch: 62%; font-weight: 900; font-size: 28px; line-height: 0.9; text-transform: uppercase; }
.block-name .mono { display: block; margin-top: 6px; font-size: 10.5px; }
.block ol { list-style: none; margin: 0; padding: 10px 16px; display: grid; gap: 4px; align-content: center; }
.block li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-stretch: 88%; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.01em; }
.block li span:first-child { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--muted); }
.block li span:last-child { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--fg); white-space: nowrap; }
.card-foot { margin-top: 18px; color: var(--muted); font-size: 15px; }
/* animated build-in for the session card */
.card .block { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.card.in .block { opacity: 1; transform: none; }
.card.in .block:nth-child(2) { transition-delay: 0.12s; }
.card.in .block:nth-child(3) { transition-delay: 0.24s; }
.card.in .block:nth-child(4) { transition-delay: 0.36s; }
.block li { opacity: 0; transition: opacity 0.4s; }
.card.in .block li { opacity: 1; }
.card.in .block:nth-child(1) li { transition-delay: 0.3s; } .card.in .block:nth-child(2) li { transition-delay: 0.45s; }
.card.in .block:nth-child(3) li { transition-delay: 0.6s; } .card.in .block:nth-child(4) li { transition-delay: 0.75s; }
@media (max-width: 560px) {
  .block { grid-template-columns: 1fr; }
  .block-name { border-right: 0; border-bottom: 1.5px solid var(--line-strong); display: flex; justify-content: space-between; align-items: baseline; }
  .block-name .mono { margin: 0; }
}

.run { display: flex; flex-direction: column; gap: 22px; }
.run .reel { max-width: 300px; }
.run-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.run-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.run-list li span:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; }
@media (max-width: 960px) { .sessions { grid-template-columns: 1fr; } }

/* ---------- Scroll band ---------- */
.band { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; }
.band-track { display: flex; gap: 40px; width: max-content; will-change: transform; }
.band-track span { font-stretch: 62%; font-weight: 900; font-size: clamp(54px, 8vw, 120px); line-height: 0.9; text-transform: uppercase; white-space: nowrap; }
.band-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.4px var(--line-strong); }

/* ---------- Pricing ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .tag, .paper .mono { color: var(--paper-muted); }
.paper p.lead { color: var(--paper-muted); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 16px; }
.feature { background: var(--paper-ink); color: var(--paper); padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.feature .tag { color: #9f9c95; }
.amount { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.amount b { font-stretch: 62%; font-weight: 900; font-size: clamp(96px, 12vw, 150px); line-height: 0.78; }
.amount span { font-family: var(--mono); font-size: 13px; color: #9f9c95; text-transform: uppercase; }
.feature ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(242,239,232,0.16); display: grid; gap: 10px; }
.feature li { display: flex; gap: 12px; }
.feature li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.feature .btn { align-self: flex-start; margin-top: auto; background: var(--paper); color: var(--paper-ink); border-color: var(--paper); }
.feature .btn:hover { background: transparent; color: var(--paper); }
.rows { border-top: 1.5px solid var(--paper-ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--paper-line); text-decoration: none; color: inherit; }
.row h4 { margin: 0; font-stretch: 62%; font-weight: 900; font-size: 34px; line-height: 0.95; text-transform: uppercase; }
.row p { margin: 4px 0 0; color: var(--paper-muted); font-size: 15px; }
.row b { font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: 0.85; }
.row:hover h4 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--paper-muted); }
.fine a { font-weight: 700; color: var(--paper-ink); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- New gym ---------- */
.gym-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.live { display: inline-flex; align-items: center; gap: 10px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,91,31,0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255,91,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,91,31,0); } }
.gym-grid h2 { margin: 18px 0 22px; }
.gym-grid p.lead { margin-bottom: 30px; }
.plan { border: 1px solid var(--line); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 26px 26px, var(--ink-2); padding: clamp(14px, 2.4vw, 26px); }
.plan svg { width: 100%; height: auto; }
.plan .wall { fill: none; stroke: var(--fg); stroke-width: 3; }
.plan .zone { fill: rgba(245,243,238,0.035); stroke: var(--line-strong); stroke-dasharray: 5 5; }
.plan .turf { fill: rgba(245,243,238,0.07); stroke: var(--fg); stroke-width: 1.3; }
.plan .mk { stroke: var(--line-strong); }
.plan .it { fill: none; stroke: var(--fg); stroke-width: 1.3; opacity: 0.7; }
.plan .tx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; fill: var(--muted); text-transform: uppercase; }
.plan .sprinter { fill: var(--accent); }
.plan-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
@media (max-width: 860px) { .gym-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.start h2 { font-size: clamp(56px, 9vw, 132px); }
.contact-list { border-top: 1px solid var(--line); }
.contact-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.3s var(--ease); }
.contact-list a:hover { padding-left: 8px; }
.contact-list svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: 18px; word-break: break-word; }
.contact-list .mono { display: block; margin-bottom: 4px; }
.contact-list .chev { width: 18px; height: 18px; color: var(--muted); }
@media (max-width: 860px) { .start { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 120px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot .brand-sub { white-space: normal; line-height: 1.5; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--fg); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 30px; }
@media (min-width: 861px) { .site-footer { padding-bottom: 40px; } }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { flex: 1; min-height: 50px; }
  .mobile-bar .call { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg); }
  .mobile-bar .call svg { width: 20px; height: 20px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal { padding-block: clamp(48px, 8vw, 104px); }
.legal h1 { font-size: clamp(56px, 9vw, 120px); margin: 18px 0; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-stretch: 62%; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 0.95; margin: 48px 0 14px; }
.legal-body p, .legal-body li { color: #d6d3cc; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--fg); }
.callout { border-left: 3px solid var(--fg); background: var(--ink-2); padding: 18px 22px; margin: 22px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .card .block, .block li { opacity: 1 !important; transform: none !important; }
  .hero h1 .ln > span { transform: none; }
  .prog-media img.on { clip-path: none; }
}
