/* The Tax Bureau: Swiss annual report direction.
   The prompt's palette roles are kept, re-keyed to the brand's blue and white:
   forest -> shield navy, mint paper -> blue-white paper, lichen/ash -> blue-greys. Gold stays, used sparingly. */
:root {
  --paper: #f2f5f9;     /* prompt: mint paper #EEF2EC */
  --navy: #002868;      /* prompt: forest #12372A; sampled from the shield */
  --gold: #c7a55b;      /* prompt: gold, sparingly */
  --gold-ink: #7a5e1c;  /* darker gold for text-sized marks on paper */
  --ink: #0d1524;       /* prompt: ink #0E1512 */
  --ash: #56637a;       /* prompt: ash #7E968A, darkened to clear 4.5:1 on paper */
  --lichen: #d6deea;    /* prompt: lichen #D3DDD3 */
  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --col-gap: clamp(12px, 2vw, 24px);
  --nav-h: 60px;
  --section: clamp(64px, 11vh, 120px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); accent-color: var(--navy); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--navy); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 300; }
em { font-style: italic; }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels, axes and page numbers: mono small capitals */
.label {
  font-family: var(--mono); font-weight: 400; font-size: .72rem; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ash);
}

/* 12-column grid */
.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
}
.grid > * { grid-column: 1 / -1; }

/* Focus */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.section-dark :focus-visible, .footer :focus-visible { outline-color: var(--paper); }
main:focus { outline: none; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px;
  background: var(--navy); color: var(--paper); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Buttons: square corners */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  font: 500 .9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; border: 1px solid var(--navy);
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--navy); color: var(--paper); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--paper); }

/* Fixed nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: var(--paper); border-bottom: 1px solid var(--lichen); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 21px; height: 24px; mix-blend-mode: multiply; }
.brand span { font: 300 1.25rem/1 var(--serif); letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .875rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink); }
.nav-links a:not(.btn):hover { text-decoration: underline; }
.nav-links .btn { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 12px;
  border: 1px solid var(--navy); color: var(--navy); font: 500 .875rem/1 var(--sans);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, 86vw); display: grid;
  background: var(--paper); border: 1px solid var(--navy); padding: 8px 16px 16px;
}
.nav-menu-panel a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--lichen); text-decoration: none; }
.nav-menu-panel .btn { margin-top: 12px; }

/* Running header, like a printed report */
.run {
  display: grid; grid-template-columns: subgrid; align-items: baseline; row-gap: 10px;
  padding-bottom: 0;
}
.run > span:not(.rule) { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.run-no { grid-column: 1 / span 1; }
.run-title { grid-column: 2 / span 5; }
.run > span.run-no, .run > span.run-title { color: var(--ink); }
.run-note { grid-column: 7 / span 5; }
.rule { grid-column: 1 / -1; display: block; height: 1px; background: var(--ink); transform-origin: 0 50%; }
.section-dark .rule { background: rgba(242, 245, 249, .45); }

/* Hero */
.hero { position: relative; }
.hero-stage { padding: calc(var(--nav-h) + clamp(16px, 4vh, 40px)) 0 clamp(24px, 5vh, 56px); }
.hero-title {
  margin-top: clamp(20px, 4vh, 44px);
  font: 300 clamp(2.6rem, min(7.6vw, 12.6vh), 7.5rem)/.98 var(--serif); letter-spacing: -.03em; color: var(--navy);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > * { display: inline-block; }
.hero-title em { color: var(--ink); }
.hero-foot {
  margin-top: clamp(16px, 3vh, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.hero-lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Calendar chart */
.cal { margin: clamp(20px, 4vh, 40px) 0 0; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--lichen); }
.cal-head .label { color: var(--ink); }
.cal-readout { display: flex; align-items: baseline; gap: 16px; }
.cal-date { font: 300 1.5rem/1 var(--serif); color: var(--navy); min-width: 7.6em; text-align: right; }
.cal-next { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); min-width: 19em; }
.cal-plot { position: relative; height: clamp(132px, 21vh, 176px); --track: calc(100% - 34px); }
.cal-window { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); top: 0; bottom: 34px; background: rgba(214, 222, 234, .55); }
.cal-window .label { position: absolute; right: 8px; top: 8px; }
.cal-months span {
  position: absolute; left: var(--x); top: var(--track); padding: 10px 0 0 5px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ash);
}
.cal-months span::before { content: ""; position: absolute; left: 0; top: -6px; height: 12px; width: 1px; background: var(--ash); }
.cal-track { position: absolute; left: 0; right: 0; top: var(--track); border-top: 1.5px dotted var(--ash); }
.cal-line { position: absolute; left: 0; top: -2px; width: 100%; height: 2.5px; background: var(--navy); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.cal-marks { list-style: none; margin: 0; padding: 0; }
.mark { position: absolute; left: var(--x); top: 0; height: var(--track); width: 0; }
.mark::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--lichen); transition: background-color 200ms var(--ease); }
.mark-low::before { top: 46%; }
.mark-dot {
  position: absolute; left: -6px; bottom: -6px; width: 12px; height: 12px; background: var(--paper);
  border: 1.5px solid var(--ash); transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.mark-text { position: absolute; left: 10px; top: 0; width: 15em; display: grid; gap: 2px; font-size: .8125rem; line-height: 1.35; color: var(--ash); transition: color 200ms var(--ease); }
.mark-low .mark-text { top: 46%; }
.mark-end .mark-text, .mark-left .mark-text { left: auto; right: 10px; text-align: right; }
.mark.is-lit .mark-dot { background: var(--gold); border-color: var(--gold-ink); }
.mark.is-lit::before { background: var(--gold); }
.mark.is-lit .mark-text { color: var(--ink); }
.mark.is-lit .mark-text .label { color: var(--gold-ink); }
.cal-note { margin-top: 12px; font-size: .8125rem; color: var(--ash); }

/* Sections */
.section { padding: var(--section) 0; }
.section > .grid { row-gap: 0; }
.h2 { grid-column: 1 / span 9; margin-top: clamp(28px, 5vh, 56px); font: 300 clamp(2rem, 4.2vw, 3.75rem)/1.05 var(--serif); letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.h2 em { color: var(--ink); }
.note { margin-top: 20px; color: var(--ash); font-size: .9375rem; }

/* 01 Key figures */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin: clamp(28px, 5vh, 56px) 0 0; }
.figure { border-top: 1px solid var(--ink); padding-top: 14px; }
.figure dd { margin: 8px 0 0; display: grid; gap: 6px; }
.num { font: 300 clamp(3rem, 6vw, 5.25rem)/1 var(--serif); letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.figure-sub { font-size: .875rem; color: var(--ash); }

/* 02 Who we serve: ruled table */
.table-wrap { margin-top: clamp(24px, 4vh, 40px); }
.ruled { width: 100%; border-collapse: collapse; }
.ruled th, .ruled td { text-align: left; vertical-align: baseline; padding: 18px 16px 18px 0; border-top: 1px solid var(--lichen); }
.ruled thead th { border-top: 0; padding-top: 0; padding-bottom: 10px; }
.ruled tbody tr:first-child > * { border-top-color: var(--ink); }
.ruled tbody tr:last-child > * { border-bottom: 1px solid var(--ink); }
.ruled tbody th { font: 300 1.375rem/1.2 var(--serif); color: var(--navy); width: 25%; }
.ruled td.mono { width: 18%; color: var(--ink); }

/* 03 How it works: dark band with sticky index */
.section-dark { background: var(--navy); color: var(--paper); }
.section-dark .run > span:not(.rule) { color: rgba(242, 245, 249, .72); }
.section-dark .run > span.run-no, .section-dark .run > span.run-title { color: var(--paper); }
.section-dark .h2 { color: var(--paper); }
.section-dark .h2 em { color: var(--gold); }
.index { grid-column: 1 / span 3; margin-top: clamp(28px, 5vh, 56px); }
.index ol { list-style: none; margin: 0; padding: 0; position: sticky; top: calc(var(--nav-h) + 32px); display: grid; }
.index a { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(242, 245, 249, .25); text-decoration: none; color: rgba(242, 245, 249, .72); }
.index a .label { color: inherit; }
.index a.is-current { color: var(--paper); }
.index a.is-current .label { color: var(--gold); }
.steps { grid-column: 4 / -1; }
.steps .h2 { margin-bottom: clamp(24px, 4vh, 48px); }
.step { display: grid; grid-template-columns: 4rem 1fr; column-gap: var(--col-gap); padding: 28px 0 36px; border-top: 1px solid rgba(242, 245, 249, .45); }
.step-no { font-family: var(--mono); font-size: .8125rem; letter-spacing: .08em; color: var(--gold); padding-top: .5em; }
.step h3 { font: 300 clamp(1.5rem, 2.6vw, 2.25rem)/1.15 var(--serif); }
.step p { grid-column: 2; margin-top: 10px; max-width: 38em; color: rgba(242, 245, 249, .86); }
.step a { color: var(--paper); }

/* 04 What to gather */
.checklist { grid-column: 1 / span 8; list-style: none; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 3rem 1fr; padding: 16px 0; border-top: 1px solid var(--lichen); font-size: 1.0625rem; }
.checklist li:first-child { border-top-color: var(--ink); }
.checklist li:last-child { border-bottom: 1px solid var(--ink); }

/* 05 Fees */
.fees-title { grid-column: 1 / span 7; }
.fees-body { grid-column: 8 / -1; margin-top: clamp(28px, 5vh, 56px); display: grid; gap: 20px; align-content: end; font-size: 1.0625rem; }

/* 06 Advisor plates */
.plates { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(28px, 5vh, 56px); }
.plate { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; }
.plate-mark { width: 100%; aspect-ratio: 4 / 3; background: var(--lichen); display: grid; place-items: center; margin-bottom: 8px; }
.plate-mark img { width: 42px; height: 48px; mix-blend-mode: multiply; opacity: .9; }
.plate h3 { font: 300 1.75rem/1.15 var(--serif); color: var(--navy); }
.ph { background: rgba(199, 165, 91, .2); outline: 1px dashed var(--gold-ink); outline-offset: 1px; padding: 0 .25em; color: var(--ink); }

/* 07 Contact */
.contact-main { grid-column: 1 / span 7; }
.phone { display: inline-block; margin: 20px 0 24px; font: 300 clamp(2.5rem, 5vw, 4.25rem)/1 var(--serif); color: var(--navy); text-decoration: none; letter-spacing: -.02em; }
.phone:hover { text-decoration: underline; }
.cities { grid-column: 8 / -1; list-style: none; margin: clamp(28px, 5vh, 56px) 0 0; padding: 0; align-self: end; }
.cities li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--lichen); }
.cities li:first-child { border-top-color: var(--ink); }
.cities .label { color: var(--ink); }

/* Footer: the name across the full width */
.footer { background: #070d1a; color: var(--paper); padding: clamp(40px, 8vh, 80px) 0 28px; overflow: hidden; }
.footer-name { font: 300 13.4vw/.9 var(--serif); letter-spacing: -.045em; white-space: nowrap; margin-left: -.04em; }
@media (min-width: 1320px) { .footer-name { font-size: 11.6rem; } }
.footer .footer-row { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: rgba(242, 245, 249, .72); border-top: 1px solid rgba(242, 245, 249, .3); padding-top: 14px; }

/* ---------- Motion (only when the visitor allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* On load: rules draw, headline rises line by line */
  .run-hero .rule { animation: draw 900ms var(--ease) both; }
  .hero-title .line > * { animation: rise 900ms var(--ease) both; }
  .hero-title .line:nth-child(2) > * { animation-delay: 120ms; }
  .hero-foot { animation: fade 700ms var(--ease) 260ms both; }
  /* Section rules draw as each section arrives (site.js adds .in-view) */
  .js .section .rule { transform: scaleX(0); transition: transform 900ms var(--ease); }
  .js .section.in-view .rule { transform: scaleX(1); }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Signature: hero holds while the line draws (site.js adds .js-pin only when motion is allowed) */
.js-pin .hero { height: 260vh; }
.js-pin .hero-stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .run-title { grid-column: 2 / span 6; }
  .run-note { grid-column: 8 / span 4; }
  .index { display: none; }
  .steps { grid-column: 1 / -1; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .fees-title, .contact-main { grid-column: 1 / -1; }
  .fees-body, .cities { grid-column: 1 / span 9; }
  .plates { grid-column: 1 / -1; }
  .mark-text { width: 12em; }
  .cal-date { min-width: 0; text-align: left; }
  .cal-next { min-width: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  .run { grid-template-columns: auto 1fr auto; column-gap: 12px; }
  .run-no { grid-column: 1; }
  .run-title { grid-column: 2; }
  .run-note { grid-column: 1 / -1; grid-row: 2; }
  .rule { grid-row: 3; }
  .hero-title { font-size: clamp(2.4rem, 11.2vw, 3.4rem); line-height: 1.02; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cal-head { display: grid; gap: 8px; }
  .cal-readout { justify-content: space-between; }
  .cal-date { text-align: left; min-width: 0; font-size: 1.25rem; }
  .cal-next { min-width: 0; text-align: right; }
  /* Plot becomes a strip; milestone text moves into a 2x2 key below it */
  .cal-plot { height: auto; --track: 40px; padding-top: 74px; }
  .cal-window { bottom: auto; height: 40px; }
  .cal-window .label { display: none; }
  .cal-months span { font-size: .6rem; padding-left: 3px; }
  .cal-months span:nth-child(even) { display: none; }
  .cal-marks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .mark { position: static; width: auto; height: auto; }
  .mark::before { display: none; }
  .mark-dot { left: calc(var(--x) - 6px); top: calc(var(--track) - 6px); bottom: auto; }
  .mark-text, .mark-low .mark-text, .mark-end .mark-text { position: static; width: auto; text-align: left; border-top: 1px solid var(--lichen); padding-top: 8px; }
  .mark.is-lit .mark-text { border-top-color: var(--gold); }
  .h2 { grid-column: 1 / -1; }
  .figures { grid-template-columns: 1fr 1fr; }
  .ruled thead { display: none; }
  .ruled, .ruled tbody, .ruled tr, .ruled th, .ruled td { display: block; width: auto !important; }
  .ruled tr { border-top: 1px solid var(--lichen); padding: 16px 0; }
  .ruled tbody tr:first-child { border-top-color: var(--ink); }
  .ruled tbody tr:last-child { border-bottom: 1px solid var(--ink); }
  .ruled th, .ruled td, .ruled tbody tr:first-child > *, .ruled tbody tr:last-child > * { border: 0; padding: 2px 0; }
  .ruled td.mono { margin: 4px 0; }
  .step { grid-template-columns: 2.5rem 1fr; }
  .checklist, .fees-body, .cities { grid-column: 1 / -1; }
  .plates { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .footer-name { font-size: 13.4vw; }
}

/* =====================================================================
   Round 5: section backgrounds and the workflow "display case"
   ===================================================================== */

/* Dark sections: buttons and text invert */
.section-dark .btn-solid { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.section-dark .btn-solid:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.section-dark .btn-line { color: var(--paper); border-color: rgba(242, 245, 249, .7); }
.section-dark .btn-line:hover { background: var(--paper); color: var(--navy); }
.section-dark .label { color: rgba(242, 245, 249, .72); }

/* 01 Key figures: ledger paper (feint rules like an accounting pad) */
.bg-ledger {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, transparent calc(var(--gutter) - 10px), rgba(199, 165, 91, .45) calc(var(--gutter) - 10px), rgba(199, 165, 91, .45) calc(var(--gutter) - 9px), transparent calc(var(--gutter) - 9px)),
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(0, 40, 104, .07) 31px 32px);
}

/* 02 Who we serve: white form paper with a large outlined 1040 */
.bg-form { background: #fff; position: relative; overflow-x: clip; }
.bg-form .grid { position: relative; }
.bg-art { position: absolute; pointer-events: none; user-select: none; }
.bg-art-1040 {
  right: var(--gutter); top: clamp(40px, 8vh, 90px);
  font: 300 clamp(8rem, 22vw, 19rem)/1 var(--serif); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 40, 104, .13);
}
.bg-form .h2, .bg-form .table-wrap, .bg-form .note { position: relative; }
.bg-form .table-wrap { background: rgba(255, 255, 255, .86); }

/* 04 What to gather: ivory with a receipt's perforated top edge */
.bg-ivory {
  background: #f7f2ea; position: relative;
  background-image: radial-gradient(circle at 8px -2px, var(--paper) 7px, transparent 7.5px);
  background-size: 16px 12px; background-repeat: repeat-x;
}
.bg-ivory .checklist li { border-top-color: #e4dccd; }
.bg-ivory .checklist li:first-child { border-top-color: var(--ink); }

/* 05 Fees: blue-grey quote sheet with dotted leaders */
.bg-quote {
  background-color: #e6ecf3;
  background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(0, 40, 104, .16) 47px 48px);
  background-size: 100% 48px;
  -webkit-mask-image: none;
}
.bg-quote .rule { background: var(--ink); }
.bg-quote .run > span:not(.rule), .bg-quote .label { color: #3f4b60; }

/* 06 Advisors: white with a large shield watermark */
.bg-seal { background-color: #fff; position: relative;
  background-image: repeating-linear-gradient(to right, transparent 0 calc((100% - 1px) / 12), rgba(0, 40, 104, .05) calc((100% - 1px) / 12) calc((100% - 1px) / 12 + 1px)); }
.bg-seal .grid { position: relative; }
.bg-art-shield { right: calc(var(--gutter) - 2%); top: 12%; width: clamp(180px, 26vw, 360px); height: auto; opacity: .06; mix-blend-mode: multiply; filter: grayscale(.2); }
.bg-seal .plates { position: relative; }

/* 07 Contact: navy with contour lines (a nod to the Front Range) */
.bg-contour {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='360' viewBox='0 0 640 360'%3E%3Cg fill='none' stroke='%23f2f5f9' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M0 250 C80 210 140 230 210 180 S330 120 400 150 S520 210 640 170'/%3E%3Cpath d='M0 280 C90 240 150 260 220 210 S340 150 410 180 S530 240 640 200'/%3E%3Cpath d='M0 310 C100 270 160 290 230 240 S350 180 420 210 S540 270 640 230'/%3E%3Cpath d='M0 340 C110 300 170 320 240 270 S360 210 430 240 S550 300 640 260'/%3E%3Cpath d='M0 220 C70 180 130 200 200 150 S320 90 390 120 S510 180 640 140'/%3E%3Cpath d='M260 140 C300 100 340 80 380 96 S430 140 470 130'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px auto; background-position: right bottom; background-repeat: repeat-x;
}
.bg-contour .h2 { color: var(--paper); }
.bg-contour .h2 em { color: var(--gold); }
.bg-contour .phone { color: var(--paper); }
.bg-contour .cities li { border-top-color: rgba(242, 245, 249, .25); }
.bg-contour .cities li:first-child { border-top-color: var(--paper); }
.bg-contour .cities .label { color: var(--paper); }
.bg-contour .ph { color: var(--paper); background: rgba(199, 165, 91, .22); outline-color: var(--gold); }

/* 03 Studio: velvet navy-black, the return is the only light */
.studio { background: #070d1a; padding-bottom: 0; overflow-x: clip; }
.studio .run > span.run-no, .studio .run > span.run-title { color: var(--paper); }
.flow-stage { padding: clamp(28px, 5vh, 56px) 0 var(--section); }
.flow-grid { align-items: center; row-gap: 28px; }
.flow-copy { grid-column: 1 / span 5; position: relative; z-index: 2; }
.flow-copy .h2 { margin-top: 0; color: var(--paper); font-size: clamp(2rem, 3.6vw, 3.25rem); }
.flow-copy .h2 em { color: var(--gold); }
.flow-pre { margin-top: 14px; color: rgba(242, 245, 249, .78); font-size: .9375rem; max-width: 34em; }
.flow-pre a { color: var(--paper); }
.flow-steps { list-style: none; margin: clamp(18px, 3vh, 28px) 0 0; padding: 0; }
.flow-step { display: grid; grid-template-columns: 2.6rem 1fr; padding: 12px 0; border-top: 1px solid rgba(242, 245, 249, .22); transition: opacity 260ms var(--ease); }
.flow-step:last-child { border-bottom: 1px solid rgba(242, 245, 249, .22); }
.flow-step .step-no { padding-top: .25em; }
.flow-step h3 { font: 300 clamp(1.125rem, 1.6vw, 1.375rem)/1.25 var(--serif); color: var(--paper); }
.flow-step p { margin-top: 2px; font-size: .875rem; color: rgba(242, 245, 249, .78); }
.flow-status { display: grid; gap: 8px; margin-top: 18px; }
.flow-status .label { color: var(--gold); }
.flow-bar { display: block; height: 2px; background: rgba(242, 245, 249, .2); }
.flow-bar span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.flow-cta { margin-top: 20px; }

/* The case: a lit 3D return. Stage values --s1..--s4 run 0 to 1 (1 = finished, the static default). */
.case {
  grid-column: 6 / -1; position: relative; height: clamp(380px, 68vh, 620px);
  --s1: 1; --s2: 1; --s3a: 1; --s3b: 1; --s4: 1; --ry: -6deg; --rx: 12deg; --dx: 0deg; --dy: 0deg;
  perspective: 1400px; touch-action: pan-y; cursor: grab;
}
.case:active { cursor: grabbing; }
.softbox { position: absolute; top: 8%; bottom: 22%; width: 9%; border-radius: 2px; filter: blur(18px); opacity: .5; background: linear-gradient(to bottom, rgba(214, 222, 234, .0), rgba(214, 222, 234, .55), rgba(214, 222, 234, .0)); }
.softbox-l { left: 6%; }
.softbox-r { right: 6%; }
.pool { position: absolute; left: 50%; bottom: 6%; width: 78%; height: 26%; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(199, 165, 91, .28), rgba(0, 40, 104, .25) 40%, transparent 70%); filter: blur(6px); }
.pool::after { content: ""; position: absolute; left: 22%; right: 22%; top: 38%; height: 18%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .7), transparent 70%); filter: blur(6px); }
.obj-wrap { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.obj {
  position: relative; width: clamp(200px, 21vw, 280px); aspect-ratio: 240 / 310; transform-style: preserve-3d;
  transform: translateY(-4%) rotateX(calc(var(--rx) + var(--dx))) rotateY(calc(var(--ry) + var(--dy)));
}
.layer { position: absolute; inset: 0; transform-style: preserve-3d; }

/* Folder: the client's portal */
.folder { background: linear-gradient(160deg, #24508f, #0f2f63 70%); border: 1px solid rgba(242, 245, 249, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateZ(0); }
.folder-tab { position: absolute; left: -1px; top: -16px; width: 42%; height: 17px; background: #24508f; border: 1px solid rgba(242, 245, 249, .25); border-bottom: 0; }
.folder-label { position: absolute; left: 12px; bottom: 12px; font: 500 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 245, 249, .85); }
.folder-mark { position: absolute; right: 12px; bottom: 10px; width: 21px; height: 24px; opacity: .9; filter: brightness(1.6) grayscale(.3); }

/* Documents fly in during stage 2 */
.doc { inset: 10% 14% 22% 10%; background: var(--paper); padding: 10px 12px; display: grid; align-content: start; gap: 7px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .7); }
.doc span { font: 500 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.doc i { display: block; height: 4px; background: var(--lichen); }
.doc i:nth-child(3) { width: 70%; }
.doc-a { transform: translate3d(calc((1 - var(--s2)) * 120%), calc((1 - var(--s2)) * -40%), 8px) rotate(calc(-4deg + (1 - var(--s2)) * 18deg)); opacity: clamp(0, calc(var(--s2) * 3), 1); }
.doc-b { transform: translate3d(calc((1 - var(--s2)) * -130%), calc((1 - var(--s2)) * -10%), 14px) rotate(calc(3deg - (1 - var(--s2)) * 16deg)) translate(6%, 4%); opacity: clamp(0, calc(var(--s2) * 3 - .6), 1); }
.doc-c { transform: translate3d(calc((1 - var(--s2)) * 40%), calc((1 - var(--s2)) * -150%), 20px) rotate(calc(-1deg + (1 - var(--s2)) * 10deg)) translate(-3%, 9%); opacity: clamp(0, calc(var(--s2) * 3 - 1.2), 1); }

/* Return: wireframe draws, then paper and fields fill (stage 3), seal stamps (stage 4) */
.ret { inset: 4% 6% 6% 8%; transform: translateZ(34px) translateY(calc((1 - var(--s3a)) * 6%)); opacity: clamp(0, calc(var(--s3a) * 4), 1); }
.ret-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ret-wire rect, .ret-wire path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: calc((1 - var(--s3a)) * 100); }
.ret-paper { position: absolute; inset: 0; background: var(--paper); opacity: var(--s3b); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .85), inset 0 1px 0 #fff; }
.ret-head { position: absolute; left: 8%; right: 8%; top: 6%; display: flex; justify-content: space-between; font: 500 .6rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); opacity: var(--s3b); }
.ret-rows { position: absolute; left: 8%; right: 8%; top: 17%; bottom: 31%; display: grid; align-content: space-between; }
.ret-rows .row { display: grid; grid-template-columns: 1fr 22%; gap: 8%; align-items: center; height: 12px; }
.ret-rows .row i { display: block; height: 5px; background: #c9d3e1; transform-origin: 0 50%; transform: scaleX(var(--s3b)); }
.ret-rows .row:nth-child(2) i { width: 76%; }
.ret-rows .row:nth-child(4) i { width: 84%; }
.ret-rows .row b { justify-self: end; width: 10px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg) scale(var(--s3b)); opacity: var(--s3b); }
.seal {
  position: absolute; right: 7%; bottom: 6%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 2px; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #f1dca6, var(--gold) 45%, #9c7a34);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6), inset 0 0 0 3px rgba(255, 255, 255, .25);
  transform: translateZ(6px) scale(calc(1.6 - var(--s4) * .6)) rotate(-10deg); opacity: var(--s4);
}
.seal img { width: 18px; height: 21px; mix-blend-mode: multiply; }
.seal span { font: 500 .55rem/1.05 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--ink); }
.seal::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .75) 50%, transparent 60%); transform: translateX(var(--glint, 120%)); }

/* Padlock: unlocks in stage 1, leaves as documents arrive */
.lock { inset: 30% 34% 30% 34%; transform: translateZ(40px); opacity: calc(1 - var(--s2) * 1.6); }
.lock svg { width: 100%; height: 100%; overflow: visible; }
.lock rect { fill: var(--gold); }
.lock circle { fill: var(--ink); }
.lock .shackle { fill: none; stroke: var(--paper); stroke-width: 6; transform-origin: 48px 36px; transform: translateY(calc(var(--s1) * -8px)) rotate(calc(var(--s1) * 28deg)); }

/* Tags track the object, one per stage */
.tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; font: 400 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper);
  padding-left: 18px; opacity: 0; transition: opacity 260ms var(--ease);
}
.tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--gold); }
.tag[data-tag="0"] { left: 6%; top: 14%; }
.tag[data-tag="1"] { right: 4%; top: 22%; }
.tag[data-tag="2"] { left: 4%; top: 58%; }
.tag[data-tag="3"] { right: 4%; top: 70%; }
.tag.is-on { opacity: 1; }
.toast {
  position: absolute; left: 2%; top: 6%; display: flex; gap: 10px; align-items: center; max-width: 280px;
  padding: 12px 14px; background: var(--paper); color: var(--ink); font-size: .8125rem; line-height: 1.35;
  border-left: 3px solid var(--gold); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8);
  transform: translateY(calc((1 - var(--s4)) * -16px)); opacity: var(--s4);
}
.toast img { width: 21px; height: 24px; mix-blend-mode: multiply; flex: none; }
.toast b { display: block; font: 500 .62rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }

/* Static (no JS / reduced motion): all four steps read as complete, every tag shown */
.flow-step { opacity: 1; }
html:not(.js-flow) .tag { opacity: 0; }

/* Motion version: the stage pins while the return is prepared */
.js-flow .flow { height: 520vh; }
.js-flow .flow-stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 12px) 0 16px; }
.js-flow .flow-stage > .grid { width: 100%; }
.js-flow .flow-step { opacity: .38; }
.js-flow .flow-step.is-on { opacity: 1; }
.js-flow .flow-step.is-done { opacity: .7; }
.js-flow .studio { padding-bottom: 0; }

@media (prefers-reduced-motion: no-preference) {
  .case.is-done .seal::after { animation: glint 2.6s var(--ease) 300ms infinite; }
}
@keyframes glint { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }

@media (max-width: 1080px) {
  .flow-copy { grid-column: 1 / span 6; }
  .case { grid-column: 7 / -1; }
  .tag, .tag.is-on { display: none; }
}
@media (max-width: 720px) {
  .flow-grid { row-gap: 8px; }
  .flow-copy, .case { grid-column: 1 / -1; }
  .case { order: -1; height: 300px; }
  .obj { width: 168px; }
  .toast { left: 50%; top: auto; bottom: 0; max-width: 260px; width: max-content; font-size: .75rem; transform: translateX(-50%) translateY(calc((1 - var(--s4)) * 16px)); }
  .obj { transform: translateY(-12%) rotateX(calc(var(--rx) + var(--dx))) rotateY(calc(var(--ry) + var(--dy))); }
  .tag, .tag.is-on { display: none; }
  .softbox { display: none; }
  .js-flow .flow-copy .h2, .js-flow .flow-pre, .js-flow .flow-cta { display: none; }
  .js-flow .flow-step { display: none; }
  .js-flow .flow-step.is-on { display: grid; border-bottom: 1px solid rgba(242, 245, 249, .22); }
  .js-flow .flow-stage { padding-top: calc(var(--nav-h) + 4px); }
  .js-flow .case { height: min(46svh, 360px); }
  .bg-art-1040 { font-size: 9rem; top: 24px; }
}

/* =====================================================================
   Round 6: realistic paper art, pinned section backgrounds, smooth blends
   ===================================================================== */
:root { --blend: clamp(100px, 18vh, 180px); }

/* Section grounds (no plain white) and the colour each one blends in from */
#figures  { --bg: #eef2ef; --prev: #f2f5f9; }
#serve    { --bg: #f3f1ea; --prev: #eef2ef; }
#process  { --prev: #f3f1ea; }
#gather   { --bg: #f7f2ea; --prev: #070d1a; }
#fees     { --bg: #e6ecf3; --prev: #f7f2ea; }
#advisors { --bg: #efeae0; --prev: #e6ecf3; }
#contact  { --prev: #efeae0; }
.footer   { --prev: var(--navy); position: relative; }
.bg-ledger, .bg-form, .bg-ivory, .bg-quote, .bg-seal { background: var(--bg); background-image: none; }

/* Each section starts with a soft fade from the section above */
.section { position: relative; padding-top: calc(var(--blend) + 12px); overflow-x: clip; }
.section::before, .footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--blend); z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, var(--prev) 0%, color-mix(in srgb, var(--prev) 55%, transparent) 35%, transparent 100%);
}
.footer { padding-top: calc(var(--blend) + 12px); }
.section > .grid, .section > .flow, .footer > .grid { position: relative; z-index: 2; }

/* Pinned art: holds in place while you are on its section */
.section:has(> .sec-art) { padding-top: 0; }
.section:has(> .sec-art) > .grid { padding-top: calc(var(--blend) + 12px); }
.sec-art {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 28%, rgba(0, 0, 0, .55) 46%, #000 64%);
          mask-image: linear-gradient(to right, transparent 28%, rgba(0, 0, 0, .55) 46%, #000 64%);
}
.art {
  position: absolute; display: block; max-width: none; height: auto;
  box-shadow: 0 34px 60px -30px rgba(18, 28, 48, .5), 0 2px 6px rgba(18, 28, 48, .12);
}
.art-ledger { right: 5vw; top: 13vh; width: auto; height: 98vh; transform: rotate(3deg); opacity: .8; }
.art-form { right: 4vw; top: 9vh; width: auto; height: 106vh; transform: rotate(-2.5deg) translateY(10px); opacity: 0; transition: opacity 520ms var(--ease), transform 620ms var(--ease); }
.art-form.is-on { opacity: .85; transform: rotate(-2.5deg); }
.art-w2 { right: 9vw; top: 15vh; width: 40vw; transform: rotate(-4deg); }
.art-1099 { right: 2vw; top: 50vh; width: 37vw; transform: rotate(3deg); }
.art-receipt { right: 37vw; top: 34vh; width: auto; height: 58vh; transform: rotate(-9deg); }
.art-quote { right: 6vw; top: 9vh; width: auto; height: 100vh; transform: rotate(2deg); opacity: .9; }
.art-preparer { right: 3vw; top: 26vh; width: 48vw; transform: rotate(-2deg); opacity: .9; }

/* Keep reading surfaces clean over the art */
.bg-form .table-wrap, #serve .table-wrap { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.fees-body { background: color-mix(in srgb, var(--bg) 90%, transparent); padding: 20px; margin-left: -20px; }
.pick-hint { color: var(--ash); }

/* Who we serve: client type buttons pick the form behind the page */
.form-pick {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  font: 300 1.375rem/1.2 var(--serif); color: var(--navy); border-bottom: 1px solid transparent;
}
.form-pick::after { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--ash); transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.form-pick:hover { border-bottom-color: var(--navy); }
.form-pick[aria-pressed="true"]::after { background: var(--gold); border-color: var(--gold-ink); }
.form-pick:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }

/* Studio: realistic folder and papers */
.folder {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #2b5a9c 0%, #1b437f 45%, #12336a 100%);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -18px 30px -20px rgba(0, 0, 0, .5), 0 30px 40px -24px rgba(0, 0, 0, .9);
}
.folder::after { content: ""; position: absolute; left: 0; right: 0; top: 11%; height: 1px; background: rgba(0, 0, 0, .25); box-shadow: 0 1px 0 rgba(255, 255, 255, .12); }
.folder-tab { background: #2b5a9c; border-radius: 3px 3px 0 0; }
.folder-sticker {
  position: absolute; left: 9%; bottom: 9%; display: grid; gap: 3px; padding: 7px 9px 6px; background: #fbfaf5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .4); font: 500 .5rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #333;
}
.folder-sticker b { font-weight: 500; color: var(--navy); font-size: .58rem; }
.folder-mark { opacity: .55; filter: brightness(2) grayscale(1); }
.doc { inset: auto; padding: 0; background: none; box-shadow: none; display: block; }
.doc img { display: block; width: 100%; height: auto; box-shadow: 0 14px 22px -10px rgba(0, 0, 0, .8), 0 1px 2px rgba(0, 0, 0, .3); }
.doc-a { left: -8%; top: 5%; width: 116%; }
.doc-b { left: -4%; top: 43%; width: 108%; }
.doc-c { left: 58%; top: 14%; width: 42%; }
.ret-paper { background: none; overflow: hidden; }
.ret-paper img { display: block; width: 100%; height: 100%; }
.ret-rows { left: 70%; right: 2%; top: 28%; bottom: 40%; }
.ret-rows .row { grid-template-columns: 1fr; height: 14px; }
.ret-rows .row b { width: 12px; height: 7px; border-color: #1f4fbf; border-left-width: 2px; border-bottom-width: 2px; }

@media (max-width: 1080px) {
  .sec-art { -webkit-mask-image: linear-gradient(to right, transparent 18%, #000 60%); mask-image: linear-gradient(to right, transparent 18%, #000 60%); }
  .art { opacity: .45 !important; }
  .art-form.is-on { opacity: .5 !important; }
  .art-form:not(.is-on) { opacity: 0 !important; }
}
@media (max-width: 720px) {
  .sec-art { -webkit-mask-image: linear-gradient(to bottom, transparent 20%, #000 70%); mask-image: linear-gradient(to bottom, transparent 20%, #000 70%); }
  .art { opacity: .3 !important; }
  .art-form.is-on { opacity: .32 !important; }
  .art-ledger, .art-form, .art-quote { right: -18vw; top: 34vh; height: 80vh; }
  .art-w2 { right: -10vw; top: 40vh; width: 90vw; }
  .art-1099 { right: -16vw; top: 66vh; width: 84vw; }
  .art-receipt { right: 50vw; top: 52vh; height: 46vh; }
  .art-preparer { right: -20vw; top: 50vh; width: 110vw; }
  .fees-body { margin-left: 0; padding: 0; background: none; }
}

/* Round 6 fixes */
.section:has(> .sec-art) { min-height: 100vh; min-height: 100svh; }
.sec-art {
  -webkit-mask-image: linear-gradient(to right, transparent 28%, rgba(0, 0, 0, .55) 46%, #000 64%), linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 28%, rgba(0, 0, 0, .55) 46%, #000 64%), linear-gradient(to bottom, #000 78%, transparent 100%);
          mask-composite: intersect;
}
.section:has(> .sec-art) .run { background: color-mix(in srgb, var(--bg) 90%, transparent); box-shadow: 0 -8px 0 color-mix(in srgb, var(--bg) 90%, transparent); }
.fees-body { grid-column: 1 / span 6; margin-left: 0; padding: 0; background: none; margin-top: 28px; align-content: start; }
.art-receipt { right: 30vw; top: 46vh; height: 50vh; }
.doc-a { left: -3%; top: 6%; width: 104%; }
.doc-b { left: -1%; top: 44%; width: 100%; }
.doc-c { left: 60%; top: 16%; width: 38%; }
.tag[data-tag="1"], .tag[data-tag="3"] { right: 0; }
.tag[data-tag="2"] { left: 0; }
.tag[data-tag="3"] { top: 84%; }
@media (max-width: 1080px) {
  .sec-art {
    -webkit-mask-image: linear-gradient(to right, transparent 18%, #000 60%), linear-gradient(to bottom, #000 78%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 18%, #000 60%), linear-gradient(to bottom, #000 78%, transparent 100%);
  }
}
@media (max-width: 720px) {
  .sec-art {
    -webkit-mask-image: linear-gradient(to bottom, transparent 20%, #000 60%, #000 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 20%, #000 60%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .fees-body { grid-column: 1 / -1; }
}
.art-ledger { top: 30vh; opacity: .6; }

/* =====================================================================
   Round 7: Familjen Grotesk type, pill section numbers, globe workflow stage
   ===================================================================== */
:root {
  --serif: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;   /* display: headlines and big numbers */
  --mono: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;    /* labels: tracked capitals */
  --midnight: #0b1426; --dusk: #13223d; --sun: #ffd447; --sky: #8fd3ff;
}
.mono, .ruled td.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
.hero-title, .h2, .num, .cal-date, .ruled tbody th, .form-pick, .step h3, .flow-step h3, .plate h3, .phone, .footer-name, .brand span {
  font-weight: 600; letter-spacing: -0.035em;
}
.hero-title { letter-spacing: -0.045em; line-height: .96; }
.hero-title em, .h2 em { font-style: italic; font-weight: 600; }
.footer-name { letter-spacing: -0.05em; }
.brand span { letter-spacing: -0.02em; }
.label, .run > span:not(.rule), .cal-months span, .cal-next, .flow-step .step-no, .step-no { letter-spacing: .14em; font-weight: 500; }
/* Section numbers in an outlined pill */
.run > span.run-no {
  justify-self: start; display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6em; height: 1.9em; padding: 0 .6em; border: 1px solid currentColor; border-radius: 999px; letter-spacing: .06em;
}

/* ---------- 03: the workflow map ---------- */
.map { background: var(--midnight); }
#process { --prev: #f3f1ea; }
#gather { --prev: var(--midnight); }
.map .flow-stage { position: relative; overflow: clip; }
.js-flow .map .flow-stage { position: sticky; top: 0; }
.globe, .globe-fallback { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; height: 100%; z-index: 0; pointer-events: none; }
.globe-fallback {
  display: block; width: auto; left: 46%; right: 4%; top: 12%; bottom: 12%; margin: auto; aspect-ratio: 1; height: auto; max-height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #1f3b6b 0%, #102446 45%, #0b1730 70%);
  box-shadow: 0 0 0 1px rgba(143, 211, 255, .18), 0 0 60px 8px rgba(143, 211, 255, .18), 34px -26px 80px -10px rgba(255, 212, 71, .35);
}
.js-globe .globe-fallback { display: none; }
.map .flow-grid { position: relative; z-index: 2; }
.map .flow-copy { grid-column: 1 / span 5; }
.kicker-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 245, 249, .8); }
.kicker-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6em; height: 1.9em; border: 1px solid rgba(242, 245, 249, .7); border-radius: 999px; letter-spacing: .06em; }
.map .flow-copy .h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: .98; color: var(--paper); }
.map .flow-copy .h2 em { color: var(--sun); }
.panel { display: none; margin-top: clamp(18px, 3vh, 30px); padding-top: 16px; border-top: 1px solid rgba(242, 245, 249, .18); }
.panel-kicker { font: 600 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
.panel-title { margin-top: 10px; font: 600 clamp(1.5rem, 2.4vw, 2.25rem)/1.05 var(--serif); letter-spacing: -0.03em; color: var(--paper); text-wrap: balance; }
.panel-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 34px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid rgba(242, 245, 249, .18); border-bottom: 1px solid rgba(242, 245, 249, .18); }
.panel-stats dt { font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(242, 245, 249, .7); }
.panel-stats dd { margin: 8px 0 0; font: 600 1.5rem/1 var(--serif); letter-spacing: -0.02em; color: var(--paper); }
.panel-text { margin-top: 14px; color: rgba(242, 245, 249, .82); max-width: 32em; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; font-size: .875rem; color: rgba(242, 245, 249, .82); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-firm { background: var(--sun); box-shadow: 0 0 8px var(--sun); }
.dot-client { border: 1.5px solid var(--sky); }
.map .flow-pre { margin-top: 14px; }
.map .flow-cta .btn-solid { background: var(--sun); border-color: var(--sun); color: var(--midnight); }
.map .flow-cta .btn-solid:hover { background: var(--paper); border-color: var(--paper); }
.map .flow-status .label { color: var(--sun); }
.map .flow-bar span { background: var(--sun); }
.map .step-no { color: var(--sun); }
/* The return now sits in front of the globe, smaller */
.map .case { grid-column: 7 / span 4; height: clamp(300px, 52vh, 460px); align-self: end; }
.map .obj { width: clamp(150px, 13vw, 200px); }
.map .softbox { display: none; }
.map .pool { background: radial-gradient(ellipse at center, rgba(255, 212, 71, .22), rgba(143, 211, 255, .12) 40%, transparent 70%); }
.map .tags { display: none; }
.map .seal { background: radial-gradient(circle at 35% 30%, #fff1b0, var(--sun) 45%, #c99a1c); }
.map .toast { border-left-color: var(--sun); }
/* Tabs and coordinate readout */
.flow-tabs { display: none; }
.readout { position: absolute; right: var(--gutter); bottom: 26px; z-index: 2; display: grid; justify-items: end; gap: 6px; pointer-events: none; }
.readout-label { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(242, 245, 249, .75); }
.readout-coords { font: 600 clamp(1.6rem, 3.2vw, 3rem)/1 var(--serif); letter-spacing: -0.03em; color: var(--paper); font-variant-numeric: tabular-nums; }

/* Motion version: panel swaps, tabs show, list hides */
.js-flow .map .panel { display: block; }
.js-flow .map .flow-steps, .js-flow .map .flow-status { display: none; }
.js-flow .map .flow-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: absolute; z-index: 3;
  left: var(--gutter); bottom: 22px; width: min(560px, 44vw);
}
.flow-tabs button {
  all: unset; cursor: pointer; padding-top: 10px; border-top: 1px solid rgba(242, 245, 249, .3);
  font: 500 .72rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 245, 249, .7);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.flow-tabs button:hover { color: var(--paper); }
.flow-tabs button[aria-current="step"] { color: var(--paper); border-top: 2px solid var(--sun); padding-top: 9px; }
.flow-tabs button:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.js-flow .map .flow-stage { padding-bottom: 96px; }

@media (max-width: 1080px) {
  .map .flow-copy { grid-column: 1 / span 7; }
  .map .case { grid-column: 8 / -1; }
  .globe { width: 70%; }
  .js-flow .map .flow-tabs { width: calc(100% - 2 * var(--gutter)); }
  .readout { bottom: 84px; }
}
@media (max-width: 720px) {
  .globe { top: var(--nav-h); bottom: auto; height: 42vh; height: 42svh; width: 100%; left: 0; }
  .globe-fallback { left: 18%; right: 18%; top: calc(var(--nav-h) + 20px); bottom: auto; max-height: none; width: 64%; }
  .map .flow-copy, .map .case { grid-column: 1 / -1; }
  .map .case { order: -1; height: 42svh; height: 42vh; align-self: start; }
  .map .obj { width: 112px; transform: translate(28%, 18%) rotateX(calc(var(--rx) + var(--dx))) rotateY(calc(var(--ry) + var(--dy))); }
  .map .toast { left: 0; right: auto; bottom: 0; top: auto; transform: translateY(calc((1 - var(--s4)) * 16px)); }
  .js-flow .map .kicker-pill, .js-flow .map .flow-copy .h2, .js-flow .map .legend, .js-flow .map .flow-pre, .js-flow .map .flow-cta { display: none; }
  .js-flow .map .panel { margin-top: 4px; }
  .panel-stats dd { font-size: 1.15rem; }
  .panel-stats { gap: 0 20px; }
  .readout { top: calc(var(--nav-h) + 10px); bottom: auto; right: var(--gutter); }
  .readout-coords { font-size: 1.1rem; }
  .readout-label { font-size: .6rem; }
  .js-flow .map .flow-tabs { bottom: 14px; gap: 6px; }
  .flow-tabs button { font-size: .6rem; letter-spacing: .08em; }
}
/* Globe spans the whole stage; a scrim keeps the copy column clean */
.globe { left: 0; width: 100%; }
.map .flow-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, var(--midnight) 0%, rgba(11, 20, 38, .92) 30%, rgba(11, 20, 38, 0) 52%),
              linear-gradient(to top, var(--midnight) 0, rgba(11, 20, 38, 0) 18%);
}
.readout { z-index: 3; text-shadow: 0 2px 14px rgba(11, 20, 38, .95), 0 0 2px rgba(11, 20, 38, .9); }
@media (max-width: 1080px) {
  .globe { width: 100%; }
  .map .flow-stage::after { background: linear-gradient(to right, var(--midnight) 0%, rgba(11, 20, 38, .9) 42%, rgba(11, 20, 38, 0) 66%), linear-gradient(to top, var(--midnight) 0, rgba(11, 20, 38, 0) 16%); }
}
@media (max-width: 720px) {
  .globe { width: 100%; }
  .map .flow-stage::after { background: linear-gradient(to bottom, rgba(11, 20, 38, 0) 0%, rgba(11, 20, 38, 0) 44%, var(--midnight) 54%); }
}
@media (min-width: 1081px) { .map .case { grid-column: 6 / span 3; height: clamp(280px, 50vh, 440px); } }

/* =====================================================================
   Round 8: glass calendar, colour per page, sorting forms, holographic
   workflow, service picker. Visual references: owner-supplied stock photos
   (recreated as original artwork, not used).
   ===================================================================== */
#figures  { --bg: #e3edf8; --prev: #e6eff9; }
#serve    { --bg: #fff8ea; --prev: #e3edf8; }
#process  { --prev: #fff8ea; }
#gather   { --bg: #13223d; --prev: var(--midnight); }
#fees     { --bg: #ffd447; --prev: #13223d; }
#advisors { --bg: #d9efff; --prev: #ffd447; }
#contact  { --prev: #d9efff; }
.bg-sky, .bg-warm, .bg-sun, .bg-skylite { background: var(--bg); }

/* ---------- p.01 hero: window-light ambience and a larger see-through chart ---------- */
.hero { background: #eef3f9; }
.hero-ambient {
  position: sticky; top: 0; display: block; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 212, 71, .55), rgba(255, 212, 71, 0) 42%),
    radial-gradient(circle at 6% 96%, rgba(92, 196, 141, .28), rgba(92, 196, 141, 0) 38%),
    linear-gradient(160deg, #fff8ea 0%, #eef3f9 46%, #dbe8f6 100%);
}
.window-light { position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; transform: rotate(18deg);
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55) 40%, rgba(255, 255, 255, 0) 70%); filter: blur(10px); }
.bokeh { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .55; }
.hero-ambient .b1 { width: 240px; height: 240px; right: 6%; top: 8%; background: #ffe08a; }
.hero-ambient .b2 { width: 160px; height: 160px; right: 28%; top: 2%; background: #fff1c2; }
.hero-ambient .b3 { width: 280px; height: 280px; left: -4%; bottom: -6%; background: #a8e0c0; opacity: .45; }
.hero-ambient .b4 { width: 120px; height: 120px; left: 38%; top: 30%; background: #cfe6ff; }
.hero-ambient .b5 { width: 200px; height: 200px; right: -4%; bottom: 10%; background: #bcdcff; }
.hero-stage { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.6rem, min(7vw, 11vh), 7rem); }
.cal.glass {
  padding: 16px 20px 12px; background: rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 30px 60px -30px rgba(0, 40, 104, .35), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 40, 104, .06);
}
.cal.glass .cal-head { border-bottom-color: rgba(0, 40, 104, .14); }
.cal.glass .cal-plot { height: clamp(150px, 27vh, 250px); }
.cal.glass .cal-window { background: rgba(0, 40, 104, .07); border-left: 1px dashed rgba(0, 40, 104, .25); }
.cal.glass .cal-track { border-top-color: rgba(0, 40, 104, .45); }
.cal.glass .mark-dot { background: rgba(255, 255, 255, .7); }

/* ---------- p.02 key figures: forms in disarray get organized ---------- */
#figures { padding-top: 0; padding-bottom: 0; }
.sort-stage { position: relative; padding: calc(var(--blend) + 12px) 0 var(--section); overflow: clip; }
.sort-stage > .grid { position: relative; z-index: 2; }
.figures .figure { background: color-mix(in srgb, var(--bg) 84%, transparent); }
.sort-caption { margin-top: clamp(14px, 3vh, 28px); font: 600 clamp(1.25rem, 2vw, 1.75rem)/1.15 var(--serif); letter-spacing: -0.02em; color: var(--navy); }
.sort-caption em { color: var(--ink); }
.desk {
  position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.4vw, 20px);
  max-width: 1320px; margin: clamp(18px, 4vh, 40px) auto 0; padding: 0 var(--gutter);
}
.sheet { margin: 0; flex: 0 1 11%; display: grid; gap: 8px; justify-items: center; will-change: transform; }
.sheet img { display: block; width: 100%; height: auto; box-shadow: 0 16px 28px -16px rgba(0, 28, 70, .55), 0 1px 3px rgba(0, 28, 70, .18); }
.sheet[data-i="6"] { flex-basis: 5.5%; }
.sheet figcaption { font: 500 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ash); white-space: nowrap; }
.js-sort #figures .sort { height: 240vh; }
.js-sort #figures .sort-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 20px; display: flex; flex-direction: column; }
.js-sort #figures .desk { flex: 1; align-items: flex-end; padding-bottom: 2vh; }
.js-sort .sheet figcaption { opacity: var(--cap, 1); }

/* ---------- p.04 holographic workflow ---------- */
.holo-section { background: var(--midnight); }
.holo-ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(circle at 92% 6%, rgba(255, 196, 92, .30), rgba(255, 196, 92, 0) 40%), radial-gradient(circle at 70% 100%, rgba(143, 211, 255, .12), rgba(143, 211, 255, 0) 50%); }
.holo-ambient .bokeh { opacity: .35; filter: blur(22px); }
.holo-ambient .b1 { width: 120px; height: 120px; right: 8%; top: 6%; background: #ffcf6e; }
.holo-ambient .b2 { width: 70px; height: 70px; right: 26%; top: 14%; background: #ffe7a8; }
.holo-ambient .b3 { width: 160px; height: 160px; right: 2%; top: 30%; background: #5cc48d; opacity: .18; }
.holo-ambient .b4 { width: 60px; height: 60px; right: 40%; top: 4%; background: #8fd3ff; }
.map.holo-section .flow-stage::after { background: linear-gradient(to right, var(--midnight) 0%, rgba(11, 20, 38, .9) 32%, rgba(11, 20, 38, 0) 50%); }
.case.holo { --s3: 1; grid-column: 6 / -1; height: clamp(360px, 66vh, 600px); align-self: center; perspective: 1300px; cursor: grab; }
.laptop { position: absolute; left: 8%; right: 2%; bottom: 0; height: 26%; pointer-events: none; }
.laptop-base { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, #2a3446, #161d2a 70%, #0f141e); }
.laptop-base i { position: absolute; left: 18%; right: 18%; top: 14%; bottom: 30%;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, .07) 0 18px, transparent 18px 22px), repeating-linear-gradient(to bottom, transparent 0 9px, rgba(0, 0, 0, .35) 9px 11px); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.laptop-screen { position: absolute; left: 4%; bottom: 58%; width: 10px; height: 160%; background: linear-gradient(#26314a, #0c111b); transform: skewY(-14deg); border-radius: 2px; box-shadow: 0 0 18px rgba(143, 211, 255, .35); }
.holo-rig {
  position: absolute; left: 6%; right: 2%; top: 4%; bottom: 20%; transform-style: preserve-3d;
  transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(var(--zoom, 1)) rotateX(calc(6deg + var(--dx))) rotateY(calc(var(--ry) * .55 + var(--dy)));
  transition: transform 120ms linear;
}
.trails { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trails path { fill: none; stroke: rgba(143, 211, 255, .55); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 3 9; filter: drop-shadow(0 0 4px rgba(143, 211, 255, .9)); }
.tile {
  position: absolute; width: clamp(64px, 6.4vw, 92px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 4px;
  background: linear-gradient(160deg, rgba(143, 211, 255, .16), rgba(143, 211, 255, .04)); border: 1px solid rgba(143, 211, 255, .6);
  box-shadow: 0 0 22px rgba(143, 211, 255, .28), inset 0 0 16px rgba(143, 211, 255, .12); color: #cfeeff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transform: translateZ(30px); transition: border-color 200ms, box-shadow 200ms, color 200ms;
}
.tile svg { width: 46%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile span { font: 600 .58rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.t-lock { left: 0; top: 2%; } .t-docs { left: 0; top: 62%; } .t-calc { right: 0; top: 2%; } .t-bell { right: 0; top: 62%; }
.tile.is-on { border-color: var(--sun); color: #fff3c4; box-shadow: 0 0 30px rgba(255, 212, 71, .45), inset 0 0 18px rgba(255, 212, 71, .18); }
.core {
  position: absolute; left: 22%; right: 22%; top: 6%; bottom: 8%; transform: translateZ(60px);
  background: linear-gradient(160deg, rgba(143, 211, 255, .18), rgba(143, 211, 255, .05)); border: 1px solid rgba(143, 211, 255, .7);
  box-shadow: 0 0 40px rgba(143, 211, 255, .3), inset 0 0 30px rgba(143, 211, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.core-title { position: absolute; left: 0; right: 0; top: 7%; text-align: center; font: 700 clamp(1.8rem, 3.6vw, 3.4rem)/1 var(--serif); letter-spacing: .04em; color: #fff;
  text-shadow: 0 0 12px rgba(143, 211, 255, .95), 0 0 28px rgba(143, 211, 255, .6); }
.core-step { position: absolute; left: 6%; right: 6%; top: 30%; bottom: 6%; display: grid; place-items: center; align-content: center; gap: 12px; }
.core-note { font: 600 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #cfeeff; }
.core-1 { opacity: calc(1 - var(--s2) * 1.4); }
.core-2 { opacity: clamp(0, calc(var(--s2) * 1.5 - var(--s3) * 2), 1); }
.core-3 { opacity: clamp(0, calc(var(--s3) * 2 - var(--s4) * 2), 1); }
.core-4 { opacity: var(--s4); }
.dots { display: flex; gap: 10px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #cfeeff; background: #cfeeff; box-shadow: 0 0 8px rgba(143, 211, 255, .8); }
.dots i:nth-child(1) { opacity: clamp(.15, calc(var(--s1) * 6 - 0), 1); } .dots i:nth-child(2) { opacity: clamp(.15, calc(var(--s1) * 6 - 1), 1); }
.dots i:nth-child(3) { opacity: clamp(.15, calc(var(--s1) * 6 - 2), 1); } .dots i:nth-child(4) { opacity: clamp(.15, calc(var(--s1) * 6 - 3), 1); }
.dots i:nth-child(5) { opacity: clamp(.15, calc(var(--s1) * 6 - 4), 1); } .dots i:nth-child(6) { opacity: clamp(.15, calc(var(--s1) * 6 - 5), 1); }
.core-2 { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.core-2 img { width: 100%; height: auto; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .8); }
.core-2 img:nth-child(1) { transform: translateY(calc((1 - var(--s2)) * 220%)) rotate(-6deg); }
.core-2 img:nth-child(2) { transform: translateY(calc((1 - var(--s2)) * 260%)) rotate(3deg); }
.core-2 img:nth-child(3) { width: 60%; transform: translateY(calc((1 - var(--s2)) * 160%)) rotate(-2deg); }
.core-2 .core-note { grid-column: 1 / -1; }
.ret-thumb { position: relative; width: 44%; overflow: hidden; box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .85); }
.ret-thumb img { display: block; width: 100%; height: auto; }
.ret-thumb .scan { position: absolute; left: 0; right: 0; height: 18%; top: calc(var(--s3) * 82%); background: linear-gradient(to bottom, rgba(143, 211, 255, 0), rgba(143, 211, 255, .55), rgba(143, 211, 255, 0)); }
.ring { width: 46%; height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(92, 196, 141, .8)); }
.ring circle { fill: none; stroke: #5cc48d; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc((1 - var(--s4)) * 100); transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring path { fill: none; stroke: var(--sun); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: calc((1 - clamp(0, calc(var(--s4) * 2 - 1), 1)) * 100); }
.checks { position: absolute; right: 14%; bottom: -4%; list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; transform: translateZ(80px);
  background: rgba(11, 20, 38, .65); border: 1px solid rgba(143, 211, 255, .45); font: 600 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #cfeeff; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks b { position: relative; width: 11px; height: 11px; border: 1px solid #cfeeff; }
.checks b::after { content: ""; position: absolute; left: 2px; top: -1px; width: 4px; height: 7px; border: solid var(--sun); border-width: 0 2px 2px 0; transform: rotate(40deg); opacity: 0; }
.checks li[data-c="0"] b::after { opacity: clamp(0, calc((var(--s1) - .9) * 10), 1); }
.checks li[data-c="1"] b::after { opacity: clamp(0, calc((var(--s2) - .9) * 10), 1); }
.checks li[data-c="2"] b::after { opacity: clamp(0, calc((var(--s3) - .9) * 10), 1); }
.checks li[data-c="3"] b::after { opacity: clamp(0, calc((var(--s4) - .9) * 10), 1); }
.case.holo .toast { left: auto; right: 0; top: 0; z-index: 4; }
@media (prefers-reduced-motion: no-preference) {
  .trails path { animation: trail 1.6s linear infinite; }
  .ret-thumb .scan { transition: top 120ms linear; }
}
@keyframes trail { to { stroke-dashoffset: -24; } }

/* ---------- p.05 service picker (magnifier with orbiting services) ---------- */
.bg-dusk { background: radial-gradient(circle at 50% 52%, rgba(255, 212, 71, .14), rgba(255, 212, 71, 0) 34%), var(--bg); }
.picker-copy { grid-column: 1 / span 4; margin-top: clamp(28px, 5vh, 56px); }
.picker-copy .h2 { margin-top: 0; color: var(--paper); font-size: clamp(2rem, 3.4vw, 3.25rem); }
.picker-copy .h2 em { color: var(--sun); }
.client-kind { border: 0; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.client-kind legend { float: left; margin-right: 8px; }
.client-kind label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(242, 245, 249, .35); color: var(--paper); cursor: pointer; }
.client-kind input { accent-color: var(--sun); }
.client-kind label:has(input:checked) { border-color: var(--sun); color: var(--sun); }
.client-kind label:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 3px; }
.picker-help { margin-top: 16px; color: rgba(242, 245, 249, .8); font-size: .9375rem; }
.lens-stage { grid-column: 5 / span 4; position: relative; margin-top: clamp(28px, 5vh, 56px); }
.lens { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(143, 211, 255, .35); }
.orbit.o1 { transform: rotate(-24deg) scaleY(.52); }
.orbit.o2 { transform: rotate(28deg) scaleY(.52); border-color: rgba(255, 212, 71, .3); }
.lens-glass { position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .18), rgba(143, 211, 255, .06) 45%, rgba(11, 20, 38, .4) 75%);
  border: 6px solid #2a3a58; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 50px rgba(255, 212, 71, .25), inset 0 0 30px rgba(143, 211, 255, .2); }
.lens-word { font: 700 clamp(2rem, 4.6vw, 3.6rem)/1 var(--serif); letter-spacing: .02em; color: var(--sun); text-shadow: 0 0 14px rgba(255, 212, 71, .9), 0 0 32px rgba(255, 212, 71, .5); }
.lens-handle { position: absolute; width: 8%; height: 26%; left: 66%; top: 66%; background: linear-gradient(90deg, #1c273c, #3a4a68, #1c273c); border-radius: 6px; transform: rotate(-45deg); transform-origin: top center; }
.services { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.svc { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px 8px 8px;
  background: rgba(19, 34, 61, .85); border: 1px solid rgba(143, 211, 255, .45); color: var(--paper); font: 500 .875rem/1.2 var(--sans);
  box-shadow: 0 0 16px rgba(143, 211, 255, .12); transition: border-color 160ms, box-shadow 160ms, color 160ms; }
.svc-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(143, 211, 255, .6); color: #cfeeff; }
.svc-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover { border-color: var(--paper); }
.svc[aria-pressed="true"] { border-color: var(--sun); color: #fff3c4; box-shadow: 0 0 22px rgba(255, 212, 71, .35); }
.svc[aria-pressed="true"] .svc-icon { border-color: var(--sun); color: var(--sun); background: rgba(255, 212, 71, .12); }
.svc:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
/* With JS the services sit on the orbit around the lens */
.orbit-on .services { position: absolute; inset: 0; margin: 0; display: block; }
.orbit-on .services li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.orbit-on .svc { width: auto; white-space: nowrap; }
.checklist-panel { grid-column: 9 / -1; margin-top: clamp(28px, 5vh, 56px); padding: 18px 20px; border: 1px solid rgba(242, 245, 249, .25); background: rgba(11, 20, 38, .45); align-self: start; }
.checklist-head { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid rgba(242, 245, 249, .2); }
.checklist-head .label { color: var(--sun); }
.draft-note { font-size: .8125rem; color: rgba(242, 245, 249, .75); }
.checklist-body { max-height: min(46vh, 460px); overflow: auto; padding: 6px 4px 6px 0; }
.checklist-empty { padding: 16px 0; color: rgba(242, 245, 249, .8); }
.checklist-body h3 { margin: 14px 0 6px; font: 600 .95rem/1.2 var(--serif); letter-spacing: -0.01em; color: var(--paper); }
.checklist-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist-body label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 6px 0; font-size: .9rem; color: rgba(242, 245, 249, .9); cursor: pointer; }
.checklist-body input { margin-top: 3px; accent-color: var(--sun); }
.checklist-body input:checked + span { text-decoration: line-through; color: rgba(242, 245, 249, .6); }
.checklist-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.checklist-panel .btn-solid { background: var(--sun); border-color: var(--sun); color: var(--midnight); }
.checklist-panel [aria-disabled="true"] { pointer-events: none; opacity: .75; }
.checklist-panel .ph { color: var(--paper); background: rgba(255, 212, 71, .18); }
#gather .run > span.run-no, #gather .run > span.run-title { color: var(--paper); }

/* ---------- p.06 fees on solar yellow, p.07 advisors on light sky ---------- */
.bg-sun .run > span:not(.rule), .bg-sun .label { color: #3b3420; }
.bg-sun .run > span.run-no, .bg-sun .run > span.run-title { color: var(--midnight); }
.bg-sun .rule { background: var(--midnight); }
.bg-sun .h2 { color: var(--midnight); } .bg-sun .h2 em { color: var(--navy); }
.bg-sun .fees-body { color: var(--midnight); }
.bg-sun .btn-line { color: var(--midnight); border-color: var(--midnight); }
.bg-sun .btn-line:hover { background: var(--midnight); color: var(--sun); }
.bg-skylite .plate-mark { background: rgba(255, 255, 255, .6); }
.footer { background: var(--midnight); }

@media print {
  body * { visibility: hidden; }
  .checklist-panel, .checklist-panel * { visibility: visible; color: #000 !important; }
  .checklist-panel { position: absolute; left: 0; top: 0; width: 100%; border: 0; background: #fff; }
  .checklist-actions { display: none; }
}

@media (max-width: 1080px) {
  .case.holo { grid-column: 7 / -1; }
  .picker-copy { grid-column: 1 / -1; }
  .lens-stage { grid-column: 1 / span 6; }
  .checklist-panel { grid-column: 7 / -1; }
  .sheet { flex-basis: 11.5%; }
}
@media (max-width: 720px) {
  .cal.glass { padding: 12px 12px 10px; }
  .cal.glass .cal-plot { height: auto; }
  .desk { flex-wrap: wrap; row-gap: 10px; }
  .sheet { flex: 0 0 21%; }
  .sheet[data-i="6"] { flex-basis: 10%; }
  .js-sort #figures .figures { row-gap: 14px; margin-top: 16px; }
  .js-sort #figures .num { font-size: 2.4rem; }
  .js-sort #figures .figure-sub { display: none; }
  .js-sort #figures .sort-caption { display: none; }
  .case.holo { grid-column: 1 / -1; order: -1; height: 40vh; height: 40svh; }
  .tile { width: 52px; } .tile span { display: none; }
  .core { left: 20%; right: 20%; }
  .checks { right: 2%; bottom: -2%; font-size: .5rem; }
  .case.holo .toast { right: auto; left: 0; top: auto; bottom: -6%; }
  .lens-stage, .checklist-panel { grid-column: 1 / -1; }
  .lens-stage { max-width: 380px; margin-inline: auto; width: 100%; }
  .orbit-on .svc .svc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .orbit-on .svc { padding: 6px; border-radius: 50%; }
}

/* Round 8 fixes */
.hero-stage { padding-bottom: 14px; }
.client-kind legend { float: none; width: 100%; margin: 0 0 6px; }
.lens-stage { padding: 6% 4%; }
@media (min-width: 1081px) { .lens-stage { grid-column: 5 / span 4; } .orbit-on .svc { padding: 6px 10px 6px 6px; font-size: .8125rem; } .orbit-on .svc-icon { width: 28px; height: 28px; } }
@media (max-width: 1080px) {
  .case.holo { grid-column: 1 / -1; order: -1; height: 44vh; height: 44svh; }
  .map .flow-copy { grid-column: 1 / -1; }
  .js-flow .map .kicker-pill, .js-flow .map .flow-copy .h2, .js-flow .map .flow-pre, .js-flow .map .flow-cta { display: none; }
  .js-flow .map .panel { margin-top: 4px; }
  .map.holo-section .flow-stage::after { background: linear-gradient(to bottom, rgba(11, 20, 38, 0) 0%, rgba(11, 20, 38, 0) 46%, var(--midnight) 58%); }
  .holo-rig { left: 10%; right: 10%; }
}
@media (max-width: 720px) { .holo-rig { left: 2%; right: 2%; } .case.holo { height: 40vh; height: 40svh; } }
.client-kind legend.label { color: var(--paper); }
@media (max-width: 1080px) { .readout { background: rgba(11, 20, 38, .82); padding: 6px 10px; border: 1px solid rgba(143, 211, 255, .25); } }

/* Round 9: fees now close the "Choose your services" page */
#advisors { --prev: #13223d; }
.fees-block {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  margin-top: clamp(40px, 7vh, 80px); padding-top: clamp(24px, 4vh, 40px); border-top: 1px solid rgba(242, 245, 249, .3);
}
.fees-block .fees-title { grid-column: 1 / span 6; margin-top: 0; color: var(--paper); }
.fees-block .fees-title em { color: var(--sun); }
.fees-block .fees-body { grid-column: 7 / -1; margin-top: 0; color: rgba(242, 245, 249, .88); }
@media (max-width: 720px) { .fees-block .fees-title, .fees-block .fees-body { grid-column: 1 / -1; } .fees-block .fees-body { margin-top: 18px; } }
/* Round 10: Advisors removed for now (saved in archive/saved-sections/); Contact follows the dusk page */
#contact { --prev: #13223d; }

/* ---------- Round 11: header button on tablet and phone (Client Portal since round 28) ---------- */
.nav-cta { display: none; }
@media (max-width: 1080px) {
  .nav-inner { gap: 10px; }
  .nav-cta { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 14px; font-size: .8125rem; white-space: nowrap; }
}
@media (max-width: 460px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-cta { padding: 0 12px; font-size: .78rem; }
}

/* ---------- Round 12: hero fits short phones (iPhone Safari 390x664 with toolbars) so it pins ---------- */
@media (max-width: 720px) and (max-height: 800px) {
  .hero-stage { padding-top: calc(var(--nav-h) + 10px); padding-bottom: 8px; }
  .run-hero .run-note { display: none; }
  .hero-title { margin-top: 12px; font-size: clamp(2.2rem, 10.4vw, 3rem); }
  .hero-foot { margin-top: 10px; gap: 10px; }
  .hero-lede { font-size: 1rem; }
  .cal { margin-top: 14px; }
  .cal.glass { padding: 10px 12px 8px; }
  .cal-head { padding-bottom: 6px; gap: 4px; }
  .cal-plot, .cal.glass .cal-plot { padding-top: 66px; }
  .cal-marks { gap: 8px 14px; }
  .mark-text, .mark-low .mark-text, .mark-end .mark-text { padding-top: 5px; font-size: .8125rem; line-height: 1.3; }
  .cal-note { margin-top: 8px; font-size: .75rem; line-height: 1.35; }
}

/* ---------- Round 13: client checklists. Forms file into a folder; downloads on Who we serve ---------- */
/* Caption: two beats stacked in one place */
.sort-caption { display: grid; }
.sort-caption .cap { grid-area: 1 / 1; transition: none; }
.sort-caption .cap-a { opacity: 0; }
.js-sort #figures .cap-a { opacity: calc(1 - var(--f, 0) * 3); }
.js-sort #figures .cap-b { opacity: calc(var(--f, 0) * 3 - 1.4); }
.js-sort #figures .sort { height: 340vh; }

/* The folder */
.file { --f: 1; position: relative; flex: 0 0 17%; aspect-ratio: 1.42; align-self: flex-end; pointer-events: none; }
.js-sort #figures .file { position: absolute; left: 50%; bottom: 2vh; width: min(380px, 60vw); margin-left: calc(min(380px, 60vw) / -2); flex: none; --f: inherit; }
.file-back, .file-front, .file-card { position: absolute; left: 0; right: 0; }
.file-back {
  z-index: 0; top: 8%; bottom: 0; border-radius: 4px 10px 6px 6px;
  background: linear-gradient(180deg, #d9b56c, #c99f4f); box-shadow: 0 26px 40px -22px rgba(60, 40, 0, .6);
}
.file-tab {
  position: absolute; right: 6%; top: -13%; height: 15%; padding: 0 14px; display: flex; align-items: center;
  border-radius: 6px 6px 0 0; background: #d9b56c; font: 600 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #5a4210;
}
.file-card {
  z-index: 20; left: 14%; right: 14%; top: -16%; height: 88%; background: #fff; border-radius: 2px; overflow: hidden;
  box-shadow: 0 10px 24px -12px rgba(0, 28, 70, .55), 0 0 0 1px rgba(0, 28, 70, .08);
}
.fc-band { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px 4px; padding: 7% 7% 5%; background: #12365c; color: #fff; }
.fc-band b { grid-column: 1 / -1; font: 700 clamp(.6rem, 1.1vw, .8rem)/1 var(--sans); }
.fc-band span { grid-column: 1 / -1; font: 500 clamp(.42rem, .7vw, .55rem)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.fc-band i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); margin-top: 4px; }
.fc-band i:first-of-type { background: #7cc4ef; }
.fc-rows { list-style: none; margin: 0; padding: 6% 7% 0; display: grid; gap: 7%; }
.fc-rows li { display: flex; align-items: center; gap: 8px; font: 500 clamp(.5rem, .85vw, .7rem)/1.1 var(--sans); color: #1d2b3a; }
.fc-rows li::before {
  content: ""; flex: none; width: 1.3em; height: 1.3em; border: 1.5px solid #d9b56c; border-radius: 2px;
  background: center / 80% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23002868' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.js-sort #figures .fc-rows li::before { background-size: 0; transition: background-size .25s ease; }
.js-sort #figures .fc-rows li.is-on::before { background-size: 80%; }
.fc-foot { position: absolute; left: 7%; right: 7%; bottom: 30%; margin: 0; font: 500 clamp(.42rem, .7vw, .55rem)/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6b7a8c; }
.file-front {
  z-index: 30; bottom: 0; height: 64%; border-radius: 3px 3px 6px 6px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ecc97f, #dcb466); box-shadow: 0 -1px 0 rgba(255, 255, 255, .5) inset, 0 -8px 18px -12px rgba(60, 40, 0, .5);
}
.file-label { font: 600 clamp(.85rem, 1.6vw, 1.15rem)/1.1 var(--serif); letter-spacing: -.01em; color: #3b2a06; text-align: center; }
.file-label em { display: block; margin-top: 4px; font: 500 .62rem/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #6b4f12; }
/* Scroll beat: folder appears, checklist rises, ticks, then the forms drop in and the label settles */
.js-sort #figures .file-back, .js-sort #figures .file-front { opacity: clamp(0, calc(var(--f) * 5), 1); transform-origin: 50% 100%; transform: scale(calc(.9 + clamp(0, calc(var(--f) * 4), 1) * .1)); }
.js-sort #figures .file-card { opacity: clamp(0, calc(var(--f) * 5 - .4), 1); transform: translateY(calc((1 - clamp(0, calc(var(--f) * 3.2 - .2), 1)) * 28%)) rotate(-1.5deg); }
.js-sort #figures .file-label { opacity: 0; transition: opacity .3s ease; }
.js-sort #figures .file.is-done .file-label { opacity: 1; }

/* Still version (reduced motion, no JS, or stage too tall): the folder sits at the end of the organized row */
@media (max-width: 720px) {
  .file { flex: 0 0 60%; margin: 24px auto 0; }
  .js-sort #figures .file { width: 64vw; margin-left: -32vw; bottom: 1.5vh; }
}

/* Who we serve: checklist downloads */
.checklists { position: relative; margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cl-intro .h3 { margin: 10px 0 0; font: 600 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--serif); letter-spacing: -.02em; color: var(--navy); }
.cl-intro .h3 em { color: var(--ink); }
.cl-steps { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.cl-steps li { display: grid; grid-template-columns: 2.2em 1fr; padding: 12px 0; border-bottom: 1px solid var(--lichen); font-size: .9375rem; }
.cl-steps b { font: 600 .8rem/1.6 var(--mono); color: var(--gold-ink, #8a6a1f); }
.cl-note { margin-top: 14px; font-size: .875rem; color: var(--ash); }
.cl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cl-card a {
  display: grid; gap: 6px; height: 100%; padding: 10px 10px 14px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, #fff 70%, var(--bg)); border: 1px solid var(--lichen); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cl-card img { width: 100%; height: auto; display: block; margin-bottom: 6px; box-shadow: 0 10px 22px -14px rgba(0, 28, 70, .55), 0 0 0 1px rgba(0, 28, 70, .08); }
.cl-name { font: 600 1rem/1.15 var(--serif); color: var(--navy); }
.cl-meta { font-size: .78rem; color: var(--ash); line-height: 1.35; }
.cl-get { margin-top: 4px; font: 600 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.cl-get::after { content: " \2193"; }
.cl-card a:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(0, 28, 70, .6); }
.cl-card.is-match a { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
@media (prefers-reduced-motion: reduce) { .cl-card a, .cl-card a:hover { transition: none; transform: none; } }
@media (max-width: 1080px) { .checklists { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .cl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-name { font-size: .9375rem; }
}

/* Choose your services: PDF links for the chosen services */
.checklist-pdfs { display: grid; gap: 8px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(255, 212, 71, .45); background: rgba(255, 212, 71, .08); }
.checklist-pdfs .label { margin: 0; color: var(--sun, #ffd447); }
.pdf-link { color: var(--paper); font-weight: 600; text-underline-offset: 3px; }
.pdf-link span { font-weight: 400; color: rgba(242, 245, 249, .72); font-size: .85em; }
.pdf-link::before { content: "\2193  "; color: var(--sun, #ffd447); }
@media print { .checklist-pdfs { display: none; } }
.js-sort #figures .sort { --f: 0; }
@media (max-width: 720px) {
  .js-sort #figures .sort-caption { display: grid; margin-top: 18px; font-size: 1.15rem; }
}
@media (max-width: 720px) and (max-height: 800px) {
  .js-sort #figures .desk { margin-top: 10px; row-gap: 6px; }
  .js-sort #figures .sheet { flex-basis: 17%; gap: 4px; }
  .js-sort #figures .sheet[data-i="6"] { flex-basis: 8%; }
  .js-sort #figures .sort-caption { margin-top: 12px; font-size: 1.05rem; }
  .js-sort #figures .figures { margin-top: 10px; }
}
.fc-foot { display: none; }

/* ---------- Round 15: folder you can check to download a checklist; Who we serve presents the match ---------- */
#checklists { scroll-margin-top: calc(var(--nav-h) + 16px); }
.file { pointer-events: none; }
.file-card, .file-foot { pointer-events: auto; }
.fc-band { padding: 6% 7% 4%; }
.fc-q { margin: 0; padding: 5% 7% 1%; font: 600 clamp(.56rem, .9vw, .72rem)/1.2 var(--sans); color: #12365c; }
.fc-rows { padding: 1% 5% 0; gap: 0; }
.fc-rows li::before { display: none; }
.fc-rows label { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px; cursor: pointer; font: 500 clamp(.62rem, .95vw, .8rem)/1.1 var(--sans); color: #1d2b3a; border-radius: 3px; }
.fc-rows label:hover { background: #eef3f9; }
.fc-rows small { font: 500 .62rem/1 var(--mono); letter-spacing: .06em; color: #6b7a8c; margin-left: 4px; }
.fc-rows input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 18px; height: 18px; border: 1.5px solid #c99f4f; border-radius: 3px; background: #fff center / 80% no-repeat;
}
.fc-rows input:checked { border-color: #002868; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23002868' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fc-rows input:focus-visible { outline: 2px solid #002868; outline-offset: 2px; }
.fc-rows label:has(input:checked) { background: #eef3f9; }
/* Open folder: the front drops so the choices show; the foot holds the label or the download */
.file-front { transform-origin: 50% 100%; transform: scale(1, .42); }
.js-sort #figures .file.is-done .file-front { transform: scale(1, .42); transition: transform .4s ease; }
.file-foot { position: absolute; z-index: 35; left: 0; right: 0; bottom: 0; height: 27%; display: flex; align-items: center; justify-content: center; padding: 0 6%; }
.file-foot .file-label { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: clamp(.85rem, 1.4vw, 1.05rem); }
.file-foot .file-label em { margin-top: 0; display: inline; }
.file-dl { min-height: 40px; padding: 6px 14px; font-size: .8125rem; line-height: 1.2; text-align: center; white-space: normal; background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.file-dl::before { content: "\2193  "; }
.js-sort #figures .file:not(.is-done) .file-foot { opacity: 0; pointer-events: none; }
.js-sort #figures .file.is-done .file-foot { opacity: 1; transition: opacity .3s ease .15s; }
.js-sort #figures .file-foot .file-label { opacity: 1; }
.js-sort #figures .fc-rows li { opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
.js-sort #figures .fc-rows li.is-on, .js-sort #figures .file.is-done .fc-rows li { opacity: 1; transform: none; }
/* Still version: the open folder sits on its own line under the organized row */
html:not(.js-sort) #figures .desk { flex-wrap: wrap; row-gap: 28px; }
html:not(.js-sort) #figures .file { flex: 0 0 100%; max-width: 380px; margin: 34px auto 0; }
.js-sort #figures .file { width: min(400px, 62vw); margin-left: calc(min(400px, 62vw) / -2); }
@media (max-width: 720px) {
  .js-sort #figures .file { width: 78vw; margin-left: -39vw; }
  html:not(.js-sort) #figures .file { max-width: 300px; }
  .fc-rows label { min-height: 28px; font-size: .72rem; }
  .fc-q { font-size: .64rem; }
  .fc-band { padding: 5% 6% 3%; }
  .file-dl { font-size: .75rem; min-height: 36px; padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) { .file-front, .file-foot, .fc-rows li { transition: none !important; } }

/* Who we serve: presented checklist */
.cl-for { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 600 1.05rem/1.3 var(--serif); color: var(--navy); }
.cl-all { min-height: 36px; padding: 0 12px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font: 500 .8125rem/1 var(--sans); cursor: pointer; }
.cl-all:hover { background: var(--navy); color: #fff; }
.cl-card[hidden] { display: none; }
.file-dl[hidden], .file-foot .file-label[hidden], .cl-for[hidden] { display: none; }
.cl-list { scroll-margin-top: calc(var(--nav-h) + 12px); }
.file-tab { width: 24%; padding: 0; }

/* ---------- Round 17: four folders, one per return. Documents drop into their folder; picking one offers its checklist ---------- */
.files { --f: 1; position: relative; flex: 0 0 100%; max-width: 760px; margin: 34px auto 0; display: grid; gap: 12px; pointer-events: none; }
.js-sort #figures .files { --f: inherit; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2vh; margin: 0 auto; }
.files-q { margin: 0 0 6px; text-align: center; font: 600 clamp(.8rem, 1.2vw, .95rem)/1.2 var(--sans); color: var(--navy); }
.folders { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2.2vw, 26px); }
.ret-folder { position: relative; display: block; aspect-ratio: 1.3; cursor: pointer; pointer-events: auto; }
.ret-folder input { position: absolute; z-index: 45; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fo-back { position: absolute; z-index: 1; left: 0; right: 0; top: 12%; bottom: 0; border-radius: 3px 8px 5px 5px; background: linear-gradient(180deg, #d9b56c, #c99f4f); box-shadow: 0 22px 34px -20px rgba(60, 40, 0, .6); }
.fo-tab { position: absolute; left: 7%; top: -15%; height: 16%; max-width: 86%; padding: 0 10px; display: flex; align-items: center; border-radius: 5px 5px 0 0; background: #d9b56c; font: 600 clamp(.5rem, .8vw, .62rem)/1 var(--mono); letter-spacing: .08em; color: #5a4210; white-space: nowrap; overflow: hidden; }
.fo-stub { position: absolute; z-index: 2; left: 18%; right: 18%; top: 0; bottom: 12%; }
.fo-stub i { position: absolute; inset: 0; border-radius: 2px; background: #fdfcf8 repeating-linear-gradient(180deg, transparent 0 9px, rgba(18, 54, 92, .14) 9px 10px); box-shadow: 0 6px 14px -8px rgba(0, 28, 70, .5); transform: rotate(-2.5deg); }
.fo-stub i + i { transform: rotate(3deg) translate(9%, 6%); }
.js-sort #figures .fo-stub { display: none; }
.fo-front { position: absolute; z-index: 30; left: 0; right: 0; bottom: 0; height: 56%; padding: 0 6%; border-radius: 3px 3px 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; background: linear-gradient(180deg, #ecc97f, #dcb466); box-shadow: 0 -1px 0 rgba(255, 255, 255, .5) inset, 0 -8px 18px -12px rgba(60, 40, 0, .5); transition: background .2s ease; }
.fo-front b { font: 600 clamp(.72rem, 1.35vw, 1rem)/1.1 var(--serif); letter-spacing: -.01em; color: #3b2a06; }
.fo-front small { font: 500 clamp(.5rem, .8vw, .62rem)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6b4f12; }
.ret-folder:hover .fo-front { background: linear-gradient(180deg, #f3d692, #e3bd70); }
.ret-folder:has(input:focus-visible) .fo-front { outline: 2px solid var(--navy); outline-offset: 3px; }
.ret-folder:has(input:checked) .fo-front { background: linear-gradient(180deg, #1d4470, #12365c); }
.ret-folder:has(input:checked) .fo-front b { color: #fff; }
.ret-folder:has(input:checked) .fo-front small { color: #cfe0f2; }
.ret-folder:has(input:checked) .fo-front::after { content: ""; position: absolute; top: -10px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #ffd447 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23002868' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; box-shadow: 0 2px 6px rgba(0, 28, 70, .35); }
.files .file-foot { position: static; z-index: auto; height: auto; min-height: 40px; padding: 0; pointer-events: auto; }
.js-sort #figures .fo-back, .js-sort #figures .fo-front { opacity: clamp(0, calc(var(--f) * 5), 1); transform-origin: 50% 100%; transform: scale(calc(.9 + clamp(0, calc(var(--f) * 4), 1) * .1)); }
.js-sort #figures .files-q { opacity: clamp(0, calc(var(--f) * 4 - 2.6), 1); }
.js-sort #figures .files:not(.is-done) .ret-folder { pointer-events: none; }
.js-sort #figures .files:not(.is-done) .file-foot { opacity: 0; pointer-events: none; }
.js-sort #figures .files.is-done .file-foot { opacity: 1; transition: opacity .3s ease .15s; }
html:not(.js-sort) #figures .desk { flex-wrap: wrap; }
@media (max-width: 720px) {
  .files { gap: 8px; }
  .folders { gap: 8px; }
  .fo-front { gap: 2px; padding: 0 4%; }
  .fo-front b { font-size: .7rem; }
  .fo-front small { font-size: .5rem; letter-spacing: .04em; }
  .fo-tab { padding: 0 6px; font-size: .46rem; }
  .files-q { font-size: .78rem; margin-bottom: 4px; }
  .js-sort #figures .files { bottom: 1.5vh; }
}
@media (prefers-reduced-motion: reduce) { .fo-front, .files .file-foot { transition: none !important; } }
.fo-tab { width: 34%; padding: 0; }
.ret-folder:has(input:checked) .fo-front::after { top: -14px; right: -4px; }
@media (max-width: 720px) { .ret-folder:has(input:checked) .fo-front::after { width: 18px; height: 18px; top: -12px; right: -3px; } }
/* Round 18: "Individual" sits above "Self-employed" (Schedule C is filed with the owner's individual 1040) */
.fo-kick { font: 600 clamp(.5rem, .8vw, .62rem)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b4f12; }
.ret-folder:has(input:checked) .fo-kick { color: #cfe0f2; }
@media (max-width: 720px) { .fo-kick { font-size: .46rem; letter-spacing: .06em; } }

/* ---------- Round 19: client checklists live on the dark Contact page ---------- */
#contact .checklists { margin-top: clamp(48px, 8vh, 88px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid rgba(242, 245, 249, .25); }
#contact .cl-intro .h3 { color: var(--paper); }
#contact .cl-intro .h3 em { color: var(--gold); }
#contact .cl-steps { border-top-color: var(--paper); }
#contact .cl-steps li { color: var(--paper); border-bottom-color: rgba(242, 245, 249, .22); }
#contact .cl-steps b { color: var(--gold); }
#contact .cl-intro a { color: var(--paper); }
#contact .cl-note { color: rgba(242, 245, 249, .78); }
#contact .cl-for { color: var(--paper); }
#contact .cl-all { border-color: var(--paper); color: var(--paper); }
#contact .cl-all:hover { background: var(--paper); color: var(--navy); }
#contact .cl-card a { background: #f7f9fc; border-color: transparent; }
#contact .cl-card a:hover { border-color: var(--gold); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .7); }
#contact .cl-card.is-match a { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
#contact .cl-card a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Round 21: key figures 27 · U.S. · 10,000+ · 4. Four across, "10,000+" needs a little room ---------- */
@media (min-width: 1081px) { .figures .num { font-size: clamp(3rem, 5vw, 4.5rem); } }
/* In the pinned scene the stage is a flex column, so the auto-margined grid shrank to its content. Span the page like other sections. */
.js-sort #figures .sort-stage > .grid { width: 100%; box-sizing: border-box; }

/* Round 22: three key figures; in two-column layouts the third spans the row */
@media (max-width: 1080px) { .figures .figure:nth-child(3) { grid-column: 1 / -1; } }

/* Round 23: key figures scatter and settle with the scroll (transforms set by site.js) */
.js-sort #figures .figure .num, .js-sort #figures .figure .label { display: inline-block; will-change: transform; }
.js-sort #figures .figure { will-change: transform, opacity; transform-origin: 30% 40%; }

/* Round 24: papers and figures fall out of the hero calendar, so the stage may paint above its top edge */
.js-sort #figures .sort-stage { overflow-x: clip; overflow-y: visible; z-index: 2; }
.js-sort #figures .sheet { pointer-events: none; }

/* Round 25: larger folders on tablet and desktop (capped by screen height so they clear the caption) */
@media (min-width: 721px) {
  .files { max-width: min(1120px, 150vh); }
  .fo-front { gap: 6px; }
  .fo-front b { font-size: clamp(1rem, 1.7vw, 1.4rem); }
  .fo-front small, .fo-kick { font-size: clamp(.6rem, .95vw, .78rem); }
  .files-q { font-size: clamp(.9rem, 1.3vw, 1.08rem); margin-bottom: 10px; }
}

/* Round 27: the folder block sits centred in the space under the caption instead of on the bottom edge
   (no transform here: .files must not become a stacking layer, or the papers can't slip between folder back and front) */
.js-sort #figures .files { top: 0; bottom: 0; align-content: center; }
@media (min-width: 721px) { .files { max-width: min(1240px, 150vh); } }

/* Round 29: hero Client Portal button moved under the calendar, left, with a lead-in */
.portal-line { margin: clamp(14px, 2.4vh, 22px) 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 1rem; color: var(--ink); }
.portal-line .btn { min-height: 44px; }
.js-pin .portal-line { animation: fade 700ms var(--ease) 320ms both; }
@media (max-width: 720px) and (max-height: 800px) { .portal-line { margin-top: 10px; font-size: .9rem; gap: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .js-pin .portal-line { animation: none; } }
/* keep the hero short enough to pin on short screens now that it has the portal line */
@media (min-width: 721px) and (max-height: 820px) {
  .cal.glass .cal-plot { height: clamp(128px, 19vh, 250px); }
  .portal-line { margin-top: 10px; }
}
@media (max-width: 720px) and (max-height: 700px) { .portal-line { margin-top: 4px; } }

/* Round 30: "for you and your business." stays on one line on phones (it runs ~9.8x the font size) */
@media (max-width: 720px) { .hero-title { font-size: min(3.4rem, calc(10vw - 4px)); } }

/* Round 31: How it works now follows Key figures, then Who we serve; each top fade starts from the section above */
#process { --prev: #e3edf8; }
#serve   { --prev: #0b1426; }
#gather  { --prev: #fff8ea; }

/* Round 32: on tablet and phone the step text sits above the computer (was below it); the scrim moves to the top */
@media (max-width: 1080px) {
  .case.holo { order: 1; }
  .map.holo-section .flow-stage::after { background: linear-gradient(to top, rgba(11, 20, 38, 0) 0%, rgba(11, 20, 38, 0) 46%, var(--midnight) 58%); }
}
@media (max-width: 720px) { .readout { top: auto; bottom: 50px; } .case.holo .toast { bottom: 4%; } }

/* Round 33: office address list removed; the client checklists sit right under the contact block, below a solid rule */
#contact .checklists { grid-column: 1 / -1; margin-top: clamp(28px, 5vh, 56px); border-top-color: var(--paper); }

/* Round 34: the "don't email completed forms" note sits under the PDF cards */
.cl-list .cl-note { margin-top: 18px; }

/* Round 35: step 2 reads "Upload your documents and your checklist." and a Client Portal button rises in near the end of the step */
.map .panel-cta { display: inline-flex; vertical-align: middle; margin: 0 0 0 12px; min-height: 40px; padding: 0 16px; font: 500 .9375rem/1 var(--sans); letter-spacing: 0;
  background: var(--sun); border-color: var(--sun); color: var(--midnight);
  opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.map .panel-cta.is-up { opacity: 1; transform: none; visibility: visible; transition: opacity .35s ease, transform .35s ease, visibility 0s; }
.map .panel-cta:hover { background: var(--paper); border-color: var(--paper); color: var(--midnight); }
.map .panel-cta[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .panel-cta { transition: none; } }
/* short phones: keep the stage within the screen with the longer step 2 and 3 titles */
@media (max-width: 720px) and (max-height: 720px) {
  .js-flow .map .panel-title { font-size: 1.3rem; }
  .case.holo { height: 36vh; height: 36svh; }
  .map .panel-cta { min-height: 36px; padding: 0 12px; font-size: .875rem; }
}
/* Round 36: the button no longer makes the title line taller (negative block margins), and the stacked layout keeps a margin on shorter screens */
.map .panel-cta { margin-block: -8px; }
@media (max-width: 1080px) and (min-width: 721px) and (max-height: 900px) { .case.holo { height: 40vh; height: 40svh; } }

/* Round 37: the step 1/2 Client Portal button follows the scroll (no timed pop) and glides when the title changes */
.map .panel-cta, .map .panel-cta.is-up { --cta: 0; opacity: var(--cta); transform: translateY(calc((1 - var(--cta)) * 14px)); visibility: visible; transition: none; }
.map .panel-cta:not(.is-up) { pointer-events: none; }

/* Round 39: the empty PDF-link box stays hidden until a service is chosen */
.checklist-pdfs[hidden] { display: none; }
/* Round 39: on narrow tablets the lens gets the full width (checklist below) so the service buttons don't crowd */
@media (min-width: 721px) and (max-width: 900px) {
  .lens-stage, .checklist-panel { grid-column: 1 / -1; }
  .lens-stage { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------- Round 41: the magnifier's orbits carry beams of light that circle like electrons.
   With motion, scrolling brings the lens in from far away (small, blurred TAX) and the beams speed up
   until the word is clear; they keep circling after that. Reduced motion / no JS: the still lens. ---------- */
.lens-stage { align-self: start; }
.orbit { --tilt: 0deg; --prec: 0deg; --sy: .52; transform: rotate(calc(var(--tilt) + var(--prec))) scaleY(var(--sy)); }
.orbit.o1 { --tilt: -24deg; transform: rotate(calc(var(--tilt) + var(--prec))) scaleY(var(--sy)); }
.orbit.o2 { --tilt: 28deg; transform: rotate(calc(var(--tilt) + var(--prec))) scaleY(var(--sy)); }
.orbit.o3 { --tilt: 90deg; --sy: .4; inset: 14%; border-color: rgba(242, 245, 249, .16); transform: rotate(calc(var(--tilt) + var(--prec))) scaleY(var(--sy)); }
.beam { --c: 255, 220, 120; --head: #fff6d2; position: absolute; inset: -1.5px; border-radius: 50%; transform: rotate(var(--spin, 40deg)); pointer-events: none; }
.beam::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--c), 0) 0turn, rgba(var(--c), 0) .58turn, rgba(var(--c), .95) 1turn);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.beam::after { content: ""; position: absolute; left: 50%; top: -2.5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--head); box-shadow: 0 0 8px 3px rgba(var(--c), .85), 0 0 22px 6px rgba(var(--c), .35); }
.o2 .beam { --c: 160, 220, 255; --head: #eaf8ff; --spin: 220deg; }
.o3 .beam { --c: 242, 245, 249; --head: #ffffff; --spin: 130deg; opacity: .75; }
/* Scroll zoom (only while motion runs) */
.lens-live .lens { transform: scale(var(--zoom, 1)); will-change: transform; }
.lens-live .lens-word { display: inline-block; transform: scale(var(--wz, 1)); filter: blur(var(--wb, 0px)); opacity: var(--wo, 1); }

/* ---------- Round 43: "Price varies per return" moved from Choose your services to the side of
   "Call to request an appointment or get a quote." on Contact ---------- */
#contact .fees-block { grid-column: 8 / -1; display: block; align-self: start; margin-top: clamp(28px, 5vh, 56px); padding: 6px 0 0 clamp(20px, 3vw, 40px); border-top: 0; border-left: 1px solid rgba(242, 245, 249, .3); }
#contact .fees-block .fees-title { margin: 0; font: 600 clamp(1.5rem, 2.3vw, 2.1rem)/1.1 var(--serif); letter-spacing: -.02em; color: var(--paper); }
#contact .fees-block .fees-title em { color: var(--gold); }
#contact .fees-block .fees-body { display: block; margin: 14px 0 0; padding: 0; background: none; font-size: 1rem; color: rgba(242, 245, 249, .85); max-width: 40ch; }
@media (max-width: 900px) {
  #contact .contact-main, #contact .fees-block { grid-column: 1 / -1; }
  #contact .fees-block { margin-top: clamp(28px, 5vh, 44px); padding: clamp(20px, 3vh, 28px) 0 0; border-left: 0; border-top: 1px solid rgba(242, 245, 249, .3); }
}
@media (min-width: 901px) and (max-width: 1080px) { #contact .contact-main { grid-column: 1 / span 7; } }

/* ---------- Round 44: Choose your services fills the page on desktop.
   Headline across the top with the client choice beside it; a larger lens on the left with the
   services around it; the checklist panel beside it, taller to match. ---------- */
@media (min-width: 1081px) {
  #gather .picker-copy { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  #gather .picker-copy .h2 { grid-column: 1 / span 7; grid-row: 1 / span 2; font-size: clamp(2.6rem, 4.2vw, 4.25rem); }
  #gather .client-kind { grid-column: 8 / -1; grid-row: 1; margin-top: 0; }
  #gather .picker-help { grid-column: 8 / -1; grid-row: 2; margin-top: 14px; }
  #gather .lens-stage { grid-column: 1 / span 7; width: min(100%, 76vh, 680px); justify-self: center; margin-top: clamp(16px, 3vh, 32px); }
  #gather .checklist-panel { grid-column: 8 / -1; align-self: start; margin-top: clamp(16px, 3vh, 32px); padding: 22px 24px; }
  #gather .checklist-body { max-height: min(56vh, 560px); }
  #gather .orbit-on .svc { padding: 8px 14px 8px 8px; font-size: .9375rem; }
  #gather .orbit-on .svc-icon { width: 32px; height: 32px; }
  #gather .lens-word { font-size: clamp(3rem, 5.2vw, 5rem); }
}

/* ---------- Round 45: service buttons light up one at a time, in random order, to show they can be picked ---------- */
@keyframes svc-glint {
  0% { border-color: rgba(143, 211, 255, .45); box-shadow: 0 0 16px rgba(143, 211, 255, .12); }
  30% { border-color: #ffffff; background: rgba(60, 110, 170, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 18px rgba(190, 232, 255, .95), 0 0 44px rgba(143, 211, 255, .75); color: #fff; }
  100% { border-color: rgba(143, 211, 255, .45); box-shadow: 0 0 16px rgba(143, 211, 255, .12); }
}
@keyframes svc-glint-icon {
  0%, 100% { background: transparent; border-color: rgba(143, 211, 255, .6); }
  30% { background: rgba(190, 232, 255, .45); border-color: #ffffff; color: #ffffff; }
}
.svc.is-glint:not([aria-pressed="true"]) { animation: svc-glint 1.1s ease-in-out; }
.svc.is-glint:not([aria-pressed="true"]) .svc-icon { animation: svc-glint-icon 1.1s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .svc.is-glint, .svc.is-glint .svc-icon { animation: none; } }

/* Round 47: a larger glass in the lens */
.lens-glass { width: 54%; }

/* ---------- Round 48: the magnifier travels. It starts over the 2026 on the form behind Who we serve,
   drifts down over the words (letters under the glass swell, stretch and blur as a real lens does when
   it's too close or too far), and settles on TAX in perfect focus. Motion only; built by site.js. ---------- */
.lw { display: inline-block; white-space: nowrap; }
.lc { display: inline-block; transform-origin: 50% 55%; }
.lens-away .lens-glass { background: transparent; border-color: transparent; box-shadow: none; }
.lens-away .lens-handle { opacity: 0; }
.lens-glass, .lens-handle { transition: background-color .25s, border-color .25s, box-shadow .25s, opacity .25s; }
.lens-fly { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; opacity: 0; will-change: transform, opacity; transform-origin: 50% 50%; }
.lens-fly .fly-glass, .lens-fly .fly-mag, .lens-fly .fly-dark { position: absolute; inset: 0; border-radius: 50%; }
.lens-fly .fly-mag { overflow: hidden; }
.lens-fly .fly-mag-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.lens-fly .fly-mag-in img { position: absolute; max-width: none; }
.lens-fly .fly-glass { border: 6px solid #2a3a58;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 32%, rgba(143, 211, 255, .06) 62%, rgba(11, 20, 38, .16) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 22px 44px -14px rgba(11, 20, 38, .55), inset 0 0 26px rgba(143, 211, 255, .28), inset 0 -6px 18px rgba(11, 20, 38, .18); }
.lens-fly .fly-dark { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .18), rgba(143, 211, 255, .06) 45%, rgba(11, 20, 38, .4) 75%); opacity: 0; }
.lens-fly .fly-handle { position: absolute; background: linear-gradient(90deg, #1c273c, #3a4a68, #1c273c); border-radius: 6px; transform: rotate(-45deg); transform-origin: top center; }
@media (prefers-reduced-motion: reduce) { .lens-fly { display: none; } }

/* Voice assistant slot: empty and hidden unless switched on in site-config.js */
.voice-slot[hidden] { display: none; }
.voice-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.voice-note { font-size: .9rem; color: var(--ash); }
