/* participe.jockeypr.co — assembled from the main site's stylesheets (jockeypr.co):
 * fonts → tokens → base → layout (header, sheet menu, RG band, footer) → components
 * used on this landing → motion. Values are not changed; new blocks live in promo.css. */

/* ===== fonts.css ===== */
/* self-hosted fonts of the approved mockup (Google Fonts, OFL) — node tools/fonts-pull.js */
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/instrument-serif-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/instrument-serif-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/instrument-serif-italic-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/instrument-serif-italic-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/instrument-sans-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/instrument-sans-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/instrument-sans-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/instrument-sans-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/instrument-sans-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/instrument-sans-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/instrument-sans-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/instrument-sans-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ===== tokens.css ===== */
/* Design tokens — jockeypr.co
 * Source: <kit>/mockups/jockeypr.co/b-marquise-1955.html (approved 2026-09-23, S3).
 * Names say the role; mockup values moved as they are. "added" marks what the
 * mockup does not define.
 */
:root {
  /* ── Colour: from the mockup ─────────────────────────────────────────── */
  --color-bg: #EFECE6;          /* concreto claro — page */
  --color-surface: #F9F7F3;     /* ticket, flow band, cards */
  --color-text: #1D2023;        /* tinta */
  --color-text-2: #565B5F;      /* secondary copy — 5.8:1 on bg */
  --color-muted: #656A6D;       /* captions, labels — mockup #8A8D8F raised to 4.6:1 (a11y) */
  --color-faint: #8A8D8F;       /* mockup's ink-3: decoration only (rules, icons), never text */
  --color-border: #D8D2C7;
  --color-brand: #9A3B2A;       /* pinhão / terracota — 5.9:1 on bg, white on it 6.9:1 */
  --color-brand-hover: #7A2C1F; /* mockup's brand-2 */
  --color-sky: #BCC9D0;         /* céu de Curitiba */
  --color-dusk: #EBCDBD;        /* entardecer — accent on dark only */
  --color-on-dark: #E9E5DE;     /* text on the ink band */
  --overlay-hero: linear-gradient(180deg, rgba(20,22,24,0) 0 92px, rgba(20,22,24,.66) 92px, rgba(20,22,24,0) 300px),   /* 0–92px: the header band paints it */
                  linear-gradient(90deg, rgba(20,22,24,.8) 0%, rgba(20,22,24,.55) 45%, rgba(20,22,24,0) 78%),
                  linear-gradient(0deg, rgba(20,22,24,.55), rgba(20,22,24,0) 45%);
  --overlay-hero-m: linear-gradient(180deg, rgba(20,22,24,0) 0 76px, rgba(20,22,24,.7) 76px, rgba(20,22,24,.62) 120px, rgba(20,22,24,.62) 30%, rgba(20,22,24,.85) 55%, rgba(20,22,24,.9));

  /* ── Colour: added ───────────────────────────────────────────────────── */
  --color-brand-active: color-mix(in srgb, var(--color-brand) 70%, black);
  --color-brand-tint: color-mix(in srgb, var(--color-brand) 10%, var(--color-surface));
  --color-live: #1F7A55;        /* "ao vivo" status — 5.3:1 on surface */
  --color-error: #A3261B;
  --color-success: #1F6B45;
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--color-brand) 40%, transparent);

  /* ── Typography: from the mockup ─────────────────────────────────────── */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(44px, 6.4vw, 96px);
  --fs-h2: clamp(34px, 3.8vw, 56px);
  --fs-h3: 34px;                /* ticket / panel titles */
  --fs-h4: 26px;                /* list-button serif */
  --fs-lead: 18px;
  --fs-body: 17px;
  --fs-ui: 15px;                /* nav, buttons */
  --fs-small: 14px;
  --fs-caption: 12px;           /* caps kicker (.cap), tracked .18em */
  --lh-tight: 1;
  --lh-snug: 1.2;
  --lh-base: 1.6;
  --tracking-cap: .18em;

  /* ── Space (8-px scale; mockup paddings 32/72/112) ───────────────────── */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-72: 72px;
  --space-112: 112px;
  --section-pad: var(--space-112);

  /* ── Shape: the marquise curve is the signature radius ───────────────── */
  --curve-xl: 220px 72px;       /* section band (flow) */
  --curve-lg: 160px 56px;       /* ticket, photo */
  --curve-md: 140px 48px;       /* panel */
  --curve-sm: 90px 34px;        /* mobile / small cards */
  --radius-pill: 999px;
  --radius-sm: 6px;
  --shadow-ticket: 0 -20px 60px -30px rgba(0,0,0,.5);
  --shadow-card: 0 1px 0 rgba(29,32,35,.04), 0 18px 40px -28px rgba(29,32,35,.35);

  /* ── Container: from the mockup ──────────────────────────────────────── */
  --container: 1280px;
  --container-pad: 32px;

  /* ── Motion ──────────────────────────────────────────────────────────── */
  --dur-fast: 200ms;
  --dur-base: 250ms;
  --dur-slow: 450ms;
  --dur-reveal: 800ms;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .8, .3);

  /* ── Layers (added) ──────────────────────────────────────────────────── */
  --z-header: 100;
  --z-sticky: 50;
  --z-overlay: 900;
  --z-modal: 1000;
}

@media (max-width: 640px) {
  :root {
    --container-pad: 16px;
    --section-pad: var(--space-72);
    --fs-h1: 46px;
    --fs-h3: 30px;
    --curve-lg: 90px 34px;
    --curve-xl: 110px 40px;
    --curve-md: 90px 34px;
  }
}

/* Breakpoints (media queries cannot read custom properties):
   --bp-mobile: 640px   --bp-tablet: 1080px   --bp-desktop: 1440px  (kit.config.json → breakpoints) */

/* ===== base.css ===== */
/* Reset, document defaults, accessibility basics. Nothing project-specific. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  min-height: 100vh;
  overflow-x: hidden;          /* nothing may scroll the page sideways */
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

/* headings take face, size and line-height from their class, per mockup node — a
   global display face silently changes every card title set in the body face */
h1, h2, h3, h4 { font: inherit; }

a { color: inherit; }

ul, ol { list-style: none; padding: 0; }

/* Visible focus is not optional, whatever the mockup shows. */
:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-modal);
  padding: var(--space-8) var(--space-16); background: var(--color-brand); color: #fff;
}
.skip-link:focus { left: var(--space-8); top: var(--space-8); }

/* A hidden control inside a component must stay hidden even when the component
   sizes its inputs (`.field input { width:100% }`): the doubled class wins. */
.visually-hidden.visually-hidden { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }

/* A hidden element must stay hidden even when a component sets display.
   Without this a closed panel keeps its height and pushes sections down. */
[hidden][hidden] { display: none !important; }

/* Tap targets: 24×24 minimum (WCAG 2.2 AA, 2.5.8) added by a pseudo-element,
   never by padding — padding changes the layout, this does not. */
.tap-target { position: relative; }
.tap-target::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%;
  height: 100%; min-height: 24px; z-index: 1;
}

/* ===== layout.css ===== */
/* Page-level structure from b-marquise-1955: container, centered-split header,
 * sheet menu, inner-page hero, section rhythm, RG band, footer. */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── header: centered split ───────────────────────────────────────────── */
.hd-slot--solid { height: 92px; }
.hd-slot--overlay { height: 0; }

.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-header);
  color: var(--color-text);
}
.site-header--overlay { color: #fff; }
.site-header--solid { position: absolute; border-bottom: 1px solid var(--color-border); }
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 92px; gap: var(--space-24);
  transition: height var(--dur-base) var(--ease);
}

/* docked after scroll (app.js adds .is-stuck) */
.site-header.is-stuck {
  position: fixed; color: var(--color-text);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--color-border);
  animation: hd-drop var(--dur-slow) var(--ease) both;
}
.site-header.is-stuck .site-header__inner { height: 68px; }
.site-header.is-stuck .logo__word { font-size: 24px; }
@keyframes hd-drop { from { transform: translateY(-100%); } to { transform: none; } }

.hd-nav { display: flex; gap: 26px; font-size: var(--fs-ui); font-weight: 500; align-items: center; }
.hd-nav--right { justify-content: flex-end; }
.hd-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 0; text-decoration: none; white-space: nowrap; cursor: pointer;
}
/* signature motion: hairline drawn from the left */
.hd-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.hd-nav__link:hover::after, .hd-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.hd-nav__more .icon { width: 14px; height: 14px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3FB67F; box-shadow: 0 0 0 0 rgba(63,182,127,.6); animation: live-pulse 1.8s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 7px rgba(63,182,127,0); } 100% { box-shadow: 0 0 0 0 rgba(63,182,127,0); } }

.logo {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-align: center; line-height: 1; text-decoration: none; color: inherit;
}
.logo__word { font: 400 30px/1 var(--font-display); letter-spacing: .01em; white-space: nowrap; transition: font-size var(--dur-base) var(--ease); }
.logo__word i { font-style: italic; }
.logo__sub {
  font: 600 10px/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; opacity: .85;
  display: flex; align-items: center; gap: 8px;
}
.logo__sub::before, .logo__sub::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.logo--lg .logo__word { font-size: 40px; }
.logo--lg { align-items: flex-start; }

.menu-btn {
  display: none; justify-self: end; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid currentColor; background: none; color: inherit; place-items: center; cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-header--overlay:not(.is-stuck) .menu-btn { border-color: rgba(255,255,255,.55); }
.menu-btn:hover { background: var(--color-text); color: var(--color-bg); }
.menu-btn .icon { width: 20px; height: 20px; }

/* ── sheet menu (drops from the top — mockup's .sheet) ─────────────────── */
.overlay--sheet { place-items: stretch; padding: 0; background: rgba(20,22,24,.35); }
.overlay--sheet .sheet {
  width: 100%; max-height: 100vh; height: auto; align-self: start;
  border-radius: 0 0 0 0; border-bottom-left-radius: var(--curve-xl);
  background: var(--color-bg); color: var(--color-text);
  padding: var(--space-24) var(--container-pad) var(--space-48);
  transform: translateY(-100%); transition: transform var(--dur-slow) var(--ease);
}
.overlay--sheet.is-open .sheet { transform: none; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; max-width: var(--container); margin: 0 auto; }
.sheet__top .logo { align-items: flex-start; }
.sheet__close {
  width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 50%;
  background: none; display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}
.sheet__close:hover { border-color: var(--color-text); }
.sheet__close .icon { width: 20px; height: 20px; }
.sheet__grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-48);
  max-width: var(--container); margin: var(--space-32) auto 0;
}
.sheet__grid .cap { margin: var(--space-24) 0 var(--space-8); }
.sheet__grid nav > .cap:first-child { margin-top: 0; }
.sheet__list a {
  display: block; font: 400 38px/1.15 var(--font-display); padding: 6px 0;
  border-bottom: 1px solid var(--color-border); text-decoration: none;
  transition: color var(--dur-fast) var(--ease), padding var(--dur-base) var(--ease);
}
.sheet__list--sm a { font-size: 26px; }
.sheet__list a:hover, .sheet__list a[aria-current="page"] { color: var(--color-brand); padding-left: 10px; }
.sheet__foot { max-width: var(--container); margin: var(--space-32) auto 0; font-size: var(--fs-small); color: var(--color-text-2); display: flex; gap: 10px; align-items: center; }

/* ── inner-page hero (new in the mockup's language) ────────────────────── */
.page-hero {
  background: var(--color-surface);
  border-bottom-right-radius: var(--curve-xl);
  padding: 44px 0 var(--space-72);
}
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-48); align-items: end; }
.page-hero__title { font: 400 clamp(44px, 5.6vw, 84px)/.98 var(--font-display); letter-spacing: -.02em; margin-top: 18px; max-width: 16ch; }
.page-hero__title i { color: var(--color-brand); }
.page-hero__lead { margin-top: 20px; max-width: 56ch; font-size: var(--fs-lead); color: var(--color-text-2); }
.page-hero__aside { max-width: 380px; }

.crumbs { margin-bottom: var(--space-24); font-size: var(--fs-small); color: var(--color-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--color-faint); }
.crumbs a { text-decoration: none; position: relative; }
.crumbs a:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }

/* ── section rhythm ────────────────────────────────────────────────────── */
.sec { padding-block: var(--section-pad); }
.sec--tight { padding-block: var(--space-72); }
.sec--surface { background: var(--color-surface); }
.sec--band { background: var(--color-surface); border-top-left-radius: var(--curve-xl); }
.sec--ink { background: var(--color-text); color: var(--color-on-dark); }
.sec--ink .cap { color: color-mix(in srgb, var(--color-on-dark) 75%, transparent); }
.sec--ink .cap::before { background: var(--color-dusk); }
.sec + .sec--band, .sec--band + .sec { margin-top: 0; }

/* zigzag (mockup .z) */
.z { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-72); align-items: start; }
.z--rev { grid-template-columns: 7fr 5fr; }
.z--rev > .z__copy { order: 2; }
.z__copy { position: sticky; top: 96px; }
.z__copy > p { color: var(--color-text-2); margin-top: 18px; max-width: 46ch; }

/* reading column for long text pages */
.prose-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-72); align-items: start; }
.toc { position: sticky; top: 96px; font-size: var(--fs-small); }
.toc .cap { margin-bottom: var(--space-12); }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--color-border); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--color-text-2); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--color-text); border-left-color: var(--color-brand); }

/* ── RG band (mockup .rg) ──────────────────────────────────────────────── */
.rg-band { background: var(--color-text); color: var(--color-on-dark); }
.rg-band__inner { display: flex; gap: 28px; align-items: center; padding-block: 26px; flex-wrap: wrap; }
.rg-band__mark { font: 400 44px/1 var(--font-display); color: var(--color-dusk); }
.rg-band p { flex: 1; min-width: 260px; font-size: var(--fs-ui); }

/* ── footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-bg); padding: var(--space-72) 0 var(--space-32); }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-32); flex-wrap: wrap; padding-bottom: var(--space-48); border-bottom: 1px solid var(--color-text); }
.site-footer__claim { max-width: 40ch; color: var(--color-text-2); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-32); padding: var(--space-48) 0; }
.site-footer__col .cap { margin-bottom: var(--space-16); }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__data {
  display: grid; gap: var(--space-24) var(--space-32);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: var(--space-32) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-small); color: var(--color-text-2);
}
.site-footer__data .cap { margin-bottom: var(--space-8); }
.site-footer__data address { font-style: normal; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: var(--space-16); flex-wrap: wrap; padding-top: var(--space-24); font-size: var(--fs-small); color: var(--color-muted); }
.site-footer__bottom p { display: flex; align-items: center; gap: 10px; }

/* ── back to top (kept from the template, restyled) ────────────────────── */
.to-top { display: none; }

/* ── tablet ────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hd-nav { display: none; }
  .menu-btn { display: grid; grid-column: 3; }
  .logo { grid-column: 2; }
  .site-header__inner { grid-template-columns: 44px 1fr 44px; }
  .z, .z--rev { grid-template-columns: 1fr; gap: var(--space-48); }
  .z--rev > .z__copy { order: 0; }
  .z__copy { position: static; }
  .prose-layout { grid-template-columns: 1fr; gap: var(--space-32); }
  .toc { position: static; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__aside { max-width: none; }
  .sheet__grid { grid-template-columns: 1fr 1fr; gap: var(--space-32); }
}

/* ── mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hd-slot--solid { height: 76px; }
  .site-header__inner { height: 76px; gap: var(--space-8); }
  .logo__word { font-size: 23px; }
  .logo__sub { font-size: 9px; letter-spacing: .26em; }
  .logo--lg .logo__word { font-size: 32px; }
  .sheet__grid { grid-template-columns: 1fr; gap: 0; margin-top: var(--space-16); }
  .sheet__grid nav + nav { margin-top: var(--space-24); }
  .sheet__list a { font-size: 30px; }
  .sheet__list--sm a { font-size: 22px; }
  .overlay--sheet .sheet { max-height: 100vh; overflow-y: auto; padding-bottom: var(--space-32); }
  .page-hero { padding: 28px 0 var(--space-48); }
  .page-hero__title { font-size: 44px; }
  .page-hero__lead { font-size: 16px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__cols > :last-child { grid-column: 1 / -1; }
  .rg-band__inner { gap: 16px; }
}

/* "Mais" is a <button>: strip the UA box so it reads as a nav link */
.hd-nav__more { background: none; border: 0; color: inherit; font: inherit; }
.logo { gap: 6px; }
.logo__word { line-height: 1.05; }
.z > * { min-width: 0; }
.site-footer__data { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .site-footer__data { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .site-footer__data { grid-template-columns: 1fr 1fr; }
  .site-footer__data > :last-child { grid-column: 1 / -1; }
}
/* long e-mail addresses must wrap instead of pushing the page sideways */
.site-footer__data, .note, .contact-card, .prose { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .site-footer__data { grid-template-columns: 1fr; }
  .site-footer__data > :last-child { grid-column: auto; }
}
@media (max-width: 389px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* Over a photo the header carries its own dark band (the top of the hero scrim):
   the text sits on a real background, and the hero gradient continues below it. */
.hd-slot--overlay { position: absolute; top: 0; left: 0; right: 0; height: 92px; background-color: rgba(20,22,24,.66); z-index: var(--z-header); }
@media (max-width: 640px) { .hd-slot--overlay { height: 76px; background-color: rgba(20,22,24,.7); } }
.menu-btn { grid-row: 1; }

/* ── logo image (logo__v1): ink on light, light on the photo header ── */
.logo__img, .logo__img img { display: block; height: 64px; width: auto; }
.logo__img--light { display: none; }
.site-header--overlay:not(.is-stuck) .logo__img--ink { display: none; }
.site-header--overlay:not(.is-stuck) .logo__img--light { display: block; }
.site-header.is-stuck .logo__img, .site-header.is-stuck .logo__img img { height: 48px; }
.sheet__top .logo__img, .sheet__top .logo__img img { height: 48px; }
.logo--lg .logo__img, .logo--lg .logo__img img { height: 84px; }
@media (max-width: 640px) {
  .logo__img, .logo__img img { height: 44px; }
  .logo--lg .logo__img, .logo--lg .logo__img img { height: 64px; }
}
@media (max-width: 389px) { .logo__img, .logo__img img { height: 38px; } }

/* ===== components.css (used parts) ===== */
/* Components of b-marquise-1955 (moved as they are) and the ones S3 designed in
 * its language. State coverage: hover, focus, active, disabled, error, empty. */

/* ── typography pieces ────────────────────────────────────────────────── */
.cap {
  display: flex; align-items: center; gap: 12px;
  font: 600 var(--fs-caption)/1.2 var(--font-body); letter-spacing: var(--tracking-cap);
  text-transform: uppercase; color: var(--color-muted);
}
.cap::before { content: ""; width: 44px; height: 1px; background: var(--color-brand); flex: none; }
.cap--plain::before { display: none; }
.h2 { font: 400 var(--fs-h2)/1 var(--font-display); letter-spacing: -.015em; margin-top: 16px; }
.h2 i, .h3 i { color: var(--color-brand); }
.sec--ink .h2 i { color: var(--color-dusk); }
.h3 { font: 400 var(--fs-h3)/1.05 var(--font-display); }
.h4 { font: 600 19px/1.3 var(--font-body); }
.sec-head { margin-bottom: var(--space-48); }
.sec-head__intro { margin-top: 18px; max-width: 58ch; color: var(--color-text-2); }
.sec--ink .sec-head__intro { color: color-mix(in srgb, var(--color-on-dark) 80%, transparent); }
.lead { font-size: var(--fs-lead); color: var(--color-text-2); }
.muted { color: var(--color-muted); }
.small { font-size: var(--fs-small); }
.num { font-variant-numeric: tabular-nums; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 400 clamp(30px, 3vw, 42px)/1.05 var(--font-display); margin-top: 1.6em; scroll-margin-top: 96px; }
.prose h2 i { color: var(--color-brand); }
.prose h3 { font: 600 19px/1.3 var(--font-body); margin-top: 1.4em; }
.prose ul { display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--color-brand); }
.prose ol { counter-reset: p; display: grid; gap: .5em; }
.prose ol li { counter-increment: p; position: relative; padding-left: 34px; }
.prose ol li::before { content: counter(p, lower-roman) "."; position: absolute; left: 0; font: italic 400 20px/1.3 var(--font-display); color: var(--color-brand); }
.prose a { color: var(--color-brand); text-underline-offset: 3px; }
.prose a:hover { color: var(--color-brand-hover); }
.prose strong { font-weight: 600; }

/* links with the hairline (signature motion) */
.link-line {
  position: relative; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .35s var(--ease), color var(--dur-fast) var(--ease);
}
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-btn { border: 0; background-color: transparent; font: inherit; cursor: pointer; padding: 0 0 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform var(--dur-base) var(--ease); }
.link-arrow:hover { color: var(--color-brand); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ── buttons (mockup: pills) ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  border: 1px solid transparent; background: transparent; color: inherit;
  font: 600 var(--fs-ui)/1.1 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: var(--fs-small); }
.btn--brand { background: var(--color-brand); color: #fff; }
.btn--brand:hover { background: var(--color-brand-hover); }
.btn--brand:active { background: var(--color-brand-active); }
.btn--ink { background: var(--color-text); color: var(--color-bg); }
.btn--ink:hover { background: #000; }
.btn--line { border-color: var(--color-text); color: var(--color-text); }
.btn--line:hover { background: var(--color-text); color: var(--color-bg); }
.btn--glass { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--glass:hover { background: #fff; color: var(--color-text); }
.sec--ink .btn--line { border-color: var(--color-on-dark); color: var(--color-on-dark); }
.sec--ink .btn--line:hover { background: var(--color-on-dark); color: var(--color-text); }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
/* ── status pill ──────────────────────────────────────────────────────── */
.status {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 10px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); color: var(--color-muted);
}
.status--live { color: var(--color-live); border-color: color-mix(in srgb, var(--color-live) 40%, transparent); }
.status--next { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.status--done { color: var(--color-text-2); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: live-pulse 1.8s infinite; }
.badge-18 { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border: 1px solid currentColor; border-radius: 6px; font: 700 12px/1 var(--font-body); letter-spacing: .04em; }

/* ── ticket (mockup: next-race card cut by the marquise curve) ─────────── */
.ticket {
  background: var(--color-surface); color: var(--color-text);
  border-top-left-radius: var(--curve-lg);
  padding: 44px 30px 30px; position: relative; box-shadow: var(--shadow-ticket);
}
.ticket .cap { color: var(--color-brand); }
.ticket .cap::before { display: none; }
.ticket__title { font: 400 34px/1.05 var(--font-display); margin-top: 10px; }
.ticket__when { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.ticket__when b { font: 400 64px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ticket__when span { color: var(--color-text-2); font-size: var(--fs-small); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.specs > div { padding: 12px 0; }
.specs > div + div { border-left: 1px solid var(--color-border); padding-left: 14px; }
.specs dt { font-size: 12px; color: var(--color-muted); }
.specs dd { font-weight: 600; margin: 2px 0 0; }
.ticket__go { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-weight: 600; text-decoration: none; }
.ticket__go:hover { color: var(--color-brand); }
.ticket__go .icon { transition: transform var(--dur-base) var(--ease); }
.ticket__go:hover .icon { transform: translateX(4px); }
.ticket--flat { box-shadow: var(--shadow-card); border: 1px solid var(--color-border); }
/* ── flow steps (roman numerals — signature 3) ────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--color-text); counter-reset: none; }
.flow--6 { grid-template-columns: repeat(6, 1fr); }
.flow--7 { grid-template-columns: repeat(7, 1fr); }
.step { padding: 20px 18px 22px 0; border-right: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 6px; }
.step + .step { padding-left: 18px; }
.step:last-child { border-right: 0; }
.step b { font: italic 400 30px/1 var(--font-display); color: var(--color-brand); }
.step span { font-weight: 600; }
.step small { font-size: 13px; color: var(--color-text-2); line-height: 1.45; }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--color-border); font-size: var(--fs-small); color: var(--color-text-2); }
.note .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--color-brand); }
/* ── figure with the marquise curve ───────────────────────────────────── */
.figure picture, .figure img { display: block; width: 100%; }
.figure img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-top-left-radius: var(--curve-xl); }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure figcaption { font-size: 12px; color: var(--color-muted); margin-top: 10px; }

/* ── cards ────────────────────────────────────────────────────────────── */
.card {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border);
  padding: var(--space-32) var(--space-24) var(--space-24); display: flex; flex-direction: column; gap: 12px;
  border-top-left-radius: var(--curve-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--color-border) 50%, var(--color-text)); }
.card__kicker { font: 600 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--color-brand); }
.card__title { font: 400 28px/1.05 var(--font-display); }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--color-text-2); font-size: var(--fs-ui); }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-small); color: var(--color-text-2); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-border); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--space-24); }
/* ── overlays: dialog, gate, cookie ───────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center; padding: var(--space-16);
  background: rgba(20, 22, 24, .6); opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
}
.overlay.is-open { opacity: 1; }
.overlay__panel {
  width: min(100%, 560px); max-height: 92vh; overflow: auto;
  background: var(--color-surface); color: var(--color-text);
  transform: translateY(10px); transition: transform var(--dur-slow) var(--ease);
}
.overlay.is-open .overlay__panel { transform: none; }
.dialog { position: relative; padding: 48px 36px 32px; border-top-left-radius: var(--curve-md); }
.dialog__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: none; display: grid; place-items: center; cursor: pointer; transition: border-color var(--dur-fast) var(--ease); }
.dialog__close:hover { border-color: var(--color-text); }
.dialog__close .icon { width: 18px; height: 18px; }
.dialog__title { font: 400 38px/1.05 var(--font-display); margin-top: 14px; }
.dialog__title i { color: var(--color-brand); }
.dialog > p:not(.cap) { margin-top: 14px; color: var(--color-text-2); }
.dialog__dest { font-size: var(--fs-small); }
.dialog__summary { margin-top: 16px; padding: 14px 16px; background: var(--color-bg); border-radius: 12px; font-size: var(--fs-small); }
.dialog__summary b { display: block; font: 400 22px/1.2 var(--font-display); margin-bottom: 4px; }
.dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dialog__rg { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: 13px; color: var(--color-muted) !important; }

.overlay--gate { background: rgba(20, 22, 24, .82); backdrop-filter: blur(6px); }
.gate { padding: 56px 40px 40px; border-top-left-radius: var(--curve-lg); width: min(100%, 600px); }
.gate__title { font: 400 clamp(38px, 5vw, 54px)/1 var(--font-display); margin-top: 16px; }
.gate__title i { color: var(--color-brand); }
.gate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.gate__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--color-border); font-size: var(--fs-small); color: var(--color-text-2); }
.gate__no { display: none; }
.gate__no p { margin: 16px 0 20px; color: var(--color-text-2); }
.gate:has(.gate__no:target) .gate__ask { display: none; }
.gate__no:target { display: block; }

.cookie-bar {
  position: fixed; left: var(--space-16); right: var(--space-16); bottom: var(--space-16); z-index: var(--z-overlay);
  max-width: 980px; margin-inline: auto; background: var(--color-text); color: var(--color-on-dark);
  border-top-left-radius: var(--curve-sm); box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.cookie-bar.is-gone { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cookie-bar__inner { display: flex; gap: var(--space-24); align-items: center; padding: 20px 24px; flex-wrap: wrap; }
.cookie-bar p { flex: 1 1 320px; font-size: var(--fs-small); }
.cookie-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-bar .btn--ink { background: transparent; border-color: var(--color-on-dark); color: var(--color-on-dark); }
.cookie-bar .btn--ink:hover { background: var(--color-on-dark); color: var(--color-text); }
.cookie-bar .btn--line { border-color: rgba(233,229,222,.5); color: var(--color-on-dark); }
.cookie-bar .btn--line:hover { background: var(--color-on-dark); color: var(--color-text); }
.cookie-cats { display: grid; gap: 4px; margin-top: 20px; }
.cookie-cat { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-small); color: var(--color-text-2); cursor: pointer; }
.cookie-cat b { color: var(--color-text); }
.cookie-cat input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--color-brand); }

/* Icons inherit colour and take their size from CSS. */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; flex: none; }
.icon--missing { display: inline-block; width: 1em; height: 1em; outline: 1px dashed var(--color-error); }

/* ── mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .flow, .flow--6, .flow--7 { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--color-border); }
  .step + .step { padding-left: 0; }
  .step:nth-child(even) { padding-left: 18px; }
  .mods { grid-template-columns: 1fr; }
  .gloss { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sec-head { margin-bottom: var(--space-32); }
  .pa__head { grid-template-columns: 44px minmax(0, 1fr) auto 22px; gap: 12px; padding: 18px 0; }
  .pa__no, .race-no { font-size: 32px; }
  .pa__time { font-size: 20px; }
  .data { font-size: var(--fs-small); }
  .data .hide-m { display: none; }
  .flow, .flow--6, .flow--7 { grid-template-columns: 1fr; }
  .step:nth-child(even) { padding-left: 0; }
  .step { border-right: 0; }
  .mods__list { flex-direction: row; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .mods__tab { white-space: nowrap; font-size: 22px; border-bottom: 0; }
  .mods__tab[aria-selected="true"] { padding-left: 0; box-shadow: inset 0 -1px 0 var(--color-brand); }
  .mods__tab[aria-selected="true"]::after { display: none; }
  .panel { padding: 32px 20px 24px; }
  .panel h3 { font-size: 32px; }
  .tl li { grid-template-columns: 70px 1fr; }
  .ticket { padding: 36px 20px 22px; }
  .ticket__when b { font-size: 52px; }
  .form__row { grid-template-columns: 1fr; }
  .gloss > div { grid-template-columns: 1fr; gap: 6px; }
  .dialog { padding: 44px 20px 24px; }
  .dialog__title { font-size: 32px; padding-right: 36px; }
  .gate { padding: 44px 22px 28px; }
  .gate__actions .btn { flex: 1 1 100%; }
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
  .cookie-bar__inner { padding: 16px; gap: 12px; }
  .cookie-bar__actions .btn { flex: 1 1 auto; }
  .filters .field { max-width: none; }
  .filters__actions { margin-left: 0; width: 100%; }
}
/* ── shared section pieces: row head, GP facts and winners (home, GP, Tarumã) ── */
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-24); flex-wrap: wrap; margin-bottom: var(--space-32); }
.gp-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-72); align-items: start; }
.gp-home__lead { margin: 18px 0 var(--space-32); max-width: 48ch; }
.gp-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-text); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-24); }
.gp-facts > div { padding: 16px 0; }
.gp-facts > div + div { padding-left: 16px; border-left: 1px solid var(--color-border); }
.gp-facts dt { font-size: 12px; color: var(--color-muted); }
.gp-facts dd { margin: 4px 0 0; font: 400 34px/1 var(--font-display); }
.gp-winners { background: var(--color-surface); border-top-left-radius: var(--curve-md); padding: 40px 32px 24px; }
.gp-winners ol { margin-top: 16px; border-top: 1px solid var(--color-text); }
.gp-winners li { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.gp-winners b { font: 400 28px/1 var(--font-display); }
.gp-winners span { font-weight: 600; }
.gp-winners small { display: block; font-weight: 400; font-size: 13px; color: var(--color-muted); }
.gp-winners em { font: italic 400 20px/1 var(--font-display); color: var(--color-brand); font-variant-numeric: tabular-nums; }
.card--gp { background: var(--color-text); color: var(--color-on-dark); border-color: var(--color-text); }
.card--gp .card__kicker { color: var(--color-dusk); }
.card--gp .card__text, .card--gp .card__meta { color: color-mix(in srgb, var(--color-on-dark) 80%, transparent); border-color: rgba(233,229,222,.2); }
@media (max-width: 640px) {
  .gp-facts { grid-template-columns: 1fr 1fr; }
  .gp-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .gp-facts > div:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .gp-winners { padding: 32px 18px 18px; border-top-left-radius: var(--curve-sm); }
  .gp-winners li { grid-template-columns: 56px 1fr; }
  .gp-winners em { grid-column: 2; }
}
/* standalone arrow links: 24px tap target by pseudo-element (invariant 7), no layout change */
.link-arrow { position: relative; }
.link-arrow::after { content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%; height: 100%; min-height: 24px; }
/* two-column step grid: the right column has no outer rule */
@media (max-width: 1080px) and (min-width: 641px) { .step:nth-child(even) { border-right: 0; } }

/* ===== motion.css ===== */
/* Motion, loaded last: transitions, keyframes, and the reduced-motion block.
 *
 * Rules that do not bend (S5-tech, "Движение"):
 *   · only opacity, transform, colour, shadow and filter are animated;
 *   · the first screen does not animate in — that is a direct hit on LCP;
 *   · the end state is the resting layout (transform: none, opacity: 1) — a
 *     screenshot must not catch a half-played animation.
 */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Staggering by nth-child costs nothing and reads as intentional. */
[data-reveal-group] > * { transition-delay: 0ms; }
[data-reveal-group] > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-group] > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-group] > *:nth-child(4) { transition-delay: 180ms; }

/* Height is never animated: a row expands through grid-template-rows. */
.collapsible { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease); }
.collapsible.is-open { grid-template-rows: 1fr; }
.collapsible > * { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s var(--dur-base); }   /* min-height: a 0fr row cannot collapse a padded item; put padding on the grandchild */
.collapsible.is-open > * { visibility: visible; transition-delay: 0s; }

/* smooth only for in-page navigation: a scripted scrollTo (tools, restore) stays instant */
html:focus-within { scroll-behavior: smooth; }

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