:root {
  --maroon-990: #100205;
  --maroon-950: #190407;
  --maroon-900: #23060b;
  --maroon-800: #3a0812;
  --crimson-700: #5a0f1d;
  --crimson-600: #741928;
  --gold-500: #c49a45;
  --gold-400: #d9b768;
  --gold-300: #f0d996;
  --ivory-100: #fff6df;
  --ivory-200: #f3dfbd;
  --muted-300: #d1bd99;
  --muted-500: #a8916a;
  --line-gold: rgba(217, 183, 104, 0.38);
  --surface: rgba(46, 8, 14, 0.78);
  --surface-strong: rgba(34, 5, 10, 0.94);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: 1180px;
  --transition: 260ms ease;
}
/* ── FLUID BASE ── */
html {
  font-size: clamp(14px, 1.2vw, 18px);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

img, video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -16%, rgba(187, 116, 45, 0.16), transparent 35rem),
    radial-gradient(circle at 18% 42%, rgba(91, 18, 26, 0.2), transparent 34rem),
    radial-gradient(circle at 80% 72%, rgba(88, 37, 19, 0.14), transparent 36rem),
    linear-gradient(180deg, #100205 0%, #180306 34%, #21050a 68%, #110204 100%);
  color: var(--ivory-200);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: none;
}
body::after {
  content: "";
  position: fixed;
  inset: auto -15% -30% -15%;
  z-index: -1;
  height: 44rem;
  pointer-events: none;
  background: radial-gradient(circle, rgba(170, 85, 36, 0.14), transparent 70%);
  filter: blur(30px);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(217, 183, 104, 0.32);
  color: var(--ivory-100);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--maroon-990);
  background: var(--gold-300);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(16, 2, 5, 0.88);
  border-bottom: 1px solid rgba(217, 183, 104, 0.18);
}

.nav-shell {
  width: calc(100% - 32px);
  max-width: var(--container);
  height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px;
  background:
    linear-gradient(90deg, rgba(35, 6, 11, 0.98), rgba(57, 9, 18, 0.92)),
    repeating-linear-gradient(90deg, rgba(217, 183, 104, 0.05) 0 1px, transparent 1px 24px);
  border: 1px solid rgba(217, 183, 104, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(240, 217, 150, 0.18), transparent 54%),
    var(--maroon-950);
  box-shadow: inset 0 0 22px rgba(217, 183, 104, 0.1);
}

.brand-mark strong {
  display: block;
  color: var(--ivory-100);
  font-family: "Cinzel", Georgia, serif;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark > span:not(.brand-emblem) {
  min-width: 0;
}

.brand-mark small {
  display: block;
  margin-top: 4px;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  line-height: 1;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 246, 223, 0.84);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-menu a {
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}

.primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--transition), transform var(--transition);
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: var(--gold-300);
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.primary-menu .nav-cta {
  padding: 10px 16px;
  color: var(--maroon-990);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.primary-menu .nav-cta::after {
  display: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px 8px 0;
  color: rgba(255, 246, 223, 0.84);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--gold-300);
}

.nav-dropdown.is-open .nav-dropdown-trigger::after {
  transform: rotate(225deg);
  margin-top: -2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  gap: 4px;
  min-width: 168px;
  padding: 10px;
  transform: translate(-50%, -8px);
  background: var(--surface-strong);
  border: 1px solid rgba(217, 183, 104, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  padding: 9px 12px;
  text-align: center;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--gold-300);
  background: rgba(217, 183, 104, 0.1);
}

.nav-dropdown-menu a::after {
  display: none;
}

@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-dropdown:hover .nav-dropdown-trigger {
    color: var(--gold-300);
  }

  .nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(225deg);
    margin-top: -2px;
  }
}

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--gold-300);
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  width: 19px;
  height: 1px;
  display: block;
  margin: 3px auto;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;              /* ← change grid to flex */
  flex-direction: column;     /* ← ADD */
  justify-content: center;    /* ← ADD */
  align-items: flex-start;    /* ← ADD, removes justify-items issue */
  overflow: hidden;
  padding: 146px 0 96px;
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -4;
}

.hero-media img {
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.94) contrast(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
  linear-gradient(
    90deg,
    rgba(16, 2, 5, 0.78) 0%,
    rgba(25, 4, 7, 0.55) 32%,
    rgba(25, 4, 7, 0.18) 62%,
    rgba(16, 2, 5, 0.48) 100%
  ),
  linear-gradient(
    180deg,
    rgba(16, 2, 5, 0.42),
    transparent 28%,
    rgba(16, 2, 5, 0.82) 100%
  );
}

.hero-aura {
  position: absolute;
  inset: 18% auto auto 8%;
  z-index: -3;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 183, 104, 0.2), transparent 66%);
  filter: blur(4px);
  animation: auraFloat 8s ease-in-out infinite alternate;
}

.hero-kolam {
  display: none;
}

.hero-content {
  width: calc(100% - 40px);
  max-width: 760px;
  min-width: 0;

  margin-left: 12%;
}

.hero-content h1,
.section-heading h2,
.guru-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 720px;
  font-size: 76px;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.54);
}

.hero-content h1 span {
  display: block;
}

.hero-tagline {
  width: 100%;
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 246, 223, 0.9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.28;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.32) 46%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #170306;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  color: var(--gold-300);
  background: rgba(37, 5, 10, 0.72);
  border-color: var(--line-gold);
}

.section {
  position: relative;
  padding: clamp(78px, 6vw, 104px) 0;
  scroll-margin-top: 118px;
  background: transparent;
}

.section::before {
  display: none;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.ornament-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.ornament-text::after {
  content: "";
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.section-heading h2,
.guru-copy h2,
.contact-copy h2 {
  max-width: 860px;
  font-size: 44px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: stretch;    /* ← change start to stretch */
}

.about-grid--full {
  grid-template-columns: 1fr;
}

.story-panel--full {
  max-width: none;
}

.story-panel--full p {
  font-size: 25px;
}

.quote-highlight {
  color: var(--gold-300);
  font-style: italic;
}

.quote-script {
  font-size: 0.74em;
  font-style: normal;
}
.story-panel,
.lux-card,
.performance-card,
.achievement-card,
.class-card,
.testimonial-card,
.inquiry-form,
.map-frame,
.navarasa-detail {
  border: 1px solid rgba(217, 183, 104, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(58, 8, 18, 0.48), rgba(18, 2, 6, 0.72)),
    repeating-linear-gradient(112deg, rgba(255, 246, 223, 0.018) 0 1px, transparent 1px 16px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.story-panel {
  min-height: 100%;
  padding: 34px;
}

.story-panel p {
  margin: 20px 0 0;
  color: rgba(255, 246, 223, 0.84);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1.48;
}

.gold-divider {
  width: 100%;
  height: 13px;
  background:
    radial-gradient(circle, var(--gold-300) 1px, transparent 2px) 0 50% / 18px 12px repeat-x,
    linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.value-cards,
.achievement-grid,
.class-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.value-cards {
  grid-template-columns: 1fr;   /* ← change from repeat(2,1fr) to 1fr */
}
.lux-card {
  min-height: unset;    /* ← change 280px to unset */
  padding: 26px;
}

.lux-card:hover,
.performance-card:hover,
.achievement-card:hover,
.class-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 217, 150, 0.46);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
}

.card-number {
  color: rgba(217, 183, 104, 0.56);
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.lux-card h3,
.event-copy h3,
.achievement-card h3,
.class-card h3 {
  margin: 18px 0 12px;
  color: var(--gold-300);        /* ← change ivory-100 to gold-300 */
  font-family: "Cinzel", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lux-card p,
.achievement-card p,
.class-card p,
.testimonial-card p,
.event-copy p {
  margin: 0;
  color: rgba(255, 246, 223, 0.76);
}

.lux-card p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vision-card {
  padding: 30px 28px;
  text-align: center;
  border: 1px solid rgba(217, 183, 104, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(58, 8, 18, 0.48), rgba(18, 2, 6, 0.72)),
    repeating-linear-gradient(112deg, rgba(255, 246, 223, 0.018) 0 1px, transparent 1px 16px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.vision-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 217, 150, 0.46);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
}

.vision-icon {
  width: 62px;
  height: 62px;
  display: grid;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--gold-300);
  border: 1px solid rgba(240, 217, 150, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 217, 150, 0.22), rgba(196, 154, 69, 0.07));
}

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

.vision-card h3 {
  margin: 0 0 12px;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vision-card p {
  margin: 0;
  color: rgba(255, 246, 223, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
}

.guru-section {
  background: transparent;
}

.guru-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
}

.guru-photo {
  margin: 0;
}

.portrait-stage {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(217, 183, 104, 0.38);
  border-radius: var(--radius);
  background: var(--maroon-950);
  box-shadow: var(--shadow);
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 54%, rgba(16, 2, 5, 0.82)),
    radial-gradient(circle at 50% 18%, rgba(240, 217, 150, 0.22), transparent 36%);
  pointer-events: none;
}

.portrait-stage::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: var(--radius);
  pointer-events: none;
}

.portrait-stage img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) sepia(0.08) contrast(1.05);
}

.guru-photo figcaption {
  margin-top: 14px;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  text-align: center;
}

.guru-photo figcaption small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 246, 223, 0.65);
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.director-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
}

.director-layout .guru-copy {
  order: 1;
}

.director-layout .guru-photo {
  order: 2;
}

.guru-copy p:not(.ornament-text) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 246, 223, 0.78);
  font-size: 17px;
}

.director-quote {
  max-width: 700px;
  margin: 24px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold-400);
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
}

.credentials {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

.credentials div {
  padding: 18px 0;
  border-top: 1px solid rgba(217, 183, 104, 0.24);
}

.credentials dt {
  color: var(--gold-400);
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credentials dd {
  margin: 8px 0 0;
  color: rgba(255, 246, 223, 0.84);
}

.performance-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.performance-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(217, 183, 104, 0.48), transparent);
}

.performance-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  align-self: start;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.performance-card:nth-child(even) {
  margin-top: 68px;
}

.performance-card::before {
  content: "";
  position: absolute;
  top: 24px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold-300);
  border-radius: 50%;
  background: var(--maroon-950);
  box-shadow: 0 0 30px rgba(217, 183, 104, 0.4);
}

.performance-card:nth-child(odd)::before {
  right: -35px;
}

.performance-card:nth-child(even)::before {
  left: -35px;
}

.event-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--event-ratio, 4 / 3);
  max-height: 80vh;
  background: var(--maroon-950);
  transition: aspect-ratio 420ms ease;
}

.event-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 2, 5, 0.06), rgba(16, 2, 5, 0.22));
  pointer-events: none;
}

.event-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: rgba(8, 1, 3, 0.4);
}

.event-image img.event-image-fade {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.event-image img:not(.event-image-fade) {
  position: relative;
  transition: opacity 900ms ease;
}

.temple-event,
.festival-event,
.competition-event,
.sabha-event,
.stage-event {
  background: var(--maroon-950);
}

.event-copy {
  padding: 14px 20px 16px;
}

.event-copy h3 {
  margin: 0;
}

.event-copy p:last-child {
  margin-bottom: 0;
}

.event-year {
  display: inline-flex;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.event-place {
  color: var(--gold-400);
  font-weight: 700;
}

.event-popup {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 1, 3, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.event-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.event-popup-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: var(--radius);
  background: rgba(16, 2, 5, 0.96);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.68);
}

.event-popup-panel h3 {
  margin: 0 0 6px;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-popup-place {
  margin: 0 0 24px;
  color: rgba(255, 246, 223, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
}

.event-popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.event-popup-grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid rgba(217, 183, 104, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.event-popup-grid img:hover {
  transform: scale(1.02);
  border-color: rgba(217, 183, 104, 0.6);
}

.event-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: 50%;
  background: rgba(16, 2, 5, 0.88);
}

.event-popup-close::before,
.event-popup-close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 10px;
  width: 18px;
  height: 1px;
  background: var(--gold-300);
}

.event-popup-close::before {
  transform: rotate(45deg);
}

.event-popup-close::after {
  transform: rotate(-45deg);
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(6, 1, 2, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.photo-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-viewer-img {
  max-width: min(1400px, 92vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(217, 183, 104, 0.4);
  border-radius: 6px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7);
}

.photo-viewer-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: 50%;
  background: rgba(16, 2, 5, 0.88);
  cursor: pointer;
}

.photo-viewer-close::before,
.photo-viewer-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 11px;
  width: 20px;
  height: 1px;
  background: var(--gold-300);
}

.photo-viewer-close::before {
  transform: rotate(45deg);
}

.photo-viewer-close::after {
  transform: rotate(-45deg);
}

.photo-viewer-nav {
  position: fixed;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: 50%;
  background: rgba(16, 2, 5, 0.78);
  cursor: pointer;
}

.photo-viewer-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--gold-300);
  border-right: 2px solid var(--gold-300);
}

.photo-viewer-prev {
  left: 22px;
}

.photo-viewer-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.photo-viewer-next {
  right: 22px;
}

.photo-viewer-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

@media (max-width: 640px) {
  .photo-viewer-nav {
    width: 40px;
    height: 40px;
  }

  .photo-viewer-prev {
    left: 8px;
  }

  .photo-viewer-next {
    right: 8px;
  }
}

.awards-section {
  overflow: hidden;
}

.awards-section::after {
  display: none;
}

.achievement-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.achievement-card {
  min-height: 300px;
  padding: 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.achievement-icon {
  width: 62px;
  height: 62px;
  display: grid;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid rgba(240, 217, 150, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 217, 150, 0.22), rgba(196, 154, 69, 0.07));
}

.achievement-icon::before {
  content: "";
  width: 28px;
  height: 32px;
  border: 2px solid var(--gold-300);
  border-top-width: 5px;
  border-radius: 4px 4px 14px 14px;
}

.achievement-icon.medal::before {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border-top-width: 2px;
  box-shadow: 0 -18px 0 -9px var(--gold-300);
}

.achievement-icon.certificate::before {
  width: 28px;
  height: 34px;
  border-radius: 2px;
  border-top-width: 2px;
}

.achievement-icon.lamp::before {
  width: 34px;
  height: 22px;
  border-top-width: 2px;
  border-radius: 50% 50% 4px 4px;
}

.counter {
  display: block;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.counter::after {
  content: "+";
  font-size: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 168px;
  gap: 14px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 0;
  border: 1px solid rgba(217, 183, 104, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 2, 5, 0.24);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
  transition: transform 560ms ease, opacity 560ms ease, border-color var(--transition);
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-tile.is-portrait img {
  object-fit: contain;
}

.classes-section {
  background: transparent;
}

.class-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.class-grid-branches {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.class-grid-branches .class-card h3 {
  margin-top: 4px;
}

.class-card {
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.class-card.highlight {
  border-color: rgba(240, 217, 150, 0.4);
  background:
    linear-gradient(145deg, rgba(64, 9, 18, 0.58), rgba(18, 2, 6, 0.74)),
    repeating-linear-gradient(112deg, rgba(255, 246, 223, 0.018) 0 1px, transparent 1px 16px);
}

.class-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.class-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 246, 223, 0.78);
}

.class-card li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 16px rgba(217, 183, 104, 0.45);
}

.class-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(217, 183, 104, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 2, 5, 0.34);
}

.class-note strong {
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.class-note p {
  margin: 6px 0 0;
  color: rgba(255, 246, 223, 0.76);
}

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

.testimonial-card {
  position: relative;
  padding: 34px 28px 28px;
  /* lighter surface, but kept within the maroon/gold palette so the design language doesn't break */
  background:
    linear-gradient(145deg, rgba(243, 223, 189, 0.14), rgba(243, 223, 189, 0.05)),
    linear-gradient(145deg, rgba(58, 8, 18, 0.4), rgba(18, 2, 6, 0.58));
  border-color: rgba(217, 183, 104, 0.4);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  color: rgba(217, 183, 104, 0.32);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 92px;
  line-height: 1;
}

.testimonial-card p {
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1.36;
  /* raised from 0.76 alpha ivory to a near-solid ivory for easier reading on the lighter card */
  color: rgba(255, 246, 223, 0.94);
}

.testimonial-card strong {
  display: block;
  margin-top: 24px;
  color: var(--gold-300);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-grid-more {
  margin-top: 28px;
}

.testimonial-grid-more[hidden] {
  display: none;
}

.testimonial-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.testimonial-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.testimonial-toggle [data-testimonial-toggle-icon] {
  display: inline-block;
  transition: transform var(--transition);
}

.testimonial-toggle[aria-expanded="true"] [data-testimonial-toggle-icon] {
  transform: rotate(180deg);
}

.contact-section {
  padding-bottom: clamp(2rem, 4vw, 4rem); 
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.contact-copy > p:not(.ornament-text) {
  max-width: 650px;
  color: rgba(255, 246, 223, 0.78);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.contact-list a {
  display: inline-flex;
  width: fit-content;
  color: var(--gold-300);
  font-weight: 700;
  transition: color var(--transition), transform var(--transition);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--ivory-100);
  transform: translateX(4px);
}

.map-frame {
  overflow: hidden;
  height: 280px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) saturate(0.5) brightness(0.85);
}

.inquiry-form {
  padding: 28px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.form-header span {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, var(--gold-300) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(240, 217, 150, 0.18), transparent 60%);
}

.form-header h3 {
  margin: 0;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.inquiry-form label span {
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  color: var(--ivory-100);
  background: rgba(16, 2, 5, 0.5);
  border: 1px solid rgba(217, 183, 104, 0.24);
  border-radius: var(--radius);
  outline: none;
  padding: 13px 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 118px;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: rgba(240, 217, 150, 0.78);
  background: rgba(16, 2, 5, 0.86);
  box-shadow: 0 0 0 3px rgba(217, 183, 104, 0.13);
}

.inquiry-form ::placeholder {
  color: rgba(243, 223, 189, 0.42);
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--gold-300);
  font-size: 14px;
  text-align: center;
}

.site-footer {
  position: relative;
  padding: 52px 0 32px;
  background: transparent;
  border-top: 1px solid rgba(217, 183, 104, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: center;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 246, 223, 0.74);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a,
.social-links a {
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--gold-300);
}

.footer-line {
  width: calc(100% - 40px);
  max-width: var(--container);
  height: 1px;
  margin: 34px auto 22px;
  background: linear-gradient(90deg, transparent, rgba(217, 183, 104, 0.28), transparent);
}

.copyright {
  margin: 0;
  color: rgba(255, 246, 223, 0.58);
  font-size: 13px;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 1, 3, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  padding: 20px;
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: var(--radius);
  background: rgba(16, 2, 5, 0.96);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.68);
}

.lightbox-art {
  min-height: clamp(360px, 56vh, 640px);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.lightbox-panel h3 {
  margin: 8px 0 12px;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lightbox-panel p {
  margin: 0;
  color: rgba(255, 246, 223, 0.78);
}

.lightbox-event,
.lightbox-year {
  margin: 0 0 10px;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.lightbox-year {
  color: rgba(255, 246, 223, 0.82);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(217, 183, 104, 0.42);
  border-radius: 50%;
  background: rgba(16, 2, 5, 0.88);
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 11px;
  width: 20px;
  height: 1px;
  background: var(--gold-300);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms ease;
}

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

@keyframes auraFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }
  to {
    transform: translate3d(28px, -18px, 0) scale(1.08);
    opacity: 0.94;
  }
}

@keyframes cueDrop {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70% {
    transform: translateY(28px);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .primary-menu {
    gap: 16px;
    font-size: 12px;
  }

  .hero-content h1 {
    font-size: 62px;
  }

  .value-cards,
  .achievement-grid,
  .vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .guru-layout,
  .director-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 10px 0;
  }

  .nav-shell {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }
html {
  scroll-padding-top: 90px;
}
  .primary-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--surface-strong);
    border: 1px solid rgba(217, 183, 104, 0.34);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .primary-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu a {
    padding: 12px;
  }

  .primary-menu .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    padding: 12px;
    text-align: left;
  }

  .nav-dropdown-trigger::after {
    right: 12px;
  }

  .nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    margin: 0 0 4px;
    padding: 4px 0 4px 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 260px;
  }

  .nav-dropdown-menu a {
    text-align: left;
  }

  @media (hover: hover) {
    .nav-dropdown:hover .nav-dropdown-menu {
      max-height: 0;
    }

    .nav-dropdown.is-open:hover .nav-dropdown-menu {
      max-height: 260px;
    }
  }

  .hero-section {
    min-height: 92vh;
    padding: 126px 0 78px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-tagline {
    font-size: 25px;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading h2,
  .guru-copy h2,
  .contact-copy h2 {
    font-size: 36px;
  }

  .performance-timeline {
    grid-template-columns: 1fr;
  }

  .performance-timeline::before,
  .performance-card::before {
    display: none;
  }

  .performance-card:nth-child(even) {
    margin-top: 0;
  }

  .class-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .container {
    width: calc(100vw - 28px);
    max-width: var(--container);
  }

  .nav-shell {
    width: calc(100vw - 24px);
    max-width: var(--container);
    height: 62px;
    padding: 0 12px;
  }

  .brand-emblem {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .brand-mark strong {
    font-size: 14px;
  }

  .brand-mark small {
    font-size: 14px;
  }

  .hero-section {
    min-height: 96vh;
  }

  .hero-media::after {
   background:
  linear-gradient(
    90deg,
    rgba(16, 2, 5, 0.78) 0%,
    rgba(25, 4, 7, 0.55) 32%,
    rgba(25, 4, 7, 0.18) 62%,
    rgba(16, 2, 5, 0.48) 100%
  ),
  linear-gradient(
    180deg,
    rgba(16, 2, 5, 0.42),
    transparent 28%,
    rgba(16, 2, 5, 0.82) 100%
  );
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.14;
  }

  .hero-tagline {
    max-width: 320px;
    font-size: 20px;
  }

  .hero-actions,
  .class-note {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section-heading h2,
  .guru-copy h2,
  .contact-copy h2 {
    font-size: 30px;
  }

  .ornament-text {
    font-size: 20px;
  }

  .ornament-text::after {
    width: 52px;
  }

  .value-cards,
  .achievement-grid,
  .vision-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-tile.tall,
  .gallery-tile.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .story-panel,
  .lux-card,
  .event-copy,
  .achievement-card,
  .class-card,
  .testimonial-card,
  .inquiry-form {
    padding: 22px;
  }

  .story-panel p,
  .testimonial-card p {
    font-size: 22px;
  }

  .portrait-stage {
    min-height: 420px;
  }

  .lightbox-panel {
    grid-template-columns: 1fr;
  }

  .lightbox-art {
    min-height: 300px;
  }
}

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

.kolam-divider {
  width: 100%;
  height: 70px;

  margin: -10px 0;

  background-image: url("assets/site/kolam-divider.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 52px;

  opacity: 0.32;

  pointer-events: none;

  filter:
    drop-shadow(0 0 8px rgba(217,183,104,0.08));
}



@media (max-width: 768px) {
  .guru-layout,
  .director-layout,
  .contact-layout { 
    flex-direction: column; 
  }
  
  .performance-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
  }

  #guru .guru-photo {
    order: 2;
  }

  #guru .guru-copy {
    order: 1;
  }
}

@media (max-width: 480px) {
  .award-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100svh;
  }
}
/* ── GALLERY CAROUSEL ── */
.gallery-carousel-wrap {
  position: relative;
  margin-top: 40px;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding: 0;
}

.gallery-stage {
  position: relative;
  overflow: visible;
  padding: clamp(8px, 2vw, 18px) clamp(44px, 6vw, 72px) clamp(10px, 2vw, 20px);
}

.gallery-stage-glow {
  position: absolute;
  inset: 10% 24% 26%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08), transparent 72%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 500ms ease;
}

.gallery-stage.has-active-glow .gallery-stage-glow {
  opacity: 1;
}

.gallery-carousel-viewport {
  overflow: hidden;
  width: 100%;
  min-height: clamp(340px, 34vw, 460px);
}

.gallery-carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: clamp(12px, 2.4vw, 22px);
  padding: clamp(28px, 3vw, 42px) 0 clamp(12px, 2vw, 24px);
  will-change: transform;
  transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-carousel .gallery-tile {
  flex: 0 0 clamp(220px, 22vw, 300px);
  width: clamp(220px, 22vw, 300px);
  height: clamp(240px, 24vw, 340px);
  min-height: clamp(240px, 24vw, 340px);
  opacity: 0.44;
  overflow: hidden;
  transform: scale(0.82) translateY(0);
  transition: transform 560ms ease, opacity 560ms ease, border-color var(--transition), width 560ms ease, height 560ms ease, flex-basis 560ms ease;
  z-index: 1;
}

.gallery-carousel .gallery-tile.is-near {
  opacity: 0.78;
  transform: scale(0.9) translateY(0);
  z-index: 2;
}

.gallery-carousel .gallery-tile.is-active {
  flex: 0 0 auto;
  width: auto;
  height: clamp(300px, 32vw, 460px);
  min-height: clamp(300px, 32vw, 460px);
  max-width: min(560px, 70vw);
  aspect-ratio: var(--tile-ratio, 4 / 3);
  opacity: 1;
  overflow: visible;
  transform: translateY(-18px) scale(1);
  border-color: rgba(212, 175, 55, 0.64);
  background: rgba(16, 2, 5, 0.24);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2), 0 18px 34px rgba(0, 0, 0, 0.32);
  z-index: 4;
}

.gallery-carousel .gallery-tile.is-active.is-portrait {
  width: clamp(240px, 24vw, 340px);
  height: clamp(320px, 36vw, 500px);
  aspect-ratio: auto;
}

.gallery-carousel .gallery-tile img {
  object-fit: cover;
  object-position: center;
}

.gallery-carousel .gallery-tile.is-active img {
  object-fit: cover;
  object-position: center center;
}

.gallery-carousel .gallery-tile.is-far {
  opacity: 0;
  transform: scale(0.74) translateY(0);
  pointer-events: none;
}

.gallery-carousel .gallery-tile:hover {
  transform: translateY(-6px) scale(0.96);
  border-color: rgba(240, 217, 150, 0.5);
}

.gallery-carousel .gallery-tile.is-active:hover {
  transform: translateY(-22px) scale(1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 50%;
  background: rgba(58, 8, 18, 0.86);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 20px;
  transform: translateY(-50%);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.gallery-nav-prev {
  left: 4px;
}

.gallery-nav-next {
  right: 4px;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: rgba(217, 183, 104, 0.18);
  border-color: rgba(240, 217, 150, 0.72);
  transform: translateY(-50%) scale(1.02);
}

.gallery-exhibit-card {
  width: min(620px, 100%);
  margin: 24px auto 0;
  padding: 18px 24px 16px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--radius);
  background: rgba(16, 2, 5, 0.42);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.gallery-exhibit-card h3 {
  margin: 0;
  color: var(--gold-300);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-exhibit-event,
.gallery-exhibit-year {
  margin: 8px 0 0;
  color: rgba(255, 246, 223, 0.9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 24px);
}

.gallery-exhibit-year {
  color: var(--gold-400);
}

.gallery-filmstrip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.5) transparent;
}

.gallery-thumb {
  flex: 0 0 88px;
  display: block;
  width: 88px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 6px;
  background: rgba(16, 2, 5, 0.36);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.is-active {
  border-color: rgba(212, 175, 55, 0.66);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.22);
}

.gallery-thumb.is-portrait img {
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel {
    transition: none;
  }
}
/* MOBILE HERO FIX */
@media (max-width: 768px) {

  .hero-section {
    min-height: 92vh;
    padding: 120px 0 60px;
    align-items: flex-start;
    text-align: left;
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-left: 0;
    padding: 24px;
    margin-top: 40px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: clamp(42px, 10vw, 58px);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .hero-tagline {
    margin-top: 18px;
    font-size: 20px;
    line-height: 1.4;
    max-width: 100%;
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .btn {
  min-height: 44px;
  font-size: 12px;
  padding: 12px 18px;
}
.hero-actions .btn-secondary {
    display: none;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-media::after {
    background:
  linear-gradient(
    90deg,
    rgba(16, 2, 5, 0.78) 0%,
    rgba(25, 4, 7, 0.55) 32%,
    rgba(25, 4, 7, 0.18) 62%,
    rgba(16, 2, 5, 0.48) 100%
  ),
  linear-gradient(
    180deg,
    rgba(16, 2, 5, 0.42),
    transparent 28%,
    rgba(16, 2, 5, 0.82) 100%
  );
  }
}
/* ============ Navarasa hover-rail section ============ */
.navarasa-rail-wrap {
  position: relative;
  margin-top: 8px;
  padding: 6px 0 18px;
}

.navarasa-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 6px 22px;
}

.navarasa-rail::-webkit-scrollbar {
  display: none;
}

.navarasa-tile {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.55;
  transform: scale(0.92);
  transition: opacity 420ms ease, transform 420ms ease;
}

.navarasa-tile-photo {
  display: block;
  width: 132px;
  height: 165px;
  border-radius: 14px;
  border: 1px solid rgba(217, 183, 104, 0.32);
  background:
    linear-gradient(150deg, rgba(58, 8, 18, 0.65), rgba(18, 2, 6, 0.85)),
    repeating-linear-gradient(112deg, rgba(255, 246, 223, 0.02) 0 1px, transparent 1px 16px);
  background-size: cover;
  background-position: center top;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  transition: border-color 420ms ease, box-shadow 420ms ease, transform 420ms ease;
}

.navarasa-tile-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(255, 246, 223, 0.62);
  transition: color 420ms ease;
}

.navarasa-tile.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.navarasa-tile.is-active .navarasa-tile-photo {
  border-color: var(--gold-300);
  box-shadow: 0 18px 46px rgba(217, 183, 104, 0.28);
}

.navarasa-tile.is-active .navarasa-tile-label {
  color: var(--gold-300);
}

.navarasa-tile:hover .navarasa-tile-photo,
.navarasa-tile:focus-visible .navarasa-tile-photo {
  border-color: var(--gold-400);
}

.navarasa-tile[data-rasa="shringara"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Shringaram or உவகை.png");
}
.navarasa-tile[data-rasa="hasya"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Hasyam or நகை.png");
}
.navarasa-tile[data-rasa="karuna"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Karuna or அழுகை.png");
}
.navarasa-tile[data-rasa="raudra"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Raudram or வெகுளி.png");
}
.navarasa-tile[data-rasa="veera"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Veeram or பெருமிதம்.png");
}
.navarasa-tile[data-rasa="bhayanaka"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Bhayanakam or அச்சம்.png");
}
.navarasa-tile[data-rasa="bibhatsa"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Bibhatsam or இளிவரல்.png");
}
.navarasa-tile[data-rasa="adbutha"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Adbhutam or மருட்கை.png");
}
.navarasa-tile[data-rasa="shantha"] .navarasa-tile-photo {
  background-image: url("assets/site/Navarasam/Shantam or சத்துவம்.png");
}

.navarasa-detail {
  position: relative;
  margin-top: 28px;
  padding: 30px 34px;
  min-height: 168px;
}

.navarasa-detail-fade-out {
  opacity: 0;
  transform: translateY(6px);
}

.navarasa-detail[data-navarasa-detail] {
  transition: opacity 320ms ease, transform 320ms ease;
}

.navarasa-detail h3 {
  margin: 6px 0 12px;
  color: var(--gold-300);
  font-size: 26px;
}

.navarasa-detail p {
  margin: 0;
  color: rgba(255, 246, 223, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .navarasa-tile-photo {
    width: 96px;
    height: 120px;
  }

  .navarasa-detail {
    padding: 24px 22px;
  }
}
