/* Quivira Advisors design system: reset, the grid, and every shared
   component. Pages compose these in their own CSS (home.css) and only
   decide placement; brand values live in tokens.css. See DESIGN.md. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* Touch: no double-tap zoom (two quick taps on a card or an SVG zoomed the
   page and it then slid sideways under the finger); pinch zoom still works.
   Set on every element: WebKit doesn't carry it from html into SVG. */
html, html * { touch-action: manipulation; }
html.smooth-scroll { scroll-behavior: smooth; }   /* in-page jumps only: site.js adds it once the page has loaded, so a link from another page to ./#who lands at once */
@media (prefers-reduced-motion: reduce) { html.smooth-scroll { scroll-behavior: auto; } }
/* html carries the page's colour, the body paints its paper as an image:
   iOS Safari fills the strip under its toolbar (at the foot of the page,
   and in the bounce past either end) with html's colour, and an opaque
   body colour would win over it. site.js ground() turns html navy while
   the footer's foot is on screen. */
html { background-color: var(--bg); }
html.ground-dark:not(.menu-open) { background-color: var(--band-dark); }   /* the menu's paper sheet keeps the paper under it */
html { transition: background-color 240ms var(--ease-ui); }   /* with the sheet's fade: Safari tints its bars from html's colour frame by frame, so a switch at once is a one-frame jump (playbook) */
body {
  margin: 0;
  background: linear-gradient(var(--bg), var(--bg));
  color: var(--text);
  font-family: var(--font-sans);
  font-stretch: var(--font-width);
  letter-spacing: var(--tracking-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
section[id] { scroll-margin-top: var(--nav-h); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }   /* keeps a hyphenated word whole in a heading ("project-based") */
/* .br-wide: a line break set by hand in a heading (Luke), on desktop; narrower, the line wraps on its own */
@media (max-width: 1023px) { .br-wide { display: none; } }
/* .br-phone: the same, on phones only (the team chart's six names, each on two lines with the "&" leading the second: Luke, 2026-11-17) */
@media (min-width: 640px) { .br-phone { display: none; } }

/* ==== Grid ===================================================================
   .frame  the 1266px column between the two guide lines, 16px inner padding.
   .grid   the 12-column grid inside it (8 on tablet, 4 on phone).
   Everything on the site is placed with grid-column on a .grid. Interior
   rules and flush edges land on gutter centers (half a gutter past a column). */
.frame {
  width: min(100% - 2 * var(--page-margin), var(--frame-max));
  margin-inline: auto;
  padding-inline: var(--frame-pad);
  border-inline: var(--guide-w) solid var(--guide);   /* 0 on phones: the guides sit on the window's edges */
}
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
}
/* Pull a grid item out to the guide line it sits against */
.to-guide-start { margin-left: calc(-1 * var(--frame-pad)); }
.to-guide-end { margin-right: calc(-1 * var(--frame-pad)); }
/* Full-width horizontal rules cross the guides, as on Stripe */
.ruled { border-top: 1px solid var(--guide); }

/* ==== Type ================================================================== */
.display {
  font-size: var(--display);
  font-weight: var(--weight-book);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--text-second);
  text-wrap: pretty;
}
.display .ink, .h-two .ink { color: var(--text-strong); }
/* Two-tone display headings: each tone is its own block, so the second always
   starts a new line. Lines run the full measure (pretty, as on Stripe, not
   balance, which breaks early) and the last line never holds a lone word. */
.display > span { display: block; }
.kicker { font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--text-muted); }
.balance { text-wrap: balance; }   /* even lines in a heading that would leave a word alone ("life.") */
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ==== Page hero copy ==========================================================
   Every page opens the same way. Like Stripe's, the copy is inset one column
   from the left edge, so it sits off the site's usual left line and reads as
   centered while staying left-aligned; it runs on to the right edge of the
   grid (columns 2-12). Each page's CSS sets the hero's top and bottom space. */
.hero__copy {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 2 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Trim the eyebrow and heading to their letters (cap height to baseline), so
   every gap below is the visible one: the same 48px between each piece.
   Browsers without text-box show a few px more. */
.hero__copy :is(.kicker, .display) { text-box: trim-both cap alphabetic; }
.hero__copy .kicker { margin-bottom: var(--space-7); }
.hero__copy .lede { max-width: 38rem; margin-top: var(--space-6); }
.hero__copy .btn-row { margin-top: var(--space-7); }
@media (max-width: 1023px) { .hero__copy { grid-column: 1 / -1; } }
/* Phones: the heading drops to 30px, so the gaps step down with it */
@media (max-width: 639px) {
  .hero__copy .kicker { margin-bottom: var(--space-6); }
  .hero__copy .btn-row { margin-top: var(--space-6); }
}

/* ==== Page intro ==============================================================
   How every sub-page opens (Luke, 2026-10-14): a standard section, not the
   homepage hero. The eyebrow and heading sit flush left on the grid like
   every section heading, then a lede and buttons. Its space above and below
   is --intro-y, tighter than a section's (Luke, 2026-10-14); only the
   homepage hero keeps the roomier --hero-y. */
.intro__frame { padding-block: var(--intro-y); }
.intro__copy { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; }
.intro__copy :is(.kicker, .display) { text-box: trim-both cap alphabetic; }
.intro__copy .kicker { margin-bottom: var(--space-5); }
.intro__copy .lede { max-width: 38rem; margin-top: var(--space-5); }
.intro__copy .btn-row { margin-top: var(--space-6); }

/* ==== Logo ================================================================== */
.logo { display: block; color: var(--text-strong); }
.logo svg { width: auto; height: 100%; fill: currentColor; }
.logo--full { height: var(--logo-h); }
/* The Q tile (Luke, 2026-10-20): the Q as an app icon, the way Matt wants
   his favicon (markup 2026-10-16: "dark blue background with a white Q"):
   Matt's navy, the white Q, corners rounded 14% of its size (the process
   cards' Q avatar had the same; the favicon is the same tile). Size it
   with --q-tile. On a navy band it takes the band's line as an outline,
   drawn inside it (not a border, which would pinch the Q 1.5px in), so it
   doesn't sink into the band. The Q (assets/logo/quivira-q.svg) is drawn
   on Luke's square from the final logo file (2026-10-23), so filling the
   tile puts it exactly where he set it by eye. */
.q-tile {
  --q-tile: 3rem;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--q-tile);
  height: var(--q-tile);   /* both sides from the one size, never the Q's own height: square at every zoom (Matt, round 10 #15; aspect-ratio let the content stretch it a hair) */
  border-radius: calc(var(--q-tile) * 0.14);
  background: var(--navy-800);
}
.q-tile .logo { width: 100%; height: 100%; min-width: 0; min-height: 0; color: var(--white); }
.band-dark .q-tile { box-shadow: inset 0 0 0 1.5px var(--line-on-dark); }
/* The outline Q tile, for navy ground: the footer. The tile's shape in a
   2px white line on the navy, the Q white (Matt, round 12 #12: the solid
   white tile of round 11 #27 read too large and bold; Luke's pick,
   2026-12-01). Drawn inside, like the band outline it replaces. */
.q-tile.q-tile--outline { background: transparent; box-shadow: inset 0 0 0 2px var(--white); }

/* ==== Hover arrow ===========================================================
   Stripe's arrow: a chevron at rest; on hover the chevron slides 6px right
   and the shaft fades in behind it. Markup comes from site.js (data-arrow). */
.arrow {
  flex: none;
  width: 5px;
  height: 8px;
  margin-left: 6px;
  overflow: visible;
}
.arrow__group { transition: transform var(--dur-hover) var(--ease-hover); }
.arrow__shaft { opacity: 0; transition: opacity var(--dur-hover) var(--ease-hover); }
:is(a, button):focus-visible .arrow__group { transform: translateX(6px); }
:is(a, button):focus-visible .arrow__shaft { opacity: 1; }
/* Hover states are for a mouse: on a touch screen iOS keeps an element
   "hovered" after a tap until the next tap somewhere else, so a pressed
   button or arrow stayed lit. Touch gets a press state instead (below). */
@media (hover: hover) {
  :is(a, button):hover .arrow__group { transform: translateX(6px); }
  :is(a, button):hover .arrow__shaft { opacity: 1; }
}
/* Until site.js adds the arrow, its box is held, so the button never widens
   (and nudges what's beside it) after the page first paints */
[data-arrow]:not(:has(> .arrow))::after { content: ""; display: inline-block; flex: none; width: 5px; height: 8px; margin-left: 6px; }

/* ==== Buttons =============================================================== */
.btn {
  --btn-h: 48px;
  --btn-px: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-ui) var(--ease-ui),
    border-color var(--dur-ui) var(--ease-ui),
    color var(--dur-ui) var(--ease-ui);
}
.btn--sm { --btn-h: 40px; --btn-px: 20px; font-size: var(--text-sm); }
.btn--primary { background: var(--cta-bg); color: var(--cta-text); }
@media (hover: hover) { .btn--primary:hover { background: var(--cta-bg-hover); } }
.btn--secondary { background: var(--surface); border-color: var(--rule-strong); color: var(--text-strong); }
@media (hover: hover) { .btn--secondary:hover { border-color: var(--slate-400); } }
/* On Matt's navy: white with navy text, a step greyer on hover (the navy nav's CTA) */
.btn--light { background: var(--white); color: var(--navy-800); }
@media (hover: hover) { .btn--light:hover { background: var(--mist-200); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Touch: a press shows the hover's change while the finger is down, so a
   tap answers at once (there's no hover to warn it's coming) */
@media (hover: none) {
  .btn--primary:active, .nav .btn--primary:active { background: var(--cta-bg-hover); }
  .btn--secondary:active, .btn--quiet:active:not(:disabled) { border-color: var(--slate-400); background: var(--mist-50); }
  .btn--light:active { background: var(--mist-200); }
  .link-cta:active, .social-link:active { color: var(--link-hover); }
  .nav__menu:active { border-color: var(--slate-400); }
}
.link-arrow { display: inline-flex; align-items: center; font-size: var(--text-sm); font-weight: 500; color: var(--text-strong); }
/* Secondary CTA as a text link: Stripe's "Read Lovable's story" under each
   case study. Body size, medium weight, the link color, the hover arrow. */
.link-cta {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--link);
  transition: color var(--dur-hover) var(--ease-hover);
}
@media (hover: hover) { .link-cta:hover { color: var(--link-hover); } }
/* On the navy: white, going to the navy's second tone (the footer links' pair) */
.band-dark .link-cta { color: var(--text-on-dark); }
@media (hover: hover) { .band-dark .link-cta:hover { color: var(--text-on-dark-second); } }
@media (hover: none) { .band-dark .link-cta:active { color: var(--text-on-dark-second); } }

/* ==== Navigation (markup written by nav.js) =================================
   Sticky, no shadow while scrolling. Hovering the bar, at any scroll position,
   fades a faint shadow in quickly and lets it go a touch slower. The bar's
   box, color and line are set on the bare header too, so it's in place even
   if the page draws before nav.js runs, and nothing on it transitions: its
   line used to fade in from the dark text color whenever that happened
   (Luke, 2026-10-19: "a full dark line under it" between pages). */
.nav, header[data-nav] {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
}
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  box-shadow: var(--shadow-nav);
  transition: opacity var(--dur-fade-out) var(--ease-ui);
}
@media (hover: hover) {
  .nav:hover::after { opacity: 1; transition: opacity var(--dur-fade-in) var(--ease-ui); }
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: min(100% - 2 * var(--page-margin), var(--frame-max));
  margin-inline: auto;
  padding-inline: calc(var(--frame-pad) + var(--guide-w));
}
.nav__brand { flex: none; display: flex; align-items: center; }
.nav .logo { color: var(--nav-text); }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  font-size: var(--text-nav);
  font-weight: var(--weight-book);
  color: var(--nav-text);
  transition: color var(--dur-ui) var(--ease-ui);
}
.nav .btn, .nav__menu { font-size: var(--text-nav); }
@media (hover: hover) { .nav__link:hover { color: var(--nav-text-hover); } }
.nav .btn--primary { background: var(--nav-cta-bg); color: var(--nav-cta-text); }
@media (hover: hover) { .nav .btn--primary:hover { background: var(--nav-cta-hover); } }
/* Let's Connect a step up from the 40px nav size so it stands out (Matt,
   round 9 #11): 44px tall, the full button's padding and type. Desktop
   only: below 1024px it sits beside the 40px menu square and keeps its size. */
@media (min-width: 1024px) { .nav .btn--primary { --btn-h: 44px; --btn-px: 24px; font-size: var(--text-base); } }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
/* Desktop: three columns of equal outer width, so the links sit on the page's
   center line and the logo keeps the left edge to itself. Beside the links,
   the stacked logo's two lines read as a different system from one line of
   text (Luke picked this layout, 2026-10-05). */
@media (min-width: 1024px) {
  .nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav__brand { justify-self: start; }
  .nav__actions { margin-left: 0; justify-self: end; }
}
/* The menu button (below 1024px): a 40px outlined square, the carousel
   arrows' shape, with two lines that turn into a cross while the sheet is
   open (2026-11-16, the mobile build; it was the word Menu) */
.nav__menu {
  display: none;
  appearance: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--nav-control-line);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--nav-text);
  cursor: pointer;
  transition: border-color var(--dur-ui) var(--ease-ui);
}
.nav__menu-icon, .nav__menu-icon::before, .nav__menu-icon::after { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; }
.nav__menu-icon { position: relative; background: transparent; }
.nav__menu-icon::before, .nav__menu-icon::after { content: ""; position: absolute; left: 0; transition: transform 320ms var(--ease-move); }
.nav__menu-icon::before { transform: translateY(-3.5px); }
.nav__menu-icon::after { transform: translateY(3.5px); }
.nav.is-open .nav__menu-icon::before { transform: rotate(45deg); }
.nav.is-open .nav__menu-icon::after { transform: rotate(-45deg); }
@media (hover: hover) { .nav__menu:hover { border-color: var(--slate-400); } }
@media (max-width: 1023px) {
  .nav__links, .nav__actions .nav__link { display: none; }
  .nav__menu { display: grid; }
  .nav__actions { gap: var(--space-3); }
}
@media (max-width: 639px) { .nav__actions .btn { display: none; } }   /* phones: Let's Connect is in the sheet */

/* The sheet: the paper from the bar down to the foot of the screen, the
   pages as large ruled rows, Let's Connect and Matt's number at the foot.
   It fades in with its rows a few px below their place, and leaves the
   layout entirely when closed (display: none), so iOS Safari's toolbars
   keep showing the page. The page doesn't scroll under it.
   It's part of the page, not fixed (Luke, 2026-11-16: Safari's bottom bar
   kept showing the page under the opening sheet, then flashed to white,
   and stayed white a moment after it closed). A fixed layer stops at the
   top of Safari's toolbar and Safari re-tints the toolbar only after it
   is added or removed; a layer in the page runs on under the toolbar, so
   the bar shows the sheet itself, fading with it (playbook
   ios26-liquid-glass-bars). shell.js sets --sheet-top (the bar's foot, in
   the page) and --sheet-h (the screen under the bar) as it opens; the
   sheet runs 10rem past the screen's foot, under the toolbar, and its
   rows scroll in the part on screen. */
.nav-sheet { display: none; }
@media (max-width: 1023px) {
  .nav-sheet {
    position: absolute;
    top: var(--sheet-top, var(--nav-h));
    left: 0;
    right: 0;
    height: calc(var(--sheet-h, 100dvh - var(--nav-h)) + 10rem);
    z-index: 49;
    background: var(--nav-bg);
    opacity: 0;
    transition: opacity 240ms var(--ease-ui);
  }
  .nav-sheet.is-open, .nav-sheet.is-closing { display: block; }
  .nav-sheet.is-open { opacity: 1; }
  @starting-style { .nav-sheet.is-open { opacity: 0; } }
  .nav-sheet__inner {
    display: flex;
    flex-direction: column;
    height: var(--sheet-h, calc(100dvh - var(--nav-h)));
    overflow-y: auto;
    overscroll-behavior: contain;
    width: min(100% - 2 * var(--page-margin), var(--frame-max));
    margin-inline: auto;
    padding: var(--space-3) calc(var(--frame-pad) + var(--guide-w)) calc(var(--space-6) + env(safe-area-inset-bottom));
    transform: translateY(0);
    transition: transform 420ms var(--ease-out);
  }
  @starting-style { .nav-sheet.is-open .nav-sheet__inner { transform: translateY(-8px); } }
  .nav-sheet__links li { border-bottom: 1px solid var(--nav-rule); }
  .nav-sheet__link {
    display: flex;
    align-items: center;
    min-height: 60px;
    font-size: var(--text-xl);
    font-weight: var(--weight-book);
    letter-spacing: var(--tracking-heading);
    color: var(--nav-text);
    transition: color var(--dur-ui) var(--ease-ui);
  }
  .nav-sheet__link:active { color: var(--nav-text-hover); }
  .nav-sheet__foot { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-5); margin-top: auto; padding-top: var(--space-7); }
  .nav-sheet__foot :is(.reach, .call-or-text) { justify-items: center; text-align: center; }   /* Let's Connect, Or, Call/Text, Email: the card's system, centered under the full-width button (Luke, 2026-12-01) */
  .nav-sheet__foot .call-or-text > a { justify-self: center; }
  .nav-sheet__foot .reach__or { text-align: center; }
  :root.menu-open { overflow: hidden; }
}
/* Tablets: Let's Connect is in the bar above, so the foot keeps Matt's
   number and email alone, with no "Or" */
@media (min-width: 640px) and (max-width: 1023px) {
  .nav-sheet__foot { align-items: flex-start; }
  .nav-sheet__foot :is(.btn, .reach__or) { display: none; }
  .nav-sheet__foot :is(.reach, .call-or-text) { justify-items: start; text-align: left; }
  .nav-sheet__foot .call-or-text > a { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-sheet, .nav-sheet__inner, .nav__menu-icon::before, .nav__menu-icon::after { transition: none; }
}

/* ==== Logo strip (employer ticker) ==========================================
   A ruled strip: a label cell sized to its text, with the same space on both
   sides (the guide to the text, and the text to the rule), then a ticker
   running to the right guide. Logos fade at both ends of the ticker. Each logo is its own layer (see site.js) so Safari never blanks
   the row at the loop point. */
.strip { border-block: 1px solid var(--guide); }
.strip__grid { height: var(--strip-h); grid-template-columns: max-content minmax(0, 1fr); }
/* The rule sits half a gutter past the cell, so this padding makes the gap
   after the text equal the frame padding before it */
/* Type comes from .kicker on the same element (it matches the hero eyebrow) */
.strip__label {
  align-self: center;
  padding-right: calc(var(--frame-pad) - var(--gutter) / 2);
  white-space: nowrap;
}
.ticker { --fade: 56px; }
.strip .ticker {
  margin-left: calc(var(--gutter) / -2);
  margin-right: calc(-1 * var(--frame-pad));
  border-left: 1px solid var(--guide);
}
.ticker__view {
  position: relative;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: var(--ticker-gap, 56px);
  height: 100%;
  padding-left: var(--fade);
}
.ticker__item { flex: none; display: flex; align-items: center; width: max-content; height: 100%; color: var(--logo-ink); }
.ticker__item svg { height: var(--h, 20px); width: auto; max-width: none; fill: currentColor; }
/* Live: site.js measures one loop, sets --loop and --dur, and positions items */
.ticker.is-live .ticker__track {
  display: block;
  position: relative;
  width: var(--loop);
  padding: 0;
  animation: ticker var(--dur) linear infinite;
}
.ticker.is-live .ticker__item { position: absolute; top: 0; will-change: transform; }
@keyframes ticker { to { transform: translateX(-100%); } }
/* data-reverse runs a row the other way (the second row of tags) */
.ticker[data-reverse].is-live .ticker__track { animation-direction: reverse; }
/* They run with Reduce Motion on too (Matt, email 2026-11-25: "Let's
   override"; Luke ok'd it), so there's no reduced-motion rule here. */

/* ==== Tags ===================================================================
   The Personal CFO areas as small cards on a ticker (services page): the
   feature card's outline and white, but only the area's icon and its name,
   the icon loose (no box of its own) and the name set to the icon's height.
   Full color and opacity; rows run at the logo strip's speed. A step under
   the buttons (15px at book weight, 18px icons; Luke, 2026-10-14: at 18px
   and 500 they upstaged the heading). */
.ticker--tags { height: 44px; --ticker-gap: var(--space-3); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-inline: var(--space-3) var(--space-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--text-strong);
  font-size: var(--text-nav);
  font-weight: var(--weight-book);
  line-height: 1;
  white-space: nowrap;
}
.tag svg, .ticker__item.tag svg { flex: none; width: 18px; height: 18px; fill: none; color: var(--navy-700); }
/* The tags band: two rows running opposite ways in a ruled band of their own,
   guide to guide, 24px above and below, 16px between the rows (Luke,
   2026-10-14). Under the homepage hero since 2026-11-03, in the employer
   logos' place (Matt's #39 and #40). */
.tags__frame { display: grid; gap: var(--space-4); padding-block: var(--space-5); }
.tags .ticker { min-width: 0; margin-inline: calc(-1 * var(--frame-pad)); }   /* min-width: a grid item would grow to its whole row */
.hero .tags { border-bottom: 1px solid var(--guide); }   /* closes the hero the way the strip's rules did */
/* Phones: a smaller band, so more tags show at once (Luke, 2026-11-16):
   tags 36px tall at 14px with 16px icons, 16px above and below the rows,
   12px between them */
@media (max-width: 639px) {
  .tags__frame { gap: var(--space-3); padding-block: var(--space-4); }
  .ticker--tags { height: 36px; --ticker-gap: var(--space-2); }
  .tag { gap: 6px; padding-inline: var(--space-2) var(--space-3); font-size: var(--text-sm); }
  .tag svg, .ticker__item.tag svg { width: 16px; height: 16px; }
}

@media (max-width: 639px) {
  .strip__grid { height: auto; grid-template-columns: minmax(0, 1fr); }
  .strip__label { padding: 14px 0 0; white-space: normal; }
  .strip .ticker {
    grid-column: 1 / -1;
    height: var(--strip-h);
    margin-left: calc(-1 * var(--frame-pad));
    border-left: 0;
    --fade: 40px;
  }
}

/* ==== Surfaces ============================================================== */
.photo { position: relative; overflow: hidden; background: var(--navy-800); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); }
/* Section bands. Dark: Matt's navy, its guide lines a step lighter, headings
   in the dark tones. Sunk: the pale grey Stripe closes its pages on.
   Text on the navy takes two tones (Luke, 2026-10-19: one rule, so it reads
   as one system). White names things: headings' first halves, titles,
   labels and eyebrows (the footer's column titles, Core values), names, and
   anything you act on (the phone number). The second tone explains: a
   heading's second half, descriptions, roles, fine print, and lists of
   links, which turn white on hover. */
.band-dark { background: var(--band-dark); color: var(--text-on-dark); }
.band-dark :is(.frame, .strip) { border-color: var(--guide-on-dark); }
.band-dark .h-two { color: var(--text-on-dark-second); }
.band-dark :is(.h-two .ink, .kicker) { color: var(--text-on-dark); }
.band-sunk { background: var(--surface-sunk); }

/* ==== Footer ================================================================
   Every page closes on Matt's navy (Luke, 2026-10-06) inside the same frame
   and guides as the sections above. Rebuilt 2026-10-14 after Stripe's
   footer, the grid made visible and nothing else; trimmed the same day
   (Luke). Four equal cells, 3 columns each, on the 12-column grid: the
   track list is half a gutter at each guide, then one track per
   column-plus-gutter, so every line between cells lands on a gutter center
   like the site's other interior rules. The first cell holds the logo in
   white at 12rem, its top level with the column titles' capitals, and at
   the cell's foot, with no rule, the copyright as Matt writes it and the
   site credit, the credit's baseline level with the lowest link beside it
   (Luke, 2026-10-14, option A). Since 2026-11-30 the logo is 15rem (it
   was 12rem; filling the cell read too heavy), and the copyright and
   credit are the foot of the Disclosures list. Since 2026-12-01 the mark is the outline Q tile (Matt, round 11 #27 and round 12 #12). Then Menu, Contact and Disclosures, titles in white and links in
   the light second tone; links that leave the site carry the site's
   up-right arrow. Tablet and phone: two by two, the tile, Contact; Menu, Disclosures.
   site.js renderFooter() writes it on every page. */
.footer {
  --footer-row: 1.75rem;   /* one link row, 28px (Luke, 2026-12-01: 32.8 left too much air between the links; about 17px between lines now, was 22) */
  border-top-color: var(--band-dark);   /* no rule against the band above */
  /* The navy runs on past the page's foot (Luke, 2026-11-16: a faint light
     line under the footer at the end of the page). The page's height ends
     on a fraction of a pixel and the browser scrolls to a whole one, so a
     sliver of html's paper showed under the navy; iPads keep html paper
     (site.js ground()), so it showed there. A shadow paints without
     adding to the page's height. */
  box-shadow: 0 1rem 0 var(--band-dark);
}
.footer__cells {
  --edge: calc(var(--frame-pad) - var(--gutter) / 2);   /* guide to the first gutter center */
  display: grid;
  grid-template-columns: var(--edge) repeat(var(--cols), minmax(0, 1fr)) var(--edge);
  margin-inline: calc(-1 * var(--frame-pad));
}
.footer__cell { padding: var(--space-8) var(--frame-pad) var(--space-7); }
/* Grid lines: 1 is the left guide, 2 + n the gutter center after column n */
.footer__brand { grid-column: 1 / 5; }
.footer__contact { grid-column: 5 / 8; }   /* the tile, Contact, Menu, Disclosures: the tablet and phone order (Luke, 2026-12-01) */
.footer__menu { grid-column: 8 / 11; }
.footer__disclosures { grid-column: 11 / -1; }
.footer__brand, .footer__menu, .footer__contact, .footer__disclosures { grid-row: 1; }
.footer__menu, .footer__contact, .footer__disclosures { border-left: 1px solid var(--guide-on-dark); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
/* The Q tile (Matt, round 11 #27) fills its cell's height: its top
   level with Menu's capitals, its foot on the baseline of the column's last
   link (Luke, 2026-12-01: at 56px it was lost in the cell). The cell is a
   size container, so it takes the row's height from the link columns
   without adding to it; the tile is the smaller of the cell's width and
   that height less --footer-foot, the space under the last link's
   baseline (its half-leading and descent, less the list's half gap),
   which follows the row's height. */
.footer__brand { container-type: size; }
.footer__tile { --footer-foot: calc(var(--footer-row) / 2 - 8px); --q-tile: min(100cqw, (100cqh - var(--footer-foot)) * 0.75); }   /* half a row less 8: 8.4px at the old 32.8 row (measured), 6 at 28. Desktop: 75% of that height, top still level with Menu's capitals (Luke, 2026-12-01, Matt round 12 #12) */
.footer__tile .logo svg { display: block; width: 100%; height: 100%; }
.footer__title {
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--text-on-dark);
  text-box: trim-start cap alphabetic;   /* the capitals' top is the cell's top, like the logo's */
}
/* Rows: each link is one --footer-row line, no gap, and its list item is
   only the link (flex, so no body-size line sits under it). The list gives
   back half a gap at each end, so the column sits where it always has. */
.footer__links { display: grid; justify-items: start; margin-block: var(--space-2) calc(var(--space-2) / -2); }   /* 8 under the title, was 12: about 21px from its baseline to the first link's capitals, a step more than between links (Luke, 2026-12-01) */
.footer__links li { display: flex; }
.footer__links :is(a, .footer__text) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-nav);
  line-height: var(--footer-row);
  color: var(--text-on-dark-second);
  transition: color var(--dur-ui) var(--ease-ui);
}
.footer__links a:hover { color: var(--text-on-dark); }
/* The up-right arrow after a link that leaves the site (the footer's, and
   Connect on LinkedIn), 4px after its text */
.link-out { flex: none; width: 14px; height: 14px; }
/* Tablets: two by two in the phones' order (Luke, 2026-12-01): the Q tile,
   Contact; Menu, Disclosures. The tile fills its cell to Contact's height. */
@media (max-width: 1023px) {
  .footer__brand, .footer__menu { grid-column: 1 / 6; }
  .footer__contact, .footer__disclosures { grid-column: 6 / -1; }
  .footer__menu, .footer__disclosures { grid-row: 2; border-top: 1px solid var(--guide-on-dark); }
  .footer__menu { border-left: 0; }
  .footer__cell { padding-block: var(--space-6) var(--space-5); }
  .footer__tile { --q-tile: min(100cqw, 100cqh - var(--footer-foot)); }   /* tablets and phones: the full height, to Contact's last line (Luke, 2026-12-01) */
}
/* Phones: two by two, in Luke's order (2026-12-01): the Q tile, Contact;
   Menu, Disclosures. The tile leads, as the logo does at every other size
   (at the foot it read off). It fills its cell as on desktop, to Contact's
   height or the cell's width, whichever is less. Equal halves; links are
   14px so the email fits (it breaks after the @ on the narrowest phones). */
@media (max-width: 639px) {
  .footer__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cell { padding-block: var(--space-5); }   /* 24, was 32 (Luke, 2026-11-17: too much air at each cell's top and foot) */
  .footer__brand, .footer__menu { grid-column: 1; padding-right: var(--space-3); border-left: 0; }
  .footer__contact, .footer__disclosures { grid-column: 2; padding-left: var(--space-3); border-left: 1px solid var(--guide-on-dark); }
  .footer__brand, .footer__contact { grid-row: 1; border-top: 0; }   /* the first row starts the footer: no rule against the band's top */
  .footer__menu, .footer__disclosures { grid-row: 2; border-top: 1px solid var(--guide-on-dark); padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); }
  .footer .footer__links :is(a, .footer__text) { font-size: var(--text-sm); }
}


/* ==== Section header ========================================================
   Stripe's section header: a 32px heading on the left, an 18px lede beside
   it in the second tone. Same weight as the hero (--weight-book). */
.h-two {
  font-size: var(--text-2xl);
  font-weight: var(--weight-book);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-heading);
  color: var(--text-second);
  text-wrap: pretty;
}
/* Statement headings in Charter, the logo's face (review option for Matt,
   [data-serif="on"]). Only the headings that make a statement and end in a
   period take it: the hero, Introducing your personal CFO, Your financial
   project manager, Get in touch. Section labels (Our four-step process, Who
   we serve...), card titles, nav, buttons and body stay sans. Charter sets
   larger and wider than Instrument Sans at the same size, so it comes down a
   step, sits a touch tighter, and keeps its one regular weight. */
:root[data-serif="on"] .statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: var(--tracking-statement);
}
:root[data-serif="on"] .display.statement { font-size: var(--display-statement); line-height: var(--leading-statement); }
:root[data-serif="on"] .h-two.statement { font-size: var(--text-2xl-statement); }
.lede { font-size: var(--text-md); font-weight: var(--weight-book); color: var(--text-second); }
.two-tone { color: var(--text-second); }
.two-tone .ink { color: var(--text-strong); }

/* ==== Icon buttons ==========================================================
   The carousel arrows: a 40px outlined square, the same in both states so the
   pair always reads as one control. Where there's somewhere to go it's white
   with an ink arrow; at the end of the rail the outline and arrow fade back.
   Deliberately not navy, so they never compete with the CTA beside them. */
.btn--icon { --btn-px: 0; width: var(--btn-h); }
.btn--icon svg { width: 16px; height: 16px; }
.btn--quiet { background: var(--surface); border-color: var(--rule-strong); color: var(--text-strong); }
@media (hover: hover) { .btn--quiet:hover:not(:disabled) { border-color: var(--slate-400); background: var(--mist-50); } }
.btn--quiet:disabled { background: transparent; border-color: var(--rule); color: var(--mist-300); cursor: default; }

/* ==== Story carousel ========================================================
   Stripe's startup stories. Tall photo cards (332 x 448 at full width, 6px
   corners) with a name in the bottom-left corner and a caption 16px below.
   About three and a half fit: the rail runs guide to guide, so the last card
   in view is cut by the guide line, and the arrows move one card. Phones
   swipe. The photos never move; only the cards drawn on them animate. */
.carousel__nav { display: flex; justify-content: flex-end; gap: var(--space-2); margin-bottom: var(--space-6); }
.carousel__nav[hidden] { display: none; }
/* a section's CTA on the left, the arrows on the right, one line */
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.carousel__bar .carousel__nav { margin-bottom: 0; margin-left: auto; }
.carousel__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + var(--frame-pad) - 3 * var(--gutter)) / 3.6);
  gap: var(--gutter);
  margin-inline: calc(-1 * var(--frame-pad));
  padding-inline: var(--frame-pad);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--frame-pad);
  scrollbar-width: none;
}
.carousel__rail::-webkit-scrollbar { display: none; }
/* Mouse drag (site.js): an open hand over the rail, a closed one while it's
   held, and nothing in it selects or lifts out as an image while dragging */
@media (hover: hover) and (pointer: fine) {
  .carousel__rail.is-draggable { cursor: grab; }
  .carousel__rail.is-dragging,
  .carousel__rail.is-dragging * { cursor: grabbing; user-select: none; -webkit-user-select: none; }
}
.carousel__rail :is(img, a) { -webkit-user-drag: none; }
.story { display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; }
.story__media {
  position: relative;
  aspect-ratio: 332 / 448;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--mist-200);
  color: var(--text-on-photo);
  container-type: inline-size;
}
.story__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
/* a low scrim so the name in the corner always reads */
.story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, oklch(0.19 0.04 248 / 0.42), oklch(0.19 0.04 248 / 0) 30%);
}
/* the card sits dead center in the photo (the whole frame, not the space
   above the name); it never reaches down to the name */
.story__art {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  --vg: clamp(9.5px, 3.5cqi, 14px);   /* the vignette spans about 85% of the card */
}
.story__label {
  position: absolute;
  z-index: 2;
  left: var(--space-4);
  bottom: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  line-height: 1.2;
}
/* the caption: one color at body size, set tight like Stripe's (16/1.4) */
.story__text { margin-top: var(--space-4); padding-right: var(--space-4); font-size: var(--text-base); line-height: var(--leading-snug); color: var(--text); }
/* each story ends with the section CTA, 16px under the caption, so the photo,
   caption and link read as one column. As on Stripe, hovering anywhere on the
   column puts the link in its hover state (color and arrow). The links share
   one line across the rail, whatever the caption's length. */
.story > .link-cta { align-self: flex-start; margin-top: auto; padding-top: var(--space-4); }
@media (hover: hover) and (pointer: fine) {
  .story:hover > .link-cta { color: var(--link-hover); }
  .story:hover > .link-cta .arrow__group { transform: translateX(6px); }
  .story:hover > .link-cta .arrow__shaft { opacity: 1; }
}
/* No widen on hover (Luke, 2026-11-16: the Stripe-style widen, 3.6% with
   the neighbors stepping aside, didn't add much and read as janky). Hovering
   a story only plays its card (site.js vignettes()) and turns its link. */
@media (max-width: 1279px) {
  .carousel__rail { grid-auto-columns: calc((100% + var(--frame-pad) - 2 * var(--gutter)) / 2.4); }
}
@media (max-width: 1023px) {
  .carousel__rail { grid-auto-columns: calc((100% + var(--frame-pad) - 2 * var(--gutter)) / 2.3); }
}
@media (max-width: 639px) {
  .carousel__rail { grid-auto-columns: 86%; }
}

/* ==== Bento =================================================================
   Stripe's modular-solutions bento: photo cards with the title in the top-left
   corner and glass cards (vignettes) on the photo. The title sits on a soft
   navy scrim at the top, so it reads on any sky. Rows are set by the narrow
   cards (400 x 560 at full width); a wide card stretches to its row.
   Each card is a link to the Personal CFO page, marked like Stripe's by a
   38px square in the top-right corner (an up-right arrow, since it goes to a
   page rather than opening the card): white with a navy arrow, filling navy
   with a white arrow on hover while the arrow turns to point right.
   Hover, from stripe.com's CSS: the card's frame grows outward on every side
   (--grow, % of its size) while the photo stays put, so the frame shows a
   little more of it; the title rides the top-left corner and the button the
   top-right. Neighbors don't move. Stripe draws the frame oversized and clips
   it in; the clip opens on hover. Mouse only, desktop only. */
.bento { row-gap: var(--gutter); }
.bento__card {
  --grow: 0.85;
  --gx: calc(var(--grow) * 1cqw);
  --gy: calc(var(--grow) * 1cqh);
  --s: calc(1 + var(--grow) / 50);   /* the frame's hover scale: --grow % more on every side */
  --ring: 1.5px;
  position: relative;
  display: block;
  aspect-ratio: 400 / 560;
  container-type: size;
  border-radius: var(--radius-m);
  color: var(--text-on-photo);
}
/* Hover ring (Luke, 2026-10-05, after Stripe's gradient outline): a 1.5px
   silver ring around the frame, a still sheen that doesn't follow the
   pointer (the navy one read too dark and too thick). It sits behind the
   photo, a ring wider than the frame, and grows with it as it fades in. */
.bento__card::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--ring));
  border-radius: calc(var(--radius-m) + var(--ring));
  background: var(--ring-card);
  opacity: 0;
  pointer-events: none;
}
.bento__card:focus-visible::before { opacity: 1; }
.bento__card--wide { --grow: 0.55; aspect-ratio: 816 / 560; }
.bento__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--mist-200);
}
.bento__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
/* the scrim under the title */
.bento__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, oklch(0.19 0.04 248 / 0.5), oklch(0.19 0.04 248 / 0.2) 22%, oklch(0.19 0.04 248 / 0) 42%);
}
.bento__title {
  position: absolute;
  z-index: 2;
  top: var(--space-5);
  left: var(--space-5);
  max-width: calc(100% - var(--space-5) - 38px - 2 * var(--space-4));   /* clear of the corner button */
  font-size: var(--text-xl);
  font-weight: var(--weight-book);
  line-height: 1.2;
  letter-spacing: var(--tracking-heading);
  text-shadow: 0 1px 16px oklch(0.19 0.04 248 / 0.2);
}
/* the corner button */
.bento__go {
  position: absolute;
  z-index: 3;
  top: var(--space-4);
  right: var(--space-4);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--cta-bg);
}
/* Hover fills it navy with a white arrow. The button itself never changes
   color: a navy fill (::before) and a white arrow (::after, the same arrow
   as a mask) fade in over it while the navy arrow fades out, so the hover
   only fades and turns things the screen has already drawn (Luke,
   2026-11-16: the button of the card just left flashed navy; recoloring
   it redrew it every frame, and a real Chrome window could show a stale
   copy). */
.bento__go::before, .bento__go::after { content: ""; position: absolute; opacity: 0; transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
.bento__go::before { inset: 0; border-radius: inherit; background: var(--cta-bg); }
.bento__go::after { left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--white); -webkit-mask: var(--go-arrow) center / 16px no-repeat; mask: var(--go-arrow) center / 16px no-repeat; }
.bento__go svg { position: relative; z-index: 1; width: 16px; height: 16px; transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
.bento__go::after { z-index: 2; }
.bento__card:focus-visible .bento__go::before { opacity: 1; }
@media (hover: hover) { .bento__card:hover .bento__go::before { opacity: 1; } }
/* the arrow turns from up-right to right about its own center (Luke) */
.bento__card:focus-visible .bento__go::after { opacity: 1; transform: rotate(45deg); }
.bento__card:focus-visible .bento__go svg { opacity: 0; transform: rotate(45deg); }
@media (hover: hover) {
  .bento__card:hover .bento__go::after { opacity: 1; transform: rotate(45deg); }
  .bento__card:hover .bento__go svg { opacity: 0; transform: rotate(45deg); }
}
.bento__card { --go-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.25 4.75h6v6M10.75 5.25l-6 6'/%3E%3C/svg%3E"); }   /* #i-go */
/* the glass cards: on the card's center line (Luke, 2026-10-05). The equal
   top and bottom padding keeps them clear of a two-line title. */
.bento__art {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 5.5rem var(--space-5);
  --vg: var(--vg-tile);
}
/* The layer is clipped at the tile's sides: a slider's run is a box as wide
   as its track, moved along it, so at the end of its travel it reached a
   track's width past the card, and on a tile that spans the frame (tablets)
   past the screen, which then panned sideways (2026-11-16) */
.bento__art { overflow-x: clip; }
.vg.bento__vg { width: 21em; height: auto; font-size: var(--vg); }
.bento__vg > .vg-card { position: relative; }
/* wide card: one wide glass card (the Plan Snapshot, Matt round 8 #28;
   it was a pair until 2026-11-17) on the tile's center line */
.bento__card--wide .bento__art { display: block; padding: 0; --vg: clamp(12px, 1.9cqi, 14px); }   /* 14 at desktop, stepping down under about 1180px so the card clears the title */
.bento__card--wide .bento__vg { position: absolute; top: 50%; left: 50%; translate: -50% -50%; }
@media (max-width: 639px) {
  .bento__card--wide { aspect-ratio: 400 / 560; }
  .bento__card--wide .bento__art { display: grid; padding: 5.5rem var(--space-5); --vg: var(--vg-tile); }
  .bento__card--wide .bento__vg { position: relative; inset: auto; translate: none; }
}
/* Phones: the tiles run in a swipe rail instead of a stack (2026-11-16, the
   mobile build: five tiles stacked ran 2,700px), each tile the story
   carousel's 86% so the next one shows at the edge, snapping to the frame's
   left line and running out to the screen's edges. A tile's glass cards
   play as it's swiped into view (site.js vignettes()). */
@media (max-width: 639px) {
  .bento {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: max(86%, 17.5rem);   /* at least 280: room for a 12px glass card with 14px a side */
    column-gap: var(--gutter);
    margin-inline: calc(-1 * var(--frame-pad));
    padding-inline: var(--frame-pad);
    scroll-padding-inline: var(--frame-pad);
    overflow-x: auto;
    overflow-y: hidden;   /* sideways only: the hover ring ran 2px past the tiles, so a swipe up moved the rail up and down too (Luke, 2026-11-16) */
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento > .bento__card { grid-column: auto; scroll-snap-align: start; }
  /* The glass card sits on the tile's middle, pushed down only as far as
     a long title needs (Luke, 2026-11-16: under one- and two-line titles
     it sat far below the middle). The title joins the tile's flow in the
     first of three rows; the outer two share the room equally, but the
     first never gets shorter than its title and a 32px gap. */
  .bento > .bento__card { display: grid; grid-template-rows: 1fr auto minmax(var(--space-5), 1fr); }
  .bento > .bento__card .bento__title { position: relative; grid-row: 1; align-self: start; top: auto; left: auto; margin: var(--space-5) 0 var(--space-6) var(--space-5); }
  .bento > .bento__card .bento__art { position: relative; grid-row: 2; inset: auto; padding: 0; }
}
@media (min-width: 1024px) {
  .bento__card--wide { aspect-ratio: auto; align-self: stretch; }
}
/* under about 1250px the wide tile's title takes two lines, so the card
   sits a little under the center line to stay clear of it (2026-11-16) */
@media (min-width: 1024px) and (max-width: 1249px) {
  .bento__card--wide .bento__vg { top: calc(50% + 1.5rem); }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Only moves and fades, on layers kept the whole time (Luke, 2026-11-16:
     flashing on hover, rebuilt from clip-paths and color changes, which made
     the browser redraw layers mid-animation). The frame grows by scaling
     the photo's box up while the photo inside scales back down by the same
     amount, so the photo holds still and the frame shows a little more of
     it, as before; the ring scales with it; the title and the button ride
     the corners. The photo is laid out --grow % bigger on every side than
     the frame at rest (clipped by its rounded corners), so the grown frame
     still has photo to show: at 100% the counter-scaled photo stopped at the
     old edge, leaving a grey band and square corners inside the ring (Luke,
     2026-11-17). */
  .bento__media > img { top: calc(var(--grow) * -1%); left: calc(var(--grow) * -1%); width: calc(100% + var(--grow) * 2%); max-width: none; height: calc(100% + var(--grow) * 2%); }
  .bento__media, .bento__media > img { transition: transform var(--dur-card) var(--ease-card); }
  .bento__card::before { transition: transform var(--dur-card) var(--ease-card), opacity 250ms linear; }
  .bento__card:hover::before { opacity: 1; transform: scale(var(--s)); }
  .bento__card:hover .bento__media { transform: scale(var(--s)); }
  .bento__card:hover .bento__media > img { transform: scale(calc(1 / var(--s))); }
  .bento__title { transition: transform var(--dur-card) var(--ease-card); }
  .bento__go { transition: transform var(--dur-card) var(--ease-card); }
  .bento__card:hover .bento__title { transform: translate(calc(-1 * var(--gx)), calc(-1 * var(--gy))); }
  .bento__card:hover .bento__go { transform: translate(var(--gx), calc(-1 * var(--gy))); }
  /* every moving or fading part keeps its own layer all the time, so a hover
     never lifts one out and drops it back over the glass cards' blur (the
     2026-10-14 button flash) */
  .bento__media, .bento__media > img, .bento__card::before, .bento__title, .bento__go, .bento__go svg, .bento__go::before, .bento__go::after { will-change: transform, opacity; }
}

/* ==== Feature cards ==========================================================
   Stripe's small icon cards, kept in a card: an outlined icon square, then a
   short paragraph led by its title in ink and weight 500, the rest in the
   second tone (Stripe's "Get to market faster. Launch and..."), then a
   Learn more link. The link covers the whole card, so hovering anywhere
   puts it in its hover state and darkens the outlines. They never grow. */
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-5);
  transition: border-color var(--dur-hover) var(--ease-ui);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-s);
  color: var(--navy-700);
  transition: border-color var(--dur-hover) var(--ease-ui);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__text { margin-top: var(--space-5); font-size: var(--text-base); line-height: var(--leading-body); color: var(--text-second); }
.feature__text strong { font-weight: var(--weight-medium); color: var(--text-strong); }
.feature > .link-cta { margin-top: auto; padding-top: var(--space-4); }
.feature > .link-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  .feature:hover { border-color: var(--rule-strong); }
  .feature:hover .feature__icon { border-color: var(--slate-400); }
}

/* ==== Points ================================================================
   What an area includes, beside its photo: ruled rows, each led by a navy
   check, its title in ink at 500 and its text under it in the muted tone,
   so the list reads as a set of separate items under the heading (Luke,
   2026-10-14: Stripe's loose stack was hard to scan). */
.points { border-bottom: 1px solid var(--rule); }
.points li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: var(--space-3);   /* a step tighter, with the checklists (Luke, 2026-10-23) */
  padding-block: var(--space-5);
  border-top: 1px solid var(--rule);
}
.points li > svg { grid-row: 1 / span 2; width: 18px; height: 18px; margin-top: 0.12em; color: var(--navy-700); }
.points h3 { grid-column: 2; font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-strong); text-wrap: pretty; }
.points p { grid-column: 2; margin-top: var(--space-1); color: var(--text-muted); }

/* ==== Link list ===============================================================
   Client resources (Matt's reference, Arcadia's Client Login page): one card
   of ruled rows, each row a link. The feature card's icon square, the name in
   ink at 500 with a line under it in the muted tone, and the hover arrow at
   the end. The whole row is the link, so hovering anywhere plays the arrow. */
.links { padding-inline: var(--space-6); }
.links li + li { border-top: 1px solid var(--rule); }
.links__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-4); padding-block: var(--space-5); }
.links__name { display: block; font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-strong); }
.links__text { display: block; margin-top: var(--space-1); line-height: var(--leading-snug); color: var(--text-muted); }
.links__item .arrow { color: var(--link); }
@media (hover: hover) and (pointer: fine) { .links__item:hover .feature__icon { border-color: var(--slate-400); } }
@media (max-width: 639px) { .links { padding-inline: var(--space-5); } }

/* ==== Call or text =============================================================
   Matt's number on the navy (Get in touch): a small "Call/Text" in the
   navy's second tone, the number under it in white at 500. The footer has
   the number alone, as one of its links (Matt, round 11 #26). */
.call-or-text { display: grid; gap: 2px; line-height: var(--leading-snug); }
.call-or-text > span { font-size: var(--text-sm); color: var(--text-muted); }
.call-or-text > a { justify-self: start; font-weight: var(--weight-medium); color: var(--text-strong); transition: color var(--dur-ui) var(--ease-ui); }
.call-or-text > a:hover { color: var(--link-hover); }
/* Let's Get Acquainted and Still have questions: the button, "Or" on its
   own line, then Call/Text over Email, 16 apart (Matt, round 11 #15 #22;
   Luke's pick A). "Or" takes the labels' size and color. */
.reach { display: grid; gap: var(--space-4); }
.reach__or { font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-muted); }

/* ==== Checklist ==============================================================
   Plain lines, each led by a navy check (the vignettes' check, #i-check). */
.checks { display: grid; gap: var(--space-3); line-height: var(--leading-snug); color: var(--text); }
.checks li { display: flex; align-items: flex-start; gap: var(--space-2); }   /* icon to text 8px, as on the tags (Luke, 2026-10-23: 12 was a bit much) */
.checks svg { flex: none; width: 16px; height: 16px; margin-top: 0.19em; color: var(--navy-700); }   /* centered on the capitals (measured 2026-10-23; 0.12em sat a pixel high) */

/* ==== Photo panel =============================================================
   A photo with glass cards on it that isn't a link (services page): the
   bento's photo and vignettes without the title, scrim or hover. One card
   sits dead center; a pair (--pair) steps down from top-left to bottom-right
   so the two never overlap.
   One height for every panel at every width (Luke, 2026-11-16: at 608 by
   520 they stood taller than the text beside them and the cards looked
   lost in them). 440px is about the height of a section's heading and three
   points at desktop, and keeps at least 80px round the tallest cards. */
.panel {
  position: relative;
  overflow: hidden;
  height: 27.5rem;
  border-radius: var(--radius-m);
  background: var(--mist-200);
  container-type: size;
}
/* Phones: square, all the same size (Luke, 2026-11-16: 440px tall on a
   phone they stood as tall vertical bands) */
@media (max-width: 639px) { .panel { height: auto; aspect-ratio: 1; } }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.panel__art { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; --vg: var(--vg-tile); }
.panel .vg { width: 21em; height: auto; font-size: var(--vg); }
.panel .vg > .vg-card { position: relative; }
/* Glass a step lighter on these panels (Luke, 2026-11-16: over the cliff
   and the green coast the grey text got hard to read) */
.panel .vg-card, .story .vg-card { background: var(--glass-bg-light); }   /* the process cards too (Luke, 2026-11-16: the grey lines under Your journey's milestones and Plan adjustments' labels were hard to read over the surf and the ridge) */

/* ==== Topic ===================================================================
   One of the smaller Personal CFO areas, as a card three to a row: the
   feature card's icon square, the name at card-title size, its text, then
   what it includes as a checklist. Cards in a row share one height. */
.topic { display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-6); }
.topic__title { margin-top: var(--space-5); font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--text-strong); }
.topic__text { margin-top: var(--space-3); color: var(--text-muted); }
.topic .checks { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--rule); align-self: stretch; }
@media (max-width: 639px) { .topic { padding: var(--space-5); } }

/* ==== Price card ==============================================================
   Pricing for a quoted service (Luke, 2026-10-14). Left: the service's name
   as the card's title in the top-left corner with a line under it in the
   muted tone, and at the foot the starting
   price ("$6,000/year", the unit small and set tight) right over the
   button. Right, on Matt's navy: what the service includes, two columns
   read down, each area led by its own icon at the checklist's 16px. */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.price__main { display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-7); container-type: inline-size; }
.price__name { font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--text-strong); }
.price__lede { max-width: 24rem; margin-top: var(--space-3); color: var(--text-muted); text-wrap: pretty; }
.price__amount { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.12em; margin-top: auto; padding-top: var(--space-6); }
.price__num { font-size: var(--display); font-size: min(var(--display), (100cqi - 2.25rem) / 6.9); font-weight: var(--weight-book); line-height: var(--leading-display); letter-spacing: var(--tracking-display); color: var(--text-strong); font-variant-numeric: lining-nums; }   /* the range and /year stay on one line: on a narrow screen (iPhone Display Zoom, 320 wide) the range steps down to fit the card. The range runs 6.83× its size, /year and the gap 2.2rem (measured, Matt, 2026-12-01) */
.price__per { font-size: var(--text-base); color: var(--text-muted); }
.price__note { margin-top: var(--space-2); color: var(--text-muted); text-wrap: pretty; }
.price__main .btn-row { align-items: center; column-gap: var(--space-5); margin-top: var(--space-6); }   /* Let's Connect (its FAQ link moved under the cards, Matt, round 11 #61) */
/* The navy half reads across the white one (Luke, 2026-10-19: the halves
   didn't line up and the list left a gap at the foot). Its title is smaller
   but on the name's line box, so the two share a baseline. The list sits
   16px under it, 4px more than the lede under the name: the title's
   descenders and the icons reach up into the gap, and at 12px it read
   tighter than the white half's (Luke, 2026-10-23; the ink gaps now match,
   about 25px). Its rows spread down the panel until the last one is level
   with the button's label (13px is half the button's height less a row's).
   Stacked, the list keeps its 12px rows. */
.price__includes { display: flex; flex-direction: column; padding: var(--space-7); background: var(--band-dark); color: var(--text-on-dark); }
.price__includes h3 { padding-top: 1px; font-size: var(--text-lg); font-weight: var(--weight-book); line-height: calc(var(--text-xl) * 1.2); letter-spacing: var(--tracking-heading); }   /* the smaller type sits 1px high in the same line box: the pixel drops its baseline onto the name's (measured, 2026-10-19) */
.price__includes .checks { row-gap: var(--space-5); margin-top: var(--space-6); font-size: var(--text-md); color: var(--text-on-dark); }
.price__includes .checks svg { width: 18px; height: 18px; margin-top: 0.2em; }
.price__includes .checks svg { color: var(--text-on-dark-second); fill: none; }
/* Tablets from 768px keep the two halves side by side, padded 32
   (2026-11-16); under that the navy follows the white */
@media (min-width: 768px) and (max-width: 1023px) {
  .price__main, .price__includes { padding: var(--space-6); }
  .price__includes .checks { font-size: var(--text-base); }
}
@media (max-width: 767px) {
  .price { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .price__main, .price__includes { padding: var(--space-5); }
}

/* ---- Engagement card ---------------------------------------------------------
   A quoted service under a price card, kept short so it reads as the second
   offer (Matt, markup 2026-10-23: about half the Personal CFO card's height,
   the examples behind a See examples; Luke's layout, 2026-10-26). The name
   and its line on the left with See examples under them, where the button
   is on the card above (Luke, the same day: moved from the right); from the
   navy's edge above (the halves of the price card), Contact for Pricing a
   step smaller than the name on its baseline, so it never outweighs the
   price above, "Each project is priced after an intro call." in the
   description's style on its first baseline (Luke, 2026-10-26), and level
   with See examples the secondary button and See project FAQs. See
   examples keeps its label and turns its chevron (Luke). The examples slide
   out under a rule across the whole card, on the sunk paper, as small
   outlined cards four to a row (two on tablets, one on phones), each a title
   led by its icon (the checklist's 16px, centered on the capitals) over a
   line in the muted tone. The slide is the grid-rows trick on the FAQ's ease
   and timing; site.js more() flips .is-open, the label and the chevron. */
.engage { overflow: hidden; }
.engage__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; column-gap: calc(var(--space-7) * 2); padding: var(--space-7); }   /* each row shares a baseline: name and price, description and note, See examples and the buttons */
.engage__name { grid-column: 1; grid-row: 1; }
.engage__lede { grid-column: 1; grid-row: 2; }
/* Contact for Pricing is the card's one button (Matt, round 11 #58 #59: it
   takes them to Let's Get Acquainted; the Schedule a Call beside it is
   gone), from the navy's edge, centered on the left half's height. */
.engage__side { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: flex; flex-direction: column; align-items: flex-start; }
.engage__toggle { grid-column: 1; grid-row: 3; justify-self: start; margin-top: var(--space-5); }   /* a button tall, its label centered: 24px reads as the 32px above the button on the card above */
.project__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.project__item { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-content: start; column-gap: var(--space-2); padding: var(--space-4); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); }
.project__icon { grid-column: 1; grid-row: 1; width: 16px; height: 16px; margin-top: 0.19em; color: var(--navy-700); }
.project__title { grid-column: 2; font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-strong); }
.project__text { grid-column: 2; margin-top: var(--space-2); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-muted); text-wrap: pretty; }
.project__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms cubic-bezier(0.65, 0, 0.35, 1); }
.project__more > * { min-height: 0; overflow: hidden; }
.project__more.is-open { grid-template-rows: 1fr; }
.engage__examples > .project__list { padding: var(--space-7); background: var(--surface-sunk); border-top: 1px solid var(--rule); }
/* See examples is as tall as a button, so its label shares a line with the
   button row on the left */
.project__toggle { gap: var(--space-1); height: 3rem; padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.project__toggle svg { width: 16px; height: 16px; transition: transform 420ms cubic-bezier(0.65, 0, 0.35, 1); }
.project__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .project__more, .project__toggle svg { transition: none; }
}
@media (max-width: 1023px) {
  .project__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .engage__head { column-gap: var(--space-7); padding: var(--space-6); }
  .engage__examples > .project__list { padding: var(--space-6); }
}
@media (max-width: 767px) {
  .engage__head { grid-template-columns: minmax(0, 1fr); }
  .engage__name, .engage__lede, .engage__side, .engage__toggle { grid-column: 1; grid-row: auto; }
  .engage__side { margin-top: var(--space-5); }
  .engage__toggle { margin-top: var(--space-2); }
}
@media (max-width: 639px) {
  .engage__head { padding: var(--space-5); }
  .engage__examples > .project__list { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
}

/* ==== Questions ===============================================================
   A ruled accordion (native details). site.js glides each answer open and
   shut: the row's height runs on --ease-move, the answer fades in as it
   opens, and the chevron turns with the same ease. Without JS or with
   reduced motion it just opens. Each page that needs one gets its own. */
.faq-list { border-bottom: 1px solid var(--rule); }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-5);
  font-size: var(--text-md);
  font-weight: var(--weight-book);
  color: var(--text-strong);
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list__icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--slate-600);
  transition: transform var(--dur-faq, 420ms) cubic-bezier(0.65, 0, 0.35, 1), color var(--dur-ui) var(--ease-ui);
}
.faq-list details.is-open .faq-list__icon,
.faq-list details[open]:not(.is-ready) .faq-list__icon { transform: rotate(180deg); }
@media (hover: hover) { .faq-list summary:hover .faq-list__icon { color: var(--text-strong); } }
.faq-list__body { padding-bottom: var(--space-5); }
.faq-list__body p { max-width: 88%; margin-top: calc(-1 * var(--space-2)); color: var(--text-muted); }
.faq-list__body p + p { margin-top: var(--space-3); }   /* an answer in points, a paragraph each (Matt's #10, #12) */
.faq-list__body strong { font-weight: var(--weight-medium); color: var(--text-strong); }
/* A group's label inside the list (Personal CFO, Project-Based Engagements;
   Matt 2026-10-21, Luke 2026-10-23): a rule closes the group above, the label
   sits clear of it, and a link to it lands below the sticky nav. The first
   label opens the list, so it has nothing to clear. */
/* A row named by an area (Services, What We Cover; 2026-11-03): the
   feature card's icon square before the name, at the FAQ question's size,
   ruled like the FAQ's rows. Since round 9 (Matt #16) the rows don't open
   (the items are saved in Website/What We Cover details (saved
   2026-11-23).md). A link that lands on a row clears the nav. */
.aoe__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--rule);
  font-size: var(--text-md);
  font-weight: var(--weight-book);
  color: var(--text-strong);
  scroll-margin-top: calc(var(--nav-h) + var(--space-6));
}
.aoe__item .feature__icon { flex: none; }
.faq-list__group { padding: var(--space-7) 0 var(--space-4); border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--nav-h) + var(--space-6)); }
.faq-list__group:first-child { padding-top: 0; border-top: 0; }

/* ==== FAQ ====================================================================
   The page's questions (About since round 8, #39; it was on Services): the
   heading held beside one list of rows that open; under the heading the
   shared "Still have questions?" (.ask). Tablets from 768px keep the heading
   beside the list (three of the eight columns, the list from the fourth's
   gutter); stacked: the heading, the questions, then Still have questions
   (Luke, 2026-11-16: it sat between the heading and the list). */
.faq__frame { padding-block: var(--section-y); }
@media (min-width: 1024px) {
  .faq__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--nav-h) + var(--space-6)); }
  .faq__list { grid-column: 6 / -1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .faq__head { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--nav-h) + var(--space-6)); }
  .faq__list { grid-column: 4 / -1; margin-left: var(--space-5); }
}
@media (max-width: 767px) {
  .faq__head { display: contents; }
  .faq__head > *, .faq__list { grid-column: 1 / -1; }
  .faq__list { grid-row: 2; margin-top: var(--space-6); }
  .faq__head > .ask { grid-row: 3; margin-top: var(--space-7); }
}

/* ==== Vignettes =============================================================
   Small product-style cards that act out a step on top of a photo, in frosted
   glass (tokens: --glass-*). Sized in em, so a layout scales a whole vignette
   with one font-size (--vg). site.js plays them: inside a [data-play] box, an
   element with data-at="s" gets .is-on s seconds into its beat and data-done
   adds .is-done; data-beat and the story's data-cues stage the beats on
   scroll and hover. Classes are only ever added, never taken away. Base
   styles are the finished state; without .motion everything shows finished.

   Type: four styles, set by what a piece of text does, never by which card
   it's in (Luke, 2026-11-16: the tiles had drifted, account names and SOW
   lines large in ink, roadmap areas and team names small and grey).
     Title   1em / 500 / ink: the card's name.
     Text    1em / 400 / ink: anything the card lists or names on a line,
             with its value beside it: accounts, SOW sections, roadmap areas,
             team members, the odds' label.
     Figure  1em / 500 / ink, tabular: the value on that line: a balance,
             the total, the odds, a slider's value, the fee.
     Small   0.857em / 400 / muted (.vg-sub): a caption sitting above or
             under what it labels (a slider's name over its rail), axis
             ticks, column heads, a key, a unit.
   A value inside a Small line (a slider's value) and the story cards'
   footer line (.vg-foot) are Small at 500 in ink.
   A line with a caption under it (or a caption over a figure) is one tight
   stack: no gap, set at 1.2 (Luke, 2026-11-16: at 1.3 with a gap they read
   as two separate things).
   Motion: anything that travels (a bar filling, a marker or a row moving)
   uses --ease-move, an ease-in-out; things that appear fade on --ease-ui. */
.vg :is(.vg-odds > p, .vg-total, .vg-life__now > p) { line-height: 1.2; }
/* The Personal CFO tile cards (tiles.js) are the same size on Home and
   Services: Text 14px and Small 12px wherever the card has room, stepping
   down on a narrow card, never under 12 / 10.3 (Luke, 2026-11-16: Services
   ran them at 16 and the planning pair at 13.7, Home at 14.8, and a 1024px
   screen took them to 11.4). cqi is the tile or panel the card sits in. */
:root {
  --vg-tile: clamp(12px, 4cqi, 14px);         /* one card on its photo */
}
.vg {
  --ink: var(--navy-950);
  --sub: oklch(0.37 0.028 245);   /* the muted text, a step darker than the page's (slate-700): on glass over a photo the page tone washed out at 12px (Luke, 2026-11-16) */
  --line: var(--glass-line);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  flex: none;
  width: 24em;
  height: var(--vg-h, 21em);
  font-size: var(--vg, 14px);
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
}
.vg svg { display: block; }
/* Everything in a glass card that slides, scales, fills or fades keeps its
   own layer all the time (Luke, 2026-11-16: flashing on hover). Without it
   the browser lifts each part onto a layer as its transition starts and
   drops it back when it ends, and each drop redraws over the card's blur,
   which on a real GPU can show as a one-frame flash: the same fix the bento
   title and corner button got on 2026-10-14. */
.vg :is(.vg-tick, .vg-rank li, .vg-foot__in, .vg-life__now > p, .vg-knob__val > span, .pv-val > span, .vg-rail__run, .vg-rail__fill, .vg-life__fill, .vg-fee__line),
.vg :is(.vg-seg i, .vg-stop, .vg-map__q, .vg-rail__run)::after { will-change: transform, opacity; }
.vg-card {
  position: absolute;
  padding: 1em 1.143em;
  border-radius: var(--radius-m);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-sheen), var(--shadow-float);
}
/* the rim: light catching the top-left edge and fading around the card */
.vg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(150deg, oklch(1 0 0 / 0.95), oklch(1 0 0 / 0.35) 30%, oklch(1 0 0 / 0.12) 62%, oklch(1 0 0 / 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* No entrance: the glass card is part of the photo and is there on load
   (Luke, 2026-10-05: no entrance motion anywhere). Only hover plays it. */
.vg-head { display: flex; align-items: center; gap: 0.571em; min-height: 1.5em; }
.vg-title { font-weight: 500; white-space: nowrap; }
.vg-meta { margin-left: auto; font-size: 0.857em; color: var(--sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vg-sub { display: block; font-size: 0.857em; color: var(--sub); }
/* Every example graphic says so (Matt, round 8 #26: "very small in the
   corner"): "Illustrative example" at the far end of the card's title row,
   in the Small style, muted. .vg-head centers its items, which leaves a
   smaller line's baseline about (ascent - descent) / 2 per px of size
   difference higher (0.7px at 14/12), so it's nudged down onto the title's
   baseline, in em so it holds at every size. */
.vg-ill { margin-left: auto; padding-left: 0.857em; font-size: 0.857em; font-weight: 400; color: var(--sub); white-space: nowrap; translate: 0 0.057em; }
.vg-desc { margin-top: 0.36em; }
.vg-val { margin-left: auto; font-weight: 500; }
/* Placeholder shapes for the Personal CFO bento (until each card is designed):
   a line chart, stat tiles, bars, a shaded grid, a small diagram, a donut */
.vg-plot { width: 100%; height: 5.5em; margin-top: 0.71em; overflow: visible; }
.vg-plot path { vector-effect: non-scaling-stroke; }
.vg-plot__grid { fill: none; stroke: var(--line); stroke-width: 1; }
.vg-plot__area { fill: oklch(0.34 0.062 243 / 0.12); }
.vg-plot__line { fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.vg-axis { display: flex; justify-content: space-between; margin-top: 0.43em; font-size: 0.857em; color: var(--sub); }
.vg-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.43em; margin-top: 0.71em; }
.vg-tiles > div { display: grid; gap: 0.14em; padding: 0.57em 0.64em; border-radius: var(--radius-s); background: var(--glass-fill); }
.vg-tiles .vg-val { margin-left: 0; font-size: 1em; }
.vg-bars { display: flex; align-items: flex-end; gap: 0.36em; height: 6em; margin-top: 0.71em; border-bottom: 1px solid var(--line); }
.vg-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 0.14em 0.14em 0 0; background: var(--navy-700); }
.vg-heat { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.29em; margin-top: 0.71em; }
.vg-heat i { aspect-ratio: 1.6; border-radius: 0.14em; background: oklch(0.34 0.062 243 / calc(0.08 + var(--a) * 0.8)); }
.vg-tree { display: grid; justify-items: center; margin-top: 0.86em; }
.vg-tree__lines { width: 100%; height: 1.6em; fill: none; stroke: oklch(0.25 0.05 245 / 0.3); stroke-width: 1; }
.vg-tree__lines path { vector-effect: non-scaling-stroke; }
.vg-tree__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; width: 100%; }
.vg-node { display: inline-grid; place-items: center; padding: 0.36em 0.71em; border-radius: var(--radius-s); background: var(--glass-fill); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.857em; font-weight: 500; }
.vg-node--root { background: var(--navy-800); box-shadow: none; color: var(--white); }
.vg-tree + .vg-foot { margin-top: 0.86em; }
.vg-donut { display: flex; align-items: center; gap: 1.14em; margin-top: 0.86em; }
.vg-donut svg { flex: none; width: 5.7em; height: 5.7em; }
.vg-donut circle { fill: none; stroke: var(--c); stroke-width: 6; stroke-dasharray: var(--d) calc(100 - var(--d)); stroke-dashoffset: var(--o); }
.vg-donut .vg-donut__track { stroke: var(--line); stroke-dasharray: none; }
.vg-donut ul { flex: 1; display: grid; gap: 0.5em; }
.vg-donut li { display: flex; align-items: center; gap: 0.5em; }
.vg-donut li i { flex: none; width: 0.64em; height: 0.64em; border-radius: 0.14em; background: var(--c); }
.vg-ico { flex: none; width: 1.143em; height: 1.143em; color: var(--sub); }
.vg-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: var(--radius-s);
  background: var(--navy-800);
  color: var(--white);
}
.vg-avatar svg { width: 1.05em; height: auto; fill: currentColor; }

/* Rows: ruled lines that go from muted to ink as they're reached */
.vg-rows { margin-top: 0.714em; }
.vg-row {
  display: flex;
  align-items: center;
  gap: 0.643em;
  height: 2.43em;
  border-top: 1px solid var(--line);
  white-space: nowrap;
  transition: color 400ms var(--ease-ui);
}
.motion .vg-row[data-at]:not(.is-on) { color: var(--sub); }

/* Checkbox and tick: a square that fills navy while its check draws in.
   The check path lives in a <use> shadow tree that page selectors can't
   reach, so the dash goes on the <svg> and the path inherits it. */
.vg-box, .vg-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.143em;
  height: 1.143em;
  color: var(--white);
  background: var(--navy-800);
}
.vg-box { border-radius: 0.214em; transition: background-color 250ms var(--ease-ui), box-shadow 250ms var(--ease-ui); }
.vg-tick { margin-left: auto; border-radius: 50%; transition: transform 450ms var(--ease-move), opacity 200ms var(--ease-ui), background-color 250ms var(--ease-ui); }
.vg-box svg, .vg-tick svg { width: 0.857em; height: 0.857em; stroke-dasharray: 14 16; transition: stroke-dashoffset 400ms 80ms var(--ease-move); }
.motion .vg-row:not(.is-on) > .vg-box { background: transparent; box-shadow: inset 0 0 0 1px oklch(0.25 0.05 245 / 0.32); }
.motion :is(.vg-row:not(.is-on) > .vg-box, .vg-row:not(.is-on) > .vg-tick, .vg-tick[data-at]:not(.is-on)) svg { stroke-dashoffset: 15; }
.motion :is(.vg-row:not(.is-on) > .vg-tick, .vg-tick[data-at]:not(.is-on)) { transform: scale(0.4); opacity: 0; }

/* One card per story: a little larger than the cards in a cluster, so it
   fills about 85% of the photo's width */
.vg--solo { width: 21.4em; height: auto; font-size: calc(var(--vg, 14px) * 1.14); }
.vg--solo > .vg-card { position: relative; }

/* -- Discover: the checklist fills, one item at a time --------------------
   It plays on hover, one item after another. Each item is a click and a whoosh: the box fills and its
   check draws, then its segment of the progress bar eases across. */
.vg-list { padding-bottom: 0.4em; }
.vg-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.286em; margin-top: 0.857em; }
.vg-seg i { position: relative; height: 0.286em; overflow: hidden; border-radius: 1px; background: var(--line); }
.vg-seg i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-700);
  transform-origin: left;
  transition: transform 750ms var(--ease-move);
}
.motion .vg-seg i:not(.is-on)::after { transform: scaleX(0); transition-duration: 300ms; }
.vg-list .vg-rows { margin-top: 0.571em; }
.vg-list .vg-row:first-child { border-top: 0; }
/* the click: the box fills in place, it never changes size */
.vg-list .vg-box { transition: background-color 180ms var(--ease-ui), box-shadow 180ms var(--ease-ui); }
.vg-list .vg-box svg { transition: stroke-dashoffset 380ms 60ms var(--ease-move); }

/* -- Design: the client's priorities ---------------------------------------
   The client's goals, ranked. On hover, one is picked up, moved above
   another, and set down; then the plan confirms it follows the new order. Ranks stay put; the goals move. .vg-foot is shared. */
.vg-rank { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); gap: 0 0.5em; margin-top: 0.786em; }
.vg-rank ol, .vg-rank ul { display: grid; gap: 0.43em; }
.vg-rank ol li {
  display: grid;
  place-items: center;
  font-size: 0.857em;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
  height: calc(2.43em / 0.857);
}
.vg-rank ul li {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.43em;
  padding: 0 0.5em 0 0.786em;
  border-radius: var(--radius-s);
  background: oklch(1 0 0 / 0.5);
  white-space: nowrap;
  transition: transform 640ms var(--ease-move), box-shadow 300ms var(--ease-ui), background-color 300ms var(--ease-ui);
}
.vg-grip { width: 0.857em; height: 0.857em; margin-left: auto; color: var(--slate-500); }
/* finished: the two goals have traded places */
.vg-rank .vg-up { z-index: 2; transform: translateY(-2.86em); }
.vg-rank .vg-down { transform: translateY(2.86em); }
.motion .vg-rank .vg-up:not(.is-done), .motion .vg-rank .vg-down:not(.is-on) { transform: none; }
/* picked up: lifted on a shadow until it's set down */
.motion .vg-rank .vg-up.is-on:not(:has(> .vg-set.is-on)) {
  background: var(--white);
  box-shadow: 0 6px 16px -6px oklch(0.2 0.04 248 / 0.35), 0 0 0 1px oklch(0.25 0.05 245 / 0.08);
}
.motion .vg-rank .vg-up.is-on:not(.is-done) { transform: scale(1.025); }
.vg-set { display: none; }
/* The footer line: its rule is there from the start; only the line under it
   (.vg-foot__in, the tick and its words) fades and rises in (Luke,
   2026-11-17: the rule came in with the words) */
.vg-foot {
  margin-top: 0.857em;
  padding-top: 0.714em;
  border-top: 1px solid var(--line);
  font-size: 0.857em;
  font-weight: 500;
}
.vg-foot__in {
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: opacity calc(500ms * var(--vg-pace, 1)) var(--ease-ui), transform calc(700ms * var(--vg-pace, 1)) var(--ease-move);
}
.vg-foot .vg-tick { margin-left: 0; width: 1.25em; height: 1.25em; }
.motion .vg-foot__in[data-at]:not(.is-on) { opacity: 0; transform: translateY(0.4em); }


/* -- Implement: the client's journey ---------------------------------------
   Today to age 75 on one line, with the milestones Quivira plans around, the
   way a progress tracker shows steps: upcoming stops are hollow. On each
   step the navy line runs to the edge of the next stop in one ease-in-out
   stroke and stops there; then the stop fills from its center out to its
   ring, its age goes to ink, and the line below says what Quivira does there.
   The stop the client is at holds a soft halo. It hands the halo on: as the
   line sets off, the halo on the stop it leaves shrinks back in, and once
   the next stop has filled, its halo grows out (Luke, 2026-10-05; the line
   used to pour through the stop and fill it left to right). It plays on
   hover, one stop after another.
   One length, --vg-head, sets how far the line has run, from the line's left
   end (.vg-life is the container that measures it). A stop that has set off
   (.is-on) sets where the head goes (that stop's near edge, --vg-to) and how
   long it takes (--vg-leg); those times match the data-done arrivals in the
   markup, and .is-done starts the fill. */
@property --vg-head { syntax: "<length>"; inherits: true; initial-value: 0px; }
.vg-life { container-type: inline-size; padding-top: 0.14em; }
.vg-life__line {
  --vg-w: calc(100cqw - 1em);   /* the line's length */
  --vg-r: 0.355em;              /* a stop's radius */
  --vg-head: calc(0.828 * var(--vg-w) + var(--vg-r));
  position: relative;
  height: 0.214em;
  margin: 2.4em 0.5em 0;
  border-radius: 1em;
  background: var(--line);
}
/* the head stops at the stop's ring (a hair inside it, so no gap shows) */
.motion .vg-life__line { --vg-head: calc(var(--vg-to, 0) * var(--vg-w) - var(--vg-r) * 0.9); transition: --vg-head var(--vg-leg, 700ms) var(--ease-move); }
.motion .vg-life:has(.vg-stop:nth-child(2).is-on) .vg-life__line { --vg-to: 0.138; --vg-leg: 700ms; }
.motion .vg-life:has(.vg-stop:nth-child(3).is-on) .vg-life__line { --vg-to: 0.276; --vg-leg: 700ms; }
.motion .vg-life:has(.vg-stop:nth-child(4).is-on) .vg-life__line { --vg-to: 0.552; --vg-leg: 950ms; }
.motion .vg-life:has(.vg-stop:nth-child(5).is-on) .vg-life__line { --vg-to: 0.655; --vg-leg: 650ms; }
.motion .vg-life:has(.vg-stop:nth-child(6).is-on) .vg-life__line { --vg-to: 0.828; --vg-leg: 750ms; }
.vg-life__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--navy-700); clip-path: inset(0 calc(100% - var(--vg-head)) 0 0); }
/* a stop: a ring, and a navy center that grows out from the middle to fill it */
.vg-stop { position: absolute; z-index: 1; top: 50%; left: calc(var(--x) * 100%); }
.vg-stop::before, .vg-stop::after {
  content: "";
  position: absolute;
  width: calc(2 * var(--vg-r));
  height: calc(2 * var(--vg-r));
  margin: calc(-1 * var(--vg-r)) 0 0 calc(-1 * var(--vg-r));
  border-radius: 50%;
}
/* The halo is the ring's outline (it follows the radius), so it can grow and
   shrink on its own timing while the ring changes color. Leaving a stop, it
   shrinks as the line sets off; arriving, it grows once the fill is under way. */
.vg-stop::before {
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--navy-700);
  outline: 0 solid oklch(0.34 0.062 243 / 0.14);
  transition: box-shadow 300ms var(--ease-ui), outline-width 450ms var(--ease-move);
}
.vg-stop::after {
  background: var(--navy-700);
  transition: transform 450ms var(--ease-move);
}
.motion .vg-stop[data-at]:not(.is-done)::before { box-shadow: inset 0 0 0 1.5px oklch(0.25 0.05 245 / 0.26); }
.motion .vg-stop[data-at]:not(.is-done)::after { transform: scale(0); }
/* the halo: on the stop the client is at (done, and the line hasn't left it) */
.motion .vg-stop:is(:not([data-at]), .is-done):not(:has(~ .vg-stop.is-on))::before {
  outline-width: 0.29em;
  transition: box-shadow 300ms var(--ease-ui), outline-width 550ms 200ms var(--ease-move);
}
:root:not(.motion) .vg-stop:last-of-type::before { outline-width: 0.29em; }
.vg-stop > span {
  position: absolute;
  bottom: 1em;
  left: 0;
  font-size: 0.857em;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
  transition: color 400ms var(--ease-ui);
}
.motion .vg-stop[data-at]:not(.is-done) > span { color: var(--sub); }
/* what happens there: only the latest stop's line shows. The old one clears
   before the new one comes in, so they never sit on top of each other. */
.vg-life__now { display: grid; margin-top: 1.29em; padding-top: 0.86em; border-top: 1px solid var(--line); }
/* each stop's line fades in where it sits, no rise (Luke, 2026-10-06) */
.vg-life__now > p { grid-area: 1 / 1; display: grid; transition: opacity 400ms 140ms var(--ease-ui); }
.vg-life__now > p:has(+ p.is-on) { opacity: 0; transition: opacity 180ms var(--ease-ui); }
.motion .vg-life__now > p[data-at]:not(.is-on) { opacity: 0; transition-duration: 180ms; transition-delay: 0ms; }

/* -- Levers: sliders, a stepped rail, a split that re-divides -----------------
   Built for the Evolve story's Plan adjustments card (2026-10-05); since
   round 8 (#23, #27) they're the Plan Snapshot's levers and Evolve shows the
   Quarterly Review below. Each handle is taken hold of (a soft ring), glides
   to its new place, and lets go; its value changes as it lands. */
.vg-card:has(> .vg-tune) { --vg-pace: 0.75; }   /* 25% faster than first built (Luke, 2026-10-05); data-at / data-done / data-rest match */
.vg-tune { display: grid; gap: 1em; margin-top: 0.93em; }
.vg-knob { display: grid; gap: 0.57em; }
.vg-knob__top { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.857em; }   /* a caption over its rail: Small, the name muted, the value 500 in ink (Luke, 2026-11-16: at Text size it read oddly large) */
.vg-knob__top > span:first-child { color: var(--sub); }
.vg-knob__val { display: inline-grid; justify-items: end; font-weight: 500; font-variant-numeric: tabular-nums; }
.vg-knob__val > span { grid-area: 1 / 1; transition: opacity calc(320ms * var(--vg-pace, 1)) calc(700ms * var(--vg-pace, 1)) var(--ease-ui); }
.vg-knob__val > span:first-child { opacity: 0; transition: opacity calc(200ms * var(--vg-pace, 1)) calc(520ms * var(--vg-pace, 1)) var(--ease-ui); }
.motion .vg-knob:not(.is-on) .vg-knob__val > span:first-child { opacity: 1; }
.motion .vg-knob:not(.is-on) .vg-knob__val > span:last-child { opacity: 0; }
.vg-rail { position: relative; height: 0.286em; border-radius: 1em; background: var(--line); }
.vg-rail__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--navy-700); clip-path: inset(0 calc((1 - var(--to)) * 100%) 0 0); transition: clip-path calc(1000ms * var(--vg-pace, 1)) calc(150ms * var(--vg-pace, 1)) var(--ease-move); }
.vg-rail__run { position: absolute; inset: 0; transform: translateX(calc(var(--to) * 100%)); transition: transform calc(1000ms * var(--vg-pace, 1)) calc(150ms * var(--vg-pace, 1)) var(--ease-move); }
.vg-rail__run::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.93em;
  height: 0.93em;
  margin: -0.465em 0 0 -0.465em;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--navy-700), 0 1px 3px oklch(0.2 0.04 248 / 0.3);
  transition: box-shadow calc(300ms * var(--vg-pace, 1)) var(--ease-ui);
}
.motion .vg-knob:not(.is-on) .vg-rail__fill { clip-path: inset(0 calc((1 - var(--from)) * 100%) 0 0); transition-duration: 300ms; transition-delay: 0ms; }
.motion .vg-knob:not(.is-on) .vg-rail__run { transform: translateX(calc(var(--from) * 100%)); transition-duration: 300ms; transition-delay: 0ms; }
.motion .vg-knob.is-on:not(.is-done) .vg-rail__run::after {
  box-shadow: inset 0 0 0 1.5px var(--navy-700), 0 1px 3px oklch(0.2 0.04 248 / 0.3), 0 0 0 0.3em oklch(0.34 0.062 243 / 0.14);
}
.vg-tune + .vg-foot { margin-top: 1.07em; }
/* Stepped rails (Luke, 2026-11-16: a handle sits where its value is, and
   "none" is the far left). --n stops spread evenly from end to end, drawn as
   notches the fill covers as it passes; --from and --to are stop positions,
   0 to 1. The home tile's retirement age runs 60 to 70, 67 down to 63. */
.vg-rail--steps::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(-50% / (var(--n) - 1));
  width: calc(100% * var(--n) / (var(--n) - 1));
  background: radial-gradient(circle closest-side, oklch(0.25 0.05 245 / 0.3) calc(100% - 0.6px), transparent) 0 0 / calc(100% / var(--n)) 100% repeat-x;
}
/* A split that re-divides (the target portfolio, 65/30/5 to 50/40/10): the
   parts ease from --w to --w2 together, on the handles' timing. */
.vg-knob > .vg-mix--glide { margin-top: 0; }
.vg-mix--glide i:nth-child(n) { flex-grow: var(--w2); transition: flex-grow calc(1000ms * var(--vg-pace, 1)) calc(150ms * var(--vg-pace, 1)) var(--ease-move); }
.motion .vg-knob:not(.is-on) .vg-mix--glide i:nth-child(n) { flex-grow: var(--w); transition-duration: 300ms; transition-delay: 0ms; }

/* -- Evolve: Quarterly Review (Matt round 8 #23; Luke picked E2, 2026-11-17)
   What changed in the client's life on the left, what the plan did about it
   on the right, in Matt's words for Evolve ("adjust it for what has
   changed"). On hover each update lands with its tick, one beat each, a
   0.54s pause between (the story's data-rest). Since 2026-11-17 (Luke) the
   update isn't there until its tick: the words fade in as the tick draws,
   instead of going from grey to ink. The words keep their own layer the
   whole time (will-change), so they never shift a half pixel when the
   fade starts or ends (the "Proceeds invested" bump). */
.vg-review { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 0.79em; }
.vg-review + .vg-rows { margin-top: 0.29em; }
.vg-review + .vg-rows .vg-row:first-child { border-top: 0; }
.vg-review + .vg-rows .vg-row { justify-content: space-between; }
.vg-upd { display: flex; align-items: center; gap: 0.5em; font-weight: 500; }
.vg-upd .vg-tick { margin-left: 0; }
.vg-upd__txt { transition: opacity 520ms var(--ease-ui) 120ms; will-change: opacity; }
.motion .vg-review + .vg-rows .vg-row[data-at]:not(.is-on) { color: var(--ink); }
.motion .vg-review + .vg-rows .vg-row[data-at]:not(.is-on) .vg-upd__txt { opacity: 0; transition-duration: 200ms; transition-delay: 0ms; }
/* the tick sits inside the update, so the rows' rule (a direct child) misses it */
.motion .vg-review + .vg-rows .vg-row[data-at]:not(.is-on) .vg-tick { transform: scale(0.4); opacity: 0; }
.motion .vg-review + .vg-rows .vg-row[data-at]:not(.is-on) .vg-tick svg { stroke-dashoffset: 15; }

/* -- Home tiles (Matt's markup 2026-11-15, #38-#43) ------------------------
   The five Personal CFO tiles, each simplified from what Matt uploaded
   (Brand/Website References/Tile graphics) and drawn with the parts above.
   Example figures only. Each tile is a [data-play] box with data-cues="hover",
   so like the story cards it rests on a complete picture and plays once on
   hover (on touch screens, as it scrolls up the screen). */

/* The odds ring and the projected fan (RightCapital's Snapshot page: the
   median with its 25-75% and 5-95% bands), used by the Plan Snapshot */
.vg-odds { display: flex; align-items: center; gap: 0.86em; margin-top: 0.79em; }
.vg-odds > p { display: grid; }
.vg-ring { position: relative; flex: none; width: 4.29em; height: 4.29em; }
.vg-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.vg-ring circle { fill: none; stroke-width: 4; }
.vg-ring__track { stroke: var(--line); }
.vg-ring__fill { stroke: var(--navy-700); stroke-dasharray: 100px 100px; }
.vg-fan__label { margin-top: 0.93em; }
.vg-plot.vg-fan { height: 4.6em; margin-top: 0.43em; overflow: hidden; }
.vg-fan__outer { fill: oklch(0.34 0.062 243 / 0.13); }
.vg-fan__inner { fill: oklch(0.34 0.062 243 / 0.26); }
.vg-fan .vg-plot__line { stroke-linecap: butt; }   /* round caps hung a pixel past both ends (Luke, 2026-11-16) */
/* ages where they fall on the chart, not spread evenly: --x is the place,
   --a how much of the label sits left of it */
.vg-axis--ages { position: relative; display: block; height: 1.3em; }
.vg-axis--ages > span { position: absolute; top: 0; left: calc(var(--x) * 100%); translate: calc(var(--a, 0.5) * -100%) 0; white-space: nowrap; }

/* Plan Snapshot (Matt round 8 #28, #27; Luke picked option C, 2026-11-17):
   one wide card, the result on the left (the odds, the Projected Net Worth
   fan) and the four levers on the right, ruled apart. The levers move one at
   a time; once the last has landed (.pv-answer's beat) the left side
   answers once: the ring fills to --v and its figure counts up, and the fan
   lifts by --k, stretched up from today's point (y 66, which holds still),
   both over 900ms. The finished picture (no .motion) is the answered one. */
.pv { --vg-pace: 0.75; --v: 91; --k: 1.32; }   /* the levers keep Plan adjustments' pace */
.motion .pv { --v: 72; --k: 1; }
.motion .pv:has(.pv-answer.is-on) { --v: 91; --k: 1.32; }
.vg.pv { width: 36.6em; }
.pv-body { display: grid; grid-template-columns: minmax(0, 17.6em) minmax(0, 1fr); margin-top: 0.93em; }
.pv-body .vg-odds { margin-top: 0; }
/* the chart takes the column's spare height, so the ages line up with the last lever */
.pv-out, .pv-nw { display: flex; flex-direction: column; }
.pv-nw { flex: 1; }
.pv .vg-plot.vg-fan { flex: 1; height: auto; min-height: 4.6em; }
.pv-in { align-content: space-between; gap: 0.9em; margin: 0 0 0 1.143em; padding-left: 1.143em; border-left: 1px solid var(--line); }
.pv .vg-ring__fill { stroke-dashoffset: calc((100 - var(--v)) * 1px); transition: stroke-dashoffset 900ms var(--ease-move); }
.pv-val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.pv-val > span { grid-area: 1 / 1; }
.pv-val > span:first-child { opacity: 0; }
.motion .pv-val > span:first-child { opacity: 1; }
.motion .pv-val > .pv-answer:not(.is-on) { opacity: 0; }
.motion .pv-val:has(.pv-answer.is-on) > span:first-child { opacity: 0; }
.pv-lift { transform: scaleY(var(--k)); transform-origin: 0 66px; transform-box: view-box; transition: transform 900ms var(--ease-move); will-change: transform; }
/* Tax Strategy: a strategy is on or off, so it's a switch (Luke,
   2026-11-16), drawn in the levers' line: off is the unchecked box's
   outline, on is the rail's navy. The knob is a rail handle, held (the soft
   ring) while it moves; the track fills as it lands. */
.pv-flip .vg-knob__top { align-items: center; }
.pv-switch {
  position: relative;
  flex: none;
  width: 2.33em;
  height: 1.33em;
  border-radius: 1em;
  background: var(--navy-700);
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color 280ms 230ms var(--ease-ui), box-shadow 280ms 230ms var(--ease-ui);
}
.pv-switch > i {
  position: absolute;
  top: 0.167em;
  left: 0.167em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px oklch(0.2 0.04 248 / 0.3);
  transform: translateX(1em);
  transition: transform calc(600ms * var(--vg-pace, 1)) var(--ease-move), box-shadow calc(300ms * var(--vg-pace, 1)) var(--ease-ui);
  will-change: transform;
}
.motion .pv-flip:not(.is-on) .pv-switch { background: var(--line); box-shadow: inset 0 0 0 1px oklch(0.25 0.05 245 / 0.32); transition-duration: 300ms; transition-delay: 0ms; }
.motion .pv-flip:not(.is-on) .pv-switch > i { transform: none; transition-duration: 300ms; }
.motion .pv-flip.is-on:not(.is-done) .pv-switch > i { box-shadow: 0 1px 3px oklch(0.2 0.04 248 / 0.3), 0 0 0 0.36em oklch(0.34 0.062 243 / 0.14); }
/* the ends of a rail's range under it, so the handle reads as where its value is */
.pv-ends { display: flex; justify-content: space-between; margin-top: -0.14em; font-size: 0.857em; color: var(--sub); font-variant-numeric: tabular-nums; }
/* one card over sea and land on Home: the Services panels' lighter glass,
   so the levers read over the hillside as well as the sky */
.bento__card .pv .vg-card { background: var(--glass-bg-light); }
/* Narrow (a phone tile, or a Services panel under 520px): one column, the
   odds over the levers; the chart steps out (room for one or the other,
   and the levers are the story) */
@container (max-width: 519px) {
  .vg.pv { width: 21em; }
  .pv-body { display: block; margin-top: 0.79em; }
  .pv-nw, .pv-ends { display: none; }
  .pv-in { gap: 0.79em; margin: 0.86em 0 0; padding: 0.86em 0 0; border: 0; border-top: 1px solid var(--line); }
}

/* A split bar (the Plan Snapshot's target portfolio) */
.vg-mix { display: flex; gap: 2px; height: 0.43em; margin-top: 0.71em; }
.vg-mix i { flex: var(--w) 1 0; min-width: 2px; border-radius: 1px; background: var(--c); transition: background-color 450ms var(--ease-ui); }
.vg-mix i:nth-child(2) { transition-delay: 90ms; }
.vg-mix i:nth-child(3) { transition-delay: 180ms; }

/* All accounts (Matt round 8 #30; Luke picked option A, 2026-11-17): no
   dollar figures. Your portfolio against the benchmark across the top, then
   the five accounts (a $ mark and the name) beside the allocation donut.
   The asset classes' third color is slate-500 everywhere (slate-400 nearly
   vanished on bright glass on phones).
   The lines: one style (round joins, flat ends, clipped to the plot), told
   apart by tone and weight, navy 2px for your portfolio, slate 1.5px for the
   benchmark, named in a small key. On hover each draws left to right (its
   own layer, revealed by clip-path, 1.6s ease-in-out), the benchmark first
   and your portfolio 0.54s behind, trailing it to the end (Luke,
   2026-11-17). Until then the chart is empty, just its rules (Luke,
   2026-11-17: no faint lines waiting to be colored in). */
.ac-key { display: flex; gap: 1.17em; margin-top: 0.71em; font-size: 0.857em; color: var(--sub); }
.ac-key li { display: flex; align-items: center; gap: 0.5em; white-space: nowrap; }
.ac-key li i { flex: none; width: 1.17em; height: 2px; border-radius: 1px; background: var(--navy-700); }
.ac-key li i.ac-key__bench { height: 1.5px; background: var(--slate-500); }
.ac-perf { position: relative; height: 4.6em; margin-top: 0.57em; }
.ac-perf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.ac-perf path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: butt; }
.ac-perf .ac-grid { stroke: var(--line); stroke-width: 1; }
.ac-perf .ac-bench { stroke: var(--slate-500); stroke-width: 1.5; }
.ac-perf .ac-port { stroke: var(--navy-700); stroke-width: 2; }
.ac-draw { clip-path: inset(0 0 0 0); transition: clip-path 1600ms var(--ease-move); will-change: clip-path; }
.motion .ac-draw[data-at]:not(.is-on) { clip-path: inset(0 100% 0 0); transition-duration: 300ms; }
/* The allocation: each part a dash on a circle of circumference 100 (--a
   its share, --o where it starts), flat ends with a hair of glass between.
   The moment your portfolio's line lands, the mix rebalances from drift
   (--a, --o) to target (--a2, --o2) in one ease-in-out move, the key's
   shares counting with it (data-from). */
.ac-alloc { display: flex; flex-direction: column; justify-content: space-between; gap: 0.86em; padding: 0.29em 0 0.44em; }
.ac-donut { flex: none; align-self: center; width: 4.57em; height: 4.57em; rotate: -90deg; overflow: visible; }
.ac-donut circle { fill: none; stroke-width: 5; }
.ac-seg {
  --gap: 1.1;
  stroke: var(--c);
  stroke-dasharray: calc((var(--a2) - var(--gap)) * 1px) calc((100 - var(--a2) + var(--gap)) * 1px);
  stroke-dashoffset: calc(var(--o2) * -1px);
  transition: stroke-dasharray 1000ms var(--ease-move), stroke-dashoffset 1000ms var(--ease-move);
}
.motion .ac-alloc[data-at]:not(.is-on) .ac-seg {
  stroke-dasharray: calc((var(--a) - var(--gap)) * 1px) calc((100 - var(--a) + var(--gap)) * 1px);
  stroke-dashoffset: calc(var(--o) * -1px);
  transition-duration: 300ms;
}
/* the key: swatch, name, share (a figure, tabular) in the Small style */
.ac-legend { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.5em; font-size: 0.857em; color: var(--sub); }
.ac-legend > li { display: contents; }
.ac-legend i { width: 0.75em; height: 0.75em; border-radius: 0.17em; background: var(--c); }
.ac-legend b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.ac-legend span { white-space: nowrap; }
/* the accounts: Matt's "$ sign to signify it's an account", a small square
   like the checklist's box, in the glass tint with a navy $ (.vg-dollar, also
   the Statement of Work's fee since round 8 #10) */
.ac-lower { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 0 1.43em; margin-top: 1em; }
.ac-accts { display: grid; }
.ac-acct { display: flex; align-items: center; gap: 0.57em; height: 2em; border-top: 1px solid var(--line); white-space: nowrap; }
.ac-acct:first-child { border-top: 0; }
.vg-dollar { flex: none; display: grid; place-items: center; width: 1.667em; height: 1.667em; border-radius: 0.25em; background: var(--glass-fill); color: var(--navy-700); font-size: 0.857em; font-weight: 500; line-height: 1; }

/* Roadmap (#39): Matt's Personal CFO Roadmap, domains down the side and
   quarters across. Empty slots are faint; a task is an outlined box that
   fills navy as its check draws. A quarter's boxes go 0.3s apart, then its
   bar fills, then the next quarter waits 0.54s (data-rest 1240; Luke,
   2026-11-16). */
.vg-map { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 2.14em); gap: 0.36em 0.29em; align-items: center; margin-top: 0.86em; }   /* quarters 2.14em, were 2.43 (round 8 #25: "Retirement Planning" needs the room) */
.vg-map > span { white-space: nowrap; }   /* the areas are Text, the quarters Small (2026-11-16) */
.vg-map__q { position: relative; padding-bottom: 0.58em; font-size: 0.857em; text-align: center; transition: color 400ms var(--ease-ui); }
.vg-map > .vg-map__q { color: var(--ink); }
.vg-map__q::before, .vg-map__q::after { content: ""; position: absolute; inset: auto 0 0; height: 0.33em; border-radius: 1px; }
.vg-map__q::before { background: var(--line); }
.vg-map__q::after { background: var(--navy-700); transform-origin: left; transition: transform 700ms var(--ease-move); }
.motion .vg-map > .vg-map__q[data-at]:not(.is-on) { color: var(--sub); }
.motion .vg-map__q[data-at]:not(.is-on)::after { transform: scaleX(0); transition-duration: 300ms; }
.vg-map > b, .vg-map__task { height: 1.43em; border-radius: 0.214em; }
.vg-map > b { background: var(--glass-fill); }
.vg-map__task { display: grid; place-items: center; color: var(--white); background: var(--navy-800); transition: background-color 250ms var(--ease-ui), box-shadow 250ms var(--ease-ui); }
.vg-map__task svg { width: 0.857em; height: 0.857em; stroke-dasharray: 14 16; transition: stroke-dashoffset 400ms 80ms var(--ease-move); }
.motion .vg-map__task[data-at]:not(.is-on) { background: transparent; box-shadow: inset 0 0 0 1px oklch(0.25 0.05 245 / 0.32); }
.motion .vg-map__task[data-at]:not(.is-on) svg { stroke-dashoffset: 15; }

/* Team (#40): the Q and the client's other professionals, drawn as people
   like Matt's icon, side-on (Luke, 2026-11-16, over a hub): the Q on the
   left, the people stacked on the right. The lines sit in a 200 x 125 box
   the diagram's own shape, and run from the Q's edge to each person's edge,
   so a line's whole ease shows. The diagram sits under the title row (it
   rode up beside the title until round 8's "Illustrative example" tag took
   that row's right end). On
   hover each person is its own beat: the line eases out (750ms), the person
   fills navy as it lands (300ms), then a 0.54s pause (the tile's data-rest)
   before the next, the same pause as the roadmap's. */
.vg-team { position: relative; aspect-ratio: 4 / 3; margin-top: 0.93em; }   /* 4:3 for five people (round 8 #32; 8:5 for four, 2:1 before that); the lines' box is 200 x 150 to match, the people about the same distance apart as before */
.vg-head + .vg-team { margin-top: 0.43em; }   /* under the title row since round 8 (#26): the diagram used to ride up beside the title, and the "Illustrative example" tag now takes that row's right end */
.vg-team__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; }
.vg-team__lines path { stroke: oklch(0.25 0.05 245 / 0.26); stroke-width: 1.1; }
/* The line draws by its dash: one dash the line's length (pathLength 1)
   and a gap a little longer, parked just past the gap's start while
   hidden. With a gap of exactly 1, the next dash began right at the line's
   end, a dash of no length that the round cap drew as a navy dot by the
   person before the line had started (Luke, 2026-11-16) */
.vg-team__lines .vg-team__run { stroke: var(--navy-700); stroke-dasharray: 1 1.1; stroke-dashoffset: 0; transition: stroke-dashoffset 750ms var(--ease-move); }
.motion .vg-team__run[data-at]:not(.is-on) { stroke-dashoffset: 1.05; transition-duration: 200ms; }
.vg-team__q { --q-tile: 2.86em; position: absolute; left: 18%; top: 50%; translate: -50% -50%; }
.vg-team__who { position: absolute; left: 50%; top: var(--y); translate: -0.93em -50%; display: flex; align-items: center; gap: 0.43em; white-space: nowrap; transition: color 300ms var(--ease-ui); }   /* the names are Text (2026-11-16; were Small); the circle keeps its size, its center on the lines' ends */
.vg-who { flex: none; display: grid; place-items: center; width: 1.86em; height: 1.86em; border-radius: 50%; background: var(--navy-800); color: var(--white); transition: background-color 300ms var(--ease-ui), box-shadow 300ms var(--ease-ui), color 300ms var(--ease-ui); }
.vg-who svg { width: 1.14em; height: 1.14em; fill: currentColor; }
.motion .vg-team__who[data-at]:not(.is-on) { color: var(--sub); }
.motion .vg-team__who[data-at]:not(.is-on) .vg-who { background: var(--mist-50); box-shadow: inset 0 0 0 1.5px oklch(0.25 0.05 245 / 0.26); color: var(--slate-500); }

/* Statement of work (#38): Matt's SOW as a short document with navy rules
   like his (no Q or subtitle since Luke, 2026-11-16). On hover each section
   checks in as its own beat, a 0.54s pause after each (data-rest 1020), then
   the flat fee lands on the bottom line. */
.vg-doc .vg-rows { margin-top: 0.71em; border-top: 2px solid var(--navy-800); }
.vg-doc .vg-row:first-child { border-top: 0; }
/* The bottom line (Luke, 2026-11-17): the navy rule is there from the
   start. Under it, the $ box first, in the checkboxes' column and at their
   size, then "Annual Flat Fee" where the rows' names start; the two wait
   until the last box has checked, then fade and rise in together. Their
   space is kept, so the card never grows. */
.vg-fee { padding-top: 0.71em; border-top: 2px solid var(--navy-800); }
.vg-fee__line { display: flex; align-items: center; gap: 0.643em; transition: opacity 500ms var(--ease-ui), transform 700ms var(--ease-move); }
.vg-fee .vg-dollar { width: 1.333em; height: 1.333em; background: var(--navy-800); color: var(--white); }   /* 1.333em at the $'s 0.857em = the checkbox's 1.143em */
.motion .vg-fee__line[data-at]:not(.is-on) { opacity: 0; transform: translateY(0.4em); }

@media (prefers-reduced-motion: reduce) {
  .vg *, .vg-card { transition: none !important; animation: none !important; }
}

/* ==== About page components (2026-10-14) ======================================
   Built for about.html, from Luke's references: a photo across the frame, the
   founder row (Upwork's leadership layout), the values switcher (Palmer),
   and the partner logo rows (Matt's Interlake reference). */

/* ---- Plate: one of Matt's photos across the frame, guide to guide ----------
   It fills the frame edge to edge, so it takes no radius. */
.plate {
  position: relative;
  aspect-ratio: 1264 / 520;
  margin-inline: calc(-1 * var(--frame-pad));
  overflow: hidden;
  background: var(--mist-200);
}
.plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 1023px) { .plate { aspect-ratio: 16 / 9; } }
@media (max-width: 639px) { .plate { aspect-ratio: 4 / 3; } }

/* ---- Founder row ---------------------------------------------------------------
   A large portrait, and beside it his name and title, his bio, then a button
   on to the services page. The authority comes from the portrait's size, not
   from a list of details. Luke, 2026-10-19: his favorite quote was tried over
   his name, first at heading size, then a step down, and taken out; the
   portrait now runs from his name's capitals to the button's foot. */
.leader__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden; }
.leader__photo > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
/* Matt's Story's title is the small grey kicker again, like About Us
   (Matt, round 12 #1, undoing round 11 #46) */
.leader__name { font-size: var(--text-md); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-strong); text-box: trim-start cap alphabetic; }   /* its capitals start at the box top, level with the portrait's */
.leader__role { color: var(--text-muted); }
/* Name and title on one line, "Matthew Warden | Principal & Personal CFO"
   (Matt, markup 2026-10-21); stacked on phones, without the bar */
@media (min-width: 640px) {
  .leader__by { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.4em; }
  .leader__role { font-size: var(--text-md); line-height: var(--leading-snug); text-box: trim-start cap alphabetic; }
  .leader__role::before { content: "|" / ""; margin-right: 0.4em; }
}
.leader__bio { margin-top: var(--space-5); color: var(--text-muted); }
.leader__bio > p + p { margin-top: var(--space-4); }
.leader__bio > p:last-child { text-box: trim-end alphabetic; }
/* His email and number under the bio, label over link (Matt, markup 2026-10-21) */
/* with his LinkedIn under them, one group (Luke, 2026-10-26) */
/* A favorite quote (Matt's, About; his markup 2026-11-12, #32), set exactly
   like the Email and Call/Text pairs (Luke, 2026-11-13, over Stands out,
   Quiet and One line): the label 14 in the lighter tone, the quote at the
   body's 15 in the darker ink, medium like the links. The opening mark
   starts on the left edge like any other letter, not hung outside it. */
.fav { display: grid; gap: 2px; line-height: var(--leading-snug); }
.fav__label { font-size: var(--text-sm); color: var(--text-muted); }
.fav__quote { font-weight: var(--weight-medium); color: var(--text-strong); }
.leader__reach { margin-top: var(--space-5); }   /* the bio's 24px, as the contact row had before */
.leader__contact { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7); }
.leader .leader__social { display: flex; width: fit-content; margin-top: var(--space-5); }   /* a block (over .social-link, set later), so no line box adds space under it and its foot meets the portrait's */
.leader .btn-row { align-items: center; column-gap: var(--space-6); margin-top: var(--space-6); }   /* View services, then See how I think: the spotlight's pair */

/* ---- Switcher (Palmer's core values) -----------------------------------------------
   A short list of names in display type beside a photo and a text pane. A
   progress tracker runs down the left of the names: one light track from
   the first stop to the last, a stop on each name's center line, and Matt's
   navy line drawn down the track. On its own the line draws steadily from
   each stop to the next; the moment it touches a stop, that name, photo and
   pane take over and the stop fills from empty, and once it's full the
   line draws on. At the last stop the line holds, then rewinds to the first
   in one quick stroke and goes again. A click or tap sends it straight to
   that stop and it carries on from there; hovering a name only darkens it
   (Luke, 2026-10-14). No halo or ring around a stop. The photo is plain,
   with nothing drawn on it (site.js switchers()). */
.switcher {
  --stop: 10px;           /* a stop's diameter */
  --track: 2px;           /* the track and the line */
  --fill: 480ms;          /* a stop filling; the line waits it out (site.js reads it) */
}
.switcher__list { display: flex; flex-direction: column; align-items: flex-start; }
.switcher__list .kicker { margin-bottom: var(--space-5); padding-left: calc(var(--stop) + var(--space-5)); }
.switcher__tabs { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
/* the track runs between the first and last stop centers (site.js sets them) */
.switcher__rail {
  position: absolute;
  top: var(--rail-top, 0px);
  left: calc((var(--stop) - var(--track)) / 2);
  width: var(--track);
  height: var(--rail-h, 0px);
  border-radius: var(--track);
  background: var(--sw-track);
  pointer-events: none;
}
.switcher__fill { position: absolute; inset: 0 0 auto; height: var(--head, 0px); border-radius: inherit; background: var(--sw-line); }
.switcher__item {
  position: relative;
  appearance: none;
  padding: 0.12em 0 0.12em calc(var(--stop) + var(--space-5));
  border: 0;
  background: none;
  font-size: var(--display);
  font-weight: var(--weight-book);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-align: left;
  color: var(--sw-idle);
  cursor: pointer;
  transition: color var(--dur-ui) var(--ease-ui);
}
@media (hover: hover) { .switcher__item:hover { color: var(--sw-hover); } }
.switcher__item.is-active { color: var(--sw-active); cursor: default; }
/* a stop: a hollow ring on the paper. When the line touches it, a navy disc
   grows from a point at its center out over the whole stop, ring and all,
   so the fill plays from empty to full; the ring turns navy under it once
   it's covered. When the line leaves, the ring goes back to grey and the
   disc shrinks back to the center. */
.switcher__stop {
  position: absolute;
  z-index: 1;
  left: 0;
  top: calc(50% - var(--stop) / 2);
  width: var(--stop);
  height: var(--stop);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 var(--track) var(--mist-300);
  transition: box-shadow 160ms var(--ease-ui);
}
.switcher__stop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--navy-800);
  transform: scale(0);
  transition: transform 240ms var(--ease-ui);
}
@media (hover: hover) { .switcher__item:hover .switcher__stop:not(.is-reached) { box-shadow: inset 0 0 0 var(--track) var(--slate-400); } }
.switcher__stop.is-reached { box-shadow: inset 0 0 0 var(--track) var(--navy-800); transition: box-shadow 0s var(--fill); }
.switcher__stop.is-reached::after { transform: scale(1); transition: transform var(--fill) var(--ease-fill); }
@media (prefers-reduced-motion: reduce) { .switcher__stop, .switcher__stop::after { transition: none; } }
.switcher__photos {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--mist-200);
}
.switcher__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  opacity: 0;
  transition: opacity 400ms var(--ease-ui);
}
.switcher__panes { display: grid; max-width: 18rem; }
/* the old pane clears before the new one comes in, so two never sit on top
   of each other; the photos simply crossfade */
.switcher__pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms var(--ease-ui), visibility 0s 160ms;
}
.switcher__photo.is-active { opacity: 1; }
.switcher__pane.is-active { opacity: 1; visibility: visible; transition: opacity 320ms 160ms var(--ease-ui), visibility 0s; }
.switcher__title { font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--text-strong); text-wrap: pretty; }
.switcher__text { margin-top: var(--space-4); color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .switcher__photo, .switcher__pane { transition: none; } }

/* Below desktop the names run in a row (2026-11-16, the mobile build: a
   column of display-size years took 200px before the story began): each
   name sits under its stop, the track runs across over them and the line
   draws left to right. site.js measures along the row (--axis: x). */
@media (max-width: 1023px) {
  .switcher { --axis: x; }
  .switcher__list { align-items: stretch; }
  .switcher__list .kicker { padding-left: 0; }
  .switcher__tabs { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .switcher__item { padding: calc(var(--stop) + var(--space-3)) 0 0; font-size: var(--text-xl); line-height: 1.2; text-align: center; }
  .switcher__stop { left: calc(50% - var(--stop) / 2); top: 0; }
  .switcher__rail { top: calc((var(--stop) - var(--track)) / 2); left: var(--rail-top, 0px); width: var(--rail-h, 0px); height: var(--track); }
  .switcher__fill { inset: 0 auto 0 0; width: var(--head, 0px); height: auto; }
  .switcher__panes { max-width: none; }
}

/* The switcher's colors, so a band can recolor it */
.switcher {
  --sw-track: var(--mist-200);
  --sw-line: var(--navy-800);
  --sw-idle: var(--slate-400);
  --sw-hover: var(--text-second);
  --sw-active: var(--text-strong);
}

/* ---- Team chart (homepage navy band, Luke 2026-10-20) --------------------------
   Option 4 of the ecosystem review, with the professionals from Matt's
   slide in place of the planning areas (the Personal CFO bento keeps
   those). You, a line down to the Q, a line down to a rail, and from the
   rail a line down to each professional: square corners, an org chart's.
   One line for everything (--line-on-dark, 1.5px: the runs, the cards'
   outlines, the Q tile's outline); the cards share one fill and the Q is
   a Q tile (see Logo; Luke, 2026-10-20, after a circle); you are the one
   white card. The cards sit over the lines, so a line never shows
   on a card. Nothing lights or changes on hover (Luke, 2026-10-20). Each
   professional's card has its name, centered, over a line or two about
   the work with them, left-aligned (always shown, after a dropdown
   version; the name a step larger than the text so the two read apart).
   Names start at the card's top, one line or two, with a divider right
   under each name, and each card is its own height, ending with its text
   (Luke, 2026-10-20, picked over a shared name row with every card the
   tallest one's height, and over no divider). site.js teamchart()
   draws the lines. Below desktop, see the phones and tablets block
   further down. */
.teamchart { position: relative; display: flex; flex-direction: column; align-items: center; }
.teamchart__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.teamchart__link path { fill: none; stroke: var(--line-on-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.teamchart__you, .teamchart__hub, .teamchart__leaf { position: relative; }
.teamchart__you {
  width: 12rem;
  padding: 13px;
  border-radius: var(--radius-m);
  background: var(--white);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1.3;
  text-align: center;
  color: var(--text-strong);
}
.teamchart__core { position: relative; margin-top: var(--space-6); }
.teamchart__hub { --q-tile: 6rem; }   /* a Q tile */
/* "Your Personal CFO" with a drawn arrow into the Q's right side (Matt,
   markup 2026-11-03, #14). One smooth stroke, a quarter ellipse: its back
   end rises straight up under the label's middle, it sweeps down and left,
   and its open head lands level with the Q's middle (Luke, 2026-11-04,
   over a short hook that started beside the label). The label sits on
   the tail, centered over it; the arrow's line color and weight. */
.teamchart__note {
  position: absolute;
  top: 50%;
  left: calc(100% + 4px);
  margin: 0;
  color: var(--text-on-dark);
  pointer-events: none;
  transform: translateY(-91.67%);   /* the head's y (44 of 48) on the Q's middle */
}
.teamchart__note span {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 95.6%;                       /* the tail's x (130 of 136) */
  transform: translateX(-50%);
  font-size: var(--text-md);
  font-weight: var(--weight-book);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.teamchart__note svg { display: block; max-width: none; width: 136px; height: 48px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 639px) {
  .teamchart__note span { font-size: var(--text-base); white-space: normal; width: 6.25rem; }   /* two lines, inside the gutter at 375 */
  .teamchart__note svg { width: 72px; height: 25.4px; }
}
@media (max-width: 359px) {
  .teamchart__note svg { width: 48px; height: 16.9px; }   /* the narrowest screens (iPhone Display Zoom, 320): a shorter arrow keeps the label on screen; it ran 11px past the edge and the page slid sideways (2026-12-01) */
}
.teamchart__leaves {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  column-gap: var(--gutter);
  margin-top: 4rem;
}
/* each card its own height: the divider right under its own name, the card ending with its text */
.teamchart__leaf {
  border: 1.5px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  background: var(--card-on-dark);
  color: var(--text-on-dark);
}
.teamchart__name { padding: var(--space-4) var(--space-4) 14px; font-size: var(--text-md); font-weight: var(--weight-medium); line-height: 1.15; text-align: center; text-wrap: wrap; }   /* plain wrap, not the headings' balance: "Realtors and / lenders" (Luke, 2026-10-20) */
.teamchart__name:not(:only-child) { border-bottom: 1.5px solid var(--line-on-dark); }   /* the divider only over text; the six areas are names alone (2026-11-03) */
.teamchart__name:only-child { padding-block: 18px; text-wrap: balance; }   /* "Investments / & Tax", never "Investments & / Tax" */
/* Names alone: one row of cards, each name centered in its card, so a
   name on one line and one on two sit level (2026-11-03). Each card as wide
   as its name, the room left over shared out evenly, so every name keeps to
   one line where the row has room (Matt, round 8 #37, #38: "Compensation &
   Benefits" and "Real Estate & Business" ran to two in equal columns); at
   narrower desktops they wrap as before. */
@media (min-width: 1024px) {
  .teamchart__leaves:not(:has(.teamchart__text)) { grid-template-columns: repeat(6, auto); align-items: stretch; }
  .teamchart__leaf:not(:has(.teamchart__text)) { display: flex; align-items: center; justify-content: center; }
}
.teamchart__text { padding: 14px var(--space-4) 18px; font-size: var(--text-sm); line-height: var(--leading-snug); text-wrap: pretty; }
/* Phones and tablets keep the desktop's fan-out from the Q (Luke,
   2026-11-16: the stacked list down a rail read as a list, not a team;
   he locked Columns over a center spine the same day): the rail under the
   Q drops into two columns of three (three columns of two on tablets),
   each drop running behind its column's cards, so the line shows in the
   gaps between them. site.js teamchart() draws it. */
@media (max-width: 1023px) {
  .teamchart__leaves { grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); align-items: stretch; gap: var(--space-4) var(--space-5); align-self: center; width: 100%; max-width: 40rem; margin-top: 3.5rem; }
  .teamchart__leaf { display: flex; align-items: center; justify-content: center; }
  .teamchart__name:only-child { padding: 14px var(--space-3); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .teamchart__leaves { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); }
}

/* ---- Logo cards (partners and platforms) -------------------------------------------
   Matt's reference, Interlake's "Service Partners & Technology Providers":
   two rows of logo cards sliding opposite ways, logos only. Each card has
   the feature card's outline and white, one fixed width so the rows keep a
   rhythm, and the partner's logo centered, in full color. Logos are sized
   by their shape so they look the same size: each covers about the same
   area, so a long wordmark runs wider and shorter than a compact one (its
   width is --logo-size times the square root of its aspect ratio, --ar on
   the img). Same ticker code and speed as the logo strip and the services
   tags. */
.ticker--logos { height: 88px; --ticker-gap: var(--space-4); }
.ticker__item.logo-card {
  justify-content: center;
  width: 13.5rem;
  padding-inline: var(--space-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--text-strong);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: var(--tracking-heading);
  text-align: center;
  text-wrap: balance;
}
.ticker--logos { --logo-size: 52px; }
.logo-card img { width: calc(var(--logo-size) * sqrt(var(--ar, 4)) * var(--scale, 1)); max-width: 90%; height: auto; }   /* --scale: a by-eye nudge for a logo that reads heavy or light */
/* Phones: smaller cards with less room round the logos (Luke,
   2026-11-16: they read as massive beside the home tags), the logos a
   step smaller with them */
@media (max-width: 639px) {
  .ticker--logos { height: 56px; --logo-size: 36px; --ticker-gap: var(--space-3); }
  .ticker__item.logo-card { width: 8.75rem; padding-inline: var(--space-3); font-size: var(--text-sm); }
}

/* ==== Insights (2026-10-14) ======================================================
   Matt's letters, Quivira Insights. No images: his titles are the hook (call,
   2026-10-06), so the list gives them room. Built for the homepage section
   and insights.html; the letters themselves live on the newsletter platform
   (Beehiiv, most likely) and each row links out to one. */

/* ---- Letter list ------------------------------------------------------------
   Cards three to a row on the shared grid (two below desktop, one on
   phones), a gutter apart, so each letter reads as one thing to click
   (Luke, 2026-10-14; it was open ruled rows). Each card is the link: the
   date small and muted, the title, and "Read newsletter" with the hover
   arrow at the foot, so cards in a row share one height. Hovering darkens
   the outline, as on the feature cards. No set height (Luke, 2026-11-30:
   it was 13rem, which left a one-line title far above Read newsletter):
   the card is its content, the link 32px under the title, and a row still
   lines up on its longest title. */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.post { display: flex; }
.post__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: var(--space-6);
  color: var(--text-strong);
  transition: border-color var(--dur-hover) var(--ease-ui);
}
@media (hover: hover) and (pointer: fine) { .post__link:hover { border-color: var(--rule-strong); } }
.post__date { font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-muted); }   /* proportional figures: tabular ones gave each 1 a zero's width and read wide-tracked (Luke) */
.post__title { margin-top: var(--space-3); font-size: var(--text-lg); font-weight: var(--weight-book); line-height: 1.3; letter-spacing: var(--tracking-heading); text-wrap: pretty; }
.post__more { display: inline-flex; align-items: center; margin-top: auto; padding-top: var(--space-6); font-size: var(--text-sm); font-weight: var(--weight-medium); }
@media (max-width: 1023px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* One or two letters fill the row (shell.js renderLetters sets data-count) */
.posts[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.posts[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) {
  .posts, .posts[data-count] { grid-template-columns: minmax(0, 1fr); }
  .post__link { min-height: 0; padding: var(--space-5); }
}

/* ---- Email signup --------------------------------------------------------------
   The form is the field beside the button (stacked on phones). As a card
   (.signup): a title and a line of text on the left, the form on the right,
   all on one center line; stacked below desktop. On insights.html it opens
   the page, under the intro. On desktop the card takes the page's own
   twelve columns (it spans the frame, so they line up with the grid's): the
   text over 1-6, the form over 7-12, starting on the page's center line like
   the About card's text above it, 48px in from either edge (Luke,
   2026-10-19: the field half the card wide left a gap in the middle; filling
   all of it read too long). */
.signup__form { position: relative; display: flex; gap: var(--space-3); width: 100%; max-width: 30rem; }
.signup__form .input { flex: 1; min-width: 0; }
/* A wrong address: the line under the field (site.js signups). Sent: the
   thank-you in the field and button's place, so the card keeps its size. */
.signup__error { position: absolute; top: calc(100% + var(--space-1)); left: 0; }   /* under the field, in the card's padding, so nothing moves */
.signup__sent { position: absolute; inset: 0; display: flex; align-items: center; color: var(--text-strong); }
.signup__sent:empty { display: none; }
.signup__form.is-sent > :not(.signup__sent) { visibility: hidden; }
.signup { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); align-items: center; gap: var(--space-5) var(--gutter); padding: var(--space-7) 0; }   /* 48px in (Luke, 2026-10-14: back from a round at 32) */
.signup .signup__lead { grid-column: 1 / span 6; margin-left: var(--space-7); }
.signup .signup__form { grid-column: 7 / -1; width: auto; max-width: none; margin-left: var(--space-7); padding-right: var(--space-7); }   /* 48px past the center line, as the text sits 48px in from the left (Luke, 2026-10-19: from the center line the field ran long) */
/* The left side (Luke, 2026-10-19): a send icon (a paper plane, the site's
   line style) and the Quivira Insights lockup side by side in one ruled
   box, and beside it the title on one line with a plain line under it.
   The box has its own height, 64px (at the field's 48 it read cramped),
   16px in from either side, about what's above and below. The lockup is
   the main thing, at the nav logo's 30px; the plane is smaller, 22px of
   ink (its 16-unit icon draws 13.05 units tall with the stroke, so the svg
   is 22 / 0.816, trimmed of its side margin), with a 1.75px line; 12px
   between the two. The lockup (assets/logo/quivira-insights.svg) is the
   brand logo with INSIGHTS for ADVISORS, the same letters spread to
   QUIVIRA's exact width (Luke's final logo file, 2026-10-23). Its box is
   sized up front so nothing moves when the logo is put in. Phones
   stack the box over the title. */
.signup__lead { display: flex; align-items: center; gap: var(--space-4); }
.signup__icon { flex: none; display: flex; align-items: center; gap: var(--space-3); height: 4rem; padding-inline: var(--space-4); border: 1px solid var(--rule-strong); border-radius: var(--radius-s); color: var(--navy-700); }
.signup__icon > svg { --s: calc(1.375rem / 0.816); flex: none; width: var(--s); height: var(--s); margin-inline: calc(var(--s) * -0.069); translate: 0 calc(var(--s) * 0.0234); stroke-width: calc(1.75 * 16 / 26.96); }
.signup__logo { flex: none; height: var(--logo-h); aspect-ratio: 440.801 / 123.784; color: inherit; }
.signup__title { font-size: var(--text-md); font-weight: var(--weight-medium); line-height: 1.2; color: var(--text-strong); }   /* a label, a clear step under the headings around it */
.signup__text { margin-top: 2px; line-height: var(--leading-snug); color: var(--text-muted); }
@media (max-width: 1023px) {
  .signup { grid-template-columns: minmax(0, 1fr); padding-inline: var(--space-7); }
  .signup .signup__lead, .signup .signup__form { grid-column: 1 / -1; margin-left: 0; padding-right: 0; }
  .signup .signup__form { max-width: 30rem; }
}
@media (max-width: 639px) {
  .signup { padding: var(--space-5); }
  .signup__lead { flex-direction: column; align-items: flex-start; }
  .signup__form { flex-direction: column; }
  .signup__form .input { flex: none; }   /* stacked, it keeps its 48px instead of growing along the column */
  .signup__form .btn { align-self: flex-start; order: 3; }   /* its own width, like every other button (the contact form's Send note) */
  .signup__error { position: static; order: 2; margin-top: calc(var(--space-1) - var(--space-3)); }   /* stacked: under the field, over the button */
}

/* ---- Topic request ---------------------------------------------------------------
   Matt's idea (markup 2026-11-12, #6): "Want our Insights on a specific
   topic? Let us know here." and a very short form. A second .signup card
   beside the first, so the two read as a pair: the same lead (a pencil
   in the ruled box, square since it stands alone), and under it one
   button, "Let us know here". The button opens the form in a window
   (.modal, "Window" below; site.js topics()): first and last name, email,
   the topic, built from the Get in touch form's own parts and checked the
   same way (contactForm()). Luke, 2026-11-30: the card used to open in
   place, which stretched the newsletter card beside it, moved the title
   and floated an X; the card now never changes size.
   Side by side on desktop (Luke's pick, 2026-11-13, over stacked cards and
   an even split: stacked, the pair took 340px; side by side about 235).
   The two cards sit in .signups on the page's twelve columns: the
   newsletter over 1-7 with its email field under the lead in place of
   beside it, the request over 8-12. Each card's two rows are the pair's own
   (subgrid), so the field and the button share a line. Below 1024px the
   cards stack, each as it was. */
.signup__icon--solo { justify-content: center; width: 4rem; padding-inline: 0; }
.topic { margin-top: var(--gutter); }
.signups > .signup { padding-block: var(--space-6); }   /* stacked too: 32 above and below, was 48 (Matt, round 11 #63) */
.topic .topic__open { grid-column: 7 / -1; justify-self: start; margin-inline: var(--space-7); }
.topic__form { position: relative; }
.topic__form .contact-form__fields { margin-top: 0; }
.topic__form .contact-form__fields textarea.input { height: 4.5rem; }   /* two lines */
.topic__form.is-sent > :not(.contact-form__sent) { visibility: hidden; }   /* the thank-you takes the form's place; the window keeps its size */
.topic__form .contact-form__sent { position: absolute; }   /* at every width: on phones the message form's thank-you joins the flow (below), which left this one under a form-sized blank */
@media (max-width: 1023px) {
  .topic .topic__open { grid-column: 1 / -1; margin-inline: 0; }
}
@media (min-width: 1024px) {
  .signups { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--gutter); row-gap: var(--space-4); margin-top: var(--space-8); }   /* 16 between a card's rows, was 24 (Matt, round 11 #63) */
  .signups > .signup { grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; align-items: center; margin-top: 0; padding: var(--space-6); }   /* 32 in, was 48: Matt wanted the pair slimmer so they don't take from the letters (round 11 #63) */
  .signups > .intro__signup { grid-column: span 7; }
  .signups > .topic { grid-column: span 5; }
  .signups > .signup > * { grid-column: 1 / -1; margin-inline: 0; }
  .signups .signup__form { max-width: none; padding-right: 0; }
  .signups :is(.signup__form, .topic__open) { align-self: start; }
}

/* ---- Still have questions -----------------------------------------------------
   Beside every FAQ, under its heading (site.js renderAsk(), the same on every
   page; Luke, 2026-10-19): "Still have questions?" in the lede's style,
   Book an intro call, and under the button Matt's number the way Get in
   touch has it ("Or call/text"), 24px apart like there. */
.ask { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); margin-top: var(--space-4); }
.ask__line { font-size: var(--text-md); font-weight: var(--weight-book); color: var(--text-second); }

/* ==== Spotlight ===============================================================
   The homepage About (Luke, 2026-10-14), after Stripe's "Book of the week":
   one card on the grid's own columns (subgrid). Left, over columns 1-5, a
   matte with his portrait on it, the way Stripe sets the book cover on its
   color. On desktop the portrait fills the matte but for an even 48px all
   round, at 4:5 (Luke, 2026-10-14: larger; it was three columns at 2:3);
   stacked, it is 4:5 too. The matte is Matt's navy (Luke locked it over a
   silver gray, 2026-10-14). For now his
   headshot from his current site, until he sends a new one. Right, from column 7, his name in ink over his title in
   the second tone, a paragraph, then the text links (his values moved to
   their own band under it, 2026-10-19). Both halves share one center line.
   Below desktop the navy goes on top and the text keeps to columns 2-7. */
.spotlight {
  display: grid;
  grid-template-columns: subgrid;
  overflow: hidden;
}
.spotlight__media {
  grid-column: 1 / span 5;
  display: grid;
  grid-template-columns: subgrid;
  align-content: center;
  padding: var(--space-7);
  background: var(--band-dark);
}
.spotlight__photo {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--navy-700);
}
.spotlight__photo > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.spotlight__photo > span { font-size: var(--text-sm); color: var(--text-on-dark-second); }
.spotlight__body {
  grid-column: 7 / span 5;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: var(--space-8);
}
.spotlight__name { font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--text-second); text-wrap: pretty; }
.spotlight__name > span { display: block; }
.spotlight__name .ink { color: var(--text-strong); }
.spotlight__text { margin-top: var(--space-5); color: var(--text-muted); }
/* Under the paragraph, the links in two steps: Learn more as the secondary
   button, See how I think as a text link beside it. Then Matt's LinkedIn:
   its logo in the icons' navy and "Connect on LinkedIn" at body size in the
   link color. On desktop it sits at the section's foot, level with the foot
   of his portrait: the text half stretches to the portrait's top and foot
   (the matte's 48px), the name, paragraph and buttons stay on the shared
   center line between two equal rows, and the link sits at the bottom of the
   last (Luke, 2026-10-19, picked from under his title, under the paragraph
   and under the buttons). Stacked, it follows the buttons. */
.social-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--link); transition: color var(--dur-hover) var(--ease-hover); }   /* shared with the About page's founder row (Matt, markup 2026-10-23) */
.social-link > svg { flex: none; width: 20px; height: 20px; fill: var(--navy-700); }
.social-link__label { display: inline-flex; align-items: center; gap: 4px; }   /* the words and the off-site arrow, as in the footer */
.social-link:hover { color: var(--link-hover); }
.spotlight__social { margin-top: var(--space-5); }
.spotlight__ctas { align-items: center; column-gap: var(--space-6); margin-top: var(--space-6); }
@media (min-width: 1024px) {
  .spotlight__body { align-self: stretch; display: grid; grid-template-rows: 1fr auto auto auto 1fr; justify-items: start; padding-block: var(--space-7); }
  .spotlight__name { grid-row: 2; }
  .spotlight__text { grid-row: 3; }
  .spotlight__ctas { grid-row: 4; }
  .spotlight__social { grid-row: 5; align-self: end; margin-top: 0; }
}
@media (max-width: 1023px) {
  .spotlight__media { grid-column: 1 / -1; padding-block: var(--space-7); }
  .spotlight__photo { grid-column: 3 / span 4; aspect-ratio: 4 / 5; }
  .spotlight__body { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; justify-items: start; padding-block: var(--space-7); }
  .spotlight__body > * { grid-column: 2 / span 6; }
}
/* Tablets from 768px: the navy and the text side by side, half and half
   (2026-11-16, the mobile build: stacked, the card ran 950px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .spotlight__media { grid-column: 1 / span 4; padding: var(--space-6); }
  .spotlight__photo { grid-column: 1 / -1; }
  .spotlight__body { grid-column: 5 / -1; display: flex; align-self: center; padding: var(--space-7) var(--space-6); }
}
@media (max-width: 639px) {
  .spotlight__media { padding: var(--space-6); }
  .spotlight__photo { grid-column: 1 / -1; }
  .spotlight__body { display: flex; padding: var(--space-6) var(--space-5); }
}

/* ==== Core values band ========================================================
   Matt's four values at the same weight (Matt, markup and call 2026-10-16:
   they're all equally important, so no order, no autoplay, nothing to
   click), on his navy (.band-dark) under the homepage About and after Our
   story on About. A small eyebrow, then one card on the grid's own columns
   cut into four equal cells. Each cell: a line icon in a ruled square
   beside the value's name and Matt's line, the square exactly as tall as
   the name's capitals down to the line's last baseline (both trimmed to
   those with text-box).
   Luke, 2026-10-19: picked over plain, icons on the name's line and a photo
   band, then simplified. One line color for the card, the rules between the
   cells and the squares: the hub map's --line-on-dark (3.2:1 on the navy;
   the 14% white it had was 1.5:1 and read faint). Two text tones: white
   names and the lines in the second tone. Then (same day) more contrast:
   the lines a step smaller than the name (14 to its 21) and set tighter
   (1.3), so the space inside a line (8px from a baseline to the next
   capitals) reads closer than the 12px from the name to it. Four across
   from 1200px, where every line takes two rows; two by two under that (at
   most 12em wide, so a line still takes two rows in the wider cells), one
   column on phones. */
.values-band {
  --values-leading: 1.3;
  --values-icon: calc(var(--text-lg) * 0.684 + var(--space-3) + var(--text-sm) * (var(--values-leading) + 0.684));   /* the name's cap height (Inter Tight at its 94% size-adjust: 0.684em), the gap, then a line and a cap height of the 14px text */
}
.values-band__frame { padding-block: var(--intro-y); }
.values-band__title { grid-column: 1 / -1; }
/* Our Mission over the values (Matt, markup 2026-10-23: the mission from his
   current homepage; Luke: in this band, eyebrow then statement, like the
   values). Luke, 2026-10-26: at the section headings' 32px over eight
   columns it read as random and broke early; now at the hero's display size
   in white across the whole grid, its two lines balanced (picked over a
   Charter and a two-tone version), and the values' eyebrow a section's step
   (64px) under it. */
.values-band__mission { grid-column: 1 / -1; margin-top: var(--space-5); font-size: var(--display); font-weight: var(--weight-book); line-height: var(--leading-display); letter-spacing: var(--tracking-display); color: var(--text-on-dark); text-wrap: balance; text-box: trim-both cap alphabetic; }
.values-band__title--values { margin-top: var(--space-8); }
.values-band__list { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; column-gap: 0; margin-top: var(--space-5); overflow: hidden; background: transparent; border-color: var(--line-on-dark); }
.values-band__item { grid-column: span 3; display: grid; grid-template-columns: var(--values-icon) minmax(0, 1fr); align-items: start; column-gap: var(--space-4); padding: var(--space-6); }
.values-band__item + .values-band__item { border-left: 1px solid var(--line-on-dark); }
.values-band__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: var(--values-icon); height: var(--values-icon); border: 1px solid var(--line-on-dark); border-radius: var(--radius-s); color: var(--text-on-dark); }
.values-band__icon svg { width: 24px; height: 24px; }
.values-band__name { font-size: var(--text-lg); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--text-on-dark); text-box: trim-both cap alphabetic; }
.values-band__line { grid-column: 2; max-width: 12em; margin-top: var(--space-3); font-size: var(--text-sm); line-height: var(--values-leading); color: var(--text-on-dark-second); text-wrap: pretty; text-box: trim-both cap alphabetic; }
@media (max-width: 1199px) {
  .values-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-band__item { grid-column: auto; }
  .values-band__item:nth-child(odd) { border-left: 0; }
  .values-band__item:nth-child(n + 3) { border-top: 1px solid var(--line-on-dark); }
}
@media (max-width: 639px) {
  .values-band__list { grid-template-columns: minmax(0, 1fr); }
  .values-band__item { padding: var(--space-5); }
  .values-band__item + .values-band__item { border-left: 0; border-top: 1px solid var(--line-on-dark); }
}

/* ==== Profiles ================================================================
   Who we serve (homepage). Matt's three profiles as tabs in one card on the
   grid's own columns, ruled like the rest of the site (Luke, 2026-10-14: the
   loose tabs and photo read as another site's section; same layout, the
   site's own parts). The card drops the gutter (column-gap 0), so its rules
   sit on the gutters' centers and everything in it lines up with them. Along
   the top, a cell per profile over four columns, ruled apart and ruled off
   underneath: the name at --text-xl with its one line under it, the open one
   in ink, the others light grey; hover darkens a name. No navy foot or line
   (Luke, 2026-10-14). Under them the open profile's picture fills columns 1-8 to the card's
   edges (16:9), its right edge on the rule between the second and third tabs,
   and beside it, padded like the tabs so it starts under the third name and
   centered, the questions they bring as ruled rows and the Personal CFO link.
   It opens on the first and turns to the next every 7s on its own while
   it's on screen, until the visitor clicks or taps a tab (Matt, round 8
   #33; site.js profiles() has the rules); hovering a tab doesn't switch it. The picture and the text both clear first (160ms) and the
   new ones fade in after (320ms), so two never sit on top of each other.
   The picture is a line drawing (Matt, markup 2026-11-12 #28;
   redrawn from scratch 2026-11-13, Website/tools/who_art): navy on the
   pale panel (Luke, 2026-11-13: light for now; white on navy also works),
   one ink and one line weight that scales with the drawing, round caps
   and joins. Lines, shapes filled with the panel's own color
   (--art-bg, so a thing in front hides the thing behind) and solid ink for
   the focus. Each is a 480 by 270 scene with everything that matters
   inside the middle 3:2, which is what a phone shows. Locked by Luke
   (2026-11-13); the stock photos they replaced are gone from the markup.
   site.js profiles(). Tablet: the tabs keep their row of three, the photo
   runs the card's width with the questions under it. Phone: the tabs stack. */
.profiles {
  display: grid;
  grid-template-columns: subgrid;
  column-gap: 0;
  overflow: hidden;
}
.profiles__tabs { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--rule); }
.profiles__tab {
  position: relative;
  grid-column: span 4;
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-7);
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.profiles__tab + .profiles__tab { border-left: 1px solid var(--rule); }
.profiles__tab:focus-visible { outline-offset: -4px; }   /* inside the cell: the card clips anything outside */
.profiles__name { font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--slate-550); transition: color var(--dur-ui) var(--ease-ui); }   /* was slate-400, 2.4:1; AA needs 4.5 (2026-11-30 audit) */
.profiles__tab.is-active .profiles__name { color: var(--text-strong); }
.profiles--two-line .profiles__name { width: min-content; }   /* a word a line: every name is two words (site.js profiles(): set once any name wraps) */
@media (hover: hover) { .profiles__tab:not(.is-active):hover .profiles__name { color: var(--slate-700); } }
.profiles__photos { --art-bg: var(--mist-100); position: relative; grid-column: 1 / span 8; display: grid; aspect-ratio: 16 / 9; overflow: hidden; background: var(--art-bg); color: var(--navy-800); }
/* The picture swaps like the text: the old one clears (160ms), then the
   new one fades in (320ms), never the two at once (Luke, 2026-11-16: the
   crossfade overlaid two scenes whose lines sit at different heights, so
   the picture seemed to shift). Each picture keeps its own layer the whole
   time (will-change), so Safari never moves it between the page and a
   layer mid-fade and redraws it a pixel off: the drawings sit half a
   pixel off the grid. */
/* Each picture is pinned to the frame (inset 0), not a grid cell: on a
   phone held upright the frame's height comes only from its aspect-ratio,
   and older iPhone Safari leaves a grid row in such a box at 0px, so the
   drawing (100% of it) vanished; sideways the tablet rule gives the
   drawing its own height (Matt, round 11 #16). */
.profiles__photo { position: absolute; inset: 0; opacity: 0; transition: opacity 160ms var(--ease-ui); will-change: opacity; }
.profiles__photo.is-active { opacity: 1; transition: opacity 320ms var(--ease-ui) 160ms; }
.profiles__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--art-bg);
  stroke: currentColor;
  stroke-width: 1.25;   /* in the drawing's 480 by 270 units: about 2.1px at desktop */
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profiles__panes { grid-column: 9 / -1; align-self: center; display: grid; padding: var(--space-6) var(--space-7); }
.profiles__pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 160ms var(--ease-ui), visibility 0s linear 160ms; }
.profiles__pane.is-active { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease-ui) 160ms, visibility 0s linear 160ms; }
.profiles__desc { font-size: var(--text-base); line-height: var(--leading-body); color: var(--text-second); }   /* who the profile is, above its questions (Matt, round 9 #42 to #44) */
.profiles__desc + .profiles__label { margin-top: var(--space-5); }
.profiles__label { font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-muted); }
.profiles__asks { margin-top: var(--space-4); border-bottom: 1px solid var(--rule); }
.profiles__asks li { padding-block: var(--space-3); border-top: 1px solid var(--rule); line-height: var(--leading-snug); color: var(--text-strong); }
.profiles__pane .btn { margin-top: var(--space-6); }   /* a secondary button (Luke, 2026-10-20; was a text link) */
/* Tablet: the tabs keep their row of three; under them the picture and
   the questions share the card half and half, as on desktop (2026-11-16,
   the mobile build: stacked, the picture alone ran 420px tall). The panel
   is as tall as the questions, the drawing whole on its middle line. */
@media (max-width: 1023px) {
  .profiles__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profiles__tab { grid-column: auto; padding: var(--space-5) var(--space-6); }
  .profiles__photos { grid-column: 1 / span 4; aspect-ratio: auto; min-height: 15rem; }
  .profiles__art { inset: 50% 0 auto; height: auto; aspect-ratio: 480 / 270; translate: 0 -50%; }
  .profiles__panes { grid-column: 5 / -1; padding: var(--space-6); }
}
@media (max-width: 639px) {
  .profiles__tabs { grid-template-columns: minmax(0, 1fr); }
  .profiles__tab { padding: var(--space-4) var(--space-5); }
  .profiles__tab + .profiles__tab { border-left: 0; border-top: 1px solid var(--rule); }
  .profiles__name { font-size: var(--text-lg); }
  .profiles__photos, .profiles__panes { grid-column: 1 / -1; }
  .profiles__photos { aspect-ratio: 3 / 2; min-height: 0; }
  .profiles__art { inset: 0; height: 100%; aspect-ratio: auto; translate: none; }
  .profiles__panes { padding: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .profiles__photo, .profiles__pane, .profiles__pane.is-active { transition: none; }
}

/* ==== Form fields =============================================================
   One set of fields for every form on the site (the Insights signup, the Get
   in touch note). .input is the button's 48px height and 4px corners, a white
   fill and the strong rule; the rule darkens on hover, and focus shows the
   site's ring. In a .field the label sits above it in ink (never placeholder
   text standing in for one), a muted star after it if it's required.
   An error is one line under the field, and the field's rule turns with it. */
.input {
  height: 48px;
  padding-inline: var(--space-4);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  font: inherit;
  font-size: var(--text-base);
  color: var(--text-strong);
  transition: border-color var(--dur-ui) var(--ease-ui);
}
.input::placeholder { color: var(--text-muted); opacity: 1; }
@media (hover: hover) { .input:hover { border-color: var(--slate-400); } }
.input:focus-visible { outline-offset: 2px; border-color: var(--slate-400); }
/* iOS zooms the page into any field set under 16px when it's focused, and
   leaves it zoomed; on touch screens fields take 16px (from 15.4) */
@media (pointer: coarse) { .input { font-size: max(1rem, var(--text-base)); } }
textarea.input { display: block; height: auto; min-height: 7.5rem; padding-block: var(--space-3); line-height: var(--leading-body); resize: none; }
.input[aria-invalid="true"] { border-color: var(--error); }
.field { display: grid; align-content: start; gap: var(--space-2); min-width: 0; }
.field .input { width: 100%; scroll-margin-top: calc(var(--nav-h) + var(--space-7)); }   /* focused from an error, it lands clear of the sticky nav with its label in view */
.field__label { font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-strong); }
.field__req { margin-left: 0.15em; color: var(--text-muted); }   /* a required field's star; the form says what it means */
.field__error { font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--error); }

/* ==== Get in touch ==============================================================
   The closing section on every page (Luke picked the split card, 2026-10-14),
   written by site.js renderContact() into <section data-contact>. No heading
   (Luke, 2026-10-19: the section is the card alone; it's named "Get in touch"
   for screen readers), just one card on the grid's own columns, built
   like the homepage spotlight: Matt's navy over columns 1-4, the form over
   5-12 (Luke, 2026-10-14: the navy was half the card and mostly empty). The
   halves start level: the two titles on one line. The form keeps its three
   rows; the navy flows on its own (Luke, 2026-12-01), Schedule a Call 32
   under Matt's line, then Or, Call/Text and Email.
   "* Required fields" sits beside Send message. Below desktop the navy goes
   on top. */
.contact__frame { padding-block: var(--section-y); }
.contact-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.contact-card__side,
.contact-form {
  grid-row: 1 / -1;
  display: grid;
  grid-template-rows: subgrid;
  justify-items: start;
  padding-block: var(--space-7);
}
.contact-card__side { grid-column: 1 / span 4; padding-inline: var(--space-7); background: var(--band-dark); color: var(--text-on-dark); }
/* The navy flows on its own (Luke, 2026-12-01): Schedule a Call follows
   Matt's line, 32 under it, no longer held level with Send message, which
   left a gap over the button once Or, Call/Text and Email went under it */
.contact-card__side { display: flex; flex-direction: column; align-items: flex-start; }
.contact-form { position: relative; grid-column: 5 / -1; padding-inline: var(--space-7); }
/* Row 1: the two titles */
.contact-card__title, .contact-form__title { font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); }
.contact-form__title { color: var(--text-strong); }
/* Row 2: Matt, his line right under him (the button stays at the bottom);
   the fields. Under the title the navy holds two text styles, both body
   size (Luke, 2026-10-14: too many styles, some too big): his name at 500
   in white, like the button; his title and the line in the navy's second
   tone at 400, the site's body text. */
.contact-card__body { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-5); }
.contact-card__person { display: flex; align-items: center; gap: var(--space-4); }
.contact-card__photo { flex: none; width: 56px; height: 56px; border-radius: var(--radius-m); object-fit: cover; object-position: 50% 22%; background: var(--navy-700); }
.contact-card__name { font-weight: var(--weight-bold); line-height: var(--leading-snug); }   /* bold, like his number under the button (Matt, round 10 #37) */
.contact-card__role { line-height: var(--leading-snug); color: var(--text-on-dark-second); }
.contact-card__text { max-width: 22rem; color: var(--text-on-dark-second); }
.contact-form__fields { justify-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.contact-form__fields .field--wide { grid-column: 1 / -1; }
.contact-form__fields textarea.input { height: 6.5rem; min-height: 0; }   /* three lines across the full width */
@media (min-width: 768px) { .contact-form__fields textarea.input { height: 9.5rem; } }   /* five lines beside the navy, two more than the stacked card's three, on the 8px steps (Luke, 2026-12-01) */
/* Row 3: the two buttons, level across the card. Under Book an intro call,
   Matt's number on the navy, "Or call/text" (Luke, 2026-10-19: back on this
   side); beside Send message, what the stars mean (or, live, why a message
   didn't go) */
.contact-card__actions, .contact-form__actions { align-self: start; margin-top: var(--space-5); }
.contact-card__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); margin-top: var(--space-6); }   /* 32 under Matt's line */
.contact-card__actions :is(.call-or-text > span, .reach__or) { color: var(--text-on-dark-second); }
.contact-card__actions .call-or-text > a { font-weight: var(--weight-bold); color: var(--text-on-dark); }   /* Matt, round 10 #36 */
.contact-card__actions .call-or-text > a:hover { color: var(--text-on-dark-second); }
.contact-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.contact-form__note { font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-muted); }
.contact-form__note.is-error { color: var(--error); }
.contact-form__note a { color: var(--text-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
/* A hidden field only a bot fills in */
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Sent: the form gives way to one thank-you on its center line. On desktop
   the fields keep their room (hidden, not removed), so the card doesn't
   change size; stacked, they go and the card gets shorter. */
.contact-form__sent { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: inherit; }
.contact-form__sent h3 { font-size: var(--text-xl); font-weight: var(--weight-book); line-height: 1.2; letter-spacing: var(--tracking-heading); color: var(--text-strong); }
.contact-form__sent h3:focus { outline: none; }
.contact-form__sent p { max-width: 26rem; margin-top: var(--space-3); color: var(--text-muted); }
.contact-form.is-sent > :not(.contact-form__sent) { visibility: hidden; }
.contact-form__sent[hidden] { display: none; }
/* Small laptops (1024-1199): the navy takes five columns, so its title and
   Matt's title hold one line each (at four they broke in two, 2026-11-16) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .contact-card__side { grid-column: 1 / span 5; }
  .contact-form { grid-column: 6 / -1; }
}
/* Tablets from 768px keep the desktop's two halves side by side, Matt's
   navy and the form half and half, padded 32; under that the navy goes on
   top (2026-11-16, the mobile build: stacked on an iPad, the navy's right
   half sat empty) */
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-card__side, .contact-form { padding: var(--space-6); }
  .contact-form__fields > .field:nth-child(n + 3) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .contact-card { grid-template-rows: none; }
  .contact-card__side, .contact-form { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-6); }
  .contact-card__body { align-self: stretch; }
  .contact-form__fields { align-self: stretch; }
  .contact-form.is-sent > :not(.contact-form__sent) { display: none; }   /* stacked, the card just gets shorter: no tall blank box */
  .contact-form__sent { position: static; padding: 0; }
}
/* Phones: first and last name share a row, everything after takes the
   whole width (2026-11-16, the mobile build: one field a row ran the form
   past a screen) */
@media (max-width: 639px) {
  .contact-card__side, .contact-form { padding: var(--space-6) var(--space-5); }
  .contact-form__fields { gap: var(--space-3); }
  .contact-form__fields > .field:nth-child(n + 3) { grid-column: 1 / -1; }
  /* Clear steps on a phone (Luke, 2026-11-16: everything near one size
     and close together read as condensed): the two titles at the section
     heading's size, 32px under them; Matt's name and title a byline, a
     step under the text; the button 32px under the text */
  .contact-card__title, .contact-form__title { font-size: var(--text-2xl); }
  .contact-card__body, .contact-form__fields { margin-top: var(--space-6); }
  .contact-card__role { font-size: var(--text-sm); }
  .contact-card__actions { margin-top: var(--space-6); }
}

/* ==== Window =================================================================
   A dialog over the page (<dialog class="modal">, opened with showModal()):
   a bar with the title and the close button, then the body. The title sits
   on the body's left edge and the X's glyph on its right edge, both 24px in
   (the button is 40px with a 16px glyph, so its own edge sits 12px in). It
   fades up 8px as it opens and back as it closes; Escape, the X or a click
   outside it closes it, and focus goes back to the button that opened it.
   Used by the topic request (Insights) and the booking window. */
.modal {
  width: min(36rem, 100% - 2 * var(--space-4));
  max-width: none;
  max-height: calc(100dvh - 2 * var(--space-4));
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 180ms var(--ease-ui), translate 180ms var(--ease-ui), overlay 180ms allow-discrete, display 180ms allow-discrete;
}
.modal[open] { display: flex; flex-direction: column; opacity: 1; translate: 0 0; }
@starting-style { .modal[open] { opacity: 0; translate: 0 8px; } }
.modal::backdrop { background: transparent; transition: background-color 180ms var(--ease-ui), overlay 180ms allow-discrete, display 180ms allow-discrete; }
.modal[open]::backdrop { background: var(--backdrop); }
@starting-style { .modal[open]::backdrop { background: transparent; } }
:root:has(.modal[open]) { overflow: hidden; }   /* the page holds still behind it */
.modal__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5); border-bottom: 1px solid var(--rule); }
.modal__title { font-size: var(--text-md); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-strong); }
.modal__body { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; padding: var(--space-5); }   /* basis auto: with flex: 1 (a 0% basis) Safari shrank the body to its padding in a window of no set height, so only the bar showed (iPhone, 2026-11-30) */
@media (prefers-reduced-motion: reduce) {
  .modal, .modal::backdrop { transition: none; translate: none; }
}

/* Booking window, held in reserve (site.js BOOKING_WINDOW is off: Book an
   intro call links out to Calendly). When on: Matt's Calendly in a large
   window, opened by any [data-book] link on a wide screen. */
.booking { width: min(1000px, 100% - 2 * var(--page-margin)); height: min(760px, 100dvh - 2 * var(--space-6)); max-height: none; }
.booking .modal__body { padding: 0; overflow: hidden; }
.booking .modal__body p { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--text-sm); color: var(--text-muted); }
.booking__frame { position: relative; display: block; width: 100%; height: 100%; border: 0; }
