.hero-image {
  background:
    linear-gradient(90deg, rgba(16, 33, 28, 0.62), rgba(16, 33, 28, 0.08)),
    url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.02);
}

.teacher-image {
  background:
    linear-gradient(0deg, rgba(24, 54, 45, 0.08), rgba(24, 54, 45, 0.08)),
    url("assets/vaishnavi-rishikesh-ganga-realistic.png") center / cover;
}

.teacher-section {
  background:
    radial-gradient(circle at 78% 16%, rgba(208, 168, 90, 0.14), transparent 24%),
    radial-gradient(circle at 26% 84%, rgba(82, 139, 145, 0.14), transparent 26%),
    linear-gradient(135deg, #153029, #1f4037);
  color: #fffdf8;
}

.teacher-section .text-clay {
  color: #d0a85a;
}

.teacher-section .text-forest,
.teacher-section .text-ink\/64 {
  color: rgba(255, 253, 248, 0.78);
}

.teacher-section h2,
.teacher-section .font-display {
  color: #fffdf8;
}

.teacher-section .text-forest\/35 {
  color: rgba(255, 253, 248, 0.34);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(208, 168, 90, 0.1), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(111, 128, 100, 0.12), transparent 24%),
    repeating-linear-gradient(135deg, rgba(24, 54, 45, 0.026) 0 1px, transparent 1px 16px),
    #fbf7ee;
}

main {
  background:
    linear-gradient(rgba(251, 247, 238, 0.72), rgba(251, 247, 238, 0.72)),
    radial-gradient(circle at 22% 34%, rgba(183, 95, 63, 0.08), transparent 22%),
    radial-gradient(circle at 78% 62%, rgba(111, 128, 100, 0.1), transparent 26%);
}

[data-header].scrolled,
[data-header].menu-open {
  background: rgba(251, 247, 238, 0.96);
  color: #18362d;
  box-shadow: 0 10px 30px rgba(24, 54, 45, 0.08);
  backdrop-filter: blur(16px);
}

[data-header].scrolled [data-open-booking],
[data-header].menu-open [data-open-booking] {
  background: #18362d;
  color: #fffdf8;
}

.filter {
  color: #18362d;
  background: transparent;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter:hover {
  transform: translateY(-1px);
}

.filter.active {
  background: #18362d;
  color: #fffdf8;
}

.class-row.hidden {
  display: none;
}

.practice-section,
.ganga-texture-section,
.testimonial-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(208, 168, 90, 0.16), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(72, 128, 126, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(226, 238, 230, 0.82)),
    repeating-linear-gradient(45deg, rgba(24, 54, 45, 0.026) 0 1px, transparent 1px 14px);
}

.practice-section::before,
.ganga-texture-section::before,
.testimonial-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(82, 139, 145, 0.14) 18% 19%, transparent 19% 32%, rgba(82, 139, 145, 0.1) 32% 33%, transparent 33% 100%),
    repeating-radial-gradient(ellipse at 18% 80%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 18px);
  content: "";
  opacity: 0.75;
  transform: rotate(-1deg) scale(1.04);
}

.practice-section::after,
.ganga-texture-section::after,
.testimonial-section::after {
  position: absolute;
  right: -12%;
  top: 8%;
  width: 54%;
  height: 82%;
  pointer-events: none;
  border-radius: 50%;
  background:
    repeating-linear-gradient(168deg, rgba(69, 128, 133, 0.16) 0 2px, transparent 2px 18px),
    radial-gradient(circle, rgba(255, 253, 248, 0.38), transparent 62%);
  content: "";
  filter: blur(0.2px);
  opacity: 0.6;
}

.practice-section > *,
.ganga-texture-section > *,
.testimonial-section > * {
  position: relative;
  z-index: 1;
}

.schedule-tag-online {
  border-color: rgba(86, 134, 111, 0.34);
  background: #e4f1e9;
  color: #245744;
}

.schedule-tag-offline {
  border-color: rgba(213, 139, 55, 0.45);
  background: #ffe0a8;
  color: #6f3b12;
}

.schedule-card {
  position: relative;
  scroll-margin-top: 96px;
}

.schedule-card:target {
  background: transparent;
}

.target-highlight {
  isolation: isolate;
  position: relative;
}

.target-highlight::before {
  position: absolute;
  inset: -2px 50%;
  z-index: 0;
  width: 100vw;
  pointer-events: none;
  background: rgba(208, 168, 90, 0.09);
  content: "";
  transform: translateX(-50%);
  animation: target-pulse 1.6s ease;
}

.target-highlight > * {
  position: relative;
  z-index: 1;
}

@keyframes target-pulse {
  0%,
  100% {
    opacity: 0;
  }

  18%,
  70% {
    opacity: 1;
  }
}

.teacher-link {
  display: block;
  border-color: rgba(255, 231, 176, 0.74);
  background: #f2c96f;
  color: #17211d;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.teacher-link:hover,
.teacher-link:focus-visible {
  border-color: rgba(255, 253, 248, 0.82);
  background: #ffd98a;
  color: #17211d;
  box-shadow: 0 18px 38px rgba(208, 168, 90, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.contact-card {
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  padding: 18px;
  color: #fffdf8;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(255, 253, 248, 0.34);
  background: rgba(255, 253, 248, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.contact-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.1);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card strong {
  display: block;
  font-weight: 900;
}

.contact-card small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 253, 248, 0.68);
  font-weight: 700;
  line-height: 1.5;
}

.practice-card {
  position: relative;
  min-height: 330px;
}

.testimonial-card {
  display: flex;
  min-width: 0;
  min-height: 240px;
  flex-direction: column;
}

.testimonial-card:nth-child(3n + 2) {
  background: #fbf7ee;
}

.testimonial-card:nth-child(3n) {
  background: #f4efe1;
}

.story-card {
  display: grid;
  width: min(100%, 260px);
  gap: 6px;
  border: 1px solid rgba(24, 54, 45, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  padding: 18px;
  color: #18362d;
  box-shadow: 0 18px 44px rgba(24, 54, 45, 0.08);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.story-card span {
  font-weight: 900;
}

.story-card small {
  color: rgba(23, 33, 29, 0.58);
  font-weight: 700;
}

.story-card:hover,
.story-card:focus-visible {
  border-color: rgba(208, 168, 90, 0.58);
  background: #fffdf8;
  outline: none;
  transform: translateY(-2px);
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px 24px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.testimonial-marquee.is-dragging {
  cursor: grabbing;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(18vw, 160px);
  pointer-events: none;
  content: "";
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fbf7ee, rgba(251, 247, 238, 0));
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fbf7ee, rgba(251, 247, 238, 0));
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 18px;
  will-change: transform;
}

.testimonial-track .testimonial-card {
  flex: 0 0 clamp(248px, 22vw, 304px);
  padding: 24px;
}

.testimonial-track .testimonial-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

[data-testimonial-layout="grid"] .testimonial-text {
  overflow: visible;
}

[data-testimonial-layout="grid"] .testimonial-card {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee {
    overflow-x: auto;
    cursor: auto;
  }

  .testimonial-track {
    width: auto;
    scroll-snap-type: x mandatory;
    transform: none !important;
  }

  .testimonial-track .testimonial-card {
    scroll-snap-align: start;
  }
}

.booking-backdrop:not([hidden]) {
  display: block;
}

.booking-drawer.open {
  transform: translateX(0);
}

@media (max-width: 767px) {
  [data-nav] {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(24, 54, 45, 0.16);
    border-radius: 8px;
    background: #fffdf8;
    color: #18362d;
    padding: 10px;
    box-shadow: 0 24px 70px rgba(18, 39, 32, 0.16);
  }

  [data-nav].open {
    display: flex;
  }

  [data-nav] a,
  [data-nav] button {
    justify-content: flex-start;
    padding: 14px;
  }

  .testimonial-marquee {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .testimonial-track .testimonial-card {
    flex-basis: min(82vw, 300px);
  }

  .practice-card {
    min-height: 0;
  }
}
