/* ==========================================================================
   sfdivorcemediation.com — design system + styles
   Bronwyn Galloway, Registered LDA #2026-0000089, San Francisco County

   THE ONE PLACE TO CHANGE THINGS.
   Colours, type scale and spacing are all tokens in :root below.
   Edit a token, every page follows. Do not hard-code a hex or a px
   size anywhere else — that is how the last version drifted.

   TIERS (mobile-first)
     base            phone    — compact scale, stacked cost table, sticky CTA
     >= 40rem/640px  tablet   — real table, roomier rhythm, inline buttons
     >= 60rem/960px  desktop  — wide measure, two-column FAQ, side-lit hero
   ========================================================================== */

:root {
  /* ---- Colour ----
     One accent family: light navy. All type is navy, on every background.
     Earth tones (paper, paper-deep, sand) carry the warmth. No mint/green. */
  --paper:       #FAF8F4;  /* page background                       */
  --paper-deep:  #F2EFE8;  /* alternating band                      */
  --white:       #FFFFFF;  /* cards, table cells, form fields       */
  --ink:         #1F3A5F;  /* ALL headings and body — navy          */
  --ink-soft:    #4C6285;  /* secondary text, table labels — navy   */
  --navy:        #2C4E7E;  /* buttons, rules, accents               */
  --navy-deep:   #1B3457;  /* hover, links, emphasis figures        */
  --navy-pale:   #E9EEF6;  /* tinted section background             */
  --navy-edge:   #CBD7E7;  /* borders inside tinted sections        */
  --rule:        #DDDAD2;  /* hairlines on paper                    */
  --sand:        #F0EADC;  /* the single warm band ("not a fit")    */
  --sand-edge:   #DFD6C2;

  /* ---- Type scale (phone; tiers override) ---- */
  --t-h1:   2.1rem;
  --t-h2:   1.5rem;
  --t-h3:   1rem;
  --t-lede: 1.16rem;
  --t-body: 16.5px;
  --lh-body: 1.6;

  /* ---- Rhythm ---- */
  --wrap: 34rem;
  --step: 3rem;
  --radius: 3px;

  /* ---- Hero overlay ----
     ONE EVEN WHITE WASH across the whole image. The skyline stays visible
     through the text everywhere. Never a directional gradient — do not
     reintroduce one that whites out a section and leaves the rest exposed. */
  --veil: rgba(252,251,248,.88);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Type ---------- */

h1, h2 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

/* Hero type sits on the skyline, so it carries more weight than body headings. */
.hero h1 { font-weight: 600; }

h1 { font-size: var(--t-h1); line-height: 1.12; letter-spacing: -0.018em; }

h2 {
  font-size: var(--t-h2);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin-bottom: 1rem;
}

h3 {
  font-family: "Karla", system-ui, sans-serif;
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 .3rem;
  color: var(--ink);
}

p { margin: 0 0 1rem; max-width: 36rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-deep); }

.lede {
  font-family: "Newsreader", Georgia, serif;
  font-size: var(--t-lede);
  line-height: 1.48;
  color: var(--ink-soft);
  max-width: 33rem;
}

.fine { font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }

/* A short navy rule above a heading. Structural, not decorative:
   it marks the start of a major section on a long page. */
.marked::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  background: var(--navy);
  margin-bottom: 1.1rem;
}

/* ---------- Header ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
  z-index: 3;
}

.masthead .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  padding-block: .9rem;
}

.masthead-name {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.masthead-name span {
  display: block;
  font-family: "Karla", sans-serif;
  font-size: .74rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */

section { padding-block: var(--step); }

section.tinted { background: var(--navy-pale); border-block: 1px solid var(--navy-edge); }
section.warm   { background: var(--sand);       border-block: 1px solid var(--sand-edge); }
section.deep   { background: var(--paper-deep); border-block: 1px solid var(--rule); }

/* ---------- Hero with skyline ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: 2.4rem 2.4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--veil);
}

.hero h1 { max-width: 17ch; }
.hero .lede { margin-top: 1.1rem; }
.hero .cta  { margin-top: 1.7rem; }

.hero-min { min-height: 27rem; display: flex; align-items: center; }

.credentials {
  display: inline-block;
  margin-top: 1.6rem;
  padding: .8rem 1rem;
  background: rgba(250, 248, 244, .88);
  border-left: 2px solid var(--navy);
  border-radius: var(--radius);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 30rem;
}

@supports (backdrop-filter: blur(3px)) {
  .credentials { background: rgba(250, 248, 244, .72); backdrop-filter: blur(3px); }
}

.credentials b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.credentials span { display: block; }

/* ---------- Figures band ---------- */

.figures {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.figures > div {
  padding-block: .95rem;
  border-top: 1px solid var(--navy-edge);
}

.figures > div:last-child { border-bottom: 1px solid var(--navy-edge); }

.figures dt {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.05;
  color: var(--navy-deep);
}

.figures dd {
  margin: .2rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- Fact list ---------- */

.facts { margin: 1.5rem 0 0; }

.facts > div { padding-block: 1rem; border-top: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 1px solid var(--rule); }
.facts p { margin: 0; max-width: 34rem; }

section.tinted .facts > div { border-color: var(--navy-edge); }
section.deep   .facts > div { border-color: var(--rule); }

/* ---------- Pull block ---------- */

.pull { border-left: 3px solid var(--navy); padding-left: 1rem; }
.pull .cta { margin-top: .6rem; }

.pull-line {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--navy-deep);
  margin: 1.3rem 0;
  max-width: 26ch;
}

/* ---------- Buttons ---------- */

.cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  padding: .95rem 1.4rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  transition: background .15s ease;
}

.cta:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.cta-note { display: block; margin-top: .7rem; font-size: .86rem; color: var(--ink-soft); }

/* ---------- Cost comparison ----------
   Phone: one labelled block per row. Tablet up: real three-column table.
   -------------------------------------- */

.costs { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }

.costs thead {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.costs tbody tr {
  display: block;
  background: var(--white);
  border: 1px solid var(--navy-edge);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  margin-bottom: .8rem;
}

.costs tbody th {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 0 0 .5rem;
}

.costs tbody td {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  font-size: .96rem;
}

.costs tbody td::before {
  content: attr(data-label);
  flex: 0 0 auto;
  font-size: .86rem;
  color: var(--ink-soft);
}

.costs .mine   { font-weight: 700; color: var(--navy-deep); }
.costs .theirs { color: var(--ink-soft); }

.total {
  margin-top: 1.3rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.4;
  color: var(--ink);
  max-width: 30rem;
}

/* ---------- Steps (a genuine sequence — numbers earn their place) ---------- */

.steps { margin-top: 1.5rem; padding: 0; }

.steps > li {
  list-style: none;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 .9rem;
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
}

.steps > li:last-child { border-bottom: 1px solid var(--rule); }

.steps .n {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--navy);
  grid-row: span 2;
}

.steps p { margin: 0; }

/* ---------- Service list ---------- */

.services { margin: 1.4rem 0 1.2rem; padding: 0; }

.services li {
  list-style: none;
  padding: .55rem 0 .55rem 1.3rem;
  border-bottom: 1px solid var(--navy-edge);
  position: relative;
}

.services li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15rem;
  width: .5rem; height: 1px;
  background: var(--navy);
}

/* ---------- Reviews ---------- */

.rating {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.28rem;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.review { padding-block: 1.2rem; border-top: 1px solid var(--navy-edge); }
.review:last-of-type { border-bottom: 1px solid var(--navy-edge); }

.review blockquote {
  margin: 0 0 .45rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.5;
  max-width: 34rem;
}

.review cite { font-style: normal; font-size: .85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq { margin-top: 1.4rem; }

.faq > div { padding-block: 1.05rem; border-top: 1px solid var(--rule); }
.faq > div:last-child { border-bottom: 1px solid var(--rule); }
.faq p { margin: 0; }

/* ---------- Form ---------- */

.privacy-note {
  background: var(--white);
  border: 1px solid var(--navy-edge);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: .95rem 1rem;
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: 1.6rem;
  max-width: 34rem;
}

.field { margin-bottom: 1.15rem; max-width: 30rem; }

.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.field .hint { display: block; font-weight: 400; font-size: .86rem; color: var(--ink-soft); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;               /* prevents iOS zoom on focus */
  color: var(--ink);
  background: var(--white);
  border: 1px solid #C6C3BA;
  border-radius: var(--radius);
  padding: .7rem .75rem;
}

.field textarea { min-height: 6rem; resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.embed-slot {
  border: 1px solid var(--navy-edge);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--white);
}

/* ---------- Confirmation pages ---------- */

.confirm-hero { padding-block: 2.5rem 1.6rem; }

.calendar-slot {
  border: 1px solid var(--navy-edge);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.1rem;
  margin-block: 1.6rem;
  min-height: 20rem;
}

/* ---------- Legal pages ---------- */

.legal h2 { font-size: 1.2rem; margin-top: 2.2rem; }
.legal h2:first-of-type { margin-top: 1.6rem; }
.legal p, .legal li { max-width: 36rem; }
.legal ul { padding-left: 1.2rem; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
  padding-block: 2.2rem 3rem;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.site-footer p { max-width: 38rem; margin-bottom: .85rem; }
.site-footer a { color: var(--navy-deep); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 0 0 1.1rem;
  padding: 0;
}

.footer-links li { list-style: none; }

.disclaimer { padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .81rem; }

/* ---------- Mobile sticky CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  z-index: 20;
}

body.has-sticky { padding-bottom: 4.8rem; }

/* ---------- Skip link ---------- */

.skip { position: absolute; left: -9999px; }

.skip:focus {
  left: 1rem; top: 1rem; z-index: 50;
  background: var(--white);
  color: var(--ink);
  padding: .7rem 1rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

/* ==========================================================================
   TABLET — 40rem / 640px
   ========================================================================== */

@media (min-width: 40rem) {

  :root {
    --wrap: 42rem;
    --step: 4rem;
    --t-h1: 2.9rem;
    --t-h2: 1.85rem;
    --t-h3: 1.02rem;
    --t-lede: 1.32rem;
    --t-body: 17.5px;
    --lh-body: 1.64;
  }

  h1 { line-height: 1.08; letter-spacing: -0.021em; }
  h2 { margin-bottom: 1.1rem; }

  .wrap { padding-inline: 2rem; }

  .masthead .wrap { padding-block: 1.1rem; }
  .masthead-name { font-size: 1.16rem; }
  .masthead-name span { font-size: .78rem; }

  .hero { padding-block: 3.6rem; }
  .hero h1 { max-width: 18ch; }
  .credentials { max-width: 34rem; }
  .hero .lede { margin-top: 1.3rem; }
  .hero .cta { margin-top: 2rem; }
  .hero-min { min-height: 32rem; }

  .cta { display: inline-block; width: auto; padding: .95rem 1.8rem; }

  .figures { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
  .figures > div { border-bottom: 1px solid var(--navy-edge); }
  .figures dt { font-size: 2.1rem; }

  .pull { padding-left: 1.7rem; }
  .pull-line { font-size: 1.55rem; margin: 1.5rem 0; }

  .facts > div { padding-block: 1.15rem; }

  /* real table returns */
  .costs { margin-top: 1.7rem; font-size: .96rem; }

  .costs thead {
    position: static; width: auto; height: auto;
    overflow: visible; clip: auto; white-space: normal;
  }

  .costs thead th {
    text-align: left;
    font-weight: 700;
    font-size: .9rem;
    padding: .8rem;
    border-bottom: 2px solid var(--navy);
  }

  .costs thead th:first-child { border-bottom: 1px solid var(--navy-edge); }

  .costs tbody tr {
    display: table-row;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }

  .costs tbody th {
    display: table-cell;
    padding: .85rem .8rem;
    font-weight: 400;
    font-size: .96rem;
    border-bottom: 1px solid var(--navy-edge);
    vertical-align: top;
  }

  .costs tbody td {
    display: table-cell;
    padding: .85rem .8rem;
    border-bottom: 1px solid var(--navy-edge);
    vertical-align: top;
    font-size: .96rem;
  }

  .costs tbody td::before { content: none; }
  .costs .mine { background: var(--white); }

  .total { font-size: 1.32rem; margin-top: 1.5rem; }

  .steps > li { grid-template-columns: 2.4rem 1fr; gap: 0 1rem; padding-block: 1.15rem; }
  .steps .n { font-size: 1.5rem; }

  .rating { font-size: 1.35rem; }
  .review blockquote { font-size: 1.1rem; }

  .privacy-note { padding: 1rem 1.15rem; }
  .embed-slot { padding: 1.6rem; }
  .calendar-slot { padding: 1.5rem; margin-block: 2rem; min-height: 22rem; }

  .confirm-hero { padding-block: 4rem 2rem; }

  .legal h2 { font-size: 1.4rem; margin-top: 2.6rem; }

  .footer-links { flex-direction: row; flex-wrap: wrap; gap: .5rem 1.4rem; }
  .site-footer { padding-block: 2.6rem 3.4rem; }

  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

/* ==========================================================================
   DESKTOP — 60rem / 960px
   ========================================================================== */

@media (min-width: 60rem) {

  :root {
    --wrap: 52rem;
    --step: 5rem;
    --t-h1: 3.5rem;
    --t-h2: 2.1rem;
    --t-lede: 1.4rem;
    --t-body: 18px;
  }

  .wrap { padding-inline: 2.5rem; }

  /* even wash holds at every width; only crop and rhythm change */
  .hero { padding-block: 5rem; }
  .hero-media img { object-position: 62% 45%; }
  .hero-min { min-height: 38rem; }
  .hero h1 { max-width: 16ch; }

  .figures dt { font-size: 2.4rem; }

  .pull { padding-left: 1.9rem; }
  .pull-line { font-size: 1.7rem; }

  /* two columns where the content is a set of peers, not a sequence */
  .facts,
  .faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .facts > div { border-bottom: 1px solid var(--navy-edge); }
  .faq   > div { border-bottom: 1px solid var(--rule); }

  .legal h2 { font-size: 1.5rem; }
}

/* ---------- Small additions used by the hero + figures band ---------- */

.hero-min > .wrap { flex: 1 1 auto; }

.band { padding-block: 1.7rem; }

@media (min-width: 40rem) { .band { padding-block: 2.2rem; } }

/* ==========================================================================
   HERO FORM — the form lives in the hero, not at the foot of the page.
   Single call to action on the page: this form / the button that reaches it.
   ========================================================================== */

.hero-grid { display: grid; gap: 2rem; align-items: start; }

.hero-copy .cta { margin-top: 1.5rem; }

/* The form card sits on the skyline, so it needs a solid ground. */
.hero-form {
  background: var(--white);
  border: 1px solid var(--navy-edge);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 1px 2px rgba(31,58,95,.06), 0 10px 26px rgba(31,58,95,.10);
}

.hero-form h2 {
  font-size: 1.32rem;
  line-height: 1.22;
  margin-bottom: .3rem;
}

.hero-form .form-sub {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
  max-width: 30rem;
}

.hero-form .field { max-width: none; margin-bottom: .95rem; }
.hero-form .cta { margin-top: .35rem; }

.hero-form .privacy-note {
  margin-bottom: 1.15rem;
  font-size: .88rem;
  padding: .8rem .9rem;
  background: var(--navy-pale);
}

.cta-note {
  display: block;
  margin-top: .6rem;
  font-size: .86rem;
  color: var(--ink-soft);
}

/* Closing prompt at the foot of the page — same single CTA, sends them up. */
.closer { text-align: left; }
.closer h2 { margin-bottom: .6rem; }
.closer p { margin-bottom: 1.3rem; }

@media (min-width: 40rem) {
  .hero-grid { gap: 2.4rem; }
  .hero-form { padding: 1.7rem 1.6rem 1.8rem; }
  .hero-form h2 { font-size: 1.5rem; }
  .hero-form .cta { width: 100%; display: block; }
}

@media (min-width: 60rem) {
  :root { --wrap: 62rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(21rem, .95fr);
    gap: 3.25rem;
  }
  .hero h1 { max-width: 15ch; }
  .hero-copy .lede { max-width: 28rem; }
  .credentials { max-width: 28rem; }
}

/* Registration validity — confirmed by Bronwyn Sept 17, 2026: expires Feb 11, 2027.
   FOOTER ONLY. It does not belong in the hero. Update on renewal. */
.cred-exp { white-space: nowrap; }


/* ==========================================================================
   COMPONENTS — added Sept 17, 2026
   Checklists, timeline, review cards, bio portrait, FAQ accordion.
   ========================================================================== */

/* ---------- Checklist / exclusion list ---------- */

.check, .exclude { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.check li, .exclude li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: .7rem;
  max-width: 34rem;
}
.check li::before, .exclude li::before {
  position: absolute;
  left: 0; top: .12em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.check li::before {
  content: "✓";
  background: var(--navy);
  color: var(--white);
}
.exclude li::before {
  content: "–";
  background: var(--paper-deep);
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}

/* A bordered panel that sits beside prose */
.panel {
  background: var(--white);
  border: 1px solid var(--navy-edge);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.panel h3 { margin-bottom: .2rem; }
.panel h3 + .check, .panel h3 + .exclude { margin-top: .8rem; }
.panel .exclude { margin-top: 1.4rem; }

.split { display: grid; gap: 1.6rem; align-items: start; }

/* ---------- Timeline — vertical on phone/tablet, horizontal on desktop ---------- */

.timeline { list-style: none; margin: 1.8rem 0 0; padding: 0; }

.timeline li {
  position: relative;
  padding-left: 3.1rem;
  padding-bottom: 1.9rem;
}
.timeline li:last-child { padding-bottom: 0; }

/* the connecting spine */
.timeline li::before {
  content: "";
  position: absolute;
  left: 1.06rem; top: 2.25rem; bottom: .1rem;
  width: 2px;
  background: var(--navy-edge);
}
.timeline li:last-child::before { display: none; }

.timeline .n {
  position: absolute;
  left: 0; top: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.05rem;
  line-height: 2.2rem;
  text-align: center;
}

.timeline h3 { margin-bottom: .25rem; padding-top: .28rem; }
.timeline p  { margin: 0; max-width: 32rem; }

/* ---------- Reviews ---------- */

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.1rem;
  margin-bottom: 1.6rem;
}
.reviews-head .rating { margin: 0; }
.reviews-head img { height: 2.1rem; width: auto; display: block; }

.review-grid { display: grid; gap: 1rem; }

.review-card {
  background: var(--white);
  border: 1px solid var(--navy-edge);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.stars { color: #E8A33D; font-size: .95rem; letter-spacing: .08em; margin-bottom: .6rem; }

.review-card blockquote {
  margin: 0 0 1.1rem;
  font-size: .95rem;
  line-height: 1.58;
  flex: 1 1 auto;
}

.reviewer { display: flex; align-items: center; gap: .65rem; }

.reviewer img,
.reviewer .initial {
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
}

.reviewer .initial {
  background: var(--navy);
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  line-height: 2.2rem;
  text-align: center;
}

.reviewer cite { font-style: normal; font-size: .9rem; font-weight: 700; color: var(--ink); }

/* ---------- Bio portrait ---------- */

.bio { display: grid; gap: 1.4rem; align-items: start; }

.bio-portrait {
  width: 8.5rem; height: 8.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 2px 14px rgba(31,58,95,.16);
}

/* Placeholder until Bronwyn sends a headshot */
.bio-portrait-slot {
  width: 8.5rem; height: 8.5rem;
  border-radius: 50%;
  background: var(--navy-pale);
  border: 1px dashed var(--navy-edge);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--ink-soft);
  padding: .6rem;
}

/* ---------- FAQ accordion — one panel open at a time ---------- */

.accordion { margin-top: 1.5rem; border-top: 1px solid var(--rule); }

.accordion details { border-bottom: 1px solid var(--rule); }

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.45;
  color: var(--ink);
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
}

.accordion details[open] summary::after { content: "–"; }

.accordion summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.accordion .answer { padding: 0 0 1.15rem; }
.accordion .answer p { font-size: .96rem; margin-bottom: .8rem; }
.accordion .answer p:last-child { margin-bottom: 0; }

/* ---------- Tier overrides for the new components ---------- */

@media (min-width: 40rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .bio { grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
  .review-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .accordion summary { font-size: 1.02rem; padding: 1.15rem 0; }
  .timeline li { padding-bottom: 2.1rem; }
}

@media (min-width: 60rem) {
  .split { gap: 3rem; }
  .panel { padding: 1.6rem 1.7rem; }

  /* horizontal timeline once there's room for it */
  .timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2rem;
    margin-top: 2.2rem;
  }
  .timeline li { padding: 3.4rem 0 0; }
  .timeline li::before {
    left: 2.2rem; right: -2rem;
    top: 1.1rem; bottom: auto;
    width: auto; height: 2px;
  }
  .timeline li:last-child::before { display: none; }
  .timeline .n { top: 0; left: 0; }
  .timeline h3 { padding-top: 0; }

  .bio-portrait, .bio-portrait-slot { width: 10.5rem; height: 10.5rem; }
}

/* ---------- Form embed placeholder (GHL form not built yet) ---------- */

.embed-placeholder {
  border: 1px dashed var(--navy-edge);
  border-radius: var(--radius);
  background: var(--navy-pale);
  padding: 3.2rem 1.25rem;
  text-align: center;
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.embed-placeholder .ph-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: .45rem;
  max-width: none;
}

.embed-placeholder .ph-note {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

/* Hero bullet list sits tighter than a body list */
.hero-check { margin-top: 1.25rem; }
.hero-check li { margin-bottom: .5rem; font-size: .96rem; }

/* Privacy note carries two short paragraphs now */
.privacy-note p { margin-bottom: .6rem; max-width: none; }
.privacy-note p:last-child { margin-bottom: 0; }

/* ---------- Cost table: weight the reading toward Bronwyn's column ---------- */

.costs .mine strong { font-weight: 700; }

@media (min-width: 40rem) {
  .costs thead th.col-mine {
    background: var(--white);
    color: var(--ink);
    border-bottom: 2px solid var(--navy);
  }
  .costs thead th:last-child {
    color: var(--ink-soft);
    border-bottom: 1px solid var(--navy-edge);
  }
  .costs .mine {
    background: var(--white);
    border-left: 2px solid var(--navy);
    border-right: 2px solid var(--navy);
  }
  .costs tbody tr:last-child .mine { border-bottom: 2px solid var(--navy); }
  .costs .theirs { color: var(--ink-soft); }
}

/* Google Reviews badge sits on a tinted band — give it a deliberate chip */
.reviews-head img {
  background: var(--white);
  border: 1px solid var(--navy-edge);
  border-radius: var(--radius);
  padding: .3rem .5rem;
  box-sizing: content-box;
}


/* ==========================================================================
   HERO LEGIBILITY — the headline sits over the image, so it is weighted up.
   Carlos, Sept 17 2026: "hero content should be bold, hard to read with the
   image in the background."
   ========================================================================== */

.hero .lede { color: var(--ink); font-weight: 400; }
.hero-check li { font-weight: 700; color: var(--ink); }
.hero .price-line {
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.1rem;
  max-width: 30rem;
}

/* ---------- Fit / not-fit panel (replaces two separate sections) ---------- */

.fit-panel h3 { margin-bottom: 0; }
.fit-panel .exclude { margin-top: 1.5rem; }
.fit-panel .closing-note {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--navy-edge);
  font-size: .93rem;
  color: var(--ink-soft);
  max-width: none;
}

/* ---------- Consent / legal fine print under the form ---------- */

.form-legal {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--navy-edge);
  font-size: .74rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: none;
}

.form-legal a { color: var(--ink-soft); }

/* ---------- Flat fee inclusions — full width checklist ---------- */

.included { margin-top: 1.4rem; }
.included .check li { margin-bottom: .75rem; }
.included .fine { margin-top: 1.5rem; }

@media (min-width: 60rem) {
  .included .check {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

/* Bio portrait is now a real photo and sits above her heading in the split */
.split .bio-portrait { display: block; }

/* Second heading inside a panel needs air above it */
.panel h3 + .check + h3,
.panel .check + h3 { margin-top: 1.6rem; }

/* ==========================================================================
   MATCHING THE APPROVED NETLIFY LAYOUT — Sept 17, 2026
   ========================================================================== */

/* This H1 is longer than the one it replaced, so it steps down a size at
   desktop rather than dominating the hero. */
@media (min-width: 60rem) {
  .hero h1 { font-size: 2.95rem; max-width: 17ch; }
}

/* Recommended column reads as the recommended column: filled header. */
@media (min-width: 40rem) {
  .costs thead th.col-mine {
    background: var(--navy);
    color: var(--white);
    border-bottom: 2px solid var(--navy);
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .costs .mine { border-left: 2px solid var(--navy); border-right: 2px solid var(--navy); }
}

/* Inclusions read in column order rather than across the row. */
@media (min-width: 60rem) {
  .included .check { grid-auto-flow: row; }
}
