/* ==========================================================================
   ZF Bookkeeping Co. — design system
   Colours come from the logo: blush ground, charcoal ink.
   Edit the tokens below to adjust the whole site.
   ========================================================================== */

:root {
  /* Colour */
  --paper: #fbf8f4;        /* warm white – main background */
  --cream: #f4ece4;        /* cream – alternate sections */
  --sand: #ebe0d5;         /* soft beige – borders on cream, subtle fills */
  --blush: #e7d3c7;        /* logo blush – accent surfaces */
  --blush-deep: #c9a393;   /* muted rose – fine lines, icons, focus */
  --taupe: #7d6c60;        /* secondary text */
  --ink: #1f1b19;          /* charcoal – headings, buttons */
  --ink-soft: #3b3431;     /* body text */
  --line: #e5d9ce;         /* hairlines on paper */
  --white: #ffffff;

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.8rem);
  --step-4: clamp(2.5rem, 1.9rem + 2.8vw, 4.3rem);

  /* Space */
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(31, 27, 25, 0.04), 0 18px 40px -22px rgba(31, 27, 25, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.04; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; }

::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe);
  margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blush-deep); }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--taupe); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--blush-deep); }
.section-head p:not(.eyebrow) { color: var(--taupe); font-size: var(--step-1); }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem;
}
.section-head--split > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 500 0.95rem/1 var(--font-body); letter-spacing: 0.03em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { --btn-bg: #3a322e; --btn-bd: #3a322e; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(31, 27, 25, 0.28); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: var(--white); --btn-bd: var(--white); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--blush-deep); padding-bottom: 3px;
  transition: gap .3s var(--ease), border-color .3s;
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { gap: 12px; border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
/* The frosted background lives on a separate layer so it can't trap the mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 248, 244, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.nav-open .site-header::before { background: var(--paper); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: auto; height: 44px; }
.brand-text {
  font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.32em; text-transform: uppercase;
  line-height: 1.2; padding-left: 14px; border-left: 1px solid var(--line);
}
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); padding-block: 6px;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .brand-text { display: none; }
  .site-nav {
    position: fixed; top: calc(84px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    height: calc(100vh - 84px); height: calc(100dvh - 84px - env(safe-area-inset-top, 0px)); background: var(--paper);
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) {
    display: block; padding: 18px 0; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink);
  }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav li:last-child { border: 0; padding-top: 28px; }
  .site-nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 5vw, 7.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero h1 em { color: #6a584c; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-notes {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.4rem; list-style: none;
  font-size: 0.9rem; color: var(--taupe);
}
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { width: 16px; height: 16px; color: var(--blush-deep); }

/* Arch visual — the brand's signature shape */
.arch {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 999px 999px var(--radius) var(--radius);
  background:
    radial-gradient(120% 70% at 50% 0%, #f1e4db 0%, transparent 60%),
    linear-gradient(180deg, var(--blush) 0%, #dcc2b4 100%);
  isolation: isolate;
}
.arch::before {
  content: ""; position: absolute; inset: 14px; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.55); pointer-events: none;
}
.hero-visual { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.hero-visual .arch-mark {
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%); width: 38%; opacity: 0.16;
}

.ledger {
  position: absolute; left: -12%; right: 10%; bottom: 12%;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 22px 24px 20px;
}
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ledger-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.ledger-sub { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.ledger ul { list-style: none; display: grid; gap: 2px; }
.ledger li {
  display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--ink-soft);
  padding: 9px 0; border-top: 1px solid var(--line);
}
.ledger .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
}
.ledger .tick svg { width: 13px; height: 13px; stroke-width: 2.2; }
.ledger .tick--pending { background: transparent; border: 1.5px dashed var(--blush-deep); }
.ledger li span:last-child { margin-left: auto; font-size: 0.78rem; color: var(--taupe); white-space: nowrap; }

.float-chip {
  position: absolute; top: 18%; right: -4%;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border-radius: 999px; padding: 10px 18px 10px 12px; box-shadow: var(--shadow);
  font-size: 0.85rem; color: var(--ink);
}
.float-chip i { width: 28px; height: 28px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.float-chip svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .hero-visual { animation: rise 1.1s .15s var(--ease) both; }
  .float-chip { animation: drift 7s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .ledger { left: -6%; right: -6%; }
}
@media (max-width: 520px) {
  .ledger { left: 0; right: 0; bottom: 8%; padding: 18px; }
  .ledger li { font-size: 0.86rem; }
  .float-chip { right: 0; }
}

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero .lead { margin-top: 0.5rem; }
.breadcrumbs { font-size: 0.85rem; color: var(--taupe); margin-bottom: 1.6rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--blush-deep); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); padding-block: 22px; }
.strip ul {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; list-style: none;
  font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink);
}
.strip li { display: inline-flex; align-items: center; gap: 30px; }
.strip li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blush-deep); }
@media (max-width: 700px) {
  .strip ul { justify-content: center; }
  .strip li + li::before { display: none; }
}

/* ---------- Icons ---------- */
.icon {
  width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-badge {
  width: 54px; height: 54px; border-radius: 50%; background: var(--blush); color: var(--ink);
  display: grid; place-items: center; flex: none;
}

/* ---------- Why / benefits ---------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why-intro { position: sticky; top: 120px; }
.why-photo { margin: 2.5rem 0 0; max-width: 320px; }
.why-photo .arch { overflow: hidden; }
.why-photo figcaption { margin-top: 14px; font-family: var(--font-display); font-style: italic; color: var(--taupe); }
.arch img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: -1; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); list-style: none; }
.benefits li { display: flex; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); }
.benefits .check {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--blush-deep);
  display: grid; place-items: center; color: var(--ink); margin-top: 2px;
}
.benefits .check svg { width: 15px; height: 15px; }
.benefits h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.benefits p { font-size: 0.95rem; color: var(--taupe); margin: 0; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .why-photo { max-width: 260px; }
}
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.5vw, 34px); text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.section--cream .service-card { border-color: var(--sand); }
.service-card h3 { margin: 10px 0 0; font-size: 1.35rem; }
.service-card p { color: var(--taupe); font-size: 0.97rem; margin: 0; }
.service-card .more {
  margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.service-card .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blush); }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card:hover .icon-badge { background: var(--ink); color: var(--paper); }
.service-card .icon-badge { transition: background-color .4s var(--ease), color .4s var(--ease); }
@media (max-width: 1000px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Who I help ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand); border-left: 1px solid var(--sand); }
.who-item {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--sand); border-bottom: 1px solid var(--sand);
  transition: background-color .4s var(--ease);
}
.who-item:hover { background: rgba(255, 255, 255, 0.55); }
.who-item .icon { width: 34px; height: 34px; stroke-width: 1.2; color: var(--ink); }
.who-item h3 { margin: 6px 0 0; font-size: 1.3rem; }
.who-item p { margin: 0; font-size: 0.95rem; color: var(--taupe); }
.who-more { margin: 2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--taupe); }
.who-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .who-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who-grid, .who-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 28px; border-top: 1px solid var(--ink); }
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 3.2rem; line-height: 1;
  color: var(--blush-deep); margin-bottom: 18px;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.steps p { color: var(--taupe); font-size: 0.97rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.area-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.area-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.area-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem;
  transition: background-color .3s var(--ease), border-color .3s, color .3s;
}
.area-list a svg { width: 18px; height: 18px; color: var(--blush-deep); transition: transform .3s var(--ease), color .3s; }
.area-list a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.area-list a:hover svg { color: var(--blush); transform: translateX(3px); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .area-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 var(--section); }
.section--cream + .cta-band { background: var(--cream); }
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  background: var(--blush); border-radius: calc(var(--radius) * 1.6);
  padding: clamp(3.5rem, 2.5rem + 5vw, 7rem) var(--gutter);
}
.cta-panel::before {
  content: ""; position: absolute; left: 50%; top: 18%; width: min(560px, 90%); aspect-ratio: 1;
  transform: translateX(-50%); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: var(--step-4); max-width: 13em; margin-inline: auto; }
.cta-panel p { max-width: 34em; margin: 0 auto 2rem; font-size: var(--step-1); }
.cta-panel .btn-row { justify-content: center; }

/* ---------- Split / prose sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 38em; }
.prose p { font-size: 1.05rem; }
.prose h2 { margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em; width: 12px; height: 1px; background: var(--blush-deep);
}

/* Photo placeholder (About) */
.photo-frame { position: relative; max-width: 440px; width: 100%; }
.photo-frame .arch { display: grid; place-items: center; text-align: center; overflow: hidden; }
.photo-frame img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.placeholder-note {
  max-width: 70%; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--ink);
  background: rgba(251, 248, 244, 0.75); padding: 14px 18px; border-radius: 12px; line-height: 1.5;
}
.placeholder-note strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; margin-bottom: 4px; }
.photo-caption { margin-top: 18px; font-family: var(--font-display); font-style: italic; color: var(--taupe); text-align: center; }

.signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--ink); margin-top: 1.5rem; }

/* Reason list (About: Why choose me) */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); list-style: none; counter-reset: none; }
.reasons li { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(24px, 2.5vw, 32px); }
.reasons .icon { width: 30px; height: 30px; stroke-width: 1.3; margin-bottom: 18px; color: var(--ink); }
.reasons h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.reasons p { margin: 0; color: var(--taupe); font-size: 0.97rem; }
@media (max-width: 900px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* Values quote */
.pull {
  font-family: var(--font-display); font-size: var(--step-3); line-height: 1.25; color: var(--ink);
  text-align: center; max-width: 22em; margin: 0 auto; text-wrap: balance;
}
.pull em { color: var(--taupe); }

/* ---------- Services page ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.service-index a {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.9rem; text-decoration: none; color: var(--ink); background: var(--paper);
  transition: background-color .3s, color .3s, border-color .3s;
}
.service-index a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.service-detail {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail .icon-badge { margin-bottom: 22px; }
.service-detail h2 { font-size: var(--step-2); }
.service-detail .summary { color: var(--taupe); font-size: 1.05rem; }
.includes h3 {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--taupe); margin-bottom: 14px;
}
.includes ul { list-style: none; display: grid; gap: 0; margin-bottom: 1.4rem; }
.includes li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.includes li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--blush-deep); stroke-width: 2; }
.good-for { font-size: 0.95rem; background: var(--cream); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0; }
.good-for strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; } }

/* Industry detail cards */
.industry { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.industry .icon { width: 32px; height: 32px; stroke-width: 1.3; margin-bottom: 16px; color: var(--ink); }
.industry h3 { font-size: 1.35rem; }
.industry ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.industry li { position: relative; padding-left: 22px; font-size: 0.97rem; color: var(--ink-soft); }
.industry li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1px; background: var(--blush-deep); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2);
  padding: clamp(28px, 3vw, 40px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { background: var(--ink); color: #e9dfd7; border-color: var(--ink); }
.plan--featured h2, .plan--featured .price { color: var(--paper); }
.plan--featured .plan-for, .plan--featured .price small { color: #bfb0a5; }
.plan--featured li { border-color: rgba(255, 255, 255, 0.12); }
.plan--featured li svg { color: var(--blush); }
.plan-tag {
  position: absolute; top: 22px; right: 22px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--blush); color: var(--ink); padding: 6px 12px; border-radius: 999px;
}
.plan h2 { font-size: 2rem; margin-bottom: 0.3em; }
.plan-for { color: var(--taupe); font-size: 0.98rem; min-height: 3.2em; }
.price { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); margin: 1.2rem 0 1.4rem; line-height: 1.2; }
.price small { display: block; font-family: var(--font-body); font-size: 0.82rem; color: var(--taupe); margin-top: 6px; letter-spacing: 0.02em; }
.plan ul { list-style: none; display: grid; margin-bottom: 2rem; }
.plan li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.96rem; }
.plan li svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--blush-deep); stroke-width: 2; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan-for { min-height: 0; } }

.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.addon { display: flex; gap: 20px; align-items: flex-start; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(22px, 2.5vw, 32px); }
.addon h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.addon p { margin: 0; color: var(--taupe); font-size: 0.97rem; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s;
}
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blush); border-color: var(--blush); }
.faq summary:hover .plus { border-color: var(--ink); }
.faq .answer { padding: 0 60px 26px 0; color: var(--ink-soft); max-width: 44em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2); padding: clamp(24px, 4vw, 48px); scroll-margin-top: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend {
  display: block; font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.02em;
}
.field .req { color: var(--blush-deep); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--blush-deep); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(231, 211, 199, 0.6); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a3483b; }
.field .error { display: block; font-size: 0.82rem; color: #a3483b; margin-top: 6px; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.9rem; cursor: pointer; background: var(--paper); transition: background-color .25s, border-color .25s, color .25s;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--blush-deep); transition: background-color .25s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:checked + span::before { background: var(--blush); border-color: var(--blush); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip span:hover { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--taupe); }
.form-status { margin-top: 20px; padding: 16px 20px; border-radius: 12px; font-size: 0.95rem; background: var(--cream); color: var(--ink); }
.form-status.is-success { background: #e8efe6; }
.form-status.is-error { background: #f5e1dc; }

.contact-aside { display: grid; gap: 20px; }
.book-card { background: var(--blush); border-radius: calc(var(--radius) * 1.2); padding: clamp(26px, 3vw, 38px); scroll-margin-top: 100px; }
.book-card h2 { font-size: var(--step-2); }
.book-card p { color: var(--ink-soft); }
.details-list { list-style: none; display: grid; gap: 0; }
.details-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.details-list .icon { flex: none; margin-top: 3px; color: var(--blush-deep); }
.details-list .label { display: block; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
.details-list .value { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); text-decoration: none; word-break: break-word; }
.details-list a.value:hover { text-decoration: underline; }

.socials { display: flex; gap: 10px; list-style: none; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid currentColor; opacity: 0.8; transition: opacity .3s, background-color .3s, color .3s;
}
.socials a:hover { opacity: 1; }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbbdb2; padding-block: clamp(4rem, 3rem + 4vw, 6rem) calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand img { width: 170px; margin-bottom: 22px; }
.footer-brand p { max-width: 26em; }
.site-footer h2 {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blush); margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--paper); }
.site-footer .socials { margin-top: 22px; }
.site-footer .socials a { color: var(--blush); }
.site-footer .socials a:hover { background: var(--blush); color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.85rem; color: #9d8f85; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Location pages ---------- */
.local-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); list-style: none; }
.local-facts li { border-top: 1px solid var(--ink); padding-top: 20px; }
.local-facts h3 { font-size: 1.25rem; }
.local-facts p { color: var(--taupe); margin: 0; font-size: 0.97rem; }
@media (max-width: 800px) { .local-facts { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--blush-deep); }

/* ---------- Scroll reveal (JS adds .reveal only to off-screen items) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Hero fits the first screen on laptops and desktops ---------- */
@media (min-width: 901px) {
  .hero { padding-block: clamp(1.25rem, 4vh, 3rem) clamp(2.5rem, 6vh, 4.5rem); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 4rem); }
  .hero .eyebrow { margin-bottom: clamp(0.75rem, 2vh, 1.25rem); }
  .hero h1 { font-size: min(var(--step-4), 7.2vh); margin-bottom: 0.35em; }
  .hero .lead { font-size: min(var(--step-1), 2.5vh); max-width: 34em; margin-bottom: clamp(1.25rem, 3vh, 2rem); }
  .hero .btn { min-height: min(52px, 6.4vh); }
  .hero-notes { margin-top: clamp(1rem, 2.6vh, 2rem); }
  .hero-visual { max-width: min(440px, calc((100vh - 84px - 7rem) * 0.8)); }
}
