/* ============================================================
   AZLB Tutoring — shared styles
   Brand: rust #d23e08 · navy #013378
   ============================================================ */

:root {
  --rust: #d23e08;
  --rust-deep: #a93005;
  --navy: #013378;
  --navy-deep: #01285e;
  --paper: #faf6ee;       /* warm off-white */
  --cloud: #f3ede2;       /* warm cream page bg */
  --card: #fffdf9;        /* warm white card */
  --ink: #2a2f36;         /* dark slate gray, not pure black — cuts glare */
  --muted: #5b626c;
  --line: #e8e0d2;        /* warm hairline */
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(60,45,20,0.04), 0 8px 24px rgba(60,45,20,0.07);
  --shadow-lift: 0 2px 4px rgba(60,45,20,0.06), 0 18px 44px rgba(60,45,20,0.12);
  --maxw: 1200px;
  --gap: 18px;
  --zoom: 1;
  --font-ui: 'Lexend', system-ui, sans-serif;

  /* semantic tokens (re-mapped per theme) */
  --accent-text: var(--rust);
  --accent-strong: var(--navy);
  --tint: rgba(1,51,120,0.07);
  --icon-fg: var(--navy);
  --ghost-fg: var(--navy);
  --ghost-ring: rgba(1,51,120,0.22);
  --header-bg: rgba(250,246,238,0.85);
  --consult-grad: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  --consult-ring: transparent;
}

html[data-theme="dark"] {
  --paper: #0f1a28;
  --cloud: #0a121d;
  --card: #141f2e;
  --ink: #e9eef4;
  --muted: #94a3b6;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 10px 30px rgba(0,0,0,0.35);
  --shadow-lift: 0 2px 6px rgba(0,0,0,0.5), 0 22px 52px rgba(0,0,0,0.55);
  --accent-text: #ff6a35;
  --accent-strong: #6fa8ff;
  --tint: rgba(125,170,235,0.12);
  --icon-fg: #9cc0ff;
  --ghost-fg: #cfe0ff;
  --ghost-ring: rgba(255,255,255,0.2);
  --header-bg: rgba(12,20,32,0.82);
  --consult-grad: linear-gradient(160deg, #0a4cab 0%, #012a63 100%);
  --consult-ring: rgba(255,255,255,0.1);
}

/* High-contrast mode (WCAG-boosted) */
html.hc[data-theme="light"] {
  --ink: #14181d;
  --muted: #3a414b;
  --line: #cdc4b1;
  --card: #fffef9;
  --cloud: #f5efe4;
  --accent-text: var(--rust-deep);
  --tint: rgba(1,51,120,0.13);
  --ghost-ring: rgba(1,51,120,0.4);
}
html.hc[data-theme="dark"] {
  --ink: #ffffff;
  --muted: #c8d2df;
  --line: rgba(255,255,255,0.24);
  --accent-text: #ff8a5c;
  --accent-strong: #a6caff;
}

/* OpenDyslexic reading font */
html.dys { --font-ui: 'OpenDyslexic', 'Lexend', system-ui, sans-serif; }
html.dys h1, html.dys h2, html.dys h3 { letter-spacing: 0; }
html.dys .hero h1, html.dys .page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); }

/* Text-size control scales page content */
#page { zoom: var(--zoom, 1); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-theme] { background-color: var(--cloud); transition: background-color .3s ease; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--cloud);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  transition: background-color .3s ease, color .3s ease;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.015em; margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, border-color .3s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px; letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.brand .mark span { color: var(--rust); }
.brand b { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.link {
  padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 400;
  color: var(--ink); transition: background .15s, color .15s;
}
.nav-links a.link:hover { background: var(--tint); color: var(--accent-strong); }
.nav-links a.link.active { color: var(--accent-strong); font-weight: 500; background: var(--tint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14.5px; font-weight: 500;
  padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 6px 16px rgba(210,62,8,0.26); }
.btn-primary:hover { background: var(--rust-deep); transform: translateY(-1px); box-shadow: 0 9px 22px rgba(210,62,8,0.32); }
.btn-ghost { background: transparent; color: var(--ghost-fg); box-shadow: inset 0 0 0 1.5px var(--ghost-ring); }
.btn-ghost:hover { background: var(--tint); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #fff; transform: translateY(-1px); }

.hamburger {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; border-radius: 10px; padding: 0;
}
.hamburger:hover { background: var(--tint); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .2s; }

/* ── Generic section scaffolding (inner pages) ──────── */
.section { padding: 64px 0; }
.section.tight { padding: 44px 0; }
.section-head { max-width: 64ch; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 60ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Page hero (subpage intro) */
.page-hero { padding: 64px 0 8px; }
.page-hero .crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.page-hero .crumb a:hover { color: var(--accent-strong); }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.025em; max-width: 18ch; margin-bottom: 20px; }
.page-hero h1 em { font-style: normal; color: var(--accent-text); }
.page-hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.7; max-width: 60ch; }

/* Prose column */
.prose { max-width: 65ch; }
.prose p { font-size: 17px; line-height: 1.75; margin-bottom: 20px; color: var(--ink); }
.prose p.muted { color: var(--muted); }
.prose h3 { font-size: 22px; margin: 36px 0 12px; }

/* Split two-column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.media-left { grid-template-columns: 1fr 1.1fr; }

/* Surface card */
.surface {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.pad { padding: 30px; }
.pad-lg { padding: 40px; }

/* Photo placeholder block */
.photo {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: radial-gradient(120% 120% at 30% 20%, #0a3f8a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: rgba(255,255,255,0.85); display: grid; place-items: center; min-height: 320px;
}
.photo .ph { text-align: center; font-size: 13px; font-weight: 300; letter-spacing: 0.04em; padding: 20px; }
.photo .ph svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.7; }

/* Card grid (features / values) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mini {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.mini:hover { box-shadow: var(--shadow-lift); }
.mini .ic {
  width: 48px; height: 48px; border-radius: 13px; background: var(--tint); color: var(--icon-fg);
  display: grid; place-items: center; margin-bottom: 6px;
}
.mini .ic svg { width: 24px; height: 24px; }
.mini h3 { font-size: 19px; }
.mini p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 4px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: none; }
.step .num { font-size: 40px; font-weight: 600; color: var(--accent-text); line-height: 1; letter-spacing: -0.02em; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 56ch; }

/* Feature list (checks) */
.feature-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; font-weight: 400; color: var(--ink); }
.feature-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-text); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--rust); box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--rust); }
.price-card .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.price-card .badge { align-self: flex-start; background: var(--rust); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.price-card .price .amt { font-size: 40px; font-weight: 600; color: var(--accent-strong); letter-spacing: -0.02em; }
.price-card .price .per { font-size: 15px; color: var(--muted); }
.price-card .desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.price-card .feature-list { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }
.price-note b { color: var(--ink); font-weight: 500; }

/* Service-area grid */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; display: flex; align-items: center; gap: 13px; font-weight: 500; font-size: 16px;
}
.area svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; }

/* Scheduler embed placeholder */
.embed {
  background: var(--card); border: 1.5px dashed var(--ghost-ring); border-radius: var(--radius);
  min-height: 540px; display: grid; place-items: center; text-align: center; padding: 40px;
}
.embed .inner { max-width: 380px; }
.embed .ic { width: 64px; height: 64px; border-radius: 18px; background: var(--tint); color: var(--icon-fg); display: grid; place-items: center; margin: 0 auto 18px; }
.embed .ic svg { width: 32px; height: 32px; }
.embed h3 { font-size: 21px; margin-bottom: 10px; }
.embed p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 8px; }
.embed code { background: var(--tint); color: var(--accent-strong); padding: 2px 7px; border-radius: 6px; font-size: 13px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--rust); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; min-height: 50px; transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--tint);
}
.field input::placeholder, .field textarea::placeholder { color: #a39c8d; }
.checkrow { display: flex; gap: 11px; align-items: flex-start; }
.checkrow input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--rust); flex: none; }
.checkrow label { font-size: 14.5px; color: var(--muted); font-weight: 400; line-height: 1.55; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none; align-items: flex-start; gap: 14px;
  background: rgba(31,138,91,0.1); border: 1px solid rgba(31,138,91,0.3); color: var(--ink);
  border-radius: 16px; padding: 20px 22px;
}
.form-success.show { display: flex; }
.form-success svg { width: 24px; height: 24px; color: #1f8a5b; flex: none; margin-top: 1px; }
.form-success h3 { font-size: 17px; margin-bottom: 4px; }
.form-success p { font-size: 14.5px; color: var(--muted); }

/* Contact info cards */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.info-card:first-child { border-top: none; padding-top: 4px; }
.info-card .ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--tint); color: var(--icon-fg); display: grid; place-items: center; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 16px; margin-bottom: 3px; }
.info-card a, .info-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.info-card a:hover { color: var(--accent-strong); }

/* CTA band */
.cta-band { background: var(--consult-grad); border-radius: var(--radius); color: #fff; padding: 56px 48px; text-align: center; box-shadow: var(--shadow), inset 0 0 0 1px var(--consult-ring); }
.cta-band .eyebrow { color: #ff9b6b; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.7; max-width: 54ch; margin: 0 auto 28px; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Hero (homepage) ────────────────────────────────── */
.hero { text-align: center; padding: 72px 0 40px; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--accent-strong);
  background: var(--tint); padding: 7px 15px 7px 12px; border-radius: 999px;
  letter-spacing: 0.02em; margin-bottom: 26px;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 600; max-width: 16ch; margin: 0 auto 22px; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); font-weight: 400; max-width: 60ch; margin: 0 auto 32px; line-height: 1.7; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.reassure { margin-top: 18px; font-size: 13.5px; color: var(--muted); font-weight: 300; }
.reassure b { font-weight: 500; color: var(--ink); }

/* ── Bento grid (homepage) ──────────────────────────── */
.bento {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "about about about about consult consult"
    "about about about about where where"
    "approach approach sessions sessions where where"
    "testi testi testi faq faq faq";
  padding: 16px 0 80px;
}
.cell {
  background: var(--card); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, background-color .3s ease, border-color .3s ease;
}
.cell:hover { box-shadow: var(--shadow-lift); }
.a-about    { grid-area: about; }
.a-consult  { grid-area: consult; }
.a-where    { grid-area: where; }
.a-approach { grid-area: approach; }
.a-sessions { grid-area: sessions; }
.a-testi    { grid-area: testi; }
.a-faq      { grid-area: faq; }

.cell h2 { font-size: 25px; margin-bottom: 12px; }
.cell h3 { font-size: 19px; }
.cell p.body { color: var(--muted); font-weight: 400; font-size: 15.5px; line-height: 1.7; }

.about-inner { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: stretch; height: 100%; }
.portrait {
  border-radius: var(--radius-sm); background: radial-gradient(120% 120% at 30% 20%, #0a3f8a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  position: relative; overflow: hidden; min-height: 230px; display: grid; place-items: center; color: rgba(255,255,255,0.85);
}
.portrait .ph { text-align: center; font-size: 12.5px; font-weight: 300; letter-spacing: 0.04em; padding: 16px; }
.portrait .ph svg { width: 34px; height: 34px; margin: 0 auto 10px; opacity: 0.7; }
.about-body { display: flex; flex-direction: column; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.chip { font-size: 12.5px; font-weight: 500; color: var(--accent-strong); background: var(--tint); padding: 6px 13px; border-radius: 999px; }
.chip.rust { color: var(--accent-text); background: rgba(210,62,8,0.12); }

.a-consult { background: var(--consult-grad); color: #fff; border: none; justify-content: space-between; gap: 16px; box-shadow: var(--shadow), inset 0 0 0 1px var(--consult-ring); }
.a-consult .eyebrow { color: #ff9b6b; }
.a-consult h2 { color: #fff; font-size: 22px; }
.a-consult p { color: rgba(255,255,255,0.78); font-weight: 300; font-size: 14.5px; }
.a-consult .btn-primary { box-shadow: 0 8px 20px rgba(0,0,0,0.22); }

.loc { display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.loc:first-of-type { border-top: none; padding-top: 6px; }
.loc .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--tint); color: var(--icon-fg); display: grid; place-items: center; }
.loc .ic svg { width: 21px; height: 21px; }
.loc h3 { font-size: 16.5px; margin-bottom: 3px; }
.loc p { font-size: 13.5px; color: var(--muted); font-weight: 300; line-height: 1.55; }
.where-head { margin-bottom: 6px; }

.cell .feature-list li { font-weight: 300; font-size: 14.5px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price-row .amt { font-size: 32px; font-weight: 600; color: var(--accent-strong); letter-spacing: -0.02em; }
.price-row .per { font-size: 14px; color: var(--muted); font-weight: 300; }
.session-note { margin-top: auto; padding-top: 16px; }
.session-note a { color: var(--accent-text); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.a-testi { background: var(--paper); justify-content: center; }
.a-testi .quote { font-size: clamp(19px, 2.4vw, 24px); font-weight: 400; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.a-testi .quote b { font-weight: 500; color: var(--accent-strong); }
.who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--rust), var(--rust-deep)); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; }
.who .name { font-size: 14.5px; font-weight: 500; }
.who .role { font-size: 13px; color: var(--muted); font-weight: 300; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: none; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm { width: 22px; height: 22px; flex: none; position: relative; transition: transform .2s; }
.faq-item .pm::before, .faq-item .pm::after { content: ''; position: absolute; background: var(--icon-fg); border-radius: 2px; }
.faq-item .pm::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-item .pm::after { top: 3px; left: 10px; width: 2px; height: 16px; transition: opacity .2s; }
.faq-item[open] .pm::after { opacity: 0; }
.faq-item .ans { padding: 0 0 16px; font-size: 14.5px; color: var(--muted); font-weight: 300; line-height: 1.7; max-width: 60ch; }

/* FAQ on inner pages (full width list) */
.faq-list { max-width: 760px; }
.faq-list .faq-item summary { font-size: 17px; padding: 20px 0; }
.faq-list .faq-item .ans { font-size: 15.5px; padding-bottom: 20px; }

/* ── Footer ─────────────────────────────────────────── */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); margin-top: 24px; }
.foot { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding: 56px 0 28px; }
.foot .brand .mark { background: rgba(255,255,255,0.1); }
.foot .brand b, .foot .brand small { color: #fff; }
.foot-col h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.foot-col a, .foot-col p { display: block; color: rgba(255,255,255,0.7); font-size: 14.5px; font-weight: 300; margin-bottom: 9px; transition: color .15s; }
.foot-col a:hover { color: #ff9b6b; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 300; }

/* ── Mobile menu ────────────────────────────────────── */
.mobile-menu { display: none; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "about about" "consult where" "approach sessions" "testi testi" "faq faq";
  }
  .card-grid, .price-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .mobile-menu {
    display: block; overflow: hidden; max-height: 0;
    transition: max-height .28s ease; border-bottom: 1px solid transparent; background: var(--paper);
  }
  .mobile-menu.open { max-height: 420px; border-bottom-color: var(--line); }
  .mobile-menu .inner { padding: 12px 24px 22px; display: flex; flex-direction: column; gap: 4px; }
  .mobile-menu a.link { padding: 13px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .mobile-menu a.link.active { color: var(--accent-strong); font-weight: 500; }
  .mobile-menu .btn { margin-top: 14px; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.media-left { grid-template-columns: 1fr; }
  .split .photo { order: -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 28px; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "about" "consult" "where" "approach" "sessions" "testi" "faq";
    gap: 14px; padding-bottom: 56px;
  }
  .cell { padding: 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .portrait { min-height: 200px; }
  .hero-cta .btn { width: 100%; }
  .foot { gap: 28px; }
  .section { padding: 48px 0; }
  .card-grid, .price-grid, .area-grid { grid-template-columns: 1fr; }
  .price-grid .price-card.featured { grid-column: auto; }
  .form .row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .pad-lg { padding: 28px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
}

/* ── Accessibility toolbar ──────────────────────────── */
.a11y-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 18px 0 14px; border: none; cursor: pointer;
  border-radius: 999px; background: var(--navy); color: #fff;
  font-family: var(--font-ui); font-size: 14.5px; font-weight: 500;
  box-shadow: 0 6px 20px rgba(1,40,94,0.32);
  transition: transform .15s, box-shadow .15s;
}
.a11y-fab:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(1,40,94,0.4); }
.a11y-fab svg { width: 22px; height: 22px; }
.a11y-panel {
  position: fixed; left: 20px; bottom: 82px; z-index: 81;
  width: 304px; max-width: calc(100vw - 40px);
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20,18,30,0.24);
  padding: 20px;
  opacity: 0; transform: translateY(8px) scale(0.98); transform-origin: bottom left;
  pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  font-family: var(--font-ui);
}
.a11y-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.a11y-panel h3 { font-size: 16.5px; margin: 0 0 3px; }
.a11y-panel .ph-sub { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 6px; }
.a11y-row { padding: 14px 0; border-top: 1px solid var(--line); }
.a11y-row .rlabel { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 10px; color: var(--ink); }
.seg { display: flex; gap: 6px; }
.seg button {
  flex: 1; min-height: 42px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); border-radius: 10px; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 500; padding: 0 6px;
  transition: background .15s, border-color .15s, color .15s;
}
.seg button:hover { background: var(--tint); }
.seg button.active { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  width: 46px; height: 46px; flex: none; border: 1px solid var(--line); background: transparent;
  border-radius: 10px; cursor: pointer; color: var(--ink); font-size: 22px; font-weight: 600;
  display: grid; place-items: center; transition: background .15s;
}
.stepper button:hover { background: var(--tint); }
.stepper .val { flex: 1; text-align: center; font-size: 14.5px; font-weight: 600; }
.a11y-reset {
  margin-top: 16px; width: 100%; height: 42px; border: none; background: var(--tint);
  color: var(--accent-strong); border-radius: 10px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 13.5px;
}
.a11y-reset:hover { filter: brightness(0.97); }
@media (max-width: 520px) {
  .a11y-fab .lbl { display: none; }
  .a11y-fab { padding: 0; width: 50px; justify-content: center; }
}

/* ── Team bios ──────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.team-card .photo { border-radius: 0; min-height: 230px; }
.team-card .body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.team-card h3 { font-size: 20px; }
.team-card .role { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }
.team-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 4px; }
.team-card .creds { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.team-card .creds .chip { font-size: 12px; padding: 5px 11px; }

/* ── Warning signs ──────────────────────────────────── */
.signs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.signs-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.signs-col h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.signs-col h3 .age { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--accent-strong); padding: 4px 10px; border-radius: 999px; }
.signs-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.signs-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.55; }
.signs-col li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-text); }

/* Callout box */
.callout { background: var(--tint); border-radius: var(--radius); padding: 28px 30px; display: flex; gap: 18px; align-items: flex-start; }
.callout .ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--card); color: var(--icon-fg); display: grid; place-items: center; box-shadow: var(--shadow); }
.callout .ic svg { width: 24px; height: 24px; }
.callout h3 { font-size: 19px; margin-bottom: 8px; }
.callout p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 62ch; }
.callout p + p { margin-top: 10px; }
.callout a.inline { color: var(--accent-text); font-weight: 500; }

/* ── Blog ───────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.post-card .thumb { min-height: 150px; background: var(--consult-grad); position: relative; display: grid; place-items: center; color: rgba(255,255,255,0.92); }
.post-card .thumb svg { width: 40px; height: 40px; opacity: 0.9; }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card .cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.post-card h3 { font-size: 19px; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.post-card .read { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--accent-strong); }

.featured-post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.featured-post .fp-media { background: var(--consult-grad); min-height: 300px; display: grid; place-items: center; color: rgba(255,255,255,0.92); }
.featured-post .fp-media svg { width: 56px; height: 56px; }
.featured-post .fp-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.featured-post .cat { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.featured-post h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.featured-post p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ── Article ────────────────────────────────────────── */
.article { max-width: 720px; margin: 0 auto; }
.article .meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.article .meta .cat { color: var(--accent-text); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }
.article .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article h1 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 18px; }
.article .dek { font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.article-body { max-width: 680px; margin: 0 auto; }
.article-body p { font-size: 17.5px; line-height: 1.8; margin-bottom: 22px; color: var(--ink); }
.article-body h2 { font-size: 25px; letter-spacing: -0.02em; margin: 40px 0 14px; }
.article-body h3 { font-size: 20px; margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { font-size: 17px; line-height: 1.75; margin-bottom: 9px; }
.article-body strong { font-weight: 600; }
.article-body blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--rust); font-size: 19px; line-height: 1.6; color: var(--ink); }
.article-body a { color: var(--accent-text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.article-cta { background: var(--consult-grad); color: #fff; border-radius: var(--radius); padding: 36px 36px; margin: 44px auto 0; max-width: 720px; text-align: center; box-shadow: var(--shadow), inset 0 0 0 1px var(--consult-ring); }
.article-cta h3 { color: #fff; font-size: 23px; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.82); font-size: 15.5px; line-height: 1.6; margin: 0 auto 20px; max-width: 50ch; }

@media (max-width: 1000px) {
  .team-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-media { min-height: 200px; }
}
@media (max-width: 720px) {
  .team-grid, .post-grid, .signs-grid { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 14px; }
  .article-body p, .article-body li { font-size: 16.5px; }
}

/* Utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack-gap { display: flex; flex-direction: column; gap: var(--gap); }

/* Footer socials */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; margin: 0; transition: background .15s, transform .15s;
}
.socials a:hover { background: var(--rust); transform: translateY(-1px); }
.socials svg { width: 19px; height: 19px; }

/* About page photos */
.story-photo { width: 100%; height: 320px; object-fit: cover; object-position: center; border-radius: var(--radius); display: block; }
.team-photo { width: 100%; aspect-ratio: 4/5; height: auto; object-fit: cover; object-position: center top; display: block; }
@media (max-width: 720px) { .story-photo { height: 240px; } }
