/* ─────────────────────────────────────────────────────────
   LAASYA ACADEMY — Premium Design System
   ───────────────────────────────────────────────────────── */

/* ── Tokens ── */
:root {
  --gold:          #D4AF37;
  --gold-light:    #E5A823;
  --gold-dark:     #8A6928;
  --cream:         #FFFDF6;
  --ink:           #09040F;       /* Obsidian Midnight Indigo */
  --ink-mid:       #150C1F;       /* Deep Royal Purple-Slate */
  --ink-soft:      #241535;       /* Rich Dark Violet */
  --muted:         #8F7E97;       /* Elegant Grey-Lavender */
  --muted-light:   #B6A8BF;       /* Light Grey-Lavender */
  --white:         #ffffff;
  --border:        rgba(212, 175, 55, 0.12);
  --border-hover:  rgba(212, 175, 55, 0.35);

  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Jost', system-ui, sans-serif;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h:         88px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body.laasya-home-body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}
body.laasya-home-body img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.laasya-home-body a { color: inherit; text-decoration: none; }
body.laasya-home-body ul { list-style: none; }

/* ── Scrollbar ── */
.laasya-home-body::-webkit-scrollbar { width: 3px; }
.laasya-home-body::-webkit-scrollbar-track { background: var(--ink); }
.laasya-home-body::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ─────────────────────────────────────────────────────────
   CUSTOM CURSOR
   ───────────────────────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.12s linear, width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}
body.laasya-home-body:has(a:hover) .cursor, body.laasya-home-body:has(button:hover) .cursor { width: 16px; height: 16px; }
body.laasya-home-body:has(a:hover) .cursor-follower, body.laasya-home-body:has(button:hover) .cursor-follower {
  width: 56px; height: 56px; border-color: rgba(201,168,76,0.8);
}

/* ─────────────────────────────────────────────────────────
   LOADER
   ───────────────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-in-out), visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner {
  width: 80px; height: 80px; position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
}
.loader-line-wrap {
  position: absolute; inset: 0;
  animation: loader-spin 3s linear infinite;
}
.loader-line-wrap:nth-child(2) { animation-delay: -0.6s; }
.loader-line-wrap:nth-child(3) { animation-delay: -1.2s; }
.loader-line-wrap:nth-child(4) { animation-delay: -1.8s; }
.loader-line-wrap:nth-child(5) { animation-delay: -2.4s; }
.loader-line {
  height: 3px; width: 50%; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold));
  border-radius: 2px;
  transform-origin: center right;
  transform: translateY(-50%);
  position: absolute; top: 50%;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
.loader-text {
  font-family: var(--font-serif);
  font-size: 1.2rem; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase;
  animation: loader-pulse 1.5s ease-in-out infinite;
}
@keyframes loader-pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ─────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────── */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  transition: background 0.5s var(--ease-out), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav-header.scrolled {
  background: rgba(9, 4, 15, 0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav {
  max-width: 1400px; margin: 0 auto;
  padding: 0 3rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  cursor: none;
}
.nav-logo-symbol {
  font-family: var(--font-serif);
  font-size: 1.6rem; color: var(--gold); line-height: 1;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--cream);
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav-link {
  font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-light);
  transition: color 0.3s;
  cursor: none;
}
.nav-link:hover { color: var(--cream); }
.nav-link.nav-cta {
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}
.nav-link.nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--cream); transition: all 0.3s;
}

/* ─────────────────────────────────────────────────────────
   MOBILE MENU
   ───────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { text-align: center; }
.mobile-link {
  display: block; padding: 1.2rem 3rem;
  font-family: var(--font-serif);
  font-size: 2.4rem; font-style: italic;
  color: var(--muted-light);
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--gold); }

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 700px;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero_bharatanatyam.png');
  background-size: cover; background-position: center 20%;
  transform: scale(1.08);
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9, 4, 15, 0.88) 0%,
    rgba(9, 4, 15, 0.55) 55%,
    rgba(9, 4, 15, 0.15) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 6vw;
  max-width: 900px;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0; transform: translateY(16px);
  animation: reveal-in 0.8s var(--ease-out) 1.2s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 9vw, 9rem);
  font-weight: 300; line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}
.hero-title-line {
  display: block;
  opacity: 0; transform: translateY(60px);
  animation: reveal-in 1s var(--ease-out) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 1.4s; }
.hero-title-line:nth-child(2) { animation-delay: 1.55s; }
.hero-title-line:nth-child(3) { animation-delay: 1.7s; }
.hero-title .italic { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1rem; line-height: 1.7; color: var(--muted-light);
  max-width: 500px; margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(20px);
  animation: reveal-in 0.9s var(--ease-out) 1.9s forwards;
}
.hero-actions {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: reveal-in 0.9s var(--ease-out) 2.05s forwards;
}

/* Shared buttons */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 1rem 2.4rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: none;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.3);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 1rem 2.4rem;
  border: 1px solid rgba(244,237,225,0.2);
  color: var(--cream);
  font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 400;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
  cursor: none;
}
.btn-ghost:hover {
  background: rgba(244,237,225,0.05);
  border-color: rgba(244,237,225,0.4);
}

.hero-scroll-hint {
  position: absolute; bottom: 3rem; left: 6vw; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
  opacity: 0; animation: reveal-in 1s var(--ease-out) 2.4s forwards;
}
.hero-scroll-hint span {
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.hero-scroll-line {
  width: 1px; height: 60px; background: var(--muted);
  animation: scroll-line 2s ease-in-out 2.4s infinite;
  transform-origin: top;
}
@keyframes scroll-line { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.3); opacity: 0.4; } }

.hero-stats {
  position: absolute; bottom: 3rem; right: 6vw; z-index: 2;
  display: flex; align-items: center; gap: 2.5rem;
  opacity: 0; animation: reveal-in 1s var(--ease-out) 2.2s forwards;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.hero-stat-div { width: 1px; height: 40px; background: var(--border); }

@keyframes reveal-in { to { opacity: 1; transform: none; } }

/* ── Marquee Ticker ── */
.marquee-bar {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink-mid);
  padding: 1.2rem 0;
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.marquee-sep { color: var(--gold-dark) !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Section Headings ── */
.section-eyebrow {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem;
  text-align: inherit;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300; line-height: 1.12;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.centered { text-align: center; }

/* ── About ── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}
.about-image-side {
  position: relative; overflow: hidden;
  background: var(--ink-soft);
}
.about-img-wrap {
  position: absolute; inset: 0;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-img-caption {
  position: absolute; bottom: 2rem; left: 2rem;
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(244,237,225,0.5);
}
.about-content-side {
  padding: clamp(4rem,10vw,8rem) clamp(3rem,6vw,6rem);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink-mid);
  position: relative;
  overflow: hidden;
}
.about-content-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/mandala_pattern.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 500px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}
.about-content-side > * {
  position: relative;
  z-index: 1;
}
.about-body {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--muted-light); margin-bottom: 1.5rem;
}
.about-body em { color: var(--cream); font-style: italic; }
.about-feature { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about-feat-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s;
}
.about-feat-item:hover { border-color: var(--border-hover); }
.feat-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.about-feat-item strong { display: block; font-size: 0.9rem; letter-spacing: 0.05em; color: var(--cream); margin-bottom: 0.25rem; }
.about-feat-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ── Disciplines ── */
.disciplines { padding: clamp(5rem,10vw,9rem) clamp(1.5rem,5vw,5rem); }
.disciplines-header { text-align: center; margin-bottom: clamp(3rem,6vw,5rem); }
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  max-width: 1400px; margin: 0 auto;
}
.disc-card {
  background: var(--ink-mid);
  display: flex; flex-direction: column;
  transition: background 0.4s;
}
.disc-card:hover { background: var(--ink-soft); }
.disc-card-media {
  position: relative; height: 320px; overflow: hidden;
}
.disc-card-media img {
  transition: transform 0.8s var(--ease-out);
  object-position: center top;
}
.disc-card:hover .disc-card-media img { transform: scale(1.06); }
.disc-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink-mid) 0%, transparent 60%);
}
.disc-card-body {
  padding: 2rem 2.4rem 3rem;
  flex: 1; display: flex; flex-direction: column;
}
.disc-num {
  font-family: var(--font-serif);
  font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--gold-dark); margin-bottom: 1rem;
}
.disc-card-body h3 {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 300;
  color: var(--cream); margin-bottom: 1rem;
}
.disc-card-body p {
  font-size: 0.88rem; line-height: 1.8;
  color: var(--muted); margin-bottom: 1.5rem;
  flex: 1;
}
.disc-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.disc-tags li {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2px; color: var(--muted-light);
  transition: border-color 0.3s, color 0.3s;
}
.disc-card:hover .disc-tags li { border-color: var(--border-hover); color: var(--cream); }
.disc-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  margin-top: auto;
  transition: gap 0.3s;
}
.disc-link:hover { gap: 1rem; }
.disc-link span { transition: transform 0.3s var(--ease-out); }
.disc-link:hover span { transform: translateX(4px); }

/* ── Philosophy Fullscreen Quote ── */
.philosophy {
  position: relative; overflow: hidden;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
}
.philosophy-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero_bharatanatyam.png');
  background-size: cover; background-position: center 40%;
  filter: blur(2px);
  transform: scale(1.06);
}
.philosophy-overlay {
  position: absolute; inset: 0;
  background: rgba(9, 4, 15, 0.82);
}
.philosophy-content {
  position: relative; z-index: 2;
  text-align: center; padding: 4rem 2rem;
  max-width: 800px;
}
.philosophy-sanskrit {
  font-family: var(--font-serif);
  font-size: 1.4rem; color: var(--gold);
  letter-spacing: 0.08em; margin-bottom: 2rem;
}
.philosophy-content blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 300; line-height: 1.3;
  color: var(--cream); margin-bottom: 2rem;
}
.philosophy-content blockquote em { font-style: italic; color: var(--gold); }
.philosophy-content cite {
  font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Gurus & Masters ── */
.masters {
  padding: clamp(5rem,10vw,9rem) clamp(1.5rem,5vw,5rem);
  position: relative;
  overflow: hidden;
}
.masters::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/mandala_pattern.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 600px;
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}
.masters > * {
  position: relative;
  z-index: 1;
}
.masters-header { text-align: center; margin-bottom: clamp(3rem,6vw,5rem); }
.masters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; max-width: 1400px; margin: 0 auto;
}
.master-card {
  background: var(--ink-mid);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.master-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.master-img-wrap { height: 280px; overflow: hidden; }
.master-img-placeholder {
  width: 100%; height: 100%;
  position: relative;
}
.master-img-placeholder.dance {
  background: linear-gradient(135deg, #1a0a05, #3d1a08);
}
.master-img-placeholder.instrument {
  background: linear-gradient(135deg, #0a0f1a, #082035);
}
.master-img-placeholder.vocal {
  background: linear-gradient(135deg, #0a1a0a, #0f3520);
}
.master-img-placeholder.tabla {
  background: linear-gradient(135deg, #1a1505, #352d08);
}
.master-img-placeholder::after {
  content: 'ॐ';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 6rem; color: rgba(201,168,76,0.08);
}
.master-info { padding: 1.5rem 1.5rem 2rem; }
.master-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem; color: var(--cream);
  margin-bottom: 0.4rem;
}
.master-info p {
  font-size: 0.82rem; color: var(--gold);
  letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.master-info span {
  font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── Gallery Strip ── */
.gallery { padding: clamp(5rem,10vw,9rem) 0; overflow: hidden; }
.gallery-header { text-align: center; margin-bottom: 4rem; padding: 0 2rem; }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 320px;
  gap: 16px;
  padding: 0 3rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  grid-row: span 1;
  background: var(--ink-soft);
}
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img {
  transition: transform 0.9s var(--ease-out), filter 0.4s;
  filter: saturate(0.7);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1);
}

/* ── Admissions Contact ── */
.contact {
  padding: clamp(5rem,10vw,9rem) clamp(1.5rem,5vw,5rem);
  background: var(--ink-mid);
  border-top: 1px solid var(--border);
}
.contact-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.form-group { position: relative; text-align: left; }
.contact-sub {
  text-align: center; font-size: 0.95rem;
  color: var(--muted); margin: 1.5rem auto 3.5rem;
  max-width: 560px; line-height: 1.7;
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { position: relative; }
.form-group input,
.form-group select {
  width: 100%;
  background: transparent;
  border: none; border-bottom: 1px solid var(--border);
  padding: 1.2rem 0 0.8rem;
  color: var(--cream); font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.form-group select { cursor: pointer; color: var(--muted); }
.form-group select option { background: var(--ink-mid); color: var(--cream); }
.form-group input:focus,
.form-group select:focus,
.form-group input:not(:placeholder-shown) {
  border-color: var(--gold);
}
.form-group label {
  position: absolute; top: 1.2rem; left: 0;
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  pointer-events: none;
  transition: top 0.3s var(--ease-out), font-size 0.3s, color 0.3s;
}
.form-group.has-value label,
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label {
  top: 0; font-size: 0.65rem; color: var(--gold);
}
.form-submit { align-self: center; margin-top: 1.5rem; cursor: none; }

/* ── Footer ── */
.footer {
  background: var(--ink);
  border-top: 2px solid transparent;
  border-image: linear-gradient(to right, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%) 1;
}
.footer-top {
  max-width: 1400px; margin: 0 auto;
  padding: 5rem 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}
.footer-brand .footer-logo-symbol {
  font-family: var(--font-serif);
  font-size: 2.2rem; color: var(--gold);
  display: block; margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}
.footer-brand .footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  color: var(--cream); display: block;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.82rem; line-height: 1.8;
  color: var(--muted);
}
.footer-links-block strong {
  display: block; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.footer-links-block ul { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-links-block a {
  font-size: 0.85rem; color: var(--muted);
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
}
.footer-links-block a:hover {
  color: var(--gold);
  transform: translateX(4px);
}
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.footer-contact-details li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.footer-contact-details a {
  color: var(--muted);
  transition: color 0.3s;
}
.footer-contact-details a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  max-width: 1400px; margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}
.footer-bottom span {
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── Scroll Reveals ── */
.reveal-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up.active { opacity: 1; transform: none; }
.reveal-img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-out);
}
.reveal-img.active { clip-path: inset(0% 0 0 0); }

/* Delays */
[data-delay="0"]  { transition-delay: 0ms; }
[data-delay="80"] { transition-delay: 80ms; }
[data-delay="100"]{ transition-delay: 100ms; }
[data-delay="120"]{ transition-delay: 120ms; }
[data-delay="160"]{ transition-delay: 160ms; }
[data-delay="200"]{ transition-delay: 200ms; }
[data-delay="240"]{ transition-delay: 240ms; }
[data-delay="300"]{ transition-delay: 300ms; }
[data-delay="320"]{ transition-delay: 320ms; }

/* ── Testimonials ── */
.testimonials {
  padding: clamp(5rem,10vw,9rem) clamp(1.5rem,5vw,5rem);
  background: var(--ink);
  border-top: 1px solid var(--border);
  text-align: center;
}
.testimonials .section-title { margin-bottom: clamp(3rem,6vw,5rem); }
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}
.testimonial-card {
  background: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: clamp(2rem,6vw,4rem);
  position: relative;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 2rem;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.testimonial-name {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
  border: none;
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── Courses & Filters (Laasya Premium Refined Dark) ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 2rem auto 0;
}

.course-card {
  background: #150a06; /* obsidian deep dark chocolate */
  border: 1px solid rgba(255, 253, 246, 0.07);
  border-radius: 6px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background-color 0.4s;
  cursor: none;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.35); /* gold border on hover */
  background: #1d0f0a; /* elevated hover dark brown */
}

.course-card-banner {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}

.course-card:hover .course-card-banner {
  transform: scale(1.02);
}

.course-card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 4, 15, 0.1), rgba(9, 4, 15, 0.75));
}

.course-icon-badge {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: 2px solid #150a06;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin: -22px auto 0 auto;
  transition: border-color 0.4s;
}

.course-card:hover .course-icon-badge {
  border-color: #1d0f0a;
}

.course-card-content {
  padding: 16px 20px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-category {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.course-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}

.course-desc {
  font-size: 0.85rem;
  color: rgba(255, 253, 246, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.course-levels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.level-pill {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(255, 253, 246, 0.04);
  color: rgba(255, 253, 246, 0.7);
  font-weight: 400;
  border: 1px solid rgba(255, 253, 246, 0.08);
}

.course-card .btn-primary {
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  border-radius: 2px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.3s var(--ease-out);
}

.course-card:hover .btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
}

.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 2px;
  border: 1px solid rgba(255, 253, 246, 0.12);
  background: transparent;
  color: rgba(255, 253, 246, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .masters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-image-side { height: 60vw; position: relative; }
  .about-img-wrap { position: absolute; }
  .disciplines-grid { grid-template-columns: 1fr; }
  .gallery-strip {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 240px;
    gap: 12px;
    padding: 0 1.5rem;
  }
  .gallery-item:nth-child(1) { grid-column: span 3; }
  .gallery-item:nth-child(2) { grid-column: span 3; }
  .gallery-item:nth-child(3) { grid-column: span 2; }
  .gallery-item:nth-child(4) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  .courses-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .masters-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-strip {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 12px;
  }
  .gallery-item {
    grid-column: span 1 !important;
  }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Footer Social Icons (UX Enhancement) ── */
.footer-socials a {
  transition: all 0.3s var(--ease-out);
}
.footer-socials a:hover {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* ── Teacher Bio Modal ── */
.teacher-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.teacher-modal.active {
  display: flex !important;
}
.teacher-modal-content {
  background: #150C1F;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.teacher-modal.active .teacher-modal-content {
  transform: translateY(0);
  opacity: 1;
}
.teacher-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.teacher-modal-close:hover {
  color: var(--gold) !important;
}
