/* ==========================================================================
   Palakkad Counselling - Design System & Home Page Styles
   Palette aligned to brand logo: navy, violet accents, warm gold, sand
   ========================================================================== */

:root {
  /* Brand palette: exact values from the vector file */
  --navy: #233A97;
  --violet: #7E57C2;
  --violet-soft: #EFEAF8;
  --sand: #F6F1E7;
  --ink: #1C2140;
  --gold: #C9A24A;
  --whatsapp: #1F8F4E;
  --white: #FFFFFF;

  /* Derived supporting tones (WCAG AA checked against surfaces above) */
  --navy-hover: #1B2E7A;
  --ink-soft: #3C4568;
  --gold-soft: #F0E3C0;
  --gold-text: #7A5A1B;
  --cream: #F6F1E7;
  --border: #DDD6C7;
  --alert-bg: #FBEDEA;
  --alert-text: #8A2E22;

  --font-heading: "Lora", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow-soft: 0 2px 12px rgba(28, 33, 64, 0.06);
  --header-h: 110px;
  --header-h-sm: 110px;
  --sticky-bar-h: 56px;
  --max: 1200px;
  --text-max: 720px;
  --focus: 3px solid var(--violet);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: var(--focus); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 5vw, 3.15rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: var(--text-max); }
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section--soft { background: var(--violet-soft); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Kasavu motif - thin double gold line */
.kasavu {
  display: block;
  width: 72px;
  height: 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  margin: 0 0 1.25rem;
}
.kasavu--center { margin-inline: auto; }
.kasavu--wide { width: 120px; }
/* Double gold kasavu line, used on the home hero */
.kasavu--double {
  width: 160px;
  border-top-width: 3px;
  border-bottom-width: 2px;
  padding-bottom: 5px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 0.75rem;
}

.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); max-width: 40rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-size: 1.19rem;
  font-weight: 700;
  border-radius: var(--radius);
  font-family: var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #177a42; color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 600; color: var(--navy); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 900;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h-sm);
  gap: 1rem;
}
@media (min-width: 1024px) { .header-inner { min-height: var(--header-h); } }
.site-header.is-solid .header-inner { min-height: 110px; }
.site-header .brand img { width: 110px; height: 110px; min-height: 110px; }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--navy); flex: 0 0 auto; }
.brand-logo { position: relative; display: inline-flex; flex: 0 0 auto; }
.brand-logo .tm-mark {
  position: absolute; top: 0.2rem; right: -0.45rem;
  font-family: var(--font-body); font-size: 0.72rem; line-height: 1;
  font-weight: 700; color: var(--gold-text); pointer-events: none;
}
.footer-brand .tm-mark { color: var(--gold); }
.footer-tm {
  margin: 1.35rem 0 0; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem; line-height: 1.55;
  color: rgba(255, 255, 255, 0.82); text-align: center;
}
.brand img { width: 150px; height: 150px; min-height: 150px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 0.15rem; }
  .nav-desktop li { position: relative; list-style: none; }
  .nav-desktop a, .nav-desktop button {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.65rem 0.7rem; min-height: 48px; white-space: nowrap;
    background: none; border: 0; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 0.95rem;
    color: var(--ink); text-decoration: none; border-radius: var(--radius);
  }
  .nav-desktop a:hover, .nav-desktop button:hover { color: var(--navy); background: var(--violet-soft); }
  .dropdown-panel {
    position: absolute; top: calc(100% + 0.35rem); left: 0;
    min-width: 220px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(28,33,64,0.12);
    padding: 0.65rem; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-desktop li:hover > .dropdown-panel,
  .nav-desktop li:focus-within > .dropdown-panel {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .dropdown-panel a {
    display: block; padding: 0.55rem 0.75rem; min-height: 40px;
    font-weight: 500; border-radius: 6px; font-size: 0.92rem;
  }
  .mega-menu {
    left: 0; right: auto;
    width: 560px; max-width: calc(100vw - 2rem);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem 1.25rem;
  }
  .mega-menu h4 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); margin: 0.25rem 0.5rem; }
  .mega-foot {
    grid-column: 1 / -1; margin-top: 0.35rem; padding: 0.75rem;
    background: var(--sand); border-radius: var(--radius); font-size: 0.9rem;
    text-align: center;
  }
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.header-phone, .header-cta { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-inner { gap: 0.65rem; }
  .nav-desktop a, .nav-desktop button { padding: 0.65rem 0.55rem; font-size: 0.92rem; }
}
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
.header-phone { display: none; }
@media (min-width: 1280px) {
  .header-phone {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-weight: 700; color: var(--navy); text-decoration: none; padding: 0.5rem;
    min-height: 48px;
  }
}
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--border);
  background: #fff; border-radius: var(--radius); cursor: pointer; color: var(--navy);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--sand); padding: 5rem 1.25rem calc(var(--sticky-bar-h) + 1.5rem);
  overflow-y: auto; display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-close {
  position: absolute; top: 0.65rem; right: 0.85rem;
  width: 48px; height: 48px; border: 0; background: transparent;
  font-size: 1.75rem; cursor: pointer; color: var(--navy);
}
.mobile-menu details {
  border-bottom: 1px solid var(--border); padding: 0.35rem 0;
}
.mobile-menu summary {
  list-style: none; cursor: pointer; min-height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 1.1rem; color: var(--navy);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: "+"; font-size: 1.35rem; color: var(--gold-text); font-weight: 600; line-height: 1; }
.mobile-menu details[open] > summary::after { content: "\2212"; }
.mobile-menu .m-link {
  display: block; padding: 0.85rem 0.25rem; min-height: 48px;
  font-size: 1.05rem; color: var(--ink); text-decoration: none; font-weight: 500;
}
.mobile-menu .m-sub .m-link { padding-left: 0.85rem; font-size: 0.98rem; color: var(--ink-soft); }
.mobile-actions {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin: 1.25rem 0;
}
.mobile-actions .btn { padding: 0.65rem 0.4rem; font-size: 0.92rem; }
.crisis-mini {
  margin-top: 1rem; padding: 0.85rem 1rem; background: var(--alert-bg);
  border-left: 3px solid var(--alert-text); border-radius: var(--radius);
  font-size: 0.88rem; color: var(--alert-text);
}
.crisis-mini a { color: var(--alert-text); font-weight: 700; }

/* Hero: pale violet tint #EFEAF8 with navy text, double gold kasavu line */
.hero {
  padding: calc(var(--header-h-sm) + 2.25rem) 0 2.75rem;
  background: var(--violet-soft);
  color: var(--ink);
  position: relative; overflow: hidden;
}
.hero h1 { color: var(--navy); }
.hero .eyebrow { color: var(--gold-text); }
.hero .kasavu { border-top-color: var(--gold); border-bottom-color: var(--gold); }
.hero-sub { color: var(--ink-soft); }
.hero-reassure { color: var(--ink-soft); }
.hero-reassure span::before { background: var(--gold); }
.hero .btn-secondary { color: var(--navy); border-color: var(--navy); }
.hero .btn-secondary:hover { background: var(--navy); color: #fff; }
.hero .btn-primary { background: var(--gold); color: var(--ink); }
.hero .btn-primary:hover { background: var(--navy); color: #fff; }
@media (min-width: 1024px) {
  .hero { padding: calc(var(--header-h) + 3.5rem) 0 4.5rem; }
  .hero-grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
  }
}
.hero-copy { max-width: 38rem; }
.hero h1 { margin-bottom: 0.85rem; }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.hero .btn-row { margin-bottom: 1.15rem; }
.hero-reassure {
  font-size: 0.92rem; color: var(--ink-soft); margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem;
}
.hero-reassure span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-reassure span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-media { margin-top: 2rem; }
.hero-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto;
  background: linear-gradient(160deg, var(--white), var(--cream));
  border: 1px solid var(--border);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.65rem; width: 100%; height: 100%; padding: 1.5rem; text-align: center;
  color: var(--navy); background:
    linear-gradient(145deg, rgba(35,58,151,0.08), rgba(201,162,74,0.12));
}
.img-fallback .initials {
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 1.65rem; font-weight: 700;
  color: var(--navy); background: rgba(255,255,255,0.55);
}
.img-fallback small { font-size: 0.82rem; color: var(--ink-soft); max-width: 16rem; }

/* Trust bar: sand band, navy text, gold check marks */
.trust-bar {
  background: var(--cream); color: var(--navy);
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem;
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr); gap: 0;
  }
  .trust-grid li + li {
    border-left: 1px solid var(--border);
    padding-left: 1.25rem;
    margin-left: 1.25rem;
  }
}
.trust-grid { list-style: none; margin: 0; padding: 0; }
.trust-grid li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.92rem; font-weight: 600; line-height: 1.35;
}
.trust-grid svg { flex-shrink: 0; color: var(--gold-text); }

/* Pathway tiles */
.pathway-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 640px) { .pathway-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pathway-grid { grid-template-columns: repeat(3, 1fr); } }
.pathway-tile {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.35rem 1.25rem; min-height: 132px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pathway-tile:hover {
  border-color: var(--gold); transform: translateY(-2px);
  box-shadow: var(--shadow-soft); color: var(--ink);
}
.pathway-tile .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--violet-soft); color: var(--navy);
  display: grid; place-items: center;
}
.pathway-tile strong { font-family: var(--font-heading); font-size: 1.12rem; color: var(--navy); }
.pathway-tile span { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.45; }
.pathway-note { margin-top: 1.15rem; font-size: 0.95rem; color: var(--ink-soft); }

/* Wing cards */
.wing-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .wing-grid { grid-template-columns: 1fr 1fr; } }
.wing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.wing-card--sand { background: var(--cream); }
.wing-card h3 { margin: 0; }
.wing-card p { color: var(--ink-soft); margin: 0; flex: 1; }

/* Service cards */
.service-groups { display: grid; gap: 2.5rem; }
.group-label {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 0.85rem;
}
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover { border-color: var(--navy-hover); box-shadow: var(--shadow-soft); color: var(--ink); }
.service-card h3 { font-size: 1.12rem; margin: 0; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.service-card .text-link { margin-top: 0.5rem; font-size: 0.92rem; }

.note-box {
  margin-top: 1.75rem; padding: 1.15rem 1.25rem;
  background: var(--cream); border-left: 3px solid var(--gold);
  border-radius: var(--radius); font-size: 0.96rem; color: var(--ink-soft);
}
.info-cards { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) { .info-cards { grid-template-columns: 1fr 1fr; } }
.info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem 1.25rem;
}
.info-card strong { display: block; color: var(--navy); margin-bottom: 0.35rem; }

/* Founder highlight - editorial */
.founder-section { background: var(--white); }
.founder-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.25rem; }
}
.founder-photo {
  border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--violet-soft), var(--cream));
  border: 1px solid var(--border); position: relative;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
}
.founder-name { font-family: var(--font-heading); font-size: 1.55rem; margin-bottom: 0.15rem; }
.founder-role { color: var(--gold-text); font-weight: 700; margin-bottom: 0.35rem; }
.founder-cred { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.15rem; }
.founder-highlights { list-style: none; padding: 0; margin: 1.15rem 0 1.35rem; display: grid; gap: 0.75rem; }
.founder-highlights li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.75rem 0.85rem; background: var(--sand); border-radius: var(--radius);
}
.founder-highlights svg { flex-shrink: 0; color: var(--gold-text); margin-top: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.35rem; }
.chip {
  display: inline-flex; align-items: center; padding: 0.35rem 0.75rem;
  background: var(--violet-soft); color: var(--navy);
  border-radius: 999px; font-size: 0.82rem; font-weight: 600;
}
.chip--gold { background: rgba(196,132,60,0.14); color: var(--gold-text); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat {
  text-align: center; padding: 1.5rem 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.stat .num {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700; color: var(--navy); line-height: 1; display: block; margin-bottom: 0.45rem;
}
.stat .label { color: var(--ink-soft); font-size: 0.95rem; }

/* How it works */
.steps { display: grid; gap: 1.15rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.step {
  position: relative; padding: 1.5rem 1.25rem 1.35rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 0.85rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Team preview */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(5, 1fr); } }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; text-align: center;
}
.team-photo {
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--violet-soft), var(--cream));
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 0.9rem 0.75rem 1.15rem; }
.team-card strong { display: block; font-family: var(--font-heading); color: var(--navy); font-size: 0.98rem; }
.team-card span { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* Mediation teaser */
.mediation-teaser {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mediation-teaser .chip-row { margin-bottom: 1.25rem; }

/* Schools teaser */
.schools-grid { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .schools-grid { grid-template-columns: 1.1fr 0.9fr; } }
.topic-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; }

/* Reviews */
.reviews-shell {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.35rem;
}
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.reviews-score { display: flex; align-items: center; gap: 0.85rem; }
.reviews-score .g-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sand); border: 1px solid var(--border);
  display: grid; place-items: center; font-weight: 800; color: var(--navy);
}
.stars { color: var(--gold); letter-spacing: 0.08em; font-size: 1.15rem; }
.reviews-track {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reviews-track { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: var(--sand); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.review-card .meta { font-size: 0.85rem; color: var(--ink-soft); }
.review-card p { margin: 0; font-size: 0.96rem; color: var(--ink); flex: 1; }
.review-card .stars { font-size: 0.95rem; }
.reviews-note {
  margin-top: 1rem; font-size: 0.88rem; color: var(--ink-soft);
}
.reviews-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Visit / online */
.map-embed {
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--violet-soft);
}
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-caption {
  margin: 0; padding: 0.85rem 1.15rem;
  font-size: 0.92rem; color: var(--ink-soft); background: var(--sand);
}
.map-caption a { color: var(--gold-text); font-weight: 600; }
.page-head { padding: calc(var(--header-h-sm) + 2rem) 0 2.75rem; background: var(--violet-soft); color: var(--ink); position: relative; }
.page-head .lead, .page-head .hero-reassure { color: var(--ink-soft); }
.page-head .eyebrow { color: var(--gold-text); }
.page-head h1 { color: var(--navy); }
.page-head .kasavu { border-top-color: var(--gold); border-bottom-color: var(--gold); margin-bottom: 0.85rem; }
/* Double gold kasavu line on page heroes (matches the home hero) */
.page-head .kasavu { width: 160px; border-top-width: 3px; border-bottom-width: 2px; padding-bottom: 5px; }
.page-head .lead { font-size: 1.12rem; max-width: 62ch; }
@media (min-width: 1024px) { .page-head { padding: calc(var(--header-h) + 2.75rem) 0 3.25rem; } }
.visit-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }
.visit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.visit-card address {
  font-style: normal; color: var(--ink-soft); line-height: 1.55; font-size: 0.98rem;
}
.visit-card .landmark {
  padding: 0.75rem 0.9rem; background: var(--sand); border-radius: var(--radius);
  font-size: 0.92rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; max-width: 820px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.25rem;
  font-family: var(--font-heading); font-weight: 600; color: var(--navy);
  min-height: 48px; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: ""; }
.faq-item summary::after {
  content: "+"; color: var(--gold-text); font-size: 1.35rem; flex-shrink: 0; font-weight: 600; line-height: 1;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item .faq-body {
  padding: 0 1.25rem 1.25rem; color: var(--ink-soft);
}

/* Booking block: soft violet tint band, navy text */
.booking {
  background: var(--violet-soft); color: var(--ink);
}
.booking h2, .booking h3 { color: var(--navy); }
.booking .eyebrow { color: var(--gold-text); }
.booking .kasavu { border-color: var(--gold); }
.booking-intro { max-width: 46rem; color: var(--ink-soft); }
.privacy-note {
  margin: 1.15rem 0 1.5rem; padding: 1.15rem 1.25rem;
  background: var(--white); border-left: 3px solid var(--gold);
  border-radius: var(--radius); font-size: 0.96rem; color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.booking .btn-secondary { color: var(--navy); border-color: var(--navy); }
.booking .btn-secondary:hover { background: var(--navy); color: #fff; }
.booking .btn-whatsapp { border: 2px solid var(--whatsapp); }

.booking-form {
  margin-top: 1.75rem; background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 1.5rem 1.25rem;
}
@media (min-width: 768px) { .booking-form { padding: 2rem; } }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block; font-weight: 600; font-size: 0.92rem;
  margin-bottom: 0.35rem; color: var(--ink);
}
.field .req { color: var(--alert-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-hover); box-shadow: 0 0 0 3px rgba(35,58,151,0.15);
}
.field-help { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.field-error {
  margin: 0.4rem 0 0; font-size: 0.88rem; color: var(--alert-text); font-weight: 600;
}
.field-error[hidden] { display: none; }
.field.check {
  display: flex; gap: 0.65rem; align-items: flex-start;
}
.field.check input {
  width: 22px; height: 22px; min-height: 22px; margin-top: 0.15rem; flex-shrink: 0;
}
.field.check label { margin: 0; font-weight: 500; font-size: 0.92rem; }
.form-note { margin: 0.85rem 0 0; font-size: 0.88rem; color: var(--ink-soft); }
.booking-thanks {
  margin-top: 1.25rem; padding: 1.25rem; background: var(--violet-soft);
  border-radius: var(--radius-lg); color: var(--ink);
}
.booking-thanks[hidden] { display: none; }

.crisis-box {
  margin-top: 1.5rem; padding: 1.15rem 1.25rem;
  background: var(--alert-bg); color: var(--alert-text);
  border-left: 4px solid var(--alert-text); border-radius: var(--radius);
  font-size: 0.95rem;
}
.crisis-box strong { display: block; margin-bottom: 0.35rem; }
.crisis-box a { color: var(--alert-text); font-weight: 700; }

/* Footer */
.footer-strip {
  background: var(--cream); padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.legal-cards { display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .legal-cards { grid-template-columns: repeat(3, 1fr); } }
.legal-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.1rem; font-size: 0.92rem;
}
.legal-card strong { display: block; color: var(--navy); margin-bottom: 0.35rem; }

.site-footer { background: var(--navy); color: rgba(255,255,255,0.88); padding: 3rem 0 0; }
/* Crisis lines must stay readable on the dark footer */
.site-footer .crisis-mini {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--gold);
  color: rgba(255,255,255,0.95);
}
.site-footer .crisis-mini a {
  color: var(--gold-soft); font-weight: 700; text-decoration: underline;
}
.site-footer .crisis-mini a:hover { color: #fff; }
.site-footer .crisis-box {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--gold);
  color: rgba(255,255,255,0.95);
}
.site-footer .crisis-box a {
  color: var(--gold-soft); font-weight: 700; text-decoration: underline;
}
.site-footer .crisis-box a:hover { color: #fff; }
.footer-kasavu {
  height: 0; border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  width: 80px; margin-bottom: 2rem;
}
.footer-grid { display: grid; gap: 1.75rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr 1.1fr; } }
.site-footer h4 {
  color: var(--gold-soft); font-family: var(--font-body);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer li { font-size: 0.92rem; }
.footer-brand .brand {
  display: inline-flex;
  background: #fff;
  border-radius: 26px;
  padding: 10px;
  border: 1px solid rgba(196, 132, 60, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.footer-brand .brand img { border-radius: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--gold-soft); }
.footer-brand p { font-size: 0.92rem; margin: 0.85rem 0; }
.footer-badge {
  display: inline-flex; padding: 0.35rem 0.75rem; border: 1px solid rgba(232,213,181,0.45);
  border-radius: 999px; font-size: 0.8rem; color: var(--gold-soft); font-weight: 600;
}
.footer-bottom {
  margin-top: 2.5rem; padding: 1.15rem 0 6.5rem;
  border-top: 1px solid rgba(232,213,181,0.25);
  font-size: 0.86rem; display: flex; flex-wrap: wrap; gap: 0.65rem 1.25rem; justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { padding-bottom: 1.15rem; } }
.footer-accordions summary { cursor: pointer; }

/* Sticky mobile action bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(30,42,42,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; min-height: var(--sticky-bar-h);
  text-decoration: none; font-size: 0.78rem; font-weight: 700; color: var(--navy);
}
.sticky-bar a:nth-child(2) { color: var(--whatsapp); }
.sticky-bar a:nth-child(3) {
  background: var(--gold); color: var(--navy);
}
@media (min-width: 768px) { .sticky-bar { display: none; } }
body.menu-open .sticky-bar { display: none; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(var(--sticky-bar-h) + 1rem);
  z-index: 880; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.15rem; box-shadow: 0 10px 30px rgba(30,42,42,0.16);
}
@media (min-width: 768px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 380px; }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.92rem; margin-bottom: 0.85rem; }
.cookie-actions { display: flex; gap: 0.55rem; }
.cookie-actions .btn { flex: 1; min-height: 44px; font-size: 0.92rem; padding: 0.55rem 0.75rem; }

/* Reveal (subtle). Content stays visible when JS is absent or scripting is off. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Team page */
.team-featured {
  display: grid; gap: 1.75rem; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
@media (min-width: 900px) {
  .team-featured { grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; padding: 2.15rem; }
}
.team-featured .founder-photo { max-width: 280px; }
.team-member-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .team-member-grid { grid-template-columns: repeat(2, 1fr); } }
.team-member-card {
  display: flex; flex-direction: row; gap: 0.95rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem;
}
.team-member-card .team-photo {
  flex: 0 0 104px; width: 104px;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px;
  background: linear-gradient(160deg, var(--violet-soft), var(--cream));
}
@media (min-width: 1024px) {
  .team-member-card .team-photo { flex-basis: 150px; width: 150px; }
}
.team-member-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member-card .body {
  display: flex; flex-direction: column; flex: 1;
  gap: 0.45rem; padding: 0; min-width: 0;
}
.team-member-card h3 {
  font-family: var(--font-heading); color: var(--navy);
  font-size: 1.12rem; margin: 0;
}
.team-member-card .role { color: var(--gold-text); font-weight: 700; font-size: 0.92rem; margin: 0; }
.team-member-card .qual { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
.team-member-card .bio { font-size: 0.93rem; color: var(--ink); margin: 0; flex: 1; }
.team-member-card .focus {
  font-size: 0.85rem; color: var(--ink-soft); margin: 0;
  padding-top: 0.5rem; border-top: 1px dashed var(--border);
}

.team-footnote {
  margin: 1.35rem 0 0; font-size: 0.95rem; color: var(--ink-soft);
  text-align: center; font-style: italic;
}
@media (min-width: 900px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }


/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ===== Shared components (QA batch) ===== */
.takeaways { background: var(--cream); border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; }
.takeaways strong:first-child, .takeaways h2:first-child { margin-top: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: 0.9rem; opacity: 0.85; margin: 0.75rem 0 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 0; }
.chip-row a { display: inline-flex; align-items: center; min-height: 48px; padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--violet-soft); color: var(--navy); text-decoration: none; border: 1px solid var(--border); font-weight: 600; }
.chip-row a:hover, .chip-row a:focus-visible { background: var(--gold-soft); border-color: var(--gold); }
.check-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.25rem 0; }
.check-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.check-card h3 { margin-top: 0; }
.check-card ul { list-style: none; padding: 0; margin: 0; }
.check-card li { display: flex; gap: 0.6rem; padding: 0.45rem 0; align-items: flex-start; }
.check-yes li::before { content: "\2713"; color: var(--whatsapp); font-weight: 700; }
.check-no li::before { content: "\2715"; color: var(--alert-text); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); }
.compare-table th, .compare-table td { padding: 0.85rem 1rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--navy); color: #fff; }
.compare-table tbody tr:nth-child(even) { background: var(--sand); }
.small-print { font-size: 0.9rem; opacity: 0.85; margin-top: 0.75rem; }
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.stat-band > div { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-band strong { display: block; font-family: var(--font-heading); font-size: 1.75rem; color: var(--gold-soft); }
.faq-group-nav { position: sticky; top: 90px; z-index: 20; background: var(--sand); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.65rem; margin: 1.25rem 0 1.75rem; }
.faq-group-nav ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; justify-content: center; }
.faq-group-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0.95rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.92rem; }
.faq-group-nav a:hover, .faq-group-nav a:focus-visible { background: var(--gold-soft); }
.faq-group h2 { margin-top: 2.25rem; }
.programme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.programme-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; }
.programme-card h3 { margin: 0.25rem 0 0.5rem; font-size: 1.08rem; }
@media (max-width: 767px) {
  .check-2col { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .faq-group-nav { position: static; }
  .faq-group-nav ul { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.25rem; }
  .faq-group-nav a { white-space: nowrap; }
}

/* ==========================================================================
   QA feedback batch (2026-10-06)
   ========================================================================== */

/* Articles: everything shares the 720px reading column */
.article-col { width: min(100% - 2rem, 720px); margin-inline: auto; }
.article-col .meta-row,
.article-col .takeaways { margin-left: 0; margin-right: 0; }
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem;
  font-size: 0.9rem; opacity: 0.85; margin: 0.75rem 0 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.meta-row span { display: inline-flex; align-items: center; }
.meta-row span + span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); margin-right: 1.25rem; opacity: 0.7;
}
.takeaways {
  background: var(--cream); border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin: 1.25rem 0;
}
.takeaways strong:first-child, .takeaways h2:first-child { margin-top: 0; }

/* Click-to-load map */
.map-load {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--violet-soft); border: 1px solid var(--border);
  min-height: 360px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 2rem 1.25rem; gap: 0.85rem;
}
.map-load img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius); opacity: 0.92;
}
.map-load .map-load-text { color: var(--ink-soft); max-width: 34rem; margin: 0; }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Timeline (founder / about) */
.timeline { list-style: none; padding: 0; margin: 1.75rem 0; }
.timeline li {
  position: relative; padding: 0 0 1.65rem 1.65rem;
  border-left: 2px solid var(--gold-soft);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--sand);
}
.timeline .tl-year {
  display: block; font-family: var(--font-heading); font-weight: 700;
  color: var(--gold-text); font-size: 1.05rem; margin-bottom: 0.15rem;
}

/* Quote lines (replace repeated card grids) */
.quote-line {
  margin: 2rem 0; padding: 1.35rem 1.5rem;
  background: var(--violet-soft); border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.quote-line p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-style: italic; color: var(--navy); margin: 0;
}
.quote-line cite {
  display: block; margin-top: 0.75rem; font-family: var(--font-body);
  font-style: normal; font-size: 0.92rem; color: var(--gold-text); font-weight: 600;
}

/* Image + list (alternating content band) */
.image-list {
  display: grid; gap: 1.75rem; align-items: center; margin: 1.75rem 0;
}
@media (min-width: 860px) {
  .image-list { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .image-list--flip .image-list-media { order: 2; }
}
.image-list-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: linear-gradient(160deg, var(--violet-soft), var(--cream));
}
.image-list-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.image-list ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.image-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
}
.image-list li::before {
  content: "\2713"; color: var(--gold-text); font-weight: 700; flex-shrink: 0;
}

/* Pills (How He Can Help You and similar) */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1.25rem 0 0; }
.pill {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 0.55rem 1.15rem; border-radius: 999px;
  background: var(--violet-soft); color: var(--navy);
  border: 1px solid var(--border); text-decoration: none;
  font-weight: 600; font-size: 0.98rem;
}
.pill:hover, .pill:focus-visible {
  background: var(--gold-soft); border-color: var(--gold); color: var(--gold-text);
}

/* Team photo frames share one consistent background */
.team-member-card .team-photo,
.team-featured .founder-photo {
  background: var(--violet-soft);
}
.team-photo img, .founder-photo img {
  background: var(--violet-soft);
}

/* Service page hero: copy + image */
.page-head-grid { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) {
  .page-head-grid { grid-template-columns: 1.12fr 0.88fr; gap: 2.5rem; }
}
.page-head-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--white), var(--cream));
  box-shadow: 0 12px 28px rgba(28, 33, 64, 0.10);
}
.page-head-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.page-head-media .img-fallback { min-height: 260px; }

/* Text-only band that replaces the old image + list block */
.check-block { margin: 1.75rem 0; max-width: 62ch; }
.check-block h2 { margin-top: 0.35rem; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list li::before { content: "\2713"; color: var(--gold-text); font-weight: 700; flex-shrink: 0; }

/* ================= Editorial founder layout (QA batch 10) ================= */
.editorial { max-width: var(--text-max); }
.editorial p { margin: 0 0 1.15rem; }

.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 3.35rem;
  line-height: 0.86;
  font-weight: 700;
  color: var(--navy);
  padding: 0.08em 0.22em 0 0;
}

.pull-quote {
  margin: 2.25rem 0;
  max-width: 46rem;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 0.65rem;
}
.pull-quote cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.credential-line {
  color: var(--gold-text);
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0.35rem 0 0;
}

.glance-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.85rem 0 0;
  padding: 0;
}
@media (min-width: 768px) {
  .glance-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .glance-row { grid-template-columns: repeat(6, 1fr); }
}
.glance-row li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 0.85rem;
  text-align: center;
}
.glance-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1.15;
}
.glance-row span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* Full-width warm photo band */
.band-feature {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0;
  background: var(--cream);
}
.band-feature .band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.band-feature .band-bg > img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.band-feature .band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(246,241,231,0.97) 0%, rgba(246,241,231,0.93) 40%, rgba(246,241,231,0.55) 72%, rgba(246,241,231,0.28) 100%);
}
.band-feature .container { position: relative; z-index: 1; }
.band-feature h2 { color: var(--navy); }
.band-feature p { color: var(--ink); }
@media (max-width: 767px) {
  .band-feature .band-scrim { background: rgba(246,241,231,0.93); }
}

/* Book cover cards */
.book-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
}
.book-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.book-cover {
  aspect-ratio: 2 / 3;
  background: var(--cream);
}
.book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-card .book-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1.15rem 1.15rem 1.35rem;
}
.book-tag {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 700;
}
.book-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy);
}
.book-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Credentials: simple two-column list, no numbering */
.cred-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .cred-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
.cred-list li {
  position: relative;
  padding-left: 1.65rem;
  line-height: 1.5;
  color: var(--ink);
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
}

/* Selected recognitions: clean list with presenter */
.recog-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 860px;
}
.recog-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .recog-list li {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: baseline;
  }
}
.recog-list strong {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.05rem;
}
.recog-list span {
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.recog-note {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
