/* Prasanna Yog: The Practice Prospectus */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  src: url("../assets/fonts/tiro-devanagari-hindi-deva.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  src: url("../assets/fonts/tiro-devanagari-hindi-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}

:root {
  /* sampled from the approved comp (.impeccable/mocks/prospectus-1-split.webp) */
  --ground: #ffffff;
  --ink: #141e08;
  --ink-soft: #35483b;
  --olive: #3e5617;
  --olive-deep: #3c4825;
  --olive-tint: #f3f4e6;
  --saffron: #b84f0a;        /* actions: 5.0:1 on white */
  --saffron-hover: #9c4208;
  --saffron-bright: #d46214; /* large Devanagari + accents */
  --gold: #e3bd62;
  --gold-soft: #efdcaa;
  --rule: #e3bd62;
  --line: #d9dccd;
  --focus: #3e5617;
  --error: #a3260e;

  --font-sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  --fs-body: 1.1875rem;     /* 19px: slightly larger than usual, per brief */
  --fs-small: 1.0625rem;
  --fs-lede: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h1: clamp(2.25rem, 1.2rem + 5.2vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);

  --wrap: 76rem;
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 3rem);
  --space-section: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 5.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: var(--olive) var(--olive-tint);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--saffron);
}

::selection { background: var(--gold-soft); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--ink); }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.5rem; padding: 0.85rem 1.75rem;
  font: 600 1.125rem/1.2 var(--font-sans); letter-spacing: -0.005em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn-primary { background: var(--saffron); color: #fff; box-shadow: 0 1px 2px rgb(92 38 4 / 0.18); }
.btn-primary:hover { background: var(--saffron-hover); color: #fff; box-shadow: 0 6px 16px -6px rgb(92 38 4 / 0.45); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgb(92 38 4 / 0.18); }
.btn-outline { background: transparent; color: var(--saffron); border-color: var(--saffron); min-height: 2.9rem; padding: 0.55rem 1.25rem; font-size: 1.0625rem; }
.btn-outline:hover { background: var(--saffron); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn-wide { min-width: 12rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 1.125rem; color: var(--olive); text-decoration: none;
  min-height: 3rem;
}
.text-link .arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.text-link:hover { color: var(--ink); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--rule);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgb(20 30 8 / 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); max-width: 90rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 3.5rem; height: auto; }
/* The logo is bottom-heavy (lotus + figure sit in the lower 60%, the sun rays above are hairlines), so the
   wordmark is centred on the lotus rather than on the image box. */
.brand-name { position: relative; top: 0.3em; font-family: var(--font-deva); font-size: 1.85rem; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 3rem); }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.site-nav ul a {
  display: inline-block; padding: 0.5rem 0; font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--saffron-bright), var(--saffron-bright)) left bottom / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { background-size: 100% 2px; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  min-height: min(calc(100svh - var(--header-h)), 52rem);
  border-bottom: 1px solid var(--rule);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 4.5vh, 3.5rem) clamp(2rem, 4vw, 4.5rem) clamp(2rem, 4vh, 3rem) max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter)));
}
.hero h1 { display: flex; flex-direction: column; gap: 0.35rem; }
.hero-name { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.hero-shri { font-family: var(--font-deva); font-weight: 400; font-size: 0.9em; letter-spacing: 0; color: var(--saffron-bright); }
.hero-sub { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; color: var(--ink-soft); }
.hero-lede { margin-top: 1.25rem; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.75rem; }

.credentials {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  margin: clamp(1.75rem, 3.5vh, 2.5rem) 0 0; padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
  max-width: 46rem;
}
.credential { padding: 0.15rem clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--rule); }
.credential:first-child { padding-left: 0; border-left: 0; }
.credential dt { white-space: nowrap; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.credential dd { margin: 0.35rem 0 0; font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.35; max-width: 17ch; }
.credential:nth-child(2) dd { white-space: nowrap; }

.hero-photo { position: relative; overflow: hidden; background: var(--olive-tint); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 70%; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section + .section { border-top: 1px solid var(--rule); }
.section-intro { margin-top: 1.25rem; font-size: var(--fs-lede); color: var(--ink-soft); max-width: 44ch; line-height: 1.5; }

.section-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin-top: 0.9rem; font-size: 1.125rem; font-weight: 600; color: var(--olive); }
.section-meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0.8rem 0.2rem; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; max-height: 36rem; overflow: hidden; background: var(--olive-tint); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-copy { max-width: 36rem; }
.about-copy h2 { margin-bottom: 1.75rem; }
.about-lead { font-size: var(--fs-lede); font-weight: 600; line-height: 1.45; margin-bottom: 1.25rem; }
.about-copy p + p { margin-top: 1rem; }
.about-copy p:not(.about-lead) { color: var(--ink-soft); }

/* Daily */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.daily .section-head .section-meta { margin-top: 0; }
.practice-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  counter-reset: none;
}
.practice { padding: 2rem clamp(1rem, 1.8vw, 1.75rem) 2.25rem; border-left: 1px solid var(--rule); }
.practice:first-child { border-left: 0; padding-left: 0; }
.practice-num { display: block; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; color: var(--olive); line-height: 1; font-variant-numeric: tabular-nums; }
.practice h3 { margin-top: 1.1rem; }
.practice p { margin-top: 0.6rem; font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.5; }
.practice-benefits { display: grid; gap: 0.75rem; margin-top: clamp(2rem, 3.5vw, 3rem); max-width: 60ch; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-soft); }
.section-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.cta-note { color: var(--ink-soft); font-size: var(--fs-small); }

/* Kids */
.kids { background: var(--olive-tint); padding-block: var(--space-section); }
.kids-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.kids-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: clamp(2rem, 4vw, 3rem) 0 2.5rem; border-top: 1px solid var(--gold); }
.kids-list li { padding: 1.5rem 1.5rem 0 0; }
.kids-list li + li { padding-left: 1.5rem; border-left: 1px solid var(--gold); }
.kids-list p { margin-top: 0.5rem; color: var(--ink-soft); font-size: var(--fs-small); }
.kids-photo { aspect-ratio: 9 / 8; overflow: hidden; background: var(--olive-tint); }
.kids-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials */
.testimonials-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.slider-controls { display: flex; gap: 0.75rem; }
.round-btn {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink); cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.round-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--olive-tint); border-color: var(--olive); color: var(--olive); }

.featured {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  max-width: 62rem;
}
.featured-photo { width: clamp(6rem, 12vw, 9.5rem); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--olive-tint); }
.featured-quote { margin: 0; }
.featured-quote p { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; max-width: 44ch; }
.featured-quote footer { display: flex; flex-direction: column; margin-top: 1.5rem; }
.featured-quote cite { font-style: normal; font-weight: 700; font-size: 1.1875rem; }
.featured-quote footer span { color: var(--ink-soft); font-size: var(--fs-small); }
.featured.is-changing .featured-quote, .featured.is-changing .featured-photo { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.featured-quote, .featured-photo { transition: opacity 0.45s var(--ease-out), filter 0.45s var(--ease-out), transform 0.45s var(--ease-out); }

.quote-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16.5rem, 1fr);
  gap: 1rem; margin-top: clamp(2.5rem, 4vw, 3.5rem);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
  scrollbar-width: thin;
}
.quote-list li { scroll-snap-align: start; display: flex; }
.quote-card {
  display: flex; flex-direction: column; gap: 0.35rem; width: 100%;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 1.35rem 1.35rem 1.25rem; background: var(--ground);
  border: 1px solid var(--gold); border-radius: 3px;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.quote-card:hover { box-shadow: 0 10px 24px -16px rgb(20 30 8 / 0.4); }
.quote-card[aria-pressed="true"] { background: var(--olive-tint); border-color: var(--olive); }
.quote-card-text { font-size: var(--fs-small); line-height: 1.45; margin-bottom: auto; padding-bottom: 1rem; }
.quote-card-name { font-weight: 700; font-size: 1rem; }
.quote-card-meta { font-size: 0.9375rem; color: var(--ink-soft); }
.quote-card-meta span { white-space: nowrap; }

/* Mission */
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3rem); }
.mission-item { display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; row-gap: 0.6rem; padding-right: clamp(1.5rem, 4vw, 4rem); }
.mission-item + .mission-item { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: 0; border-left: 1px solid var(--rule); }
.mission-icon { grid-row: span 2; width: 3rem; height: 3rem; fill: none; stroke: var(--olive); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mission-item p { color: var(--ink-soft); max-width: 40ch; }

/* FAQ */
.faq-list { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 1.25rem; min-height: 3.5rem; cursor: pointer; list-style: none;
  font-size: 1.25rem; font-weight: 600; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 1.25rem; height: 1.25rem;
  background:
    linear-gradient(var(--olive), var(--olive)) center / 100% 2px no-repeat,
    linear-gradient(var(--olive), var(--olive)) center / 2px 100% no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--olive); }
.faq-item { border: 1px solid var(--rule); border-radius: 3px; }
.faq-item + .faq-item { margin-top: 0.75rem; }
.faq-item[open] { background: var(--olive-tint); }
.faq-item p { padding: 0 1.25rem 1.5rem; color: var(--ink-soft); max-width: 58ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; margin-top: 2.5rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1.0625rem; }
.req { color: var(--saffron); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.5rem; padding: 0.8rem 1rem;
  font: inherit; font-size: 1.125rem; color: var(--ink);
  background: var(--ground); border: 1px solid #b9bea8; border-radius: 3px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5f6b58; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--olive); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgb(62 86 23 / 0.22); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgb(163 38 14 / 0.14); }
.field-error { color: var(--error); font-size: 1rem; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 3rem; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--olive); border-bottom: 2px solid var(--olive);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { font-size: 1.0625rem; }
.form-status.is-success { color: var(--olive); font-weight: 600; }
.form-status.is-error { color: var(--error); }

.contact-aside { padding: 2rem; background: var(--olive-tint); border-top: 3px solid var(--gold); margin-top: 0.5rem; }
.contact-aside h3 { font-size: 1.375rem; }
.contact-aside > p { margin-top: 0.75rem; color: var(--ink-soft); font-size: var(--fs-small); }
.contact-list { margin-top: 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: var(--fs-small); line-height: 1.4; }
.contact-list svg { flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.05rem; fill: none; stroke: var(--olive); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { background: var(--olive-deep); color: #eef0e2; padding-block: 2rem 1.5rem; }
.footer-inner {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: 1.25rem 3rem; max-width: 90rem;
}
.brand-footer .brand-name { top: 0.1em; color: #fff; font-size: 1.5rem; } /* footer mark sits in a centred circle */
.brand-footer .brand-mark { background: #fff; border-radius: 50%; padding: 0.3rem; width: 2.75rem; }
.footer-inner nav { justify-self: end; }
.footer-nav { display: flex; flex-wrap: nowrap; gap: 0.25rem clamp(1rem, 1.8vw, 1.75rem); }
.footer-nav a { color: #eef0e2; text-decoration: none; font-size: 1rem; padding: 0.4rem 0; display: inline-block; white-space: nowrap; }
.footer-nav a:hover { color: var(--gold); }
.footer-note {
  grid-column: 1 / -1; justify-self: stretch; padding-top: 1.25rem; border-top: 1px solid rgb(238 240 226 / 0.18);
  font-size: 0.9375rem; color: #d3d8c0;
}
.site-footer :focus-visible { outline-color: var(--gold); }

/* ---------- Motion: gold hairlines draw in once ----------
   Rules are visible by default; JS opts in only rows that start below the fold. */
@media (prefers-reduced-motion: no-preference) {
  .credentials, .practice-row { position: relative; }
  .will-draw { border-top-color: transparent; }
  .will-draw::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rule);
    transform: scaleX(0); transform-origin: left center;
    transition: transform 1.2s var(--ease-out);
  }
  .will-draw.is-drawn::before { transform: scaleX(1); }
  .will-draw .practice { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
  .will-draw:not(.is-drawn) .practice { opacity: 0.35; transform: translateY(8px); }
  .will-draw.is-drawn .practice:nth-child(2) { transition-delay: 0.08s; }
  .will-draw.is-drawn .practice:nth-child(3) { transition-delay: 0.16s; }
  .will-draw.is-drawn .practice:nth-child(4) { transition-delay: 0.24s; }
  .will-draw.is-drawn .practice:nth-child(5) { transition-delay: 0.32s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .practice-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .practice:nth-child(4) { border-left: 0; padding-left: 0; }
  .practice:nth-child(n+4) { border-top: 1px solid var(--rule); }
}

@media (max-width: 1180px) {
  :root { --header-h: 4.5rem; }
  .brand-mark { width: 2.9rem; }
  .brand-name { font-size: 1.55rem; }
  .nav-toggle {
    display: grid; place-items: center; width: 3rem; height: 3rem; margin-right: -0.5rem;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 1.5rem; height: 2px; background: currentColor; border-radius: 1px;
    transition: transform 0.3s var(--ease-out), opacity 0.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-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1rem var(--gutter) 2rem; background: var(--ground);
    border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px -24px rgb(20 30 8 / 0.5);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); background: none; }
  .header-cta { align-self: flex-start; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2.75rem var(--gutter) 3rem; order: 1; }
  .hero-photo { order: 2; aspect-ratio: 4 / 3; }
  .credentials { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .about-grid, .kids-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 26rem; }
  .about-photo { order: 2; }
  .kids-photo { max-width: 34rem; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1.125rem; }
  .brand-name { font-size: 1.4rem; }
  .hero-actions .btn { width: 100%; }
  .credentials { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
  .credential, .credential:first-child { padding: 0 0 1rem; border-left: 0; border-bottom: 1px solid var(--rule); }
  .credential:last-child { border-bottom: 0; padding-bottom: 0; }
  .credential dd { max-width: none; }
  .practice-row { grid-template-columns: 1fr; }
  .practice, .practice:first-child, .practice:nth-child(4) { border-left: 0; padding: 1.5rem 0; display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 0.5rem; }
  .practice + .practice { border-top: 1px solid var(--rule); }
  .practice-num { grid-row: span 2; font-size: 1.75rem; }
  .practice h3 { margin-top: 0; }
  .kids-list { grid-template-columns: 1fr; }
  .kids-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--gold); margin-top: 1.5rem; }
  .featured { grid-template-columns: 1fr; }
  .quote-list { grid-auto-columns: 82%; }
  .mission-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mission-item, .mission-item + .mission-item { padding: 0; border-left: 0; }
  .mission-item + .mission-item { border-top: 1px solid var(--rule); padding-top: 2.5rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .contact-aside { padding: 1.5rem; }
  .section-meta { gap: 0.2rem 1.25rem; }
  .section-meta span + span::before { display: none; }
}

@media (max-width: 1180px) {
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 1rem; }
  .footer-inner nav { justify-self: start; }
  .footer-nav { flex-wrap: wrap; column-gap: 1.5rem; }
}

/* ---------- Corporate & group yoga ---------- */
.corporate-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.corporate-grid { align-items: start; }
.corporate-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--olive-tint); }
.corporate-photo figcaption { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-soft); }
.corporate-lead { margin-top: 1.5rem; font-size: var(--fs-lede); line-height: 1.5; max-width: 36ch; }
.corporate-quote { margin: 2rem 0 2.25rem; padding: 1.35rem 1.5rem; background: var(--olive-tint); border-top: 3px solid var(--gold); border-radius: 3px; }
.corporate-quote p { font-size: 1.125rem; line-height: 1.5; }
.corporate-quote footer { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-soft); }
.corporate-quote cite { font-style: normal; font-weight: 700; color: var(--ink); }

@media (max-width: 960px) {
  .corporate-grid { grid-template-columns: 1fr; }
  .corporate-photo { order: 2; max-width: 40rem; }
  .corporate-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .corporate .btn { width: 100%; }
}

/* ---------- Gallery: progressive disclosure ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
/* Collapsed: first 9 on desktop and tablet, first 7 on phones */
.gallery-grid:not(.is-open) .gallery-item:nth-child(n+10) { display: none; }
.gallery-tile {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--olive-tint);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease-out); }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.gallery-item.is-revealed { animation: gallery-in 0.5s var(--ease-out) both; }
@keyframes gallery-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-toggle { gap: 0.6rem; }
.gallery-toggle .toggle-icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease-out); }
.gallery-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-item:first-child .gallery-tile { aspect-ratio: 4 / 3; }
  .gallery-grid:not(.is-open) .gallery-item:nth-child(n+8) { display: none; }
  .gallery-toggle { width: 100%; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(16 22 8 / 0.97); color: #fff;
}
.lightbox::backdrop { background: rgb(16 22 8 / 0.97); }
.lightbox[open] { animation: lb-in 0.3s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; touch-action: pan-y; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 0; padding: 4.5rem 5.5rem 2rem; max-width: 100%; max-height: 100%; }
.lightbox-img {
  max-width: 100%; max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem);
  width: auto; height: auto; object-fit: contain; border-radius: 3px;
  transition: opacity 0.25s var(--ease-out);
}
.lightbox-img.is-loading { opacity: 0.25; }
.lightbox-caption { font-size: 1.0625rem; color: #eef0e2; text-align: center; max-width: 60ch; }
.lightbox-caption span { color: #c9cfb4; }
.lightbox-count { position: absolute; top: 1.35rem; left: 1.5rem; margin: 0; font-size: 1rem; font-weight: 600; color: #eef0e2; font-variant-numeric: tabular-nums; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.28); background: rgb(255 255 255 / 0.1);
  color: #fff; cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.lightbox-btn svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-btn:hover { background: rgb(255 255 255 / 0.22); border-color: rgb(255 255 255 / 0.5); }
.lightbox-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
html.lightbox-open { overflow: hidden; }

@media (max-width: 640px) {
  .lightbox-figure { padding: 4.5rem 0.75rem 6.5rem; }
  .lightbox-img { max-height: calc(100dvh - 14rem); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox-prev { left: calc(50% - 4.25rem); }
  .lightbox-next { right: calc(50% - 4.25rem); }
}
