/* =====================================================================
   iCXO — International Tax Specialists
   Design system: "Quiet Authority", re-based on the iCXO brand palette
   Primary #4ECCA3 (mint) · Secondary #545454 (logo grey)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand-mint: #4ECCA3;      /* primary accent */
  --brand-mint-deep: #157a5c; /* accessible mint for text/links on light */
  --brand-mint-soft: #e7f7f1; /* mint wash for surfaces */
  --grey: #545454;            /* body / secondary text (logo grey) */

  /* Neutrals */
  --ink: #10201b;             /* headlines + dark text (deep spruce) */
  --ink-surface: #1a3a30;     /* dark section / banner background (a shade up from --ink) */
  --ink-2: #24463b;           /* raised surface on dark (lighter than --ink-surface) */
  --ivory: #f7f5f1;           /* warm page background */
  --white: #ffffff;
  --hairline: #e4e0d8;        /* borders / rules */
  --hairline-dark: rgba(255,255,255,.14);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px -22px rgba(16,32,27,.35);
  --shadow-sm: 0 8px 24px -14px rgba(16,32,27,.30);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .25vw, 1.08rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-mint-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 40, "SOFT" 0;
}
h1 { font-size: clamp(2.35rem, 1.7rem + 3.2vw, 4.35rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.95rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.65rem); }
p { margin: 0 0 1rem; max-width: 68ch; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-mint-deep); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand-mint); display: inline-block; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--ink); line-height: 1.5; }
.muted { color: var(--grey); }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary { background: var(--brand-mint); color: var(--ink); box-shadow: 0 12px 26px -12px rgba(78,204,163,.7); }
.btn-primary:hover { background: #43bf97; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost, .btn-ghost.on-dark { color: var(--white); border-color: var(--hairline-dark); }
.on-dark .btn-ghost:hover { border-color: var(--white); }
/* Ghost buttons sitting on any dark surface: keep text visible (was ink-on-ink) */
.hero .btn-ghost, .cta-band .btn-ghost, .dark .btn-ghost, .selfcheck .btn-ghost { color: var(--white); border-color: var(--hairline-dark); }
.hero .btn-ghost:hover, .cta-band .btn-ghost:hover, .dark .btn-ghost:hover, .selfcheck .btn-ghost:hover { border-color: var(--white); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.textlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--brand-mint-deep); }
.textlink .arw { transition: transform .25s var(--ease); }
.textlink:hover .arw { transform: translateX(4px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,245,241,.82); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 2rem; width: auto; display: block; aspect-ratio: 9177 / 2659; }
.footer-brand .brand-logo { height: 2.5rem; }
.mobile-nav .m-top .brand-logo { height: 2rem; }
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links > * { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem;
  font: inherit; font-weight: 500; font-size: .97rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: .55rem .7rem; border-radius: 8px;
}
.nav-link:hover, .nav-trigger:hover { text-decoration: none; background: rgba(16,32,27,.05); }
.nav-trigger .chev { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.has-menu.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-menu.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .7rem .8rem; border-radius: 9px; color: var(--ink); }
.dropdown a:hover { background: var(--brand-mint-soft); text-decoration: none; }
.dropdown a .dd-t { display: block; font-weight: 600; font-size: .98rem; color: var(--ink); }
.dropdown a span { display: block; font-size: .84rem; color: var(--grey); margin-top: .1rem; }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink-surface); margin: 5px 0; transition: .25s var(--ease); }

/* Mobile nav overlay */
.mobile-nav { position: fixed; inset: 0; z-index: 70; background: var(--ink-surface); color: var(--white);
  transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .m-top { display: flex; align-items: center; height: 74px; }
.mobile-nav .brand { color: var(--white); }
.m-close { margin-left: auto; background: none; border: 0; color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.m-group { border-top: 1px solid var(--hairline-dark); }
.m-group > a, .m-acc-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; color: var(--white); font-family: var(--font-display); font-size: 1.5rem; background: none; border: 0; cursor: pointer; text-align: left; }
.m-acc-trigger > span { flex: none; font-family: var(--font-body); color: var(--brand-mint); padding-right: 2px; }
.m-acc-panel { display: none; padding-bottom: .8rem; }
.m-acc-panel.open { display: block; }
.m-acc-panel a { display: block; color: rgba(255,255,255,.82); padding: .5rem 0 .5rem 1rem; font-size: 1.02rem; border-left: 2px solid var(--brand-mint); margin-bottom: .3rem; }
.mobile-nav .btn { margin-top: 1.5rem; justify-content: center; }

/* Sticky mobile CTA bar */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: var(--ink-surface); padding: .7rem var(--gutter); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.6); }
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ---------- Dark section base ---------- */
.dark { background: var(--ink-surface); color: rgba(255,255,255,.82); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow { color: var(--brand-mint); }
.dark .lede { color: rgba(255,255,255,.9); }
.dark a { color: var(--brand-mint); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-surface); color: var(--white); overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0; background:
  radial-gradient(1100px 520px at 78% -8%, rgba(78,204,163,.20), transparent 60%),
  radial-gradient(700px 400px at 8% 108%, rgba(78,204,163,.10), transparent 60%);
  pointer-events:none; }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,.86); max-width: 46ch; }
.hero-rule { width: 68px; height: 3px; background: var(--brand-mint); border: 0; margin: 1.5rem 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; align-items: center; }

/* Founder card */
.founder-card { background: rgba(255,255,255,.05); border: 1px solid var(--hairline-dark); border-radius: 18px;
  padding: 1.4rem; backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.founder-photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/4.4; margin-bottom: 1.1rem; }
.founder-card .name { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin: 0; }
.founder-card .creds { color: var(--brand-mint); font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin: .25rem 0 .8rem; }
.founder-card .quote { color: rgba(255,255,255,.85); font-style: italic; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.45; }

/* ---------- Photo placeholder frames (duotone) ---------- */
.ph {
  position: relative; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(78,204,163,.28), rgba(16,32,27,.9)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
  background-color: var(--ink-2);
  display: flex; align-items: flex-end; min-height: 220px; color: rgba(255,255,255,.9);
}
.ph::before { content: "◧"; position: absolute; top: 12px; left: 14px; font-size: 1.1rem; opacity: .6; }
/* Image stays invisible (revealing the placeholder box) until it actually loads,
   so a not-yet-added / missing image never shows a broken-image icon. */
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3;
  display: block; opacity: 0; transition: opacity .35s var(--ease); }
.ph-img.loaded { opacity: 1; }
.ph .cap { position: relative; z-index: 2; padding: .8rem 1rem; font-size: .8rem; letter-spacing: .02em;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); width: 100%; }
.ph .cap b { display:block; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--brand-mint); margin-bottom: .15rem; }

/* ---------- Publications (book cards) ---------- */
.book-card { display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; align-items: start; }
.book-card .book-cover { aspect-ratio: 2/3; min-height: 0; height: 180px; border-radius: 8px; }
.book-card__title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); margin-bottom: .4rem; }
.book-card__blurb { color: var(--grey); }
@media (max-width: 560px) {
  .book-card { grid-template-columns: 1fr; gap: 1.2rem; }
  .book-card .book-cover { width: 150px; height: 225px; }
}

/* ---------- Problem band ---------- */
.chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.chips li { display: flex; align-items: flex-start; gap: .6rem; padding: 1rem 1.1rem; border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm); font-size: .98rem; color: rgba(255,255,255,.9); background: rgba(255,255,255,.03); }
.chips li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .5rem; border-radius: 50%; background: var(--brand-mint); box-shadow: 0 0 0 4px rgba(78,204,163,.16); }

/* ---------- Persona / feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7d1c5; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-mint-soft); color: var(--brand-mint-deep);
  display: grid; place-items: center; margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .5rem; }
.card .pill { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color: var(--brand-mint-deep); background: var(--brand-mint-soft); padding:.3rem .6rem; border-radius:999px; margin-bottom:.9rem; }

/* ---------- Product ladder ---------- */
.ladder { display: grid; gap: 1.1rem; margin-top: 1rem; }
.rung { display: grid; grid-template-columns: 56px 1fr auto; gap: 1.4rem; align-items: start;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.6rem 1.8rem;
  position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rung, .rung:hover { text-decoration: none; color: inherit; }
.rung:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rung .step { font-family: var(--font-display); font-size: 2rem; color: var(--brand-mint); line-height: 1; }
.rung h3 { margin-bottom: .3rem; }
.rung .who { font-size: .9rem; color: var(--brand-mint-deep); font-weight: 600; margin-bottom: .5rem; }
.rung .price { text-align: right; white-space: nowrap; }
.rung .price b { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); display: block; }
.rung .price span { font-size: .8rem; color: var(--grey); }
.rung.feature { border-color: var(--brand-mint); box-shadow: 0 0 0 1px var(--brand-mint), var(--shadow-sm); }
.ladder-scale { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey); margin-top: 1.2rem; }
.ladder-scale .bar { flex: 1; height: 2px; margin: 0 1rem; background: linear-gradient(90deg, var(--hairline), var(--brand-mint)); }

/* ---------- Corridor map ---------- */
.map-panel { background: var(--ink-surface); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.6rem); color: var(--white); box-shadow: var(--shadow); }
.map-svg { width: 100%; height: auto; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.tier { border: 1px solid var(--hairline-dark); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; background: rgba(255,255,255,.03); }
.tier .t-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-mint); font-weight: 700; margin-bottom: .5rem; }
.tier b { color: var(--white); }
.tier p { color: rgba(255,255,255,.72); font-size: .92rem; margin: .3rem 0 0; }

/* ---------- Credential strip ---------- */
.creds-strip { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 999px; padding: .55rem 1.1rem; background: var(--white); font-size: .92rem; }
.badge .b-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-mint); }

/* ---------- Case study / testimonial ---------- */
.case { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.case .body { padding: 1.6rem 1.7rem; }
.case .tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-mint-deep); }
.case h3 { margin: .5rem 0; font-size: 1.25rem; }
.quote-card { background: var(--brand-mint-soft); border: 0; border-radius: var(--radius); padding: 1.8rem; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.quote-card .by { margin-top: 1rem; font-size: .9rem; color: var(--grey); font-weight: 600; }
.rag { display: inline-flex; gap: .4rem; margin-left: .4rem; vertical-align: middle; }
.rag i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.rag .r { background: #d9534f; } .rag .a { background: #e0a33e; } .rag .g { background: var(--brand-mint); }

/* ---------- Video slot ---------- */
.video-slot { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); background: var(--ink-surface); }
.video-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-slot .play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--brand-mint); color: var(--ink); display: grid; place-items: center; z-index: 3; box-shadow: 0 10px 30px -8px rgba(78,204,163,.8); }
.video-slot .play svg { margin-left: 4px; }

/* ---------- Booking embed (Microsoft Bookings iframe) ---------- */
/* Booking: a slim "what to expect" row above a full-width, frameless embed so
   the Microsoft Bookings widget fills the space and reads as part of the page. */
.booking-steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.bstep { display: flex; gap: .8rem; align-items: flex-start; }
.bstep .bnum { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--brand-mint-soft);
  color: var(--brand-mint-deep); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.bstep p { margin: 0; color: var(--grey); line-height: 1.5; font-size: .98rem; }
.bstep b { color: var(--ink); }
/* Frameless, full-width embed — no border/shadow, so there is no "pane" to sit inside. */
.booking-embed { width: 100%; }
.booking-embed iframe { display: block; width: 100%; min-height: 2200px; border: 0; }
.booking-alt { margin-top: 1.2rem; font-size: .92rem; color: var(--grey); text-align: center; }
.booking-alt a { font-weight: 600; }
@media (max-width: 760px) {
  .booking-steps-row { grid-template-columns: 1fr; gap: .9rem; }
  .booking-embed iframe { min-height: 2600px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 1.3rem 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.faq-q .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--hairline); position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--brand-mint-deep); inset: 0; margin: auto; }
.faq-q .pm::before { width: 12px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 12px; transition: transform .25s var(--ease); }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a .inner { padding: 0 0 1.4rem; max-width: 70ch; }

/* ---------- Self-check (lead magnet) ---------- */
.selfcheck { background: var(--ink-surface); color: var(--white); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.6rem); }
.selfcheck ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; }
.selfcheck li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(255,255,255,.9); }
.selfcheck li::before { content:"✓"; color: var(--ink); background: var(--brand-mint); font-weight: 700; width: 22px; height: 22px;
  border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .8rem; margin-top: .15rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.step-card { position: relative; padding-top: 3.2rem; }
.step-card::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 2.4rem; color: var(--brand-mint); }
.step-card h3 { font-size: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-surface); color: var(--white); border-radius: 22px; padding: clamp(2rem, 4vw, 3.2rem);
  position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 88% 10%, rgba(78,204,163,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
/* Ensure text is legible on the dark CTA / self-check / map surfaces */
.cta-band h1, .cta-band h2, .cta-band h3,
.selfcheck h1, .selfcheck h2, .selfcheck h3,
.map-panel h2, .map-panel h3 { color: var(--white); }
.cta-band .lede, .selfcheck .lede { color: rgba(255,255,255,.9); }
.cta-band p:not(.by):not(.form-note), .selfcheck p:not(.by):not(.form-note) { color: rgba(255,255,255,.82); }
.cta-band .eyebrow, .selfcheck .eyebrow, .map-panel .eyebrow { color: var(--brand-mint); }

.signup { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.signup input { flex: 1; min-width: 200px; padding: .9rem 1.1rem; border-radius: 999px; border: 1px solid var(--hairline-dark);
  background: rgba(255,255,255,.06); color: var(--white); font: inherit; }
.signup input::placeholder { color: rgba(255,255,255,.55); }
.magnet { border: 1px dashed var(--hairline-dark); border-radius: var(--radius); padding: 1.4rem; margin-top: 1.2rem; }
.magnet b { color: var(--brand-mint); }

/* ---------- Insights teaser ---------- */
.post { position: relative; display: block; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
/* stretched-link: keep the whole card clickable while the real anchor text stays short */
.stretched-link { color: inherit; text-decoration: none; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 5; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.post .body { padding: 1.3rem 1.4rem; }
.post .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-mint-deep); }
.post h3 { font-size: 1.18rem; margin: .5rem 0 .3rem; }
.post p { color: var(--grey); font-size: .95rem; margin: 0; }

/* ---------- Insights filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-chip { font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer;
  background: var(--white); border: 1px solid var(--hairline); border-radius: 999px; padding: .55rem 1.1rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.filter-chip:hover { border-color: var(--brand-mint-deep); }
.filter-chip.is-active { background: var(--brand-mint); border-color: var(--brand-mint); color: var(--ink); }
.insight-card[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-surface); color: rgba(255,255,255,.7); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { color: var(--white); }
.footer-pos { color: rgba(255,255,255,.75); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; margin: 1rem 0; max-width: 34ch; }
.site-footer .foot-h { color: var(--white); font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .95rem; }
.site-footer a:hover { color: var(--brand-mint); text-decoration: none; }
.footer-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.footer-badges .badge { background: rgba(255,255,255,.05); border-color: var(--hairline-dark); color: var(--white); font-size: .82rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hairline-dark); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-parent { color: rgba(255,255,255,.5); font-size: .82rem; }

/* ---------- Article (dark-green header + editorial body) ---------- */
/* Dark hero band behind the title (matches the site hero). */
.art-hero { position: relative; background: var(--ink-surface); color: var(--white); overflow: hidden; }
.art-hero::after { content:""; position:absolute; inset:0; background:
  radial-gradient(1100px 520px at 78% -8%, rgba(78,204,163,.20), transparent 60%),
  radial-gradient(700px 400px at 8% 108%, rgba(78,204,163,.10), transparent 60%);
  pointer-events:none; }
.art-hero .wrap { position: relative; z-index: 2; padding-block: clamp(3rem, 6vw, 5.5rem); }

.art-head { max-width: 760px; }
.art-cat { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--brand-mint); margin-bottom: 1.1rem; }
.art-cat:hover { text-decoration: none; opacity: .85; }
.art-title { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); line-height: 1.06; margin: 0 0 1.3rem; max-width: 20ch; }
.art-dek { color: rgba(255,255,255,.82); font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55;
  max-width: 54ch; margin: 0 0 1.8rem; }
.art-byline { display: flex; align-items: center; gap: .8rem; }
.art-byline-av { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: var(--ink-2); box-shadow: 0 0 0 2px rgba(78,204,163,.45); }
.art-byline-txt { display: flex; flex-direction: column; line-height: 1.35; }
.art-byline-txt b { color: var(--white); font-size: .95rem; }
.art-byline-meta { color: rgba(255,255,255,.6); font-size: .85rem; }

/* Body column (narrower reading measure on the ivory ground). */
.art-body { max-width: 880px; }
.draft-banner { background: #fff7e6; border: 1px solid #f0d68a; color: #7a5a00; border-radius: var(--radius-sm);
  padding: .8rem 1rem; font-size: .9rem; margin: 2rem 0 0; text-align: center; }
.draft-banner code { background: rgba(0,0,0,.06); padding: .05rem .35rem; border-radius: 5px; font-size: .85em; }

.art-hero-img { position: relative; aspect-ratio: 16 / 9; margin: clamp(2.5rem, 6vw, 4rem) auto 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--ink-2); }

/* Long-form prose */
.prose { max-width: 68ch; margin: 2.8rem auto 0; font-size: 1.12rem; line-height: 1.75; color: var(--grey); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--ink); margin: 2.6rem 0 1rem; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin: 2rem 0 .8rem; }
.prose p { margin: 0 0 1.3rem; }
.prose a { color: var(--brand-mint-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.prose li { margin: 0 0 .6rem; }
.prose li::marker { color: var(--brand-mint-deep); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--radius-sm); margin: 1.8rem 0; box-shadow: var(--shadow-sm); }
.prose blockquote { margin: 2rem 0; padding: .4rem 0 .4rem 1.6rem; border-left: 3px solid var(--brand-mint);
  font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--ink); font-style: normal; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.4rem 0; }
.prose code { background: rgba(16,32,27,.06); padding: .1rem .4rem; border-radius: 5px; font-size: .9em; }

.art-share { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; max-width: 68ch;
  margin: 3rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--hairline); }
.art-share-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey); font-weight: 600; }
.art-share-link { font-weight: 600; }

/* ---------- Accountancy pages ---------- */
/* Breadcrumb path shown on dark heros */
.crumb { font-size: .82rem; letter-spacing: .02em; color: rgba(255,255,255,.62); margin: 0 0 1rem; }
.crumb a { color: rgba(255,255,255,.8); }
.crumb a:hover { color: var(--brand-mint); }

/* Tick list ("what's included") — light ground, mint checks, optional 2 columns */
.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ticklist.two { grid-template-columns: 1fr 1fr; gap: .9rem 2.4rem; }
.ticklist li { position: relative; padding-left: 2.1rem; color: var(--grey); font-size: 1.02rem; line-height: 1.5; max-width: 46ch; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: .1rem; width: 1.4rem; height: 1.4rem;
  border-radius: 50%; background: var(--brand-mint-soft); color: var(--brand-mint-deep); font-weight: 700; font-size: .82rem;
  display: grid; place-items: center; }
.ticklist li strong, .ticklist li b { color: var(--ink); font-weight: 600; }

/* Pricing line on a .card */
.card .price { display: block; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--hairline);
  font-family: var(--font-display); font-size: 1.2rem; color: var(--brand-mint-deep); line-height: 1.2; }
.card .price small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--grey); font-weight: 500; margin-top: .2rem; }

/* Two-pillar chooser cards (overview + homepage "two ways we work") */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.pillar-card { position: relative; display: flex; flex-direction: column; gap: .7rem; background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7d1c5; text-decoration: none; }
.pillar-card .pill { align-self: flex-start; margin-bottom: .2rem; }
.pillar-card h3 { margin: 0; color: var(--ink); }
.pillar-card p { color: var(--grey); margin: 0; }
.pillar-card .textlink { margin-top: auto; padding-top: .6rem; }

/* "Where this touches international" cross-link callout — dark rounded panel */
.crosslink { background: var(--ink-surface); color: rgba(255,255,255,.85); border-radius: 20px;
  padding: clamp(1.7rem, 3vw, 2.6rem); position: relative; overflow: hidden; }
.crosslink::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 280px at 90% 0%, rgba(78,204,163,.18), transparent 60%); pointer-events: none; }
.crosslink > * { position: relative; z-index: 2; }
.crosslink .eyebrow { color: var(--brand-mint); }
.crosslink h3 { color: var(--white); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-bottom: .7rem; max-width: 26ch; }
.crosslink p { color: rgba(255,255,255,.82); max-width: 62ch; margin-bottom: 1.2rem; }
.crosslink .textlink { color: var(--brand-mint); }

/* How-it-works: allow a four-up variant */
.steps.four { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .steps.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ticklist.two { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps.four { grid-template-columns: 1fr; }
}

/* Answer-first block: a direct Q&A near the top of a page, so AI answer
   engines (and readers) get a complete answer immediately. */
.answer { background: var(--brand-mint-soft); border: 1px solid #cbe9dc; border-left: 4px solid var(--brand-mint);
  border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 1.9rem); }
.answer .q { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.2rem; line-height: 1.3; margin: 0 0 .5rem; }
.answer .q::before { content: "Short answer"; display: block; font-family: var(--font-body); font-size: .72rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-mint-deep); margin-bottom: .5rem; }
.answer p { margin: 0; color: var(--grey); max-width: 72ch; }

/* Card titles rendered as styled text, not <h3>, to keep the heading count
   proportionate to the body copy (they repeat headings found on linked pages). */
.post .post-title, .case .case-title, .pillar-card .pillar-title, .card .card-title {
  font-family: var(--font-display); color: var(--ink); font-weight: 500;
  line-height: 1.15; letter-spacing: -.01em; max-width: none;
}
.post .post-title { font-size: 1.18rem; margin: .5rem 0 .3rem; }
.case .case-title { font-size: 1.25rem; margin: .5rem 0; }
.pillar-card .pillar-title { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.65rem); margin: 0; }
.card .card-title { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.65rem); margin: 0 0 .5rem; }

/* ---------- Reveal on scroll (only hidden when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .founder-card { max-width: 420px; }
  .grid-3, .steps, .tiers { grid-template-columns: 1fr 1fr; }
  .cta-cols, .grid-2 { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-cta { display: block; }
  body { padding-bottom: 68px; } /* room for sticky CTA */
  .grid-3, .steps, .tiers, .chips, .footer-top { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 44px 1fr; }
  .rung .price { grid-column: 1 / -1; text-align: left; display: flex; gap: .5rem; align-items: baseline; margin-top: .4rem; }
  .rung .price b { display: inline; }
  .ladder-scale .bar { margin: 0 .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
