/* Champion Debating — editorial luxury in oxblood, cream and gold */

:root {
  --ink: #1a0610;
  --ink-2: #26091a;
  --wine: #6b1832;
  --wine-bright: #8e2342;
  --gold: #c9a66b;
  --gold-soft: #e8d7a8;
  --gold-pale: #f4e6be;
  --red: #c8202f;
  --red-bright: #e0404c;
  --cream: #f4ece0;
  --paper: #fbf7f0;

  --text-dark: #2c1018;
  --text-dark-muted: #6e4a55;
  --text-light: #f3e9da;
  --text-light-muted: rgba(243, 233, 218, 0.64);

  --hair-dark: rgba(44, 16, 24, 0.12);
  --hair-light: rgba(232, 215, 168, 0.16);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(3.1rem, 8.2vw, 8.4rem);
  --fs-h2: clamp(2.5rem, 5.4vw, 5.1rem);
  --fs-h3: clamp(1.7rem, 2.4vw, 2.25rem);
  --fs-lede: clamp(1.08rem, 1.35vw, 1.25rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(104px, 13vw, 184px);
  --radius: 2rem;
  --bezel-pad: 6px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --z-grain: 60;
  --z-menu: 40;
  --z-nav: 50;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

/* Film grain sits on a fixed layer so it never repaints with scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.display, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.display { font-size: var(--fs-display); line-height: 0.92; }
.h2 { font-size: var(--fs-h2); line-height: 1; }
.h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.01em; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--wine-bright); }
.on-dark .display em, .on-dark .h2 em, .on-dark .h3 em { color: var(--gold); }

.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--text-dark-muted); max-width: 40ch; }
.on-dark .lede { color: var(--text-light-muted); }
.muted { color: var(--text-dark-muted); }
.on-dark .muted { color: var(--text-light-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  box-shadow: inset 0 0 0 1px rgba(107, 24, 50, 0.22);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.on-dark .eyebrow::before { background: var(--red-bright); }
.on-dark .eyebrow { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.3); }

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--wine {
  color: var(--text-light);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(201, 166, 107, 0.14), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(26, 6, 16, 0.6), transparent 60%),
    var(--wine);
}

.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head .lede { justify-self: end; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.6s var(--ease), color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.7s var(--ease);
}
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.btn svg { width: 16px; height: 16px; }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.55); }
.btn--primary .btn__icon { background: rgba(255, 255, 255, 0.16); }
.btn--primary:hover { background: #b01b29; }

.btn--ghost { color: var(--text-light); box-shadow: inset 0 0 0 1px var(--hair-light); }
.btn--ghost .btn__icon { background: rgba(232, 215, 168, 0.1); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(232, 215, 168, 0.4); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink .btn__icon { background: rgba(244, 236, 224, 0.12); }
.btn--ink:hover { background: var(--wine); }

.btn--sm { padding: 5px 5px 5px 18px; font-size: 0.86rem; gap: 12px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--wine);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.6s var(--ease); }
.text-link:hover svg { transform: translate(4px, -2px); }
.on-dark .text-link, .bezel--dark .text-link { color: var(--gold); }

/* ---------- Double bezel ---------- */

.bezel {
  padding: var(--bezel-pad);
  border-radius: var(--radius);
  background: rgba(44, 16, 24, 0.035);
  box-shadow: inset 0 0 0 1px var(--hair-dark);
}
.bezel__core {
  height: 100%;
  border-radius: calc(var(--radius) - var(--bezel-pad));
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 48px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 40px 80px -48px rgba(44, 16, 24, 0.35);
  position: relative;
  overflow: hidden;
}
.on-dark .bezel, .bezel--dark {
  background: rgba(232, 215, 168, 0.035);
  box-shadow: inset 0 0 0 1px var(--hair-light);
}
.on-dark .bezel__core, .bezel--dark .bezel__core {
  color: var(--text-light);
  background: linear-gradient(170deg, #2c0d1a 0%, #1d0711 100%);
  box-shadow: inset 0 1px 1px rgba(232, 215, 168, 0.14), 0 50px 90px -50px rgba(0, 0, 0, 0.8);
}

/* ---------- 3D tilt ---------- */

.tilt {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}
.tilt.is-tracking { transition: transform 0.2s var(--ease-out); }
.tilt__lift { transform: translateZ(36px); }
.tilt__glare {
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(244, 230, 190, 0.18), transparent 45%);
  transition: opacity 0.6s var(--ease);
}
.tilt.is-tracking .tilt__glare { opacity: 1; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: var(--z-nav);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 7px 7px 7px 20px;
  border-radius: 999px;
  color: var(--text-light);
  background: rgba(26, 6, 16, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--hair-light), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  transition: background-color 0.6s var(--ease), top 0s;
}
.nav.is-scrolled { background: rgba(26, 6, 16, 0.94); }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: 18px; }
.brand__mark { width: 40px; height: 40px; object-fit: contain; }
.footer .brand__mark { width: 64px; height: 64px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; letter-spacing: 0.01em; }
.brand__word span { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-light-muted);
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.nav__links a:hover { color: var(--text-light); background: rgba(232, 215, 168, 0.07); }
.nav__links a[aria-current="page"] { position: relative; color: var(--text-light); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--red-bright);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  cursor: pointer;
  background: rgba(232, 215, 168, 0.1);
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px;
  border-radius: 2px;
  background: var(--text-light);
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 120px 28px 48px;
  color: var(--text-light);
  background: rgba(22, 5, 13, 0.9);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.menu__links a { display: block; overflow: hidden; padding: 4px 0; }
.menu__links span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 4.2rem);
  line-height: 1.05;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 120ms);
}
.menu.is-open .menu__links span { transform: none; opacity: 1; }
.menu__links a[aria-current="page"] span { font-style: italic; color: var(--gold); }
.menu__foot { opacity: 0; transition: opacity 0.8s var(--ease) 0.5s; }
.menu.is-open .menu__foot { opacity: 1; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 48px;
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(1100px 700px at 74% 42%, rgba(142, 35, 66, 0.42), transparent 62%),
    radial-gradient(700px 500px at 8% 105%, rgba(201, 166, 107, 0.1), transparent 60%),
    var(--ink);
}
.hero--page { min-height: 82dvh; }

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fade {
  position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; width: 100%; }
.hero__title { max-width: 11ch; margin-bottom: 36px; }
.hero--page .hero__title { max-width: 12ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(108%);
  animation: rise 1.5s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 130ms + 250ms);
}
.hero__lede { opacity: 0; animation: fade-up 1.4s var(--ease-out) 0.9s forwards; margin-bottom: 40px; }
.hero .btn-row { opacity: 0; animation: fade-up 1.4s var(--ease-out) 1.1s forwards; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: 24px;
  border-top: 1px solid var(--hair-light);
  opacity: 0;
  animation: fade-up 1.4s var(--ease-out) 1.35s forwards;
}
.hero__meta dt { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.hero__meta dd { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }

@keyframes rise { to { transform: none; } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--gold-soft);
  border-top: 1px solid var(--hair-light);
  padding: 30px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 48px; padding-right: 48px;
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem);
  white-space: nowrap;
}
.marquee__track span::after { content: "✦"; font-style: normal; font-size: 0.9rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Editorial split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.split__sticky { position: sticky; top: 140px; }
.split__sticky .lede { margin-top: 32px; }

.principles li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 44px 0;
  border-top: 1px solid var(--hair-dark);
}
.principles li:last-child { border-bottom: 1px solid var(--hair-dark); }
.principles__num { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--wine-bright); padding-top: 6px; }
.principles h3 { margin-bottom: 12px; }
.principles p { color: var(--text-dark-muted); max-width: 46ch; }

/* ---------- Pathway stages (Z-axis cascade) ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  perspective: 1800px;
}
.stages > :nth-child(2) { margin-top: 96px; }
.stages > :nth-child(3) { margin-top: 192px; }
.stage__numeral {
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 166, 107, 0.6);
  margin-bottom: 40px;
}
.stage h3 { margin-bottom: 14px; }
.stage p { color: var(--text-light-muted); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.78rem;
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px var(--hair-light);
}

/* ---------- Programs bento ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento > :nth-child(2), .bento > :nth-child(3) { grid-column: span 5; }
.bento > :nth-child(4) { grid-column: span 12; }

.program { display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.program__tag { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine); font-weight: 600; }
.bezel--dark .program__tag { color: var(--gold); }
.program p { color: var(--text-dark-muted); max-width: 44ch; }
.bezel--dark .program p { color: var(--text-light-muted); }
.program__list { display: grid; gap: 10px; margin: 6px 0 10px; }
.program__list li { display: flex; gap: 12px; align-items: baseline; font-size: 0.95rem; }
.program__list li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--gold); transform: translateY(-4px); }
.program .text-link { margin-top: auto; }
.program--feature .bezel__core { min-height: 560px; }
.program--feature .h3 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.program__glyph {
  position: absolute; right: -40px; bottom: -70px;
  width: 360px; height: 360px;
  color: rgba(201, 166, 107, 0.09);
  pointer-events: none;
}
.program--wide .bezel__core { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px 8px 0; border-right: 1px solid var(--hair-light); }
.stat + .stat { padding-left: 32px; }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 1;
  color: var(--gold-pale);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__num sup { font-size: 0.4em; color: var(--gold); vertical-align: top; position: relative; top: 0.4em; }
.stat__label { margin-top: 14px; font-size: 0.9rem; color: var(--text-light-muted); max-width: 22ch; }

/* ---------- Skills row (inside the pathway section) ---------- */

.skills { margin-top: clamp(80px, 10vw, 136px); padding-top: 48px; border-top: 1px solid var(--hair-light); }
.skills__title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 40px; }
.skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); }
.skill svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 22px; }
.skill__name { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-bottom: 18px; }

/* ---------- Motions strip ---------- */

.motions { overflow: hidden; }
.motions__intro { display: grid; gap: 28px; justify-items: end; }
.motions__nav { display: flex; gap: 10px; }
.motions__nav button {
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text-dark);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--hair-dark);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.motions__nav button:hover { background: var(--ink); color: var(--cream); }
.motions__nav button:active { transform: scale(0.96); }
.motions__nav svg { width: 18px; height: 18px; }

.motions__track {
  --track-inset: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--track-inset);
  padding: 8px var(--track-inset) 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 24, 50, 0.35) transparent;
}
.motions__card {
  flex: 0 0 clamp(268px, 27vw, 352px);
  min-height: 320px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px;
  padding: 32px;
  border-radius: 1.6rem;
  color: var(--text-light);
  background: linear-gradient(170deg, #2c0d1a 0%, #1d0711 100%);
  box-shadow: inset 0 0 0 1px var(--hair-light), 0 30px 60px -36px rgba(44, 16, 24, 0.55);
  transition: transform 0.8s var(--ease);
}
.motions__card:nth-child(4n + 2) { background: linear-gradient(170deg, #8e2342 0%, #5a1329 100%); }
.motions__card:nth-child(4n + 4) { color: var(--text-dark); background: var(--cream); box-shadow: inset 0 0 0 1px var(--hair-dark); }
.motions__card:hover { transform: translateY(-6px); }
.motions__topic { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.motions__card:nth-child(4n + 4) .motions__topic { color: var(--wine); }
.motions__card p { font-family: var(--font-display); font-size: clamp(1.6rem, 2.2vw, 1.95rem); line-height: 1.12; }
.motions__card p span { display: block; margin-bottom: 6px; font-style: italic; font-size: 1.05rem; color: var(--gold-soft); }
.motions__card:nth-child(4n + 4) p span { color: var(--wine-bright); }
.motions__level { margin-top: auto; font-size: 0.86rem; color: var(--text-light-muted); }
.motions__card:nth-child(4n + 4) .motions__level { color: var(--text-dark-muted); }

/* ---------- Motion of the week (hero) ---------- */

.hero__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 48px; align-items: end; }
/* Room for the motion card: a smaller three-line headline keeps the hero within one screen. */
.hero__layout .hero__title { max-width: none; font-size: clamp(3rem, 5.8vw, 6rem); }
.hero__layout .hero__lede { max-width: 46ch; }
.hero__layout + .hero__meta { margin-top: clamp(40px, 5vw, 64px); }
.motion {
  padding: 28px;
  border-radius: 1.6rem;
  background: rgba(26, 6, 16, 0.8);
  box-shadow: inset 0 0 0 1px var(--hair-light), 0 40px 80px -40px rgba(0, 0, 0, 0.85);
  opacity: 0;
  animation: fade-up 1.4s var(--ease-out) 1.25s forwards;
}
.motion [hidden] { display: none; }
.motion__label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.motion__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); }
.motion__text { margin-top: 16px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; }
.motion__text span { display: block; font-style: italic; font-size: 1.05rem; color: var(--gold-soft); margin-bottom: 4px; }
.motion__ask { margin: 20px 0 10px; font-size: 0.92rem; color: var(--text-light-muted); }
.motion__sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.motion__side {
  min-height: 46px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
  color: var(--text-light);
  background: rgba(232, 215, 168, 0.08);
  box-shadow: inset 0 0 0 1px var(--hair-light);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.4s var(--ease);
}
.motion__side:hover { background: rgba(232, 215, 168, 0.14); }
.motion__side:active { transform: scale(0.97); }
.motion__side[aria-pressed="true"] { background: var(--red); box-shadow: none; color: #fff; }
.motion__result [data-argument]:not([hidden]) { animation: fade-up 0.7s var(--ease-out); }
.motion__argument { margin-top: 18px; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.35; }
.motion__tip { margin-top: 12px; font-size: 0.88rem; color: var(--text-light-muted); }
.motion__tip span { display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.motion__next { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair-light); }
.motion__switch {
  border: 0; padding: 0; cursor: pointer; background: none;
  font-weight: 600; font-size: 0.92rem; color: var(--text-light);
  text-decoration: underline; text-decoration-color: rgba(224, 64, 76, 0.7); text-underline-offset: 4px;
}

/* ---------- Quote ---------- */

.quote { text-align: center; max-width: 1060px; margin: 0 auto; }
.quote__mark { width: 56px; height: 56px; margin: 0 auto 36px; color: var(--gold); }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.quote blockquote em { color: var(--gold); }
.quote figcaption { margin-top: 36px; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-light-muted); }

/* ---------- CTA ---------- */

.cta .bezel__core {
  padding: clamp(48px, 8vw, 112px);
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(201, 166, 107, 0.3), transparent 70%),
    radial-gradient(600px 400px at 50% -20%, rgba(142, 35, 66, 0.5), transparent 70%),
    linear-gradient(170deg, #2c0d1a 0%, #1d0711 100%);
}
.cta .h2 { max-width: 14ch; margin: 0 auto 28px; }
.cta .lede { margin: 0 auto 44px; }
.cta .btn-row { justify-content: center; }

/* ---------- Level rows (programs page) ---------- */

.levels { border-top: 1px solid var(--hair-dark); }
.level {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--hair-dark);
  transition: background-color 0.7s var(--ease);
}
.level__name { display: flex; gap: 20px; align-items: baseline; }
.level__name span { font-family: var(--font-display); font-style: italic; color: var(--wine-bright); font-size: 1.2rem; }
.level__who { color: var(--text-dark-muted); margin-top: 14px; max-width: 30ch; }
.level__learn h4, .level__fit h4 {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: var(--wine); margin-bottom: 16px;
}
.level__learn ul { display: grid; gap: 10px; }
.level__learn li { display: flex; gap: 12px; align-items: baseline; }
.level__learn li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--gold); transform: translateY(-4px); }

/* ---------- Format & camp cards ---------- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 8px; }
.price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 7vw, 6rem); line-height: 1; color: var(--gold-pale); }
.price span { color: var(--text-light-muted); font-size: 0.95rem; }

.camps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.camp .h3 { margin: 6px 0 14px; }
.camp__years {
  display: inline-block;
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  color: var(--wine-bright);
}
.facts { display: grid; gap: 0; margin-top: 28px; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--hair-dark); font-size: 0.93rem; }
.facts dt { color: var(--text-dark-muted); }
.facts dd { text-align: right; font-weight: 600; }
.on-dark .facts div { border-color: var(--hair-light); }
.on-dark .facts dt { color: var(--text-light-muted); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--hair-dark); }
.faq details { border-bottom: 1px solid var(--hair-dark); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none; position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hair-dark);
  transition: transform 0.7s var(--ease), background-color 0.6s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px;
  background: var(--wine);
  transition: transform 0.7s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--gold-pale); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { padding: 0 72px 34px 0; color: var(--text-dark-muted); max-width: 70ch; }

/* ---------- Tournaments (competitions page) ---------- */

.tournaments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1800px; }
.tournament .bezel__core { display: flex; flex-direction: column; min-height: 100%; }
.tournament__venue {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6vw, 5.4rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 166, 107, 0.65);
  margin: 12px 0 24px;
}
.tournament p { color: var(--text-light-muted); }
.tournament .facts { margin-top: auto; padding-top: 28px; }
.tournament__prize {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  color: var(--gold-pale);
  background: rgba(201, 166, 107, 0.08);
  box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.2);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--wine-bright); margin-bottom: 28px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-dark-muted); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.channels { display: grid; margin-top: 48px; border-top: 1px solid var(--hair-dark); }
.channels div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--hair-dark);
}
.channels dt { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine); font-weight: 600; }
.channels dd { font-family: var(--font-display); font-size: 1.45rem; text-align: right; }
.channels dd a { transition: color 0.5s var(--ease); }
.channels dd a:hover { color: var(--wine-bright); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-dark-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--hair-dark);
  transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 5px rgba(201, 166, 107, 0.16);
}
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--wine-bright); }
.field__error { font-size: 0.8rem; color: var(--wine-bright); min-height: 1em; }
fieldset.field { border: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-dark);
  box-shadow: inset 0 0 0 1px var(--hair-dark);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.choice input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success .quote__mark { color: var(--wine-bright); }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; }

.note-card { margin-top: 32px; }
.note-card .bezel__core { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px; }
.note-card svg { width: 36px; height: 36px; color: var(--wine-bright); }
.note-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 6px; }
.note-card p { font-size: 0.93rem; color: var(--text-dark-muted); }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--text-light); padding: clamp(88px, 10vw, 136px) 0 36px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer__grid h2 { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.footer__grid ul { display: grid; gap: 12px; }
.footer__grid a { color: var(--text-light-muted); font-size: 0.94rem; transition: color 0.5s var(--ease); }
.footer__grid a:hover { color: var(--text-light); }
.footer__blurb { color: var(--text-light-muted); max-width: 34ch; margin-top: 22px; font-size: 0.95rem; }
.footer__word {
  margin: clamp(72px, 10vw, 140px) 0 28px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13.4vw, 13.5rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: rgba(232, 215, 168, 0.22);
}
.footer__word em { font-style: italic; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--hair-light);
  font-size: 0.82rem; color: var(--text-light-muted);
}
.footer__legal ul { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Scroll reveal (only when JS is present) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="tilt"] { transform: translateY(80px) rotateX(16deg); transform-origin: 50% 100%; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* Tilt cards hand transform back to the tilt rule once revealed */
.js .tilt[data-reveal].is-in { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero__layout { grid-template-columns: 1fr; }
  .motion { max-width: 480px; }
  .nav__links a { padding: 10px 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .camps, .tournaments { grid-template-columns: 1fr 1fr; }
  .camps > :last-child, .tournaments > :last-child { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { width: calc(100% - 32px); justify-content: space-between; padding-left: 18px; }
  .nav__links, .nav .btn { display: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 767px) {
  :root { --radius: 1.6rem; }
  .section-head, .split, .contact-grid, .duo, .level, .program--wide .bezel__core { grid-template-columns: 1fr; }
  .section-head { gap: 24px; }
  .section-head .lede { justify-self: start; }
  .split__sticky { position: static; }
  .stages, .skills__grid, .camps, .tournaments, .steps { grid-template-columns: 1fr; }
  .camps > :last-child, .tournaments > :last-child { grid-column: auto; }
  .stages > :nth-child(n) { margin-top: 0; }
  .motions__intro { justify-items: start; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .bento > :nth-child(n) { grid-column: auto; grid-row: auto; }
  .program--feature .bezel__core { min-height: 0; }
  .level { gap: 24px; padding: 40px 0; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 0 0 32px; border-right: 0; border-bottom: 1px solid var(--hair-light); }
  .stat:last-child { border-bottom: 0; }
  .form__row { grid-template-columns: 1fr; }
  .faq__body { padding-right: 0; }
  .principles li { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__canvas { opacity: 0.6; }
  .channels dd { font-size: 1.15rem; }
}

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