/* WealthTech Pros — site stylesheet (s1 editorial redesign, Oct 2026).
   Direction from Dave's framing doc §11: type-led, editorial, high contrast —
   a research house, not a SaaS vendor. No gradients, glows, parallax or
   scroll-reveal. Navy and paper, one serif for statements, Inter for reading,
   and one accent (gold) reserved for the ask. See DESIGN.md. */

@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/self/source-serif-4-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/self/source-serif-4-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/self/source-serif-4-600.woff2') format('woff2'); }

:root {
  --navy: #1E1249;        /* WTP deep purple — hsl(253 60% 18%), the original wealthtechpros.com theme */
  --navy-2: #2C1D63;
  --hero: #40307F;        /* lighter purple for the hero band under the header; lightest that keeps gold labels AA (4.7:1) */
  --ink: #1A1430;
  --body: #3D3952;
  --muted: #5E5A70;
  --paper: #FBFAF7;
  --paper-2: #F2EFE8;
  --white: #FFFFFF;
  --rule: #DCD7CC;
  --rule-dark: rgba(255, 255, 255, 0.16);
  --on-dark: #EAE8F2;
  --on-dark-muted: #C1BFCD;   /* the logo's lilac ring */
  --gold: #C9A84C;        /* the ask: buttons only */
  --gold-hover: #D8B95E;
  --gold-text: #7A5C10;   /* gold as text on paper (AA) */
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  /* Type scale — every text size on the site is one of these (DESIGN.md) */
  --fs-sm: 0.875rem;    /* 14px  meta, dates, captions, footer small print */
  --fs-ui: 0.9375rem;   /* 15px  labels, secondary text, buttons, card copy */
  --fs-body: 1.0625rem; /* 17px  reading text */
  --fs-lead: 1.1875rem; /* 19px  intros, quotes, pull lines */
  --fs-h4: 1.25rem;     /* 20px  serif: card titles, small headings */
  --fs-h3: 1.625rem;    /* 26px  serif: names, service verbs, article h2 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; overscroll-behavior: none; background: var(--navy); /* any overscroll that still happens shows header/footer purple */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lenis { scroll-behavior: auto; } /* Lenis (wtp-scroll.js) does the smoothing */
body {
  margin: 0;
  overscroll-behavior: none; /* no rubber-band past the header/footer */
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; font-family: var(--serif); }
b, strong, th { font-weight: 600; } /* one bold weight site-wide */
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden, .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: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Large monitors: a slightly wider column so the page doesn't float in empty space */
@media (min-width: 1800px) { :root { --wrap: 1320px; } }

/* ── Type ─────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.08;
}
.h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.15;
}
.h3 { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.3; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--body); max-width: 40em; }
.label {
  display: block; font: 600 var(--fs-ui)/1.3 var(--sans);
  color: var(--gold-text); margin-bottom: 18px;
}
.on-dark .label { color: var(--gold); }
.muted { color: var(--muted); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 2px;
  font: 600 var(--fs-ui)/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--ask { background: var(--gold); color: var(--navy); }
.btn--ask:hover { background: var(--gold-hover); color: var(--navy); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--white); }
.on-dark .btn--line { border-color: rgba(255,255,255,.55); color: var(--white); }
.on-dark .btn--line:hover { background: var(--white); color: var(--navy); }
/* One look for every "go somewhere" link: bold, purple, ends with an arrow */
.text-link, .door__go a:not(.btn), .service-row__go, .svc-index__go, .link-list a { font: 600 var(--fs-ui)/1.4 var(--sans); color: var(--navy); text-decoration: none; }
.text-link, .door__go a:not(.btn), .crumb, .td-back { display: inline-block; padding: 4px 0; }
.text-link:hover, .door__go a:not(.btn):hover, .link-list a:hover { color: var(--gold-text); text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--rule-dark); }
.site-header__bar { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand:hover { color: var(--white); }
.brand img { width: 46px; height: 46px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name b { font: 600 1.45rem/1.1 var(--serif); letter-spacing: -0.01em; color: var(--white); }
.brand__name small { margin-top: 3px; font: 400 0.82rem/1.3 var(--sans); color: var(--on-dark-muted); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--on-dark); text-decoration: none; font: 500 var(--fs-ui)/1 var(--sans);
  padding: 10px 12px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current] { color: var(--white); border-bottom-color: var(--gold); }
.site-nav__sep { width: 1px; height: 22px; background: var(--rule-dark); margin: 0 8px; }
.site-nav .btn { margin-left: 12px; min-height: 42px; padding: 10px 18px; border-bottom: 0; color: var(--navy); }
.site-nav .btn:hover { color: var(--navy); }
.site-nav__verb { color: var(--on-dark-muted); font-weight: 400; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule-dark); color: var(--white);
  min-height: 44px; padding: 8px 14px; font: 500 var(--fs-ui)/1 var(--sans); cursor: pointer; border-radius: 2px;
}
@media (max-width: 420px) {
  .site-header__bar { gap: 12px; }
  .brand { gap: 10px; }
  .site-header__bar { min-height: 76px; }
  .brand img { width: 38px; height: 38px; }
  .brand__name b { font-size: 1.22rem; }
  .brand__name small { font-size: .75rem; }
  .nav-toggle { padding: 8px 12px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--navy); border-bottom: 1px solid var(--rule-dark);
    max-height: calc(100vh - 88px); overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--rule-dark); font-size: var(--fs-body); }
  .site-nav a[aria-current] { border-bottom-color: var(--rule-dark); color: var(--gold); }
  .site-nav__sep { display: none; }
  .site-nav .btn { margin: 18px 0 0; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
/* Every page has the same rhythm: dark hero, then light sections that
   alternate paper / white automatically, then the dark footer. Pages never
   pick a background themselves. */
.section { padding: var(--section) 0; background: var(--paper); }
main > section.section:nth-of-type(odd):not(.on-dark) { background: var(--white); }
.on-dark { background: var(--navy); color: var(--on-dark); border-top: 0; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: var(--white); }
.on-dark a:not(.btn) { color: var(--white); }
.on-dark .lead, .on-dark p { color: var(--on-dark); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 18px; }
.section-foot { margin-top: clamp(32px, 4vw, 48px); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(72px, 11vw, 136px) 0 clamp(64px, 9vw, 112px); }
.hero--city {
  background-color: var(--hero);
  background-image:
    linear-gradient(100deg, rgba(64, 48, 127, 0.95) 0%, rgba(64, 48, 127, 0.86) 45%, rgba(64, 48, 127, 0.72) 100%),
    url('/assets/images/hero/city-of-london-2400.webp');
  background-size: cover; background-position: center 35%;
}
@media (max-width: 1200px) {
  .hero--city { background-image: linear-gradient(100deg, rgba(64, 48, 127, 0.95) 0%, rgba(64, 48, 127, 0.86) 45%, rgba(64, 48, 127, 0.72) 100%), url('/assets/images/hero/city-of-london-1200.webp'); }
}
@media (max-width: 620px) {
  .hero--city { background-image: linear-gradient(rgba(64, 48, 127, 0.9), rgba(64, 48, 127, 0.9)), url('/assets/images/hero/city-of-london-1200.webp'); background-position: 30% center; }
}
.hero .display { max-width: 15em; }
.hero .lead { max-width: 40em; margin-top: 28px; }
.hero .actions { margin-top: 40px; }
.hero__strap {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule-dark);
  font: 400 var(--fs-lead)/1.4 var(--serif); font-style: italic; color: var(--on-dark-muted);
}
.hero.on-dark, .page-hero.on-dark { background-color: var(--hero); }
/* Sub-page hero photos (s1 trial): the same purple tint as the homepage city
   hero, one photo per page. Credits: docs/image-credits.md. */
.page-hero--photo {
  background-color: var(--hero);
  background-image: linear-gradient(100deg, rgba(64, 48, 127, 0.95) 0%, rgba(64, 48, 127, 0.86) 45%, rgba(64, 48, 127, 0.72) 100%), var(--hero-img);
  background-size: cover; background-position: center;
}
@media (max-width: 620px) {
  .page-hero--photo { background-image: linear-gradient(rgba(64, 48, 127, 0.9), rgba(64, 48, 127, 0.9)), var(--hero-img-sm); }
}
.page-hero--direct { --hero-img: url('/assets/images/hero/direct-v2-2400.webp'); --hero-img-sm: url('/assets/images/hero/direct-v2-1200.webp'); }
.page-hero--build { --hero-img: url('/assets/images/hero/build-2400.webp'); --hero-img-sm: url('/assets/images/hero/build-1200.webp'); }
.page-hero--run { --hero-img: url('/assets/images/hero/run-2400.webp'); --hero-img-sm: url('/assets/images/hero/run-1200.webp'); }
.page-hero--move { --hero-img: url('/assets/images/hero/move-v2-2400.webp'); --hero-img-sm: url('/assets/images/hero/move-v2-1200.webp'); }
.page-hero--services { --hero-img: url('/assets/images/hero/services-v2-2400.webp'); --hero-img-sm: url('/assets/images/hero/services-v2-1200.webp'); }
.page-hero--about { --hero-img: url('/assets/images/hero/about-2400.webp'); --hero-img-sm: url('/assets/images/hero/about-1200.webp'); }
.page-hero--insights { --hero-img: url('/assets/images/hero/insights-2400.webp'); --hero-img-sm: url('/assets/images/hero/insights-1200.webp'); }
@media (max-width: 1200px) {
  .page-hero--direct { --hero-img: url('/assets/images/hero/direct-v2-1200.webp'); }
  .page-hero--build { --hero-img: url('/assets/images/hero/build-1200.webp'); }
  .page-hero--run { --hero-img: url('/assets/images/hero/run-1200.webp'); }
  .page-hero--move { --hero-img: url('/assets/images/hero/move-v2-1200.webp'); }
  .page-hero--services { --hero-img: url('/assets/images/hero/services-v2-1200.webp'); }
  .page-hero--about { --hero-img: url('/assets/images/hero/about-1200.webp'); }
  .page-hero--insights { --hero-img: url('/assets/images/hero/insights-1200.webp'); }
}
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-hero .display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 18em; }
.page-hero .lead { max-width: 42em; margin-top: 24px; }
.page-hero .actions { margin-top: 36px; }
.crumb { display: inline-block; margin-bottom: 22px; font: 500 var(--fs-sm)/1.3 var(--sans); color: var(--on-dark-muted); text-decoration: none; }
.on-dark a.crumb { color: var(--on-dark-muted); }
.on-dark a.crumb:hover { color: var(--white); }
.pull {
  margin-top: 28px; padding-left: 20px; border-left: 2px solid var(--gold);
  font: 400 var(--fs-lead)/1.5 var(--serif); font-style: italic; max-width: 40em;
}

/* ── Credibility band ─────────────────────────────────────────────────── */
.cred { background: var(--white); border-bottom: 1px solid var(--rule); padding: 28px 0; }
.cred__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.cred__text { margin: 0; font-size: var(--fs-body); color: var(--ink); }
.cred__text strong { font-weight: 600; }
.partners__label { font: 500 var(--fs-ui)/1.3 var(--sans); color: var(--muted); }
.partners { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.partners__names { font: 400 var(--fs-lead)/1.3 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.partners__names:hover { color: var(--gold-text); border-bottom-color: currentColor; }
.clients { list-style: none; }
.clients .cell { display: flex; flex-direction: column; gap: 8px; padding-top: clamp(28px, 3.4vw, 40px); padding-bottom: clamp(28px, 3.4vw, 40px); }
.clients__name { font: 600 var(--fs-h3)/1.2 var(--serif); color: var(--ink); }
.clients__what { color: var(--muted); font-size: var(--fs-ui); }

/* ── Grids ────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 0; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
/* 4-up rows go 2x2 before the cards get cramped; 3-up rows stay 3 across, then
   stack in one column (never 2+1, which strands a card next to empty space). */
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid--4, .grid--2 { grid-template-columns: 1fr; } }

/* Ruled cells: hairline grid, no cards, no shadows */
.cells { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(24px, 3vw, 34px); background: var(--white); }
main > section.section:nth-of-type(odd):not(.on-dark) .cell { background: var(--paper); }
.cell__n { display: block; font: 600 var(--fs-ui)/1 var(--sans); color: var(--gold-text); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.cell .h3 + p { margin-top: 10px; }
.cell p { font-size: var(--fs-ui); }
.cell .pull { font-size: var(--fs-lead); }

/* Complaints: quote, then what's missing */
.complaint { display: flex; flex-direction: column; }
.complaint blockquote { margin: 0 0 24px; font: 400 var(--fs-lead)/1.45 var(--serif); color: var(--ink); }
.complaint__missing { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); font-size: var(--fs-ui); color: var(--muted); }
.complaint__missing b { color: var(--ink); font-weight: 600; }
.closing { margin-top: clamp(32px, 4vw, 44px); max-width: 52em; font: 400 var(--fs-h4)/1.5 var(--serif); color: var(--ink); }

/* Numbered reasons — first one larger */
.reasons { list-style: none; counter-reset: r; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.reasons li::before { content: "0" counter(r); font: 600 var(--fs-ui)/1.75 var(--sans); color: var(--gold-text); }
.reasons p { margin: 0; max-width: 46em; }
.reasons li:first-child p { font: 400 var(--fs-h4)/1.5 var(--serif); color: var(--ink); }
.reasons li:first-child p strong { font-weight: 600; }
@media (max-width: 620px) {
  .reasons li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .reasons li::before { line-height: 1; }
  .reasons li:first-child p { font-size: var(--fs-h4); }
}

/* Plain list with rules (costs, outputs) */
.ruled { list-style: none; border-top: 1px solid var(--rule); }
.ruled li { padding: 18px 0 18px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.ruled li, .cell p, .faq p, .person p, .reasons p { max-width: 68ch; }
.ruled li::before { content: ""; position: absolute; left: 0; top: 29px; width: 14px; height: 2px; background: var(--gold-text); }
.on-dark .ruled, .on-dark .ruled li { border-color: var(--rule-dark); }
.on-dark .ruled li::before { background: var(--gold); }

/* Two-column section: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 112px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .section-head { position: static; } }

/* Left-column visuals for split sections (fill the space under the heading) */
.when { list-style: none; margin: 40px 0 0; max-width: 360px; position: relative; }
.when::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; border-left: 2px solid var(--rule); }
.when li { position: relative; padding: 0 0 26px 30px; }
.when li:last-child { padding-bottom: 0; }
.when li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold-text); }
.when b { display: block; font: 600 var(--fs-body)/1.3 var(--serif); color: var(--ink); }
.when span { display: block; margin-top: 4px; font-size: var(--fs-ui); color: var(--muted); }
.when-fig { margin: 0; }
.when-fig figcaption { margin-top: 22px; max-width: 360px; font-size: var(--fs-ui); color: var(--body); }
/* On phones the split stacks, so these would just repeat the list below them */
.when--wide { margin: 0; max-width: none; }
.when--wide li { padding-bottom: 34px; }
.when--wide b { font-size: var(--fs-h4); }
.when--wide span { font-size: var(--fs-body); color: var(--body); max-width: 60ch; margin-top: 6px; }
.points { list-style: none; }
.svc-index { list-style: none; }
.svc-index .cell { padding: 0; }
.svc-index a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(28px, 3.4vw, 40px); text-decoration: none; color: inherit; }
.svc-index b { font: 600 var(--fs-h3)/1.15 var(--serif); color: var(--ink); }
.svc-index__name { font-size: var(--fs-body); color: var(--ink); }
.svc-index__first { font-size: var(--fs-ui); color: var(--muted); }
.svc-index__go { margin-top: 14px; }
.svc-index a:hover b, .svc-index a:hover .svc-index__go { color: var(--gold-text); }
.points .cell { font-size: var(--fs-body); color: var(--body); }
@media (max-width: 860px) { .when-fig--keep { margin-top: 28px; } }

/* ── The four services: equal rows ────────────────────────────────────── */
.services { border-top: 1px solid var(--rule); }
.service-row {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: 16px 48px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit;
}
.service-row__name { display: flex; flex-direction: column; gap: 6px; }
.service-row__verb { font: 600 var(--fs-h3)/1.15 var(--serif); color: var(--ink); }
.service-row__tag { font: 500 var(--fs-ui)/1.3 var(--sans); color: var(--muted); }
.service-row p { margin: 0; }
.service-row__first { font-size: var(--fs-ui); color: var(--muted); }
.service-row__first b { display: block; color: var(--ink); font-size: var(--fs-body); margin-bottom: 2px; }
.service-row__go { display: inline-block; }
a.service-row:hover .service-row__verb, a.service-row:hover .service-row__go { color: var(--gold-text); }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; } }

/* Front doors */
.door { display: flex; flex-direction: column; }
.door__svc { font: 600 var(--fs-ui)/1.3 var(--sans); color: var(--gold-text); }
.door__time { margin: 18px 0 4px; font: 600 clamp(2rem, 3.2vw, 2.5rem)/1.05 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.door__price { font-size: var(--fs-ui); color: var(--muted); margin: 6px 0 18px; }
.door__price strong { display: block; font-size: var(--fs-body); color: var(--ink); margin-bottom: 2px; }
.door .h3 { margin-bottom: 10px; }
.door p { font-size: var(--fs-ui); }
.door__go { margin-top: auto; padding-top: 22px; }
.note { margin-top: 24px; font-size: var(--fs-ui); color: var(--ink); }

/* Proof figures */
.figure__n { display: block; font: 600 clamp(2rem, 3.2vw, 2.5rem)/1.05 var(--serif); color: var(--ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.figure p { font-size: var(--fs-ui); }

/* People */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 720px) { .people { grid-template-columns: 1fr; } }
.person { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; align-items: start; }
.person img { width: 148px; height: 196px; object-fit: cover; object-position: center 20%; background: var(--paper-2); }
.person h3 { font: 600 var(--fs-h3)/1.2 var(--serif); }
.person__role { display: block; margin: 4px 0 12px; font-size: var(--fs-ui); color: var(--gold-text); font-weight: 600; }
.person p { font-size: var(--fs-ui); }
.person a { font-size: var(--fs-ui); overflow-wrap: normal; display: inline-block; padding: 4px 0; }
@media (max-width: 440px) { .person { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; } .person img { width: 96px; height: 128px; } }

/* Seats table */
.seats { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule); }
.seats th, .seats td { text-align: left; vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.seats th { width: 34%; padding-right: 32px; font: 600 var(--fs-body)/1.4 var(--sans); color: var(--ink); }
.seats td { color: var(--body); }
.seats td a { font-weight: 600; }
@media (max-width: 620px) { .seats th, .seats td { display: block; width: auto; } .seats th { padding-bottom: 4px; border-bottom: 0; } .seats td { padding-top: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 22px 0; font: 600 var(--fs-body)/1.4 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--gold-text); flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-text); }
.faq details > div { padding: 0 48px 24px 0; max-width: 50em; }

/* Service page: four-up "what it covers" and flow strip */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.flow a, .flow span.flow__here {
  display: block; padding: 22px 20px 22px 0; text-decoration: none; color: var(--muted);
  border-top: 2px solid transparent; margin-top: -1px; font-size: var(--fs-ui);
}
.flow b { display: block; font: 600 var(--fs-h4)/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.flow a:hover b { color: var(--gold-text); }
.flow .flow__here { border-top-color: var(--gold-text); }
.flow .flow__here b { color: var(--gold-text); }
@media (max-width: 720px) { .flow { grid-template-columns: repeat(2, 1fr); } }


/* ── Contact ──────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  .form { padding: 20px 16px; }
  .cf-turnstile { zoom: 0.82; }   /* the widget is a fixed 300px; scale it into a 320px screen */
}
.steps { list-style: none; margin-top: 32px; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps__n { font: 600 var(--fs-ui)/1.6 var(--sans); color: var(--gold-text); }
.steps strong { display: block; color: var(--ink); }
.steps span:not(.steps__n) { color: var(--muted); font-size: var(--fs-ui); }
.direct { margin-top: 32px; display: grid; gap: 10px; font-size: var(--fs-ui); }


.form { background: var(--white); border: 1px solid var(--rule); color: var(--body); padding: clamp(24px, 3.4vw, 40px); border-radius: 2px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field-label { display: block; margin-bottom: 8px; font: 600 var(--fs-sm)/1.3 var(--sans); color: var(--ink); padding: 0; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #C9C4B8; border-radius: 2px;
  background: var(--white); color: var(--ink); font: 400 var(--fs-body)/1.4 var(--sans);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.form ::placeholder { color: #6B7280; }
.choice { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.choice label {
  position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 10px 12px;
  border: 1px solid #C9C4B8; border-radius: 2px; cursor: pointer; font-size: var(--fs-sm); color: var(--muted);
}
.choice label b { color: var(--ink); font-size: var(--fs-ui); }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F6F4FB; }
.choice label:has(input:focus-visible) { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 4px; }
.form__picked { margin: 0 0 18px; padding: 10px 14px; background: var(--paper-2); font-size: var(--fs-ui); color: var(--ink); }
.contact-form__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cf-turnstile { margin-bottom: 16px; min-height: 65px; }
.wtp-contact-form__status { margin: 14px 0 0; font-size: var(--fs-ui); }
.wtp-contact-form__status--error { color: #A61B1B; }
.wtp-contact-form__status--ok, .wtp-contact-form__status--success { color: #1D6B3A; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--rule-dark); background: var(--navy); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: var(--fs-ui); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule-dark); }
.site-footer__logo { flex: none; margin-right: 0; }
.site-footer__logo:hover { text-decoration: none; }
.site-footer__strap { margin: 0; font: 600 var(--fs-h3)/1.2 var(--serif); color: var(--white); }
.site-footer__about { margin: 8px 0 0; font-size: var(--fs-body); color: var(--on-dark-muted); }
.site-footer a.site-footer__cta { color: var(--navy); }
.site-footer a.site-footer__cta:hover { color: var(--navy); text-decoration: none; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: clamp(32px, 4vw, 48px) 0; }
.site-footer__head { margin: 0 0 14px; font: 600 var(--fs-body)/1.3 var(--sans); color: var(--white); }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-footer__col a, .site-footer__bar a { display: inline-block; padding: 3px 0; }
.site-footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--rule-dark); font-size: var(--fs-sm); }
.site-footer__bar p { margin: 0; }
.site-footer__legal { display: inline-block; margin-top: 4px; font-size: 0.8rem; color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: auto minmax(0, 1fr); }
  .site-footer__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 620px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ── Insights ─────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; }
.filters__label { font-size: var(--fs-sm); color: var(--muted); margin-right: 6px; }
.filter-btn {
  min-height: 40px; padding: 8px 14px; border: 1px solid var(--rule); background: var(--white); color: var(--ink);
  font: 500 var(--fs-sm)/1 var(--sans); border-radius: 2px; cursor: pointer;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters__count { margin-left: auto; font-size: var(--fs-sm); color: var(--muted); }
.articles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 960px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .articles { grid-template-columns: 1fr; } }
.article-card { display: flex; flex-direction: column; position: relative; }
.article-card[hidden] { display: none; }
.article-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); margin-bottom: 18px; }
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card__cat { font: 600 var(--fs-ui)/1.3 var(--sans); color: var(--gold-text); margin-bottom: 8px; }
.article-card h3 { font: 600 var(--fs-h4)/1.3 var(--serif); margin-bottom: 10px; }
.article-card h3 a { text-decoration: none; color: var(--ink); }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover h3 a { color: var(--gold-text); }
.article-card p { font-size: var(--fs-ui); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__date { margin-top: 14px; font-size: var(--fs-ui); color: var(--muted); }
.articles-empty { padding: 24px; background: var(--white); border: 1px solid var(--rule); }
.articles-empty strong { display: block; }

/* Article page */
.article-head .display { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 22em; }
.article-meta { margin-top: 22px; font-size: var(--fs-ui); color: var(--on-dark-muted); }
.article-meta a { color: var(--gold) !important; text-decoration: none; font-weight: 600; display: inline-block; padding: 4px 0; }
.article-hero-img { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); transform: translateY(-48px); }
.article-hero-img img { width: 100%; height: auto; }
@media (max-width: 620px) { .article-hero-img { transform: none; margin-top: 28px; margin-bottom: 36px; } }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); font-size: var(--fs-body); line-height: 1.75; color: var(--body); overflow-wrap: anywhere; }
.article-body h2 { font: 600 var(--fs-h3)/1.25 var(--serif); margin: 2.2em 0 .6em; }
.article-body h3 { font: 600 var(--fs-h4)/1.3 var(--serif); margin: 1.8em 0 .5em; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-body img { margin: 2em 0; }
.article-body blockquote { margin: 1.8em 0; padding-left: 22px; border-left: 2px solid var(--gold); font: italic 400 var(--fs-lead)/1.55 var(--serif); color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: var(--fs-ui); display: block; overflow-x: auto; }
.article-body th, .article-body td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.article-body th { color: var(--ink); }
.article-back { max-width: 720px; margin: 56px auto 0; padding: 28px var(--gutter) 0; border-top: 1px solid var(--rule); }
.article-back a { font-weight: 600; text-decoration: none; }

/* Legal pages (privacy) and 404 */
.td-legal__body { max-width: 760px; }
.td-legal__body h2 { font: 600 var(--fs-h3)/1.3 var(--serif); margin: 2em 0 .6em; }
.td-legal__body h3 { font: 600 var(--fs-h4)/1.3 var(--serif); margin: 1.6em 0 .5em; }
.td-legal__body ul { padding-left: 1.3em; margin-bottom: 1em; }
.td-legal__body li { margin-bottom: .4em; }
.td-legal__body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: var(--fs-ui); }
.td-legal__body th, .td-legal__body td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.td-legal__body th { color: var(--ink); }
@media (max-width: 620px) {
  .td-legal__body thead { display: none; }
  .td-legal__body tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .td-legal__body td { display: block; border: 0; padding: 4px 0; }
  .td-legal__body td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
.link-list { list-style: none; border-top: 1px solid var(--rule); max-width: 560px; }
.link-list li { border-bottom: 1px solid var(--rule); }
.link-list a { display: block; padding: 16px 0; font-size: var(--fs-body); }

/* Consent banner (src/_includes/ga4.njk) */
.wtp-consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--body); border: 1px solid var(--rule); padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(30, 18, 73, .18); font-size: var(--fs-ui);
}
.wtp-consent-banner p { margin: 0 0 14px; }
.wtp-consent-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }
.wtp-consent-banner button { min-height: 44px; padding: 10px 18px; border-radius: 2px; font: 600 var(--fs-ui)/1 var(--sans); cursor: pointer; }
.wtp-consent-banner__reject { background: var(--white); border: 1px solid var(--navy); color: var(--navy); }
.wtp-consent-banner__accept { background: var(--navy); border: 1px solid var(--navy); color: var(--white); }

@media print {
  .site-header, .site-footer, .form, .skip-link { display: none !important; }
  .on-dark { background: none; color: #000; }
  .on-dark * { color: #000 !important; }
}

/* Sent state (wtp-contact-form.js injects a dark overlay; restyle for the white form) */
.form .wtp-sent-over { background: rgba(255, 255, 255, .94) !important; }
.form .wtp-sent-over__title { color: var(--navy) !important; text-shadow: none !important; }
.form .wtp-sent-over__msg { color: var(--body) !important; text-shadow: none !important; font-weight: 500 !important; }
.form .wtp-sent-over__again { color: var(--navy) !important; }
.form button[type=submit].is-done { background: var(--navy) !important; color: var(--white) !important; }

.wtp-consent-banner:focus { outline: none; }

/* ── Scroll-in motion (wtp-motion.js) ─────────────────────────────────────
   Only active once the script adds html.motion — which it never does for
   prefers-reduced-motion — so nothing is hidden for no-JS or reduced-motion
   visitors. transform + opacity only. */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  transition: opacity 0.55s ease-out, transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1); /* back-out: ~2px overshoot */
  transition-delay: var(--reveal-delay, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
/* After the pop, card grids trail the scroll by a few px (--lag, set per grid) */
.motion .cells > [data-reveal].is-settled { transition: none; transform: translate3d(0, calc(var(--lag, 0px) * var(--lag-k, 1)), 0); }
@media print { .motion [data-reveal] { opacity: 1 !important; transform: none !important; } }
