/* ── Marketing layer, consulting-first rebuild (2026-10-04) ──────────────
   Loaded AFTER tokens.css, site.css and site-additions.css, and ONLY by the
   marketing pages. The legal pages must never load this file: their PDFs are
   rendered from those pages, and a type change here would stop the committed
   PDFs reproducing byte-exact (legal-digest-verify --reproduce). Keep every
   typography change in this file, not in site.css or tokens.css.

   Type scale aligned with the reference brief: Source Serif 4 headings at 600,
   Inter body at 17px / 1.6, h1 33.6–54.4px, h2 25.6–36.8px, h3 20px, line
   length capped at about 70 characters. Fonts are self-hosted because the CSP
   blocks Google Fonts. Both are SIL Open Font License. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
}

:root {
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* The "clear blue" panel. TIF's palette has no blue, so this is the wave
     teal (--accent-teal #2a9d8f) deepened until white text clears WCAG AA:
     5.2:1 on #1f7a70. Rajesh, picklist, 2026-10-04. */
  --teal-deep: #1f7a70;
  --teal-deep-lt: #e7f3f1;
  --measure: 68ch;
}

html { font-size: 100%; }
body { font-size: 17px; line-height: 1.6; }
p { font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
.lede { font-size: 1.2rem; line-height: 1.55; max-width: 46em; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 700; }
.small { font-size: 0.9rem; }
.measure { max-width: var(--measure); }

.container { max-width: 1120px; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
.section { padding: 80px 0; }
@media (max-width: 640px) { .section { padding: 56px 0; } }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; }
.text-center .section-head { margin-left: auto; margin-right: auto; }

/* ── Buttons: one primary, one secondary ──────────────────────────────── */
.btn { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.section-forest :focus-visible, .section-ink :focus-visible, .bar-panel :focus-visible { outline-color: var(--brand-gold); }

/* Issue 201. One class for every button group. Alignment follows context:
   start by default, centred inside .text-center, so nobody has to remember a
   utility. Below 560px the buttons stack full width instead of wrapping into
   a ragged second row. .btn is inline-flex, so stretching needs align-self
   on the children, not just a column direction on the parent. */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: flex-start; }
.text-center .btn-row { justify-content: center; }
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > .btn { align-self: stretch; justify-content: center; text-align: center; }
}

/* ── Navigation with two dropdowns ────────────────────────────────────── */
.site-nav .links { gap: 22px; align-items: center; }
.site-nav .links a, .nav-trigger { font-size: 0.95rem; font-weight: 500; }
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 0; color: var(--text); font-family: var(--font-body);
}
.nav-trigger::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.15s;
}
.nav-trigger[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-trigger:hover { color: var(--brand-primary); }
.nav-panel {
  display: none; position: absolute; top: calc(100% + 10px); left: -16px; min-width: 270px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-md);
  box-shadow: var(--shadow); padding: 8px; z-index: 110;
}
.nav-group.open .nav-panel { display: block; }
.site-nav .nav-panel a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); }
.site-nav .nav-panel a:hover { background: var(--teal-deep-lt); }
.site-nav .cta .signin { font-size: 0.95rem; font-weight: 500; color: var(--text); white-space: nowrap; }
@media (max-width: 1220px) {
  .site-nav .links, .site-nav .cta .signin { display: none; }
  .site-nav .menu-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .site-nav .cta .btn { display: none; }
}
.drawer-group { display: flex; flex-direction: column; }
.drawer-label {
  font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-gold); margin-top: 12px;
}
.mobile-drawer a { font-size: 1.15rem; }
.mobile-drawer .drawer-group a { font-family: var(--font-body); font-size: 1rem; padding: 10px 0 10px 12px; }
.mobile-drawer .btn { margin-top: 16px; justify-content: center; border-bottom: 0; color: var(--neutral-900); font-family: var(--font-body); font-size: 1rem; }

/* ── Blue bar: four numbered items ────────────────────────────────────── */
.bar-panel { background: var(--teal-deep); color: #fff; border-radius: var(--radius-lg); padding: 36px 32px; }
.bar-panel h2 { color: #fff; font-size: 1.35rem; margin-bottom: 20px; }
.bar-panel ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bar-panel li { border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 14px; }
.bar-panel .num { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; margin-bottom: 8px; }
.bar-panel strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.bar-panel li span:not(.num) { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; line-height: 1.5; }
.bar-panel .bar-foot { color: #fff; margin-top: 24px; font-weight: 600; }
@media (max-width: 900px) { .bar-panel ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bar-panel { padding: 28px 20px; } .bar-panel ol { grid-template-columns: 1fr; gap: 18px; } }

/* ── Before / after ───────────────────────────────────────────────────── */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contrast-col { border-radius: var(--radius-lg); padding: 28px; }
.contrast-col h3 { margin-bottom: 14px; }
.contrast-col ul { margin: 0; padding-left: 1.1em; }
.contrast-col li { margin: 8px 0; line-height: 1.5; }
.contrast-before { background: var(--neutral-900); color: var(--neutral-50); }
.contrast-before h3 { color: var(--neutral-50); }
.contrast-before li { color: rgba(247, 245, 240, 0.85); }
.contrast-after { background: var(--surface); border: 1px solid var(--border-2); border-top: 4px solid var(--teal-deep); }
.contrast-after li { color: var(--text); }
@media (max-width: 720px) { .contrast { grid-template-columns: 1fr; } }

/* ── Card grids ───────────────────────────────────────────────────────── */
.cards-3, .cards-4, .cards-2 { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.box {
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.box h3 { font-size: 1.15rem; }
.box p { font-size: 0.97rem; margin: 0; }
.box .box-num { font-family: var(--font-display); color: var(--teal-deep); font-size: 1.5rem; line-height: 1; }
.box .box-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--brand-primary); }
.box dl { margin: 0; }
.box dt { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-dk); font-weight: 700; margin-top: 8px; }
.box dd { margin: 4px 0 0; font-size: 0.97rem; color: var(--text-2); line-height: 1.55; }
.closing-line { margin-top: 28px; max-width: var(--measure); }

/* ── "In control" themes, CFO and Head of Tax side by side ────────────── */
.theme-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-2); }
.theme-list > li { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-2); }
.theme-list h3 { font-size: 1.2rem; }
.theme-list .box-num { display: block; font-family: var(--font-display); color: var(--teal-deep); font-size: 1.3rem; margin-bottom: 4px; }
.theme-list .who { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-dk); font-weight: 700; margin-bottom: 4px; }
.theme-list p { font-size: 0.97rem; margin: 0; }
.theme-list .box-link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 820px) { .theme-list > li { grid-template-columns: 1fr; gap: 12px; } }

/* ── RACI table ───────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-2); border-radius: var(--radius-md); background: var(--surface); }
.raci { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 620px; }
.raci caption { text-align: left; padding: 12px 14px; font-size: 0.85rem; color: var(--text-2); caption-side: bottom; }
.raci th, .raci td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: center; }
.raci thead th { background: var(--brand-primary); color: var(--neutral-50); font-weight: 600; font-size: 0.88rem; }
.raci tbody th { text-align: left; font-weight: 600; color: var(--text); }
.raci-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 0.9rem; color: var(--text-2); }
.raci-legend b { color: var(--text); }
.tag-illustrative {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  background: var(--brand-gold-lt); color: var(--brand-gold-dk); border-radius: var(--radius-pill); padding: 3px 10px; margin-bottom: 12px;
}

/* ── Why us and team ──────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-grid h3 { margin-bottom: 8px; }
.why-grid p { font-size: 0.97rem; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; gap: 20px; } }
.team-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.team-card { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 20px; }
.team-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: 0 0 84px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.93rem; margin: 0; line-height: 1.5; }
@media (max-width: 720px) { .team-cards { grid-template-columns: 1fr; } }
.team-more { margin-top: 20px; font-weight: 600; }

/* ── Closing call to action ───────────────────────────────────────────── */
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 56ch; margin: 14px auto 0; }

/* ── Footer: five columns ─────────────────────────────────────────────── */
.site-footer .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
@media (max-width: 960px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* ── Notices and disclaimers ──────────────────────────────────────────── */
.notice-box { background: var(--brand-gold-lt); border: 1px solid var(--border-2); border-radius: var(--radius-md); padding: 16px 18px; font-size: 0.93rem; }
.notice-box p { font-size: 0.93rem; margin: 6px 0 0; }
.notice-box h2, .notice-box h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }

/* ── Plain text sections on sub-pages ─────────────────────────────────── */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 8px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 12px 0; }
.prose li { margin: 6px 0; line-height: 1.55; color: var(--text-2); }
.anchor-target { scroll-margin-top: 96px; }
.page-hero { padding: 72px 0 48px; }
@media (max-width: 640px) { .page-hero { padding: 48px 0 32px; } }

/* ── Fixes found in the 2026-10-04 smoke ──────────────────────────────── */
/* site.css styles .btn-ghost for light backgrounds and for .section-forest,
   but not for the forest hero, where it rendered green on green. */
.hero-forest .btn-ghost { color: var(--neutral-50); border-color: rgba(247, 245, 240, 0.4); }
.hero-forest .btn-ghost:hover { background: rgba(247, 245, 240, 0.08); border-color: var(--neutral-50); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
/* Seven links plus Sign in and the booking button: give the nav bar more
   width than the content column and stop links wrapping onto two lines. */
.site-nav .container { max-width: 1280px; }
.site-nav .links { gap: 20px; }
.site-nav .links > a, .nav-trigger { white-space: nowrap; }

/* ── Services: one block per service ──────────────────────────────────── */
.service { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.service .box-num { display: block; font-family: var(--font-display); color: var(--teal-deep); font-size: 1.5rem; line-height: 1; margin-bottom: 8px; }
.service h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; gap: 12px; } }
.cycle { counter-reset: step; list-style: none; padding-left: 0; }
.cycle li { counter-increment: step; position: relative; padding-left: 2.2em; }
.cycle li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-display); color: var(--teal-deep); font-weight: 600; }
.cycle b { color: var(--text); }
.theme-list .span-2 { grid-column: span 2; }
@media (max-width: 820px) { .theme-list .span-2 { grid-column: auto; } }

/* ── About ────────────────────────────────────────────────────────────── */
.team-card .team-links { margin-top: 10px; font-weight: 600; }
.principle-notes { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--border-2); }
.principle-notes li { padding: 14px 0; border-bottom: 1px solid var(--border-2); color: var(--text-2); font-size: 0.97rem; }
.principle-notes b { color: var(--text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.case-box p { font-size: 0.97rem; }
.case-box p strong { color: var(--text); }
.case-box .eyebrow { margin-bottom: 0; }

/* ── Self-checks: result page and print ───────────────────────────────── */
.qs-reflect h3 { margin-bottom: 6px; }
@media print {
  .site-nav, .mobile-drawer, .site-footer, .qs-result-actions, .qs-reflect, .qs-amend, .cta-band { display: none !important; }
  body, .section { background: #fff !important; padding: 0 !important; }
  .notice-box { border: 1px solid #999; }
  html.js-motion .reveal { opacity: 1 !important; transform: none !important; }
}
.ck-stage { margin-bottom: 20px; }
.ck-question { padding: 10px 0; border-top: 1px solid var(--border); }
.ck-question:first-of-type { border-top: 0; }
.ck-q { font-weight: 600; color: var(--text); font-size: 0.97rem; margin: 0 0 8px; }
.ck-more { margin-top: 28px; font-size: 0.93rem; }
.ck-advice dt { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-dk); font-weight: 700; margin-top: 14px; }
.ck-advice dd { margin: 4px 0 0; }
/* Heat map: colour carries the meaning, the cell text repeats it for anyone
   who cannot see the colour. Contrast checked against AA for the text. */
.heatmap { min-width: 520px; }
.heat { font-weight: 600; }
.heat-2 { background: #dcefe6; color: #14532d; }
.heat-1 { background: #fbf0d4; color: #6b4e0a; }
.heat-0 { background: #f6dcd8; color: #8a1c12; }
.heat-weakest { outline: 3px solid var(--neutral-900); outline-offset: -3px; }
.heat-legend { display: flex; gap: 10px; margin-top: 10px; font-size: 0.88rem; }
.heat-key { padding: 3px 10px; border-radius: var(--radius-pill); font-weight: 600; }
@media print { .heat-2, .heat-1, .heat-0 { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .ck-more { display: none; } }
[hidden] { display: none !important; }
/* site-additions floats the legend of a .qs-step fieldset; everything after it
   must clear the float or a grid beside it collapses (software review B-1). */
fieldset.qs-step > :not(legend) { clear: both; }
.ck-proc { margin-bottom: 14px; }
.ck-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ck-select { width: 100%; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: var(--radius-md); background: var(--surface); font: inherit; font-size: 0.95rem; color: var(--text); }
.ck-select:disabled { opacity: 0.45; }
@media (max-width: 720px) { .ck-selects { grid-template-columns: 1fr; } }
.sort-box h3 { font-size: 1.15rem; }
.sort-why { font-size: 0.93rem; }
.sort-list { margin: 6px 0 0; padding-left: 1.1em; }
.sort-list li { margin: 4px 0; color: var(--text); }
.sort-empty { color: var(--text-3); list-style: none; margin-left: -1.1em; }
.sort-automate { border-top: 4px solid var(--teal-deep); }
.sort-standardise { border-top: 4px solid var(--brand-gold); }
.sort-judgement { border-top: 4px solid var(--brand-primary); }
.sort-stop { border-top: 4px solid var(--neutral-300); }

/* Links inside running text are underlined, so they are not told apart by
   colour alone (Lighthouse link-in-text-block, WCAG 1.4.1). */
main p a, section p a, .prose li a, .notice-box a, .closing-line a, header p a { text-decoration: underline; text-underline-offset: 2px; }
section p a.btn, header p a.btn { text-decoration: none; }
.fit-list { list-style: disc; padding-left: 1.2em; margin: 0; }

/* ── Rajesh's review of the preview, 2026-10-04 ───────────────────────── */
/* 1. Text uses the full width. site.css balances h2 and h3 lines, which on a
   phone leaves every heading stopping well short of the right edge. Headings
   now wrap normally; paragraphs keep text-wrap: pretty, which only avoids a
   lone last word. On laptops, section headings may span the content column;
   their supporting paragraph keeps the brief's ~70-character measure. */
h1, h2, h3, .heading-line { text-wrap: wrap; }
.section-head { max-width: none; }
.section-head > p { max-width: var(--measure); }
.cta-band h2 { max-width: none; }

/* 2. Matching parts of sibling cards start at the same height. Each card is a
   subgrid spanning the parent's rows, so "How technology helps" in one card
   lines up with the same label in its neighbours. A <dl> is flattened so its
   dt/dd pairs become rows too. The rows-N class states how many rows a card
   has; a card with fewer simply leaves its last rows empty. */
.cards-aligned > .box { display: grid; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
.cards-aligned.rows-5 > .box { grid-row: span 5; }
.cards-aligned.rows-6 > .box { grid-row: span 6; }
.cards-aligned > .box > dl { display: contents; }
.cards-aligned > .box > dl > dt { margin-top: 6px; }
.cards-aligned > .box > dl > dd { margin: 0; }
.cards-aligned > .box > .box-link { align-self: end; }

/* 3. Cards lift slightly on hover, on devices that can hover, and never for
   visitors who asked for reduced motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .box, .team-card, .contrast-col, .bar-panel li, .theme-list > li {
    transition: translate 0.2s ease, scale 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .box:hover, .team-card:hover, .contrast-col:hover {
    translate: 0 -4px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }
  .box:hover, .team-card:hover { border-color: var(--teal-deep); }
  .bar-panel li:hover { translate: 0 -3px; }
  .theme-list > li:hover { translate: 4px 0; }
}
.cards-aligned.rows-2 > .box { grid-row: span 2; }
.cards-aligned.rows-3 > .box { grid-row: span 3; }
.cards-aligned.rows-4 > .box { grid-row: span 4; }

/* "For the CFO" / "For the Head of Tax" once, as column headings, on screens
   wide enough for columns (Rajesh, 2026-10-04). The per-row labels stay in the
   markup for screen readers and come back on phones, where the columns stack
   and a heading at the top would no longer say which line is which. */
.theme-list.has-head > .theme-head { padding: 0 0 10px; border-bottom: 1px solid var(--border-2); }
.theme-list.has-head > .theme-head .who { margin: 0; }
.theme-list.has-head { border-top: 0; }
@media (min-width: 821px) {
  .theme-list.has-head > li:not(.theme-head) .who {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
}
@media (max-width: 820px) {
  .theme-list.has-head > .theme-head { display: none; }
  .theme-list.has-head { border-top: 1px solid var(--border-2); }
}
.theme-list > li.theme-head:hover { translate: none; }
p, li, dd, .lede { text-wrap: wrap; }

/* ── One set of edges on every page (Rajesh, 2026-10-04) ──────────────────
   Header, sections and footer share one container width, and text runs to
   the same left and right edges as the cards beside it. This replaces the
   brief's ~70-character text measure, which Rajesh overrode after seeing it:
   capped paragraphs left a ragged gap at the right of every section. */
.container, .site-nav .container, .site-footer .container { max-width: 1280px; }
.container.prose { max-width: 1280px; }
.prose, .section-head, .section-head > p, .closing-line, .measure,
.lede, .hero .lede, .hero-sub .lede, .prose p, .prose ul, .prose ol { max-width: none; }
.heading-clamp-18ch, .heading-clamp-22ch, .heading-clamp-24ch, .heading-clamp-26ch,
.heading-clamp-18ch-mt-16, .lede-clamp-36ch, .lede-clamp-48ch, .max-w-60ch { max-width: none; }
.service .who { display: inline-block; margin-top: 6px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-dk); font-weight: 700; }

/* ── Self-checks, one question at a time (check-flow.js) ──────────────── */
.flow-hidden { display: none !important; }
.flow-on .qs-progress-wrap, .flow-on .qs-help.flow-intro-hide { display: none; }
.flow-bar { position: sticky; top: 72px; z-index: 5; background: var(--bg); padding: 12px 0 10px; margin-bottom: 20px; }
.flow-progress { width: 100%; height: 6px; display: block; appearance: none; border: 0; border-radius: var(--radius-pill); background: var(--neutral-200); overflow: hidden; }
.flow-progress::-webkit-progress-bar { background: var(--neutral-200); border-radius: var(--radius-pill); }
.flow-progress::-webkit-progress-value { background: var(--teal-deep); border-radius: var(--radius-pill); transition: width 0.35s ease; }
.flow-progress::-moz-progress-bar { background: var(--teal-deep); border-radius: var(--radius-pill); }
.flow-count { margin: 8px 0 0; font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.flow-nav, .flow-on .qs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.flow-hint { flex-basis: 100%; margin: 4px 0 0; font-size: 0.9rem; color: var(--brand-gold-dk); font-weight: 600; min-height: 1.4em; }
.flow-on .qs-statement-text, .flow-on .ck-q { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.3; color: var(--text); font-weight: 600; }
.flow-on .qs-option { font-size: 1rem; }
@keyframes flowIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes flowInBack { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
.flow-in { animation: flowIn 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.flow-in-back { animation: flowInBack 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) { .flow-in, .flow-in-back { animation: none; } }
@media (max-width: 860px) { .flow-bar { top: 72px; } }

/* ── Live-site messages brought into the rebuild ──────────────────────── */
.statement-band h2 { color: var(--neutral-50); max-width: none; }
.statement-band .lede { color: rgba(247, 245, 240, 0.82); margin-top: 14px; }
.spectrum { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spectrum li { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.spectrum h3 { font-size: 1.1rem; }
.spectrum p { font-size: 0.95rem; margin: 0; }
.spectrum .box-num { font-family: var(--font-display); color: var(--teal-deep); font-size: 1.4rem; line-height: 1; }
.spectrum-time { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 0.85rem; color: var(--brand-gold-dk); letter-spacing: 0.04em; }
@media (max-width: 960px) { .spectrum { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .spectrum { grid-template-columns: 1fr; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .spectrum li { transition: translate 0.2s ease, scale 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
  .spectrum li:hover { translate: 0 -4px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); border-color: var(--teal-deep); }
}

/* Shading and press feedback, matching the live site's cards (2026-10-04).
   Hover and press use the individual translate and scale properties, not
   transform, because the scroll-reveal's settled state sets transform with a
   stronger selector and would otherwise cancel the lift. */
.box, .team-card, .spectrum li { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.contrast-after { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background 0.18s ease, border-color 0.18s ease, translate 0.18s ease, scale 0.12s ease, box-shadow 0.18s ease; }
  .btn:hover { translate: 0 -2px; transform: none; }
  .btn:active, .box:active, .team-card:active, .spectrum li:active, .contrast-col:active, .qs-option:active { scale: 0.98; translate: 0 0; }
  .box-link { display: inline-block; transition: translate 0.18s ease; }
  .box:hover .box-link { translate: 3px 0; }
}

/* Phone menu: Services and Try it as tap-to-open groups. */
.drawer-toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: none; border: 0; border-bottom: 1px solid rgba(247, 245, 240, 0.1);
  padding: 12px 0; color: var(--neutral-50); font-family: var(--font-display); font-size: 1.15rem; text-align: left; cursor: pointer;
}
.drawer-toggle::after {
  content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease; margin-right: 4px;
}
.drawer-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.drawer-toggle[aria-expanded="true"] { color: var(--brand-gold); }
.drawer-links { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .drawer-links:not([hidden]) { animation: flowIn 0.25s ease both; }
}

/* Tax Reporting Check result: three blocks, then a compact table. */
.gap-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.gap-block { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 20px; border-top: 4px solid var(--neutral-300); }
.gap-block h3 { font-size: 1.05rem; margin-bottom: 4px; }
.gap-block .dot-list li { font-size: 0.93rem; }
.gap-works { border-top-color: var(--status-ok); }
.gap-short { border-top-color: var(--brand-gold); }
.gap-prio { border-top-color: var(--teal-deep); }
.gap-empty { color: var(--text-3); }
@media (max-width: 820px) { .gap-blocks { grid-template-columns: 1fr; } }
.gap-table { min-width: 0; }
.gap-table td, .gap-table th { text-align: left; }
.gap-table .rating { letter-spacing: 3px; color: var(--teal-deep); font-size: 0.95rem; white-space: nowrap; }
.gap-table .gap-num { font-weight: 700; text-align: center; }
.gap-table tr.gap-top th { color: var(--teal-deep); }
@media (max-width: 480px) { .gap-table .rating { letter-spacing: 1px; font-size: 0.85rem; } }

/* Tax Reporting Check: sub-question lines, the three-up timeline inputs and
   the close timeline. (Re-added 2026-10-04: the first append never ran.) */
.ck-sub { font-size: 0.9rem; color: var(--text-2); margin: 0 0 6px; }
.form-row.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .form-row.row-3 { grid-template-columns: 1fr; } }
.tl-row { display: grid; grid-template-columns: 220px 1fr 72px; gap: 12px; align-items: center; margin: 10px 0; }
.tl-label { font-size: 0.95rem; color: var(--text); }
.tl-meter { width: 100%; height: 12px; }
.tl-days { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .tl-row { grid-template-columns: 1fr 60px; } .tl-label { grid-column: 1 / -1; } }
.gap-block .dot-list { margin: 8px 0 0; }
.gap-block .dot-list > li { margin: 6px 0; }

/* ── Review round two (Rajesh, 2026-10-04) ────────────────────────────── */
/* Homepage team cards: photo, name, LinkedIn and bio on shared rows, so both
   names and both bios start at the same height. */
.team-cards--aligned { grid-template-rows: auto auto auto; }
.team-cards--aligned .team-card {
  display: grid; grid-template-columns: 84px 1fr; grid-template-rows: subgrid; grid-row: span 3;
  column-gap: 18px; row-gap: 4px; align-items: start;
}
.team-cards--aligned .team-card img { grid-row: 1 / span 3; }
.team-cards--aligned .team-card h3 { margin: 0; align-self: end; }
.team-cards--aligned .team-card .team-links { margin: 0; font-weight: 600; font-size: 0.9rem; }
.team-cards--aligned .team-card .team-bio { margin: 6px 0 0; }

/* About: one profile per person, identity left and detail right. */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--border-2); }
.profile:first-of-type { border-top: 0; padding-top: 8px; }
.profile-id img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.profile-id h3 { font-size: 1.35rem; margin-bottom: 4px; }
.profile-id .team-links { font-weight: 600; font-size: 0.92rem; margin: 0; }
.profile-body p { margin: 0 0 14px; }
@media (max-width: 720px) { .profile { grid-template-columns: 1fr; gap: 12px; } }

/* Lists: teal dots and ticks that start on the text edge, not indented. */
.prose ul, .dot-list, .check-list { list-style: none; padding-left: 0; margin: 12px 0; }
.prose ul > li, .dot-list > li, .check-list > li { position: relative; padding-left: 1.6em; margin: 8px 0; line-height: 1.55; color: var(--text-2); }
.prose ul > li::before, .dot-list > li::before {
  content: ""; position: absolute; left: 0.25em; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-deep);
}
.check-list > li::before {
  content: ""; position: absolute; left: 0.2em; top: 0.35em; width: 6px; height: 11px;
  border-right: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(45deg);
}
.dot-list b, .check-list b { color: var(--text); }
.prose ul.link-list, .link-list { list-style: none; padding: 0; margin: 12px 0; }
.prose ul.link-list > li, .link-list > li { padding: 10px 0; border-bottom: 1px solid var(--border-2); color: var(--text-2); margin: 0; }
.prose ul.link-list > li::before, .link-list > li::before { content: none; }
.prose ul.link-list > li:first-child, .link-list > li:first-child { border-top: 1px solid var(--border-2); }

/* Services: numbered overview and labelled blocks per service. */
.step-dots { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.step-dots a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--border-2); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.step-dots a span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-deep); color: #fff; font-size: 0.78rem; }
.step-dots a:hover { border-color: var(--teal-deep); }
.service-body { display: grid; gap: 18px; }
.svc-block h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-gold-dk); font-weight: 700; margin: 0 0 6px; }
.svc-block p { margin: 0 0 8px; }
.svc-links { font-weight: 600; margin: 0; }
.svc-note { margin: 0; }

/* Homepage: one tax position, four languages. */
.hub { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "cfo center legal" "treasury center finance"; gap: 20px; align-items: stretch; }
.hub-cfo { grid-area: cfo; }
.hub-legal { grid-area: legal; }
.hub-treasury { grid-area: treasury; }
.hub-finance { grid-area: finance; }
.hub-center { grid-area: center; align-self: center; width: 170px; height: 170px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-content: center; text-align: center; padding: 16px; box-shadow: 0 8px 24px rgba(31, 122, 112, 0.25); }
.hub-center span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.hub-center small { font-size: 0.8rem; opacity: 0.9; margin-top: 4px; }
.hub-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.hub-who { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--brand-primary); }
.hub-lens { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-dk); font-weight: 700; margin: 6px 0 8px; }
.hub-card p { margin: 0; font-size: 0.97rem; }
@media (max-width: 820px) {
  .hub { grid-template-columns: 1fr; grid-template-areas: "center" "cfo" "legal" "treasury" "finance"; }
  .hub-center { justify-self: center; width: 150px; height: 150px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hub-card { transition: translate 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
  .hub-card:hover { translate: 0 -4px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); border-color: var(--teal-deep); }
}

/* Security: document buttons in an even grid. */
.btn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.btn-grid .btn { justify-content: center; text-align: center; }
@media (max-width: 640px) { .btn-grid { grid-template-columns: 1fr; } }

/* ── Cards in the first-call panel and the black box pair (cmo spec, 2026-10-05) ── */
/* 1. Each first-call item is its own translucent card on the teal panel. */
.bar-panel ol { gap: 16px; }
.bar-panel li {
  border-top: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  padding: 28px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bar-panel li:hover { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24); translate: none; }
.bar-panel .num { color: #f0d79a; font-size: 1.75rem; margin-bottom: 8px; }
@media (max-width: 960px) { .bar-panel ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bar-panel ol { grid-template-columns: 1fr; gap: 16px; } .bar-panel li { padding: 22px 20px; } }

/* 2. Black box: a sealed frame in gold. In control: open, with a teal marker.
   Same radius and padding, so the pair mirrors each other. */
.contrast-col { border-radius: 8px; padding: 28px; }
.contrast-before { border: 1px solid var(--brand-gold); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
.contrast-after { border: 1px solid var(--border-2); border-top: 4px solid var(--teal-deep); }

/* 3. A dotted line after every item, keeping the bullets. */
.contrast-col li { padding-bottom: 14px; margin: 0 0 14px; }
.contrast-col li:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.contrast-before li { border-bottom: 1px dotted rgba(184, 150, 62, 0.35); }
.contrast-after li { border-bottom: 1px dotted rgba(31, 122, 112, 0.3); }
.contrast-before li:last-child, .contrast-after li:last-child { border-bottom: 0; }

/* Bullet dots for the pair: gold on the black box, teal on In control. */
.contrast-col ul { list-style: none; padding-left: 0; }
.contrast-col li { position: relative; padding-left: 1.4em; }
.contrast-col li::before { content: ""; position: absolute; left: 0.2em; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; }
.contrast-before li::before { background: var(--brand-gold); }
.contrast-after li::before { background: var(--teal-deep); }

/* Closeout review fixes (2026-10-05). */
/* m-3: the "nothing here" line is not a finding: no bullet, readable grey. */
.gap-block .dot-list > li.gap-empty { padding-left: 0; color: var(--text-2); }
.gap-block .dot-list > li.gap-empty::before { content: none; }
/* m-4: the five-dot ratings no longer push the table sideways on small phones. */
@media (max-width: 400px) { .gap-table .rating { letter-spacing: 0; font-size: 0.78rem; } .gap-table th, .gap-table td { padding: 8px 6px; } }

/* Homepage outcome band: four short points on how we differ. */
.band-points { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
.statement-band .band-points > li { color: rgba(247, 245, 240, 0.85); }
.statement-band .band-points b { color: var(--neutral-50); }
.statement-band .band-points > li::before { background: var(--brand-gold); }
@media (max-width: 720px) { .band-points { grid-template-columns: 1fr; } }
