/* ================================================================
   DR. SABY ROY — PREMIUM CSS
   £100,000 Level Design System
================================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; }

/* ── DESIGN TOKENS ── */
:root {
  --cream:       #F7F4EF;
  --cream-2:     #EDE7DC;
  --ink:         #0C0C0A;
  --ink-70:      #3D3D35;
  --ink-45:      #7A7A6E;
  --ink-20:      #BDBDB0;
  --forest:      #1B4332;
  --forest-mid:  #2D6A4F;
  --forest-lite: #52B788;
  --gold:        #9B7D44;
  --gold-lite:   #C9A86A;
  --white:       #FFFFFF;
  --black:       #080806;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Inter', -apple-system, sans-serif;

  --max:     1120px;
  --sv:      clamp(5.5rem, 9vw, 10rem);   /* section vertical padding */
  --r:       0px;                          /* border radius — 0 = luxury sharp */
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --easeOut: cubic-bezier(0, 0, 0.2, 1);
  --easeIn:  cubic-bezier(0.4, 0, 1, 1);
  --spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── HELPERS ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.d-only { display: block; }
.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 1.5rem;
}
.section-label.light { color: rgba(255,255,255,0.4); }

/* ── ANIMATIONS BASE ── */
.gsap-reveal { opacity: 0; }

/* ════════════════════════════════════════════════════════
   GRAIN TEXTURE  — the single biggest luxury signal
════════════════════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.045;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  animation: grainShift 0.5s steps(2) infinite;
  mix-blend-mode: multiply;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0);       }
  25%  { transform: translate(-3%, -4%);   }
  50%  { transform: translate(-6%, 3%);    }
  75%  { transform: translate(3%, -6%);    }
  100% { transform: translate(0, 0);       }
}

/* ════════════════════════════════════════════════════════
   SCROLL PROGRESS
════════════════════════════════════════════════════════ */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--forest);
  width: 0%;
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ════════════════════════════════════════════════════════
   CURSOR
════════════════════════════════════════════════════════ */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, select, [role="button"] { cursor: none; }
}
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  display: none;
  mix-blend-mode: difference;
  transform: translate(-200px, -200px); /* start off-screen before JS fires */
  opacity: 0;
  transition: transform 0.08s var(--ease), opacity 0.3s ease;
}
.cursor-inner {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--spring), height 0.25s var(--spring), opacity 0.2s;
}
.cursor.expand .cursor-inner { width: 44px; height: 44px; opacity: 0.5; }
.cursor.hide   .cursor-inner { opacity: 0; }
@media (pointer: fine) { .cursor { display: block; } }

/* ════════════════════════════════════════════════════════
   PRELOADER
════════════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  background: #FAFAF7;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-content { text-align: center; }
.pl-name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--forest);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: plNameIn 0.7s var(--easeOut) 0.2s forwards;
}
@keyframes plNameIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.pl-line {
  width: 180px;
  height: 1px;
  background: rgba(27,67,50,0.1);
  margin: 0 auto;
  overflow: hidden;
}
.pl-fill {
  height: 100%;
  background: var(--forest-lite);
  width: 0%;
  animation: plFill 1.2s var(--easeOut) 0.5s forwards;
}
@keyframes plFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27,67,50,0.08);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.filled {
  background: rgba(250,250,247,0.95);
  box-shadow: 0 2px 24px rgba(27,67,50,0.06);
  border-bottom-color: rgba(27,67,50,0.1);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--gold) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--gold);
  box-shadow: 0 2px 10px rgba(27,67,50,0.18);
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-logo:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27,67,50,0.28); }
@media (max-width: 640px) {
  .nav-logo { width: 38px; height: 38px; font-size: 1rem; }
  .nav-inner { padding: 0 1rem; }
}
.nav-links { display: flex; align-items: center; gap: 0.2rem; opacity: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.8vw, 28px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  font-size: clamp(0.6rem, 1.3vw, 0.82rem);
  font-weight: 500;
  color: rgba(27,67,50,0.6);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0.8rem; right: 0.8rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--forest); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #E8D5A3;
  background: var(--forest);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 0.55rem 1.25rem;
  margin-left: 0.75rem;
  transition: background 0.25s, transform 0.2s, border-color 0.2s;
  display: inline-block;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  color: #E8D5A3;
}
@media (max-width: 640px) {
  .nav-cta { font-size: 0.7rem; padding: 0.45rem 0.75rem; margin-left: 0.4rem; }
}
.nav-cta:hover { background: var(--forest-mid); transform: translateY(-1px); border-color: rgba(212,175,55,0.4); }

.nav-ham { display: none; flex-direction: column; gap: 6px; background: none; padding: 6px; cursor: pointer; border: none; }
.nav-ham span { display: block; width: 22px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-ham.open span:first-child { transform: translateY(7.5px) rotate(45deg); }
.nav-ham.open span:last-child  { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(250,250,247,0.98);
  border-top: 1px solid rgba(27,67,50,0.08);
  padding: 1.25rem 2rem 2rem;
}
.nav-mobile.open { display: flex; }
.nm-link {
  font-size: 1.05rem; font-weight: 400;
  color: rgba(27,67,50,0.6);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(27,67,50,0.06);
  transition: color 0.2s;
}
.nm-link:hover { color: var(--forest); }
.nm-cta { color: #FAFAF7; font-weight: 600; background: var(--forest); border: none; margin-top: 0.5rem; padding: 0.65rem 1.5rem; border-radius: 100px; display: inline-block; text-align: center; }

/* ════════════════════════════════════════════════════════
   HERO — Cinematic Full-Bleed (Design 5)
   Video fills viewport, bright overlay, centred dark text
   Works at every screen width — single column, no grid split
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video / poster fills entire hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0C0C0A;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.4) saturate(0.5);
}

/* Cream overlay — makes video a subtle bright texture */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(250,250,247,0.7);
}

/* Content — centred */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 100%;
  padding: clamp(80px, 12vw, 140px) clamp(16px, 5vw, 40px) clamp(40px, 8vw, 80px);
}

.testi-card { opacity: 1 !important; }
.hero-name {
  font-family: 'Italiana', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--forest);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: clamp(14px, 2.4vw, 22px);
  opacity: 1;
}
.hero-eyebrow {
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7A5F2E;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  margin-bottom: clamp(16px, 3vw, 32px);
  opacity: 0;
  transform: translateY(20px);
}
.hero-hed {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: clamp(16px, 3vw, 28px);
}
/* Line-wrap technique: each line is masked */
.hero-hed .line-wrap {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-hed .line { display: block; transform: translateY(120%); }
.hero-hed em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: rgba(27,67,50,0.7);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto clamp(24px, 4vw, 40px);
  opacity: 0;
  transform: translateY(20px);
}

/* Email form — centred */
.hero-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}
.hero-field {
  display: flex;
  align-items: stretch;
  max-width: 460px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(27,67,50,0.15);
  background: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  opacity: 0;
  transform: translateY(20px);
}
.hero-field:focus-within {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 4px 30px rgba(201,168,76,0.1);
}
.hero-input {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  color: var(--forest);
  background: transparent;
  border: none;
  padding: clamp(10px, 1.5vw, 14px) clamp(12px, 2vw, 20px);
}
.hero-input::placeholder { color: rgba(27,67,50,0.4); }
.hero-btn {
  flex-shrink: 0;
  font-size: clamp(0.65rem, 1.3vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8D5A3;
  background: var(--forest);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 0 clamp(14px, 2.5vw, 28px);
  white-space: nowrap;
  cursor: pointer;
  color: #E8D5A3;
  transition: background 0.3s, border-color 0.3s;
}
.hero-btn:hover { background: var(--forest-mid); border-color: rgba(212,175,55,0.4); }

.hero-note {
  font-size: 0.7rem;
  color: rgba(27,67,50,0.35);
  letter-spacing: 0.02em;
  opacity: 0;
}

/* Stats bar — centred */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  opacity: 0;
  transform: translateY(20px);
}
.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  text-align: center;
}
.hero-stat-label {
  font-size: clamp(0.55rem, 1.2vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27,67,50,0.5);
  margin-top: 4px;
  text-align: center;
}

/* Small screen: form stacks vertically */
@media (max-width: 420px) {
  .hero-field { flex-direction: column; border-radius: 6px; }
  .hero-btn { padding: 12px 20px; }
}

/* ════════════════════════════════════════════════════════
   MARQUEE
════════════════════════════════════════════════════════ */
.marquee { background: var(--ink); padding: 3px 0; overflow: hidden; }
.mq-track { display: flex; white-space: nowrap; will-change: transform; }
.mq-text {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  padding-right: 0;
  animation: mq 28s linear infinite;
}
.marquee:hover .mq-text { animation-play-state: paused; }
@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════
   CINEMATIC STATEMENT SECTION — Stacked (Cinema C)
   Image on top, text below on bright background
════════════════════════════════════════════════════════ */
.cinema {
  position: relative;
  overflow: hidden;
  background: #FAFAF7;
}

/* Full-width image — fully visible, bright */
.cinema-img-wrap {
  position: relative;
  width: 100%;
  max-height: 65vh;
  overflow: hidden;
}
.cinema-img-wrap .cinema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 65vh;
  filter: brightness(1.1) contrast(1.05);
  opacity: 0.8;
  display: block;
}
/* Top fade — merges seamlessly with hero above */
.cinema-img-wrap::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 160px;
  background: linear-gradient(to bottom, #FAFAF7 0%, transparent 100%);
  z-index: 2;
}
/* Bottom fade into white */
.cinema-img-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(to top, #FAFAF7 0%, transparent 100%);
  z-index: 2;
}

/* Text content — bright background below image */
.cinema-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 740px;
  margin: -3rem auto 0;
  padding: 0 2rem 5rem;
}

.cinema-eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
}

.cinema-hed {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 2rem;
}

/* Each line is a clip mask — text slides up into view */
.cinema-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.cl-inner {
  display: block;
  transform: translateY(108%);
}
.cinema-em .cl-inner {
  font-style: italic;
  color: var(--gold);
}

/* Gold rule divider */
.cinema-rule {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, rgba(184,134,50,0.15), var(--gold), rgba(184,134,50,0.15));
  margin: 0 auto 2rem;
  transform: scaleX(0);
  transform-origin: center;
}

.cinema-sub {
  font-size: clamp(1rem, 1.5vw, 1.05rem);
  color: rgba(27,67,50,0.5);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
}

/* ════════════════════════════════════════════════════════
   MISSION
════════════════════════════════════════════════════════ */
.mission {
  padding: var(--sv) 2rem;
  background: #0a0f0b;
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: url('assets/hero-bg.jpg') center 35% / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
  will-change: transform;
}
/* Gradient vignette — darkens edges so text stays crisp */
.mission::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10,15,11,0.72) 100%);
  pointer-events: none;
}
.mission-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.miss-rule {
  width: 40px; height: 1px;
  background: var(--gold-lite);
  margin: 0 auto 2.5rem;
}
.miss-quote {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.75rem;
  letter-spacing: -0.01em;
}
.miss-quote em { color: var(--gold-lite); font-style: italic; }
.miss-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════════ */
/* ── Qualifications Ticker ── */
.qual-ticker {
  background: var(--forest);
  padding: 1.6rem 0;
  overflow: hidden;
  position: relative;
}
.qual-ticker::before,
.qual-ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
  pointer-events: none;
}
.qual-ticker::before { left: 0; background: linear-gradient(to right, var(--forest), transparent); }
.qual-ticker::after  { right: 0; background: linear-gradient(to left, var(--forest), transparent); }
.qual-track {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: tickerScroll 24s linear infinite;
  width: max-content;
}
.qual-item {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0 1.5rem;
}
.qual-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Legacy stats classes kept for JS compat */
.stats-bar { display: none; }
.stat-item, .stat-n, .stat-l { /* unused */ }

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about { padding: var(--sv) 0; background: var(--cream-2); overflow: hidden; }
.about-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6rem;
  align-items: start;
}

/* Image */
.about-img-col { position: sticky; top: 100px; }
.about-img-outer {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
.about-img-curtain {
  position: absolute;
  inset: 0;
  background: var(--cream-2);
  z-index: 2;
  transform-origin: top;
}
.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.about-img-ghost { display: none; }
.about-stat { display: none; }

/* Content */
.about-body { padding: 0 0 2rem; }
.about-hed {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2rem;
  white-space: pre-line;
}
.about-lead {
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.about-body p {
  font-size: 1.02rem;
  color: var(--ink-45);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.about-areas {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.area-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: padding-left 0.3s var(--ease);
}
.area-row:hover { padding-left: 0.75rem; }
.area-i {
  font-family: var(--display);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-20);
  width: 22px; flex-shrink: 0;
}
.area-name { font-size: 1rem; font-weight: 500; color: var(--ink); }

/* ════════════════════════════════════════════════════════
   PROGRAMME
════════════════════════════════════════════════════════ */
.prog {
  background: var(--black);
  color: var(--white);
  padding: var(--sv) 2rem;
  position: relative;
  overflow: hidden;
}
/* Medical desk ambient layer — warmth from the course image */
.prog::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: url('assets/course-bg.jpg') center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  filter: grayscale(20%) sepia(15%);
}
.prog::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,67,50,0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.prog-inner { position: relative; z-index: 2; }
.prog-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: start;
}
.prog-hed {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 2rem;
  white-space: pre-line;
}
.prog-hed em { display: block; font-style: italic; color: var(--gold-lite); }

.prog-lead {
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.prog-body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}
.prog-pts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2.75rem;
}
.prog-pt {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.prog-pt::before {
  content: '';
  width: 5px; height: 1px;
  background: var(--forest-lite);
  display: block; flex-shrink: 0;
}

/* Magnetic CTA */
.prog-cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #E8D5A3;
  background: var(--forest);
  border: 1.5px solid rgba(212,175,55,0.25);
  padding: 1.1rem 2.25rem;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  color: #E8D5A3;
  transition: background 0.3s, border-color 0.3s;
}
.prog-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212,175,55,0.06);
  transform: translateY(100%);
  transition: transform 0.3s var(--easeOut);
}
.prog-cta:hover { background: radial-gradient(ellipse at center, rgba(212,175,55,0.25) 0%, var(--forest) 70%); border-color: rgba(212,175,55,0.4); }
.prog-cta:hover::after { transform: translateY(0); }

/* Programme panel */
.prog-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem;
}
.panel-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 2rem;
}
.outcome-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.outcome-item:last-child { border-bottom: none; }
.oi-n {
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-lite);
  width: 26px; flex-shrink: 0;
  line-height: 1;
}
.oi-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.oi-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   RESOURCES
════════════════════════════════════════════════════════ */
.resources { padding: var(--sv) 2rem; background: var(--cream); }
.res-header { margin-bottom: 5rem; }
.res-hed {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.res-sub {
  font-size: 1rem;
  color: var(--ink-45);
  line-height: 1.75;
  max-width: 520px;
}

/* Newsletter row */
.nl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-top: 1px solid var(--cream-2);
  border-bottom: 1px solid var(--cream-2);
  margin-bottom: 6rem;
}
.nl-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 1rem;
}
.nl-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.nl-desc {
  font-size: 1rem;
  color: var(--ink-45);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.nl-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.nl-link:hover { color: var(--forest); border-color: var(--forest); }
.nl-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.nlc-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.1rem; }
.nlc-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-mid);
}
.nlc-sep, .nlc-freq { font-size: 0.7rem; color: var(--ink-20); }
.nlc-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}
.nlc-prev {
  font-size: 0.85rem;
  color: var(--ink-45);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.nlc-foot {
  display: flex;
  gap: 0.75rem;
  font-size: 0.68rem;
  color: var(--ink-20);
}

/* Videos */
.vids-section { margin-bottom: 6rem; }
.vids-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.vids-title {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
}
.vids-yt {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--forest);
  transition: opacity 0.2s;
}
.vids-yt:hover { opacity: 0.6; }
.vids-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.vid-card {
  border: 1px solid var(--cream-2);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.vid-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.vid-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.vid-play {
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: white;
  transition: transform 0.25s var(--spring), background 0.25s;
}
.vid-card:hover .vid-play { transform: scale(1.12); background: rgba(255,255,255,0.25); }
.vid-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.8);
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.65rem;
}
.vid-info { padding: 1.25rem; }
.vid-tag {
  display: block;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--forest-mid); margin-bottom: 0.4rem;
}
.vid-title { font-size: 0.9rem; font-weight: 500; color: var(--ink); line-height: 1.45; margin: 0; }
.vids-note { font-size: 0.8rem; color: var(--ink-20); text-align: center; }
.vids-note a { color: var(--forest); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.vids-note a:hover { border-bottom-color: var(--forest); }

/* Pillars */
.pillars { border-top: 1px solid var(--cream-2); padding-top: 5rem; }
.pillars-title {
  font-family: var(--display);
  font-size: 1.7rem; font-weight: 400;
  color: var(--ink); margin-bottom: 2.5rem;
}
.pillar-row {
  display: grid;
  grid-template-columns: 44px 240px 1fr;
  gap: 2.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream-2);
  transition: padding-left 0.3s var(--ease);
  cursor: default;
}
.pillar-row:hover { padding-left: 0.9rem; }
.pr-num { font-family: var(--display); font-size: 0.85rem; font-style: italic; color: var(--ink-20); }
.pr-name { font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.pr-desc { font-size: 0.87rem; color: var(--ink-45); line-height: 1.65; }

/* ════════════════════════════════════════════════════════
   SUBSCRIBE
════════════════════════════════════════════════════════ */
.subscribe { background: var(--forest); color: var(--white); padding: var(--sv) 2rem; }
.sub-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.sub-hed {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}
.sub-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 3rem;
}
.sub-gifts-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
  display: block;
}
.sub-gift {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sub-gift:first-of-type { border-top: 1px solid rgba(255,255,255,0.07); }
.sg-n {
  font-family: var(--display);
  font-size: 1.1rem; font-style: italic;
  color: var(--gold-lite); flex-shrink: 0; width: 22px;
}
.sub-gift strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.sub-gift span { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.55; }

/* Subscribe Form */
.sub-right {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.75rem;
}
.sub-form-title {
  font-family: var(--display);
  font-size: 1.8rem; font-weight: 400;
  color: var(--white); margin-bottom: 2rem;
}
.sub-field { margin-bottom: 1.1rem; }
.sub-label {
  display: block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.45rem;
}
.sub-input {
  width: 100%;
  font-size: 0.92rem; color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0.9rem 1rem;
  transition: border-color 0.25s, background 0.25s;
  appearance: none;
}
.sub-input::placeholder { color: rgba(255,255,255,0.22); }
.sub-input:focus { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.1); }
.sub-select option { background: var(--forest); }
.sub-btn {
  width: 100%;
  font-size: 0.88rem; font-weight: 600;
  color: var(--forest);
  background: var(--white);
  border: none;
  padding: 1.1rem;
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.2s;
}
.sub-btn:hover { background: var(--cream); transform: translateY(-1px); }
.sub-note { font-size: 0.7rem; color: rgba(255,255,255,0.2); text-align: center; margin-top: 0.85rem; }

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════ */
.testis {
  padding: var(--sv) 2rem;
  background: linear-gradient(135deg, #1B4332 0%, #2A5746 50%, #9B7D44 200%);
  position: relative;
}
.testis .section-label { color: rgba(255,255,255,0.7) !important; }
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.testi-card {
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 2.2rem 1.9rem;
  min-width: 0;
  color: #F7F4EF;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.testi-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.testi-q {
  display: block;
  color: #F4D78E;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-style: normal;
}
.testi-q::before { content: "★★★★★"; }
.testi-text {
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: #F7F4EF;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.ta-av {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.18);
  color: #F4D78E;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem; font-weight: 600;
  flex-shrink: 0;
  border: 1px solid rgba(244,215,142,0.3);
}
.testi-author strong { display: block; font-size: 0.85rem; font-weight: 600; color: #fff; }
.testi-author span { font-size: 0.72rem; color: #C9A968; letter-spacing: 0.04em; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer { background: var(--forest); color: var(--white); padding: 6rem 2rem 2.5rem; position: relative; overflow: hidden; }
.foot-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2.5rem;
}
.foot-logo {
  font-family: var(--display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.75rem;
}
.foot-tag {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  margin-bottom: 2rem;
  white-space: pre-line;
}
.foot-socials { display: flex; gap: 0.4rem; }
.fs {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}
.fs svg { width: 18px; height: 18px; display: block; }
.fs:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.foot-col .fc-head {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 1.4rem;
}
.foot-col a {
  display: block;
  font-size: 0.87rem; color: rgba(255,255,255,0.4);
  margin-bottom: 0.7rem;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.5rem;
}
.foot-copy { font-size: 0.78rem; color: rgba(255,255,255,0.18); margin: 0; }
.foot-legal { display: flex; gap: 1.5rem; }
.foot-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.18); transition: color 0.2s; }
.foot-legal a:hover { color: var(--white); }
.foot-disclaimer {
  font-size: 0.7rem; color: rgba(255,255,255,0.12);
  line-height: 1.7; max-width: 680px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.5rem; margin: 0;
}

/* ════════════════════════════════════════════════════════
   FREE RESOURCES SECTION
════════════════════════════════════════════════════════ */
.free-resources {
  background: var(--cream);
  padding: 5rem 1.5rem;
  display: flex;
  justify-content: center;
}
.free-resources-inner {
  max-width: 460px;
  width: 100%;
}
.modal-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 0.75rem; }
.modal-title { font-family: var(--display); font-size: 1.8rem; font-weight: 400; color: var(--ink); margin-bottom: 1.75rem; line-height: 1.2; }
.modal-gifts { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.mg-i { display: flex; align-items: center; gap: 1rem; background: var(--cream-2); padding: 0.9rem 1rem; }
.mg-n { font-family: var(--display); font-size: 1rem; font-style: italic; color: var(--forest); flex-shrink: 0; }
.mg-i strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 0.1rem; }
.mg-i span { font-size: 0.75rem; color: var(--ink-45); }
.modal-form { display: flex; flex-direction: column; gap: 0.6rem; }
.modal-input {
  font-size: 0.9rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--cream-2);
  padding: 0.9rem 1rem; width: 100%;
  transition: border-color 0.2s;
}
.modal-input:focus { border-color: var(--forest); }
.modal-btn {
  font-size: 0.88rem; font-weight: 600;
  color: #E8D5A3; background: var(--forest);
  border: 1.5px solid rgba(212,175,55,0.25); padding: 1rem;
  letter-spacing: 0.03em;
  color: #E8D5A3;
  transition: background 0.25s, border-color 0.25s;
}
.modal-btn:hover { background: var(--forest-mid); border-color: rgba(212,175,55,0.4); }
.modal-note { font-size: 0.7rem; color: var(--ink-20); text-align: center; margin: 0.5rem 0 0; }

/* ════════════════════════════════════════════════════════
   TOAST
════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: var(--white);
  padding: 0.9rem 1.75rem;
  font-size: 0.88rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.75rem;
  z-index: 3000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  pointer-events: none;
  transition: transform 0.5s var(--spring);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-dot { width: 8px; height: 8px; background: var(--forest-lite); border-radius: 50%; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   NAV — SIGN IN BUTTON
════════════════════════════════════════════════════════ */
.nav-signin {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(247,244,239,0.6);
  padding: 0.5rem 0.8rem;
  margin-right: 0.25rem;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  display: inline-block;
}
.nav-signin:hover { color: var(--cream); border-color: var(--gold); }
.nav-signin.signed-in {
  color: var(--forest);
  border-color: var(--forest);
  background: rgba(27,67,50,0.06);
}

/* ════════════════════════════════════════════════════════
   PASSWORD SHOW / HIDE TOGGLE  (shared across all forms)
════════════════════════════════════════════════════════ */
.pw-field { position: relative; }
.pw-field input { padding-right: 3rem !important; }
.pw-toggle {
  position: absolute;
  right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; padding: 4px;
  color: var(--ink-45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
}
.pw-toggle:hover { color: var(--ink); }
.pw-toggle svg { width: 18px; height: 18px; display: block; }
.pw-toggle .icon-eye-off { display: none; }

/* ════════════════════════════════════════════════════════
   STUDY ZONE GATE SECTION
════════════════════════════════════════════════════════ */
.study-gate {
  background: var(--ink);
  padding: var(--sv) 2rem;
  position: relative;
  overflow: hidden;
}
.study-gate::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 80vw; height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,67,50,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.study-gate::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -5%;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,125,68,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.sg-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sg-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.sg-icon svg { width: 22px; height: 22px; stroke: var(--gold-lite); }
.sg-hed {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.sg-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 2.75rem;
}
.sg-pw-wrap {
  max-width: 380px;
  margin: 0 auto 0.5rem;
}
.sg-input {
  width: 100%;
  font-size: 0.95rem; color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1rem 3rem 1rem 1.25rem;
  transition: border-color 0.25s, background 0.25s;
  text-align: center;
  letter-spacing: 0.12em;
}
.sg-input::placeholder { color: rgba(255,255,255,0.25); letter-spacing: 0; }
.sg-input:focus { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.1); }
.sg-input + .pw-toggle { color: rgba(255,255,255,0.35); }
.sg-input + .pw-toggle:hover { color: rgba(255,255,255,0.8); }
.sg-error {
  font-size: 0.8rem; color: #ff7675;
  margin: 0.5rem 0 1.25rem; min-height: 1.2em;
  text-align: center;
}
.sg-btn {
  display: inline-block;
  font-size: 0.88rem; font-weight: 600;
  color: var(--white);
  background: var(--forest-mid);
  border: none;
  padding: 1rem 2.5rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 0.5rem;
}
.sg-btn:hover { background: var(--forest); }
.sg-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin-top: 1.5rem;
  line-height: 1.6;
}
.sg-note a { color: rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1px; transition: color 0.2s; }
.sg-note a:hover { color: rgba(255,255,255,0.7); }

/* ════════════════════════════════════════════════════════
   FOOTER — ADMIN BUTTON + DISCLAIMER ROW
════════════════════════════════════════════════════════ */
.foot-disclaimer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
.foot-disclaimer-row .foot-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.5rem;
  margin: 0;
  flex: 1;
}
.foot-admin-btn {
  background: transparent;
  border: none;
  cursor: default;
  padding: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
}

/* ════════════════════════════════════════════════════════
   SUBSCRIBER SIGN-IN PANEL (slides in from right)
════════════════════════════════════════════════════════ */
.signin-wrap {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(8,8,6,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: stretch; justify-content: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.signin-wrap.open { opacity: 1; pointer-events: all; }
.signin-panel {
  background: var(--cream);
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateX(30px);
  transition: transform 0.4s var(--spring);
}
.signin-wrap.open .signin-panel { transform: none; }
.sp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--cream-2);
  flex-shrink: 0;
}
.sp-label {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest); margin: 0;
}
.sp-close {
  background: none; border: none; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--ink-20);
  border-radius: 50%; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sp-close:hover { background: var(--cream-2); color: var(--ink); }
.sp-login, .sp-area { padding: 2rem; }
.sp-title {
  font-family: var(--display);
  font-size: 1.6rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.6rem;
}
.sp-sub {
  font-size: 0.85rem; color: var(--ink-45);
  line-height: 1.7; margin-bottom: 1.75rem;
}
.sp-input {
  width: 100%;
  font-size: 0.92rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--cream-2);
  padding: 0.9rem 3rem 0.9rem 1rem;
  transition: border-color 0.25s;
}
.sp-input:focus { border-color: var(--forest); }
.sp-error { font-size: 0.78rem; color: #c0392b; margin: 0.5rem 0 0; min-height: 1.2em; }
.sp-btn {
  width: 100%; margin-top: 1rem;
  font-size: 0.88rem; font-weight: 600;
  color: var(--white); background: var(--ink);
  border: none; padding: 1rem;
  cursor: pointer; transition: background 0.25s;
}
.sp-btn:hover { background: var(--forest); }
.sp-note { font-size: 0.72rem; color: var(--ink-20); margin-top: 1rem; line-height: 1.6; }
.sp-note a { color: var(--forest); }
/* Member area */
.sp-welcome {
  font-family: var(--display);
  font-size: 2rem; font-weight: 300;
  color: var(--ink); margin-bottom: 0.4rem; line-height: 1.1;
}
.sp-area-sub { font-size: 0.85rem; color: var(--ink-45); margin-bottom: 2rem; }
.sp-links { display: flex; flex-direction: column; gap: 0; margin-bottom: 2rem; }
.sp-link-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-2);
  font-size: 0.9rem; color: var(--ink);
  transition: color 0.2s, padding-left 0.2s;
  text-decoration: none;
}
.sp-link-item:hover { color: var(--forest); padding-left: 0.4rem; }
.sp-link-item::after { content: '→'; color: var(--ink-20); font-size: 0.8rem; }
.sp-signout {
  font-size: 0.75rem; font-weight: 500;
  color: var(--ink-45); background: none;
  border: 1px solid var(--cream-2);
  padding: 0.55rem 1.1rem; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.sp-signout:hover { color: var(--ink); border-color: var(--ink-20); }

/* ════════════════════════════════════════════════════════
   ADMIN LOGIN MODAL
════════════════════════════════════════════════════════ */
.admin-wrap {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(8,8,6,0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.admin-wrap.open { opacity: 1; pointer-events: all; }
.admin-login {
  background: var(--cream);
  max-width: 380px; width: 100%;
  padding: 2.75rem; position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--spring);
}
.admin-wrap.open .admin-login { transform: none; }
.admin-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--ink-20); border-radius: 50%; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.admin-close:hover { background: var(--cream-2); color: var(--ink); }
.admin-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.5rem; }
.admin-title { font-family: var(--display); font-size: 1.75rem; font-weight: 400; color: var(--ink); margin-bottom: 1.75rem; line-height: 1.2; }
.admin-input {
  width: 100%; font-size: 0.92rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--cream-2);
  padding: 0.9rem 1rem; transition: border-color 0.25s;
}
.admin-input:focus { border-color: var(--forest); }
.admin-error { font-size: 0.78rem; color: #c0392b; margin: 0.5rem 0 0; min-height: 1.2em; }
.admin-btn {
  width: 100%; font-size: 0.88rem; font-weight: 600;
  color: var(--white); background: var(--ink); border: none;
  padding: 1rem; margin-top: 1rem; letter-spacing: 0.03em; cursor: pointer;
  transition: background 0.25s;
}
.admin-btn:hover { background: var(--forest); }
.admin-hint { font-size: 0.68rem; color: var(--ink-20); text-align: center; margin-top: 1.25rem; line-height: 1.65; }

/* ════════════════════════════════════════════════════════
   ADMIN DASHBOARD PANEL
════════════════════════════════════════════════════════ */
.adm-wrap {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(8,8,6,0.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: stretch; justify-content: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.adm-wrap.open { opacity: 1; pointer-events: all; }
.adm-panel {
  background: var(--cream); width: 100%; max-width: 700px;
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(40px);
  transition: transform 0.45s var(--spring);
}
.adm-wrap.open .adm-panel { transform: none; }
.adm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem; background: var(--ink); flex-shrink: 0;
}
.adm-brand { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); margin: 0; }
.adm-close {
  background: none; border: none; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.35); border-radius: 50%; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.adm-close:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.adm-tabs { display: flex; border-bottom: 1px solid var(--cream-2); background: var(--white); padding: 0 2rem; flex-shrink: 0; }
.adm-tab {
  font-size: 0.78rem; font-weight: 500; color: var(--ink-45);
  background: none; border: none; padding: 1rem 0; margin-right: 2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; cursor: pointer;
}
.adm-tab.active { color: var(--ink); border-bottom-color: var(--forest); }
.adm-tab:hover { color: var(--ink); }
.adm-body { flex: 1; overflow-y: auto; padding: 2rem; }
.adm-pane-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; }
.adm-pane-title { font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin: 0; }
.adm-export {
  font-size: 0.75rem; font-weight: 600; color: var(--white); background: var(--forest);
  border: none; padding: 0.55rem 1.1rem; cursor: pointer; transition: background 0.2s;
}
.adm-export:hover { background: var(--forest-mid); }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.adm-table th { text-align: left; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); padding: 0 0.75rem 0.85rem; border-bottom: 1px solid var(--cream-2); }
.adm-table td { padding: 0.9rem 0.75rem; color: var(--ink-70); border-bottom: 1px solid var(--cream-2); vertical-align: top; word-break: break-all; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-empty { font-size: 0.9rem; color: var(--ink-20); font-style: italic; text-align: center; padding: 3rem 0; margin: 0; }
.adm-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.adm-status-card { background: var(--white); border: 1px solid var(--cream-2); padding: 1.5rem; }
.asc-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 0.5rem; }
.asc-val { font-family: var(--display); font-size: 1.8rem; font-weight: 400; color: var(--ink); line-height: 1; }
.asc-val.ok { color: var(--forest); }
.asc-val.no { color: #c0392b; }
.asc-desc { font-size: 0.75rem; color: var(--ink-45); margin-top: 0.5rem; line-height: 1.55; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 960px
════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Nav: text links always visible, just smaller */
  .nav-cta { font-size: clamp(0.55rem, 1.2vw, 0.75rem); padding: 0.4rem 0.8rem; }
  .d-only { display: none; }

  .stats-bar { flex-wrap: wrap; gap: 0; }
  .stat-item { width: 50%; padding: 2rem; }
  .stat-item:nth-child(2)::before,
  .stat-item:nth-child(4)::before { display: none; }
  .stat-item:nth-child(3)::before { top: 0; height: 100%; }

  .about-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-col { position: static; max-width: 400px; margin: 0 auto; }
  .about-stat { right: -0.5rem; }

  .prog-inner { grid-template-columns: 1fr; gap: 3.5rem; }

  .nl-row { grid-template-columns: 1fr; gap: 3rem; }

  .vids-grid { grid-template-columns: 1fr 1fr; }

  .pillar-row { grid-template-columns: 36px 1fr; gap: 1rem; }
  .pr-desc { display: none; }

  .sub-inner { grid-template-columns: 1fr; gap: 3rem; }

  .testi-track { grid-template-columns: 1fr; }

  .foot-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .foot-brand { grid-column: 1 / -1; }
  .adm-status-grid { grid-template-columns: 1fr; }
  .signin-panel { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 580px
════════════════════════════════════════════════════════ */
@media (max-width: 580px) {
  :root { --sv: clamp(4rem, 8vw, 6rem); }

  /* Hero uses clamp() — no overrides needed at this breakpoint */

  .stats-bar { flex-direction: column; }
  .stat-item { width: 100%; }
  .stat-item::before { display: none; }

  .vids-grid { grid-template-columns: 1fr; }

  .testi-card { min-width: 0; }

  .prog-pts { flex-direction: column; }

  .foot-top { grid-template-columns: 1fr; }
  .foot-brand { grid-column: 1; }

  .foot-bottom { flex-direction: column; align-items: flex-start; }

  .cinema-img-wrap { max-height: 45vh; }
  .cinema-img-wrap .cinema-img { max-height: 45vh; }
  .cinema-content { margin-top: -2rem; padding: 0 1.5rem 3rem; }
  .cinema-hed { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .cinema-sub { font-size: 0.92rem; }
  .foot-disclaimer-row { flex-direction: column; gap: 0.75rem; }
  .foot-admin-btn { align-self: flex-end; }
  .adm-panel { max-width: 100%; }
  .adm-status-grid { grid-template-columns: 1fr; }
}

/* ── Study Zone filter pills ── */
.sf-pill {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-45);
  background: transparent;
  border: 1px solid var(--cream-2);
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  border-radius: 100px;
}
.sf-pill:hover {
  color: var(--ink);
  border-color: var(--ink-20);
}
.sf-pill.active {
  color: var(--white);
  background: var(--forest-mid);
  border-color: var(--forest-mid);
}

/* ── Cookie Consent ── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 2rem; transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text { font-size: 0.82rem; color: rgba(247,244,239,0.65); line-height: 1.6; }
.cookie-link { color: var(--gold-lite); border-bottom: 1px solid rgba(201,168,76,0.3); }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-decline {
  font-size: 0.78rem; color: rgba(247,244,239,0.45);
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1.1rem; cursor: pointer; transition: all 0.2s;
}
.cookie-decline:hover { color: var(--cream); border-color: rgba(255,255,255,0.3); }
.cookie-accept {
  font-size: 0.78rem; font-weight: 600; color: var(--ink);
  background: var(--gold); border: none;
  padding: 0.5rem 1.25rem; cursor: pointer; transition: background 0.2s;
}
.cookie-accept:hover { background: #b8963f; }
