/* The Consultant — site styles. Tokens follow design.md §3. */

/* Fonts are declared in fonts.css (embedded, so they also load when the site is opened from disk). */

:root {
  --ink: #1B2A27;
  --ink-muted: #5B6B66;
  --primary: #0F5C4A;
  --primary-hover: #0B4A3B;
  --deep: #0F3D33;
  --mid: #237A60;
  --sage: #A9CDBF;
  --on-deep-muted: #BCD6CC;
  --mint: #EEF4F1;
  --gold: #C9A227;
  --gold-text: #8A6A0F;
  --cream: #F3EACB;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --border: #DCE6E1;
  --border-on-deep: rgba(255, 255, 255, 0.14);
  --focus: #C9A227;

  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --shadow-float: 0 8px 24px rgba(15, 61, 51, 0.10);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --header-h: 72px;
  --gutter: 16px;
  --section-y: 64px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 768px) { :root { --section-y: 96px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --section-y: 128px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-float); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon--lg { width: 24px; height: 24px; }

.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }

/* ---------- Type ---------- */

.display, .h1, .h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; }
.display { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); line-height: 1.05; }
.h1 { font-size: clamp(2rem, 3vw + 1rem, 3.25rem); line-height: 1.1; }
.h2 { font-size: clamp(1.625rem, 2vw + 0.75rem, 2.25rem); line-height: 1.2; }
.h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-muted); max-width: 62ch; }
.small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: var(--ink-muted); }
.prose p { max-width: 68ch; }
.prose p + p { margin-top: 1em; }

.eyebrow {
  display: block; font-size: 0.75rem; line-height: 1.2; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text);
}
.on-deep .eyebrow, .eyebrow--on-deep { color: var(--gold); }

.price { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.num, .tnum { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D6B23E; color: var(--ink); }
.btn--secondary { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--secondary:hover { background: var(--mint); color: var(--primary-hover); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-deep .link-arrow { color: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.has-dark-hero .site-header { background: var(--deep); color: #fff; border-bottom-color: transparent; }
.site-header.is-scrolled,
.has-dark-hero .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94); color: var(--ink); border-bottom-color: var(--border);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
/* Logo files are ink-coloured PNGs; a filter turns them white on the dark green. */
.brand__mark, .brand__word, .logo-stacked { display: block; transition: filter .3s var(--ease); }
.brand__mark { width: 43px; height: 32px; }
.brand__word { width: 152px; height: 9px; }
.logo-stacked { width: 120px; height: 103px; }
.hero__mark, .page-hero__mark { background: url("../img/logo/logo-mark.png") center / contain no-repeat; }
.has-dark-hero .site-header:not(.is-scrolled) .brand img,
.site-footer .logo-stacked, .hero__mark, .page-hero__mark { filter: brightness(0) invert(1); }
@media (min-width: 1024px) {
  .brand__mark { width: 54px; height: 40px; }
  .brand__word { width: 202px; height: 12px; }
}
@media (max-width: 374px) {
  .brand { gap: 8px; }
  .brand__word { width: 128px; height: 8px; }
}

.nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
.header-cta.btn { background: var(--primary); color: #fff; }
.header-cta.btn:hover { background: var(--primary-hover); }
.has-dark-hero .site-header:not(.is-scrolled) .header-cta.btn { background: var(--gold); color: var(--ink); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 0;
  background: transparent; color: inherit; cursor: pointer; text-decoration: none;
  transition: background-color .15s var(--ease);
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.12); color: inherit; }
.icon-btn .icon { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .header-cta { display: inline-flex; }
  .mobile-menu, .wa-icon-btn { display: none; }
}

.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; color: inherit; text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  opacity: 0.86; transition: opacity .15s var(--ease);
}
.nav__link:hover { color: inherit; opacity: 1; }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.has-dark-hero .site-header:not(.is-scrolled) .nav__link::after { background: var(--gold); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__link[aria-current] { opacity: 1; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }

.nav__item { position: relative; }
.nav-panel {
  position: absolute; top: calc(100% + 8px); left: -12px; width: 560px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 12px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__item:hover .nav-panel, .nav__item:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__item:hover .nav__link .icon, .nav__item:focus-within .nav__link .icon { transform: rotate(180deg); }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.nav-panel__link {
  display: flex; gap: 12px; padding: 14px; border-radius: 8px; color: var(--ink); text-decoration: none;
  transition: background-color .15s var(--ease);
}
.nav-panel__link:hover { background: var(--mint); color: var(--ink); }
.nav-panel__link strong { display: block; font-weight: 600; font-size: 0.9375rem; }
.nav-panel__link span span { display: block; font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.45; margin-top: 2px; }
.nav-panel__fee { display: block; font-size: 0.8125rem; color: var(--primary); font-weight: 600; margin-top: 6px; }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--primary);
}
.icon-circle .icon { width: 20px; height: 20px; }

/* Mobile menu (details/summary, so it works without JS) */
.mobile-menu > summary { list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu .icon-close { display: none; }
.mobile-menu[open] .icon-open { display: none; }
.mobile-menu[open] .icon-close { display: block; }

.mobile-sheet {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
  overflow-y: auto; background: var(--surface); color: var(--ink);
  border-top: 1px solid var(--border);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  animation: sheet-in .3s var(--ease) both;
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.mobile-sheet__services { display: grid; gap: 4px; }
.mobile-sheet__services a {
  display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-radius: 10px;
  color: var(--ink); text-decoration: none;
}
.mobile-sheet__services a:hover { background: var(--mint); }
.mobile-sheet__services strong { display: block; font-size: 1.0625rem; }
.mobile-sheet__services small { color: var(--primary); font-weight: 600; font-size: 0.8125rem; }
.mobile-sheet__links { display: grid; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mobile-sheet__links a { padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.mobile-sheet__links a[aria-current] { color: var(--primary); }
.mobile-sheet__cta { margin-top: 24px; }
.mobile-sheet__address { margin-top: 20px; color: var(--ink-muted); font-size: 0.875rem; display: flex; gap: 10px; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--mint { background: var(--mint); }
.section--surface { background: var(--surface); }
.section + .section--rule { border-top: 1px solid var(--border); }

.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
}

.on-deep { background: var(--deep); color: #fff; }
.on-deep .lead, .on-deep .muted { color: var(--on-deep-muted); }

.grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Hero (home) ---------- */

.hero { position: relative; overflow: hidden; padding: 48px 0 88px; }
@media (min-width: 1024px) { .hero { padding: 72px 0 128px; } }

.hero__grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }

.hero__copy { display: grid; gap: 24px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; animation: line-rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms + 120ms); }
.hero__title em { font-style: italic; color: var(--gold); }
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }

.fade-up { animation: fade-up .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__mark {
  position: absolute; z-index: 0; right: -120px; bottom: -70px; width: 620px; height: 459px;
  color: #fff; opacity: 0.035; animation: mark-in 2.2s var(--ease) both .2s;
}
@keyframes mark-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 0.035; transform: none; } }
@media (max-width: 767px) { .hero__mark { width: 360px; height: 267px; right: -110px; bottom: -40px; } }

.hero-areas { position: relative; display: grid; gap: 6px; }
.hero-areas::before {
  content: ""; position: absolute; left: 31px; top: 34px; bottom: 34px; width: 1px;
  background: rgba(169, 205, 191, 0.35); transform-origin: top;
  animation: draw-y 1.4s var(--ease) both .5s;
}
@keyframes draw-y { from { transform: scaleY(0); } to { transform: none; } }
.hero-areas li { animation: fade-up .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
.hero-areas a {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 10px; border-radius: 14px;
  color: #fff; text-decoration: none; transition: background-color .2s var(--ease);
}
.hero-areas a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.hero-areas .icon-circle { background: var(--mid); color: #fff; transition: transform .25s var(--ease); }
.hero-areas li:last-child .icon-circle { background: var(--gold); color: var(--ink); }
.hero-areas a:hover .icon-circle { transform: scale(1.08); }
.hero-areas__text { flex: 1; min-width: 0; }
.hero-areas__text .eyebrow { margin-bottom: 4px; }
.hero-areas__name { display: block; font-weight: 600; font-size: 1.125rem; }
.hero-areas__fee { font-size: 0.8125rem; color: var(--on-deep-muted); white-space: nowrap; }
.hero-areas a > .icon { width: 18px; height: 18px; color: var(--sage); opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.hero-areas a:hover > .icon, .hero-areas a:focus-visible > .icon { opacity: 1; transform: none; }
@media (max-width: 479px) { .hero-areas__fee { display: none; } }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
@media (min-width: 1024px) { .page-hero { padding: 56px 0 104px; } }
.page-hero__inner { position: relative; z-index: 1; display: grid; gap: 20px; max-width: 760px; }
.page-hero__mark {
  position: absolute; right: -60px; bottom: -50px; width: 420px; height: 311px;
  color: #fff; opacity: 0.04; animation: mark-in 2.2s var(--ease) both .2s;
}
@media (max-width: 767px) { .page-hero__mark { display: none; } }
.page-hero .h1 { animation: fade-up .9s var(--ease) both .08s; }
.page-hero__subtitle { font-family: var(--font-serif); font-size: 1.375rem; color: var(--sage); }
.page-hero--light { background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero--light .lead { color: var(--ink-muted); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-deep-muted); }
.breadcrumbs li + li::before { content: "/"; opacity: 0.6; }
.breadcrumbs a { color: var(--on-deep-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero--light .breadcrumbs li, .page-hero--light .breadcrumbs a { color: var(--ink-muted); }

.chip-fee {
  display: inline-flex; align-items: baseline; gap: 8px; width: fit-content;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-on-deep);
  font-size: 0.875rem; color: var(--on-deep-muted);
}
.chip-fee strong { color: #fff; font-size: 1rem; }

/* ---------- Cards ---------- */

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card--link { color: var(--ink); text-decoration: none; }
.card--link:hover { color: var(--ink); border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-float); }
.card__num { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-muted); }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card p { color: var(--ink-muted); }
.card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.card__foot .icon { color: var(--primary); transition: transform .2s var(--ease); }
.card--link:hover .card__foot .icon { transform: translateX(4px); }
.fee-from { font-size: 0.875rem; color: var(--ink-muted); }
.fee-from strong { color: var(--ink); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.card ul.bullets { display: grid; gap: 8px; color: var(--ink-muted); }
.card--mint { background: var(--mint); border-color: transparent; }

.bullets li, .checklist li { position: relative; padding-left: 26px; }
.bullets li::before {
  content: ""; position: absolute; left: 6px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.checklist { display: grid; gap: 10px; }
.checklist li .icon { position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; color: var(--primary); }

/* Principles */
.principle { display: grid; gap: 12px; align-content: start; }
.principle p { color: var(--ink-muted); }

/* ---------- Steps (how it works) ---------- */

.steps { position: relative; display: grid; gap: 32px; counter-reset: step; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps::before {
    content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--sage);
    transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.2s var(--ease) .2s;
  }
  .js .steps.reveal:not(.is-visible) { --progress: 0; }
}
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding-right: 16px; }
.steps__num {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: #fff;
  font-weight: 600; font-variant-numeric: tabular-nums;
}
.steps p { color: var(--ink-muted); }

/* ---------- Package ladder ---------- */

.ladder { display: grid; gap: 12px; }
@media (min-width: 768px) {
  .ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; min-height: 380px; }
}
.ladder__item {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), clip-path 1s var(--ease);
  transition-delay: 0s, calc(var(--i, 0) * 110ms);
}
.ladder__item:hover { transform: translateY(-4px); }
.ladder__item .eyebrow { color: inherit; opacity: 0.85; }
.ladder__from { font-size: 0.8125rem; opacity: 0.85; margin-top: 4px; }
.ladder__price { font-size: clamp(1.625rem, 1.4vw + 1rem, 2.25rem); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.ladder__per { font-size: 0.8125rem; opacity: 0.85; }
.ladder__sum { font-size: 0.9375rem; line-height: 1.45; margin-top: 8px; }
.ladder__item--1 { background: var(--mint); }
.ladder__item--2 { background: var(--sage); }
.ladder__item--3 { background: var(--mid); color: #fff; }
.ladder__item--4 { background: var(--primary); color: #fff; }
.ladder__item--5 { background: var(--deep); color: #fff; }
.ladder__item--5 .ladder__price { color: var(--gold); }
.ladder__item:hover { color: inherit; }
.ladder__item--3:hover, .ladder__item--4:hover, .ladder__item--5:hover { color: #fff; }
@media (min-width: 768px) {
  .ladder__item--1 { height: 200px; }
  .ladder__item--2 { height: 240px; }
  .ladder__item--3 { height: 285px; }
  .ladder__item--4 { height: 330px; }
  .ladder__item--5 { height: 380px; }
  .js .ladder.reveal .ladder__item { clip-path: inset(100% 0 0 0 round 12px); }
  .js .ladder.reveal.is-visible .ladder__item { clip-path: inset(0 0 0 0 round 12px); }
}

/* ---------- Fee display ---------- */

.fee-block {
  display: grid; gap: 18px; align-content: start;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
}
.fee-block__head { display: grid; gap: 6px; }
.fee-block p { color: var(--ink-muted); }
.fee-range { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 16px 0; border-block: 1px solid var(--border); }
.fee-range__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.fee-range__value { display: block; font-size: 1.5rem; line-height: 1.25; font-weight: 600; font-variant-numeric: tabular-nums; }
.fee-range__value--text { font-size: 1.125rem; color: var(--ink-muted); font-weight: 500; }
.fee-range__unit { font-size: 0.875rem; color: var(--ink-muted); align-self: end; }

.fee-inline { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9375rem; color: var(--ink-muted); }
.fee-inline strong { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--primary);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
}
.badge .icon { width: 15px; height: 15px; }
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--outline { background: transparent; border: 1px solid var(--border); color: var(--ink-muted); }

.callout {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; border-radius: var(--radius); background: var(--cream); color: var(--ink);
}
.callout .icon { margin-top: 2px; color: var(--ink); }
.callout p { color: var(--ink); }

.subhead { display: flex; align-items: baseline; gap: 16px; margin: 64px 0 24px; }
.subhead:first-child, .section-head + .subhead { margin-top: 0; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Stage stepper ---------- */

.stages { display: grid; gap: 24px; }
@media (min-width: 768px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.stage-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius); background: var(--mint); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.stage-card:hover { color: var(--ink); background: #E5EFEA; transform: translateY(-3px); }
.stage-card .icon-circle { background: var(--primary); color: #fff; }
.stage-card p { color: var(--ink-muted); font-size: 0.9375rem; }
.stage-card .fee-inline { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.stage-card__note { font-size: 0.8125rem; font-style: italic; color: var(--ink-muted); }
@media (min-width: 1024px) {
  .stage-card:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -22px; width: 12px; height: 12px;
    border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: rotate(45deg);
  }
}

/* ---------- Trial sequence ---------- */

.sequence { border-top: 1px solid var(--border); }
.sequence li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .sequence li { grid-template-columns: 44px minmax(0, 1fr) auto; } }
.sequence__num {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sage); color: var(--primary);
  font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9375rem;
}
@media (min-width: 768px) { .sequence__num { grid-row: auto; } }
.sequence__name { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sequence__name small { font-weight: 400; color: var(--ink-muted); font-size: 0.875rem; width: 100%; }
.pill-senior {
  display: inline-flex; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--gold);
  color: var(--gold-text); font-size: 0.75rem; font-weight: 600; text-decoration: none;
}

/* ---------- Fee tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.fee-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.fee-table caption { caption-side: top; }
.fee-table th, .fee-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.fee-table thead th {
  background: var(--mint); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600; white-space: nowrap;
}
.fee-table tbody tr { border-top: 1px solid var(--border); transition: background-color .15s var(--ease); }
.fee-table tbody tr:hover { background: #F6F9F7; }
.fee-table tbody th { font-weight: 500; }
.fee-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-table td.num { font-weight: 600; }
.fee-table .txt { font-weight: 400; color: var(--ink-muted); }
.fee-table .idx { color: var(--ink-muted); width: 48px; font-variant-numeric: tabular-nums; }
.fee-table .group th { background: var(--bg); font-size: 0.8125rem; font-weight: 600; color: var(--primary); letter-spacing: 0.04em; }
.fn { font-size: 0.75em; vertical-align: super; line-height: 0; text-decoration: none; margin-left: 2px; color: var(--gold-text); }
.table-notes { display: grid; gap: 6px; margin-top: 16px; font-size: 0.875rem; color: var(--ink-muted); max-width: 80ch; }
.table-notes p:target { color: var(--ink); background: var(--cream); border-radius: 4px; }

@media (max-width: 767px) {
  .fee-table--stack thead { display: none; }
  .fee-table--stack tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 14px 16px; }
  .fee-table--stack th, .fee-table--stack td { display: block; padding: 0; }
  .fee-table--stack .idx { flex: none; width: auto; min-width: 24px; }
  .fee-table--stack tbody th { flex: 1 1 calc(100% - 48px); font-weight: 600; }
  .fee-table--stack tbody tr:has(.idx) td.num:first-of-type { margin-left: 40px; }
  .fee-table--stack .num { text-align: left; font-weight: 500; }
  .fee-table--stack td[data-label]::before { content: attr(data-label) " "; color: var(--ink-muted); font-weight: 400; }
  .fee-table--stack .group { padding: 10px 16px; }
}

/* Court toggle (Criminal appeals) — pure CSS via :has() */
.court__toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mint); margin-bottom: 16px; }
.court__toggle label {
  position: relative; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9375rem;
  color: var(--ink-muted); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.court__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.court__toggle label:has(input:checked) { background: var(--surface); color: var(--primary); box-shadow: 0 1px 3px rgba(15, 61, 51, .12); }
.court__toggle label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 1023px) {
  .court:has(input[value="jc"]:checked) .col-hc,
  .court:has(input[value="hc"]:checked) .col-jc { display: none; }
}
@media (min-width: 1024px) { .court__toggle { display: none; } }

/* ---------- Packages (Accounting) ---------- */

.package {
  display: grid; gap: 32px; padding: 32px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface);
}
@media (min-width: 1024px) { .package { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 48px; } }
.package__intro { display: grid; gap: 16px; align-content: start; }
.package__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.package__price .price { font-size: clamp(2rem, 2vw + 1.25rem, 2.75rem); line-height: 1; font-weight: 700; }
.package__price small { color: var(--ink-muted); font-size: 0.9375rem; }
.package__lists { display: grid; gap: 28px; }
@media (min-width: 640px) { .package__lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.package__lists .h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.packages { display: grid; gap: 24px; }

.options { display: grid; gap: 12px; }
@media (min-width: 640px) { .options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.option { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); }
.option .price { font-size: 1.375rem; }
.option small { color: var(--ink-muted); }
.option--best { border-color: var(--gold); background: #FCF8EC; position: relative; }
.option--best .badge { margin-bottom: 6px; }

.addon { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--cream); }
.addon .price { font-size: 1.375rem; }
.turnover { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.turnover div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; flex-wrap: wrap; }
.turnover div + div { border-top: 1px solid var(--border); }
.turnover .price { font-size: 1.125rem; }
.plus-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Package finder — pure CSS via :has() */
.finder { display: grid; gap: 32px; }
@media (min-width: 1024px) { .finder { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.finder > * { min-width: 0; }
.finder fieldset, .picker fieldset { min-width: 0; }
.finder fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.finder legend { margin-bottom: 14px; font-weight: 600; }
.finder__opt {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.finder__opt:hover { border-color: var(--sage); }
.finder__opt:has(input:checked) { border-color: var(--primary); background: var(--mint); }
.finder__opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.finder__opt input { accent-color: var(--primary); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.finder__result { display: none; }
.finder__empty { display: grid; }
.finder:has(input:checked) .finder__empty { display: none; }
.finder:has(input[value="1"]:checked) [data-result="1"],
.finder:has(input[value="2"]:checked) [data-result="2"],
.finder:has(input[value="3"]:checked) [data-result="3"],
.finder:has(input[value="4"]:checked) [data-result="4"],
.finder:has(input[value="5"]:checked) [data-result="5"] { display: grid; animation: fade-up .5s var(--ease) both; }
.finder__panel { display: grid; gap: 14px; padding: 28px; border-radius: 16px; background: var(--deep); color: #fff; position: sticky; top: calc(var(--header-h) + 24px); }
.finder__panel .price { font-size: clamp(1.75rem, 5vw + 0.5rem, 2.25rem); line-height: 1.1; color: var(--gold); white-space: normal; }
.finder__panel p { color: var(--on-deep-muted); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--primary); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-muted); max-width: 68ch; animation: fade-up .35s var(--ease) both; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; padding-block: calc(var(--section-y) * 0.85); }
.cta-band__inner { display: grid; gap: 24px; justify-items: start; max-width: 760px; }
.cta-band .h2 { font-size: clamp(1.875rem, 2.6vw + 1rem, 2.75rem); }

/* ---------- Fees page tabs ---------- */

.tabs-bar {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(250, 250, 247, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  position: relative; flex: none; padding: 18px 14px; color: var(--ink-muted); text-decoration: none;
  font-weight: 600; font-size: 0.9375rem;
}
.tabs a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--primary);
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { color: var(--ink); }
.tabs a[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel + .tab-panel { margin-top: 96px; }
.js .tabs-ready .tab-panel + .tab-panel { margin-top: 0; }
.js .tabs-ready.is-searching .tab-panel:not([hidden]) ~ .tab-panel:not([hidden]) { margin-top: 72px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: fade-up .45s var(--ease) both; }

.fees-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.search {
  display: flex; align-items: center; gap: 10px; min-width: min(100%, 320px); padding: 0 14px; height: 48px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
}
.search:focus-within { border-color: var(--primary); }
.search input { border: 0; outline: 0; font: inherit; flex: 1; min-width: 0; background: transparent; color: var(--ink); }
.search .icon { color: var(--ink-muted); }
.no-results { display: none; padding: 24px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--ink-muted); }
.is-searching .no-results.is-shown { display: block; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } }

.picker { display: grid; gap: 24px; padding: 32px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.picker fieldset { border: 0; margin: 0; padding: 0; }
.picker legend { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { border-color: var(--primary); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.preview { display: grid; gap: 16px; }
.preview__item { display: none; gap: 16px; }
.picker:has(#topic-other:checked) [data-topic="other"],
.picker:has(#topic-acc:checked) [data-topic="acc"],
.picker:has(#topic-civil:checked) [data-topic="civil"],
.picker:has(#topic-ni:checked) [data-topic="ni"],
.picker:has(#topic-criminal:checked) [data-topic="criminal"] { display: grid; animation: fade-up .4s var(--ease) both; }
.preview__bubble {
  position: relative; padding: 16px 18px; border-radius: 4px 16px 16px 16px; background: var(--mint);
  color: var(--ink); max-width: 46ch;
}
.preview__label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.no-has .preview__item[data-topic="other"] { display: grid; }

.office { display: grid; gap: 20px; padding: 32px; border-radius: 16px; }
.office__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.office__row .icon-circle { background: rgba(255, 255, 255, 0.08); color: var(--sage); }
.office__row strong { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.office__row a { color: #fff; }
.office address { font-style: normal; }

/* ---------- Footer ---------- */

.site-footer { background: var(--deep); color: var(--on-deep-muted); padding: 72px 0 32px; font-size: 0.9375rem; }
.cta-band + .site-footer { border-top: 1px solid var(--border-on-deep); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.3fr); } }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo-stacked { color: #fff; }
.site-footer h2 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { color: var(--sage); margin-top: 3px; }
.footer-contact address { font-style: normal; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border-on-deep); font-size: 0.8125rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Sticky mobile WhatsApp bar ---------- */

.wa-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.wa-bar.is-visible { transform: none; }
@media (min-width: 768px) { .wa-bar { display: none; } }

/* ---------- Legal pages ---------- */

.legal { display: grid; gap: 40px; }
.legal section { display: grid; gap: 12px; }
.legal h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.legal p, .legal li { color: var(--ink-muted); max-width: 68ch; }
.legal ul { display: grid; gap: 8px; }
.draft-note { padding: 14px 18px; border-radius: var(--radius); background: var(--cream); font-size: 0.9375rem; }

/* ---------- Scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:hover { transition-delay: 0s; }
.js .reveal-stagger.is-visible > .card--link:hover,
.js .reveal-stagger.is-visible > .stage-card:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .js .ladder.reveal .ladder__item { clip-path: none; }
}
