/* =====================================================================
   Team Clapham North — team-claphamnorth.flayrfx.com
   Black theme, white and red type, Gobold display face.
   ===================================================================== */

/* ---------- Fonts (all self-hosted, nothing loads from Google) ------- */

/* Gobold — the display face on the Clapham North logo and the MOT website.
   Subset copies of the licensed OTFs (assets/fonts/gobold/, see README for the
   licence note). Anton is only a fallback for the moment before they load. */
@font-face {
  font-family: "Gobold";
  src: url("../fonts/gobold/Gobold-Bold.woff") format("woff"),
       url("../fonts/gobold/Gobold-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gobold";
  src: url("../fonts/gobold/Gobold-Regular.woff") format("woff"),
       url("../fonts/gobold/Gobold-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens --------------------------------------------------- */
:root {
  --black: #000;
  --ink: #0a0a0a;
  --surface: #111;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --white: #fff;
  --muted: rgba(255, 255, 255, .68);
  --faint: rgba(255, 255, 255, .42);
  --red: #e3261a;          /* text and accents on black */
  --red-deep: #b81f14;     /* hover, gradients */
  --red-soft: rgba(227, 38, 26, .14);
  --navy: #202050;         /* only ever appears inside the logo */

  --display: "Gobold", "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

/* ---------- Type ----------------------------------------------------- */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.12;
}
h1, .h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2, .h2 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; }
.h4 { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--red); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout --------------------------------------------------- */
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--alt { background: var(--ink); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; } }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* ---------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -12px rgba(227, 38, 26, .7); }
.btn--red:hover { background: var(--red-deep); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e9e9e9; }
.btn--ghost { border-color: var(--line-strong); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 12px 20px; font-size: .85rem; }
.btn--lg { padding: 20px 36px; font-size: 1.1rem; }
.btn svg { width: 18px; height: 18px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
  color: var(--red);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--white { color: #fff; }

/* ---------- Header --------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__logo { height: 42px; width: auto; border-radius: 8px; }
.brand__text { display: grid; line-height: 1; white-space: nowrap; }
.brand__name { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .04em; }
.brand__sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  padding: 10px 11px; border-radius: var(--r-pill); color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 3px; border-radius: 2px; background: var(--red); margin-top: 4px; }
.nav .btn { margin-left: 10px; padding: 12px 20px; font-size: .8rem; color: #fff; }
.nav .btn:hover { background: var(--red-deep); }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); flex-direction: column; justify-content: center; align-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; margin: 0 auto; transform-origin: center; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
@media (max-width: 1180px) {
  .header { background: rgba(0, 0, 0, .94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; inset: 78px 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 1.35rem; padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav .btn { margin: 24px 0 0; border-radius: var(--r-pill); border-bottom: 0; text-align: center; justify-content: center; font-size: 1rem; padding: 18px; }
  .burger { display: flex; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
/* Between the full desktop nav and the burger there is not room for both the
   logo label and ten menu items, so the label steps aside. */
@media (min-width: 1181px) and (max-width: 1360px) { .brand__text { display: none; } }
@media (max-width: 480px) { .brand__text { display: none; } }
.header__in { min-width: 0; }
.brand { flex: none; }
.nav { flex: none; }

/* ---------- Hero ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 78px);
  display: grid; align-items: end;
  padding-block: clamp(80px, 12vw, 140px) clamp(48px, 7vw, 96px);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.95); transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, #000 0%, rgba(0, 0, 0, .78) 22%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, .18) 100%),
    linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 75%),
    radial-gradient(60% 50% at 20% 100%, rgba(227, 38, 26, .22), transparent 70%);
}
.hero__grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; align-items: end; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 18px 0 22px; text-wrap: balance; }
.hero .lede { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero--page .hero__shade, .hero--compact .hero__shade { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .72) 24%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .12) 100%), linear-gradient(to right, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 75%), radial-gradient(60% 50% at 20% 100%, rgba(227, 38, 26, .2), transparent 70%); }
.hero h1, .hero .lede, .hero .kicker { text-shadow: 0 2px 18px rgba(0, 0, 0, .75), 0 1px 3px rgba(0, 0, 0, .6); }
.hero--page { min-height: auto; padding-block: clamp(72px, 10vw, 128px) clamp(40px, 6vw, 72px); align-items: end; }
.hero--page h1 { font-size: clamp(2.8rem, 7.5vw, 6rem); }
.hero--compact { min-height: auto; padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 56px); }

/* Countdown card */
.next-round {
  background: rgba(17, 17, 17, .72);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.next-round__label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--red); font-family: var(--display); }
.next-round__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 10px 0 4px; }
.next-round__meta { color: var(--muted); font-size: .95rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.countdown div { background: rgba(0, 0, 0, .55); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 6px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { display: block; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.next-round .btn { width: 100%; margin-top: 18px; }

/* ---------- Stats strip ---------------------------------------------- */
.stats { border-block: 1px solid var(--line); background: var(--ink); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(24px, 3vw, 40px) 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; color: var(--red); }
.stat span { display: block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) {
  .stats__in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Cards ---------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  transition: border-color .25s, transform .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
a.card:hover, .card--lift:hover { transform: translateY(-4px); }
.card__icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card--media { padding: 0; overflow: hidden; display: grid; }
.card--media img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.card--media .card__body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--display); background: rgba(255, 255, 255, .07); color: var(--muted); }
.tag--red { background: var(--red-soft); color: var(--red); }
.tag--live { background: var(--red); color: #fff; }
.tag--ok { background: rgba(255, 255, 255, .07); color: #fff; }

/* ---------- Driver blocks -------------------------------------------- */
.driver { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.driver--flip .driver__media { order: 2; }
@media (max-width: 900px) { .driver { grid-template-columns: 1fr; } .driver--flip .driver__media { order: 0; } }
.driver__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.driver__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.driver__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent 45%); }
.driver__num { position: absolute; left: 24px; bottom: 18px; font-family: var(--display); font-size: clamp(4rem, 8vw, 7rem); line-height: 1; color: #fff; opacity: .9; }
.driver__role { font-family: var(--display); text-transform: uppercase; color: var(--red); font-size: clamp(1.2rem, 2vw, 1.6rem); margin-top: 8px; }
.driver__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.driver__stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 10px; text-align: center; }
.driver__stats b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--red); }
.driver__stats span { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.checks { display: grid; gap: 10px; margin: 22px 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3261a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }
blockquote.quote { margin: 0; padding: 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-family: var(--display); text-transform: uppercase; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.3; letter-spacing: .01em; }
blockquote.quote cite { display: block; margin-top: 12px; font-family: var(--body); font-style: normal; text-transform: none; font-size: .85rem; letter-spacing: 0; color: var(--red); }

/* ---------- Video ---------------------------------------------------- */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: #050505; border: 1px solid var(--line); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.03); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .1) 50%);
}
.video__play i {
  width: 82px; height: 82px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 20px 60px -10px rgba(227, 38, 26, .8); transition: transform .3s var(--ease), background .2s;
}
.video__play i svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.video:hover .video__play i { transform: scale(1.08); }
.video__label { position: absolute; left: 22px; bottom: 18px; right: 22px; display: grid; gap: 4px; text-align: left; }
.video__label b { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; letter-spacing: .02em; }
.video__label span { font-size: .8rem; color: var(--muted); }
.video--feature { border-radius: var(--r-xl); box-shadow: 0 40px 120px -40px rgba(227, 38, 26, .45); }
.video--feature .video__play i { width: 108px; height: 108px; }
.video--feature .video__label b { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.video--sm .video__play i { width: 60px; height: 60px; }
.video--sm .video__label b { font-size: 1rem; }

/* ---------- Gallery -------------------------------------------------- */
.masonry { columns: 3; column-gap: 18px; }
@media (max-width: 960px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }
.masonry figure { margin: 0 0 18px; break-inside: avoid; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.masonry img { width: 100%; transition: transform .7s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: .82rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent); opacity: 0; transition: opacity .3s; }
.masonry figure:hover figcaption { opacity: 1; }
.masonry button { display: block; width: 100%; padding: 0; text-align: left; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-strip figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-strip figure:hover img { transform: scale(1.05); }
@media (max-width: 800px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .94); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 86vh; max-width: 92vw; width: auto; border-radius: var(--r-lg); }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: var(--muted); font-size: .9rem; padding: 0 60px; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- Testimonials --------------------------------------------- */
.testimonial { display: grid; gap: 20px; }
.testimonial__quote { font-size: 1.02rem; color: var(--muted); }
.testimonial__quote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 4rem; line-height: .6; color: var(--red); margin-bottom: 12px; }
.testimonial__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial__who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.testimonial__who b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; line-height: 1; }
.testimonial__who span { display: block; font-size: .8rem; color: var(--red); margin-top: 4px; }
.testimonial--feature { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; padding: clamp(28px, 4vw, 48px); }
.testimonial--feature .testimonial__quote { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.3; color: #fff; }
@media (max-width: 800px) { .testimonial--feature { grid-template-columns: 1fr; } }

/* ---------- Marquee (partners) --------------------------------------- */
.marquee { overflow: hidden; position: relative; padding-block: 28px; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 34s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logo { height: 54px; display: flex; align-items: center; opacity: .85; transition: opacity .2s; }
.partner-logo:hover { opacity: 1; }
.partner-logo img { height: 100%; width: auto; border-radius: 8px; }
.partner-logo--word { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.partner-logo--slot { border: 1px dashed rgba(227, 38, 26, .6); color: var(--red); border-radius: var(--r-md); padding: 0 24px; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; white-space: nowrap; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.partners-grid a, .partners-grid div { min-height: 120px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; padding: 22px; transition: border-color .2s, transform .3s var(--ease); }
.partners-grid a:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.partners-grid img { max-height: 56px; width: auto; border-radius: 6px; }
.partners-grid .slot { border-style: dashed; border-color: rgba(227, 38, 26, .5); color: var(--red); font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; text-align: center; }

/* ---------- Calendar ------------------------------------------------- */
.rounds { display: grid; gap: 12px; }
.round { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.round:hover { border-color: var(--line-strong); }
.round--next { border-color: var(--red); background: linear-gradient(135deg, rgba(227, 38, 26, .14), var(--surface) 55%); }
.round__num { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--red); }
.round__num small { display: block; font-size: .6rem; letter-spacing: .2em; color: var(--faint); margin-bottom: 4px; }
.round__title { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.15; }
.round__meta { color: var(--muted); font-size: .9rem; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.round__meta code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--faint); }
@media (max-width: 640px) { .round { grid-template-columns: 70px 1fr; } .round > .tag { grid-column: 2; justify-self: start; } }

/* Timetable */
.timetable { display: grid; gap: 8px; }
.timetable li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); align-items: baseline; }
.timetable b { font-family: var(--display); font-size: 1.2rem; color: var(--red); font-variant-numeric: tabular-nums; }
.timetable span { color: var(--muted); }

/* ---------- Newsroom ------------------------------------------------- */
.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.news-item:hover { border-color: var(--line-strong); transform: translateX(4px); }
.news-item time { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; color: var(--red); text-transform: uppercase; }
.news-item h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.2; }
.news-item .tag { justify-self: end; }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; gap: 10px; } .news-item .tag { justify-self: start; } }
article.release { display: grid; gap: 18px; }
article.release img { border-radius: var(--r-lg); border: 1px solid var(--line); }

/* ---------- Split feature -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split__media { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA band ------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px); background: linear-gradient(135deg, var(--red) 0%, #7d130b 100%); text-align: center; isolation: isolate; }
.cta-band::before { content: "146"; position: absolute; right: -2%; top: -25%; font-family: var(--display); font-size: clamp(14rem, 34vw, 32rem); line-height: 1; color: rgba(255, 255, 255, .07); z-index: -1; pointer-events: none; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); text-wrap: balance; line-height: 1.12; }
.cta-band p { max-width: 58ch; margin: 18px auto 30px; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.cta-band .btn--white { box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6); }

/* ---------- Charity strip -------------------------------------------- */
.charity { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.charity__mark { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; letter-spacing: .02em; }
@media (max-width: 800px) { .charity { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- Footer --------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--ink); padding: clamp(48px, 7vw, 88px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--red); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--muted); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer p { color: var(--muted); font-size: .95rem; }
.footer__logo { height: 46px; width: auto; border-radius: 8px; margin-bottom: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; color: var(--faint); }
.footer__bottom a { color: var(--faint); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 18px; height: 18px; }

/* ---------- Multistep form ------------------------------------------- */
.form-shell { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } .form-side { order: 2; position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .form-side { grid-template-columns: 1fr; } }
.form-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.form-side .card { padding: 22px 24px; }
.form-side .card b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; margin-bottom: 6px; }
.form-side .card p { font-size: .92rem; }
.msform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 44px); }
.progress { display: flex; gap: 8px; margin-bottom: 30px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.progress span.is-done::after, .progress span.is-active::after { transform: scaleX(1); }
.progress span.is-active::after { opacity: .55; }
.step { display: none; animation: stepIn .4s var(--ease); }
.step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--red); }
.step h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 8px 0 8px; line-height: 1.15; }
.step > p { color: var(--muted); margin-bottom: 26px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice label { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease); min-height: 100%; }
.choice label:hover { border-color: #fff; transform: translateY(-2px); }
.choice label b { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; line-height: 1.15; }
.choice label span { font-size: .88rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--red); background: var(--red-soft); }
.choice input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 3px; }
.choices--row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .choices--row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--display); }
.field input, .field textarea, .field select {
  width: 100%; padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); color: #fff; font: inherit;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, .06); }
.field textarea { min-height: 150px; resize: vertical; }
.field select option { background: #111; }
.field .err { display: none; font-size: .82rem; color: var(--red); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field.has-error .err { display: block; }
.fields { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.fields .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.step__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.step__nav .btn--ghost { border-color: transparent; color: var(--muted); }
.step__nav .btn--ghost:hover { color: #fff; }
.review { display: grid; gap: 10px; }
.review div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.review dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-family: var(--display); }
.review dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 480px) { .review div { grid-template-columns: 1fr; gap: 4px; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-top: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form-msg { display: none; padding: 16px 20px; border-radius: var(--r-md); border: 1px solid var(--red); background: var(--red-soft); color: #fff; margin-bottom: 20px; }
.form-msg.is-visible { display: block; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 20px 0; }
.success__tick { width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.success__tick svg { width: 40px; height: 40px; }

/* ---------- Agenda (VIP) --------------------------------------------- */
.agenda { display: grid; gap: 12px; }
.agenda li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.agenda b { font-family: var(--display); font-size: 1.4rem; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.agenda h3 { font-size: 1.15rem; margin-bottom: 6px; line-height: 1.2; }
.agenda p { color: var(--muted); font-size: .95rem; }
@media (max-width: 480px) { .agenda li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Definition table ----------------------------------------- */
.spec { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.spec div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 22px; background: var(--surface); }
.spec div + div { border-top: 1px solid var(--line); }
.spec dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--red); }
.spec dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .spec div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Reveal on scroll ----------------------------------------- */
/* Only hidden when JavaScript is running, so nothing is ever lost without it. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ------------------------------------------------ */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: .85rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); }
.note { font-size: .85rem; color: var(--faint); }

/* ---------- Funnel row to the content packages site ------------------ */
.funnel { margin-top: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(227, 38, 26, .16), var(--surface) 60%); border: 1px solid var(--line-strong); }
.funnel h3 { margin: 10px 0 10px; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.funnel p:not(.kicker) { color: var(--muted); max-width: 62ch; }
.funnel .btn { white-space: normal; text-align: center; }
@media (max-width: 900px) { .funnel { grid-template-columns: 1fr; } .funnel .btn { justify-self: start; } }

/* Real photography: page heroes centre the frame. */
.hero--page .hero__bg img, .hero--compact .hero__bg img { object-position: center; }
