/* ============================================
   SHRI DEVI NRITHYARADHANA KALA KENDRA
   MASTER STYLESHEET
   ============================================ */

/* ============================================
   1. CSS RESET & BASE STYLES
   Resets browser defaults and sets foundational
   styles for consistent rendering across browsers.
   ============================================ */

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

:root {
  /* ============================================
     COLOUR PALETTE
     A sophisticated Indian classical palette:
     deep maroon, temple red, antique gold, ivory,
     cream, sand, charcoal, and muted green.
     ============================================ */

  /* Primary — Deep maroon / burgundy */
  --maroon-900: #3a0a0e;
  --maroon-800: #4d0d14;
  --maroon-700: #6b121f;
  --maroon-600: #8a1a2b;
  --maroon-500: #a8223a;
  --maroon-400: #c4364f;

  /* Temple red */
  --red-700: #7a1a1a;
  --red-600: #9a2222;
  --red-500: #b8302f;

  /* Antique gold */
  --gold-900: #6b531f;
  --gold-800: #8a6b28;
  --gold-700: #a8823a;
  --gold-600: #c19a4b;
  --gold-500: #d4af5e;
  --gold-400: #e0c074;
  --gold-300: #ecd09a;
  --gold-200: #f3dfba;

  /* Warm ivory / cream / sand */
  --ivory: #faf6ef;
  --cream: #f5eddf;
  --sand: #e8dcc8;
  --sand-dark: #d4c4a8;

  /* Charcoal / dark neutrals */
  --charcoal-900: #1a1512;
  --charcoal-800: #2a221e;
  --charcoal-700: #3a302a;
  --charcoal-600: #4e423a;

  /* Muted green */
  --green-700: #3d5a3d;
  --green-600: #4e7a4e;
  --green-500: #6b9a6b;

  /* Semantic */
  --color-bg: var(--ivory);
  --color-bg-alt: var(--cream);
  --color-text: var(--charcoal-800);
  --color-heading: var(--maroon-800);
  --color-accent: var(--gold-700);
  --color-link: var(--maroon-600);
  --color-link-hover: var(--maroon-500);
  --color-border: var(--sand-dark);
  --color-white: #ffffff;
  --color-error: #b8302f;
  --color-success: var(--green-600);

  /* ============================================
     TYPOGRAPHY
     ============================================ */

  --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font sizes — fluid typography */
  --fs-hero: clamp(2.5rem, 6vw, 5.5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --fs-h3: clamp(1.35rem, 2.5vw, 2rem);
  --fs-h4: clamp(1.15rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;
  --fs-tiny: 0.75rem;

  /* Line heights */
  --lh-heading: 1.2;
  --lh-body: 1.6;

  /* Font weights */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* ============================================
     SPACING — 8px system
     ============================================ */

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* ============================================
     LAYOUT
     ============================================ */

  --container-max: 1280px;
  --container-narrow: 860px;
  --container-wide: 1600px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* ============================================
     TRANSITIONS
     ============================================ */

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease);
  --transition: 0.35s var(--ease);
  --transition-slow: 0.6s var(--ease-out);

  /* ============================================
     SHADOWS
     ============================================ */

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(193, 154, 75, 0.25);
}

/* ============================================
   BASE ELEMENTS
   ============================================ */

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

p {
  margin-bottom: var(--space-2);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   ACCESSIBILITY — Focus states
   Visible focus outline for keyboard navigation
   ============================================ */

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

/* Skip link for screen readers */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--maroon-800);
  color: var(--ivory);
  padding: var(--space-2) var(--space-3);
  z-index: 9999;
  font-size: var(--fs-small);
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  top: 0;
  color: var(--ivory);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

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

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

/* Gold ornamental divider */
.divider-gold {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
  margin: var(--space-2) auto;
  border: none;
}

.divider-gold--left {
  margin-left: 0;
  margin-right: auto;
}

/* Section label — small uppercase tracking */
.section-label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-700);
  margin-bottom: var(--space-2);
  display: inline-block;
}

/* ============================================
   2. BUTTONS
   Premium button styles with gold and maroon
   variants for calls-to-action throughout the site.
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  line-height: 1;
  border: 1.5px solid transparent;
}

/* Primary — solid maroon */
.btn--primary {
  background: var(--maroon-700);
  color: var(--ivory);
  border-color: var(--maroon-700);
}

.btn--primary:hover {
  background: var(--maroon-600);
  border-color: var(--maroon-600);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Gold — solid antique gold */
.btn--gold {
  background: var(--gold-700);
  color: var(--charcoal-900);
  border-color: var(--gold-700);
}

.btn--gold:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--charcoal-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Outline — gold border on transparent */
.btn--outline {
  background: transparent;
  color: var(--gold-600);
  border-color: var(--gold-600);
}

.btn--outline:hover {
  background: var(--gold-600);
  color: var(--charcoal-900);
  transform: translateY(-2px);
}

/* Light outline — for dark backgrounds */
.btn--outline-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 237, 223, 0.6);
}

.btn--outline-light:hover {
  background: rgba(245, 237, 223, 0.1);
  border-color: var(--ivory);
  color: var(--ivory);
}

/* Phone button — with icon */
.btn--phone {
  background: var(--green-600);
  color: var(--ivory);
  border-color: var(--green-600);
}

.btn--phone:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   3. HEADER / NAVIGATION
   Controls the appearance, spacing and responsive
   behaviour of the website navigation. Shared
   across all pages.
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Header becomes more solid on scroll */
.header.is-scrolled {
  background: rgba(250, 246, 239, 0.98);
  border-bottom-color: var(--sand-dark);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: var(--container-wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Logo / monogram area */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.header__monogram {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon-700);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  border: 1.5px solid var(--gold-600);
  flex-shrink: 0;
}

.header__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__name-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: var(--fw-semibold);
  color: var(--maroon-800);
  letter-spacing: 0.01em;
}

.header__name-sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-700);
}

/* Navigation links */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__nav-link {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--charcoal-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-600);
  transition: width var(--transition);
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--maroon-700);
}

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

/* Enquire button in header */
.header__cta {
  flex-shrink: 0;
  padding: 0.65rem 1.5rem;
  font-size: var(--fs-tiny);
}

/* Hamburger button — hidden on desktop */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.header__toggle:hover {
  background: var(--cream);
}

.header__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--maroon-800);
  border-radius: 2px;
  transition: all var(--transition);
  margin: 0 auto;
}

/* Hamburger becomes X when menu is open */
.header.is-menu-open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-menu-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAVIGATION PANEL
   Slide-in menu for smaller screens
   ============================================ */

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--ivory);
  border-top: 1px solid var(--sand-dark);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-4) 0;
}

.mobile-nav__link {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: var(--fw-medium);
  color: var(--maroon-800);
  border-bottom: 1px solid var(--sand);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: var(--gold-700);
  padding-left: var(--space-2);
}

.mobile-nav__link.is-active {
  border-bottom-color: var(--gold-600);
}

.mobile-nav__cta {
  margin: var(--space-5) var(--space-4);
  padding: 1rem 2rem;
  width: calc(100% - var(--space-4) * 2);
}

.mobile-nav__contact {
  margin-top: auto;
  padding: var(--space-4);
  border-top: 1px solid var(--sand-dark);
}

.mobile-nav__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: var(--fs-body);
  color: var(--charcoal-700);
}

.mobile-nav__contact-item a {
  color: var(--charcoal-700);
}

.mobile-nav__contact-item a:hover {
  color: var(--maroon-600);
}

/* ============================================
   4. HERO SECTION
   Full-width cinematic hero for the home page
   with a Bharatanatyam dancer image, overlay and
   heading text.
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--maroon-900);
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}

/* Gradient overlay for text readability */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg,
      rgba(58, 10, 14, 0.65) 0%,
      rgba(58, 10, 14, 0.4) 40%,
      rgba(58, 10, 14, 0.75) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-10) var(--space-4) var(--space-8);
}

.hero__label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-400);
  margin-bottom: var(--space-3);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: var(--fw-semibold);
  color: var(--ivory);
  line-height: 1.05;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--fw-light);
  font-style: italic;
  color: var(--gold-300);
  margin-bottom: var(--space-2);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero__text {
  font-size: var(--fs-body);
  color: rgba(245, 237, 223, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-5);
  line-height: var(--lh-body);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 1s forwards;
}

/* Scroll indicator at bottom of hero */
.hero__scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--gold-400);
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold-400);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ivory);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================
   5. PAGE HERO (Interior pages)
   Smaller hero banner for non-home pages
   ============================================ */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--maroon-900);
  padding-top: var(--header-height);
}

.page-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg,
      rgba(58, 10, 14, 0.7) 0%,
      rgba(58, 10, 14, 0.6) 50%,
      rgba(58, 10, 14, 0.85) 100%
    );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

.page-hero__label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-400);
  margin-bottom: var(--space-2);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: var(--fw-semibold);
  color: var(--ivory);
  margin-bottom: var(--space-2);
}

.page-hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: var(--fw-light);
  font-style: italic;
  color: var(--gold-300);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: rgba(245, 237, 223, 0.7);
}

.breadcrumb a {
  color: var(--gold-400);
}

.breadcrumb a:hover {
  color: var(--ivory);
}

.breadcrumb__separator {
  color: var(--gold-600);
  opacity: 0.6;
}

/* ============================================
   6. SECTION COMPONENTS
   Reusable section building blocks
   ============================================ */

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

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--maroon-900);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--ivory);
}

.section--dark .section-label {
  color: var(--gold-500);
}

.section--dark p {
  color: rgba(245, 237, 223, 0.8);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-7);
}

.section-header__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-2);
}

.section-header__text {
  font-size: var(--fs-body);
  color: var(--charcoal-600);
  line-height: var(--lh-body);
}

.section--dark .section-header__text {
  color: rgba(245, 237, 223, 0.75);
}

/* ============================================
   7. INTRODUCTION SECTION (Home)
   Split image/text layout introducing Bharatanatyam
   ============================================ */

.intro {
  padding: var(--space-9) 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.intro__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.intro__image-wrap:hover .intro__image {
  transform: scale(1.03);
}

/* Decorative gold frame offset */
.intro__image-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1.5px solid var(--gold-600);
  border-radius: var(--radius-lg);
  z-index: -1;
  pointer-events: none;
}

.intro__content .section-label {
  margin-bottom: var(--space-2);
}

.intro__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}

.intro__text {
  margin-bottom: var(--space-3);
  color: var(--charcoal-600);
  line-height: var(--lh-body);
}

.intro__actions {
  margin-top: var(--space-4);
}

/* ============================================
   8. WHY LEARN BHARATANATYAM (Home)
   Card grid explaining the value of learning
   ============================================ */

.why {
  padding: var(--space-9) 0;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.why__card {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--sand);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-600);
}

.why__card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold-600);
  color: var(--maroon-700);
}

.why__card-icon svg {
  width: 28px;
  height: 28px;
}

.why__card-title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-1);
  color: var(--maroon-800);
}

.why__card-text {
  font-size: var(--fs-small);
  color: var(--charcoal-600);
  line-height: var(--lh-body);
  margin: 0;
}

/* ============================================
   9. TEACHER PREVIEW (Home)
   Premium teacher introduction with large photo
   ============================================ */

.teacher-preview {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.teacher-preview__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-7);
  align-items: center;
}

.teacher-preview__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}

.teacher-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.teacher-preview__image-wrap:hover .teacher-preview__image {
  transform: scale(1.03);
}

/* Gold corner accent */
.teacher-preview__image-wrap::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-right: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  border-radius: 0 0 var(--radius-lg) 0;
  pointer-events: none;
}

.teacher-preview__name {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-1);
  color: var(--maroon-800);
}

.teacher-preview__role {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--gold-700);
  margin-bottom: var(--space-3);
}

.teacher-preview__bio {
  color: var(--charcoal-600);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
}

.teacher-preview__actions {
  margin-top: var(--space-4);
}

/* Placeholder text styling */
.placeholder-text {
  font-style: italic;
  color: var(--charcoal-500, #6b5e54);
  background: var(--sand);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-600);
  display: block;
  margin-bottom: var(--space-3);
}

/* ============================================
   10. GALLERY PREVIEW (Home)
   Asymmetric grid of gallery images with lightbox
   ============================================ */

.gallery-preview {
  padding: var(--space-9) 0;
}

.gallery-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

/* Asymmetric layout — some images span 2 rows/cols */
.gallery-preview__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--sand);
}

.gallery-preview__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-preview__item--wide {
  grid-column: span 2;
}

.gallery-preview__item--tall {
  grid-row: span 2;
}

.gallery-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-preview__item:hover .gallery-preview__image {
  transform: scale(1.08);
}

/* Overlay on hover */
.gallery-preview__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(58, 10, 14, 0.5) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gallery-preview__item:hover::after {
  opacity: 1;
}

.gallery-preview__actions {
  text-align: center;
}

/* ============================================
   11. VIDEO PREVIEW (Home)
   YouTube video embeds with lazy loading facade
   ============================================ */

.video-preview {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.video-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--sand);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Video iframe wrapper — 16:9 aspect ratio */
.video-card__embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--charcoal-900);
}

.video-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video facade — shows thumbnail before click */
.video-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-900);
  z-index: 2;
}

.video-facade__thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition-slow);
}

.video-facade:hover .video-facade__thumbnail {
  opacity: 0.85;
  transform: scale(1.03);
}

.video-facade__play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(168, 130, 58, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  border: 2px solid var(--gold-400);
}

.video-facade:hover .video-facade__play {
  transform: scale(1.1);
  background: var(--gold-600);
}

.video-facade__play svg {
  width: 24px;
  height: 24px;
  fill: var(--ivory);
  margin-left: 3px;
}

.video-card__body {
  padding: var(--space-3);
}

.video-card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-1);
  color: var(--maroon-800);
}

.video-card__desc {
  font-size: var(--fs-small);
  color: var(--charcoal-600);
  margin: 0;
  line-height: var(--lh-body);
}

.video-preview__actions {
  text-align: center;
}

/* ============================================
   12. CALL TO ACTION SECTION
   Strong but elegant CTA at end of home page
   ============================================ */

.cta-section {
  position: relative;
  padding: var(--space-10) 0;
  background: var(--maroon-900);
  text-align: center;
  overflow: hidden;
}

/* Subtle mandala-like background pattern */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  max-width: 100%;
  max-height: 100%;
  background-image: radial-gradient(circle, transparent 40%, rgba(193, 154, 75, 0.04) 41%, transparent 42%),
    radial-gradient(circle, transparent 30%, rgba(193, 154, 75, 0.04) 31%, transparent 32%),
    radial-gradient(circle, transparent 20%, rgba(193, 154, 75, 0.04) 21%, transparent 22%);
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.cta-section__title {
  font-size: var(--fs-h1);
  color: var(--ivory);
  margin-bottom: var(--space-3);
}

.cta-section__text {
  font-size: var(--fs-body);
  color: rgba(245, 237, 223, 0.8);
  margin-bottom: var(--space-5);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   13. ABOUT PAGE SECTIONS
   ============================================ */

.about-story {
  padding: var(--space-9) 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.about-story__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-story__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story__content .section-label {
  margin-bottom: var(--space-2);
}

.about-story__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}

.about-story__text {
  color: var(--charcoal-600);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
}

/* Approach section */
.about-approach {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.about-approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.about-approach__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  order: 2;
}

.about-approach__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-approach__content .section-label {
  margin-bottom: var(--space-2);
}

.about-approach__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-3);
}

.about-approach__text {
  color: var(--charcoal-600);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
}

/* Bharatanatyam info section */
.about-dance {
  padding: var(--space-9) 0;
}

.about-dance__content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}

.about-dance__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-2);
}

.about-dance__text {
  color: var(--charcoal-600);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
  font-size: 1.0625rem;
}

/* Values cards */
.values {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.values__card {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--sand);
  transition: transform var(--transition), box-shadow var(--transition);
}

.values__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.values__card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold-600);
  color: var(--maroon-700);
}

.values__card-icon svg {
  width: 24px;
  height: 24px;
}

.values__card-title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-1);
  color: var(--maroon-800);
}

.values__card-text {
  font-size: var(--fs-small);
  color: var(--charcoal-600);
  margin: 0;
  line-height: var(--lh-body);
}

/* ============================================
   14. TEACHER PROFILE PAGE
   ============================================ */

.teacher-profile {
  padding: var(--space-9) 0;
}

.teacher-profile__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-7);
  align-items: start;
}

.teacher-profile__image-wrap {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}

.teacher-profile__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-profile__name {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-1);
}

.teacher-profile__role {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--gold-700);
  margin-bottom: var(--space-4);
}

.teacher-profile__section {
  margin-bottom: var(--space-6);
}

.teacher-profile__section-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid var(--gold-600);
  display: inline-block;
}

.teacher-profile__section-text {
  color: var(--charcoal-600);
  line-height: var(--lh-body);
}

/* ============================================
   15. GALLERY PAGE
   Masonry-style grid with filter buttons and
   lightbox with keyboard navigation
   ============================================ */

.gallery-page {
  padding: var(--space-7) 0 var(--space-9);
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.gallery-filter {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-600);
  background: transparent;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter:hover {
  border-color: var(--gold-600);
  color: var(--maroon-700);
}

.gallery-filter.is-active {
  background: var(--maroon-700);
  color: var(--ivory);
  border-color: var(--maroon-700);
}

/* Masonry grid */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-2);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--sand);
}

.gallery-item__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(58, 10, 14, 0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  color: var(--ivory);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  transform: translateY(10px);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-item__caption {
  transform: translateY(0);
}

/* ============================================
   LIGHTBOX
   Full-screen image viewer with prev/next/close
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 21, 18, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition);
}

.lightbox.is-open .lightbox__image {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 237, 223, 0.1);
  color: var(--ivory);
  border: 1px solid rgba(245, 237, 223, 0.3);
  transition: all var(--transition-fast);
  z-index: 2;
}

.lightbox__close:hover {
  background: rgba(245, 237, 223, 0.2);
  transform: rotate(90deg);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 237, 223, 0.1);
  color: var(--ivory);
  border: 1px solid rgba(245, 237, 223, 0.3);
  transition: all var(--transition-fast);
  z-index: 2;
}

.lightbox__nav:hover {
  background: rgba(193, 154, 75, 0.3);
  border-color: var(--gold-500);
}

.lightbox__nav svg {
  width: 28px;
  height: 28px;
}

.lightbox__prev {
  left: var(--space-4);
}

.lightbox__next {
  right: var(--space-4);
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-400);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  z-index: 2;
}

.lightbox__caption {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-4);
  right: var(--space-4);
  text-align: center;
  color: rgba(245, 237, 223, 0.8);
  font-size: var(--fs-small);
  z-index: 2;
}

/* ============================================
   16. VIDEOS PAGE
   Responsive video card grid
   ============================================ */

.videos-page {
  padding: var(--space-7) 0 var(--space-9);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* ============================================
   17. CONTACT PAGE
   ============================================ */

.contact-page {
  padding: var(--space-7) 0 var(--space-9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-7);
  align-items: start;
}

/* Contact info sidebar */
.contact-info {
  padding: var(--space-5);
  background: var(--maroon-900);
  border-radius: var(--radius-lg);
  color: var(--cream);
}

.contact-info__title {
  font-size: var(--fs-h3);
  color: var(--ivory);
  margin-bottom: var(--space-4);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(193, 154, 75, 0.2);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(193, 154, 75, 0.15);
  color: var(--gold-400);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: var(--fs-body);
  color: var(--ivory);
}

.contact-info__value a {
  color: var(--ivory);
}

.contact-info__value a:hover {
  color: var(--gold-400);
}

/* Contact form */
.contact-form {
  padding: var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-sm);
}

.contact-form__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-1);
}

.contact-form__subtitle {
  font-size: var(--fs-small);
  color: var(--charcoal-600);
  margin-bottom: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-3);
}

.form-group__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--charcoal-700);
  margin-bottom: var(--space-1);
  letter-spacing: 0.02em;
}

.form-group__label .required {
  color: var(--color-error);
}

.form-group__input,
.form-group__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-body);
  color: var(--charcoal-800);
  background: var(--ivory);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group__input:focus,
.form-group__textarea:focus {
  outline: none;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(193, 154, 75, 0.15);
}

.form-group__textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-sans);
}

/* Form validation states */
.form-group__input.is-invalid,
.form-group__textarea.is-invalid {
  border-color: var(--color-error);
}

.form-group__error {
  display: none;
  font-size: var(--fs-tiny);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-group__error.is-visible {
  display: block;
}

/* Form success message */
.form-success {
  display: none;
  padding: var(--space-3);
  background: rgba(107, 154, 107, 0.1);
  border: 1px solid var(--green-600);
  border-radius: var(--radius-sm);
  color: var(--green-700);
  font-size: var(--fs-small);
  margin-bottom: var(--space-3);
}

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

/* Map placeholder */
.contact-map {
  margin-top: var(--space-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand-dark);
  background: var(--sand);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-7);
}

.contact-map__placeholder {
  color: var(--charcoal-600);
}

.contact-map__placeholder svg {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-2);
  display: block;
  color: var(--gold-700);
}

/* ============================================
   18. FOOTER
   Shared footer across all pages
   ============================================ */

.footer {
  background: var(--charcoal-900);
  color: rgba(245, 237, 223, 0.7);
  padding: var(--space-8) 0 var(--space-4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer__col-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--ivory);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid rgba(193, 154, 75, 0.3);
}

.footer__about {
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
}

.footer__monogram {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.footer__monogram-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--maroon-700);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  border: 1.5px solid var(--gold-600);
}

.footer__monogram-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--ivory);
  line-height: 1.2;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__link {
  font-size: var(--fs-small);
  color: rgba(245, 237, 223, 0.7);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold-400);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
}

.footer__contact-item a {
  color: rgba(245, 237, 223, 0.85);
}

.footer__contact-item a:hover {
  color: var(--gold-400);
}

.footer__contact-icon {
  flex-shrink: 0;
  color: var(--gold-600);
  display: flex;
}

.footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

/* Social links */
.footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 237, 223, 0.08);
  color: rgba(245, 237, 223, 0.7);
  border: 1px solid rgba(245, 237, 223, 0.15);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--maroon-700);
  color: var(--gold-400);
  border-color: var(--gold-600);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid rgba(245, 237, 223, 0.1);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__copyright {
  font-size: var(--fs-small);
  color: rgba(245, 237, 223, 0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-3);
}

.footer__legal-link {
  font-size: var(--fs-small);
  color: rgba(245, 237, 223, 0.5);
}

.footer__legal-link:hover {
  color: var(--gold-400);
}

/* ============================================
   19. SCROLL ANIMATIONS
   Subtle fade-in on scroll using IntersectionObserver
   Elements with .reveal class animate when visible
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Staggered children */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================
   20. KEYFRAME ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============================================
   21. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */

@media (max-width: 1024px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-preview__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .video-preview__grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    columns: 2;
  }

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

/* ============================================
   22. RESPONSIVE — MOBILE (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-9: 4rem;
    --space-10: 5rem;
  }

  /* Show hamburger, hide desktop nav */
  .header__nav,
  .header__cta {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .header__name-main {
    font-size: 1rem;
  }

  .header__name-sub {
    font-size: 0.65rem;
  }

  .header__monogram {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  /* Stack all split layouts */
  .intro__grid,
  .about-story__grid,
  .about-approach__grid,
  .teacher-preview__grid,
  .teacher-profile__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .about-approach__image-wrap {
    order: 0;
  }

  .teacher-profile__image-wrap {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Single column grids */
  .why__grid,
  .values__grid,
  .video-preview__grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .why__card,
  .values__card {
    padding: var(--space-4) var(--space-3);
  max-width: 400px;
    margin: 0 auto;
  width: 100%;
  }

  /* Gallery — 2 columns */
  .gallery-preview__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-preview__item--large {
    grid-column: span 2;
  }

  .gallery-grid {
    columns: 2;
    column-gap: var(--space-1);
  }

  /* Contact — stack */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }

  .footer__monogram {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Hero adjustments */
  .hero__content {
    padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Lightbox nav buttons smaller on mobile */
  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__prev { left: var(--space-2); }
  .lightbox__next { right: var(--space-2); }
}

/* ============================================
   23. RESPONSIVE — SMALL MOBILE (max-width: 420px)
   ============================================ */

@media (max-width: 420px) {
  .container {
    padding: 0 var(--space-3);
  }

  .gallery-preview__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-preview__item--large,
  .gallery-preview__item--wide {
    grid-column: span 1;
  }

  .gallery-grid {
    columns: 1;
  }

  .header__name-sub {
    display: none;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

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

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-tiny);
  }
}

/* ============================================
   24. REDUCED MOTION
   Respect user preference for reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__label,
  .hero__title,
  .hero__subtitle,
  .hero__text,
  .hero__actions,
  .hero__scroll {
    opacity: 1;
    animation: none;
  }
}

/* ============================================
   25. PRINT STYLES
   ============================================ */

@media print {
  .header,
  .mobile-nav,
  .footer,
  .hero__scroll,
  .lightbox,
  .video-facade__play {
    display: none !important;
  }

  .hero {
    min-height: auto;
    color: var(--charcoal-900);
  }

  body {
    background: white;
    color: black;
  }
}
