/* Byrd Total Solutions — "Warm Ledger" v3 · Jardín terracota
   Design system: ../DESIGN.md

   Type: Manrope for everything; Newsreader italic only for the accent words inside headings.
   Scale (desktop): 14 label · 16 small · 18 body · 21 lead · 28 heading · 52 display · 72 hero · 168 numeral
   Scale (phone):   14 · 16 · 17 · 19 · 24 · 34 · 44 · 120 */

:root {
  /* Palette */
  --parchment: #FEF9EF;
  --aged: #F5EEE1;
  --clay-wash: #F3DFCF;
  --sage: #DFE7D4;
  --mustard-wash: #F7E6BE;
  --paper: #FFFDF8;
  --taupe: #D1C9BF;
  --ink: #2A2B2F;
  --charcoal: #333333;
  --graphite: #515151;
  --ash: #808988;
  --terra: #B05A36;
  --terra-deep: #9C4E2F;
  --olive: #3F5237;
  --mustard: #EBC46A;
  --footer-muted: #C9C2B6;

  /* Roles that keep their colour in both themes */
  --on-dark: #FEF9EF;          /* text on the olive band, olive cards and the footer */
  --deep: #2A2B2F;             /* footer and skip-link surface */
  --terra-fill: #B05A36;       /* terracotta surfaces that carry white text */
  --terra-fill-hover: #9C4E2F;
  --ledger-rule: rgba(140, 133, 123, 0.28);   /* ruled lines on the hero ledger sheet */
  --ledger-margin: rgba(176, 90, 54, 0.35);   /* its margin line */

  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;

  --radius-card: 24px;
  --radius-pill: 40px;
  --shadow-float: 12px 32px 80px rgba(42, 43, 47, 0.12);
  --focus: 0 0 0 3px rgba(176, 90, 54, 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --max: 1280px;
  --gutter: 40px;
  --section: 120px;
}

/* ---------- Dark theme ----------
   Set by the inline script in each page's <head>: the visitor's saved choice, otherwise
   the system setting. Same warm family as the light theme, just with the lights off. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --parchment: #161714;
  --aged: #1F201C;
  --paper: #23241F;
  --clay-wash: #3A2820;
  --sage: #263022;
  --mustard-wash: #383021;
  --taupe: #3B3A34;
  --ink: #F3EEE4;
  --charcoal: #DDD7CC;
  --graphite: #ADA79C;
  --ash: #8C9291;
  --terra: #D9825A;
  --terra-deep: #E79A74;
  --deep: #0E0F0D;
  --ledger-rule: rgba(243, 238, 228, 0.1);
  --ledger-margin: rgba(217, 130, 90, 0.35);
  --shadow-float: 12px 32px 80px rgba(0, 0, 0, 0.5);
  --focus: 0 0 0 3px rgba(217, 130, 90, 0.5);
}
/* Olive is dark enough as a fill, but too dark for text or thin marks on dark cards */
[data-theme="dark"] .inline-label, [data-theme="dark"] .mono-label.accent { color: #B7CDA6; }
[data-theme="dark"] .bars-plot span:not(:nth-child(3)),
[data-theme="dark"] .aging span:nth-child(1),
[data-theme="dark"] .ledger-list li:nth-child(2)::before { background: #7F9A72; }
/* Olive seals with white drawings need a lighter olive to stand out on dark green cards */
[data-theme="dark"] .card-grid .card:nth-child(2) .card-icon,
[data-theme="dark"] .tone-sage .svc-icon,
[data-theme="dark"] .step-col:nth-child(2) .step-num,
[data-theme="dark"] .faq-item[open] .faq-mark { background: #5B7550; }
/* The Intuit badges are drawn for a light background */
[data-theme="dark"] .badge-tile { background: #FFFDF8; }
/* The photo backing card keeps its glow without a harsh shadow */
[data-theme="dark"] .portrait-wrap::before { opacity: 0.85; }
/* On the dark ledger sheet, the light cards get a faint edge so they don't melt into it */
[data-theme="dark"] .journey-card:not(.is-final) { box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(243, 238, 228, 0.09); }
[data-theme="dark"] .journey::before { border-color: rgba(243, 238, 228, 0.12); }

/* While the visitor switches theme, colours fade instead of snapping */
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease !important;
}

/* Logo: dark lockup on the light theme, light lockup on the dark one */
.logo .logo-on-dark { display: none; }
[data-theme="dark"] .logo .logo-on-light { display: none; }
[data-theme="dark"] .logo .logo-on-dark { display: block; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--deep); color: var(--on-dark);
  padding: 10px 18px; border-radius: var(--radius-pill); z-index: 100;
}
.skip-link:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.hero-title, .display, .heading { font-family: var(--sans); color: var(--ink); }
.hero-title { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.display { font-size: 52px; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.heading { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
/* The one serif touch: accent words in headings */
.hero-title em, .display em, .heading em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.08em;
}

.subhead { font-size: 21px; line-height: 1.55; color: var(--graphite); }
.body-lg { font-size: 19px; line-height: 1.65; }
.muted { color: var(--graphite); }
.small { font-size: 16px; }

/* Short label above a heading: sentence case, readable size */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin-bottom: 14px;
  color: var(--terra);
  font-size: 16px; font-weight: 700; line-height: 1.4;
}
.eyebrow .dot { color: var(--taupe); }
.on-aged .eyebrow { color: var(--terra-deep); }
.on-deep .eyebrow { color: var(--mustard); }

/* Small labels inside the mini previews (kept as a class name, set in the text face) */
.mono-label { font-family: var(--sans); font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--graphite); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .2s ease, color .2s ease, transform .25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: .08s; }
.btn-primary { background: var(--terra-fill); color: #fff; }
.btn-primary:hover { background: var(--terra-fill-hover); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--parchment); }
.btn-hl { background: var(--mustard); color: var(--olive); }
.btn-hl:hover { background: #F2D388; }
.btn-sm { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; gap: 6px; align-items: center;
  color: var(--ink); font-weight: 700; text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--terra);
  transition: color .2s ease;
}
.text-link .arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.text-link:hover { color: var(--terra-deep); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Announcement + nav ---------- */

.announce {
  background: var(--olive); color: var(--on-dark);
  text-align: center; font-size: 16px; padding: 10px 16px;
}
.announce a { color: var(--mustard); font-weight: 700; text-underline-offset: 3px; }
.announce .short { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--parchment);
  border-bottom: 1px solid var(--taupe);
}
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo: horizontal lockup from ../logo/refinado (monogram + name, outlined SVG) */
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo img { display: block; height: 44px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 36px; font-size: 18px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--charcoal); padding: 8px 0; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--terra); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; cursor: pointer; place-items: center; color: var(--ink);
}
.mobile-menu { display: none; }

/* Right side of the nav: theme switch, booking button, menu button */
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }

/* Theme switch: a moon on the light theme, a sun on the dark one */
.theme-toggle {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--taupe); background: transparent; color: var(--ink);
  transition: background-color .25s ease, border-color .25s ease, transform .25s var(--ease-out);
}
.theme-toggle:hover { background: var(--aged); border-color: var(--ink); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .3s ease, transform .5s var(--ease-out); }
.theme-toggle .sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle .moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle .sun { opacity: 1; transform: none; }

/* Burger icon: three lines that fold into an X */
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s var(--ease-out), opacity .2s ease, top .4s var(--ease-out);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-toggle { transition: background-color .25s ease, color .25s ease; }
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--parchment); }

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section.aged { background: var(--aged); }
.section.band-deep { background: var(--olive); color: var(--on-dark); }
.section-head { max-width: 880px; margin-bottom: 56px; }
.section-head .subhead { margin-top: 18px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.split-head .section-head { margin-bottom: 0; }

/* Text on the olive band */
.on-deep .display, .on-deep .heading, .on-deep .hero-title { color: var(--on-dark); }
.on-deep .display em, .on-deep .heading em { color: var(--mustard); }
.on-deep .body-lg, .on-deep p { color: var(--on-dark); }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.hero-grid > :first-child { padding-top: 24px; }
.hero-tagline { margin-top: 22px; font-size: 23px; line-height: 1.35; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.hero .subhead { margin-top: 26px; max-width: 560px; }
.hero .hero-tagline + .subhead { margin-top: 12px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Credentials as three coloured tiles */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.stat { display: flex; flex-direction: column; gap: 12px; border-radius: 18px; padding: 18px 18px 20px; }
.stat-icon { height: 56px; display: flex; align-items: center; }
.stat-icon img { height: 56px; width: auto; }
.stat-seal { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--terra-fill); color: #fff; }
.stat:nth-child(3) .stat-seal { background: var(--mustard); color: var(--olive); }
.stat-seal svg { width: 26px; height: 26px; }
.stat:nth-child(1) { background: var(--clay-wash); }
.stat:nth-child(2) { background: var(--sage); }
.stat:nth-child(3) { background: var(--mustard-wash); }
.stat-top { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.stat-sub { margin-top: 4px; font-size: 16px; line-height: 1.4; color: var(--ink); }

.portrait-wrap { position: relative; padding-left: 48px; padding-bottom: 206px; }
/* A mustard card set behind the photo for colour and depth */
.portrait-wrap::before {
  content: ""; position: absolute; top: 36px; right: -14px; bottom: 172px; left: 92px;
  background: var(--mustard); border-radius: 32px; transform: rotate(4deg);
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5; border-radius: 28px;
  background: var(--aged);
  display: grid; place-items: center; text-align: center; color: var(--graphite);
}
.portrait svg { width: 72px; height: 72px; margin: 0 auto 14px; color: var(--taupe); }

.ledger-card {
  position: absolute; left: -20px; bottom: 0; width: 320px;
  background: var(--paper); border-radius: 22px;
  box-shadow: var(--shadow-float); padding: 18px 20px;
}
.ledger-card .title { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; color: var(--ink); }
.ledger-rows { margin-top: 12px; }
.ledger-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--aged); font-size: 15px; white-space: nowrap; }
.ledger-rows .ok { display: inline-flex; align-items: center; gap: 6px; }
.ledger-rows .ok .mono-label { color: var(--terra-deep); }
.check { width: 18px; height: 18px; color: var(--terra); flex: none; }
.ledger-card .foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--aged); display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--graphite); }

/* Hero: the client's journey in three small cards — business setup, monthly close, tax season */
.journey { position: relative; display: grid; padding: 12px 0 28px; }
/* Behind the stack, a sheet of ledger paper: ruled lines and a terracotta margin line */
.journey::before {
  content: ""; position: absolute; top: 40px; right: -8px; bottom: 4px; left: 44px;
  border-radius: 28px; border: 1px solid var(--taupe);
  background:
    linear-gradient(90deg, transparent 47px, var(--ledger-margin) 47px, var(--ledger-margin) 49px, transparent 49px),
    repeating-linear-gradient(180deg, transparent 0 35px, var(--ledger-rule) 35px 36px),
    var(--aged);
  background-position: 0 0, 0 22px, 0 0;
  translate: 0 var(--py-back, 0px);
}
.journey-card {
  position: relative; width: min(390px, 86%);
  background: var(--paper); border-radius: 22px;
  box-shadow: var(--shadow-float); padding: 18px 20px;
}
.journey-card + .journey-card { margin-top: -16px; }
.journey-card:nth-child(1) { justify-self: start; rotate: -2deg; }
.journey-card:nth-child(2) { justify-self: end; rotate: 1.5deg; z-index: 1; }
.journey-card:nth-child(3) { justify-self: start; margin-left: 32px; margin-top: 10px; rotate: -1deg; z-index: 2; }
.journey-card .title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.journey-card .step {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px;
  border-radius: 50%; background: var(--terra-fill); color: #fff; font-size: 12px; font-weight: 700;
}
.journey-card .foot { margin-top: 10px; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
/* The last card is the payoff: dark olive, mustard checks */
.journey-card.is-final { background: var(--olive); color: var(--on-dark); }
.is-final .title, .is-final .ledger-rows li { color: var(--on-dark); }
.is-final .title .mono-label { color: var(--footer-muted); }
.is-final .step { background: var(--mustard); color: var(--olive); }
.is-final .ledger-rows li, .is-final .foot { border-top: 1px solid rgba(254, 249, 239, 0.16); }
.is-final .check, .is-final .ledger-rows .ok .mono-label { color: var(--mustard); }
.ready-pill { padding: 6px 14px; border-radius: 9999px; background: var(--mustard); color: var(--olive); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ---------- Service cards (Home) ---------- */

.card { background: var(--aged); border-radius: var(--radius-card); padding: 36px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid .card { display: flex; flex-direction: column; }
.card-grid .card:nth-child(1) { background: var(--clay-wash); }
.card-grid .card:nth-child(2) { background: var(--sage); }
.card-grid .card:nth-child(3) { background: var(--mustard-wash); }
.card-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--terra-fill); }
.card-grid .card:nth-child(2) .card-icon { background: var(--olive); }
.card-grid .card:nth-child(3) .card-icon { background: var(--mustard); color: var(--olive); }
.card-icon .icon { width: 30px; height: 30px; }
.card h3 { margin-top: 22px; }
.dash-list { margin-top: 18px; display: grid; gap: 10px; align-content: start; }
.dash-list li { position: relative; padding-left: 24px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 2px; background: var(--terra); }

/* Live: next estimated tax payment */
.deadline, .card-extra { margin-top: auto; padding-top: 28px; }
.card-extra .bars { margin-top: 4px; max-width: none; }
.software { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.software li { padding: 6px 14px; border-radius: 9999px; background: var(--clay-wash); font-size: 16px; font-weight: 700; color: var(--ink); }
.deadline .mini-ui { display: grid; gap: 4px; }
.deadline-date { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.deadline-note { font-size: 16px; color: var(--graphite); }
.deadline-days { color: var(--terra-deep); font-weight: 700; }

/* ---------- About (olive band) ---------- */

.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 96px; align-items: start; }
.big-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 168px; line-height: 0.9; color: var(--mustard); letter-spacing: -0.01em; }
.big-num-cap { margin-top: 14px; font-size: 21px; font-weight: 600; color: var(--on-dark); }
.creds { margin-top: 32px; display: grid; gap: 12px; }
.creds li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(254, 249, 239, 0.08); font-size: 17px; font-weight: 600; color: var(--on-dark); }
.creds .check { color: var(--mustard); }
/* Emily's portrait lives in About, with the "20+" as a mustard seal over its corner */
.about-photo { position: relative; margin: 0; padding-bottom: 40px; }
.about-pic { aspect-ratio: 10 / 11; border-radius: 28px; overflow: hidden; background: var(--aged); }
.about-pic picture { display: contents; }
.about-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.years-seal {
  position: absolute; right: -24px; bottom: 0; max-width: 270px;
  display: flex; flex-direction: column; padding: 16px 22px 18px; border-radius: 22px;
  background: var(--mustard); color: var(--olive); box-shadow: var(--shadow-float); rotate: -2deg;
}
.years-num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 76px; line-height: 0.9; letter-spacing: -0.01em; }
.years-cap { margin-top: 6px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.about-copy p + p { margin-top: 18px; }
.about-copy .display { margin-bottom: 28px; }

/* ---------- Who we work with ---------- */

.ledger-list { display: grid; gap: 14px; }
.ledger-list li {
  display: grid; grid-template-columns: 56px 1fr; align-items: center;
  padding: 22px 28px; border-radius: 20px; background: var(--aged);
}
.ledger-list li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--terra);
}
.ledger-list li:nth-child(2)::before { background: var(--olive); }
.ledger-list li:nth-child(3)::before { background: var(--mustard); }
.ledger-list .txt { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }

.who-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }
.who-head .body-lg { margin-top: 18px; }
.who-head .text-link { margin-top: 22px; }

/* ---------- Questions (FAQ) ---------- */

.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .body-lg { margin-top: 18px; }
.faq-head .text-link { display: inline; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 20px; background: var(--aged); transition: background-color .25s ease; }
.faq-item[open] { background: var(--sage); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { border-radius: 20px; }
.faq-mark { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--terra-fill); }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: #fff; border-radius: 2px; transition: transform .3s var(--ease-out);
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark { background: var(--olive); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-item p { padding: 0 26px 24px; font-size: 18px; line-height: 1.65; color: var(--charcoal); max-width: 640px; }
.faq-item[open] p { animation: faq-in .35s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- How it works ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-col { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-card); background: var(--paper); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: #fff; background: var(--terra-fill);
}
.step-col:nth-child(2) .step-num { background: var(--olive); }
.step-col:nth-child(3) .step-num { background: var(--mustard); color: var(--olive); }
.step-col h3 { margin-top: 18px; }
.step-col p { margin-top: 10px; }
.mini { margin-top: auto; padding-top: 28px; }

.mini-ui { background: var(--paper); border-radius: 16px; padding: 18px; box-shadow: 0 0 0 1px var(--taupe); }
.step-col .mini-ui { background: var(--parchment); }
.mini-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 4px; text-align: center; }
.cal span { font-size: 15px; font-weight: 600; color: var(--graphite); padding: 4px 0; }
.cal .wd { color: var(--ash); font-weight: 500; }
.cal .on { color: #fff; background: var(--terra-fill); border-radius: 999px; }
.mini-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--aged); font-size: 16px; color: var(--charcoal); }
.mini-rows li:last-child { border-bottom: 0; }

/* ---------- Testimonial ---------- */

.testimonial { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial blockquote { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.3; color: var(--ink); }
.avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; background: var(--sage); }
.cite { margin-top: 24px; font-size: 17px; }
.cite strong { color: var(--ink); font-weight: 700; }
.placeholder-tag { display: inline-block; margin-top: 20px; padding: 4px 12px; border: 1px dashed var(--ash); border-radius: 9999px; }

/* ---------- CTA block (olive) ---------- */

.cta-block { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 64px; }
.cta-block p { margin-top: 12px; }
.card.cta-deep { background: var(--olive); }
.cta-deep .display { color: var(--on-dark); }
.cta-deep .display em { color: var(--mustard); }
.cta-deep p { color: var(--on-dark); }

/* ---------- Services page ---------- */

.page-intro { padding: 88px 0 72px; }
.page-intro .subhead { margin-top: 22px; max-width: 640px; }

.intro-split { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center; }
.intro-photo { margin: 0; }
.intro-pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 24px; display: block; }
.intro-photo figcaption { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--graphite); }
.intro-photo figcaption strong { display: block; color: var(--ink); font-size: 18px; }

/* One band per service; colours rotate so neighbours never match */
.service-block.tone-clay { background: var(--clay-wash); }
.service-block.tone-sage { background: var(--sage); }
.service-block.tone-mustard { background: var(--mustard-wash); }
.service-row {
  display: grid; grid-template-columns: 1.05fr 1fr 0.95fr; gap: 56px; align-items: start;
  padding: 88px 0;
  scroll-margin-top: 160px;
}
.service-row h2 { margin-top: 0; }
.service-row .tagline { margin-top: 10px; font-size: 19px; color: var(--ink); }
.service-row .dash-list { margin-top: 0; }
.inline-label { display: inline-block; margin-top: 16px; padding: 6px 14px; border-radius: 9999px; background: var(--paper); font-size: 15px; font-weight: 700; color: var(--olive); }

/* Service icon: a solid colour seal; the drawing inside traces itself once */
.svc-icon {
  width: 68px; height: 68px; border-radius: 50%; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--terra-fill); color: #fff;
  transition: transform .4s var(--ease-out);
}
.tone-sage .svc-icon { background: var(--olive); }
.tone-mustard .svc-icon { background: var(--mustard); color: var(--olive); }
.svc-icon .icon { width: 34px; height: 34px; }
.service-row:hover .svc-icon { transform: rotate(-8deg) scale(1.06); }

.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 26px; font-size: 17px; }
.svc-next { color: var(--ink); font-weight: 600; text-decoration: none; transition: color .2s ease; }
.svc-next span { display: inline-block; transition: transform .25s var(--ease-out); }
.svc-next:hover { color: var(--terra-deep); }
.svc-next:hover span { transform: translateY(3px); }

/* Mini previews of each service */
.vignette .mini-ui { transition: transform .4s var(--ease-out); box-shadow: none; }
.service-row:hover .vignette .mini-ui { transform: translateY(-4px); }
.vignette .mini-rows .ok { display: inline-flex; align-items: center; gap: 6px; }
.vignette .mini-rows .ok .mono-label { color: var(--terra-deep); }
.mono-label.accent { color: var(--olive); font-weight: 700; }
.mini-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 16px; color: var(--charcoal); }

.aging, .aging-labels { display: flex; gap: 3px; }
.aging { height: 16px; }
.aging span { border-radius: 3px; transform-origin: left; }
.aging span:nth-child(1) { background: var(--olive); }
.aging span:nth-child(2) { background: var(--mustard); }
.aging span:nth-child(3) { background: var(--terra); }
.aging span:nth-child(4) { background: var(--terra-deep); }
.aging-labels { margin-top: 8px; }
.aging-labels span { font-size: 14px; font-weight: 600; color: var(--graphite); white-space: nowrap; }

.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.months span {
  display: grid; place-items: center; height: 36px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--taupe); font-size: 14px; font-weight: 600; color: var(--graphite);
}
.months .done { background: var(--olive); box-shadow: none; color: #fff; }

.yearline { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.yearline span { height: 30px; border-radius: 3px; background: var(--aged); }
.yearline .due { background: var(--mustard); }
.yearline .review { background: var(--terra); }
.yearline-labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: 6px; text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 15px; color: var(--charcoal); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .dot.review { background: var(--terra); }
.legend .dot.due { background: var(--mustard); }

.now { display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--terra); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(176, 90, 54, 0.45); }
  100% { box-shadow: 0 0 0 10px rgba(176, 90, 54, 0); }
}

.bars-plot { display: flex; align-items: flex-end; gap: 14px; height: 100px; border-bottom: 2px solid var(--taupe); padding: 0 4px; }
.bars-plot span { flex: 1; background: var(--olive); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars-plot span:nth-child(3) { background: var(--terra); }
.bars-labels { display: flex; gap: 14px; padding: 8px 4px 0; }
.bars-labels span { flex: 1; text-align: center; }

/* Sticky service bar: jump to any service, shows where you are */
.svc-nav {
  position: sticky; top: 81px; z-index: 40;
  background: var(--parchment);
  border-top: 1px solid var(--taupe); border-bottom: 1px solid var(--taupe);
}
.svc-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.svc-nav-inner::-webkit-scrollbar { display: none; }
.svc-chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 8px 11px; border-radius: 9999px; background: var(--aged);
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.svc-chip .chip-icon { width: 18px; height: 18px; color: var(--terra); transition: color .25s ease; }
.svc-chip:hover { background: var(--clay-wash); transform: translateY(-1px); }
.svc-chip.is-active { background: var(--terra-fill); color: #fff; }
.svc-chip.is-active .chip-icon { color: #fff; }
.svc-progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: var(--terra); transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ---------- Thank-you, 404 and privacy pages ---------- */

.status-page { padding: 140px 0 160px; }
.status-page .subhead { max-width: 640px; }
.status-page .subhead .text-link { display: inline; }

.legal-section { padding-top: 0; }
.legal { max-width: 720px; }
.legal h2 { margin-top: 52px; }
.legal p { margin-top: 12px; font-size: 19px; line-height: 1.65; color: var(--charcoal); }
.legal .text-link { display: inline; }

/* Emily's portrait and the Intuit badges */
.portrait { overflow: hidden; }
.portrait picture { display: contents; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: inherit; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge-tile { display: grid; place-items: center; padding: 12px 14px; border-radius: 18px; background: var(--paper); }
.badge-tile img { height: 96px; width: auto; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-grid .subhead { margin-top: 22px; max-width: 500px; }
.details { margin-top: 36px; display: grid; gap: 10px; }
.details li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 16px; padding: 16px 20px; border-radius: 16px; background: var(--aged); font-size: 18px; }
.details .mono-label { font-size: 15px; color: var(--terra-deep); }
.details a { text-decoration: none; color: var(--ink); font-weight: 600; }
.details a:hover { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 4px; }
.card.book-card { margin-top: 36px; padding: 32px; background: var(--sage); }
.book-card .mini-ui { margin: 20px 0 24px; }
.talk-with { display: flex; align-items: center; gap: 18px; }
.talk-with .muted { margin-top: 6px; }
.avatar-pic { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px var(--paper); }

/* Phone and tablet: call and book stay one tap away once the hero is out of view */
.action-bar { display: none; }

.form-card { padding: 40px; }
.form { display: grid; gap: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--graphite); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ash); border-radius: 9999px;
  padding: 14px 22px; min-height: 58px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.select {
  appearance: none; padding-right: 52px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5l6-6' fill='none' stroke='%232A2B2F' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 22px center;
}
.textarea { border-radius: 24px; min-height: 160px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--graphite); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--terra); box-shadow: var(--focus); }
.form-note { margin-top: -6px; font-size: 16px; color: var(--graphite); text-align: center; }

/* ---------- Booking window (Google Calendar appointments) ---------- */

.booking-dialog {
  width: min(760px, calc(100vw - 48px)); height: min(86vh, 820px); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-card);
  background: var(--paper); color: var(--charcoal); box-shadow: var(--shadow-float);
  overflow: hidden;
}
.booking-dialog[open] { display: flex; flex-direction: column; animation: booking-in .35s var(--ease-out); }
.booking-dialog::backdrop { background: rgba(14, 15, 13, 0.55); backdrop-filter: blur(3px); }
@keyframes booking-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
html.booking-open { overflow: hidden; }

.booking-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none;
  padding: 16px 16px 16px 28px; border-bottom: 1px solid var(--taupe);
}
.booking-title { font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.booking-sub { font-size: 15px; line-height: 1.4; color: var(--graphite); }
.booking-close {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--taupe); background: transparent; color: var(--ink);
  transition: background-color .2s ease, border-color .2s ease;
}
.booking-close:hover { background: var(--aged); border-color: var(--ink); }
.booking-close svg { width: 20px; height: 20px; }

/* Google's page is always light, so it sits on white in both themes */
.booking-body { position: relative; flex: 1; min-height: 0; background: #fff; }
.booking-body iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.booking-loading, .booking-fallback { position: absolute; left: 0; right: 0; text-align: center; }
.booking-loading { top: 38%; font-size: 17px; color: #515151; }
.booking-fallback { top: calc(38% + 40px); display: none; justify-content: center; color: #2A2B2F; }
.booking-body.is-slow:not(.is-loaded) .booking-fallback { display: inline-flex; z-index: 2; }
.booking-body.is-loaded .booking-loading { visibility: hidden; }

/* ---------- Footer ---------- */

.site-footer { background: var(--deep); color: var(--on-dark); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-tag { margin-top: 18px; max-width: 340px; color: var(--footer-muted); font-size: 16px; }
.footer-col h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--mustard); margin-bottom: 14px; }
.footer-col li { padding: 5px 0; font-size: 18px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(254, 249, 239, 0.18); display: flex; justify-content: space-between; gap: 16px; font-size: 16px; color: var(--footer-muted); }
.footer-bottom a { text-decoration: none; }

/* ---------- Motion ----------
   Content is visible by default. Only when the script runs (html.js) do
   section parts start hidden and rise in as they enter the screen. */

.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Signature move: the monthly close reconciles line by line */
.js .ledger-card.reveal .ok, .js .ledger-card.reveal .foot {
  opacity: 0; transform: translateX(-6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .ledger-card.in .ok, .js .ledger-card.in .foot { opacity: 1; transform: none; }
.js .ledger-card.in li:nth-child(1) .ok { transition-delay: .55s; }
.js .ledger-card.in li:nth-child(2) .ok { transition-delay: .9s; }
.js .ledger-card.in li:nth-child(3) .ok { transition-delay: 1.25s; }
.js .ledger-card.in .foot { transition-delay: 1.65s; }

/* The journey cards arrive one after another and each one ticks its rows off */
.js .journey-card.reveal { transition-delay: var(--d, 0s); }
.js .journey-card.reveal .ok, .js .journey-card.reveal .foot {
  opacity: 0; transform: translateX(-6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .journey-card.in .ok, .js .journey-card.in .foot { opacity: 1; transform: none; }
.js .journey-card.in li:nth-child(1) .ok { transition-delay: calc(var(--d, 0s) + .45s); }
.js .journey-card.in li:nth-child(2) .ok { transition-delay: calc(var(--d, 0s) + .65s); }
.js .journey-card.in li:nth-child(3) .ok { transition-delay: calc(var(--d, 0s) + .85s); }
.js .journey-card.in .foot { transition-delay: calc(var(--d, 0s) + 1.1s); }

/* Cash-flow bars grow once */
.js .bars.reveal .bars-plot span { transform: scaleY(0); transition: transform .8s var(--ease-out); }
.js .bars.reveal.in .bars-plot span { transform: none; }
.js .bars.in .bars-plot span:nth-child(2) { transition-delay: .08s; }
.js .bars.in .bars-plot span:nth-child(3) { transition-delay: .16s; }
.js .bars.in .bars-plot span:nth-child(4) { transition-delay: .24s; }
.js .bars.in .bars-plot span:nth-child(5) { transition-delay: .32s; }
.js .bars.in .bars-plot span:nth-child(6) { transition-delay: .40s; }

/* Service icons draw themselves; preview details arrive in sequence */
.js .svc-icon.draw .icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out) .25s; }
.js .svc-icon.draw.in .icon > * { stroke-dashoffset: 0; }
.js .vignette.reveal .seq { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.js .vignette.reveal.in .seq { opacity: 1; transform: none; transition-delay: calc(var(--n) * 160ms + .35s); }
.js .vignette.reveal .aging span { transform: scaleX(0); transition: transform .7s var(--ease-out); }
.js .vignette.reveal.in .aging span { transform: none; transition-delay: calc(var(--n) * 120ms + .3s); }
.js .vignette.reveal .months .done { background: transparent; box-shadow: inset 0 0 0 1px var(--taupe); color: var(--graphite); transition: background-color .3s ease, color .3s ease; }
.js .vignette.reveal.in .months .done { background: var(--olive); box-shadow: none; color: #fff; transition-delay: calc(var(--n) * 90ms + .3s); }
.js .vignette.reveal .yearline span { transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.js .vignette.reveal.in .yearline span { transform: none; transition-delay: calc(var(--n) * 50ms + .3s); }

/* ---------- Scroll motion ----------
   Smooth scrolling (Lenis) plus effects tied to the scroll position. The script only
   sets these custom properties when motion is allowed; at rest they change nothing. */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Parallax uses the independent "translate" property so it adds to reveal transforms */
[data-parallax] { translate: 0 var(--py, 0px); }
.portrait-wrap::before { translate: 0 var(--py-back, 0px); }

/* The olive About band grows from an inset card to full width as it scrolls in */
.js [data-expand] { clip-path: inset(0 var(--inset, 0px) round var(--inset-r, 0px)); }
/* Closing call-to-action cards swell slightly into place */
.js [data-grow] { scale: var(--grow, 1); }
/* Service seals turn a little as their band passes */
.js [data-spin] { rotate: var(--spin, 0deg); }

.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(42, 43, 47, 0.08); }

#about, #how, #services, #main { scroll-margin-top: 96px; }

/* ---------- Tablet ---------- */

@media (max-width: 1080px) {
  :root { --gutter: 32px; --section: 96px; }
  .display { font-size: 46px; }
  .hero-grid { gap: 56px; }
  .about-grid { gap: 56px; }

  /* Cards and steps become two-column rows: title on the left, content on the right */
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .card-grid .card > .card-icon, .card-grid .card > h3 { grid-column: 1; }
  .card-grid .card > .dash-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .card-grid .card > .deadline, .card-grid .card > .card-extra { grid-column: 2; padding-top: 24px; }

  .steps { grid-template-columns: 1fr; }
  .step-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .step-col > .step-num, .step-col > h3, .step-col > p { grid-column: 1; }
  .step-col > .mini { grid-column: 2; grid-row: 1 / span 4; padding-top: 0; }

  .service-row { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
  .service-row > .svc-main { grid-row: 1 / span 2; }
  .service-row > .vignette { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .menu-toggle { display: grid; }
  /* The menu unfolds downward (0fr -> 1fr) and its links slide in one after another */
  .mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    background: var(--parchment); box-shadow: 0 28px 40px -12px rgba(42, 43, 47, 0);
    transition: grid-template-rows .45s var(--ease-out), visibility 0s linear .45s;
  }
  .mobile-menu.open { grid-template-rows: 1fr; visibility: visible; box-shadow: 0 28px 40px -12px rgba(42, 43, 47, 0.18); transition: grid-template-rows .45s var(--ease-out), box-shadow .45s ease, visibility 0s; }
  .mobile-menu-inner { min-height: 0; overflow: hidden; padding: 0 var(--gutter); }
  .mobile-menu.open .mobile-menu-inner { border-top: 1px solid var(--taupe); }
  .mobile-menu-inner > :first-child { margin-top: 8px; }
  .mobile-menu-inner > :last-child { margin-bottom: 24px; }
  .mobile-menu a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--taupe); text-decoration: none; color: var(--ink); font-size: 20px; font-weight: 600; }
  .mobile-menu .btn { margin-top: 20px; width: 100%; }
  .mobile-menu-inner > * { opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .4s var(--ease-out); }
  .mobile-menu.open .mobile-menu-inner > * { opacity: 1; transform: none; }
  .mobile-menu.open .mobile-menu-inner > :nth-child(1) { transition-delay: .08s; }
  .mobile-menu.open .mobile-menu-inner > :nth-child(2) { transition-delay: .14s; }
  .mobile-menu.open .mobile-menu-inner > :nth-child(3) { transition-delay: .20s; }
  .mobile-menu.open .mobile-menu-inner > :nth-child(4) { transition-delay: .26s; }

  .hero-title { font-size: 60px; }
  .hero-grid, .about-grid, .contact-grid, .who-grid, .faq-grid { grid-template-columns: 1fr; }
  .who-grid, .faq-grid { gap: 36px; }
  .faq-head { position: static; }
  .hero-grid > :first-child { padding-top: 0; }
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .intro-photo { display: flex; align-items: center; gap: 20px; }
  .intro-pic { flex: 0 0 140px; }
  .intro-photo figcaption { margin-top: 0; }

  .action-bar {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 10px; border-radius: 30px; background: var(--paper);
    box-shadow: 0 14px 36px rgba(42, 43, 47, 0.2);
    transition: transform .45s var(--ease-out);
  }
  .js .action-bar:not(.is-visible) { transform: translateY(150%); }
  .action-bar .btn { flex: 1; min-height: 52px; padding: 12px 16px; }
  .action-bar .btn-secondary { flex: 0 0 auto; }
  .site-footer { padding-bottom: 120px; }
  .hero-grid { gap: 56px; }
  /* Portrait goes full width in a wider crop, the ledger card overlaps its lower-left corner */
  .portrait-wrap { padding-left: 0; padding-bottom: 206px; }
  .portrait-wrap::before { left: 40px; right: -8px; bottom: 172px; }
  .portrait { aspect-ratio: 4 / 3; }
  .ledger-card { left: 24px; }
  .journey { max-width: 560px; }
  /* Stacked in one column, the cards must not hide each other's rows */
  .journey-card[data-parallax] { translate: none; }
  .journey-card + .journey-card { margin-top: -6px; }
  .journey::before { left: 32px; right: -8px; }
  .about-photo { max-width: 440px; }
  /* One column: the About heading and text come first, then Emily's photo and credentials */
  .about-copy { order: -1; }
  .years-seal { right: 16px; }

  .split-head { flex-direction: column; align-items: start; }
  .cta-block { flex-direction: column; align-items: start; padding: 48px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */

@media (max-width: 600px) {
  :root { --gutter: 20px; --section: 72px; }
  body { font-size: 17px; }
  .announce { font-size: 15px; }
  .announce .long { display: none; }
  .announce .short { display: inline; }
  .nav { height: 72px; gap: 12px; }
  .logo img { height: 34px; }
  .nav-actions { gap: 8px; }
  .theme-toggle, .menu-toggle { width: 44px; height: 44px; }
  /* Booking window fills the phone screen */
  .booking-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .booking-head { padding: 12px 12px 12px 20px; }
  .booking-title { font-size: 18px; }
  .booking-sub { font-size: 14px; }

  .hero { padding: 44px 0 72px; }
  .hero-title { font-size: clamp(30px, 9.2vw, 38px); line-height: 1.06; letter-spacing: -0.035em; }
  .hero-tagline { margin-top: 18px; font-size: 20px; }
  .display { font-size: 34px; line-height: 1.1; }
  .heading, .deadline-date { font-size: 24px; }
  .subhead { font-size: 19px; }
  .body-lg { font-size: 18px; }
  .hero-ctas .btn { width: 100%; }

  .stats { grid-template-columns: 1fr; margin-top: 32px; gap: 10px; }
  .stat { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .stat-icon, .stat-icon img { height: 46px; }
  .stat-seal { width: 42px; height: 42px; }
  .stat-text { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .stat-top { font-size: 21px; }
  .stat-sub { margin-top: 0; text-align: right; }

  .portrait-wrap { padding-bottom: 0; }
  .portrait-wrap::before { top: 24px; left: 28px; right: -6px; bottom: 210px; }
  .portrait { aspect-ratio: 4 / 5; }
  .ledger-card { position: relative; left: auto; width: auto; margin: -28px 12px 0; }
  .journey { padding: 4px 0 12px; }
  .journey::before { top: 28px; left: 20px; right: 0; bottom: 0; border-radius: 22px; }
  .journey-card { width: calc(100% - 20px); padding: 16px 16px; }
  .journey-card:nth-child(1) { rotate: -1.5deg; }
  .journey-card:nth-child(2) { rotate: 1deg; }
  .journey-card:nth-child(3) { margin-left: 8px; rotate: -0.75deg; }
  .journey-card .title { font-size: 14px; }
  .journey-card .ledger-rows li { font-size: 14px; }
  .years-num { font-size: 60px; }
  .years-cap { font-size: 15px; }
  .years-seal { right: 12px; max-width: 240px; padding: 14px 18px 16px; }

  .card { padding: 28px 22px; }
  .card-grid .card { display: flex; flex-direction: column; }
  .card-grid .card > .dash-list { margin-top: 18px; }
  .step-col { display: flex; flex-direction: column; padding: 28px 22px; }
  .step-col > .mini { padding-top: 22px; }
  .section-head, .split-head { margin-bottom: 36px; }
  .big-num { font-size: 120px; }
  .badge-row { gap: 10px; }
  .badge-tile { padding: 10px; }
  .badge-tile img { height: 78px; }
  .ledger-list li { grid-template-columns: 40px 1fr; padding: 18px 20px; }
  .ledger-list .txt { font-size: 20px; }
  .testimonial blockquote { font-size: 28px; }
  .cta-block { padding: 40px 24px; }
  .cta-block .btn { width: 100%; }

  .page-intro { padding: 52px 0 44px; }
  .intro-split { grid-template-columns: 1fr; gap: 28px; }
  .intro-photo { display: flex; align-items: center; gap: 16px; }
  .intro-pic { flex: 0 0 104px; }
  .intro-photo figcaption { margin-top: 0; }
  .faq-item summary { padding: 18px 20px; font-size: 18px; }
  .faq-item p { padding: 0 20px 20px; font-size: 17px; }
  .talk-with { align-items: flex-start; }
  .avatar-pic { width: 60px; height: 60px; }
  .status-page { padding: 72px 0 96px; }
  .legal h2 { margin-top: 40px; }
  .legal p { font-size: 18px; }
  .service-row { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; scroll-margin-top: 140px; }
  .service-row > .svc-main { grid-row: auto; }
  .service-row > .vignette { grid-column: auto; }
  .svc-icon { width: 60px; height: 60px; margin-bottom: 18px; }
  .svc-nav { top: 73px; }
  .svc-nav-inner { padding-left: 20px; padding-right: 20px; }
  .details li { grid-template-columns: 1fr; gap: 2px; }
  .form-card { padding: 28px 20px; }
  .card.book-card { padding: 28px 20px; }
  .book-card .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .ledger-card.reveal .ok, .js .ledger-card.reveal .foot, .js .bars.reveal .bars-plot span,
  .js .vignette.reveal .seq, .js .vignette.reveal .aging span, .js .vignette.reveal .yearline span { opacity: 1; transform: none; }
  .js .svc-icon.draw .icon > * { stroke-dashoffset: 0; }
  .js .vignette.reveal .months .done { background: var(--olive); box-shadow: none; color: #fff; }
}
