/* =============================================
   MAYURA NATYALAYA — Site styles
   Ivory paper, ink, kumkum maroon, antique gold.
   ============================================= */

/* ---------- 0. Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/site/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/site/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/site/manrope.woff2") format("woff2");
}

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #F7F3EC;
  --paper-2: #EFE8DC;
  --sand: #E9E0D2;
  --white: #FFFDF9;
  --ink: #1D1A17;
  --ink-2: #463F38;
  --muted: #6E665C;
  --line: #DDD3C3;
  --line-strong: #C9BCA8;
  --maroon: #7B1E2B;
  --maroon-dark: #5E1520;
  --gold: #A8834A;
  --gold-soft: #CDB68C;
  --night: #1A2024;
  --night-2: #222A2E;
  --whatsapp: #1FA855;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-dark); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--maroon); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: .875rem;
}
.skip-link:focus { top: 16px; color: var(--white); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }
.section--alt { background: var(--paper-2); }

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--maroon);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.h-display {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
}
.h-section {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
}
.h-display em,
.h-section em {
  font-style: italic;
  color: var(--maroon);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-2);
}

.section-head .lead { margin-top: 20px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { flex: none; }

.btn--primary { background: var(--maroon); color: var(--white); }
.btn--primary:hover { background: var(--maroon-dark); color: var(--white); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--light { border-color: rgba(255, 253, 249, .35); color: var(--white); }
.btn--light:hover { border-color: var(--white); color: var(--white); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #188E47; color: #fff; }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: .8125rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--maroon);
}
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(29, 26, 23, .35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .005em;
}
.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 36px; }
.nav-list {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 500;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--ink); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-copy .lead { max-width: 540px; margin: 28px 0 40px; }

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(48px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  padding: 22px 20px 0 0;
}
.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.hero-facts dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.1;
}
.hero-facts dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

.hero-figure { margin: 0; }
.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--sand);
}
.hero-figure figcaption {
  margin-top: 40px;
  color: var(--muted);
  font-size: .8125rem;
}
.hero-figure figcaption strong { color: var(--ink); font-weight: 600; }

/* ---------- 7. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.about-grid .h-section { position: sticky; top: 120px; }
.about-body .lead { color: var(--ink); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 36px 32px 0 0;
}
.pillar + .pillar {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.pillar-num {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}
.pillar h3 {
  margin-bottom: 4px;
  font-size: 2rem;
}
.pillar-gloss {
  display: block;
  margin-bottom: 14px;
  color: var(--maroon);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pillar p { font-size: .9375rem; color: var(--ink-2); }

/* ---------- 8. Teachers ---------- */
.teachers-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}
.teachers-intro { align-self: center; padding-right: clamp(0px, 3vw, 40px); }
.teachers-intro p { margin-top: 24px; }

.teacher { margin: 0; }
.teacher-photo {
  overflow: hidden;
  background: var(--sand);
}
.teacher-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s var(--ease);
}
.teacher:hover .teacher-photo img { transform: scale(1.03); }
.teacher figcaption { padding-top: 18px; }
.teacher-name {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
}
.teacher-role {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .8125rem;
}

/* ---------- 9. Quote band ---------- */
.quote-band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 52vw, 560px);
  padding: 80px var(--gutter);
  overflow: hidden;
  background-color: var(--night);
  background-image: url("../images/site/nataraja-1400.jpg");
  background-image: image-set(url("../images/site/nataraja-1400.webp") type("image/webp"), url("../images/site/nataraja-1400.jpg") type("image/jpeg"));
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}
.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 30, 33, .55), rgba(24, 30, 33, .78));
}
.quote-band blockquote {
  position: relative;
  max-width: 860px;
  margin: 0;
}
.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
}
.quote-band cite {
  display: block;
  margin-top: 28px;
  color: var(--gold-soft);
  font-size: .75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ---------- 10. Guru ---------- */
.guru {
  background: var(--night);
  color: rgba(255, 253, 249, .78);
}
.guru h2, .guru h3 { color: var(--white); }
.guru .eyebrow { color: var(--gold-soft); }
.guru .h-section em { color: var(--gold-soft); }

.guru-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.guru-photo { position: relative; margin: 0; }
/* Melt the studio backdrop of the photo into the section */
.guru-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 48px 24px var(--night);
  pointer-events: none;
}
.guru-photo img {
  width: 100%;
  aspect-ratio: 900 / 1111;
  object-fit: cover;
}

.guru-copy .h-section { margin-bottom: 8px; }
.guru-title {
  display: block;
  margin-bottom: 32px;
  color: var(--gold-soft);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.guru-copy strong { color: var(--white); font-weight: 600; }

.credentials {
  margin: 36px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 253, 249, .14);
}
.credentials li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 253, 249, .14);
  font-size: .9375rem;
}
.credentials li span:first-child {
  color: var(--white);
  font-weight: 600;
}

.guru-quote {
  margin: 0 0 36px;
  padding-left: 24px;
  border-left: 1px solid var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
}
.guru-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. Classes ---------- */
.batches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.batch {
  display: flex;
  flex-direction: column;
  padding: 36px 30px 34px;
  background: var(--paper);
  transition: background-color .3s var(--ease);
}
.batch:hover { background: var(--white); }
.batch-age {
  color: var(--maroon);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.batch h3 {
  margin: 14px 0 14px;
  font-size: 1.9rem;
}
.batch p { flex: 1; font-size: .9375rem; }

.path {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 80px);
  margin-top: clamp(64px, 8vw, 96px);
  align-items: start;
}
.path h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.path-intro p { margin-top: 18px; }

.path-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.path-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.path-steps li:last-child { border-bottom: 1px solid var(--line); }
.path-steps li::before {
  content: "0" counter(step);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.2;
}
.path-steps h4 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}
.path-steps p { grid-column: 2; margin: 0; font-size: .9375rem; }
.path-steps li > div { grid-column: 2; grid-row: 1; }

.schedule-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
}
.schedule-note dl {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin: 0;
}
.schedule-note dt {
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.schedule-note dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 12. Enquiry ---------- */
.enquire-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.enquire-aside .lead { margin: 24px 0 36px; }

.next-steps {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.next-steps li {
  position: relative;
  padding: 0 0 14px 28px;
  font-size: .9375rem;
}
.next-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.direct-contact {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.direct-contact p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .875rem;
}

.form-card {
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
}
.field label .optional { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .2s, background-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23463F38' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9C9286; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(123, 30, 43, .12);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.form-footer small { color: var(--muted); font-size: .8125rem; }

.honeypot { display: none; }

/* ---------- 13. Journal ---------- */
.journal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.journal-head .section-head { margin-bottom: 0; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3vw, 48px);
}
.post-card {
  display: flex;
  flex-direction: column;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line-strong);
}
.post-card-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.post-card-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--gold);
}
.post-card h3 {
  margin-bottom: 14px;
  font-size: 1.65rem;
  line-height: 1.2;
}
.post-card h3 a { color: var(--ink); transition: color .2s; }
.post-card h3 a:hover { color: var(--maroon); }
.post-card p {
  flex: 1;
  margin-bottom: 22px;
  color: var(--ink-2);
  font-size: .9375rem;
}
.post-grid-empty { grid-column: 1 / -1; color: var(--muted); }

/* ---------- 14. Visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.visit-list {
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}
.visit-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.visit-list dt {
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 2.2;
  text-transform: uppercase;
}
.visit-list dd { margin: 0; color: var(--ink); }
.visit-list a { font-weight: 600; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.map-frame {
  min-height: 420px;
  background: var(--sand);
  border: 1px solid var(--line);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(.35) contrast(.95);
}

/* ---------- 15. Footer ---------- */
.site-footer {
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--ink);
  color: rgba(255, 253, 249, .66);
  font-size: .9375rem;
}
.site-footer a { color: rgba(255, 253, 249, .82); transition: color .2s; }
.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 253, 249, .12);
}
.footer-brand .brand-name { color: var(--white); font-size: 2rem; }
.footer-brand p { max-width: 340px; margin-top: 16px; }
.footer-title {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 10px; }

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 249, .2);
  border-radius: 50%;
  transition: border-color .2s, background-color .2s;
}
.social a:hover { border-color: var(--white); background: rgba(255, 253, 249, .06); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: .8125rem;
}

/* ---------- 16. WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), background-color .25s;
}
.whatsapp-float:hover { transform: translateY(-2px); background: #188E47; color: #fff; }

/* ---------- 17. Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- 18. Inner pages ---------- */
picture { display: block; }
picture img { width: 100%; height: auto; }

.page-crumbs { padding-top: 28px; }
.page-crumbs .breadcrumb { margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .8125rem;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb [aria-current] {
  max-width: 44ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero { padding: clamp(32px, 5vw, 64px) 0 var(--section); }
.page-hero--plain { padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.page-hero .lead { max-width: 600px; margin: 26px 0 36px; }
.page-hero .lead--wide { max-width: 760px; }
.page-hero .hero-facts { margin-top: 48px; }
.h-display--page { font-size: clamp(2.5rem, 5vw, 4.1rem); }
.page-hero-figure { position: relative; margin: 0; }
.page-hero-figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--sand); }
.page-hero-figure--portrait { max-width: 420px; justify-self: end; }
.page-hero-figure--landscape img { aspect-ratio: 16 / 10; }
.page-hero-figure:has(figcaption)::before { display: none; }
.page-hero-figure figcaption { position: relative; margin-top: 28px; }
.page-hero-figure--portrait img { aspect-ratio: 3 / 4; }
.page-hero-figure::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.page-hero-figure picture { position: relative; }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.chip-list a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  transition: border-color .2s, background-color .2s;
}
.chip-list a:hover { border-color: var(--maroon); background: var(--white); color: var(--maroon); }

.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 7vw, 112px);
  align-items: start;
}
.prose--page { max-width: 680px; }

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  padding-left: 1.1em !important;
}

.lineage { counter-reset: none; }
.lineage li { margin-bottom: .8em; }

.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 7vw, 104px);
  align-items: start;
}
.faq-layout .lead { margin-top: 20px; }
.faq-title {
  margin-bottom: 8px;
  font-size: 1.75rem;
}
.faq-layout .faq-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 22px 40px 22px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--maroon);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: -6px 0 24px; max-width: 62ch; }

.map-frame { position: relative; }
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  height: 100%;
  min-height: 420px;
  padding: 40px;
  background:
    linear-gradient(rgba(233, 224, 210, .92), rgba(233, 224, 210, .92)),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(168, 131, 74, .25) 22px 23px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(168, 131, 74, .25) 22px 23px);
}
.map-placeholder p { color: var(--ink); }
.map-frame.is-loaded .map-placeholder { display: none; }

/* Adjacent sections of the same tone get a hairline between them */
.section--alt + .section--alt,
.section:not(.section--alt):not(.guru) + .section:not(.section--alt):not(.guru) { border-top: 1px solid var(--line); }

/* ---------- 19. Journal ---------- */
.post-card-media {
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--sand);
}
.post-card-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card { padding-top: 0; border-top: 0; }
.post-card h3 { font-size: 1.55rem; }

.journal-index { padding-bottom: var(--section); }
.journal-category { padding-top: clamp(48px, 6vw, 72px); }
.journal-category + .journal-category { border-top: 1px solid var(--line); margin-top: 24px; }
.journal-category-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.journal-category-title span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- 20. Article ---------- */
.post-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 48px); }
.post-hero-inner { max-width: 860px; }
.post-hero .eyebrow:hover { color: var(--maroon-dark); }
.post-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06;
}
.post-dek {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 26px;
  color: var(--muted);
  font-size: .875rem;
}
.post-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--gold);
}
.post-meta a { color: var(--ink); font-weight: 600; }

.post-layout { padding-bottom: var(--section); }
.post-hero-figure { margin: 0 0 clamp(40px, 5vw, 64px); }
.post-hero-figure img { max-height: 640px; object-fit: cover; background: var(--sand); }
.post-hero-figure.is-portrait { max-width: 560px; }
.post-hero-figure.is-portrait img { max-height: none; }

figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}
figcaption .credit { font-size: .75rem; }
figcaption .credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
figcaption .credit a:hover { color: var(--maroon); }

.post-columns {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 280px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}
.post-body { min-width: 0; }
.post-aside-inner { position: sticky; top: 104px; }
.post-aside .post-toc { margin-bottom: 32px; }
.aside-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .9375rem;
}
.aside-card .eyebrow { margin-bottom: 12px; }
.aside-card p { margin-bottom: 12px; }
.aside-card ul { margin: 0 0 20px; padding-left: 1.1em; color: var(--ink-2); }
.aside-card li { margin-bottom: 4px; }
.aside-card li::marker { color: var(--gold); }
.aside-card .btn { width: 100%; margin-bottom: 14px; }
.prose .list-columns { columns: 3 150px; column-gap: 24px; }
.prose .list-columns li { break-inside: avoid; }

.post-summary {
  margin-bottom: 40px;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--maroon);
}
.post-summary h2 {
  margin-bottom: 12px;
  color: var(--maroon);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.post-summary ul { margin: 0; padding-left: 1.1em; }
.post-summary li { margin-bottom: 6px; color: var(--ink); }
.post-summary li::marker { color: var(--gold); }

.post-toc {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post-toc h2 {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.post-toc ol { margin: 0; padding-left: 1.2em; }
.post-toc li { margin-bottom: 8px; break-inside: avoid; font-size: .9375rem; }
.post-toc li::marker { color: var(--gold); font-family: var(--font-display); }
.post-toc a { color: var(--ink-2); }
.post-toc a:hover { color: var(--maroon); }

.prose {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.85;
}
.prose > *:first-child { margin-top: 0; }
.prose > p:first-of-type { color: var(--ink); font-size: 1.15rem; }
.prose h2 {
  margin: 2.2em 0 .6em;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.15;
  scroll-margin-top: 100px;
}
.prose h3 {
  margin: 1.8em 0 .5em;
  font-size: 1.55rem;
  scroll-margin-top: 100px;
}
.prose p { margin: 0 0 1.3em; }
.prose ul,
.prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; padding-left: .3em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(123, 30, 43, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
}
.prose table {
  width: 100%;
  margin: 1.6em 0 2em;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.55;
}
.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  color: var(--ink);
  background: var(--paper-2);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.prose td:first-child { color: var(--ink); font-weight: 600; }
.table-scroll { margin: 1.6em 0 2em; overflow-x: auto; }
.table-scroll table { margin: 0; min-width: 560px; }

.post-figure { margin: 2.2em 0; }
.post-figure img { background: var(--sand); }
.post-figure.is-portrait { max-width: 420px; }

.post-body > .faq { margin-top: 56px; }
.post-body > .faq .faq-title { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.3rem); }

.post-sources {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-sources h2 {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.post-sources ul { margin: 0; padding-left: 1.1em; font-size: .9375rem; }
.post-sources li { margin-bottom: 6px; }

.post-cta {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
}
.post-cta .eyebrow { margin-bottom: 14px; }
.post-cta h2 { margin-bottom: 12px; font-size: 2rem; }
.post-cta p { margin-bottom: 24px; }
.post-cta .hero-actions { gap: 12px; }

.footer-nap {
  margin: 20px 0 22px;
  color: rgba(255, 253, 249, .66);
  font-size: .875rem;
  font-style: normal;
  line-height: 1.7;
}
.footer-nap strong { color: rgba(255, 253, 249, .9); font-weight: 600; }

/* ---------- 20b. Gallery & video ---------- */
video { display: block; width: 100%; height: auto; background: var(--sand); }

.gallery-masonry { columns: 3 260px; column-gap: 18px; }
.tile {
  margin: 0 0 18px;
  break-inside: avoid;
}
.tile img,
.tile video { background: var(--sand); }
.tile figcaption { padding: 10px 2px 4px; margin-top: 0; }

.showcase {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.showcase-reel { margin: 0; position: sticky; top: 110px; }
.showcase-reel video { aspect-ratio: 9 / 16; object-fit: cover; }
.showcase .gallery-masonry,
.gallery-masonry--two { columns: 2 220px; }
.gallery-masonry--two { max-width: 760px; }

.video-figure { margin: 2.2em 0; }
.video-figure.is-portrait { max-width: 420px; }
.page-hero-figure video { aspect-ratio: auto; }

.gallery-section + .gallery-section { margin-top: clamp(56px, 7vw, 88px); }
.gallery-section .section-head { margin-bottom: 32px; }

.brand img { width: 42px; height: 42px; }
.footer-wordmark { width: 200px; height: auto; margin: -8px 0 4px -6px; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .batches { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .teachers-intro { grid-column: 1 / -1; padding-right: 0; margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-columns { grid-template-columns: 1fr; gap: 0; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-reel { position: static; max-width: 340px; }
  .post-aside { order: -1; }
  .post-aside-inner { position: static; }
  .post-aside .aside-card { display: none; }
  .post-aside .post-toc { margin-bottom: 40px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 80px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.75rem;
  }
  .nav-list a::after { display: none; }
  .site-nav .btn { margin-top: 32px; }

  .hero-grid,
  .about-grid,
  .guru-grid,
  .enquire-grid,
  .visit-grid,
  .page-hero-grid,
  .two-col,
  .faq-layout,
  .path { grid-template-columns: 1fr; }
  .page-hero-figure { max-width: 520px; margin-right: 18px; }
  .page-hero-figure--portrait { justify-self: start; max-width: 380px; }

  .hero-figure { max-width: 520px; margin-right: 22px; }
  .about-grid .h-section { position: static; }
  .guru-photo { max-width: 480px; }
}

@media (max-width: 680px) {
  body { font-size: .9688rem; }
  .header-inner { height: 68px; }
  .site-nav { inset: 68px 0 0; }
  html { scroll-padding-top: 76px; }
  .brand-name { font-size: 1.4rem; }
  .brand img { width: 36px; height: 36px; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div,
  .hero-facts div + div {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-facts dd { margin: 0; }

  .pillars,
  .post-grid,
  .batches { grid-template-columns: 1fr; }
  .pillar,
  .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }

  .teacher-name { font-size: 1.3rem; }
  .credentials li { grid-template-columns: 1fr; gap: 2px; }
  .form-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .post-summary { padding: 22px; }
  .faq-item summary { font-size: 1.2rem; }
  .form-footer .btn { width: 100%; }
  .visit-list div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .schedule-note { padding: 24px; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}
