/* =========================================================
   Aditya Stagecraft — design tokens
   Brand: maroon #660408 + gold #E3B13E (from logo)
   ========================================================= */
:root {
  /* surfaces */
  --bg: #0C0606;
  --bg-raised: #130909;
  --surface: #190C0C;
  --surface-2: #221010;
  --field: #110808;

  /* brand */
  --maroon: #660408;
  --maroon-500: #7C0A10;
  --maroon-400: #9A1A1F;
  --gold: #E3B13E;
  --gold-300: #F2CF7E;
  --gold-600: #B8862A;
  --on-gold: #1C0B04;

  /* text */
  --ivory: #F7F0E6;
  --text: #EADFD1;
  --text-muted: #C9B9A7;
  --text-dim: #A39181;

  /* lines */
  --line: rgba(227, 177, 62, 0.16);
  --line-strong: rgba(227, 177, 62, 0.36);

  /* feedback */
  --danger: #FF9C8F;
  --success: #A6E8BA;

  /* type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* shape + depth */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-1: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 14px 34px -14px rgba(227, 177, 62, 0.55);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 800ms;

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 144px);
  --header-h: 76px;

  /* z-index scale */
  --z-header: 100;
  --z-fab: 90;
  --z-menu: 110;
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(227, 177, 62, 0.35); color: var(--ivory); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--on-gold); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

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

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow-rule { width: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow-rule:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-wrap: balance;
}
.section-title em, .hero-title em { font-style: italic; color: var(--gold); font-weight: 600; }
.section-sub { margin-top: 18px; color: var(--text-muted); font-size: 1.1rem; max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.lead { font-size: 1.2rem; color: var(--ivory); line-height: 1.6; }

.section { padding-block: var(--section-y); position: relative; }

/* =========================================================
   Buttons + links
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn-gold {
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold) 50%, var(--gold-600) 100%);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(227, 177, 62, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { color: var(--ivory); border: 1px solid var(--line-strong); background: rgba(227, 177, 62, 0.03); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(227, 177, 62, 0.1); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn.is-loading .icon { visibility: hidden; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 26px; width: 18px; height: 18px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--gold); font-weight: 700; font-size: 0.95rem;
  transition: gap var(--dur) var(--ease-out), color var(--dur);
}
.text-link:hover { color: var(--gold-300); gap: 12px; }
.text-link .icon { width: 1.05em; height: 1.05em; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 6, 6, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-height: 44px; }
.brand-logo {
  width: 46px; height: 46px; flex: none; border-radius: 10px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 20px -10px rgba(102, 4, 8, 0.95);
}
.brand-name {
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1; color: var(--ivory); white-space: nowrap;
}
.brand-name span { color: var(--gold); }

.primary-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.primary-nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--dur);
}
.primary-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.primary-nav a:not(.btn):hover, .primary-nav a.is-active { color: var(--ivory); }
.primary-nav a:not(.btn):hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.nav-menu-cta { display: none; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: var(--ivory);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: calc(var(--z-menu) + 1); }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: 0; z-index: var(--z-menu);
    display: flex; flex-direction: column; justify-content: center; gap: 36px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background:
      radial-gradient(80% 60% at 50% 100%, rgba(102, 4, 8, 0.6), transparent 70%),
      var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .primary-nav a:not(.btn) {
    font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 600;
    letter-spacing: 0; text-transform: none; color: var(--ivory); min-height: 56px;
  }
  .primary-nav a:not(.btn)::after { bottom: 6px; }
  .nav-menu-cta { display: inline-flex; align-self: flex-start; }
  .brand { position: relative; z-index: calc(var(--z-menu) + 1); }
  body.menu-open { overflow: hidden; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 32px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 60% at 74% 48%, rgba(124, 10, 16, 0.55), transparent 70%),
    radial-gradient(30% 40% at 12% 18%, rgba(227, 177, 62, 0.07), transparent 70%),
    linear-gradient(180deg, #0F0707 0%, var(--bg) 100%);
}
.hero-bg::after { /* spotlight cone */
  content: ""; position: absolute; top: -10%; left: 58%; width: 36%; height: 90%;
  background: linear-gradient(180deg, rgba(242, 207, 126, 0.10), transparent 80%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(18px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 10.5vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.hero-title span, .hero-title em { display: block; }
.hero-title em { margin-left: 0.04em; }

.hero-roles {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  margin-top: 30px;
  font-size: clamp(0.8rem, 1.15vw, 0.88rem); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ivory);
}
.hero-roles span { display: inline-flex; align-items: center; }
.hero-roles span + span::before {
  content: ""; width: 6px; height: 6px; margin: 0 14px;
  background: var(--gold); transform: rotate(45deg);
}
.hero-tagline {
  margin-top: 22px; padding-left: 18px; max-width: 34ch;
  border-left: 2px solid var(--gold);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* hero logo card (IMG_0243) */
.hero-stage { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.hero-stage::before { /* warm glow behind the logo */
  content: ""; position: absolute; inset: -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(156, 15, 23, 0.55), rgba(102, 4, 8, 0.2) 60%, transparent 100%);
  filter: blur(24px);
}
.logo-card {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--maroon);
  box-shadow: 0 50px 100px -40px rgba(102, 4, 8, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.logo-card img { width: 100%; height: 100%; object-fit: cover; }
.logo-card::after { /* one gentle gold sheen on load */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 228, 160, 0.16) 50%, transparent 65%);
  transform: translateX(-110%);
  animation: sheen 1800ms var(--ease-out) 900ms forwards;
}
@keyframes sheen { to { transform: translateX(110%); } }

/* =========================================================
   Stats
   ========================================================= */
.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-raised), var(--bg));
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: clamp(32px, 4vw, 52px) 16px;
}
.stats-grid li + li { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums lining-nums;
}
.stat-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
}
.about-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 1200 / 1144; object-fit: cover; }
.about-media figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(12, 6, 6, 0.74);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.about-media figcaption strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ivory); line-height: 1.1; }
.about-media figcaption span { font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.about-copy > p { margin-top: 18px; color: var(--text-muted); max-width: 62ch; }
.about-copy > .lead { margin-top: 26px; color: var(--ivory); }

.method-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
}
.method-steps strong { display: block; margin-top: 6px; color: var(--ivory); font-size: 1.02rem; }
.method-steps p { margin-top: 6px; font-size: 0.92rem; color: var(--text-dim); line-height: 1.55; }
.step-no { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1; }

/* =========================================================
   Programmes
   ========================================================= */
.programs { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%); }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2) 0%, var(--surface) 45%, var(--bg-raised) 100%);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.program-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--dur);
}
.program-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(102, 4, 8, 0.8); }
.program-card:hover::before { opacity: 1; }
.program-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(227, 177, 62, 0.09); border: 1px solid var(--line-strong); color: var(--gold);
}
.program-icon .icon { width: 26px; height: 26px; }
.program-card h3 {
  margin-top: 24px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.05rem); line-height: 1.1; color: var(--ivory);
}
.program-card > p { margin-top: 10px; color: var(--text-muted); }
.module-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px;
  margin: 26px 0 22px; padding-top: 24px; border-top: 1px solid var(--line);
}
.module-list li { position: relative; padding-left: 18px; font-size: 0.93rem; line-height: 1.45; color: var(--text); }
.module-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.program-card .text-link { margin-top: auto; align-self: flex-start; }

/* =========================================================
   Fees
   ========================================================= */
.fees {
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(102, 4, 8, 0.42), transparent 70%),
    var(--bg-raised);
  border-block: 1px solid var(--line);
}
.fee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fee-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.fee-card:hover { transform: translateY(-4px); border-color: rgba(227, 177, 62, 0.55); box-shadow: 0 40px 80px -40px rgba(102, 4, 8, 0.95); }
.fee-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.fee-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 900ms var(--ease-out); }
.fee-card:hover .fee-media img { transform: scale(1.04); }
.fee-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 6, 6, 0.1) 40%, var(--surface) 100%);
}
.fee-tag {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(12, 6, 6, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  color: var(--gold); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.fee-tag .icon { width: 15px; height: 15px; }
.fee-body { flex: 1; display: flex; flex-direction: column; padding: 8px clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px); }
.fee-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.35rem); line-height: 1.08; color: var(--ivory); }
.fee-desc { margin-top: 12px; color: var(--text-muted); }
.fee-block { margin-top: 26px; }
.fee-block h4 {
  margin-bottom: 12px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(227, 177, 62, 0.05);
  font-size: 0.86rem; font-weight: 600; color: var(--text);
}
.check-list { display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 0.97rem; line-height: 1.5; }
.check-list .icon {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px;
  border-radius: 50%; background: rgba(227, 177, 62, 0.14); color: var(--gold); stroke-width: 2.6;
}
.formats { font-weight: 600; color: var(--ivory); }
.formats span { color: var(--gold); margin: 0 6px; }
.fee-body > .fee-block:last-of-type { margin-bottom: 30px; }
.fee-price {
  margin-top: auto; padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.fee-price > p { display: flex; flex-direction: column; flex: 1 1 200px; }
.fee-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }
.fee-amount { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 2rem; line-height: 1.15; color: var(--gold); }
.fee-note { font-size: 0.86rem; color: var(--text-muted); }

.quote-factors {
  margin-top: 40px;
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 6, 6, 0.5);
}
.quote-factors h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--ivory); }
.quote-factors ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.quote-factors li { display: flex; flex-direction: column; gap: 4px; }
.quote-factors .icon { width: 24px; height: 24px; color: var(--gold); margin-bottom: 6px; }
.quote-factors strong { color: var(--ivory); font-size: 0.98rem; }
.quote-factors span { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }
.fees-note { margin-top: 32px; text-align: center; color: var(--text-muted); }
.fees-note .text-link { margin-left: 6px; }

/* =========================================================
   Clients marquee
   ========================================================= */
.clients .section-head { margin-bottom: 48px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.logo-row { display: flex; gap: 20px; padding-right: 20px; }
.logo-row li {
  width: 210px; height: 108px; flex: none;
  display: grid; place-items: center; padding: 18px 26px;
  border-radius: 18px; background: #FBF7F1;
  border: 1px solid rgba(227, 177, 62, 0.4);
}
.logo-row img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
/* pauses while the pointer is over the logos (or a finger is on them) */
.marquee:hover .marquee-track,
.marquee:active .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Gallery
   ========================================================= */
.gallery .section-head { margin-bottom: 32px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-muted);
  font-size: 0.9rem; font-weight: 700;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), transform var(--dur-fast);
}
.filter-btn:hover { color: var(--ivory); border-color: var(--gold); }
.filter-btn:active { transform: scale(0.97); }
.filter-btn[aria-pressed="true"] {
  color: var(--on-gold); border-color: transparent;
  background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600));
}
.gallery-grid { columns: 3 260px; column-gap: 18px; }
.g-item { break-inside: avoid; margin-bottom: 18px; }
.g-item[hidden] { display: none; }
.g-item.is-entering { animation: fadeUp 500ms var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.g-btn {
  position: relative; display: block; width: 100%; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); cursor: zoom-in;
  border: 1px solid var(--line);
}
.g-btn img { width: 100%; transition: transform 700ms var(--ease-out), filter var(--dur); }
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.05); }
.g-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(12, 6, 6, 0.92));
  text-align: left; font-size: 0.92rem; font-weight: 600; line-height: 1.35; color: var(--ivory);
}

/* videos */
.video-block { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.video-head { margin-bottom: 32px; }
.video-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; color: var(--ivory);
}
.video-title em { font-style: italic; color: var(--gold); }
/* 3.16 : 1 makes a 16:9 and a 9:16 video share the same height */
.video-grid { display: grid; grid-template-columns: 3.16fr 1fr; gap: 24px; align-items: start; }
.video-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: #000; box-shadow: var(--shadow-1);
}
.is-landscape .video-frame { aspect-ratio: 16 / 9; }
.is-portrait .video-frame { aspect-ratio: 9 / 16; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(12, 6, 6, 0) 45%, rgba(12, 6, 6, 0.6));
  cursor: pointer;
}
.video-play[hidden] { display: none; }
.video-play-icon {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600));
  box-shadow: 0 0 0 10px rgba(227, 177, 62, 0.2), 0 20px 40px -10px rgba(0, 0, 0, 0.75);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.video-play-icon .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.video-play:hover .video-play-icon { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(227, 177, 62, 0.26), 0 20px 40px -10px rgba(0, 0, 0, 0.75); }
.video-play:active .video-play-icon { transform: scale(0.96); }
.video-play:focus-visible { outline-offset: -6px; border-radius: var(--radius); }
.is-portrait .video-play-icon { width: 62px; height: 62px; }
.is-portrait .video-play-icon .icon { width: 24px; height: 24px; }
.video-duration {
  position: absolute; right: 12px; bottom: 12px; pointer-events: none;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(12, 6, 6, 0.78); border: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 700; color: var(--ivory); font-variant-numeric: tabular-nums;
}
.video-frame.is-playing .video-duration { display: none; }
.video-card figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.video-card figcaption strong { color: var(--ivory); font-size: 1.05rem; }
.video-card figcaption span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }

/* lightbox */
.lightbox {
  width: min(1200px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0 auto; padding: 72px clamp(56px, 8vw, 96px) 32px;
  border: 0; background: transparent; color: var(--ivory);
  overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lbIn 260ms var(--ease-out); }
.lightbox::backdrop { background: rgba(6, 3, 3, 0.94); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 100%; }
.lb-img { max-height: calc(100dvh - 180px); width: auto; max-width: 100%; border-radius: 14px; object-fit: contain; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.lb-caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; text-align: center; font-weight: 600; }
.lb-count { color: var(--gold); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(34, 16, 16, 0.85); border: 1px solid var(--line-strong); color: var(--ivory);
  transition: background-color var(--dur), border-color var(--dur), transform var(--dur-fast);
}
.lb-btn:hover { background: var(--maroon); border-color: var(--gold); }
.lb-btn:active { transform: scale(0.95); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 8px; top: 50%; margin-top: -26px; }
.lb-next { right: 8px; top: 50%; margin-top: -26px; }

/* =========================================================
   Contact
   ========================================================= */
.contact {
  background:
    radial-gradient(50% 50% at 85% 60%, rgba(102, 4, 8, 0.35), transparent 70%),
    var(--bg);
}
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-avatar {
  display: block; width: clamp(140px, 16vw, 180px); height: auto; aspect-ratio: 1;
  margin: 0 auto 32px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(227, 177, 62, 0.12), 0 24px 48px -20px rgba(102, 4, 8, 0.9);
}
.contact-list { margin-top: 36px; }
.contact-list a {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur);
}
.contact-list a:hover { color: var(--gold); }
.contact-list a:hover .ci-icon { background: var(--maroon); border-color: var(--gold); }
.contact-list small {
  display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim);
}
.contact-list a > span:last-child { font-weight: 600; color: inherit; overflow-wrap: anywhere; }
.ci-icon {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold);
  transition: background-color var(--dur), border-color var(--dur);
}

.contact-form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.9);
}
.contact-form h3 { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--ivory); line-height: 1.1; }
.form-intro { margin-top: 6px; font-size: 0.9rem; color: var(--text-dim); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.field.span-2 { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 700; color: var(--ivory); }
.req { color: var(--gold); }
.hint-inline { font-weight: 500; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font-size: 1rem; /* 16px avoids iOS zoom */
  background: var(--field); color: var(--ivory);
  border: 1px solid rgba(227, 177, 62, 0.24); border-radius: 12px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E3B13E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { background: var(--surface); color: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 177, 62, 0.22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 156, 143, 0.22); }
.hint { margin-top: 6px; font-size: 0.84rem; color: var(--text-dim); }
.field-error { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.86rem; font-weight: 600; color: var(--danger); }
.field-error[hidden] { display: none; }
.field-error .icon { width: 16px; height: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.form-status {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(227, 177, 62, 0.06);
  font-size: 0.95rem; color: var(--text);
}
.form-status.is-success { border-color: rgba(166, 232, 186, 0.5); background: rgba(166, 232, 186, 0.07); }
.form-status.is-error { border-color: rgba(255, 156, 143, 0.5); background: rgba(255, 156, 143, 0.07); }
.form-status a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Footer + FAB
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); background: #090404; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-logo { width: 150px; border-radius: 16px; border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -20px rgba(102, 4, 8, 0.9); }
.footer-brand p { margin-top: 18px; max-width: 40ch; font-size: 0.95rem; color: var(--text-dim); }
.footer-col h2 { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col ul a { display: inline-flex; min-height: 40px; align-items: center; color: var(--text-muted); font-size: 0.95rem; transition: color var(--dur); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--ivory); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold);
  transition: background-color var(--dur), border-color var(--dur);
}
.socials a:hover { background: var(--maroon); border-color: var(--gold); }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--text-dim);
}

.wa-fab {
  position: fixed; z-index: var(--z-fab);
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  color: var(--on-gold); font-weight: 800; font-size: 0.92rem;
  background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600));
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 4px rgba(12, 6, 6, 0.6);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur), visibility var(--dur);
}
.wa-fab:hover { transform: translateY(-3px); }
.wa-fab .icon { width: 24px; height: 24px; stroke-width: 2; }
.wa-fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* =========================================================
   Reveal on scroll (JS only)
   ========================================================= */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* hero: pure-CSS entrance so it never waits on JS (better LCP) */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 900ms var(--ease-out) var(--d, 0ms) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .quote-factors { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { justify-self: center; max-width: 440px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .fee-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .quote-factors ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .program-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid li + li { border-left: 0; }
  .stats-grid li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .method-steps { grid-template-columns: 1fr; gap: 20px; }
  .video-grid { grid-template-columns: 1fr; gap: 36px; }
  .video-card.is-portrait { width: 100%; max-width: 340px; justify-self: center; }
  .gallery-grid { columns: 2; column-gap: 12px; }
  .g-item { margin-bottom: 12px; }
  .g-cap { padding: 36px 12px 10px; font-size: 0.8rem; }
  .wa-fab { padding: 0; width: 56px; justify-content: center; }
  .wa-fab-label { display: none; }
  .lightbox { padding: 64px 12px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-img { max-height: calc(100dvh - 220px); }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-roles { flex-direction: column; gap: 8px; }
  .hero-roles span::before,
  .hero-roles span + span::before { content: ""; width: 6px; height: 6px; margin: 0 12px 0 0; background: var(--gold); transform: rotate(45deg); }
  .module-list { grid-template-columns: 1fr; }
  .g-cap { display: none; }
  .brand { gap: 10px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 0.82rem; letter-spacing: 0.1em; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .fee-price .btn { width: 100%; }
  .quote-factors ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .logo-row li { width: 168px; height: 92px; padding: 14px 20px; }
  .logo-row img { max-height: 54px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logo-card::after { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none; justify-content: center; }
  .logo-row { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .logo-row-clone { display: none; }
}
