/* ==========================================================================
   Clearharbour Compliance — Direction C: WARM PROFESSIONAL
   Approachable authority for a care audience. Warm cream ground, sand panels,
   deep pine-teal structure, one clay accent, humanist serif headings,
   generous line height, rounded-but-restrained components.
   Self-contained: no external font, no CDN, no import, no tracker.
   Contrast ratios are recorded in 04-growth/brand/brand-kit.md (Variant C).
   ========================================================================== */

/* -------------------------------------------------------------- 1. Tokens */

:root {
  color-scheme: light;

  --page:    #fdfaf6;   /* warm off-white */
  --card:    #ffffff;
  --sand:    #f3eadf;
  --sand-2:  #eadfd1;

  --teal-900: #0a3a35;
  --teal-800: #0f4e48;   /* primary structure: buttons, links, footer */
  --teal-700: #17635b;
  --teal-100: #d8e6e3;

  --clay-700: #9c4326;   /* accent TEXT on warm ground */
  --clay-500: #b8552f;   /* rules, dots, focus ring */
  --clay-300: #e9a98c;   /* accent on teal ground */
  --clay-50:  #fbeee6;

  --ink:        #35312b;
  --ink-strong: #221f1b;
  --ink-muted:  #5d564d;
  --ink-alert:  #93321f;

  --on-dark:       #f6efe6;
  --on-dark-muted: #b7cbc7;

  --rule:      #e6dcce;
  --rule-2:    #d6c8b5;
  --control:   #8a7f71;    /* form + outlined-button borders, 3.77:1 on page */
  --rule-dark: rgba(246, 239, 230, .2);

  /* Humanist serif for headings; sans for everything you have to read a lot of */
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Optima, "Iowan Old Style", Georgia, "Noto Serif", serif;
  --font-serif-text: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-h1:   clamp(2.05rem, 1.5rem + 2.4vw, 3.15rem);
  --fs-h2:   clamp(1.55rem, 1.28rem + 1.3vw, 2.2rem);
  --fs-h3:   clamp(1.16rem, 1.1rem + .3vw, 1.34rem);
  --fs-lead: clamp(1.12rem, 1.05rem + .36vw, 1.32rem);
  --fs-body: 1.09rem;     /* 17.5px */
  --fs-sm:   .97rem;
  --fs-xs:   .84rem;
  --fs-cap:  .73rem;

  --lh-head: 1.2;
  --lh-snug: 1.55;
  --lh-body: 1.72;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;

  --section-y: clamp(3.5rem, 6vw, 5.75rem);
  --gutter: clamp(1.2rem, 4vw, 2.5rem);
  --w-max: 1480px;
  --w-prose: 78ch;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;

  --shadow-soft: 0 1px 2px rgba(53, 49, 43, .04), 0 10px 24px rgba(53, 49, 43, .05);
  --shadow-lift: 0 2px 6px rgba(53, 49, 43, .06), 0 18px 40px rgba(53, 49, 43, .08);

  --speed: 160ms;
  --ease: cubic-bezier(.25, .7, .3, 1);
}

/* ------------------------------------------------------ 2. Reset and base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -.006em;
  text-wrap: balance;
}
h3, h4 { font-family: var(--font-serif-text); }
h1 { font-size: var(--fs-h1); line-height: 1.14; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color var(--speed) var(--ease); }
a:hover { color: var(--clay-700); }

strong, b { font-weight: 650; color: var(--ink-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button, .button, summary { cursor: pointer; }
hr { height: 0; margin: var(--sp-6) 0; border: 0; border-top: 1px solid var(--rule); }

code {
  padding: .12em .4em;
  background: var(--sand);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--teal-800);
  font-family: var(--font-mono);
  font-size: .84em;
  word-break: break-word;
}

::selection { background: var(--clay-50); color: var(--ink-strong); }
:focus-visible { outline: 3px solid var(--clay-500); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: 6.5rem; }

/* ------------------------------------------------------ 3. Layout skeleton */

.container, .header-inner { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; min-height: 50vh; }

.section { padding-block: var(--section-y); }
.section.compact { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.section.tint { background: var(--sand); }
.section.warm { background: var(--teal-100); }

.section-heading { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-heading > p { max-width: 58ch; margin: var(--sp-4) 0 0; color: var(--ink-muted); font-size: var(--fs-lead); line-height: var(--lh-snug); }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 4.5vw, 4rem); align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

/* Kicker: a clay dot and a friendly small cap. No numbering, no ruling. */
.eyebrow, .kicker, .panel-label, .placeholder-label {
  display: flex; align-items: flex-start; gap: .55em;
  margin: 0 0 var(--sp-3);
  color: var(--clay-700);
  font-family: var(--font-sans);
  font-size: var(--fs-cap); font-weight: 700; letter-spacing: .1em; line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before, .kicker::before, .panel-label::before, .placeholder-label::before {
  content: ""; flex: none;
  width: .5rem; height: .5rem;
  /* Optical centring on the FIRST line, so a label that wraps keeps its dot
     beside the opening word instead of floating to the middle of the block. */
  margin-top: .36em;
  background: var(--clay-500);
  border-radius: 50%;
}

/* ------------------------------------------------------------ 4. Skip link */

.skip-link {
  position: fixed; left: var(--sp-4); top: -6rem; z-index: 90;
  padding: .75rem 1.1rem;
  background: var(--card); color: var(--teal-800);
  border: 2px solid var(--clay-500); border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  font-size: var(--fs-sm); font-weight: 650; text-decoration: none;
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* -------------------------------------------------------------- 5. Topbar */

.topbar {
  padding: .6rem var(--gutter);
  background: var(--teal-800);
  color: var(--on-dark);
  font-size: var(--fs-xs); line-height: 1.55; text-align: center; text-wrap: balance;
}
.topbar strong { color: var(--clay-300); font-weight: 700; }
.topbar a { color: #fff; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: .22em; }
.topbar a:hover { color: var(--clay-300); }
.topbar :focus-visible { outline-color: var(--clay-300); }

/* ------------------------------------------------- 6. Header, brand, nav */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 250, 246, .95); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.3) blur(8px); }
.header-inner { position: relative; display: flex; align-items: center; gap: var(--sp-4); min-height: 78px; max-width: var(--w-max); }

.brand-lockup { display: inline-flex; align-items: center; gap: .75rem; margin-right: auto; color: var(--teal-800); text-decoration: none; }
.brand-lockup:hover { color: var(--teal-700); }
.brand-mark { flex: none; width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: block; min-width: 0; }
.brand-name { display: block; font-family: var(--font-serif); font-size: 1.58rem; font-weight: 700; line-height: 1.08; letter-spacing: -.008em; white-space: nowrap; }
.brand-name .brand-suffix { color: var(--ink-muted); font-weight: 400; }

/* The "we answer" affordance: a visible contact route in the header. */
.header-contact {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 var(--sp-4) 0 0; padding: .45rem .85rem;
  background: var(--clay-50);
  border: 1px solid #efd9c9; border-radius: 999px;
  color: var(--clay-700);
  font-size: var(--fs-xs); font-weight: 650; white-space: nowrap;
}
.header-contact a { color: var(--clay-700); text-decoration: none; }
.header-contact a:hover { text-decoration: underline; }

.menu-toggle {
  display: none; align-items: center; gap: .45rem;
  min-height: 44px; padding: .5rem .9rem;
  background: var(--card); color: var(--teal-800);
  border: 1px solid var(--control); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 650;
}
.menu-toggle:hover { border-color: var(--teal-700); }
.menu-toggle .menu-icon { width: 16px; height: 12px; flex: none; overflow: visible; }
.menu-toggle .menu-icon line { stroke: currentColor; stroke-width: 2; stroke-linecap: round; transform-box: view-box; transform-origin: 8px 6px; transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon .bar-mid { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon .bar-top { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon .bar-bot { transform: translateY(-4.5px) rotate(-45deg); }

.nav-services-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .5rem .8rem;
  border-radius: 999px; color: var(--ink); font-size: var(--fs-sm); font-weight: 550;
  text-decoration: none; white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.nav-services-fallback:hover,
.nav-services-fallback[aria-current="page"] { background: var(--sand); color: var(--teal-800); }
.nav-services-fallback[aria-current="page"] { background: var(--teal-100); color: var(--teal-900); font-weight: 650; }
.site-header[data-nav-enhanced="true"] .nav-services-fallback { display: none; }

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  padding: .5rem .8rem;
  border-radius: 999px;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 550;
  text-decoration: none; white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.site-nav a:not(.button):hover { background: var(--sand); color: var(--teal-800); }
.site-nav a:not(.button)[aria-current="page"] { background: var(--teal-100); color: var(--teal-900); font-weight: 650; }
.site-nav .button { margin-left: .35rem; color: #fff; }

/* ------------------------------------------------------------- 7. Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .72rem 1.5rem;
  background: var(--teal-800); color: #fff;
  border: 1px solid var(--teal-800); border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 650; line-height: 1.25;
  text-align: center; text-decoration: none;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.button:hover { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.button:active { transform: translateY(1px); }
.button.secondary { background: var(--card); color: var(--teal-800); border-color: var(--control); }
.button.secondary:hover { background: var(--sand); color: var(--teal-900); border-color: var(--teal-700); }
.button.small { min-height: 40px; padding: .45rem 1rem; font-size: .89rem; }

/* ---------------------------------------------------------------- 8. Hero */

.hero { padding-block: clamp(2.75rem, 5.5vw, 4.75rem) clamp(2.75rem, 5vw, 4.5rem); background: var(--sand); }
.home-hero .container { max-width: var(--w-max); }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
.home-hero .hero-copy h1 { max-width: 25ch; }
.home-hero .home-services-link {
  max-width: 56ch; margin: var(--sp-3) 0 0;
  color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.hero-copy h1 { max-width: 21ch; }
.hero-copy > p { max-width: 56ch; margin: var(--sp-4) 0 0; color: var(--ink); font-size: var(--fs-lead); line-height: 1.65; }
/* The eyebrow is a <p>, so the lead rule above was capturing it and rendering
   the kicker at lead size. Put it back on the brand-kit caption scale. */
.hero-copy > .eyebrow, .hero-copy > .kicker {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-cap); line-height: 1.4;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
p.hero-actions { margin-bottom: 0; }

.hero-panel {
  align-self: center;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.hero-panel h2 { margin-bottom: var(--sp-3); font-size: 1.3rem; line-height: 1.3; }
.hero-panel p { margin-bottom: var(--sp-3); color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.hero-panel p strong { color: var(--teal-800); }

/* -------------------------------------- 8b. Hero visual: report-card preview
   A stylised preview of the Registration Readiness Scorecard, drawn inline so
   the page stays self-contained. Two sheets, the Clearharbour mark on a teal band, the
   six real dimension names with their RAG dots, and one priority action.
   The caption keeps it honest: worked example, never a client result (D22). */

.hero-visual { min-width: 0; margin: 0; align-self: center; }
.hero-visual .report-card {
  width: 100%; height: auto;
  filter: drop-shadow(0 2px 6px rgba(53, 49, 43, .07)) drop-shadow(0 18px 40px rgba(53, 49, 43, .10));
}
.hero-visual .rc-serif { font-family: var(--font-serif-text); font-weight: 700; }
.hero-visual .rc-sans  { font-family: var(--font-sans); }
.hero-visual figcaption {
  max-width: 42ch; margin: var(--sp-5) auto 0;
  color: var(--ink-muted);
  font-size: var(--fs-xs); line-height: 1.6; text-align: center; text-wrap: balance;
}

/* ---------------------------------------------------- 9. Proof strip: tiles */

.proof-strip { padding-block: var(--sp-6); background: var(--page); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.proof-item {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.proof-item strong { display: block; margin-bottom: .3rem; color: var(--teal-800); font-family: var(--font-serif-text); font-size: 1rem; font-weight: 700; }
.proof-item span { color: var(--ink-muted); }

/* --------------------------------------------------------------- 10. Cards */

/* `.cards` is 4-up by default; `.cards.four` in the markup is a no-op label.
   Do not give it its own rule - it would outrank the responsive collapse below. */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 2.2vw, 1.7rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.card:hover { border-color: var(--rule-2); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { margin-bottom: var(--sp-3); color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.card .price {
  margin: auto 0 var(--sp-3); padding-top: var(--sp-3);
  color: var(--teal-800); font-size: 1.05rem; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.card .card-link {
  display: flex; align-items: center; min-height: 44px;
  margin-top: auto; padding-top: var(--sp-3);
  border-top: 1px solid var(--rule);
  color: var(--clay-700); font-size: var(--fs-sm); font-weight: 650; text-decoration: none;
}
.card .price + .card-link { margin-top: 0; }
.card .card-link:hover { text-decoration: underline; }
.section.tint .card, .section.warm .card { background: var(--card); }

/* -------------------------------------------- 10b. Disclosure cards (FAQ)
   The FAQ is 32 <details> rows and had no styling: the default marker was
   being dropped by the .card flex context, the hit area was 30px, and the
   answers rendered at label size in muted grey. Give the question a real
   44px row with its own chevron, and let the answer read as body copy. */

details.card { display: block; padding: 0; }
details.card:hover { transform: none; box-shadow: none; border-color: var(--rule-2); }
details.card[open] { border-color: var(--rule-2); box-shadow: var(--shadow-soft); }

details.card > summary {
  display: flex; align-items: flex-start; gap: .75rem;
  min-height: 44px;
  padding: clamp(.9rem, 1.6vw, 1.15rem) clamp(1rem, 1.9vw, 1.35rem);
  color: var(--ink-strong);
  font-size: var(--fs-body); line-height: var(--lh-snug);
  list-style: none;
  transition: color var(--speed) var(--ease);
}
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::marker { content: ""; }
details.card > summary strong { font-weight: 650; }
details.card > summary:hover { color: var(--teal-800); }
details.card > summary::after {
  content: ""; flex: none; order: 2; margin: .34em 0 0 auto;
  width: .6rem; height: .6rem;
  border-right: 2px solid var(--teal-800); border-bottom: 2px solid var(--teal-800);
  transform: rotate(45deg);
  transition: transform var(--speed) var(--ease);
}
details.card[open] > summary::after { transform: rotate(-135deg); }
details.card > summary:focus-visible { outline: 3px solid var(--clay-500); outline-offset: -3px; border-radius: var(--r-md); }

details.card > *:not(summary) {
  margin: 0;
  padding: 0 clamp(1rem, 1.9vw, 1.35rem) clamp(1rem, 1.9vw, 1.35rem);
}
details.card > p:not(summary) {
  color: var(--ink); font-size: var(--fs-body); line-height: var(--lh-body);
  max-width: 68ch;
}

/* -------------------------------------------------------- 11. Process steps */

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); counter-reset: process; }
.process-step {
  position: relative;
  padding: var(--sp-5) var(--sp-4) var(--sp-5);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  counter-increment: process;
}
.process-step::before {
  content: counter(process);
  display: flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; margin-bottom: var(--sp-4);
  background: var(--teal-100); border-radius: 50%;
  color: var(--teal-900);
  font-family: var(--font-serif); font-size: 1.02rem; font-weight: 700; line-height: 1;
}
.process-step h3 { font-size: 1.06rem; }
.process-step p { margin: var(--sp-2) 0 0; color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.section.warm .process-step { background: var(--card); }

/* ---------------------------------------------------------------- 12. Lists */

.plain-list, .check-list { margin: 0; padding: 0; list-style: none; }
.plain-list li, .check-list li { position: relative; padding: .8rem 0 .8rem 1.85rem; border-bottom: 1px solid var(--rule); line-height: var(--lh-snug); }
.plain-list li:last-child, .check-list li:last-child { border-bottom: 0; }
.plain-list li::before {
  content: ""; position: absolute; left: .2rem; top: 1.5em;
  width: .48rem; height: .48rem; background: var(--clay-500); border-radius: 50%;
}
/* A soft open bracket, not a tick. */
.check-list li::before {
  content: ""; position: absolute; left: .1rem; top: 1.35em;
  width: .72rem; height: .72rem;
  border-left: 2px solid var(--teal-800); border-bottom: 2px solid var(--teal-800);
  border-bottom-left-radius: 5px;
}
.section.warm .plain-list li, .section.warm .check-list li { border-bottom-color: #c6dbd7; }
.small-copy { max-width: 72ch; margin-top: var(--sp-5); color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
/* Consecutive notes read as one block, not as four competing asides
   (the scorecard hero stacks four of them under the call to action). */
.small-copy + .small-copy { margin-top: var(--sp-3); }

/* ------------------------------------------------------------- 13. Callouts */

.callout {
  padding: clamp(1.35rem, 2.5vw, 2.1rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
/* A standalone callout also carries the shared container class. Keep its
   painted edge on the same content line as peer cards while preserving the
   callout's existing inner padding and mobile width. */
.container.callout {
  width: calc(100% - var(--gutter) - var(--gutter));
  max-width: calc(var(--w-max) - var(--gutter) - var(--gutter));
  padding-inline: clamp(1.35rem, 2.5vw, 2.1rem);
}
/* A callout used as a full-width plate must not let its copy run the whole
   1120px container: 110ch is unreadable for the 45-65 audience. Cap the text,
   not the plate, so the panel keeps its alignment with the sections around it. */
.callout > p, .callout > ul, .callout > ol, .callout > .small-copy, .callout > .source-note { max-width: 68ch; }
/* Callout headings render at one size whether the page used h2 or h3. */
.callout h2, .callout h3 { margin-bottom: var(--sp-3); font-size: clamp(1.22rem, 1.05rem + .75vw, 1.55rem); }
.callout .hero-actions, .callout p + .button { margin-top: var(--sp-5); }
.callout .source-note { margin-top: var(--sp-4); }
.callout.warning { background: var(--clay-50); border-color: #efd9c9; box-shadow: none; }
.fees-panel { margin-top: var(--sp-6); }
.section.tint .callout { background: var(--card); }
.section.warm .callout { background: var(--card); border-color: #c6dbd7; }
.section.warm .callout.warning { background: var(--clay-50); border-color: #efd9c9; }

/* ---------------------------------------------------------- 14. Source notes */

.source-note { margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--rule); color: var(--ink-muted); font-size: var(--fs-xs); line-height: 1.6; }
.source-note strong { color: var(--teal-800); }
.section.warm .source-note { border-top-color: #c6dbd7; }

/* --------------------------------------------------------------- 15. Tables */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  overflow: hidden;
  font-size: var(--fs-sm);
}
.price-table caption { caption-side: top; text-align: left; }
.price-table th, .price-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; line-height: var(--lh-snug); }
.price-table thead th {
  background: var(--teal-100); color: var(--teal-900); border-bottom: 1px solid #c6dbd7;
  font-family: var(--font-sans); font-size: var(--fs-cap); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:last-child, .price-table thead th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table td:last-child { color: var(--teal-800); font-weight: 700; }
.price-table td strong { color: var(--ink-strong); }

/* Registration fees: cards keep the audit boundary, preparation work and split
   visible at normal reading size, then stack cleanly on narrow screens. */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.65rem);
  margin-top: var(--sp-5);
}
.fee-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.2rem, 2.2vw, 1.65rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}
.fee-card p { margin: 0; }
.fee-pathway {
  margin-bottom: var(--sp-3) !important;
  color: var(--teal-800);
  font-family: var(--font-serif-text);
  font-size: clamp(1.18rem, 1rem + .45vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
}
.fee-route, .fee-preparation {
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}
.fee-preparation { margin-top: var(--sp-3) !important; }
.fee-route strong, .fee-preparation strong { color: var(--ink-strong); }
.fee-total {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
}
.fee-total-label {
  color: var(--ink-muted);
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fee-total-amount {
  margin-top: .25rem !important;
  color: var(--teal-800);
  font-size: clamp(1.55rem, 1.25rem + .8vw, 2.05rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.fee-total-amount span { color: var(--ink-muted); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; }
.fee-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: var(--sp-4) 0 0;
}
.fee-split div { min-width: 0; padding: .7rem .75rem; background: var(--sand); border-radius: var(--r-sm); }
.fee-split dt { color: var(--ink-muted); font-size: var(--fs-xs); line-height: 1.35; }
.fee-split dd { margin: .3rem 0 0; color: var(--ink-strong); font-size: 1rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.fee-auditor-callout {
  margin-top: var(--sp-5);
  padding: clamp(1rem, 2vw, 1.35rem);
  background: var(--sand);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--clay-500);
  border-radius: var(--r-md);
}
.fee-auditor-callout h3 { margin-bottom: var(--sp-2); font-size: 1.08rem; }
.fee-auditor-callout p { max-width: 72ch; margin: 0; color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.fee-auditor-callout a { color: var(--teal-800); font-weight: 650; }

/* Report tables (the sample scorecard) reuse the price-table shell but are data
   tables, not price lists: the last column carries a full sentence, not a price.
   Force a fixed layout so long cells WRAP inside the container instead of pushing
   the table wider than its wrap and triggering a horizontal scroll at desktop width. */
.report-table { table-layout: fixed; }
.report-table th:first-child { width: 32%; }
.report-table th:nth-child(2):not(:last-child) { width: 15%; }
.report-table td, .report-table th { white-space: normal; overflow-wrap: break-word; }
.report-table td:last-child, .report-table thead th:last-child { text-align: left; white-space: normal; font-variant-numeric: normal; }
.report-table td:last-child { color: var(--ink); font-weight: 400; }

/* --------------------------------------------------------- 16. Long-form */

.article { max-width: var(--w-prose); margin-inline: auto; }
.article h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.article h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.article ul, .article ol { padding-left: 1.35rem; }
.article-meta { margin: 0 0 var(--sp-6); color: var(--ink-muted); font-size: var(--fs-sm); }
.content-prose { max-width: var(--w-prose); margin-inline: auto; }
.content-prose h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.content-prose h2:first-child { margin-top: 0; }
.breadcrumb { margin: 0 0 var(--sp-4); font-size: var(--fs-xs); }
.breadcrumb a { color: var(--ink-muted); }
.page-jumps { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin: var(--sp-5) 0 var(--sp-6); font-size: var(--fs-sm); }
.page-jumps a { text-decoration: underline; text-underline-offset: .18em; }
.source-list { margin-top: var(--sp-7); padding: var(--sp-4) clamp(1rem, 2.5vw, 1.5rem); background: var(--sand); border: 1px solid var(--rule); border-radius: var(--r-md); }
.source-list h2 { margin: 0 0 var(--sp-3); padding: 0; border: 0; font-size: 1.25rem; }
.source-list p { max-width: 78ch; color: var(--ink-muted); font-size: var(--fs-sm); }
.source-list ul { margin: 0; padding-left: 1.25rem; }
.source-list li { margin: .45rem 0; color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.source-list a { color: var(--teal-800); }
.article > .source-list + .callout { margin-top: var(--sp-6); }
.article .callout > h2:first-child, .content-prose .callout > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.radar-issue {
  max-width: 51rem; margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.radar-issue > .kicker { margin-bottom: var(--sp-4); }
.radar-issue h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--rule); font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.radar-issue h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.radar-issue h3 { margin-top: var(--sp-5); }
.radar-issue p, .radar-issue ul, .radar-issue ol { margin-bottom: var(--sp-4); }
.radar-issue ol { padding-left: 1.4rem; }
.radar-issue ol li { margin: .6rem 0; }
.radar-issue table { width: 100%; margin: var(--sp-4) 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; font-size: var(--fs-sm); }
.radar-issue th, .radar-issue td { padding: .85rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; line-height: var(--lh-snug); }
.radar-issue thead th { background: var(--teal-100); color: var(--teal-900); font-size: var(--fs-cap); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.radar-issue tbody tr:last-child td { border-bottom: 0; }
.radar-issue .callout { margin-top: var(--sp-6); }
.sample-scorecard { max-width: 70rem; }
.sample-scorecard > h2,
.sample-scorecard > p,
.sample-scorecard > ul,
.sample-scorecard > ol,
.sample-scorecard > .status-key { max-width: 78ch; }
.sample-scorecard .report-table { table-layout: fixed; }
.sample-scorecard .report-table th,
.sample-scorecard .report-table td { overflow-wrap: normal; word-break: normal; }
.sample-scorecard .report-context th:first-child { width: 28%; }
.sample-scorecard .report-context th:nth-child(2) { width: 72%; }
.sample-scorecard .report-context td:first-child { color: var(--ink-strong); font-weight: 650; }
.sample-scorecard .report-table:not(.report-context) th:first-child { width: 30%; }
.sample-scorecard .report-table:not(.report-context) th:nth-child(2) { width: 18%; }
.sample-scorecard .report-table:not(.report-context) th:nth-child(3) { width: 52%; }
.sample-scorecard .status-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .3rem .65rem;
  border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700;
  line-height: 1.2; white-space: nowrap;
}
.sample-scorecard .status-red { color: #8f2a15; background: #f8e3dd; border-color: #e9b7a6; }
.sample-scorecard .status-amber { color: #7d5410; background: #f9edd7; border-color: #e7cf9b; }
.sample-scorecard .status-green { color: #1f6348; background: #e7f3eb; border-color: #b6d8c2; }
.sample-scorecard h2 > .status-badge {
  margin-left: .45rem; vertical-align: .12em;
  font-size: .52em; letter-spacing: 0; font-weight: 700;
}
.sample-scorecard .status-key {
  margin: var(--sp-5) 0; padding: var(--sp-4);
  background: var(--sand); border: 1px solid var(--rule); border-radius: var(--r-md);
}
.sample-scorecard .status-key > p:first-child { margin-bottom: var(--sp-3); }
.sample-scorecard .status-key-list {
  display: grid; gap: var(--sp-3);
  margin: 0 0 var(--sp-4); padding: 0; list-style: none;
}
.sample-scorecard .status-key-list li {
  display: grid; grid-template-columns: max-content 1fr;
  gap: .7rem; align-items: start; margin: 0;
}
.sample-scorecard .status-key-list li > span:last-child { color: var(--ink-muted); }


/* ---------------------------------------------------------------- 17. Forms */

.form-shell {
  padding: clamp(1.3rem, 3.5vw, 2.6rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
fieldset { min-width: 0; margin: 0 0 var(--sp-7); padding: 0; border: 0; }
fieldset:last-of-type { margin-bottom: var(--sp-5); }
legend {
  width: 100%; margin-bottom: var(--sp-4); padding: 0 0 var(--sp-3);
  border-bottom: 1px solid var(--rule);
  color: var(--teal-900);
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700;
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field input + input, .field select + input { margin-top: .45rem; }

label, .field-label { color: var(--ink-strong); font-size: var(--fs-sm); font-weight: 650; line-height: 1.4; }
.required { color: var(--ink-alert); }

input, select, textarea {
  width: 100%; min-width: 0; max-width: 100%; min-height: 48px;
  padding: .65rem .8rem;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--control); border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
input::placeholder, textarea::placeholder { color: #6f665a; }
input:hover, select:hover, textarea:hover { border-color: var(--teal-700); }
input:focus, select:focus, textarea:focus { border-color: var(--teal-800); box-shadow: 0 0 0 3px rgba(15, 78, 72, .14); }
input[type="file"] { padding: .55rem .65rem; }
select[multiple] { min-height: 9.5rem; padding: .4rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .45rem 1rem; padding: .2rem 0; }
.check { display: flex; align-items: flex-start; gap: .55rem; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input[type="checkbox"] { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--accent, #0f4c5c); }
.field-hint.form-error { color: #9b1c1c; }
textarea { min-height: 8rem; resize: vertical; line-height: var(--lh-snug); }
input[type="checkbox"] { width: 1.2rem; min-height: 0; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--teal-800); }

.checkbox-row { display: flex; align-items: flex-start; gap: .7rem; padding: .85rem .95rem; background: var(--sand); border: 1px solid var(--rule); border-radius: var(--r-sm); font-weight: 400; }
.checkbox-row:hover { border-color: var(--rule-2); }
.checkbox-row span { font-size: var(--fs-sm); line-height: var(--lh-snug); }

.field-hint, .form-note { margin: 0; color: var(--ink-muted); font-size: var(--fs-xs); line-height: 1.6; }
.form-note { margin-bottom: var(--sp-6); padding: .9rem 1.1rem; background: var(--clay-50); border: 1px solid #efd9c9; border-radius: var(--r-sm); color: var(--ink); font-size: var(--fs-sm); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--rule); }
.form-status { min-height: 1.5rem; color: var(--teal-800); font-size: var(--fs-sm); font-weight: 650; }
.form-error { color: var(--ink-alert); font-weight: 650; }
.form-shell .callout { margin-top: var(--sp-6); }

.embed-placeholder { padding: clamp(1.3rem, 2.6vw, 1.9rem); background: var(--sand); border: 2px dashed var(--control); border-radius: var(--r-lg); }
.embed-placeholder p { margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.embed-placeholder .button { margin-top: var(--sp-2); }

/* --------------------------------------------------------------- 18. Footer */

.footer { padding-block: clamp(2.75rem, 5vw, 4rem) var(--sp-5); background: var(--teal-800); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer a { color: var(--on-dark); text-decoration-color: rgba(246,239,230,.4); }
.footer a:hover { color: var(--clay-300); }
.footer :focus-visible { outline-color: var(--clay-300); }
.footer-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(1.75rem, 4vw, 3rem); }
.footer h2 { margin-bottom: var(--sp-4); color: var(--on-dark); font-family: var(--font-serif); font-size: 1.18rem; }
.footer p { margin-bottom: var(--sp-4); line-height: 1.68; }
.footer-boundary {
  align-self: start;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-md);
}
.footer-boundary p { font-size: var(--fs-xs); line-height: 1.72; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: var(--sp-4); color: var(--on-dark); font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; }
.footer-brand .brand-mark { width: 44px; height: 44px; object-fit: contain; }
.footer-brand .brand-name { display: inline; font-size: inherit; line-height: inherit; letter-spacing: inherit; white-space: normal; }
.footer-brand .brand-suffix { color: var(--on-dark); font-weight: 400; }
.footer-contact { margin-top: var(--sp-4); }
.footer-index { margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.footer-index li { padding: .34rem 0; }
.footer-index a { text-decoration: none; }
.footer-index a:hover { text-decoration: underline; }
.footer-small { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--rule-dark); color: var(--on-dark-muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ 19. Utilities */

.hide { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ----------------------------------------------------------- 20. Responsive */

@media (max-width: 1680px) {
  .header-contact { display: none; }
}

@media (max-width: 1060px) {
  .cards, .process, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-copy h1 { max-width: none; }
  .home-hero .hero-grid { grid-template-columns: 1fr; }
  .home-hero .hero-copy h1 { max-width: none; }

  .hero-visual { width: 100%; max-width: 420px; margin-inline: auto; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1420px) {
  .header-inner { min-height: 68px; }
  .site-header[data-nav-enhanced="true"] .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .5rem);
    z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: .2rem;
    padding: var(--sp-3);
    background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md);
    box-shadow: var(--shadow-lift);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { padding: .8rem .9rem; border-radius: var(--r-sm); font-size: 1rem; }
  .site-nav .button { margin: var(--sp-2) 0 0; }
}

@media (max-width: 1240px) {

  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table thead { display: none; }
  .price-table { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .price-table tr { margin-bottom: var(--sp-4); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
  .price-table td { padding: .85rem 1.05rem; border-bottom: 1px solid var(--rule); }
  .price-table tr td:last-child { border-bottom: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .price-table td::before {
    content: attr(data-label); display: block; margin-bottom: .2rem;
    color: var(--ink-muted); font-size: var(--fs-cap); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
  }
  .price-table td:not([data-label])::before { display: none; }
  .radar-issue table { display: block; overflow-x: auto; }
  .radar-issue .radar-deadlines,
  .radar-issue .radar-deadlines tbody,
  .radar-issue .radar-deadlines tr,
  .radar-issue .radar-deadlines td { display: block; width: 100%; }
  .radar-issue .radar-deadlines { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .radar-issue .radar-deadlines thead { display: none; }
  .radar-issue .radar-deadlines tr { margin-bottom: var(--sp-4); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
  .radar-issue .radar-deadlines td { padding: .85rem 1.05rem; border-bottom: 1px solid var(--rule); }
  .radar-issue .radar-deadlines tr td:last-child { border-bottom: 0; }
  .radar-issue .radar-deadlines td::before {
    content: attr(data-label); display: block; margin-bottom: .2rem;
    color: var(--ink-muted); font-size: var(--fs-cap); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
  }
  .sample-scorecard .report-context td::before { display: none; }
  .sample-scorecard .report-context td:first-child { padding-bottom: .35rem; }
  .sample-scorecard .report-context td:last-child { padding-top: .35rem; }

}

@media (max-width: 560px) {
  .cards, .cards.three, .cards.two, .process, .proof-grid { grid-template-columns: 1fr; }
  .hero-actions, .form-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .form-actions .button { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.3rem; line-height: 1.16; white-space: normal; }
  .brand-name .brand-suffix { display: block; font-size: .9em; }
  .form-status { text-align: center; }
  .sample-scorecard .status-key-list li { grid-template-columns: 1fr; gap: .35rem; }
  .sample-scorecard .status-key-list li > .status-badge { justify-self: start; }
}

@media (max-width: 360px) {
  .header-inner { gap: .5rem; }
  .brand-lockup { gap: .5rem; }
  .brand-lockup .brand-name { font-size: 1.125rem; }
}
/* ----------------------------------------------------------- 21. Motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}

/* ------------------------------------------------------------- 22. Print */

@media print {
  :root {
    --section-y: 1.2rem; --gutter: 0;
    --page: #fff; --card: #fff; --sand: #fff; --sand-2: #fff; --teal-100: #fff;
    --ink: #000; --ink-strong: #000; --ink-muted: #333;
    --teal-800: #000; --teal-900: #000; --clay-500: #555; --clay-700: #444; --clay-50: #fff;
    --on-dark: #000; --on-dark-muted: #333;
    --rule: #999; --rule-2: #666; --control: #444; --rule-dark: #999;
    --shadow-soft: none; --shadow-lift: none;
  }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .topbar, .site-header, .skip-link, .hero-actions, .hero-visual, .form-shell, .embed-placeholder, .menu-toggle, .button, .card-link { display: none !important; }
  .hero, .section, .section.tint, .section.warm, .proof-strip { padding-block: .9rem; background: #fff !important; border: 0; border-top: 1px solid #999; }
  .hero-grid, .split, .split.reverse, .cards, .cards.three, .process, .footer-grid, .proof-grid { display: block; }
  h1 { font-size: 20pt; } h2 { font-size: 15pt; } h3 { font-size: 12pt; }
  .card, .process-step, .hero-panel, .callout, .radar-issue, .proof-item { margin-bottom: .6rem; background: #fff; border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  /* A closed <details> prints as a bare question; force every FAQ answer open. */
  details.card > *:not(summary) { display: block !important; padding: 0 .5rem .5rem; }
  details.card > summary { padding: .5rem .5rem 0; font-weight: 650; }
  details.card > summary::after { display: none; }
  .price-table { border: 1px solid #666; font-size: 10pt; }
  .price-table thead th { background: #eee !important; color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .source-note a::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
  .footer { padding-block: .8rem 0; background: #fff !important; border-top: 2px solid #000; color: #000; font-size: 9pt; break-inside: avoid; }
  .footer h2, .footer .footer-brand, .footer p, .footer-small, .footer-index { color: #000; }
  .footer-boundary { background: #fff; border: 1px solid #999; }
  .footer a { color: #000 !important; text-decoration-color: #000 !important; }
  .footer .footer-brand .brand-mark { display: none; }
  .footer-small { margin-top: .6rem; border-top: 1px solid #999; color: #000; }
}

#quick-enquiry { margin-bottom: 1.5rem; }
#quick-enquiry textarea { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line, #cfd6dc); border-radius: 6px; resize: vertical; }


/* D35 integrated wordmark header application */
.brand-wordmark { display: block; flex: none; width: 300px; height: auto; aspect-ratio: 1600 / 386; object-fit: contain; }
.site-header .header-inner { padding-block: 12px; }
@media (max-width: 1420px) {
  .brand-wordmark { width: min(280px, calc(100vw - 128px)); }
  .site-header .header-inner { padding-block: 10px; }
}
@media (max-width: 560px) {
  .brand-wordmark { width: clamp(210px, calc(100vw - 112px), 260px); }
  .site-header .header-inner { padding-block: 8px; gap: 8px; }
  .site-header .menu-toggle { width: 44px; min-width: 44px; min-height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px; font-size: 10px; line-height: 1.1; }
  .site-header:not([data-nav-enhanced="true"]) .brand-wordmark { width: clamp(160px, calc(100vw - 152px), 210px); }
  .site-header:not([data-nav-enhanced="true"]) .nav-services-fallback { padding-inline: .55rem; font-size: var(--fs-xs); }
}

/* ------------------------------------------------------ 23. Service disclosure */

.nav-disclosure { position: relative; }
.nav-disclosure-toggle {
  display: none; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: .5rem .8rem;
  background: transparent; border: 0; border-radius: 999px;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 550;
  line-height: 1.25; white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.site-header[data-nav-enhanced="true"] .nav-disclosure-toggle { display: inline-flex; }
.nav-disclosure-toggle:hover,
.nav-disclosure.is-current .nav-disclosure-toggle { background: var(--sand); color: var(--teal-800); }
.nav-disclosure.is-current .nav-disclosure-toggle { background: var(--teal-100); color: var(--teal-900); font-weight: 650; }
.nav-caret {
  width: .52rem; height: .52rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg);
  transition: transform var(--speed) var(--ease);
}
.nav-disclosure.is-open .nav-caret { transform: translateY(.12rem) rotate(225deg); }
.nav-disclosure-panel {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 65;
  min-width: 18rem; max-width: min(28rem, calc(100vw - (2 * var(--gutter))));
  padding: .5rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
}
.nav-disclosure-panel[hidden] { display: none; }
.nav-disclosure-list { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.nav-disclosure-list a {
  display: flex; align-items: center; min-height: 44px; padding: .65rem .8rem;
  border-radius: var(--r-sm); white-space: normal;
}
.nav-disclosure-list a:hover,
.nav-disclosure-list a[aria-current="page"] { background: var(--sand); color: var(--teal-800); }
.nav-disclosure-list a[aria-current="page"] { background: var(--teal-100); color: var(--teal-900); font-weight: 650; }

/* ------------------------------------------------------- 24. Panel layouts */

.callout-layout {
  display: grid;
  grid-template-columns: minmax(11rem, .72fr) minmax(0, 1.68fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}
.callout-heading h2, .callout-heading h3 { margin-bottom: 0; }
.callout-content { max-width: 68ch; }
.callout-content > :first-child { margin-top: 0; }
.callout-content > :last-child { margin-bottom: 0; }
.callout-content .hero-actions { margin-top: var(--sp-5); }

.fees-panel-heading h3 { margin-bottom: 0; }
.fees-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: var(--sp-5);
}
.fee-column {
  min-width: 0; padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--rule);
}
.fee-column:first-child { padding-left: 0; border-left: 0; }
.fee-column h4 { margin-bottom: var(--sp-2); font-size: 1.08rem; }
.fee-column p { margin-bottom: var(--sp-3); }
.fee-column .card-link { display: inline-block; margin-top: .15rem; }
.fees-panel-note { margin: var(--sp-5) 0 0; max-width: 68ch; color: var(--ink-muted); font-size: var(--fs-sm); }

.tier-definitions {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.tier-definitions h3 { margin-bottom: var(--sp-4); }
.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4) clamp(1rem, 3vw, 2.5rem);
  margin: 0;
}
.definition-grid > div { padding: var(--sp-4); background: var(--sand); border: 1px solid var(--rule); border-radius: var(--r-md); }
.definition-grid dt { color: var(--teal-800); font-family: var(--font-serif-text); font-weight: 700; }
.definition-grid dd { margin: .35rem 0 0; color: var(--ink-muted); font-size: var(--fs-sm); line-height: var(--lh-snug); }

@media (max-width: 1420px) {
  .site-nav {
    max-height: calc(100vh - 10rem); max-height: calc(100dvh - 10rem);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-disclosure { width: 100%; }
  .nav-disclosure-toggle { width: 100%; justify-content: space-between; border-radius: var(--r-sm); text-align: left; font-size: 1rem; }
  .nav-disclosure-panel {
    position: static; min-width: 0; max-width: none;
    margin: .25rem 0 .2rem; padding: .25rem 0 .25rem 1rem;
    border: 0; border-left: 2px solid var(--teal-100);
    border-radius: 0; box-shadow: none;
  }
  .nav-disclosure-list a { padding: .7rem .9rem; }
}

@media (max-width: 900px) {
  .callout-layout { grid-template-columns: 1fr; gap: var(--sp-5); }
  .fee-grid { grid-template-columns: 1fr; }
  .fee-split { gap: .55rem; }
  .fees-columns { grid-template-columns: 1fr; gap: 0; }
  .fee-column, .fee-column:first-child {
    padding: var(--sp-4) 0 0; border: 0; border-top: 1px solid var(--rule);
  }
  .fee-column:first-child { padding-top: 0; border-top: 0; }
  .definition-grid { grid-template-columns: 1fr; }
}
