/* ==========================================================================
   Chaitali Shroff: site styles
   Calm, warm palette. Fonts are self-hosted (no requests to Google).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
}

:root {
  --bg: #fbf8f3;          /* warm off-white */
  --surface: #ffffff;
  --tint: #f2ece3;        /* sand */
  --sage-50: #eef3ef;
  --sage-100: #dde8e1;
  --terracotta-50: #f8e9e1;
  --primary: #3e6b5a;     /* sage green */
  --primary-dark: #2e5446;
  --accent: #c47a5a;      /* terracotta, decorative only */
  --ink: #1f2b28;
  --muted: #55625e;
  --line: #e4ddd2;
  --focus: #c47a5a;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgb(31 43 40 / 0.04), 0 10px 28px rgb(31 43 40 / 0.07);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

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

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

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

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-serif);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--primary-dark);
}

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

ul[class],
ol[class],
.site-nav ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 2 * var(--gutter), 44rem);
  margin-inline: auto;
}
.narrow-block {
  max-width: 46rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-tight {
  padding-top: clamp(1rem, 3vw, 2rem);
}
.section-tint {
  background: var(--tint);
}
.section-sage {
  background: var(--sage-50);
}
.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head p {
  color: var(--muted);
  font-size: 1.15rem;
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  max-width: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.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;
}

/* ---------- Draft markers ---------- */
.draft-banner {
  padding: 0.5rem 0;
  border-bottom: 1px solid #efdca3;
  background: #fff4d6;
  color: #5c4400;
  font-size: 0.95rem;
  text-align: center;
}
.todo {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border: 1px dashed #d4ad3f;
  border-radius: 6px;
  background: #fff4d6;
  color: #6b4f00;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}
.badge-draft {
  padding: 0 0.4rem;
  border-radius: 6px;
  background: #fff4d6;
  color: #6b4f00;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}
.btn-secondary {
  border-color: var(--primary);
  background: transparent;
  color: var(--primary-dark);
}
.btn-secondary:hover {
  background: var(--sage-50);
  color: var(--primary-dark);
}
.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
}
.btn-light {
  background: #fff;
  color: var(--primary-dark);
}
.btn-light:hover {
  background: var(--sage-50);
  color: var(--primary-dark);
}
.btn-outline-light {
  border-color: rgb(255 255 255 / 0.7);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.link-arrow {
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: " →";
}
.link-arrow:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(251 248 243 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 1.15;
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.brand-role {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav ul {
  display: flex;
  gap: 1.5rem;
}
.site-nav a:not(.btn) {
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}
.nav-toggle {
  display: none;
}

@media (max-width: 60rem) {
  .header-inner {
    flex-wrap: wrap;
  }
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    position: relative;
    display: block;
    width: 1.1rem;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s, background-color 0.2s;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  [data-open="true"] .nav-toggle-bars { background: transparent; }
  [data-open="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  [data-open="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0 0 1.25rem;
  }
  .js .site-nav { display: none; }
  .js [data-open="true"] .site-nav { display: flex; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav ul a:not(.btn) {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav ul a[aria-current="page"]:not(.btn) {
    border-bottom-color: var(--line);
    color: var(--primary);
  }
  .site-nav .btn {
    align-self: flex-start;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -10%;
  z-index: -1;
  width: 60vw;
  max-width: 44rem;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--sage-100), transparent 62%);
  transform: translateY(-50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.eyebrow {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow a {
  color: inherit;
  text-decoration: none;
}
.lead,
.lead p {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
}
.languages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 2rem;
}
.languages-label {
  color: var(--muted);
  font-size: 0.95rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li {
  padding: 0.25rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
}
.chips-small li {
  padding: 0.1rem 0.65rem;
  font-size: 0.85rem;
}

@media (max-width: 52rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
    width: min(11rem, 50%);
  }
  .hero::before {
    display: none;
  }
}

/* ---------- Portrait ---------- */
.portrait {
  position: relative;
  isolation: isolate;
}
.portrait picture,
.portrait img,
.portrait-placeholder {
  width: 100%;
}
.portrait img,
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}
.portrait::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  z-index: -1;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
}
.portrait-placeholder {
  display: grid;
  place-content: center;
  background: linear-gradient(160deg, var(--sage-100), var(--sage-50) 60%, var(--tint));
  color: var(--primary-dark);
  text-align: center;
}
.portrait-placeholder span {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.portrait-placeholder small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.portrait-small {
  flex: 0 0 auto;
  width: 5.5rem;
}
.portrait-small::after {
  display: none;
}
.portrait-small img,
.portrait-small .portrait-placeholder {
  border-radius: 50%;
  aspect-ratio: 1;
  object-position: center top;
  box-shadow: none;
}
.portrait-small .portrait-placeholder span {
  font-size: 1.8rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.card-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.card h2,
.card h3 {
  font-size: 1.35rem;
}
.card p:last-child {
  margin-bottom: 0;
}
.card-grid > .card::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50% 50% 50% 14%;
  background: var(--sage-100);
}
.card-grid > .card:nth-child(3n + 2)::before {
  background: var(--terracotta-50);
}
.card-grid > .card:nth-child(3n + 3)::before {
  background: var(--tint);
}
.card-grid > .workshop-card::before {
  display: none;
}
.tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--sage-50);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: clamp(1rem, 5vw, 4rem);
}
.story-text {
  font-size: 1.15rem;
}
@media (max-width: 52rem) {
  .story {
    grid-template-columns: 1fr;
  }
}

/* ---------- Approaches ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}
.approach-grid li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--primary);
}
.approach-grid li p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}
.approach-name {
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.steps li {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.steps p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero .lead {
  margin-top: 0.5rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.about-media {
  position: sticky;
  top: 6.5rem;
  max-width: 24rem;
}
@media (max-width: 52rem) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    position: static;
    width: min(15rem, 60%);
  }
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.service-card h2 {
  margin-bottom: 0.25rem;
  font-size: 1.45rem;
}
.service-audience {
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 600;
}
.service-meta {
  display: grid;
  gap: 0.4rem;
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.service-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}
.service-meta dt {
  color: var(--muted);
}
.service-meta dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.booking input.input-short {
  width: 6rem;
}
.children-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 52rem) {
  .children-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.children-grid .check-list li {
  margin-bottom: 0.85rem;
}
.children-aside h3 {
  font-size: 1.25rem;
}
.concern-chips {
  margin-bottom: 1.75rem;
}
.concern-chips li {
  background: var(--surface);
}
.questions-card h3 {
  margin-bottom: 0.35rem;
}
.questions-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.service-book {
  align-self: stretch;
  margin-top: 1.25rem;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.info-block h2 {
  font-size: 1.5rem;
}
.info-block p {
  color: var(--muted);
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.policy-grid h3 {
  font-size: 1.2rem;
}
.policy-grid p {
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 48rem;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 1.25rem 2.75rem 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 560;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.faq details[open] summary::after {
  content: "−";
}
.faq-answer {
  max-width: 42rem;
  padding-bottom: 1.25rem;
  color: var(--muted);
}

/* ---------- Book & contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-card h2 {
  font-size: 1.4rem;
}
.contact-card > p {
  margin-bottom: 1.25rem;
  color: var(--muted);
}
.contact-card .btn,
.contact-card .todo {
  margin-top: auto;
}
.contact-card .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.next-steps {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 2rem;
  counter-reset: n;
}
.next-steps li {
  position: relative;
  padding-left: 2.75rem;
  counter-increment: n;
}
.next-steps li::before {
  content: counter(n);
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.note {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
}
.crisis-box {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid #f0d2c3;
  border-radius: var(--radius-lg);
  background: #fcefe8;
}
.crisis-box h2 {
  font-size: 1.35rem;
}
.crisis-box p {
  margin: 0;
}
.crisis-box a {
  color: #7a3b22;
  font-weight: 700;
}

/* ---------- Payment ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.pay-details {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.pay-details div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pay-details dt {
  min-width: 6.5rem;
  color: var(--muted);
}
.pay-details dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.copy-btn {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: transparent;
  color: var(--primary-dark);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover {
  background: var(--sage-50);
}
.upi-qr {
  justify-self: center;
  width: 100%;
  max-width: 17rem;
  margin: 0;
  text-align: center;
}
.upi-qr-code {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.upi-qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}
.upi-qr figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 52rem) {
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .upi-qr {
    justify-self: start;
    max-width: 15rem;
  }
}

/* ---------- Booking form ---------- */
[hidden] {
  display: none !important;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.booking-aside {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1.25rem;
}
.booking-aside .crisis-box {
  margin-top: 0;
}
@media (max-width: 60rem) {
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-aside {
    position: static;
  }
}
.no-js .booking {
  display: none;
}
.js .booking-fallback {
  display: none;
}
.booking,
.booking-fallback {
  display: grid;
  gap: 1.25rem;
}
.booking-fallback {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.booking-step {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.booking-step h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.45rem;
}
.step-num {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.field {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}
.field:last-child {
  margin-bottom: 0;
}
.field > label,
.field > legend,
.slot-fields label {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  font-weight: 600;
}
.booking input[type="text"],
.booking input[type="date"],
.booking select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cdc4b5;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}
.booking input:focus-visible,
.booking select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.6rem;
}
.choice-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.6rem;
}
.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.65rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
}
.choice input {
  grid-row: span 2;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.3rem 0 0;
  accent-color: var(--primary);
}
.choice:has(input:checked) {
  border-color: var(--primary);
  background: var(--sage-50);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.choice-title {
  font-weight: 600;
  line-height: 1.35;
}
.choice-meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.slot-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.75rem;
}
.slot-fields label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}
.hint {
  color: var(--muted);
  font-size: 0.95rem;
}
.field .hint {
  margin: 0.4rem 0 0;
}
.optional {
  color: var(--muted);
  font-weight: 400;
}
.amount {
  font-size: 1.15rem;
}
.amount strong {
  color: var(--primary-dark);
  font-size: 1.45rem;
}
.booking-step .pay-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  margin-bottom: 1.25rem;
}
.booking-step .upi-qr {
  max-width: 13rem;
}
@media (max-width: 40rem) {
  .booking-step .pay-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-step .upi-qr {
    justify-self: start;
  }
}
.qr-download {
  display: block;
  margin-top: 0.4rem;
  font-weight: 600;
}
.upi-qr figcaption .hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-weight: 600;
  cursor: pointer;
}
.check:has(input:checked) {
  border-color: var(--primary);
  background: var(--sage-50);
}
.check input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.2rem 0 0;
  accent-color: var(--primary);
}
.form-error {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #fdecea;
  color: #8a1c12;
  font-weight: 600;
}
.booking-done {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--sage-50);
  font-weight: 600;
}
.booking-done p {
  margin: 0;
}
.booking-step .note {
  margin: 1.25rem 0 0;
  font-size: 0.98rem;
}
.aside-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--tint);
}
.aside-card h2 {
  font-size: 1.35rem;
}
.aside-card .next-steps {
  margin-bottom: 0;
}
.aside-card-plain {
  border: 1px solid var(--line);
  background: var(--surface);
}
.aside-card-plain .button-row {
  margin-top: 1rem;
}

/* ---------- Articles ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
}
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-card:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.article-card a:focus-visible {
  outline: none;
}
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-card-body {
  padding: 1.5rem;
}
.article-card h2,
.article-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.article-card h2 a,
.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.article-card h2 a::after,
.article-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.article-card p:last-child {
  margin: 0;
  color: var(--muted);
}
.external-mark {
  color: var(--primary);
}
.article-meta {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.feed-link {
  margin-top: 2rem;
  font-size: 0.95rem;
}

.article {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.article-header {
  padding: clamp(2.75rem, 6vw, 5rem) 0 1.5rem;
}
.article-cover {
  margin: 0 auto 2.5rem;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--sage-50);
}
.author-box p {
  margin: 0;
}
.author-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ---------- Long-form text ---------- */
.prose {
  font-size: 1.15rem;
}
.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.75rem;
}
.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.35rem;
}
.prose > :first-child {
  margin-top: 0;
}
.prose ul:not([class]),
.prose ol:not([class]) {
  margin: 0 0 1.25em;
  padding-left: 1.4rem;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose li::marker {
  color: var(--primary);
}
.prose blockquote {
  margin: 1.75rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 4px solid var(--sage-100);
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose img {
  margin: 1.5rem 0;
  border-radius: var(--radius);
}
.prose hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.check-list li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 2rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--sage-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232e5446' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 75% no-repeat;
}

/* ---------- Call to action band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--primary-dark);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -7rem;
  right: -5rem;
  z-index: -1;
  width: 22rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.cta-band h2 {
  margin-bottom: 0.35rem;
  color: #fff;
}
.cta-band p {
  max-width: 36rem;
  margin: 0;
  color: rgb(255 255 255 / 0.85);
}
.cta-band .button-row {
  margin-top: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1d2a26;
  color: rgb(255 255 255 / 0.82);
  font-size: 1rem;
}
.crisis-note {
  border-top: 1px solid var(--line);
  background: var(--sage-50);
  color: var(--ink);
}
.crisis-note p {
  margin: 0;
  padding: 1rem 0;
}
.crisis-note a {
  color: var(--primary-dark);
  font-weight: 700;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer-grid p {
  margin-bottom: 0.4rem;
}
.footer-name {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.footer-heading {
  margin-bottom: 0.75rem;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer ul li {
  margin-bottom: 0.45rem;
}
.site-footer a {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 0.4);
}
.site-footer a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.site-footer .crisis-note a {
  color: var(--primary-dark);
  text-decoration-color: currentColor;
}
.footer-bottom {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: rgb(255 255 255 / 0.6);
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 52rem) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
