/* ============================================================
   NATARAJ NRITYALAY — Master Stylesheet
   Design tokens, base styles, components, pages
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --ivory:        #faf6f0;
  --ivory-deep:   #f2ebe0;
  --burgundy:     #6b1f2a;
  --burgundy-dark:#4e1520;
  --gold:         #b8963e;
  --gold-light:   #d4af5a;
  --gold-pale:    #e8d5a0;
  --charcoal:     #2c2420;
  --charcoal-mid: #4a3c36;
  --dusty-rose:   #e8d5c4;
  --dusty-rose-dark: #d4bba8;
  --white:        #ffffff;
  --text-muted:   #7a6258;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-devanagari: 'Hind', sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  /* Transitions */
  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:  300ms;
  --dur-mid:   500ms;
  --dur-slow:  700ms;
  --dur-reveal:600ms;

  /* Nav */
  --nav-h: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
}

/* --- Custom Cursor --- */
.custom-cursor {
  position: fixed;
  left: -100px;
  top: -100px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
  opacity: 0;
}

.custom-cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transition: transform 300ms var(--ease-silk), border-color 200ms ease;
}

/* Lotus petals as cursor icon */
.custom-cursor::after {
  content: '✿';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: var(--gold);
  line-height: 1;
  transition: transform 300ms var(--ease-silk);
}

.custom-cursor-dot {
  position: fixed;
  left: -100px;
  top: -100px;
  width: 5px;
  height: 5px;
  background: var(--burgundy);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: left 60ms linear, top 60ms linear;
  opacity: 0;
}

body.cursor-active .custom-cursor,
body.cursor-active .custom-cursor-dot {
  opacity: 1;
}

body.cursor-hovering .custom-cursor::before {
  transform: scale(1.4);
  border-color: var(--burgundy);
}

body.cursor-hovering .custom-cursor::after {
  transform: translate(-50%, -50%) rotate(12deg);
}

/* --- Grain Overlay --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: multiply;
}

/* --- Scroll Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(184, 150, 62, 0.2);
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: opacity var(--dur-fast) ease;
}

.nav-logo:hover { opacity: 0.75; }

.nav-logo-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--dur-fast) ease;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-mid) var(--ease-silk);
}

.nav-link:hover,
.nav-link.active {
  color: var(--burgundy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
  transform-origin: center;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 860px;
}

.section-padded {
  padding: var(--space-xl) 0;
}

.section-tinted {
  background-color: var(--dusty-rose);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 30 Q120 50, 100 70 Q80 50, 100 30Z' stroke='%23b8963e' stroke-width='0.4' fill='none' opacity='0.12'/%3E%3Cpath d='M100 50 Q130 70, 100 90 Q70 70, 100 50Z' stroke='%23b8963e' stroke-width='0.3' fill='none' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* --- Section Header --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subheading {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.section-header {
  margin-bottom: var(--space-lg);
}

/* --- Gold Divider --- */
.gold-divider {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.gold-divider--left {
  justify-content: flex-start;
}

.gold-divider--centered {
  justify-content: center;
}

.gold-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gold);
  display: block;
  opacity: 0.6;
}

.gold-divider--centered .gold-line {
  max-width: 120px;
}

.gold-ornament {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

/* --- Shimmer Animation (diya-like pulse) --- */
@keyframes shimmer-glow {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; text-shadow: 0 0 8px rgba(184, 150, 62, 0.5); }
}

.shimmer {
  animation: shimmer-glow 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; }
}

/* --- Typography --- */
.body-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  line-height: 1.85;
  margin-bottom: var(--space-sm);
  max-width: 560px;
}

.prose-block p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--charcoal-mid);
  margin-bottom: 1.4em;
}

.prose-block p:last-child { margin-bottom: 0; }

.devanagari-inline,
.hindi-gloss {
  font-family: var(--font-devanagari);
  font-weight: 300;
}

.hindi-gloss {
  font-size: 0.8em;
  color: var(--text-muted);
  font-style: normal;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 0.85em 2.2em;
  background: var(--burgundy);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--burgundy);
  position: relative;
  overflow: hidden;
  transition: background var(--dur-mid) var(--ease-out),
              color var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
  cursor: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--dur-mid) var(--ease-silk);
  z-index: 0;
}

.btn-primary:hover::before { transform: translateX(0); }

.btn-primary:hover {
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-primary {
  isolation: isolate;
}

.btn-primary span,
.btn-primary:not(:has(span)) {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75em 0;
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--burgundy);
  position: relative;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
  cursor: none;
}

.btn-secondary::after {
  content: ' →';
  opacity: 0;
  transform: translateX(-6px);
  display: inline-block;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }
.btn-secondary:hover::after { opacity: 1; transform: translateX(0); }

.btn-outline {
  display: inline-block;
  padding: 0.75em 1.8em;
  background: transparent;
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--burgundy);
  transition: background var(--dur-mid) var(--ease-out),
              color var(--dur-mid) var(--ease-out);
  cursor: none;
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--gold-light);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-parallax {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(42, 28, 22, 0.92) 0%,
    rgba(42, 28, 22, 0.85) 30%,
    rgba(42, 28, 22, 0.5) 55%,
    rgba(42, 28, 22, 0.15) 75%,
    rgba(42, 28, 22, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-md);
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-top: var(--nav-h);
}

.hero-text {
  max-width: 520px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.hero-quote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ivory);
  opacity: 0.82;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 380px;
  border-left: 2px solid var(--gold);
  padding-left: var(--space-sm);
}

.hero-paisley {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
}

.paisley-svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   PHILOSOPHY STRIP
   ============================================================ */
.philosophy-strip {
  background: var(--burgundy);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M200 50 Q240 30, 280 50 Q240 70, 200 50Z' stroke='%23b8963e' stroke-width='0.5' fill='none' opacity='0.15'/%3E%3Cpath d='M120 50 Q160 30, 200 50 Q160 70, 120 50Z' stroke='%23b8963e' stroke-width='0.5' fill='none' opacity='0.15'/%3E%3C/svg%3E") center/500px repeat-x;
  opacity: 0.4;
  pointer-events: none;
}

.philosophy-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.quote-mark {
  font-size: 1.3em;
  color: var(--gold);
  font-style: normal;
  vertical-align: -0.15em;
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-teaser-text {
  max-width: 520px;
}

.about-teaser-text .section-heading {
  margin-bottom: var(--space-md);
}

.about-teaser-text .body-text {
  margin-bottom: var(--space-md);
}

.image-frame {
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.image-frame--offset {
  padding-bottom: 24px;
  padding-right: 24px;
}

.image-frame--offset img {
  position: relative;
  z-index: 1;
}

.image-frame--offset::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 1.5px solid var(--gold);
  z-index: 0;
  opacity: 0.6;
  transition: opacity var(--dur-mid) ease;
}

.image-frame--offset:hover::after { opacity: 1; }

/* ============================================================
   PILLARS / WHAT WE TEACH
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.pillar-card {
  padding: var(--space-md) var(--space-sm) var(--space-md);
  border: 1px solid rgba(184, 150, 62, 0.3);
  transition: border-color var(--dur-mid) ease,
              box-shadow var(--dur-mid) ease,
              background var(--dur-mid) ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-silk);
}

.pillar-card:hover {
  border-color: rgba(184, 150, 62, 0.7);
  box-shadow: 0 4px 30px rgba(107, 31, 42, 0.08);
  background: rgba(250, 246, 240, 0.6);
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  opacity: 0.85;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.pillar-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

/* ============================================================
   FOUNDER HIGHLIGHT (Homepage strip)
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.founder-image-frame {
  position: relative;
  overflow: visible;
}

.founder-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) sepia(10%);
  transition: filter var(--dur-slow) ease;
}

.founder-image-frame:hover img {
  filter: grayscale(0%) sepia(0%);
}

.founder-image-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--gold);
  opacity: 0.45;
  z-index: -1;
  transition: opacity var(--dur-mid) ease;
}

.founder-image-frame:hover::before { opacity: 0.85; }

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--dusty-rose);
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.cta-strip-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  max-width: 520px;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.paisley-motif {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='100' cy='100' rx='60' ry='90' stroke='%236b1f2a' stroke-width='1.5' fill='none'/%3E%3Cellipse cx='100' cy='100' rx='40' ry='65' stroke='%236b1f2a' stroke-width='1' fill='none'/%3E%3Ccircle cx='100' cy='55' r='12' stroke='%236b1f2a' stroke-width='1' fill='none'/%3E%3Cpath d='M100 10 Q130 40, 100 70 Q70 40, 100 10Z' stroke='%236b1f2a' stroke-width='0.8' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

.paisley-motif--left { left: -60px; }
.paisley-motif--right { right: -60px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  padding: var(--space-lg) var(--space-md);
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ivory);
  letter-spacing: 0.02em;
  margin-bottom: 0.25em;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4em;
}

.footer-devanagari {
  font-family: var(--font-devanagari);
  font-size: 0.9rem;
  color: var(--dusty-rose);
  margin-top: 0.2em;
  opacity: 0.65;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(184, 150, 62, 0.18);
  width: 100%;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(250, 246, 240, 0.55);
  letter-spacing: 0.06em;
  transition: color var(--dur-fast) ease;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.3);
  letter-spacing: 0.04em;
}

/* ============================================================
   PAGE HEADER (Inner pages)
   ============================================================ */
.page-header {
  position: relative;
  height: 65vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-header--minimal {
  height: 40vh;
  min-height: 280px;
  background: var(--burgundy-dark);
  align-items: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42, 28, 22, 0.92) 0%,
    rgba(42, 28, 22, 0.6) 50%,
    rgba(42, 28, 22, 0.35) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg) var(--space-md);
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.page-header--minimal .page-header-content {
  padding: var(--nav-h) var(--space-md) var(--space-md);
  text-align: left;
}

.page-header-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-xs);
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 0.4em;
}

.page-header-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: rgba(250, 246, 240, 0.7);
  letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT — ACADEMY STORY
   ============================================================ */
.academy-story .prose-block {
  margin-top: var(--space-md);
}

.academy-story .prose-block p {
  font-size: 1.15rem;
  line-height: 1.95;
}

/* ============================================================
   ABOUT — FOUNDER FULL
   ============================================================ */
.founder-full-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.founder-portrait-frame {
  position: relative;
}

.founder-portrait-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
}

.portrait-border {
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1.5px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
}

.founder-name-block {
  margin-bottom: var(--space-md);
}

.founder-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.founder-display-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.12;
  margin-bottom: 0.3em;
}

.founder-devanagari {
  font-size: 1rem;
  color: var(--charcoal-mid);
  opacity: 0.75;
  margin-top: 0.3em;
}

.prose-block--founder p {
  font-size: 1.05rem;
  margin-top: var(--space-md);
}

/* ============================================================
   ABOUT — OUR APPROACH
   ============================================================ */
.approach-list {
  list-style: none;
  counter-reset: approach-counter;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-top: var(--space-md);
}

.approach-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  align-items: start;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(184, 150, 62, 0.2);
}

.approach-item:last-child { border-bottom: none; }

.approach-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
  letter-spacing: -0.02em;
}

.approach-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.approach-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  line-height: 1.85;
}

/* ============================================================
   COURSES PAGE
   ============================================================ */
.age-note-inner {
  text-align: center;
}

.age-note-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--charcoal-mid);
  line-height: 1.7;
  max-width: 660px;
  margin: var(--space-md) auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.course-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(184, 150, 62, 0.35);
  padding: var(--space-md);
  background: var(--ivory);
  transition: box-shadow var(--dur-mid) ease, transform var(--dur-mid) ease;
  position: relative;
}

.course-card:hover {
  box-shadow: 0 8px 40px rgba(107, 31, 42, 0.1);
  transform: translateY(-4px);
}

.course-card--featured {
  border-color: var(--burgundy);
  background: var(--ivory-deep);
}

.course-card--featured::before {
  content: 'Most Enrolled';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burgundy);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3em 1em;
}

.course-card-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(184, 150, 62, 0.2);
}

.course-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.65;
  line-height: 1;
}

.course-level {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
}

.course-body {
  flex: 1;
}

.course-descriptor {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.course-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-bottom: var(--space-md);
}

.course-details li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 0.15em;
}

.detail-value {
  color: var(--charcoal-mid);
  line-height: 1.55;
}

.course-card-footer {
  margin-top: auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-block {
  margin-bottom: var(--space-lg);
}

.contact-info .section-heading {
  margin-bottom: var(--space-md);
}

.contact-detail {
  margin-bottom: var(--space-md);
}

.contact-detail-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3em;
}

.contact-detail-value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
}

.contact-detail-value a {
  color: var(--burgundy);
  transition: color var(--dur-fast) ease;
}

.contact-detail-value a:hover { color: var(--gold); }

.contact-quote {
  margin-top: var(--space-lg);
}

.contact-devanagari {
  font-family: var(--font-devanagari);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin: var(--space-sm) 0 0.3em;
  font-weight: 400;
}

.contact-devanagari-gloss {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Contact Form */
.form-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-mid);
  font-style: italic;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
}

.form-input {
  padding: 0.9em var(--space-sm);
  background: transparent;
  border: 1px solid rgba(107, 31, 42, 0.25);
  border-bottom: 1.5px solid var(--charcoal-mid);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--dur-fast) ease,
              background var(--dur-fast) ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-input:focus {
  border-color: var(--burgundy);
  background: rgba(107, 31, 42, 0.03);
}

.form-select {
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23b8963e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 12px;
  padding-right: 2.5em;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.form-error {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--burgundy);
  font-style: italic;
  min-height: 1.2em;
}

.form-submit {
  padding-top: var(--space-xs);
}

.btn-submit {
  padding: 1em 2.8em;
  position: relative;
}

.btn-submit .btn-sending {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
}

.btn-submit.is-sending .btn-text { opacity: 0; }
.btn-submit.is-sending .btn-sending { display: flex; }

.form-success {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid rgba(184, 150, 62, 0.4);
  background: rgba(184, 150, 62, 0.06);
}

.form-success.is-visible {
  display: flex;
}

.success-icon {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.form-success p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .about-teaser-grid { gap: var(--space-lg); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 280px 1fr; gap: var(--space-lg); }
  .founder-full-grid { grid-template-columns: 300px 1fr; gap: var(--space-lg); }
  .courses-grid { grid-template-columns: 1fr; max-width: 560px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }

  body { cursor: auto; }

  .custom-cursor,
  .custom-cursor-dot { display: none; }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--dur-mid) var(--ease-out);
    z-index: 99;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--charcoal);
  }

  /* Hamburger → X */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .hero-vignette {
    background: linear-gradient(
      to bottom,
      rgba(42, 28, 22, 0.7) 0%,
      rgba(42, 28, 22, 0.85) 60%,
      rgba(42, 28, 22, 0.95) 100%
    );
  }

  .hero-content { align-items: flex-end; padding-bottom: var(--space-xl); }

  .hero-paisley { display: none; }

  .hero-title { font-size: clamp(3rem, 14vw, 4.5rem); }

  .about-teaser-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-teaser-image { order: -1; }

  .image-frame img { height: 320px; }

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

  .founder-grid,
  .founder-full-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .founder-image-frame img,
  .founder-portrait-frame img { height: 380px; }

  .approach-item {
    grid-template-columns: 60px 1fr;
    gap: var(--space-sm);
  }

  .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }

  .section-padded { padding: var(--space-lg) 0; }

  .btn-primary, .btn-outline { cursor: auto; }
  .btn-secondary { cursor: auto; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.5rem, 16vw, 3.5rem); }
  .courses-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
