/* Better Wellness: site styles
   Brand idea: a calm doctor's clinic at sunrise. Warm, knowledgeable,
   unhurried; Dr. Seema at the centre, no hype.

   Palette: paper and ink at the core, tulsi green for the brand, and two
   warm accents used sparingly: haldi (turmeric) and mitti (clay). */

:root {
  --bg: #FBF8F3;          /* paper */
  --surface: #FFFFFF;
  --sand: #F3EDE3;
  --ink: #1D2722;
  --ink-2: #44514B;
  --muted: #66716B;
  --line: #E4DCCF;
  --brand: #2F5D4F;       /* tulsi */
  --brand-dark: #234639;  /* deep tulsi */
  --haldi: #C8902B;
  --haldi-light: #E6BD67;
  --mitti: #A85A3C;
  --mitti-deep: #6E3624;
  --whatsapp: #25D366;

  --serif: 'Newsreader', 'Tiro Devanagari Hindi', Georgia, serif;
  --sans: 'Plus Jakarta Sans', 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Type scale: two display sizes, two serif reading sizes, five sans sizes */
  --fs-display: clamp(44px, 5.6vw, 72px);
  --fs-h2: clamp(34px, 4vw, 52px);
  --fs-quote: 24px;
  --fs-serif-sm: 20px;
  --fs-h3: 18px;
  --fs-lead: 19px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-caption: 13px;
  --fs-label: 12px;

  /* Shape and rhythm */
  --container: 1160px;
  --header-h: 68px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --icon: 44px;
  --section-y: 112px;
  --shadow-sm: 0 6px 18px rgba(29, 39, 34, 0.08);
  --shadow-md: 0 12px 32px rgba(29, 39, 34, 0.1);
}

/* ---------- Base ---------- */

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

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-display);
  line-height: 1.02;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--brand);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

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

/* The one uppercase label style, used for eyebrows, titles, topics and sources */
.eyebrow,
.label {
  color: var(--muted);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--surface);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--surface);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--brand-dark);
  color: var(--surface);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(35, 70, 57, 0.22);
}

.text-link i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.text-link:hover i {
  transform: translateX(4px);
}

.btn i {
  font-size: 19px;
  line-height: 1;
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: var(--fs-small);
}

.btn-small i {
  font-size: 16px;
}

.btn-light {
  background: var(--surface);
  color: var(--brand-dark);
}

.btn-light:hover {
  background: var(--sand);
  color: var(--brand-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--brand);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(29, 39, 34, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

/* The lotus mark: drawn inline so it can take the colour of its context */
.lotus {
  display: block;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lotus path {
  fill: var(--mark-bg, var(--bg));
}

.lotus .p-base {
  fill: none;
}

.brand:hover {
  color: var(--ink);
}

.brand .lotus {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  gap: 36px;
}

.site-nav a {
  color: var(--ink-2);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */

/* Edge to edge, under the translucent header, fading into the page below */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(90vh, 840px);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 88px) 0 44px;
}

/* The mountains own the right side, from just below the header, and melt into the page */
.hero-art {
  position: absolute;
  top: calc(var(--header-h) + 8px);
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 66%;
  height: calc(100% - var(--header-h) - 8px);
  object-fit: cover;
  object-position: 58% 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 10%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 10%, #000 62%, transparent 100%);
  mask-composite: intersect;
}

/* A paper wash on the left keeps the words calm and readable */
/* A faint glow of morning light behind the peaks */
.hero::before {
  content: "";
  position: absolute;
  top: 6%;
  right: 8%;
  z-index: -3;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 196, 120, 0.22) 0%, rgba(242, 196, 120, 0) 66%);
}

.hero-copy {
  max-width: 600px;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.hero .lede {
  max-width: 440px;
  margin: 28px 0 38px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 5px 5px 5px 22px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(35, 70, 57, 0.2);
  color: var(--bg);
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta:hover {
  background: var(--brand-dark);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(35, 70, 57, 0.26);
}

.hero-cta > i {
  font-size: 19px;
}

.hero-cta-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--brand-dark);
  font-size: 17px;
}

.hero-cta-arrow i {
  transition: transform 0.25s ease;
}

.hero-cta:hover .hero-cta-arrow i {
  transform: translateX(3px);
}

/* Four quiet value tags, tied to the call to action */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 600px;
  margin-top: 28px;
}

.hero-tags li {
  padding: 6px 12px;
  border: 1px solid rgba(29, 39, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink-2);
  font-size: var(--fs-caption);
  font-weight: 500;
}

/* Hand-drawn stroke under the word that matters */
.underlined {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.underlined svg {
  position: absolute;
  z-index: -1;
  left: -3%;
  bottom: -0.12em;
  width: 106%;
  height: 0.26em;
  overflow: visible;
}

.underlined path {
  fill: var(--haldi);
  fill-opacity: 0.8;
}

/* ---------- Sections ---------- */

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

.section-sand {
  background: var(--sand);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

/* ---------- Heritage ---------- */

.heritage-section {
  padding: var(--section-y) 0 0;
}

.heritage {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 72px 56px 56px;
  border-radius: var(--radius-xl);
  background: var(--mitti-deep);
  color: rgba(251, 248, 243, 0.86);
}

/* The lotus's construction lines, drawn faintly behind the copy */
.heritage-grid {
  position: absolute;
  right: -200px;
  top: 50%;
  width: 600px;
  height: 600px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--haldi-light);
  stroke-width: 0.16;
  opacity: 0.2;
  pointer-events: none;
}

.heritage-art {
  position: relative;
  margin: 0;
}

.heritage-art img {
  width: 100%;
  border: 6px solid rgba(251, 248, 243, 0.92);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.heritage-art figcaption {
  margin-top: 14px;
  color: rgba(251, 248, 243, 0.62);
  font-size: var(--fs-label);
  line-height: 1.45;
}

.heritage-copy {
  position: relative;
  max-width: 540px;
}

.heritage .eyebrow,
.heritage .label {
  color: var(--haldi-light);
}

.heritage-sanskrit {
  margin: 0 0 8px;
  color: var(--haldi-light);
  font-family: 'Tiro Devanagari Hindi', var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.35;
}

.heritage h2,
.heritage h2 em {
  color: var(--bg);
}

.heritage .label {
  margin: 12px 0 24px;
}

/* ---------- Classes ---------- */

/* Follows the teacher section on the same background, so no second gap */
.classes {
  padding-top: 0;
}

.classes-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 88px;
  align-items: start;
}

.classes-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.classes-head h2 {
  margin-bottom: 20px;
}

.classes-head p {
  max-width: 400px;
  margin-bottom: 24px;
  color: var(--muted);
}

.class-rows {
  border-top: 1px solid var(--line);
}

.class-rows li {
  display: grid;
  grid-template-columns: var(--icon) 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 16px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}

.class-rows li:hover {
  background: rgba(255, 255, 255, 0.7);
}

.row-icon {
  display: grid;
  place-items: center;
  width: var(--icon);
  height: var(--icon);
  border-radius: 50%;
  background: var(--sand);
  color: var(--brand);
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.class-rows li:hover .row-icon {
  background: var(--brand);
  color: var(--surface);
}

.class-rows h3 {
  margin-bottom: 4px;
}

.class-rows p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.row-tag {
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: var(--fs-caption);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Teacher ---------- */

.teacher {
  padding-top: 0;
}

/* Opens the page after the hero, so it needs its own breathing room */
.teacher-first {
  padding-top: var(--section-y);
}

.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.teacher-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.collage-col {
  display: grid;
  gap: 14px;
}

/* The second column starts lower, so the four photos read as one arrangement */
.collage-col-offset {
  margin-top: 56px;
}

.teacher-collage figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.teacher-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.teacher-collage figure:hover img {
  transform: scale(1.04);
}

.photo-portrait {
  aspect-ratio: 4 / 5;
}

.photo-portrait img {
  object-position: 50% 30%;
}

.photo-landscape {
  aspect-ratio: 4 / 3;
}

/* Labels sit at the top so they never cover faces */
.teacher-collage figcaption {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--ink);
  font-size: var(--fs-label);
  font-weight: 600;
  max-width: calc(100% - 20px);
  line-height: 1.3;
}

.teacher-collage .caption-bottom {
  top: auto;
  bottom: 10px;
}

.collage-seal {
  position: absolute;
  z-index: 1;
  left: calc(50% - 62px);
  top: calc(50% - 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  border: 6px solid var(--bg);
  border-radius: 50%;
  background: var(--brand);
  color: var(--surface);
  text-align: center;
}

.collage-seal strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.collage-seal span {
  max-width: none;
  margin-top: 4px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.teacher-copy h2 {
  margin-bottom: 12px;
}

.teacher-name {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.teacher-name strong {
  color: var(--ink);
  font-weight: 600;
}

.teacher-lead {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-quote);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.teacher-copy > p:not(.eyebrow):not(.teacher-name):not(.teacher-lead) {
  color: var(--muted);
}

/* Why her, in four tiles */
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.credentials li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.credentials li:hover {
  border-color: rgba(47, 93, 79, 0.35);
  transform: translateY(-2px);
}

.credentials i {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: var(--icon);
  height: var(--icon);
  border-radius: 50%;
  background: var(--sand);
  color: var(--brand);
  font-size: 18px;
}

.credentials strong {
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
}

.credentials span {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.4;
}

/* ---------- Benefits ---------- */

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.benefits-section {
  background: var(--sand);
}

.benefits {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px) 1fr;
  gap: 64px;
  align-items: center;
}

.benefits-col {
  display: grid;
  gap: 44px;
}

.benefits-col:first-child {
  text-align: right;
}

.benefits-col p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.benefits-figure {
  position: relative;
  aspect-ratio: 1;
}

.benefits-figure::before,
.benefits-figure::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.benefits-figure::before {
  inset: -16px;
  border: 1px solid var(--line);
}

.benefits-figure::after {
  inset: -34px;
  border: 1px dashed rgba(47, 93, 79, 0.22);
}

.benefits-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 50%;
}

.benefits-lotus {
  position: absolute;
  left: 50%;
  bottom: -30px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
}

.benefits-lotus .lotus {
  --mark-bg: var(--sand);
  width: 38px;
  height: 38px;
}

/* ---------- Timetable ---------- */

.timetable-section {
  padding: var(--section-y) 0;
}

.timetable {
  position: relative;
  overflow: hidden;
  padding: 88px 64px 0;
  border-radius: var(--radius-xl);
  background: var(--brand-dark);
  color: var(--surface);
}

.timetable h2 em {
  color: var(--haldi-light);
}

.timetable-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: start;
}

.timetable .eyebrow {
  color: var(--haldi-light);
}

.timetable h2 {
  color: var(--surface);
  margin-bottom: 20px;
}

.timetable-copy p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
}

.batches {
  display: grid;
  gap: 10px;
}

.batches li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.batch-time {
  font-family: var(--serif);
  font-size: var(--fs-serif-sm);
}

.batch-days {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
}

.timetable-word {
  margin: 48px 0 0;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(96px, 22vw, 300px);
  font-weight: 800;
  line-height: 0.74;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* ---------- Reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.review-topic {
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--sand);
  border-radius: 999px;
  color: var(--brand);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review blockquote {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-serif-sm);
  line-height: 1.55;
}

.review-featured {
  grid-row: 1 / span 2;
  position: relative;
  padding: 48px;
  background: var(--brand);
  border-color: var(--brand);
}

/* Oversized opening quote mark */
.review-featured::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 36px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--serif);
  font-size: 220px;
  line-height: 1;
}

.review-featured .review-topic {
  background: rgba(255, 255, 255, 0.12);
  color: var(--haldi-light);
}

.review-featured blockquote {
  color: var(--surface);
  font-size: var(--fs-quote);
  line-height: 1.5;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-featured img {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.review figcaption span {
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.35;
}

.review figcaption strong {
  display: block;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
}

.review-featured figcaption span {
  color: rgba(255, 255, 255, 0.75);
}

.review-featured figcaption strong {
  color: var(--surface);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.faq-grid .section-head {
  margin-bottom: 0;
}

.faq-grid .section-head .muted {
  margin-top: 20px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--brand);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.faq summary::after {
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 62ch;
  margin: -6px 0 0;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* ---------- Closing CTA ---------- */

.cta {
  padding: 0 0 var(--section-y);
}

.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 112px 32px;
  border-radius: var(--radius-xl);
  background: var(--sand);
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 248, 243, 0.42);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}

.cta p {
  margin: 16px 0 32px;
  color: var(--ink-2);
  font-size: var(--fs-body);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 24px;
  background: var(--sand);
  font-size: var(--fs-small);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
}

.footer-brand .lotus {
  --mark-bg: var(--sand);
}

.footer-brand p {
  max-width: 300px;
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.footer-col p span {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 400;
}

.site-footer a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer a:not(.btn):hover {
  color: var(--brand);
}

.footer-col i {
  margin-right: 6px;
  color: var(--brand);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-label);
}

.footer-base p {
  margin: 0;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  padding-top: 72px;
  padding-bottom: var(--section-y);
}

.legal h1 {
  margin-bottom: 20px;
  font-size: var(--fs-h2);
}

.legal-lead {
  margin-bottom: 40px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-serif-sm);
  line-height: 1.5;
}

.legal h2 {
  margin: 40px 0 10px;
  font-family: var(--sans);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 0;
}

.legal p {
  color: var(--ink-2);
}

.footer-base a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(102, 113, 107, 0.4);
}

/* ---------- Floating WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--surface);
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(29, 39, 34, 0.2);
}

.whatsapp-float:hover {
  color: var(--surface);
  background: #1EBE5B;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .motion [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-copy > * {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.3s; }

  .hero-copy > :nth-child(5) { animation-delay: 0.4s; }

  /* Sunrise on the peaks: cool pre-dawn tones warm into morning light, once */
  .hero-art {
    animation: dawn 3.2s 0.2s cubic-bezier(0.3, 0, 0.2, 1) both;
  }

  .benefits-figure::after {
    animation: spin 90s linear infinite;
  }

  .whatsapp-float {
    animation: pop 0.5s 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
  }

  .faq details[open] p {
    animation: fade-down 0.35s ease;
  }

  .underlined svg {
    clip-path: inset(0 100% 0 0);
    animation: sweep 1.1s 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }

  /* One slow breath, 4s in and 4s out: the petals open and close */
  .lotus-breathe .p-l { animation: open-left 8s ease-in-out infinite; }
  .lotus-breathe .p-r { animation: open-right 8s ease-in-out infinite; }
  .lotus-breathe .p-ll { animation: open-left-low 8s ease-in-out infinite; }
  .lotus-breathe .p-lr { animation: open-right-low 8s ease-in-out infinite; }
  .lotus-breathe .p-c { animation: rise-centre 8s ease-in-out infinite; }

  .cta-bg {
    transition: transform 14s cubic-bezier(0.2, 0.6, 0.2, 1);
  }

  .motion .cta-card.is-visible .cta-bg {
    transform: scale(1.07);
  }
}

@keyframes sweep {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes open-left {
  50% { transform: rotate(-9deg); }
}

@keyframes open-right {
  50% { transform: rotate(9deg); }
}

@keyframes open-left-low {
  50% { transform: rotate(-6deg); }
}

@keyframes open-right-low {
  50% { transform: rotate(6deg); }
}

@keyframes rise-centre {
  50% { transform: scaleY(1.06); }
}

@keyframes dawn {
  from {
    opacity: 0.55;
    filter: saturate(0.25) brightness(0.9) hue-rotate(-12deg);
    transform: scale(1.03);
  }

  45% {
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .teacher-grid,
  .classes-grid {
    gap: 48px;
  }

  .benefits {
    gap: 40px;
  }

  .faq-grid,
  .timetable-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 48px) 0 32px;
  }

  .hero-copy .underlined {
    white-space: normal;
  }

  /* On phones the painting sits below the words, fading in and out */
  .hero-art {
    top: auto;
    left: 0;
    bottom: 16px;
    width: 100%;
    height: 270px;
    object-position: 60% 0%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
    mask-composite: add;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    padding-bottom: 250px;
  }


  .hero-cta {
    gap: 10px;
    padding-left: 18px;
    font-size: var(--fs-small);
  }

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

  .heritage {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
  }

  .heritage-art {
    max-width: 320px;
  }

  .heritage-grid {
    right: -160px;
    top: auto;
    bottom: -120px;
    transform: none;
  }








  .teacher-grid,
  .classes-grid {
    grid-template-columns: 1fr;
  }


  .teacher-collage {
    width: 100%;
    max-width: 520px;
  }

  .classes-head {
    position: static;
  }

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

  .review-featured {
    grid-row: auto;
  }

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

  .benefits-figure {
    order: -1;
    width: min(300px, 76%);
    margin: 0 auto 32px;
  }

  .benefits-col,
  .benefits-col:first-child {
    text-align: left;
    gap: 28px;
  }

  :root {
    --section-y: 80px;
  }

  .timetable {
    padding: 56px 32px 0;
  }


  .section-head {
    margin-bottom: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  :root {
    --fs-body: 16px;
    --fs-lead: 17px;
  }

  .wordmark {
    font-size: 21px;
  }







  .collage-seal {
    left: calc(50% - 48px);
    top: calc(52% - 48px);
    width: 96px;
    height: 96px;
    border-width: 4px;
  }

  .collage-seal strong {
    font-size: 32px;
  }

  .collage-seal span {

  }

  .teacher-collage figcaption {

  }

  .teacher-lead {
    font-size: var(--fs-serif-sm);
  }

  .class-rows li {
    grid-template-columns: var(--icon) 1fr;
    gap: 6px 16px;
    padding: 20px 4px;
  }


  .row-tag {
    grid-column: 2;
    justify-self: start;
  }

  .batches li {
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
  }

  .batch-time {
    font-size: var(--fs-serif-sm);
  }

  .batch-days {

  }

  .review,
  .review-featured {
    padding: 26px 22px;
  }

  .review-featured blockquote {
    font-size: var(--fs-serif-sm);
  }

  .cta-card {
    padding: 72px 20px;
    border-radius: var(--radius-lg);
  }

  .timetable {
    padding: 44px 18px 0;
    border-radius: var(--radius-lg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
