/* Brass Tacks Closers: shared site styles (round 2, Oct 7 2026)
   Official colors: brass #C9A24A, forest green #14281F, cream #F2EADB. Crimson is a small accent only.
   Brand rule: brass only on green, never brass on cream.
   Design principles: brand/website-design-principles.md (see "Round 2"). */

:root {
  --brass: #C9A24A;
  --brass-hover: #D6B566;
  --forest: #14281F;
  --cream: #F2EADB;
  --crimson: #9E2F28;          /* accent only: the leaks, on cream */

  /* Shades of the official colors (no new hues). */
  --forest-2: #1B3529;
  --forest-3: #0F2019;
  --forest-line: #2C4A3B;
  --cream-2: #E9DFCC;
  --paper: #FBF7EF;
  --cream-line: #D6C9B0;
  --ink: #14281F;
  --ink-muted: #4A5D52;
  --on-forest: #F2EADB;
  --on-forest-muted: #C9C2B2;

  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Book", "Segoe UI", Arial, sans-serif;
  --label: Montserrat, "Segoe UI", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: 16px;
  --radius: 4px;
  --radius-card: 12px;
  --shadow-card: 0 1px 2px rgba(20,40,31,.06), 0 18px 40px -22px rgba(20,40,31,.35);
  --shadow-card-dark: 0 1px 2px rgba(0,0,0,.2), 0 28px 60px -28px rgba(0,0,0,.7);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  font-variant-numeric: lining-nums;
}
img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.section--cream :focus-visible, .section--cream-2 :focus-visible { outline-color: var(--forest); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 46rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 30;
  background: var(--brass); color: var(--forest);
  padding: 0.6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: var(--gutter); top: 0.5rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--label); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; text-align: center;
  border-radius: var(--radius); border: 1px solid transparent;
  padding: 0.85rem 1.4rem;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--brass { background: var(--brass); color: var(--forest); }
.btn--brass:hover { background: var(--brass-hover); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-2); }
.btn--ghost-cream { border-color: var(--forest); color: var(--forest); }
.btn--ghost-cream:hover { background: var(--cream-2); }
.btn--lg { font-size: 1rem; padding: 1rem 1.6rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.actions--center { justify-content: center; }
.text-link { font-weight: 600; font-size: 0.95rem; }
.text-link::after { content: " \2192"; }
.section--forest .text-link, .next-step .text-link { color: var(--on-forest); }
.section--forest .text-link:hover { color: var(--brass); }

/* ---------- Header (CSS-only menu toggle) ---------- */
.site-header {
  background: var(--forest); color: var(--on-forest);
  border-bottom: 1px solid var(--forest-line);
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 0.5rem; min-height: 64px;
}
.brand {
  order: 0; margin-right: auto;
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--brass);
  font-family: var(--serif); font-weight: 700; font-size: 0.875rem;
  white-space: nowrap;
}
.brand img { width: 28px; height: 28px; }
.header-book {
  order: 1;
  font-family: var(--label);
  font-size: 0.8125rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--brass); color: var(--forest);
  border-radius: var(--radius); padding: 0.45rem 0.75rem;
}
.header-book:hover { background: var(--brass-hover); }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-toggle-label {
  order: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; cursor: pointer;
  border: 1px solid var(--forest-line); border-radius: var(--radius);
}
.nav-toggle-label .bars,
.nav-toggle-label .bars::before,
.nav-toggle-label .bars::after {
  display: block; width: 18px; height: 2px; background: var(--on-forest); content: ""; position: relative;
}
.nav-toggle-label .bars::before { position: absolute; top: -6px; }
.nav-toggle-label .bars::after { position: absolute; top: 6px; }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--brass); outline-offset: 2px; }
.nav-toggle:checked + .nav-toggle-label { border-color: var(--brass); }

.site-nav { order: 3; flex-basis: 100%; display: none; padding: 0.25rem 0 1rem; }
.nav-toggle:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav a {
  display: block; padding: 0.6rem 0;
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
  color: var(--on-forest-muted); border-bottom: 1px solid var(--forest-line);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brass); }

@media (max-width: 389px) {
  .site-header .wrap { gap: 0 0.4rem; }
  .brand { font-size: 0.8125rem; gap: 0.4rem; }
  .brand img { width: 26px; height: 26px; }
  .header-book { padding: 0.45rem 0.6rem; }
}
@media (min-width: 420px) {
  .brand { font-size: 0.95rem; }
  .brand img { width: 30px; height: 30px; }
  .header-book { font-size: 0.875rem; padding: 0.5rem 0.9rem; }
}
@media (min-width: 1040px) {
  .site-header .wrap { gap: 0 1.75rem; }
  .brand { margin-right: 0; }
  .nav-toggle-label { display: none; }
  .site-nav { order: 1; display: block; flex-basis: auto; margin-left: auto; padding: 0; }
  .site-nav ul { flex-direction: row; gap: 1.4rem; }
  .site-nav a { padding: 0.25rem 0; border: 0; font-size: 0.9rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); }
  .header-book { order: 2; }
}

/* ---------- Sections ---------- */
.section { padding: 4.25rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }
.section--forest { background: var(--forest); color: var(--on-forest); }
.section--deep { background: var(--forest-3); color: var(--on-forest); }
.section--cream { background: var(--cream); color: var(--ink); }
.section--cream-2 { background: var(--cream-2); color: var(--ink); }
.section--forest h2, .section--forest h3, .section--deep h2, .section--deep h3 { color: var(--on-forest); }

/* Section index: "01  The leaks". One small label, one line under it. */
.eyebrow, .idx {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem;
  font-family: var(--label); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.idx b { font-weight: 600; letter-spacing: 0.08em; }
.idx::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .5; }
.section--forest .eyebrow, .section--forest .idx, .section--deep .eyebrow, .section--deep .idx { color: var(--brass); }
.section--cream .eyebrow, .section--cream-2 .eyebrow, .section--cream .idx, .section--cream-2 .idx { color: var(--ink-muted); }

.lede { font-size: 1.15rem; max-width: 36rem; }
.section--cream .lede, .section--cream-2 .lede { color: var(--ink-muted); }
.section--forest .lede, .section--deep .lede { color: var(--on-forest-muted); }
.section-foot { margin: 2.5rem 0 0; }

/* Section head: headline + one line. Left aligned on the one main edge. */
.sec-head { max-width: 40rem; margin-bottom: 3rem; }
.sec-head h2 { margin-bottom: 0.6rem; }
.sec-head > p:not(.idx) { margin: 0; font-size: 1.1rem; color: var(--ink-muted); }
.section--forest .sec-head > p:not(.idx), .section--deep .sec-head > p:not(.idx) { color: var(--on-forest-muted); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .idx { justify-content: center; }
.sec-head--center .idx::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .5; }

/* Inner page title band */
.page-hero { padding: 3.5rem 0 3.25rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .page-hero { padding: 5rem 0 4.5rem; } }
.page-hero h1 { color: var(--on-forest); max-width: 44rem; }
.page-hero .lede { margin-bottom: 0; }
.page-hero::after {            /* large faint tack in the corner */
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 260px; height: 260px;
  background: url("/assets/tack.svg") no-repeat center / contain; opacity: 0.05; pointer-events: none;
}

/* ---------- Example tag + mockup card (product-style, always straight) ---------- */
.ex-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--label); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); border: 1px solid var(--cream-line); border-radius: 999px;
  padding: 0.2rem 0.55rem; white-space: nowrap; background: var(--cream);
}
.mock {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--cream-line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden; font-size: 0.92rem; line-height: 1.4;
}
.section--forest .mock, .section--deep .mock, .hero .mock { border-color: transparent; box-shadow: var(--shadow-card-dark); }
.mock-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--cream-line); background: #fff;
}
.mock-bar strong { font-family: var(--serif); font-size: 0.98rem; }
.mock-bar .dots { display: flex; gap: 5px; }
.mock-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-line); }
.mock-body { padding: 1.1rem; }
.mock-cap { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--ink-muted); }
.section--forest .mock-cap, .section--deep .mock-cap { color: var(--on-forest-muted); }

/* Status pills inside mockups */
.pill {
  display: inline-block; font-family: var(--label); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em;
  border-radius: 999px; padding: 0.2rem 0.55rem; white-space: nowrap;
  background: var(--cream-2); color: var(--ink);
}
.pill--go { background: var(--forest); color: var(--brass); }
.pill--warn { background: #F3DEDB; color: var(--crimson); }

/* ---------- Lead timeline mockup (home hero) ---------- */
.lead-card { width: 100%; max-width: 27rem; justify-self: center; }
@media (min-width: 1000px) { .lead-card { justify-self: end; } }
.lead-who { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--cream-line); }
.avatar {
  flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream-2);
  font-family: var(--label); font-weight: 600; font-size: 0.75rem; color: var(--ink);
}
.lead-who b { display: block; font-size: 0.95rem; }
.lead-who span { color: var(--ink-muted); font-size: 0.82rem; }
.lead-who .pill { margin-left: auto; }
.lead-steps { list-style: none; margin: 0; padding: 0.6rem 1.1rem 0.9rem; position: relative; }
.lead-steps li {
  display: grid; grid-template-columns: 1.1rem 1fr auto; gap: 0 0.8rem; align-items: start;
  padding: 0.55rem 0; position: relative;
}
.lead-steps li::before {        /* the line joining the stops */
  content: ""; position: absolute; left: calc(0.55rem - 1px); top: 1.45rem; bottom: -0.55rem; width: 2px; background: var(--cream-line);
}
.lead-steps li:last-child::before { display: none; }
.lead-steps .dot {
  width: 1.1rem; height: 1.1rem; border-radius: 50%; margin-top: 0.1rem; position: relative; z-index: 1;
  background: var(--forest); box-shadow: 0 0 0 3px var(--paper);
}
.lead-steps .dot::after {
  content: ""; position: absolute; left: 0.37rem; top: 0.2rem; width: 0.28rem; height: 0.5rem;
  border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.lead-steps b { display: block; font-weight: 600; }
.lead-steps small { color: var(--ink-muted); font-size: 0.8rem; }
.lead-steps time { font-family: var(--label); font-size: 0.68rem; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.04em; white-space: nowrap; padding-top: 0.2rem; }
.lead-steps li.last b { font-family: var(--serif); }
.lead-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.8rem 1.1rem; background: var(--cream-2); font-size: 0.82rem; color: var(--ink-muted);
}
.lead-foot strong { color: var(--ink); }

/* =========================================================
   HOME
   ========================================================= */
.hero { padding: 3.25rem 0 4.5rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 5rem 0 6rem; } }
.hero .wrap { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; } }
.hero .kicker {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 1.5rem;
}
.hero .kicker::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--brass); }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.2rem); color: var(--on-forest); margin-bottom: 1.25rem; line-height: 1.08; }
.hero h1 em { color: var(--brass); display: block; }
.hero .lede { color: var(--on-forest-muted); margin-bottom: 2rem; }
.hero .lede strong { color: var(--on-forest); font-weight: 600; }
.cta-note { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--on-forest-muted); }
.chips { list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; border-top: 1px solid var(--forest-line); }
.chips li { font-family: var(--label); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--on-forest); display: flex; align-items: center; gap: 0.5rem; }
.chips li::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.hero::after {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px;
  background: url("/assets/tack.svg") no-repeat center / contain; opacity: 0.04; pointer-events: none;
}

/* Flow diagram: lead -> reply -> book -> confirm -> close -> collect -> follow up */
.flow { position: relative; }
.flow-own {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
  font-family: var(--label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass);
}
.flow-own::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--brass), transparent); }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: fl; }
.flow li { counter-increment: fl; position: relative; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 1rem; padding-bottom: 1.4rem; }
.flow li::before {
  content: counter(fl); width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--forest); border: 1px solid var(--brass); color: var(--brass);
  font-family: var(--serif); font-weight: 700;
}
.flow li::after { content: ""; position: absolute; left: 1.3rem; top: 2.6rem; bottom: 0; width: 1px; background: var(--forest-line); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow li.in::before { content: ""; background: var(--forest-2); border-color: var(--forest-line); }
.flow li.out::before { content: "$"; background: var(--brass); color: var(--forest); border-color: var(--brass); }
.flow li > div > b { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--on-forest); margin-top: 0.3rem; }
.flow li > div > span { font-size: 0.9rem; color: var(--on-forest-muted); }
@media (min-width: 900px) {
  .flow ol { grid-template-columns: repeat(var(--n, 8), 1fr); gap: 1rem; }
  .flow li { grid-template-columns: 1fr; padding: 0; gap: 0.9rem; align-content: start; }
  .flow li::after { left: 2.6rem; right: -1rem; top: 1.3rem; bottom: auto; width: auto; height: 1px; }
  .flow li > div > b { margin-top: 0; }
}
.keep-strip { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--forest-line); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: baseline; }
.keep-strip strong { font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-forest-muted); font-weight: 600; }
.keep-strip span { color: var(--on-forest); }
.keep-strip a { margin-left: auto; }

/* Bento: report + calendar + figures */
.bento { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .bento { grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: start; } }
.bento-side { display: grid; gap: 1.25rem; }

/* Weekly report mockup */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 520px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--cream-line); border-radius: 8px; padding: 0.7rem 0.8rem; }
.kpi span { display: block; font-family: var(--label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.kpi b { display: block; font-family: var(--serif); font-size: 1.45rem; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.kpi.cash { background: var(--forest); border-color: var(--forest); }
.kpi.cash span { color: var(--on-forest-muted); }
.kpi.cash b { color: var(--brass); }
.funnel { margin: 1.1rem 0 0; display: grid; gap: 0.45rem; }
.funnel div { display: grid; grid-template-columns: 4.5rem 1fr 2rem; gap: 0.6rem; align-items: center; font-size: 0.8rem; color: var(--ink-muted); }
.funnel i { display: block; height: 10px; border-radius: 99px; background: var(--cream-2); position: relative; overflow: hidden; }
.funnel i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--forest); border-radius: 99px; }
.funnel em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.mock-sub { margin: 1.2rem 0 0.5rem; font-family: var(--label); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags span { font-size: 0.78rem; border: 1px solid var(--cream-line); background: #fff; border-radius: 999px; padding: 0.2rem 0.65rem; }
.tags span b { font-family: var(--label); font-size: 0.68rem; margin-left: 0.3rem; color: var(--crimson); }

/* Call calendar mockup */
.cal { display: grid; grid-template-columns: 2.6rem repeat(6, 1fr); gap: 3px; font-size: 0.66rem; font-family: var(--label); font-weight: 600; }
.cal span { text-align: center; color: var(--ink-muted); padding: 0.15rem 0; }
.cal .t { text-align: right; padding-right: 0.3rem; }
.cal i { height: 1.35rem; border-radius: 4px; background: var(--cream-2); }
.cal i.c { background: var(--forest); }
.cal i.k { background: var(--forest); box-shadow: inset 0 0 0 2px var(--brass); }
.cal-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.8rem; font-size: 0.75rem; color: var(--ink-muted); }
.cal-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 0.35rem; vertical-align: -1px; background: var(--forest); }
.cal-key span.k::before { box-shadow: inset 0 0 0 2px var(--brass); }
.cal-key span.o::before { background: var(--cream-2); }

/* Figures: definitions, not claims */
.figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cream-line); border: 1px solid var(--cream-line); border-radius: var(--radius-card); overflow: hidden; }
.figs li { background: var(--paper); padding: 1.1rem 1rem; }
.figs b { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.1; color: var(--ink); }
.figs span { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--ink-muted); line-height: 1.35; }
.section--forest .figs, .section--deep .figs { background: var(--forest-line); border-color: var(--forest-line); }
.section--forest .figs li, .section--deep .figs li { background: var(--forest); }
.section--forest .figs b, .section--deep .figs b { color: var(--brass); }
.section--forest .figs span, .section--deep .figs span { color: var(--on-forest-muted); }
@media (min-width: 900px) { .figs--4 { grid-template-columns: repeat(4, 1fr); } }

/* Process track (four stops) */
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; counter-reset: tr; }
@media (min-width: 900px) { .track { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.track li { counter-increment: tr; position: relative; padding: 0 0 2rem 3.4rem; }
.track li:last-child { padding-bottom: 0; }
@media (min-width: 900px) { .track li { padding: 3.75rem 0 0; } }
.track li::before {
  content: counter(tr); position: absolute; left: 0; top: 0; z-index: 1;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest); border: 1px solid var(--brass); color: var(--brass);
  font-family: var(--serif); font-weight: 700;
}
.track::before {
  content: ""; position: absolute; background: var(--forest-line);
  left: 1.2rem; top: 0.5rem; bottom: 2rem; width: 1px; transform-origin: top;
}
@media (min-width: 900px) {
  .track::before { left: 1.2rem; right: 0; top: 1.2rem; bottom: auto; width: auto; height: 1px; transform-origin: left; }
}
.when {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass);
}
.track h3 { color: var(--on-forest); margin-bottom: 0.25rem; }
.track p { margin: 0; color: var(--on-forest-muted); font-size: 0.97rem; }

.split-media { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split-media { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }

/* Photo slot: Sean's real photo goes here later. Until then, a brand illustration. */
.photo-slot {
  margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden;
  background: radial-gradient(circle at 50% 42%, var(--forest-2) 0 38%, var(--forest) 70%);
  border: 1px solid var(--forest-line);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-slot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1.1rem;
  font-size: 0.85rem; color: var(--on-forest-muted);
  background: linear-gradient(transparent, rgba(15,32,25,.85));
}
.photo-slot figcaption b { color: var(--on-forest); font-weight: 600; }
.photo-slot--wide { aspect-ratio: 16 / 10; }

/* Fit: two short columns */
.fit2 { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .fit2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.fit-col { border-radius: var(--radius-card); padding: 1.75rem 1.6rem; }
.fit-col h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.fit-col--yes { background: var(--forest); color: var(--on-forest); }
.fit-col--yes h3 { color: var(--brass); }
.fit-col--no { background: var(--paper); border: 1px solid var(--cream-line); }
.fit-col ul { margin: 0; padding: 0; list-style: none; }
.fit-col li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-top: 1px solid var(--cream-line); }
.fit-col--yes li { border-top-color: var(--forest-line); }
.fit-col li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; }
.fit-col--yes li::before { background: var(--brass); }
.fit-col--yes li::after { content: ""; position: absolute; left: 0.4rem; top: 0.93rem; width: 0.3rem; height: 0.55rem; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fit-col--no li { color: var(--ink-muted); }
.fit-col--no li::before { border: 1.5px solid var(--crimson); }
.fit-col--no li::after { content: ""; position: absolute; left: 0.32rem; top: 1.28rem; width: 0.52rem; height: 1.5px; background: var(--crimson); }
.fit-note { margin-top: 1.5rem; color: var(--ink-muted); font-size: 0.95rem; max-width: 44rem; }

/* Pay band */
.pay-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .pay-band { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.pay-band h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); }
.pay-band h2 em { display: block; }
.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ticks li { font-size: 0.9rem; font-weight: 600; background: var(--paper); border: 1px solid var(--cream-line); border-radius: 999px; padding: 0.35rem 0.85rem 0.35rem 0.7rem; display: flex; align-items: center; gap: 0.45rem; }
.ticks li::before { content: ""; width: 0.35rem; height: 0.6rem; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }

/* Services: before / on / after the call */
.phases { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.phase-col { background: var(--paper); border: 1px solid var(--cream-line); border-radius: var(--radius-card); padding: 1.5rem 1.4rem; }
.phase-col .when { color: var(--ink-muted); }
.phase-col h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.phase-col ul { list-style: none; margin: 0; padding: 0; }
.phase-col li { padding: 0.7rem 0; border-top: 1px solid var(--cream-line); }
.phase-col li b { display: block; font-weight: 600; }
.phase-col li span { color: var(--ink-muted); font-size: 0.93rem; }
.phase-col--on { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.phase-col--on h3 { color: var(--brass); }
.phase-col--on .when { color: var(--on-forest-muted); }
.phase-col--on li { border-top-color: var(--forest-line); }
.phase-col--on li span { color: var(--on-forest-muted); }

.split2 { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .split2 { grid-template-columns: 1fr 1fr; gap: 0; } }
.split2 > div { padding: 1.75rem 1.6rem; border-radius: var(--radius-card); }
@media (min-width: 800px) {
  .split2 > div:first-child { border-radius: var(--radius-card) 0 0 var(--radius-card); }
  .split2 > div:last-child { border-radius: 0 var(--radius-card) var(--radius-card) 0; }
}
.split2 .keep { background: var(--paper); border: 1px solid var(--cream-line); }
.split2 .take { background: var(--forest); color: var(--on-forest); }
.split2 h3 { font-size: 1.3rem; }
.split2 .take h3 { color: var(--brass); }
.split2 ul { list-style: none; margin: 0; padding: 0; }
.split2 li { padding: 0.55rem 0; border-top: 1px solid var(--cream-line); color: var(--ink-muted); }
.split2 .take li { border-top-color: var(--forest-line); color: var(--on-forest-muted); }

/* Long-form process timeline (on cream) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline > li {
  counter-increment: t; position: relative;
  padding: 0 0 2.1rem 3.4rem; border-left: 2px solid var(--cream-line); margin-left: 1.15rem;
}
.timeline > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline > li::before {
  content: counter(t);
  position: absolute; left: -1.2rem; top: -0.25rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest); color: var(--brass);
  font-family: var(--serif); font-weight: 700;
}
.timeline .when { color: var(--ink-muted); }
.timeline h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.timeline p { color: var(--ink-muted); margin: 0; }

/* Pricing term tiles */
.terms-grid { display: grid; gap: 1px; background: var(--cream-line); border: 1px solid var(--cream-line); border-radius: var(--radius-card); overflow: hidden; }
@media (min-width: 640px) { .terms-grid { grid-template-columns: 1fr 1fr; } }
.terms-grid div { background: var(--paper); padding: 1.3rem 1.25rem; }
.terms-grid dt { font-family: var(--label); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.terms-grid dd { margin: 0.35rem 0 0; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.terms-grid .key { background: var(--forest); }
.terms-grid .key dt { color: var(--on-forest-muted); }
.terms-grid .key dd { color: var(--brass); }
.terms-grid dl { margin: 0; }

/* About: name tiles */
.name-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .name-tiles { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.name-tiles li { border-top: 2px solid var(--forest); padding-top: 1rem; }
.name-tiles b { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.3rem; }
.name-tiles span { color: var(--ink-muted); }

.conduct { margin-top: 3rem; }
.conduct h3 { color: var(--on-forest); margin-bottom: 1rem; }
.conduct ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem 2rem; }
@media (min-width: 768px) { .conduct ul { grid-template-columns: 1fr 1fr 1fr; } }
.conduct li { position: relative; padding-left: 1.4rem; color: var(--on-forest-muted); }
.conduct li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg);
}

/* ---------- Prose (News posts) ---------- */
.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--ink-muted); }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); font-weight: 600; }
.in-short { background: var(--paper); border: 1px solid var(--cream-line); border-left: 3px solid var(--forest); border-radius: 8px; padding: 1.2rem 1.4rem; margin: 0 0 2.5rem; }
.in-short .idx { margin-bottom: 0.6rem; color: var(--ink-muted); }
.in-short ul { margin: 0; padding-left: 1.1rem; }
.in-short li { color: var(--ink); margin-bottom: 0.3rem; }

/* ---------- FAQ (details/summary, no JS) ---------- */
.faq { border-top: 1px solid var(--cream-line); }
.faq details { border-bottom: 1px solid var(--cream-line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 0.8rem;
  font-family: var(--sans); font-size: 1.4rem; font-weight: 400; color: var(--ink-muted);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-muted); margin: 0 0 1.2rem; max-width: 44rem; }
.faq-wrap { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.8fr; } }
.faq-wrap .sec-head { margin-bottom: 0; }

/* ---------- Next step (shared closing CTA) ---------- */
.next-step { background: var(--forest-3); color: var(--on-forest); }
.next-step .wrap { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 900px) { .next-step .wrap { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.next-step .eyebrow { color: var(--brass); }
.next-step h2 { color: var(--on-forest); }
.next-step .lede { color: var(--on-forest-muted); }
.next-step .actions { margin-top: 1.75rem; }
.next-step .alt { margin: 1rem 0 0; font-size: 0.92rem; color: var(--on-forest-muted); }
.next-step .alt a { color: var(--on-forest); }
.next-step .alt a:hover { color: var(--brass); }
.then { list-style: none; margin: 0; padding: 0; counter-reset: then; display: grid; gap: 0.75rem; }
.then li {
  counter-increment: then; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0 1rem; align-items: center;
  padding: 1rem 1.1rem; border: 1px solid var(--forest-line); border-radius: 10px; background: var(--forest);
}
.then li::before {
  content: counter(then); grid-row: span 2;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; color: var(--forest); background: var(--brass);
}
.then strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--on-forest); }
.then span { color: var(--on-forest-muted); font-size: 0.93rem; }

/* ---------- News ---------- */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream-line); }
.post-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--cream-line); }
.post-list time, .post-meta {
  display: block; font-family: var(--label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 0.4rem;
}
.post-list h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.post-list p { color: var(--ink-muted); margin: 0; }
.page-hero .post-meta { color: var(--on-forest-muted); margin-bottom: 0.9rem; }
.page-hero .post-meta a { color: var(--brass); }

/* ---------- Contact / Book ---------- */
.contact-panel {
  background: var(--paper); border: 1px solid var(--cream-line);
  border-radius: var(--radius-card); padding: 2rem 1.5rem;
}
@media (min-width: 640px) { .contact-panel { padding: 2.25rem 2rem; } }
.contact-panel--primary { border-top: 3px solid var(--forest); }
.contact-panel h2 { font-size: 1.45rem; }
.contact-panel p { color: var(--ink-muted); }
.contact-panel .email-line { font-weight: 600; color: var(--ink); margin-top: 1rem; margin-bottom: 0; }
.steps-mini { list-style: none; margin: 0 0 1.75rem; padding: 0; counter-reset: m; }
.steps-mini li { counter-increment: m; position: relative; padding: 0.55rem 0 0.55rem 2.2rem; border-bottom: 1px solid var(--cream-line); color: var(--ink-muted); }
.steps-mini li:last-child { border-bottom: 0; }
.steps-mini li::before {
  content: counter(m); position: absolute; left: 0; top: 0.6rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--forest); color: var(--brass);
  font-family: var(--serif); font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps-mini strong { color: var(--ink); }
.book-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; } }
.bring { margin: 0; padding: 0; list-style: none; }
.bring li { padding: 0.7rem 0; border-bottom: 1px solid var(--cream-line); color: var(--ink-muted); }
.bring li strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest); color: var(--on-forest-muted);
  padding: 3.5rem 0 2rem; font-size: 0.92rem;
  border-top: 1px solid var(--forest-line);
}
.footer-mark { width: min(100%, 380px); margin-bottom: 2.5rem; }
.footer-top { display: grid; gap: 1.75rem; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.2fr 2fr auto; align-items: start; } }
.footer-brand p { margin: 0; max-width: 20rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.5rem; }
@media (min-width: 800px) { .footer-nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer a { color: var(--on-forest-muted); }
.site-footer a:hover { color: var(--brass); }
.footer-nav a { text-decoration: none; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--forest-line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}
.footer-bottom p { margin: 0; }
.site-footer .btn--brass, .site-footer .btn--brass:hover { color: var(--forest); }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .wrap { max-width: 36rem; }
.notfound .tack-mark { width: 72px; height: 72px; margin: 0 auto 1.5rem; }
.notfound h1 { color: var(--on-forest); }
.notfound p { color: var(--on-forest-muted); }

/* =========================================================
   MOTION (light). Only when the visitor allows motion and JS runs:
   the inline head script adds .motion to <html>; assets/site.js adds .is-in.
   ========================================================= */
.motion [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

.motion [data-stagger] > * {
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion [data-stagger].is-in > * { opacity: 1; transform: none; }

/* Hero lead timeline: each stop checks off in order (the one signature moment) */
.motion .lead-steps li { opacity: .35; transition: opacity .45s var(--ease); transition-delay: calc(300ms + var(--i, 0) * 260ms); }
.motion .lead-steps .dot { transform: scale(.4); background: var(--cream-line); transition: transform .35s var(--ease), background-color .35s; transition-delay: calc(300ms + var(--i, 0) * 260ms); }
.motion .lead-steps .dot::after { opacity: 0; transition: opacity .3s; transition-delay: calc(450ms + var(--i, 0) * 260ms); }
.motion .lead-card.is-in .lead-steps li { opacity: 1; }
.motion .lead-card.is-in .lead-steps .dot { transform: none; background: var(--forest); }
.motion .lead-card.is-in .lead-steps .dot::after { opacity: 1; }

/* Report bars grow in */
.motion .funnel i::after { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .2s; }
.motion .is-in .funnel i::after { transform: none; }

/* Lines draw across */
.motion .track::before { transform: scaleY(0); transition: transform 1.2s var(--ease) .15s; }
@media (min-width: 900px) { .motion .track::before { transform: scaleX(0); } }
.motion .track.is-in::before { transform: none; }

/* =========================================================
   ROUND 2 VISUALS: layered product-style windows, light and grain.
   Principles (see design doc): real UI detail, layered depth, crops that bleed, soft light, texture.
   ========================================================= */

/* Grain + soft light on dark sections (texture instead of flat fills) */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(201,162,74,.13), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(0,0,0,.28), transparent 70%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero.grain::after { opacity: .12; }

/* App window */
.win {
  margin: 0; background: var(--paper); color: var(--ink);
  border-radius: var(--radius-card); overflow: hidden; font-size: 0.9rem; line-height: 1.4;
  border: 1px solid rgba(20,40,31,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 2px 4px rgba(20,40,31,.06), 0 24px 48px -24px rgba(20,40,31,.45);
}
.section--forest .win, .hero .win { border-color: rgba(0,0,0,.25); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 3px 8px rgba(0,0,0,.18), 0 40px 80px -30px rgba(0,0,0,.75); }
.win-bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0.9rem; background: linear-gradient(#fff, #F7F2E8); border-bottom: 1px solid var(--cream-line);
}
.win-bar strong { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar .dots { display: flex; gap: 5px; flex: none; }
.win-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #DCD2BF; box-shadow: inset 0 -1px 0 rgba(0,0,0,.08); }
.win-foot { margin: 0; padding: 0.75rem 1rem; font-size: 0.8rem; color: var(--ink-muted); background: var(--cream); border-top: 1px solid var(--cream-line); }

/* Hero stage: calendar behind, lead timeline in front, payment toast on top */
.stage { position: relative; margin: 0; min-height: 31rem; }
.stage .win--back {
  position: absolute; top: 0; right: -22%; width: 88%; opacity: .6;
  filter: saturate(.8) blur(.4px); transform: scale(.94); transform-origin: top right;
}
.stage .win--front { position: relative; z-index: 1; margin-top: 6.5rem; max-width: 25.5rem; }
.stage { padding-bottom: 2.75rem; }
.stage .toast { position: absolute; z-index: 2; right: -0.5rem; bottom: 0; }
@media (max-width: 999px) {
  .stage { max-width: 30rem; width: 100%; justify-self: center; min-height: 0; padding-bottom: 2.5rem; }
  .stage .win--back { right: -30%; width: 100%; }
}
@media (max-width: 520px) {
  .stage .win--back { right: -45%; top: -0.5rem; }
  .stage .win--front { margin-top: 5.5rem; }
  .stage .toast { left: 1.25rem; right: auto; bottom: 0; }
}
.wk { display: grid; grid-template-columns: 2.6rem repeat(5, 1fr); gap: 4px; padding: 0.8rem; font-family: var(--label); font-size: 0.62rem; font-weight: 600; }
.wk span { color: var(--ink-muted); text-align: center; padding-bottom: 0.2rem; }
.wk .t { text-align: right; padding-right: 0.3rem; }
.wk i { height: 2.2rem; border-radius: 5px; background: var(--cream-2); font-style: normal; font-size: 0.6rem; padding: 0.3rem 0.35rem; color: var(--on-forest); overflow: hidden; white-space: nowrap; }
.wk i.ev { background: var(--forest-2); border-left: 3px solid var(--forest); }
.wk i.ev--k { background: var(--forest); border-left-color: var(--brass); }

.toast {
  display: flex; align-items: center; gap: 0.75rem; max-width: 20rem;
  background: rgba(251,247,239,.96); color: var(--ink); border-radius: 12px; padding: 0.75rem 0.95rem;
  border: 1px solid rgba(20,40,31,.1);
  box-shadow: 0 2px 6px rgba(0,0,0,.15), 0 22px 40px -16px rgba(0,0,0,.6);
}
.toast b { display: block; font-size: 0.85rem; }
.toast span { font-size: 0.75rem; color: var(--ink-muted); }
.toast-ic { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--forest); position: relative; }
.toast-ic::after { content: ""; position: absolute; left: 0.72rem; top: 0.45rem; width: 0.4rem; height: 0.75rem; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.motion .toast { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s var(--ease) 2s, transform .5s var(--ease) 2s; }
.motion .stage.is-in .toast { opacity: 1; transform: none; }

/* Leaks: copy + leads table */
.split-media--rev { align-items: center; }
@media (min-width: 960px) { .split-media--rev { grid-template-columns: 1fr 1.25fr; } }
.leak-list { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: lk; }
.leak-list li { counter-increment: lk; position: relative; padding: 0.75rem 0 0.75rem 2.25rem; border-top: 1px solid var(--cream-line); color: var(--ink-muted); }
.leak-list li::before { content: counter(lk, decimal-leading-zero); position: absolute; left: 0; top: 0.95rem; font-family: var(--label); font-weight: 600; font-size: 0.75rem; color: var(--crimson); }
.leak-list b { color: var(--ink); font-weight: 600; }
.win--table { position: relative; overflow: visible; }
.stack { position: relative; isolation: isolate; }
.stack::before, .stack::after {     /* two windows stacked behind: depth without tilting anything */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -14px; height: 40px; border-radius: 0 0 12px 12px;
  background: #EFE7D8; border: 1px solid rgba(20,40,31,.1); border-top: 0; z-index: -1;
  box-shadow: 0 18px 30px -18px rgba(20,40,31,.35);
}
.stack::after { left: 12%; right: 12%; bottom: -26px; background: #E6DCC8; z-index: -2; }
.win-tabs { display: flex; gap: 0.25rem; padding: 0.6rem 0.9rem 0; background: #fff; border-bottom: 1px solid var(--cream-line); font-size: 0.78rem; }
.win-tabs span { padding: 0.35rem 0.6rem 0.55rem; color: var(--ink-muted); border-bottom: 2px solid transparent; }
.win-tabs span.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--forest); }
.win-tabs span b { font-family: var(--label); font-size: 0.66rem; margin-left: 0.3rem; padding: 0.05rem 0.4rem; border-radius: 99px; background: var(--cream-2); }
.win-tabs span.warn b { background: #F3DEDB; color: var(--crimson); }
.win--table .leads th { background: var(--paper); }
.leads, .paid { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.leads th, .paid th { text-align: left; font-family: var(--label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); padding: 0.7rem 0.9rem 0.5rem; border-bottom: 1px solid var(--cream-line); background: #fff; }
.leads td, .paid td { padding: 0.7rem 0.9rem; border-bottom: 1px solid #EDE5D6; vertical-align: middle; }
.leads td:first-child { font-weight: 600; white-space: nowrap; }
.leads td.late { color: var(--crimson); font-weight: 600; }
.leads tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .leads .hide-s { display: none; }
  .leads td, .leads th, .paid td, .paid th { padding-left: 0.6rem; padding-right: 0.6rem; }
  .leads .pill, .paid .pill { white-space: normal; }
}

/* Report: email-style window with the calendar layered over its corner */
.report-stage { position: relative; display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 960px) {
  .report-stage { padding-right: 17rem; margin-bottom: 3.5rem; }
  .report-stage .cal-card { position: absolute; right: 0; top: 9.5rem; width: 19rem; z-index: 1; }
}
.mail-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--cream-line); }
.mail-head b { display: block; font-size: 0.9rem; }
.mail-head span { font-size: 0.8rem; color: var(--ink-muted); }
.avatar--brand { background: var(--forest); }
.avatar--brand img { width: 18px; height: 18px; }
.obj { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.obj td { padding: 0.35rem 0; }
.obj td:first-child { width: 9.5rem; color: var(--ink-muted); }
.obj td:last-child { width: 2rem; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.obj i { display: block; height: 8px; border-radius: 99px; background: var(--cream-2); position: relative; overflow: hidden; }
.obj i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--crimson); opacity: .8; border-radius: 99px; }
.tonight { list-style: none; margin: 0; padding: 0.3rem 0.9rem; }
.tonight li { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 0.6rem; align-items: center; padding: 0.6rem 0; border-top: 1px solid #EDE5D6; }
.tonight li:first-child { border-top: 0; }
.tonight time { font-family: var(--label); font-size: 0.7rem; font-weight: 600; color: var(--ink-muted); }
.tonight b { display: block; font-size: 0.85rem; }
.tonight div span { font-size: 0.75rem; color: var(--ink-muted); }
.pill--go { color: var(--brass); }

/* Payments (what counts) */
.payments { width: 100%; }
.paid td b { display: block; font-weight: 600; }
.paid td span { display: block; font-size: 0.76rem; color: var(--ink-muted); }
.paid td .pill { display: inline-block; font-size: 0.66rem; }
.paid td .pill--go { color: var(--brass); }
.paid td .pill--warn { color: var(--crimson); }
.paid td .pill:not(.pill--go):not(.pill--warn) { color: var(--ink); }
.paid .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.paid .neg { color: var(--crimson); }
.paid tr.dim td { opacity: .6; }

/* Vertical track inside a split */
.track.track--v { grid-template-columns: 1fr; gap: 0; }
.track.track--v li { padding: 0 0 1.75rem 3.4rem; }
.track.track--v li:last-child { padding-bottom: 0; }
.track.track--v::before { left: 1.2rem; right: auto; top: 0.5rem; bottom: 2rem; width: 1px; height: auto; transform-origin: top; }
.motion .track.track--v::before { transform: scaleY(0); }
.motion .track.track--v.is-in::before { transform: none; }
.split-media .photo-slot { max-width: 26rem; width: 100%; justify-self: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Flow: each stop carries one small real-looking UI detail */
.flow-ui {
  margin-top: 0.7rem; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 0.5rem 0.6rem;
  font-size: 0.74rem; line-height: 1.3; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 24px -14px rgba(0,0,0,.7);
  max-width: 13rem;
}
.flow-ui small { display: block; font-family: var(--label); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.2rem; }
.flow-ui .rec { color: var(--crimson); font-weight: 600; }
.flow-ui .rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); margin-right: 0.35rem; vertical-align: 1px; }
.flow-ui .amt { font-family: var(--serif); font-weight: 700; font-size: 0.95rem; }
.flow-ui .prog { display: flex; gap: 3px; margin-top: 0.35rem; }
.flow-ui .prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--cream-2); }
.flow-ui .prog i.on { background: var(--forest); }

/* Process: onboarding checklist window */
.split-media--top { align-items: start; }
@media (min-width: 960px) { .split-media--top { grid-template-columns: 1.3fr 1fr; } .split-media--top .checklist { position: sticky; top: 6rem; } }
.ob-progress { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; font-family: var(--label); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.9rem; }
.ob-progress i { height: 6px; border-radius: 99px; background: var(--cream-2); position: relative; overflow: hidden; }
.ob-progress i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--forest); border-radius: 99px; }
.ob-list { list-style: none; margin: 0; padding: 0; }
.ob-list li { position: relative; padding: 0.6rem 0 0.6rem 2rem; border-top: 1px solid #EDE5D6; }
.ob-list li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 1.1rem; height: 1.1rem; border-radius: 4px; border: 1.5px solid var(--cream-line); background: #fff; }
.ob-list li.done::before { background: var(--forest); border-color: var(--forest); }
.ob-list li.done::after { content: ""; position: absolute; left: 0.38rem; top: 0.9rem; width: 0.28rem; height: 0.52rem; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ob-list li.now::before { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(20,40,31,.12); }
.ob-list li.done b { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--cream-line); }
.ob-list b { display: block; font-weight: 600; font-size: 0.88rem; }
.ob-list span { font-size: 0.78rem; color: var(--ink-muted); }
.cal-card--lg { max-width: 32rem; width: 100%; justify-self: center; }
.wk--lg { gap: 5px; padding: 1rem; font-size: 0.66rem; }
.wk--lg i { height: 3.1rem; font-size: 0.7rem; padding: 0.4rem 0.45rem; line-height: 1.25; }
.wk i em { display: block; font-style: normal; font-weight: 500; font-size: 0.85em; opacity: .75; margin-top: 0.1rem; }
.wk i.ev--k em { color: var(--brass); opacity: 1; }
.split2 { margin-top: 1.5rem; }

@media (max-width: 700px) {
  .keep-strip { flex-direction: column; gap: 0.5rem; }
  .keep-strip a { margin-left: 0; margin-top: 0.5rem; }
  .split-media .photo-slot { aspect-ratio: 1 / 1; max-width: 22rem; }
}
