/* =========================================================
   HD Centre — Landing page styles
   Brand: black, white, gold
   ========================================================= */

:root {
  --black: #0a0a0a;
  --black-2: #121212;
  --black-3: #1a1a1a;
  --line: #2a2a2a;
  --white: #ffffff;
  --muted: #b5b5b5;
  --gold: #f2b705;
  --gold-light: #ffd84d;
  --gold-dark: #b8860b;
  --gold-grad: linear-gradient(135deg, #ffe27a 0%, #f2b705 45%, #c58d06 100%);
  --radius: 14px;
  --maxw: 1180px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Bilingual toggle ---------- */
html[lang="fr"] .en, html[lang="en"] .fr { display: none !important; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; background: var(--black); }
.section--alt { background: var(--black-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: 1; letter-spacing: .01em; margin: 0;
}
h1 { font-size: clamp(46px, 6.6vw, 86px); }
h2 { font-size: clamp(38px, 5.4vw, 64px); margin-bottom: 24px; }
h3 { font-size: 26px; margin-bottom: 10px; }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: #e8e8e8; max-width: 60ch; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --skew: -10deg;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: .06em; text-transform: uppercase;
  transform: skewX(var(--skew)); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn > * { transform: skewX(calc(var(--skew) * -1)); display: inline-block; }
.btn--gold { background: var(--gold-grad); color: var(--black); box-shadow: 0 10px 30px -10px rgba(242,183,5,.6); }
.btn--gold:hover { transform: skewX(var(--skew)) translateY(-2px); box-shadow: 0 16px 40px -10px rgba(242,183,5,.8); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; opacity: .85;
}
.nav a:hover { color: var(--gold); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  background: none; border: 0; color: var(--muted); padding: 6px 12px; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .08em;
}
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--black); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .header-actions .btn { padding: 9px 14px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(242,183,5,.18), transparent 70%),
    var(--black);
}
.hero::after { /* subtle court lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background:
    radial-gradient(circle at 75% 50%, transparent 0 238px, var(--gold) 239px 241px, transparent 242px),
    radial-gradient(circle at 75% 50%, transparent 0 88px, var(--gold) 89px 91px, transparent 92px),
    linear-gradient(90deg, transparent calc(75% - 1px), var(--gold) calc(75% - 1px) calc(75% + 1px), transparent calc(75% + 1px));
}
/* background photo: heavily darkened on the text side, gold glow kept on the logo side */
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: calc(1 - var(--exit, 0) * .65); }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%;
  opacity: .5; filter: grayscale(1) contrast(1.08);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(242,183,5,.18), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--black) 100%),
    linear-gradient(90deg, var(--black) 0%, rgba(10,10,10,.86) 42%, rgba(10,10,10,.5) 100%);
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-logo { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-logo img { filter: drop-shadow(0 24px 60px rgba(242,183,5,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo img { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; width: min(220px, 60%); }
  .hero .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero::after { opacity: .05; }
  /* centred text sits over the whole photo → even, darker overlay */
  .hero-media img { object-position: 36% 50%; opacity: .4; }
  .hero-media::after {
    background:
      radial-gradient(70% 40% at 50% 12%, rgba(242,183,5,.16), transparent 70%),
      linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.82) 60%, var(--black) 100%);
  }
}

/* ---------- Ticker band ---------- */
.band {
  background: var(--gold-grad); color: var(--black); overflow: hidden;
  border-block: 1px solid var(--gold-dark);
}
.band-track { display: flex; gap: 48px; padding: 14px 0; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.band-track span { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.band-track span::after { content: "◆"; margin-left: 48px; font-size: 12px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-quote {
  margin-top: 28px; padding: 22px 26px; border-left: 4px solid var(--gold);
  background: var(--black-3); font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 24px; line-height: 1.25; text-transform: uppercase;
}
.media-slot {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(242,183,5,.06) 0 14px, transparent 14px 28px),
    var(--black-3);
  border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.media-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-slot .media-label { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.media-slot .media-label strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--gold); letter-spacing: .04em; margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stat { background: var(--black-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 36px; line-height: 1; color: var(--gold); }
.stat > span { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .media-slot { aspect-ratio: 16 / 10; }
}

/* ---------- Programs ---------- */
.section-head { max-width: 760px; margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--black-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; overflow: hidden; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 64px; background: var(--gold-grad); }
.card-num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 15px; color: var(--gold); letter-spacing: .2em; margin-bottom: 14px; display: block; }
.card p { color: #d6d6d6; margin: 0; }
.card--future { background: transparent; border-style: dashed; }
.card--future::before { background: var(--line); }
.tag {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-family: var(--font-body); font-style: normal; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold);
}
.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.check-list li { position: relative; padding-left: 22px; color: #d6d6d6; font-size: 16px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.fineprint { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 16px; }
.slogan {
  margin-top: 56px; text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 800;
  text-transform: uppercase; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.1;
}
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 26px; }
}
@media (max-width: 420px) { .check-list { grid-template-columns: 1fr; } }

/* ---------- Founding members ---------- */
.founding { background:
  radial-gradient(50% 60% at 0% 0%, rgba(242,183,5,.12), transparent 70%),
  var(--black-2); }
.founding-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.benefits { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.benefits .icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(242,183,5,.12); border: 1px solid rgba(242,183,5,.4); color: var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
}
.benefits strong { display: block; font-size: 18px; }
.benefits span { color: var(--muted); font-size: 16px; }
.free-box {
  border: 1px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; background: rgba(242,183,5,.06);
}
.free-box strong { color: var(--gold); font-family: var(--font-display); font-style: italic; font-size: 24px; text-transform: uppercase; display: block; margin-bottom: 4px; }
.free-box p { margin: 0; font-size: 15px; color: #d6d6d6; }
@media (max-width: 900px) { .founding-grid { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-card {
  background: var(--white); color: var(--black); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 80px -30px rgba(242,183,5,.35);
  border-top: 6px solid var(--gold);
}
.form-card h3 { color: var(--black); font-size: 32px; }
.form-card .form-sub { color: #555; font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; letter-spacing: .02em; }
.opt { font-weight: 500; color: #777; }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--black);
  padding: 12px 14px; border: 1.5px solid #d4d4d4; border-radius: 10px; background: #fafafa;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(242,183,5,.25); background: #fff; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip > span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #d4d4d4;
  font-size: 14px; font-weight: 600; background: #fafafa; transition: all .15s;
}
.chip input:checked + span { background: var(--black); color: var(--gold); border-color: var(--black); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(242,183,5,.35); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; font-weight: 500; color: #333; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--black); }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-legal { font-size: 13px; color: #666; margin: 14px 0 0; }
.form-legal a { color: var(--black); }
.error-msg { color: #b00020; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #b00020; }
.field.invalid .error-msg, fieldset.invalid .error-msg, .consent-wrap.invalid .error-msg { display: block; }
.form-alert { display: none; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8a1c1c; font-size: 14px; margin-bottom: 14px; }
.form-alert.show { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.thanks { display: none; text-align: center; padding: 20px 0; }
.thanks.show { display: block; }
.thanks .badge {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: var(--gold); font-size: 36px;
}

/* ---------- Contact & FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { background: var(--black-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact-list small { display: block; color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: 4px; }
.contact-list a { color: var(--white); text-decoration: none; font-size: 19px; font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.tba { color: var(--muted); font-style: italic; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 30px; color: var(--gold); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: #cfcfcf; padding-bottom: 20px; margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; background: var(--gold-grad); color: var(--black); padding: clamp(64px, 8vw, 100px) 0; }
.final-cta h2 { color: var(--black); }
.final-cta p { font-size: 19px; max-width: 56ch; margin: 0 auto 30px; }
.final-cta .btn--dark { background: var(--black); color: var(--gold); }
.final-cta .btn--dark:hover { transform: skewX(-10deg) translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Simple pages (privacy / unsubscribe) ---------- */
.page { padding: 64px 0 96px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 12px; }
.page h2 { font-size: 30px; margin: 40px 0 12px; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.notice { border: 1px dashed var(--gold); border-radius: var(--radius); padding: 16px 18px; color: #e8e8e8; background: rgba(242,183,5,.05); font-size: 15px; }

/* =========================================================
   SCROLL SCENES — section-to-section transition
   Each .scene slides OVER the previous one with a gold
   diagonal edge that flattens as it enters (--enter 0→1),
   while the section being left sinks back and dims (--exit 0→1).
   Values are driven by js/main.js on scroll.
   ========================================================= */
.scene {
  --cut: min(16vw, 230px);
  --enter: 1; --exit: 0;
  --slope: calc((1 - var(--enter)) * var(--cut));
  position: relative;
  padding-bottom: calc(clamp(72px, 10vw, 128px) + var(--cut));
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%);
}
.scene + .scene { margin-top: calc(var(--cut) * -1); }
.scene[data-flip] { clip-path: polygon(0 0, 100% var(--slope), 100% 100%, 0 100%); }
.scene.hero { padding-bottom: var(--cut); }
.scene.final-cta { padding-bottom: clamp(64px, 8vw, 100px); }
/* gold edge that rides the diagonal */
.scene + .scene::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--cut) + 8px);
  background: var(--gold-grad); z-index: 2; pointer-events: none;
  clip-path: polygon(0 var(--slope), 100% 0, 100% 7px, 0 calc(var(--slope) + 7px));
  opacity: calc(1 - var(--enter) * .5);
}
.scene[data-flip]::before { clip-path: polygon(0 0, 100% var(--slope), 100% calc(var(--slope) + 7px), 0 7px); }
.final-cta.scene::before { background: var(--black); opacity: 1; }
/* incoming content rises in; outgoing content sinks back */
.scene > .container {
  transform:
    translateY(calc((1 - var(--enter)) * 110px))
    scale(calc(1 - var(--exit) * .07));
  opacity: calc(1 - var(--exit) * .65);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.scene > .band { opacity: calc(1 - var(--exit) * .65); }
.hero.scene { padding-top: clamp(56px, 8vw, 110px); }
.hero > .band { position: relative; z-index: 1; margin-top: clamp(56px, 8vw, 100px); }
@media (max-width: 760px) { .scene { --cut: 90px; } }
@media (prefers-reduced-motion: reduce) {
  .scene { clip-path: none; }
  .scene + .scene::before { display: none; }
  .scene > .container { transform: none; opacity: 1; }
}

/* ---------- Section progress dots (desktop) ---------- */
.scene-dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0;
}
.scene-dots a {
  display: block; width: 12px; height: 12px; transform: rotate(45deg);
  border: 2px solid rgba(255,255,255,.5); transition: all .25s; position: relative;
}
.scene-dots a:hover, .scene-dots a.active { background: var(--gold); border-color: var(--gold); }
.scene-dots a.active { transform: rotate(45deg) scale(1.35); }
.scene-dots a span {
  position: absolute; right: 22px; top: 50%; transform: rotate(-45deg) translate(0, -50%);
  transform-origin: right center; white-space: nowrap; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold); opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.scene-dots a:hover span { opacity: 1; }
.on-light .scene-dots a { border-color: rgba(0,0,0,.55); }
.on-light .scene-dots a.active, .on-light .scene-dots a:hover { background: var(--black); border-color: var(--black); }
@media (max-width: 1100px) { .scene-dots { display: none; } }

/* ---------- Mobile refinements ---------- */
html, body { overflow-x: clip; }
.about-grid > *, .founding-grid > *, .contact-grid > * { min-width: 0; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-logo { width: 130px; }
}
@media (max-width: 520px) {
  .stats { gap: 10px; }
  .stat { padding: 14px 12px; }
  .stat b { font-size: 26px; white-space: normal; }
  .stat > span { font-size: 12px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Photo carousel (About section) ---------- */
.carousel {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--black-3);
}
.carousel::after { /* gold corner accent */
  content: ""; position: absolute; left: 0; bottom: 0; width: 90px; height: 5px; background: var(--gold-grad); z-index: 3;
}
.carousel-track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.slide {
  position: relative; flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start;
  display: grid; place-items: center; text-align: center; padding: 24px; overflow: hidden;
}
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 46px; text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); font-weight: 600; font-size: 15px;
}
.slide--placeholder {
  background: repeating-linear-gradient(135deg, rgba(242,183,5,.06) 0 14px, transparent 14px 28px), var(--black-3);
}
.slide .media-label { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.slide .media-label strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--gold); letter-spacing: .04em; margin-bottom: 6px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(10,10,10,.6); color: var(--white); font-size: 28px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 4px; backdrop-filter: blur(6px); transition: all .2s;
}
.carousel-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.carousel-btn.prev { left: 14px; } .carousel-btn.next { right: 14px; }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
  display: flex; justify-content: center; gap: 10px;
}
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border: 2px solid rgba(255,255,255,.6); background: transparent;
  transform: rotate(45deg); cursor: pointer; transition: all .2s;
}
.carousel-dots button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.3); }
.carousel.single .carousel-btn, .carousel.single .carousel-dots { display: none; }
@media (max-width: 860px) { .carousel { aspect-ratio: 4 / 3; } }
@media (hover: none) { .carousel-btn { display: none; } } /* touch: swipe instead */
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }

/* ---------- Widescreen video (between About & Programs) ---------- */
.video-section { background: var(--black); padding-top: clamp(40px, 6vw, 80px); }
.container--bleed { width: 100%; max-width: none; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 88svh;
  background: var(--black-3); overflow: hidden;
  border-block: 2px solid transparent;
  border-image: var(--gold-grad) 1;
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-placeholder {
  position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: 16px; text-align: center;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(242,183,5,.14), transparent 70%),
    repeating-linear-gradient(135deg, rgba(242,183,5,.05) 0 16px, transparent 16px 32px), var(--black-3);
}
.video-placeholder strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; color: var(--gold); }
.video-play-icon {
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--black); font-size: clamp(24px, 3vw, 36px); padding-left: 6px;
  box-shadow: 0 0 0 10px rgba(242,183,5,.15);
}
.no-video .video-placeholder { display: grid; }
.no-video video, .no-video .video-controls { display: none; }
.video-controls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; z-index: 2; }
.video-btn {
  background: rgba(10,10,10,.65); color: var(--white); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 9px 16px; font: 600 14px var(--font-body); cursor: pointer;
  backdrop-filter: blur(6px); transition: all .2s;
}
.video-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.video-btn .when-paused, .video-btn .when-unmuted { display: none; }
.is-paused .video-btn .when-paused, .is-unmuted .video-btn .when-unmuted { display: inline; }
.is-paused .video-btn .when-playing, .is-unmuted .video-btn .when-muted { display: none; }
@media (max-width: 600px) {
  .video-controls { right: 10px; bottom: 10px; }
  .video-btn { padding: 7px 12px; font-size: 13px; }
}
