/* =====================================================================
   Marsden Holt — Chartered Accountants & Advisers, Manchester
   A fictional demo by Greenshields Studio.

   Design language: authoritative, precise, trustworthy. Deep navy with a
   brass-gold accent on cool paper. Newsreader (serif) headlines over Hanken
   Grotesk (sans). Crisp 1px-bordered cards, generous whitespace, dark navy
   "bookend" sections. No AI — a pure-craft professional-services build:
   the interactive fee calculator is plain rule-based arithmetic.
   ===================================================================== */

/* ------------------------------------------------------------------ *
   1. Tokens
 * ------------------------------------------------------------------ */
:root {
  /* navy brand / dark surfaces */
  --navy:      #102A47;
  --navy-700:  #0B1E34;   /* deepest — footer */
  --navy-500:  #1B3D63;   /* raised dark */
  --navy-300:  #2C5184;   /* hairline on dark */

  /* paper / light surfaces */
  --paper:     #F6F7F9;
  --paper-2:   #ECEFF3;
  --paper-3:   #E1E7EE;
  --white:     #FFFFFF;

  /* accent */
  --gold:      #B5852E;   /* brass — eyebrows, hairlines, accents */
  --gold-2:    #976B1F;   /* pressed */
  --gold-soft: #CBA557;   /* light gold — on dark */
  --positive:  #2F7A57;   /* savings / positive figures (sparing) */

  /* text */
  --ink:       #14233A;
  --text:      #1B2C44;
  --text-soft: #4C5B70;
  --text-mute: #7B8799;
  --on-dark:   #E7EDF4;
  --on-dark-soft: rgba(231,237,244,.70);

  /* lines */
  --border:      rgba(20,35,58,.13);
  --border-2:    rgba(20,35,58,.08);
  --border-dark: rgba(231,237,244,.15);

  /* effects */
  --shadow-sm: 0 1px 2px rgba(16,42,71,.06), 0 2px 8px rgba(16,42,71,.05);
  --shadow:    0 16px 40px -22px rgba(16,42,71,.34), 0 6px 16px -10px rgba(16,42,71,.18);
  --shadow-lg: 0 38px 80px -38px rgba(11,30,52,.5);
  --cool-grad: linear-gradient(145deg, var(--paper-2), var(--paper-3));
  --gold-grad: linear-gradient(135deg, var(--gold-soft), var(--gold));
  --navy-grad: linear-gradient(160deg, var(--navy), var(--navy-700));

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* metrics */
  --header-h: 76px;
  --banner-h: 44px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --space-1: .35rem;  --space-2: .6rem;  --space-3: 1rem;  --space-4: 1.5rem;
  --space-5: 2.2rem;  --space-6: 3rem;   --space-7: 4.5rem; --space-8: 6.5rem;
}

/* ------------------------------------------------------------------ *
   2. Reset & base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--banner-h) + 10px);
  overflow-x: clip; /* clip the off-canvas mobile drawer (a fixed child body's overflow-x can't catch) without breaking the sticky topbar */
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: calc(var(--header-h) + var(--banner-h)); /* baseline offset for the fixed topbar; JS refines to its exact height */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--navy); color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p  { text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text-soft); }
.section--dark .lead, .hero .lead { color: var(--on-dark-soft); }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.gold-text { color: var(--gold); }

/* ------------------------------------------------------------------ *
   3. Layout primitives
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.container--narrow { max-width: 800px; }
.container--wide { max-width: 1320px; }

.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--paper2 { background: var(--paper-2); }
.section--tint { background: var(--cool-grad); }

.stack > * + * { margin-top: var(--space-4); }
.grid { display: grid; gap: clamp(1.1rem, 2.6vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }

/* ------------------------------------------------------------------ *
   4. Eyebrow / section heads
 * ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.section--dark .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: var(--space-3); }
.section-head p { margin-top: var(--space-3); color: var(--text-soft); font-size: 1.08rem; }
.section--dark .section-head p { color: var(--on-dark-soft); }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem; border-radius: 100px;
  background: rgba(181,133,46,.1); color: var(--gold-2);
  border: 1px solid rgba(181,133,46,.26);
  font-size: .82rem; font-weight: 600;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(181,133,46,.16); }
.pill--ghost { background: rgba(231,237,244,.08); color: var(--on-dark); border-color: var(--border-dark); }
.pill--navy { background: rgba(16,42,71,.07); color: var(--navy); border-color: rgba(16,42,71,.18); }

/* ------------------------------------------------------------------ *
   5. Buttons
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.5rem; border-radius: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 22px -14px rgba(16,42,71,.8); }
.btn--primary:hover { background: var(--navy-500); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(16,42,71,.7); }

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(16,42,71,.04); }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--white); border-color: rgba(231,237,244,.34); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(231,237,244,.1); border-color: var(--white); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--lg { padding: .98rem 1.85rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy); transition: gap .25s var(--ease); }
.link-arrow svg { width: 15px; height: 15px; color: var(--gold); }
.link-arrow:hover { gap: .65rem; }
.section--dark .link-arrow { color: var(--gold-soft); }

/* ------------------------------------------------------------------ *
   6. Topbar + demo banner + header
 * ------------------------------------------------------------------ */
/* Auto-hiding topbar: position:fixed (immune to the html overflow-x:clip that
   breaks position:sticky) — JS slides it away on scroll-down, back on scroll-up.
   body gets a matching padding-top (set precisely in JS) so nothing hides under it. */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 120; transition: transform .38s var(--ease); }
.topbar.is-hidden { transform: translateY(-100%); }
.demo-banner {
  background: var(--navy-700); color: var(--on-dark-soft);
  text-align: center; font-size: .82rem; line-height: 1.4; padding: .6rem 1.2rem;
  border-bottom: 1px solid var(--navy-300);
}
.demo-banner a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.demo-banner a:hover { color: var(--white); }

.site-header {
  position: relative; z-index: 2;
  background: rgba(246,247,249,.88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border-2);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 26px -20px rgba(16,42,71,.5); background: rgba(246,247,249,.97); }
.nav { display: flex; align-items: center; gap: 1.3rem; height: var(--header-h); }

/* brand */
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 8px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .005em; color: var(--navy); }
.brand__sub { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); margin-top: 4px; font-weight: 600; }
.section--dark .brand__name, .site-footer .brand__name { color: var(--white); }
.site-footer .brand__sub { color: var(--on-dark-soft); }

.nav-spacer { flex: 1; }

.nav-primary { display: flex; align-items: center; gap: .25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border-radius: 8px;
  font-size: .94rem; font-weight: 600; color: var(--text);
  transition: color .2s var(--ease);
}
.nav-link:hover, .nav-item.open .nav-link { color: var(--navy); }
.nav-link[aria-current="page"] { color: var(--navy); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1rem; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 60;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 16px; }
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega--wide { width: 600px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.mega-link { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem .75rem; border-radius: 10px; transition: background .2s var(--ease); }
.mega-link:hover { background: var(--paper-2); }
.mega-link__icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--cool-grad); color: var(--navy); border: 1px solid var(--border-2); }
.mega-link__icon svg { width: 20px; height: 20px; }
.mega-link__title { display: block; font-weight: 700; font-size: .94rem; color: var(--navy); }
.mega-link__desc { display: block; font-size: .81rem; color: var(--text-mute); margin-top: 1px; }
.mega-feature {
  grid-column: 1 / -1; margin-top: .35rem;
  background: var(--navy); color: var(--on-dark);
  border-radius: 12px; padding: 1.05rem 1.15rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
}
.mega-feature__eyebrow { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.mega-feature h4 { color: var(--white); font-size: 1.1rem; }
.mega-feature p { font-size: .84rem; color: var(--on-dark-soft); }
.mega-feature a { color: var(--gold-soft); font-weight: 600; font-size: .86rem; display: inline-flex; align-items: center; gap: .35rem; margin-top: .25rem; }
.mega-feature a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--text); }
.nav-phone svg { width: 17px; height: 17px; color: var(--gold); }
.nav-phone:hover { color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 9px; place-items: center; border: 1px solid var(--border); color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:hover { background: rgba(16,42,71,.05); }

/* ------------------------------------------------------------------ *
   7. Mobile nav
 * ------------------------------------------------------------------ */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--paper); padding: 1.1rem clamp(1.1rem,5vw,1.8rem) 2rem; transform: translateX(100%); transition: transform .36s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem .2rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--navy); text-align: left; }
.mobile-group__btn svg { width: 20px; height: 20px; color: var(--gold); transition: transform .3s var(--ease); }
.mobile-group.open .mobile-group__btn svg { transform: rotate(45deg); }
.mobile-group__body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.mobile-group.open .mobile-group__body { max-height: 460px; }
.mobile-group__body a { display: block; padding: .55rem .2rem .55rem 1rem; color: var(--text-soft); font-size: 1rem; }
.mobile-group__body a:hover { color: var(--navy); }
.mobile-nav__cta { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .7rem; }

/* ------------------------------------------------------------------ *
   8. Hero (navy split)
 * ------------------------------------------------------------------ */
.hero { background: var(--navy-grad); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -30%; right: -10%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(181,133,46,.16), transparent 62%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: var(--white); }
.hero h1 .italic { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.hero__lead { margin-top: var(--space-4); max-width: 520px; }
.hero__cta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__trust { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; padding-top: var(--space-4); border-top: 1px solid var(--border-dark); }
.hero__trust div { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--on-dark-soft); }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-soft); flex: none; }
.hero__trust b { color: var(--white); font-weight: 700; }

.hero__media { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); border: 1px solid var(--border-dark); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__float { position: absolute; background: var(--white); color: var(--ink); border-radius: 13px; padding: .85rem 1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem; border: 1px solid var(--border-2); }
.hero__float .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); flex: none; }
.hero__float .ic svg { width: 20px; height: 20px; }
.hero__float b { display: block; font-size: 1.05rem; font-family: var(--serif); color: var(--navy); line-height: 1; }
.hero__float span { font-size: .76rem; color: var(--text-mute); }
.hero__float--top { top: 1.2rem; left: -1.3rem; }
.hero__float--bottom { bottom: 1.2rem; right: -1.3rem; }

/* ------------------------------------------------------------------ *
   9. Trust strip (accreditations)
 * ------------------------------------------------------------------ */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border-2); }
.trust-strip__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem 2.4rem; padding: 1.4rem 1.2rem; }
.trust-strip__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.trust-logos span { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--navy); opacity: .75; white-space: nowrap; }

/* ------------------------------------------------------------------ *
   10. Split feature
 * ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body .eyebrow { margin-bottom: var(--space-3); }
.split__body h2 + p { margin-top: var(--space-4); }

.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }
.frame--gold { border: 1px solid var(--gold); }

.img-tag { position: absolute; left: 1rem; bottom: 1rem; background: rgba(16,42,71,.86); color: var(--on-dark); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: .5rem .85rem; border-radius: 8px; font-size: .8rem; font-weight: 600; display: flex; align-items: center; gap: .45rem; border: 1px solid var(--border-dark); }
.img-tag svg { width: 15px; height: 15px; color: var(--gold-soft); }

.feature-list { display: grid; gap: 1.05rem; margin-top: var(--space-5); }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; }
.fl-ic { flex: none; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(16,42,71,.08); color: var(--navy); margin-top: 2px; }
.fl-ic svg { width: 16px; height: 16px; }
.feature-list b { display: block; font-weight: 700; color: var(--ink); }
.feature-list li > span > span { color: var(--text-soft); font-size: .94rem; }
.section--dark .feature-list b { color: var(--white); }
.section--dark .fl-ic { background: rgba(203,165,87,.16); color: var(--gold-soft); }

/* ------------------------------------------------------------------ *
   11. Service cards
 * ------------------------------------------------------------------ */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
.svc-card { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.7rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); position: relative; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border); }
.svc-card__icon { width: 50px; height: 50px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); margin-bottom: var(--space-4); }
.svc-card__icon svg { width: 25px; height: 25px; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { margin-top: .6rem; color: var(--text-soft); font-size: .95rem; }
.svc-card__link { margin-top: var(--space-4); display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.svc-card__link svg { width: 15px; height: 15px; color: var(--gold); transition: transform .25s var(--ease); }
.svc-card:hover .svc-card__link svg { transform: translateX(3px); }

/* compact list of sub-services */
.svc-detail { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + var(--banner-h) + 16px); }
.svc-detail + .svc-detail { margin-top: var(--space-5); }
.svc-detail__head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: var(--space-4); }
.svc-detail__ic { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--cool-grad); color: var(--navy); border: 1px solid var(--border-2); }
.svc-detail__ic svg { width: 26px; height: 26px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; margin-top: var(--space-4); }
.svc-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; color: var(--text-soft); }
.svc-list svg { width: 17px; height: 17px; color: var(--positive); flex: none; margin-top: 3px; }

/* ------------------------------------------------------------------ *
   12. Stats
 * ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.stat { text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3rem); font-weight: 500; color: var(--navy); line-height: 1; }
.section--dark .stat__num { color: var(--gold-soft); }
.stat__label { margin-top: .5rem; font-size: .87rem; color: var(--text-soft); }
.section--dark .stat__label { color: var(--on-dark-soft); }
.stat + .stat, .stats--ruled .stat { border-left: 1px solid var(--border); }
.stats--ruled .stat:first-child { border-left: none; }

/* ------------------------------------------------------------------ *
   13. Process steps
 * ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2.6vw, 2rem); margin-top: var(--space-6); }
.step { position: relative; }
.step__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; color: var(--gold); border: 1px solid var(--gold); margin-bottom: var(--space-3); }
.section--dark .step__num { color: var(--gold-soft); border-color: var(--gold); }
.step h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.step p { color: var(--text-soft); font-size: .93rem; }
.section--dark .step p { color: var(--on-dark-soft); }

/* ------------------------------------------------------------------ *
   14. Pricing tiers + toggle
 * ------------------------------------------------------------------ */
.toggle { display: inline-flex; gap: .3rem; padding: .3rem; background: var(--paper-2); border: 1px solid var(--border-2); border-radius: 100px; }
.toggle button { padding: .5rem 1.1rem; border-radius: 100px; font-weight: 600; font-size: .9rem; color: var(--text-soft); transition: all .25s var(--ease); }
.toggle button.active { background: var(--navy); color: var(--white); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2.2vw,1.5rem); align-items: start; }
.tier { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 1.7rem; box-shadow: var(--shadow-sm); position: relative; }
.tier--featured { border-color: var(--navy); box-shadow: var(--shadow); }
.tier__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 100px; }
.tier__name { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }
.tier__desc { color: var(--text-mute); font-size: .9rem; margin-top: .2rem; }
.tier__price { margin: var(--space-4) 0; font-family: var(--serif); }
.tier__price b { font-size: 2.6rem; color: var(--ink); font-weight: 500; }
.tier__price span { color: var(--text-mute); font-size: .9rem; font-family: var(--sans); }
.tier__feats { display: grid; gap: .6rem; margin: var(--space-4) 0; }
.tier__feats li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.tier__feats svg { width: 17px; height: 17px; color: var(--positive); flex: none; margin-top: 3px; }

/* ------------------------------------------------------------------ *
   15. Fee calculator (rule-based, NOT AI)
 * ------------------------------------------------------------------ */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--white); }
.calc__controls { padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.calc__group { margin-bottom: var(--space-5); }
.calc__group:last-child { margin-bottom: 0; }
.calc__label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .7rem; }
.calc__label span { font-weight: 400; color: var(--text-mute); }
.opt-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { padding: .6rem 1rem; border-radius: 9px; border: 1px solid var(--border); background: var(--paper); font-size: .9rem; font-weight: 600; color: var(--text-soft); transition: all .2s var(--ease); }
.opt:hover { border-color: var(--navy); color: var(--navy); }
.opt.selected { background: var(--navy); color: var(--white); border-color: var(--navy); }
.opt-check { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 9px; border: 1px solid var(--border); background: var(--paper); cursor: pointer; transition: all .2s var(--ease); }
.opt-check:hover { border-color: var(--navy); }
.opt-check.selected { border-color: var(--navy); background: rgba(16,42,71,.04); }
.opt-check__box { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--border); display: grid; place-items: center; flex: none; transition: all .2s var(--ease); }
.opt-check__box svg { width: 14px; height: 14px; color: var(--white); opacity: 0; }
.opt-check.selected .opt-check__box { background: var(--navy); border-color: var(--navy); }
.opt-check.selected .opt-check__box svg { opacity: 1; }
.opt-check__txt { font-size: .92rem; font-weight: 600; color: var(--text); }
.opt-check__txt span { display: block; font-weight: 400; font-size: .78rem; color: var(--text-mute); }
.opt-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

.calc__result { background: var(--navy-grad); color: var(--on-dark); padding: clamp(1.6rem,3.5vw,2.4rem); display: flex; flex-direction: column; }
.calc__result-label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.calc__price { font-family: var(--serif); margin: var(--space-3) 0 .2rem; }
.calc__price b { font-size: clamp(2.6rem, 5vw, 3.4rem); color: var(--white); font-weight: 500; }
.calc__price span { color: var(--on-dark-soft); font-size: 1rem; font-family: var(--sans); }
.calc__note { font-size: .85rem; color: var(--on-dark-soft); }
.calc__breakdown { margin: var(--space-4) 0; display: grid; gap: .4rem; border-top: 1px solid var(--border-dark); padding-top: var(--space-4); }
.calc__line { display: flex; justify-content: space-between; font-size: .86rem; color: var(--on-dark-soft); }
.calc__line span:last-child { color: var(--white); font-weight: 600; }
.calc__cta { margin-top: auto; }
.calc__disclaim { font-size: .76rem; color: var(--on-dark-soft); margin-top: var(--space-3); }

/* ------------------------------------------------------------------ *
   16. Sectors / who we help (tabs)
 * ------------------------------------------------------------------ */
.tabs { display: inline-flex; gap: .25rem; padding: .3rem; background: var(--paper-2); border: 1px solid var(--border-2); border-radius: 100px; flex-wrap: wrap; }
.tab-btn { padding: .55rem 1.15rem; border-radius: 100px; font-weight: 600; font-size: .9rem; color: var(--text-soft); transition: all .25s var(--ease); }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { background: var(--navy); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ *
   17. Testimonials
 * ------------------------------------------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.7rem); }
.quote { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.section--dark .quote { background: var(--navy-500); border-color: var(--navy-300); }
.quote__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .7rem; }
.quote p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--text); }
.section--dark .quote p { color: var(--on-dark); }
.quote__by { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; gap: .7rem; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; background: var(--navy); display: grid; place-items: center; color: var(--white); font-family: var(--sans); font-weight: 700; font-size: .82rem; }
.quote__by b { display: block; font-size: .92rem; color: var(--ink); }
.section--dark .quote__by b { color: var(--white); }
.quote__by span { font-size: .82rem; color: var(--text-mute); }

.pull { text-align: center; max-width: 900px; margin-inline: auto; }
.pull blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-style: italic; font-weight: 400; line-height: 1.3; }
.pull cite { font-style: normal; color: var(--gold-soft); font-size: .9rem; letter-spacing: .03em; display: block; margin-top: var(--space-4); }

/* ------------------------------------------------------------------ *
   18. Team
 * ------------------------------------------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 1.7rem); }
.member__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow-sm); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member h4 { margin-top: var(--space-3); font-size: 1.15rem; }
.member span { display: block; color: var(--gold-2); font-size: .86rem; font-weight: 600; }
.member small { display: block; color: var(--text-mute); font-size: .82rem; margin-top: 3px; }
.section--dark .member span { color: var(--gold-soft); }

/* ------------------------------------------------------------------ *
   19. Insights / articles
 * ------------------------------------------------------------------ */
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-chip { padding: .5rem 1.05rem; border-radius: 100px; border: 1px solid var(--border); background: var(--white); font-size: .88rem; font-weight: 600; color: var(--text-soft); transition: all .2s var(--ease); }
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.7rem); }
.article { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.article:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article:hover .article__media img { transform: scale(1.05); }
.article__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article__cat { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--gold-2); }
.article__body h3 { font-size: 1.22rem; margin: .5rem 0 .5rem; }
.article__body p { color: var(--text-soft); font-size: .92rem; }
.article__meta { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border-2); display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-mute); }
.article--feature { grid-column: span 2; grid-row: span 1; }
.article--feature .article__media { aspect-ratio: 16 / 8; }
.article--feature .article__body h3 { font-size: 1.6rem; }

/* newsletter */
.newsletter { background: var(--navy-grad); color: var(--on-dark); border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3.2rem); text-align: center; }
.newsletter h2 { color: var(--white); }
.newsletter p { color: var(--on-dark-soft); max-width: 480px; margin: var(--space-3) auto var(--space-5); }
.newsletter form { display: flex; gap: .6rem; max-width: 460px; margin-inline: auto; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; padding: .85rem 1rem; border-radius: 9px; background: rgba(231,237,244,.1); border: 1px solid var(--border-dark); color: var(--white); }
.newsletter input::placeholder { color: var(--on-dark-soft); }
.newsletter input:focus { outline: none; border-color: var(--gold-soft); }

/* ------------------------------------------------------------------ *
   20. Forms (contact / consultation)
 * ------------------------------------------------------------------ */
.form-card { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius-xl); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-soft); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border-radius: 9px; background: var(--paper); border: 1px solid var(--border); color: var(--text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,42,71,.12); background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { padding: .55rem .95rem; border-radius: 8px; border: 1px solid var(--border); background: var(--paper); font-size: .9rem; font-weight: 600; color: var(--text-soft); transition: all .2s var(--ease); }
.choice:hover { border-color: var(--navy); color: var(--navy); }
.choice.selected { background: var(--navy); color: var(--white); border-color: var(--navy); }
.form-note { display: none; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 10px; background: rgba(47,122,87,.08); border: 1px solid rgba(47,122,87,.28); color: var(--text); font-size: .92rem; }
.form-note.show { display: block; animation: fadeUp .4s var(--ease); }
.form-note b { color: var(--positive); }
.form-disclaim { margin-top: 1rem; font-size: .8rem; color: var(--text-mute); }

/* contact lines / info */
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border-2); }
.contact-line:last-child { border-bottom: none; }
.contact-line__ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--cool-grad); color: var(--navy); border: 1px solid var(--border-2); }
.contact-line__ic svg { width: 20px; height: 20px; }
.contact-line b { display: block; color: var(--ink); }
.contact-line span, .contact-line a { color: var(--text-soft); }
.contact-line a:hover { color: var(--navy); }

.hours { display: grid; gap: .1rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border-2); }
.hours__row:last-child { border-bottom: none; }
.hours__row.today { color: var(--navy); font-weight: 700; }
.hours__day { font-weight: 600; }
.hours__time { color: var(--text-soft); }
.hours__row.today .hours__time { color: var(--navy); }

.info-card { background: var(--white); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.info-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--gold); }
.info-card p { color: var(--text-soft); margin-top: .6rem; }
.info-card a { color: var(--navy); font-weight: 600; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); height: clamp(300px, 40vw, 460px); background: var(--cool-grad); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------ *
   21. FAQ
 * ------------------------------------------------------------------ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem .2rem; text-align: left; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.faq-q svg { width: 22px; height: 22px; color: var(--gold); flex: none; transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 .2rem 1.2rem; color: var(--text-soft); }

/* ------------------------------------------------------------------ *
   22. CTA band
 * ------------------------------------------------------------------ */
.cta-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: clamp(2.4rem, 5.5vw, 4.5rem); color: var(--on-dark); background: var(--navy-grad); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; top: -40%; right: -5%; width: 45%; height: 180%; background: radial-gradient(circle, rgba(181,133,46,.2), transparent 60%); pointer-events: none; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: var(--space-3); color: var(--on-dark-soft); max-width: 540px; }
.cta-band__grid { display: grid; grid-template-columns: 1.4fr auto; gap: var(--space-5); align-items: center; }
.cta-band .btn-group { margin-top: 0; }

/* ------------------------------------------------------------------ *
   23. Footer
 * ------------------------------------------------------------------ */
.site-footer { background: var(--navy-700); color: var(--on-dark-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); }
.footer-brand p { margin-top: var(--space-3); max-width: 280px; font-size: .92rem; }
.footer-col h4 { color: var(--white); font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--space-3); }
.footer-col a { display: block; padding: .3rem 0; color: var(--on-dark-soft); font-size: .93rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact b { color: var(--white); display: block; }
.footer-contact p { font-size: .92rem; margin-top: .3rem; }
.footer-social { display: flex; gap: .55rem; margin-top: var(--space-3); }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--navy-300); color: var(--on-dark-soft); transition: all .2s var(--ease); }
.footer-social a:hover { color: var(--white); border-color: var(--gold); background: var(--navy-500); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: var(--space-6); padding-top: 1.5rem; border-top: 1px solid var(--navy-300); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .83rem; }
.footer-bottom a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a { text-decoration: none; color: var(--on-dark-soft); }
.footer-legal a:hover { color: var(--white); }

/* ------------------------------------------------------------------ *
   24. Reveal
 * ------------------------------------------------------------------ */
[data-reveal], [data-reveal-stagger] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(.95); }
[data-reveal].in, [data-reveal-stagger].in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ *
   25. Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1040px) {
  .nav-primary { display: none; }
  .nav-toggle { display: grid; }
  .nav-phone { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { max-width: 460px; }
  .hero__float--top { left: 0; }
  .hero__float--bottom { right: 0; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .stat { border-left: none !important; }
  .tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .articles { grid-template-columns: 1fr 1fr; }
  .article--feature { grid-column: span 2; }
  .svc-list { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .opt-checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .demo-banner { font-size: .74rem; padding: .5rem .8rem; }
  .hero h1 { font-size: clamp(1.95rem, 7.4vw, 3rem); }
  .svc-cards { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .article--feature { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .tabs { width: 100%; justify-content: center; }
  .hero__float { display: none; }
}
