/* ==========================================================================
   CG6 Racing — site styles
   Plain CSS, no build step. Colours come from the CG6 logo (#e11a27)
   and the navy of the #6 Yamaha R6.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #07090e;
  --bg-2: #0c111b;
  --bg-3: #05070b;
  --surface: #101725;
  --surface-2: #151e31;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f4f6fa;
  --body-text: #d3d9e2;
  --muted: #a8b1c0;
  --faint: #8590a2;

  --red: #e11a27;          /* logo red: fills, large type */
  --red-600: #c1121e;
  --red-text: #ff4b56;     /* AA-contrast red for small text on dark */
  --red-tint: rgba(225, 26, 39, 0.12);

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --radius: 4px;
  --section-y: clamp(64px, 9vw, 120px);
}
@media (min-width: 960px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--body-text); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 600; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--red); color: #fff; padding: 0.7rem 1rem;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-2); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); transform: skewX(-24deg); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text); }
.display-xl {
  font-size: clamp(3rem, 6.4vw, 6rem);
  font-style: italic; font-weight: 800; line-height: 0.9; letter-spacing: -0.005em;
}
.accent { color: var(--red); }
.keep-case { text-transform: none; }
.nowrap { white-space: nowrap; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.45rem; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p:not(.eyebrow) { margin-top: 1rem; font-size: 1.15rem; color: var(--muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.section-head--row > div { max-width: 700px; }
.section-cta { margin-top: 2rem; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-border: transparent;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.75rem 1.65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
  color: var(--btn-fg); background: none; border: 0; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); border: 1.5px solid var(--btn-border); border-radius: 2px;
  transform: skewX(-14deg); transition: background-color 0.2s, border-color 0.2s;
}
.btn:hover { --btn-bg: var(--red-600); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-border: rgba(255, 255, 255, 0.32); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.06); --btn-border: rgba(255, 255, 255, 0.6); }
.btn--light { --btn-bg: #fff; --btn-fg: #0b0f18; }
.btn--light:hover { --btn-bg: #eef0f4; }
.btn--ghost-light { --btn-bg: transparent; --btn-border: rgba(255, 255, 255, 0.7); --btn-fg: #fff; }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.12); --btn-border: #fff; }
.btn--sm { min-height: 42px; padding: 0.5rem 1.15rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; padding-bottom: 3px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
  border-bottom: 2px solid var(--red);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.site-header::before {
  /* the blur lives on a pseudo-element so the fixed mobile menu isn't trapped */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 9, 14, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: background-color 0.25s, border-color 0.25s;
}
.site-header.is-scrolled::before { background: rgba(7, 9, 14, 0.94); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-right: -11px;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.25s, background-color 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  display: flex; flex-direction: column; gap: 2rem;
  padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
  background: var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
.nav__link {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text);
}
.nav__link[aria-current="page"] { color: var(--red-text); }
.nav .btn { align-self: flex-start; }

@media (min-width: 960px) {
  .brand img { height: 34px; }
  .nav-toggle { display: none; }
  .nav {
    position: static; inset: auto; z-index: auto; flex-direction: row; align-items: center; gap: 2.25rem;
    padding: 0; overflow: visible; background: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__list { display: flex; gap: 2rem; }
  .nav__link {
    position: relative; padding: 0.4rem 0; border: 0;
    font-weight: 600; font-size: 0.98rem; letter-spacing: 0.1em; color: var(--muted);
    transition: color 0.2s;
  }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
  .nav__link[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--red); transform: skewX(-24deg);
  }
}

/* ---------- Hero (home + inner pages) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding-top: var(--header-h); }
.hero__media { position: relative; aspect-ratio: 1 / 1; max-height: 58svh; width: 100%; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 58%); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0) 55%, var(--bg) 100%);
}
.hero__stripe { display: none; }
.hero__content { position: relative; z-index: 1; margin-top: -3.25rem; padding-bottom: clamp(3rem, 8vw, 4.5rem); }
.hero__inner { max-width: 620px; }
.hero__lead { margin: 1.4rem 0 2.1rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--body-text); max-width: 34em; }

.hero--compact .hero__media { aspect-ratio: 4 / 3.4; }

@media (min-width: 960px) {
  .hero { display: grid; align-items: center; min-height: min(100svh, 940px); padding-top: 0; }
  .hero--compact { min-height: min(82svh, 720px); }
  .hero__media, .hero__stripe {
    position: absolute; top: var(--header-h); bottom: 0; right: 0; left: 47%;
    aspect-ratio: auto; max-height: none; width: auto;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero__stripe { display: block; left: calc(47% - 10px); background: var(--red); }
  .hero__media::after { background: linear-gradient(90deg, rgba(7, 9, 14, 0.25) 0%, rgba(7, 9, 14, 0) 30%); }
  .hero__content { margin-top: 0; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
  .hero__inner { max-width: min(560px, 40vw); }
}

/* Text-only page hero with an outlined race number behind it */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero::after {
  content: "6"; position: absolute; top: 50%; right: max(-3rem, -4vw); transform: translateY(-48%);
  font-family: var(--font-display); font-weight: 800; font-style: italic; line-height: 0.8;
  font-size: clamp(16rem, 42vw, 34rem); color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.055); pointer-events: none; user-select: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__lead { margin-top: 1.25rem; max-width: 38em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--body-text); }

/* ---------- Stats strip ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.6rem 1.25rem 1.6rem 0; }
.stat:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
.stat__value {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(2.4rem, 4.4vw, 3.75rem); line-height: 1; color: #fff; white-space: nowrap;
}
.stat__value--date { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.stat__label { margin-top: 0.55rem; font-size: 0.95rem; line-height: 1.4; color: var(--muted); max-width: 22ch; }
@media (min-width: 860px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(even) { padding: 2.25rem 1.75rem; border-left: 1px solid var(--line); border-top: 0; }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Split (image + copy) ---------- */
.split { display: grid; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, 50% 50%); border-radius: var(--radius); }
.split__media::before {
  content: ""; position: absolute; z-index: -1; left: -12px; top: 28px; width: 40%; height: 55%;
  background: var(--red); transform: skewY(-8deg);
}
.split__media { isolation: isolate; }
.split__body h2 { margin-bottom: 1.4rem; }
.split__body .link-arrow { margin-top: 1.25rem; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__media::before { left: auto; right: -12px; transform: skewY(8deg); }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; padding: 1.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card--accent { border-top: 3px solid var(--red); }
.card h3 { margin-bottom: 0.65rem; }
.card p { margin: 0; font-size: 1rem; color: var(--muted); }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.3rem;
  border-radius: var(--radius); background: var(--red-tint); color: var(--red-text);
}
.card__icon .icon { width: 23px; height: 23px; }
.chip {
  display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--red); border-radius: 2px;
}
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }

/* ---------- Title / achievement cards ---------- */
.titles { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .titles { grid-template-columns: repeat(3, 1fr); } .titles--2 { grid-template-columns: repeat(2, 1fr); } }
.title-card {
  position: relative; overflow: hidden; padding: 2rem 1.85rem 2.1rem;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.title-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.title-card::after {
  content: attr(data-mark); position: absolute; right: -0.05em; bottom: -0.22em;
  font-family: var(--font-display); font-weight: 800; font-style: italic; line-height: 1;
  font-size: 9.5rem; color: rgba(255, 255, 255, 0.045); pointer-events: none;
}
.title-card__kicker { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-text); }
.title-card__main { margin-top: 0.55rem; font-size: clamp(2rem, 3vw, 2.55rem); font-style: italic; font-weight: 800; line-height: 0.95; }
.title-card__meta { margin: 0.8rem 0 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Figures ---------- */
.figure-wide { margin: clamp(2rem, 5vw, 3.25rem) 0 0; }
.figure-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--focus, 45% 50%); border-radius: var(--radius); }
@media (min-width: 860px) { .figure-wide img { aspect-ratio: 21 / 9; } }
figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--faint); letter-spacing: 0.02em; }

/* ---------- Benefits grid ---------- */
.benefits { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding: 1.85rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit .icon { width: 28px; height: 28px; margin-bottom: 1.1rem; color: var(--red-text); }
.benefit h3 { margin-bottom: 0.45rem; font-size: 1.35rem; }
.benefit p { margin: 0; font-size: 1rem; color: var(--muted); }

/* "Included for every partner" band */
.every {
  display: grid; gap: 1.5rem; margin-top: 2.5rem; padding: 1.85rem 1.75rem;
  background: var(--surface-2); border-left: 4px solid var(--red); border-radius: var(--radius);
}
.every__label .eyebrow { margin-bottom: 0.6rem; }
.every__label h3 { font-size: 1.85rem; font-style: italic; font-weight: 800; }
.every__items { display: grid; gap: 1.1rem; }
.every__items li { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--body-text); line-height: 1.45; }
.every__items .icon { margin-top: 0.1rem; color: var(--red-text); width: 22px; height: 22px; }
@media (min-width: 960px) {
  .every { grid-template-columns: 300px 1fr; align-items: center; gap: 2.5rem; padding: 2.1rem 2.25rem; }
  .every__items { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ---------- Partners band ---------- */
.partners { padding-block: clamp(2.25rem, 5vw, 3rem); border-block: 1px solid var(--line); background: var(--bg-3); }
.partners__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; text-align: center; }
.partners__label { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.partner-mark { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; color: var(--text); }
.partner-mark small { display: block; margin-top: 0.4rem; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.22em; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(0, 0, 0, 0.07) 46px 92px);
}
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; padding-block: clamp(3.25rem, 7vw, 5.25rem); }
.cta-band h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-style: italic; font-weight: 800; color: #fff; }
.cta-band p { margin: 0.8rem 0 0; max-width: 40em; color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; }
.cta-band__copy { max-width: 720px; }

/* ---------- About ---------- */
.bio { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .bio { grid-template-columns: 1.45fr 1fr; } }
.bio__text h2 { margin-bottom: 1.5rem; }
.bio__text a { color: var(--text); border-bottom: 1px solid var(--red); }
.facts { padding: 1.85rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); }
.facts h3 { margin-bottom: 1.25rem; font-size: 1.3rem; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem 1.4rem; margin: 0; }
.facts dt { padding-top: 0.15rem; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-weight: 500; color: var(--text); line-height: 1.45; }

.timeline { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline__item { position: relative; padding: 1.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.timeline__when { margin: 0; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--red); }
.timeline__item h3 { margin: 0.7rem 0 0.5rem; font-size: 1.4rem; }
.timeline__item p:not(.timeline__when) { margin: 0; font-size: 1rem; color: var(--muted); }
.timeline__item:not(:last-child)::after {
  content: ""; position: absolute; left: 2rem; bottom: -0.95rem; z-index: 2;
  width: 0.65rem; height: 0.65rem; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg);
}
@media (min-width: 1000px) {
  .timeline__item:not(:last-child)::after { left: auto; right: -0.95rem; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
}

/* ---------- Results ---------- */
.schedule { display: grid; gap: 1rem; }
.schedule__item {
  display: grid; grid-template-columns: 84px 1fr; gap: 0.75rem 1.25rem; align-items: center;
  padding: 1.4rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.schedule__item--feature { border-left: 4px solid var(--red); }
.schedule__date { text-align: center; font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.schedule__month { display: block; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.16em; color: var(--red-text); }
.schedule__days { display: block; margin-top: 0.3rem; font-weight: 800; font-style: italic; font-size: 2rem; color: var(--text); }
.schedule__info h3 { font-size: 1.35rem; line-height: 1.1; }
.schedule__info p { margin: 0.4rem 0 0; color: var(--muted); font-size: 1rem; }
.schedule__tag {
  grid-column: 2; justify-self: start; padding: 0.3rem 0.65rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 2px;
}
.schedule__item--feature .schedule__tag { color: #fff; background: var(--red); border-color: var(--red); }
@media (min-width: 760px) {
  .schedule__item { grid-template-columns: 110px 1fr auto; gap: 1.75rem; padding: 1.6rem 1.9rem; }
  .schedule__tag { grid-column: auto; justify-self: end; }
  .schedule__days { font-size: 2.3rem; }
}

/* ---------- Partner page ---------- */
.placement { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .placement { grid-template-columns: 1fr 1fr; } }
.placement__figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.placement__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 42% 50%; }
.placement__body h2 { margin-bottom: 1rem; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff;
  background: var(--red); border: 2px solid #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.hotspot::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(225, 26, 39, 0.7);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(0.8); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hotspot::after { animation: none; } }
.placement__list { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.placement__list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.placement__num {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; color: #fff; background: var(--red);
}
.placement__list h3 { margin-bottom: 0.3rem; font-size: 1.3rem; }
.placement__list p { margin: 0; font-size: 1rem; color: var(--muted); }

.tiers { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.85rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.tier--featured { border-color: rgba(225, 26, 39, 0.65); background: linear-gradient(180deg, rgba(225, 26, 39, 0.12), var(--surface) 45%); }
.tier__badge {
  position: absolute; top: -13px; left: 1.85rem; padding: 0.3rem 0.75rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--red); border-radius: 2px;
}
.tier__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.25rem; border-radius: var(--radius); background: var(--red-tint); color: var(--red-text); }
.tier__icon .icon { width: 23px; height: 23px; }
.tier h3 { font-size: 2rem; font-style: italic; font-weight: 800; }
.tier__ask { margin: 1rem 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500; }
.tier__ask span { display: block; margin-bottom: 0.25rem; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.checks { display: grid; gap: 0.7rem; margin-bottom: 2rem; }
.checks li { display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.45; color: var(--body-text); }
.checks .icon { width: 19px; height: 19px; margin-top: 0.15rem; color: var(--red-text); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tiers-note { margin-top: 1.75rem; color: var(--muted); max-width: 52em; }

/* ---------- Media page ---------- */
.video-feature { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 860px) { .video-feature { grid-template-columns: minmax(260px, 380px) 1fr; } }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; max-width: 380px; border-radius: var(--radius); background: #000; border: 1px solid var(--line); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.75rem; }

.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery__item {
  position: relative; display: block; width: 100%; margin: 0 0 1rem; padding: 0; overflow: hidden;
  break-inside: avoid; border: 0; border-radius: var(--radius); background: var(--surface); cursor: zoom-in;
}
.gallery__item img { width: 100%; transition: transform 0.5s ease, opacity 0.3s; }
.gallery__item:hover img { transform: scale(1.03); }
.media-note { margin-top: 2rem; color: var(--muted); }
.media-note a { color: var(--text); border-bottom: 1px solid var(--red); }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(4, 6, 10, 0.96); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(4, 6, 10, 0.9); }
.lightbox figure { margin: 0; padding: 4.5rem 1rem 1.5rem; display: grid; justify-items: center; gap: 0.9rem; max-width: 100%; }
.lightbox img { max-width: min(1200px, 92vw); max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { max-width: 60ch; text-align: center; color: var(--muted); }
.lightbox__close, .lightbox__nav {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
  color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox .icon { width: 22px; height: 22px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.55fr 1fr; } }
.form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--red-text); }
.field .opt { color: var(--faint); letter-spacing: 0.06em; text-transform: none; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 1rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8b1c0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field select option { color: var(--text); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 26, 39, 0.28); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.25rem; }
.form__note { margin: 0; font-size: 0.9rem; color: var(--faint); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact__aside { display: grid; gap: 1.25rem; }
.contact__block { padding: 1.6rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact__block h3 { margin-bottom: 0.85rem; font-size: 1.25rem; }
.contact__block p { margin: 0; color: var(--body-text); }
.contact__block ul { display: grid; gap: 0.65rem; }

.social-link { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--body-text); font-weight: 500; transition: color 0.2s; }
.social-link:hover { color: #fff; }
.social-link .icon { color: var(--red-text); }
.social-link small { color: var(--faint); font-size: 0.85rem; font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 4.75rem); }
.footer__grid { display: grid; gap: 2.5rem 2rem; padding-bottom: 3rem; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { height: 38px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 34ch; color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }
.footer__title { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.footer__links li + li { margin-top: 0.6rem; }
.footer__links a:not(.social-link) { color: var(--body-text); transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.5rem; font-size: 0.875rem; color: var(--faint); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.footer__bottom p { margin: 0; color: inherit; }
@media (min-width: 860px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Simple centred pages (thanks / 404) ---------- */
.centered { min-height: 72svh; display: grid; align-items: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Added: results table ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); }
.results-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.results-table th, .results-table td { padding: 0.95rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.results-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.results-table thead tr:first-child th[colspan] { color: var(--text); font-size: 0.95rem; }
.results-table tbody th { text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.results-table__date { display: block; margin-top: 0.15rem; font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--faint); }
.results-table tfoot th, .results-table tfoot td { border-bottom: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.results-table tfoot th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.results-table .grp { border-left: 1px solid var(--line); }
.pos { display: inline-grid; place-items: center; min-width: 3em; padding: 0.3rem 0.55rem; border-radius: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; }
.pos--1 { color: #fff; background: var(--red); }
.pos--2 { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.table-note { margin-top: 1rem; font-size: 0.9rem; color: var(--faint); }
@media (max-width: 600px) {
  .results-table th, .results-table td { padding: 0.65rem 0.35rem; }
  .results-table thead th { font-size: 0.72rem; letter-spacing: 0.06em; }
  .results-table tbody th { font-size: 0.95rem; padding-left: 0.75rem; }
  .pos { min-width: 2.5em; padding: 0.25rem 0.35rem; font-size: 0.95rem; }
}

/* ---------- Added: photo strip (home media preview) ---------- */
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.strip a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 0.5s ease; }
.strip a:hover img { transform: scale(1.04); }

/* ---------- Added: misc ---------- */
.figure-wide--full img { aspect-ratio: auto; }
.placement__list--simple li { align-items: center; padding: 1rem 0; }
.placement__list--simple h3 { margin: 0; }
.split__body .checks { margin: 1.5rem 0 2rem; }
.split__body .btn { margin-top: 0.25rem; }
@media (max-width: 640px) { .hotspot { width: 30px; height: 30px; font-size: 1rem; } }

/* ---------- Added: Instagram cards (home) ---------- */
.ig-cards { display: grid; gap: 1rem; }
@media (min-width: 760px) { .ig-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.ig-card {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.6rem 1.75rem;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.ig-card:hover { background: var(--surface-2); border-color: rgba(225, 26, 39, 0.55); transform: translateY(-2px); }
.ig-card__icon { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--red); color: #fff; }
.ig-card__icon .icon { width: 30px; height: 30px; }
.ig-card__text { flex: 1; min-width: 0; display: grid; gap: 0.3rem; }
.ig-card__handle { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; color: #fff; overflow-wrap: anywhere; }
.ig-card__desc { font-size: 0.98rem; color: var(--muted); }
.ig-card__cta { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.ig-card__cta .icon { width: 1em; height: 1em; color: var(--red-text); transition: transform 0.2s; }
.ig-card:hover .ig-card__cta .icon { transform: translateX(3px); }
@media (max-width: 520px) {
  .ig-card { flex-wrap: wrap; gap: 1rem; padding: 1.35rem; }
  .ig-card__icon { width: 52px; height: 52px; }
  .ig-card__cta { width: 100%; }
}

/* ---------- Added: sub-slogan ---------- */
.sub-slogan { margin: -0.4rem 0 1.25rem; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; text-transform: uppercase; color: var(--red); }
.hero__inner .sub-slogan { margin: 1.1rem 0 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------- Added: contact form status ---------- */
.form__status { margin: 0; padding: 0.9rem 1rem; border-left: 3px solid var(--red); background: var(--red-tint); color: var(--text); font-size: 0.95rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
