/* =============================================================
   Dr. Neha D Kamat — v1 "faithful", official brand palette
   Plain CSS. Design tokens as custom properties.
   ============================================================= */

/* ---------- Self-hosted fonts ----------
   Both are VARIABLE fonts: one file per family covers every weight
   we use, so there is nothing to add if a new weight is needed
   (Cormorant Garamond 300-700, Mulish 200-1000).
   Files are Google's own "latin" subset, downloaded once — same
   glyph coverage as before, but served from our own origin, which
   removes the third-party CSS round-trip from the critical path.
   To refresh them, see README.md -> Fonts.
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-var.woff2') format('woff2');
  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: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/mulish-latin-var.woff2') format('woff2');
  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;
}

/* ---------- Design tokens ---------- */
:root {
  /* Official brand palette (from client's swatch page) */
  --ivory:      #F6F1E8;  /* primary  */
  --sand:       #E0CEBD;  /* primary  */
  --charcoal:   #1E1E1C;  /* primary  */
  --wisteria:   #9492B7;  /* secondary — used restrained */
  --forest:     #456049;  /* secondary — primary accent  */

  /* Derived roles */
  --bg:            var(--ivory);
  --panel:         #EFE7D9;   /* soft sand tint for alternating sections */
  --card:          #FCFAF4;   /* near-white warm surface, pops on panel/bg */
  --ink:           var(--charcoal);
  --text:          #3C382F;   /* body copy */
  --muted:         #6E675B;   /* secondary text */
  --accent:        var(--forest);
  --accent-dark:   #374C3A;   /* forest hover / links-hover */
  --accent-soft:   #9CB6A3;   /* light forest for accents on dark bg */
  --accent-2:      var(--wisteria);
  --accent-2-dark: #66638C;   /* deepened from #7B78A0 for 4.5:1 on --panel */
  --line:          #E4DAC9;   /* hairline */
  --line-2:        #D5C8B4;   /* stronger hairline (buttons) */

  /* Footer */
  --footer-bg:     var(--charcoal);
  --footer-text:   #EDE7DC;
  --footer-muted:  #8F887C;   /* lifted from #8A8377 for 4.5:1 on --charcoal */
  --footer-line:   #38352E;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Mulish', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 1120px;
  --pad-x: 24px;
  --section-y: clamp(64px, 8vw, 104px);
  --radius: 20px;
  --radius-sm: 16px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Offset in-page anchor jumps so targets aren't hidden under the sticky header. */
  scroll-padding-top: 150px;
  /* Contain the off-canvas mobile drawer (a fixed element is clipped by the
     root, not by body). overflow:clip does not create a scroll container,
     so the sticky header keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
/* <picture> is only a format-picker wrapper — keep it out of layout so the
   <img> stays the direct grid/flex item for every rule below.
   <source> must be hidden explicitly: display:contents promotes ALL children,
   and a visible-to-layout <source> would otherwise claim its own grid/flex
   slot and push the image out of position. */
picture { display: contents; }
picture > source { display: none; }

a { color: var(--accent-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Reusable atoms ---------- */
.wrap        { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap--narrow{ max-width: var(--maxw-narrow); }
.section     { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--panel { background: var(--panel); }

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ivory);
  padding: 11px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--accent-dark); color: var(--ivory); }

.btn--ghost {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

/* ---------- Intro logo splash (home page) ----------
   SEO-safe: the full page is in the DOM and rendered; this overlay only
   covers it visually for a moment, then fades. pointer-events:none means it
   never blocks interaction. Skipped for reduced-motion and after first view. */
.intro {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--ivory);
  animation: introHide 2.1s ease forwards;
}
.intro__logo {
  width: clamp(120px, 26vw, 180px); height: auto;
  animation: introLogo 2.1s ease forwards;
}
@keyframes introHide {
  0%, 52% { opacity: 1; visibility: visible; }
  100%    { opacity: 0; visibility: hidden; }
}
@keyframes introLogo {
  0%   { opacity: 0; transform: scale(0.92); }
  16%  { opacity: 1; transform: scale(1); }
  68%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.03); }
}
.intro-seen .intro { display: none; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 16px; flex: none; min-width: 0; }
.brand__mark { width: 115px; height: 115px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.brand__name {
  font-family: var(--serif); font-size: 22px; line-height: 1; white-space: nowrap;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.brand__tag {
  font-size: 11px; letter-spacing: 0.18em; line-height: 1.6; text-transform: uppercase; color: var(--accent); white-space: nowrap; text-align: center;
}

/* Two rows on desktop: menu links on top, social + Contact below (right-aligned). */
.nav { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.nav__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav a:not(.btn):not(.social) { color: var(--text); font-size: 14px; letter-spacing: 0.03em; }
.nav a:not(.btn):not(.social):hover { color: var(--ink); }
/* Active section (scrollspy). Negative margin keeps siblings from shifting. */
.nav a.is-active {
  background: rgba(69, 96, 73, 0.12); color: var(--accent-dark); font-weight: 600;
  border-radius: 8px; padding: 6px 12px; margin: -6px -12px;
}

.nav__social { display: flex; align-items: center; gap: 6px; }
.social { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.social svg { width: 24px; height: 24px; display: block; }
.social:hover { background: rgba(30, 30, 28, 0.06); }

/* Header-level social cluster — mobile only (icons shown directly in the header,
   not tucked inside the drawer). Hidden on desktop where the nav already shows them. */
.header-social { display: none; align-items: center; gap: 4px; margin-left: auto; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--card); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* Drawer chrome — hidden on desktop, activated in the mobile media query */
.nav-backdrop { display: none; }
.nav-close { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "title media"
    "cta   media";
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 56px; row-gap: 0;
  align-items: center;
}
.hero__title { grid-area: title; align-self: end; }
.hero__media { grid-area: media; align-self: center; }
.hero__cta   { grid-area: cta; align-self: start; justify-self: start; }
.hero__title {
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.04; letter-spacing: -0.01em; text-wrap: pretty;
}
.hero__cta {
  margin-top: 30px;
  padding: 15px 34px;
  font-size: 15px;
  border-radius: 14px;
}
.hero__socials { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: border-color .18s ease, color .18s ease;
}
.icon-btn:hover { border-color: var(--accent-2); color: var(--accent-2-dark); }
.icon-btn svg { width: 20px; height: 20px; }
.hero__photo {
  width: 100%; height: auto; object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(30, 30, 28, 0.14);
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.about__aside { position: sticky; top: 160px; }
.cred-list { display: flex; flex-direction: column; gap: 14px; }
.cred {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; display: flex; align-items: center; gap: 18px;
}
.cred__logo { width: 48px; height: 48px; object-fit: contain; flex: none; }
.cred__title { margin: 0; font-weight: 700; font-size: 15.5px; line-height: 1.35; color: var(--ink); }
.cred__org { margin: 3px 0 0; font-size: 14px; color: var(--muted); }
.about__orgs { margin: 20px 0 0; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.about__body { color: var(--text); font-size: 17px; line-height: 1.85; display: flex; flex-direction: column; gap: 18px; }
.about__body h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; margin-bottom: 10px; }
.about__body p { margin: 0; }

/* ---------- Why ---------- */
.why__title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; text-wrap: pretty; margin: 0 auto 44px; max-width: 900px; text-align: center; }
.why__cols { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.why__text p { margin: 0; color: var(--text); font-size: 18px; line-height: 1.85; }
.why__diagram { margin: 0; }
.why__diagram img,
.why__diagram svg { width: 100%; height: auto; display: block; }

/* ---------- Programs ---------- */
.programs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prog-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
}
.prog-card h3 { font-size: 27px; margin-bottom: 20px; }
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  margin-top: 8px; flex: none;
}
.bullets li span { font-size: 16px; color: var(--text); }

/* Programs subsection headings + single full-width counselling card */
.prog-subhead {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; color: var(--ink);
  margin: 0 0 24px;
}
.prog-subhead--second { margin-top: clamp(40px, 5vw, 60px); }
.programs__grid--single { grid-template-columns: 1fr; }
.prog-card--text { justify-content: center; }
.prog-card--text p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--text); }

/* ---------- Working with me + Process ---------- */
.entails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 76px; }
.entail {
  background: var(--panel); border-radius: var(--radius-sm); padding: 26px 24px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.section--panel .entail { background: var(--card); border: 1px solid var(--line); }
.entail__icon { display: block; width: 44px; height: 44px; color: var(--accent); margin-bottom: 16px; }
.entail__icon svg { width: 100%; height: 100%; display: block; }
.entail p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text); }

.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.process__intro h3,
.pf-subhead {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; color: var(--ink);
}
.process__intro p { margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ivory);
  font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none;
}
.steps p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.steps strong { color: var(--ink); }

/* ---------- Process & Fees ---------- */
.fees__label { margin: 0 0 20px; font-family: var(--serif); font-size: 26px; color: var(--ink); }
.fees__label--second { margin-top: 44px; }
/* "The Process" and "Fees" subsection headings (Mulish); divider before Fees. */
.pf-subhead { margin: 0 0 22px; }
.pf-subhead--fees {
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(36px, 5vw, 52px);
  border-top: 1px solid var(--line-2);
}
.fees__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.fee {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.fee__name { margin: 0; font-weight: 700; font-size: 16px; color: var(--ink); }
.fee__price { margin: 16px 0 0; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
.fee__per { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.fee__note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.fee__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fee__list li { font-size: 14px; line-height: 1.5; color: var(--text); display: flex; gap: 9px; }
.fee__list .yes { color: var(--accent); }
.fee__list .no  { color: var(--sand); }
.fee--feature {
  background: var(--accent); border-color: var(--accent); position: relative;
  box-shadow: 0 18px 40px rgba(69, 96, 73, 0.32);
}
.fee--feature .fee__name, .fee--feature .fee__price { color: var(--ivory); }
.fee--feature .fee__list li { color: #E9EFE7; }
.fee--feature .fee__list .yes { color: var(--ivory); }
.fee__badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--ink); color: var(--ivory);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Other services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-row {
  background: var(--panel); border-radius: var(--radius-sm); padding: 28px 30px;
  display: flex; align-items: center; gap: 16px;
}
.section:not(.section--panel) .service-row { background: var(--panel); }
.service-row::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.service-row span { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--ink); }

/* ---------- Special programs ---------- */
.special__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.special-card {
  background: var(--panel); border-radius: var(--radius); padding: 30px 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.special-card h3 { font-size: 24px; line-height: 1.2; }
.special-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.special-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.special-photos img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 14px 34px rgba(30, 30, 28, 0.10);
}

/* ---------- Testimonials rail ---------- */
.tst-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; }
.tst-controls .readall { font-size: 14px; font-weight: 600; letter-spacing: 0.03em; color: var(--accent-2-dark); }
.tst-controls .readall:hover { color: var(--ink); }
.rail-btn {
  width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--card);
  border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: border-color .18s ease;
}
.rail-btn:hover { border-color: var(--accent); }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 24px 24px; scroll-padding-left: 24px;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.tst-card {
  scroll-snap-align: start; flex: 0 0 min(360px, 80vw);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.tst-card:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.tst-card__person { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tst-card__avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; }
.tst-card__name { margin: 0; font-weight: 700; font-size: 16px; color: var(--ink); }
.tst-card__city { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.tst-card__quote { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 17px; line-height: 1.55; color: var(--ink); flex: 1; }
.tst-card__more { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--accent-2-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 40px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer__brand { max-width: 360px; }
.site-footer__logo { width: 64px; height: 64px; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer__desc { margin: 16px 0 0; font-size: 15px; line-height: 1.7; color: #B9B1A4; }
/* Forced line break in the footer tagline — desktop only. */
.br-desktop { display: inline; }
.footcols { display: flex; gap: 56px; flex-wrap: wrap; }
.footcol__title { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); }
.footcol p { margin: 0 0 8px; font-size: 15px; }
.footcol p:last-child { margin-bottom: 0; }
.footcol a { color: var(--footer-text); }
.footcol a:hover { color: #fff; }
.site-footer__bar {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--footer-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--footer-muted);
}
.site-footer__bar a { color: var(--footer-muted); }
.site-footer__bar a:hover { color: var(--footer-text); }
.site-footer__legal { display: flex; gap: 22px; }

/* =============================================================
   Testimonials page
   ============================================================= */
.tpage-header__inner { padding-top: 14px; padding-bottom: 14px; }
.tpage-brand { display: flex; align-items: center; gap: 12px; }
.tpage-brand img { width: 48px; height: 48px; }
.tpage-brand span {
  font-family: var(--serif); font-size: 20px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
}
.tpage-back { font-size: 14px; letter-spacing: 0.04em; }

.tpage-hero { padding: 80px 0 40px; text-align: center; }
.tpage-hero__inner { max-width: 820px; margin: 0 auto; }
.tpage-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; }

.tpage-main { max-width: 840px; margin: 0 auto; padding: 0 var(--pad-x) 100px; display: flex; flex-direction: column; gap: 64px; }
.tst-article { scroll-margin-top: 0; }
.tst-article + .tst-article { border-top: 1px solid var(--line); padding-top: 64px; }
.tst-article__person { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.tst-article__avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.tst-article__name { margin: 0; font-weight: 700; font-size: 18px; color: var(--ink); }
.tst-article__city { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.tst-article__quote {
  font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.3;
  color: var(--accent); margin: 0 0 20px;
}
.tst-article__body { color: var(--text); font-size: 16.5px; line-height: 1.75; display: flex; flex-direction: column; gap: 16px; }
.tst-article__body p { margin: 0; }
.tpage-foot { text-align: center; padding-top: 24px; }

/* =============================================================
   Content pages (Terms, Privacy, FAQ)
   ============================================================= */
.prose { max-width: 820px; margin: 0 auto; padding: 0 var(--pad-x) 100px; }
.prose__meta { margin: 0 0 40px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.prose h2 {
  font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2;
  color: var(--ink); margin: 40px 0 12px;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.8; color: var(--text); }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--accent-dark); text-decoration: underline; }
.prose__note {
  margin-top: 40px; padding: 18px 20px; background: var(--panel);
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  font-size: 14.5px; line-height: 1.7; color: var(--muted);
}

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; padding: 0 var(--pad-x) 100px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 22px;
  font-family: var(--sans); font-weight: 400; font-size: 26px; line-height: 1; color: var(--accent);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "\2212"; } /* minus */
.faq__item summary:hover { color: var(--accent-dark); }
.faq__answer { padding: 0 44px 26px 0; }
.faq__answer p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.8; color: var(--text); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.faq__answer ul li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.7; }
.faq__answer ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1024px) {
  .entails { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "media"
      "cta";
    row-gap: 32px; column-gap: 0;
  }
  .hero__title { align-self: auto; }
  .hero__cta { align-self: start; justify-self: start; margin-top: 4px; }
  .hero__photo { max-width: 460px; margin: 0 auto; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__aside { position: static; }
  .why__cols { grid-template-columns: 1fr; gap: 28px; }
  .why__diagram { max-width: 380px; margin: 0 auto; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .fees__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  /* Mobile nav — slide-in drawer from the right */
  .nav-toggle { display: flex; }

  /* Mobile header: logo centered, social icons stacked at the left, menu at right. */
  .brand__text { display: none; }
  .site-header__inner { gap: 10px; }
  .header-social {
    display: flex; flex-direction: column; gap: 6px;
    margin-left: 0; order: 1;
  }
  .header-social .social { width: 34px; height: 34px; }
  .header-social .social svg { width: 22px; height: 22px; }
  .brand { order: 2; flex: 1; justify-content: center; }
  .nav-toggle { order: 3; }

  /* Drop backdrop-filter here: it would make the header a containing block
     for the fixed drawer, trapping it inside the header's height. */
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-backdrop {
    display: block; position: fixed; inset: 0;
    background: rgba(30, 30, 28, 0.42);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 40;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(340px, 82vw);
    flex-direction: column; align-items: stretch; gap: 0;
    justify-content: flex-start;
    background: var(--bg);
    border-left: 1px solid var(--line);
    box-shadow: -14px 0 44px rgba(30, 30, 28, 0.20);
    padding: 84px 26px 28px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s ease;
    z-index: 50;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 16px; right: 18px;
    width: 44px; height: 44px;
    border: 1px solid var(--line-2); border-radius: 50%;
    background: var(--card); color: var(--ink);
    font-size: 26px; line-height: 1; cursor: pointer;
  }
  .nav-close:hover { border-color: var(--accent); }

  /* Drawer: links stacked, then the actions group (social + Contact). */
  .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .nav__links a { padding: 15px 2px; border-bottom: 1px solid var(--line); }
  /* No scrollspy highlight inside the mobile drawer. */
  .nav a.is-active { background: none; color: var(--text); font-weight: 400; margin: 0; padding: 15px 2px; border-radius: 0; }
  .nav .btn { margin-top: 18px; text-align: center; padding: 14px 22px; }
  .nav__social { justify-content: flex-start; gap: 14px; padding: 18px 0 2px; }
  .social { width: 44px; height: 44px; }

  body.nav-locked { overflow: hidden; }
}

@media (max-width: 860px) {
  .special__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 96px; }
  .programs__grid { grid-template-columns: 1fr; }
  .entails { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .special-photos { grid-template-columns: 1fr; }
  .brand { gap: 12px; }
  .brand__mark { width: 64px; height: 64px; }
  .brand__name { font-size: 17px; letter-spacing: 0.1em; }
  .brand__tag { display: none; }
  .br-desktop { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .fees__grid { grid-template-columns: 1fr; }
  .entails { grid-template-columns: 1fr; }

  /* Mobile hero — header + full-width photo + CTA sized to sit within one screen. */
  .hero { padding: 20px 0 40px; }
  .hero__grid { row-gap: 22px; }
  .hero__title { font-size: clamp(24px, 7.4vw, 33px); line-height: 1.16; }
  .hero__media {                    /* full-bleed to the viewport edges */
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
  }
  .hero__photo {
    max-width: none; width: 100%; margin: 0;
    height: 46vh; object-fit: cover; object-position: 50% 22%;
    border-radius: 0;
  }
  .hero__cta { justify-self: stretch; text-align: center; }

  .site-footer__inner { gap: 32px; }
  .footcols { gap: 36px; }
}
