/* Pivot & Plane — dark editorial system */

/* ---------- brand fonts (self-hosted, per brand guidelines) ---------- */
@font-face { font-family: "Cinzel"; font-weight: 400; font-display: swap; src: url("/fonts/cinzel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 400; font-display: swap; src: url("/fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 600; font-display: swap; src: url("/fonts/raleway-latin-600-normal.woff2") format("woff2"); }

@layer base {
  :root {
    --black: #0E0A0B;
    --charcoal: #1A1213;
    --ivory: #F5EFE6;
    --ivory-60: rgba(245, 239, 230, 0.6);
    --ivory-35: rgba(245, 239, 230, 0.35);
    --gold: #C9955C;
    --gold-soft: rgba(201, 149, 92, 0.4);
    --line: rgba(245, 239, 230, 0.12);

    --font-display: "Cinzel", "Trajan Pro", "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-editorial: "Cormorant Garamond", "Cormorant", Garamond, "Palatino Linotype", Palatino, Georgia, serif;
    --font-body: "Raleway", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

    --pad: clamp(20px, 5vw, 64px);
    --section-gap: clamp(72px, 14vw, 160px);
  }

  * { box-sizing: border-box; }

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

  body {
    margin: 0;
    background: var(--black);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.65;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img { display: block; max-width: 100%; }

  ::selection { background: var(--gold); color: var(--black); }
}

/* ---------- layout primitives ---------- */
.shell {
  padding-left: var(--pad);
  padding-right: var(--pad);
  max-width: 1360px;
  margin: 0 auto;
}

section { position: relative; }

.section-gap { margin-top: var(--section-gap); }

/* kicker + rule */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(20px, 4vw, 36px) 0;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
}

.h-display {
  font-size: clamp(34px, 8.5vw, 96px);
  line-height: 1.08;
  text-transform: uppercase;
}

.h-section {
  font-size: clamp(26px, 4.6vw, 52px);
  line-height: 1.15;
}

.lede {
  font-family: var(--font-body);
  font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.5;
  color: var(--ivory-60);
  font-weight: 400;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
  padding-top: max(14px, env(safe-area-inset-top));
}
.nav.is-solid {
  background: rgba(14, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: max(10px, env(safe-area-inset-top));
}
.wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--black); outline: none; }
.btn--fill { background: var(--gold); color: var(--black); }
.btn--fill::after { background: var(--ivory); }

/* ---------- hero ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 120px 0 max(56px, env(safe-area-inset-bottom));
}
.hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 72% 30%;
  will-change: transform;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,10,11,0.55) 0%, rgba(14,10,11,0.25) 40%, rgba(14,10,11,0.94) 88%),
    linear-gradient(90deg, rgba(14,10,11,0.85) 0%, rgba(14,10,11,0.2) 70%);
}
.hero__inner { position: relative; width: 100%; }
.hero__kicker-row { animation: fadeUp 1.1s 0.15s cubic-bezier(0.22,1,0.36,1) both; }
.hero h1 { animation: fadeUp 1.1s 0.3s cubic-bezier(0.22,1,0.36,1) both; max-width: 12ch; }
.hero .lede { animation: fadeUp 1.1s 0.45s cubic-bezier(0.22,1,0.36,1) both; max-width: 34ch; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 5vw, 44px);
  animation: fadeUp 1.1s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__kicker-row, .hero h1, .hero .lede, .hero__ctas { animation: none; }
}

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: max(28px, env(safe-area-inset-bottom));
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory-35);
  display: none;
}
@media (min-width: 720px) { .hero__scroll { display: block; } }

/* ---------- dual-path cards ---------- */
.paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  background: var(--charcoal);
  padding: clamp(28px, 5vw, 56px);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: background 0.4s ease;
}
.path:hover { background: #221819; }
.path h3 { font-size: clamp(20px, 3vw, 30px); margin-bottom: 12px; }
.path p { color: var(--ivory-60); margin: 0 0 24px; }
.path__arrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.path__arrow::after { content: "→"; transition: transform 0.35s ease; }
.path:hover .path__arrow::after { transform: translateX(6px); }

/* ---------- editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 5fr 6fr; }
  .split--flip { grid-template-columns: 6fr 5fr; }
}
.frame {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.frame:hover img { transform: scale(1.035); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 4 / 3; }

.pullquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.35;
  margin: 0;
}
.pullquote em { color: var(--gold); font-style: italic; }

/* ---------- principles list ---------- */
.principles { border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(22px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.principle__num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(18px, 2.4vw, 24px);
  min-width: 2.2em;
}
.principle h3 {
  font-size: clamp(19px, 2.6vw, 28px);
  margin-bottom: 6px;
}
.principle p { margin: 0; color: var(--ivory-60); }

/* ---------- class cards ---------- */
.classes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .classes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .classes { grid-template-columns: repeat(3, 1fr); } }
.class-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--line);
  color: var(--ivory);
  text-decoration: none;
}
.class-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.45) contrast(1.08);
  transition: transform 1s cubic-bezier(0.22,1,0.36,1), filter 0.6s ease;
}
.class-card:hover img { transform: scale(1.04); filter: brightness(0.62) saturate(0.55) contrast(1.08); }
.class-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(14,10,11,0.9) 75%);
}
.class-card h3 { font-size: clamp(18px, 2.2vw, 24px); }
.class-card p { margin: 6px 0 0; font-size: 13.5px; color: var(--ivory-60); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--charcoal); padding: clamp(24px, 4vw, 40px); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-60);
}

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ivory-60);
}
.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  margin-top: 0.55em;
}
.checklist strong { color: var(--ivory); font-weight: 600; }

/* ---------- schedule ---------- */
.sched { border-top: 1px solid var(--line); }
.sched__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.sched__day { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.sched__class { font-family: var(--font-display); font-size: clamp(17px, 2.2vw, 22px); letter-spacing: 0.06em; }
.sched__meta { color: var(--ivory-60); font-size: 14px; grid-column: 1 / -1; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 80px);
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-line {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--ivory);
  text-decoration: none;
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.contact-line:hover { color: var(--gold); padding-left: 8px; }

/* ---------- footer ---------- */
.footer {
  margin-top: var(--section-gap);
  border-top: 1px solid var(--line);
  padding: 40px var(--pad) max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer img { margin: 0 auto; }
@media (min-width: 720px) { .footer { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer small { color: var(--ivory-35); font-size: 12px; letter-spacing: 0.08em; }
.footer__mark {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(16px);
  background: var(--charcoal);
  border: 1px solid var(--gold-soft);
  color: var(--ivory);
  padding: 12px 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 90;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   NEXT-GEN LAYER — atmosphere, motion, polish
   ============================================================ */

/* ---------- film grain + vignette atmosphere ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grainShift 0.9s steps(3) infinite;
}
@keyframes grainShift {
  0% { background-position: 0 0; }
  33% { background-position: -12px 6px; }
  66% { background-position: 6px -12px; }
  100% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(201,149,92,0.55), var(--gold));
  box-shadow: 0 0 12px rgba(201,149,92,0.55);
}

/* ---------- hero: cinematic grade ---------- */
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 30%, rgba(201,149,92,0.14), transparent 65%),
    radial-gradient(45% 35% at 12% 78%, rgba(201,149,92,0.07), transparent 70%);
  mix-blend-mode: screen;
}
.h-display {
  background: linear-gradient(115deg, var(--ivory) 55%, #e8cf9f 82%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: clamp(20px, 4vw, 32px) 0 0;
  transform-origin: left;
  animation: ruleGrow 1.2s 0.75s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes ruleGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero__rule { animation: none; transform: none; } }

/* ---------- buttons: sheen + glow ---------- */
.btn--fill {
  box-shadow: 0 0 0 rgba(201,149,92,0);
  transition: box-shadow 0.45s ease, color 0.35s ease;
}
.btn--fill:hover {
  box-shadow: 0 8px 32px -8px rgba(201,149,92,0.45);
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(245,239,230,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.65,0,0.35,1);
  z-index: 1;
}
.btn:hover::before { left: 130%; }

/* ---------- ghost section numerals ---------- */
.ghost-num {
  position: absolute;
  top: clamp(-30px, -4vw, -50px);
  right: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(90px, 16vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,239,230,0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-body { position: relative; z-index: 1; }

/* ---------- partner marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: clamp(40px, 8vw, 96px);
  width: max-content;
  animation: marquee 26s linear infinite;
  align-items: baseline;
  padding-right: clamp(40px, 8vw, 96px);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
.marquee__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 34px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--ivory);
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.marquee__name:hover { opacity: 1; color: var(--gold); }
.marquee__dot { color: var(--gold); font-size: 12px; align-self: center; }

/* ---------- stat count-up ---------- */
.stat__num { font-variant-numeric: tabular-nums; }

/* ---------- class cards: gold edge ---------- */
.class-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,149,92,0);
  transition: border-color 0.5s ease;
  pointer-events: none;
  z-index: 2;
}
.class-card:hover::after { border-color: rgba(201,149,92,0.55); }

/* ---------- frames: cinematic vignette ---------- */
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(14,10,11,0.55) 100%);
  pointer-events: none;
}
.frame { will-change: transform; transform: translateZ(0); }

/* ---------- pullquote flourish ---------- */
.pullquote { text-wrap: balance; }

/* ---------- focus states ---------- */
a:focus-visible, button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* Sticky split header only on wide screens — mobile it stacks in flow */
@media (min-width: 960px) {
  .venue-split-head {
    position: sticky;
    top: 90px;
    align-self: start;
  }
}

/* ---------- enquiry form ---------- */
#enquiry-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--charcoal);
  padding: clamp(24px, 4vw, 40px);
}
.form-field { display: grid; gap: 8px; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-60);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ivory);
  background: var(--black);
  border: 1px solid var(--line);
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 0;
}
.form-field textarea { resize: vertical; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold-soft);
}
.form-status { margin: 0; font-size: 13px; min-height: 1.4em; }
.form-status.is-ok { color: var(--gold); }
.form-status.is-err { color: var(--ivory-60); }

/* ---------- menu button + overlay ---------- */
.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  flex: none;
}
.menu-btn span {
  display: block; width: 100%; height: 1.5px;
  background: var(--ivory); transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(14, 10, 11, 0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }

.menu-links { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3.5vh, 30px); text-align: center; }
.menu-links a {
  font-family: var(--font-display); font-size: clamp(22px, 5vw, 34px);
  letter-spacing: 0.08em; text-transform: none; color: var(--ivory);
  text-decoration: none; line-height: 1.2;
  transition: color 0.25s ease;
}
.menu-links a:hover, .menu-links a:focus-visible { color: var(--gold); }
.menu-links__cta {
  color: var(--gold) !important; border: 1px solid var(--gold-soft);
  font-family: var(--font-body) !important; font-size: 12px !important;
  letter-spacing: 0.28em !important; text-transform: uppercase;
  padding: 14px 30px; margin-top: 10px;
}

.nav-cta { display: inline-flex; }
@media (max-width: 640px) {
  .nav-cta { display: none; }
}

/* ---------- cinematic intro ---------- */
.intro { display: none; }
html.intro-on .intro {
  display: block;
  position: fixed; inset: 0; z-index: 200;
  background: #0E0A0B;
  overflow: hidden;
}
.intro__stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
}
.intro__panel {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: #0E0A0B; z-index: 3;
}
.intro__panel--l { left: 0; transform: scaleX(1); transform-origin: left; }
.intro__panel--r { right: 0; transform: scaleX(1); transform-origin: right; }

.intro__bloom {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border-radius: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(201,149,92,0.55) 0%, rgba(201,149,92,0.18) 40%, transparent 70%);
  z-index: 0;
}
.intro__mark {
  position: relative; z-index: 1;
  width: clamp(72px, 14vw, 110px); height: auto;
  mix-blend-mode: screen;
  opacity: 0;
}
.intro__word {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(20px, 4.5vw, 34px);
  letter-spacing: 0.32em; text-indent: 0.32em;
  color: var(--ivory);
  opacity: 0;
}
.intro__word span { color: var(--gold); }
.intro__rule {
  position: relative; z-index: 1;
  width: min(240px, 40vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: center;
}
.intro__tag {
  position: relative; z-index: 1;
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.42em; text-indent: 0.42em;
  color: rgba(245,239,230,0.5);
  opacity: 0;
}

/* keyframes */
@keyframes intro-bloom { 0% { opacity: 0; transform: translate(-50%,-50%) scale(0.4); } 45% { opacity: 1; } 100% { opacity: 0.55; transform: translate(-50%,-50%) scale(28); } }
@keyframes intro-mark { 0% { opacity: 0; filter: brightness(2.2) blur(6px); } 100% { opacity: 1; filter: brightness(1) blur(0); } }
@keyframes intro-word { 0% { opacity: 0; letter-spacing: 0.7em; text-indent: 0.7em; } 100% { opacity: 1; letter-spacing: 0.32em; text-indent: 0.32em; } }
@keyframes intro-rule { to { transform: scaleX(1); } }
@keyframes intro-tag { to { opacity: 1; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-l { to { transform: scaleX(0); } }
@keyframes intro-r { to { transform: scaleX(0); } }

/* sequence — total 2.6s */
html.intro-on .intro__bloom { animation: intro-bloom 1.1s cubic-bezier(0.2,0.7,0.3,1) 0.1s both; }
html.intro-on .intro__mark  { animation: intro-mark 0.9s cubic-bezier(0.2,0.7,0.3,1) 0.35s both; }
html.intro-on .intro__word  { animation: intro-word 1.0s cubic-bezier(0.2,0.7,0.3,1) 0.75s both; }
html.intro-on .intro__rule  { animation: intro-rule 0.8s cubic-bezier(0.2,0.7,0.3,1) 1.15s both; }
html.intro-on .intro__tag   { animation: intro-tag 0.6s ease 1.45s both; }
html.intro-on .intro        { animation: intro-out 0.5s ease 2.3s both; }
html.intro-on .intro__panel--l { animation: intro-l 0.9s cubic-bezier(0.7,0,0.2,1) 1.9s both; }
html.intro-on .intro__panel--r { animation: intro-r 0.9s cubic-bezier(0.7,0,0.2,1) 1.9s both; }
html.intro-on { overflow: hidden; }

/* ---------- 3D depth: hero text plane + card tilt ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__inner { will-change: transform, opacity; }
  .classes { perspective: 1200px; }
  .paths { perspective: 1200px; }
  .class-card, .paths .path { transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.6s ease; will-change: transform; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .class-card:hover { box-shadow: 0 24px 60px -30px rgba(0,0,0,0.8); }
}

/* ---------- method in motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .principle .principle__num { opacity: 0; transform: translateY(14px) scale(0.85); transition: opacity 0.7s cubic-bezier(0.2,0.7,0.3,1), transform 0.7s cubic-bezier(0.2,0.7,0.3,1); transition-delay: calc(var(--reveal-delay, 0ms) + 120ms); }
  .principle.is-in .principle__num, .reveal.is-in .principle__num { opacity: 1; transform: none; }
  .principle { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.7,0.3,1); transition-delay: var(--reveal-delay, 0ms); }
  .principle.is-in { opacity: 1; transform: none; }
  .split .frame { overflow: hidden; }
  .split .frame img { transform: scale(1.1); transition: transform 2.4s cubic-bezier(0.2,0.7,0.3,1); }
  .split .reveal.is-in .frame img, .reveal.is-in .frame img { transform: scale(1); }
  .pullquote .w { opacity: 0; display: inline-block; transform: translateY(0.6em); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.3,1); transition-delay: calc(var(--w-delay, 0ms)); }
  .reveal.is-in .pullquote .w, .pullquote.is-in .w { opacity: 1; transform: none; }
}

/* ---------- refined 3D: sheen, depth layers, hero camera ---------- */
@media (prefers-reduced-motion: no-preference) {
  .class-card { position: relative; overflow: hidden; }
  .class-card, .paths .path { transition: transform 0.8s cubic-bezier(0.2,0.7,0.3,1); }
  .class-card.is-tilting, .paths .path.is-tilting { transition: none; }
  .class-card__body { transform: translateZ(26px); }
  .class-card img { transform: translateZ(0) scale(1.02); transition: transform 0.8s cubic-bezier(0.2,0.7,0.3,1); }
  .class-card.is-tilting img { transform: translateZ(0) scale(1.06); }
  .class-card::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(560px circle at var(--gx,50%) var(--gy,50%), rgba(245,239,230,0.09), transparent 42%);
    opacity: 0; transition: opacity 0.5s ease;
  }
  .class-card:hover::before { opacity: 1; }
  .hero { perspective: 900px; }
  .hero__inner { transform-origin: 50% 0%; backface-visibility: hidden; }
}
