/* Map My Lineage: a private archive. Fewer things, each done better.
   Contrast, measured: ink on paper 14.0:1, ink on deep paper 12.5:1, brass text on paper 5.5:1 and on deep paper
   4.9:1, paper on night 15.9:1, mist on night 12.0:1, paper on ink buttons 14.0:1. Brass (#8A6A2F, 4.4:1) is for
   ornaments and large text only. Mist is a hairline colour; anything a person must see uses ink or brass text. */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/newsreader-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
/* Fallback faces, metric-matched to the webfonts, so font-display: swap does not shift the layout.
   size-adjust is from measuring a full alphabet against Newsreader 500 and Inter 400.
   Times-like locals (Liberation Serif, Nimbus Roman, Georgia) are what CI Ubuntu and most desktops use as serif. */
@font-face { font-family: 'Newsreader Fallback'; src: local('Liberation Serif'), local('Nimbus Roman'),
  local('Georgia'), local('Times New Roman'), local('Times'); size-adjust: 107.5%; }
@font-face { font-family: 'Inter Fallback'; src: local('Liberation Sans'), local('Nimbus Sans'),
  local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 104.3%; }

:root {
  --paper: #F5F0E6;
  --deep: #EAE3D3;
  --ink: #1B2230;
  --ink-2: #4A4F5C;
  --night: #0E121B;            /* the Lovable site's dark blue, hsl(222 30% 8%) */
  --night-card: #171C26;
  --brass: #8A6A2F;
  --brass-text: #7A5C25;
  --mist: #D8D2C2;
  --edge: #7D8190;              /* form fields and controls: 3:1 or more on paper */
  --serif: 'Newsreader', 'Newsreader Fallback', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --band: clamp(72px, 11vw, 168px);
  --t1: 200ms; --t2: 400ms; --t3: 800ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 76px;
  color-scheme: light;
}
@media (max-width: 479px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--paper); font: 400 1.125rem/1.65 var(--sans);
  /* paper grain, about 4% */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; max-width: 65ch; }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.015em; }
h3, .h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.6rem); line-height: 1.2; letter-spacing: -.005em; }
.display { font-size: clamp(2.4rem, 5vw, 4rem); }
strong { font-weight: 600; }
.lede { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); line-height: 1.6; }
.note, .small { font-size: .95rem; color: var(--ink-2); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow.center { margin-inline: auto; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 .95rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 1.2em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; margin-left: .35em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- bands */
.band { padding-block: var(--band); }
.band.compact { padding-block: clamp(56px, 7vw, 96px); }
.deep { background: linear-gradient(180deg, rgba(238, 232, 218, .9) 0%, rgba(232, 224, 207, .95) 100%); }
.night { background: radial-gradient(120% 80% at 15% 0%, rgba(201, 164, 92, .08) 0%, rgba(201, 164, 92, 0) 55%), linear-gradient(180deg, #0E121B 0%, #131A27 100%); color: var(--paper); }
.night h2, .night h3, .night a { color: var(--paper); }
.night .eyebrow { color: #C9A45C; }                   /* 7.7:1 on night */
.night .lede, .night p { color: var(--mist); }
.night :focus-visible { outline-color: var(--paper); }
.intro-block { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- buttons: one primary per screen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 1.5em;
  font: 600 1rem/1 var(--sans); text-decoration: none; border-radius: 2px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--t1), color var(--t1), border-color var(--t1); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: #2C3446; color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--edge); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 1.8em; font-size: 1.05rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.night .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.textlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.textlink:hover { border-bottom-width: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 32px 0; }

/* ---------------------------------------------------------------- header */
.skip { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: .7em 1em; }
.skip:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header); background: transparent; border-bottom: 1px solid transparent;
  transition: background-color var(--t1), border-color var(--t1); }
.site-header.is-scrolled, .page-simple .site-header, .no-js .site-header { background: var(--paper); border-bottom-color: var(--mist); }
.header-in { display: flex; align-items: center; gap: 20px; height: 100%; }
.wordmark { font: 500 1.5rem/1 var(--serif); letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; margin: 0; display: inline-flex; align-items: center; min-height: 44px; }
.nav { margin-left: auto; }
.nav-links { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .75em; text-decoration: none; font-size: 1.06rem; }
.nav-links a:hover { text-decoration: underline; }
.header-cta { min-height: 46px; padding: 0 1.2em; font-size: 1rem; }
.cta-short { display: none; }
.menu-btn { min-height: 44px; padding: 0 .9em; background: transparent; border: 1.5px solid var(--edge); border-radius: 2px; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.menu-sheet { position: fixed; inset: var(--header) 0 0 0; background: var(--paper); padding: 24px var(--gutter); display: flex; flex-direction: column; z-index: 59; }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet li a { display: flex; align-items: center; min-height: 56px; font: 500 1.6rem var(--serif); text-decoration: none; border-bottom: 1px solid var(--mist); }
.menu-cta { margin-top: auto; width: 100%; }
@media (max-width: 899px) {
  .js .nav { display: none; }
  .js .header-cta { margin-left: auto; }
  .no-js .nav-links { overflow-x: auto; }
}
@media (max-width: 899px) and (min-width: 0) { .js .menu-btn { display: inline-flex; align-items: center; } }
@media (min-width: 900px) { .menu-btn, .menu-sheet { display: none !important; } }
@media (max-width: 479px) { .cta-long { display: none; } .cta-short { display: inline; } .wordmark { font-size: 1.3rem; } .header-in { gap: 10px; } }
@media (max-width: 359px) { .wordmark { font-size: 1.15rem; } .header-in { gap: 8px; } .header-cta, .menu-btn { padding: 0 .75em; } }
@media (max-width: 899px) { .no-js .header-in { flex-wrap: wrap; height: auto; } .no-js .site-header { height: auto; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 980px); background: var(--paper) url(/assets/img/paper-texture-1600.webp) center / cover no-repeat; margin-top: calc(-1 * var(--header)); padding: calc(var(--header) + clamp(40px, 7vw, 110px)) 0 clamp(56px, 8vw, 120px); }
.hero > .wrap { width: 100%; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art .topo path { fill: none; stroke: var(--brass); stroke-width: 1.25; opacity: .2; }
/* the contours live round the edges and fade out before they reach the words */
.hero-art { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 42%, transparent 82%, #000 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 42%, transparent 82%, #000 100%); }
@media (min-width: 1100px) {
  .hero-art { -webkit-mask-image: radial-gradient(ellipse 34% 46% at 64% 50%, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 34% 46% at 64% 50%, transparent 55%, #000 100%); }
}
.hero-in { position: relative; }
.hero h1 { max-width: 9.15em; }
.hero-pill { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 28px; padding: .55em 1.15em .55em .95em; border-radius: 999px;
  font: 600 clamp(.95rem, .88rem + .3vw, 1.1rem)/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: #3B2A0C;
  background: linear-gradient(120deg, #F6E7BC 0%, #E2C27A 38%, #C9A04F 62%, #EFD89C 100%);
  border: 1px solid rgba(138, 106, 47, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px -8px rgba(122, 92, 37, .55); }
.hero-pill::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: #3B2A0C; opacity: .7; flex: none; }
.hero-pill { position: relative; overflow: hidden; isolation: isolate;
  background: repeating-linear-gradient(90deg, rgba(255, 252, 240, .05) 0 1px, rgba(90, 62, 18, .022) 1px 3px), linear-gradient(120deg, #F3E2B4 0%, #DDBC74 38%, #C79E52 62%, #ECD497 100%); }
/* the glint passes behind the words, so they stay as legible as before */
.hero-pill::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 248, 225, 0) 0%, rgba(255, 248, 225, .6) 50%, rgba(255, 248, 225, 0) 100%); transform: translateX(-130%) skewX(-12deg); }
.intro .hero-pill::after { animation: glint 1200ms cubic-bezier(.4, 0, .2, 1) 5700ms 1 both; }
@keyframes glint { from { transform: translateX(-130%) skewX(-12deg); } to { transform: translateX(260%) skewX(-12deg); } }
.hero h1 { margin-bottom: 22px; }
@media (max-width: 520px) { .hero-pill { border-radius: 14px; letter-spacing: .04em; text-wrap: balance; padding: .6em 1em; } }
.hero .lede { max-width: 58ch; }
/* a soft wash so the words always sit on clear paper */
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245, 240, 230, .55) 0%, rgba(245, 240, 230, .25) 55%, rgba(245, 240, 230, 0) 80%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: 380px 1fr; gap: 80px; } }
.stuart-card { position: relative; margin: 0; justify-self: center; width: 240px; }
@media (min-width: 1100px) { .stuart-card { width: 380px; } }
.stuart-card picture { display: block; background: transparent; }
.stuart-card img { display: block; width: 100%; height: auto; }

/* the card: one stable box to hover, a card inside it that turns over */
.card-stage { position: relative; perspective: 1600px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.card3d { position: relative; transform-style: preserve-3d; transition: transform 820ms cubic-bezier(.45, .05, .2, 1); }
.card-face, .card-face img { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* the shadow sits on the photographs, not on the turning faces: WebKit stops hiding a face's back when it has a filter */
.card-front picture img, .card-back img { filter: drop-shadow(0 22px 30px rgba(14, 18, 27, .28)); }
.card-front { position: relative; transform: translateZ(1.5px); }
.card-back { position: absolute; inset: 0; transform: rotateY(180deg) translateZ(1.5px); }
/* the thickness of the mount, seen only edge-on */
.card-edge { position: absolute; top: 1.2%; bottom: 1.2%; width: 3px; margin-left: -1.5px; transform: rotateY(90deg); background: linear-gradient(180deg, #CFC3A8, #A8987A 50%, #C4B79B); }
.card-edge-l { left: 0; } .card-edge-r { left: 100%; }
.card-colour { position: absolute; inset: 0; height: 100% !important; }
.stuart-card.is-flipped .card3d { transform: rotateY(180deg); }
.stuart-card.is-turning .card-stage { animation: card-lift 820ms cubic-bezier(.45, .05, .2, 1); }
@keyframes card-lift { 50% { transform: translateY(-6px) scale(1.015); } }
.card-turn { position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 0; background: none; color: var(--ink-2); font: 600 .95rem/1 var(--sans); white-space: nowrap; cursor: pointer; border-radius: 999px; opacity: .78; transition: opacity var(--t1), color var(--t1); }
.card-turn .icon { width: 16px; height: 16px; color: var(--brass-text); transition: transform 600ms var(--ease); }
.stuart-card:hover .card-turn, .card-turn:focus-visible { opacity: 1; color: var(--ink); }
.stuart-card.is-flipped .card-turn .icon { transform: rotate(180deg); }
.card-turn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .card3d, .card-turn .icon { transition: none; }
  .stuart-card.is-turning .card-stage { animation: none; }
}

/* the introduction, once per visit: the first line is written in, the photograph takes on colour, the second line arrives with it */
.intro .hl-a .w { padding: .12em 0 .22em; animation: word-in var(--t) cubic-bezier(.3, .1, .3, 1) var(--d) backwards; }
@keyframes word-in {
  from { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.intro .hl-b { position: relative; animation: line-in 1700ms cubic-bezier(.25, .1, .25, 1) 2900ms backwards; }
@keyframes line-in { from { opacity: 0; top: 4px; } to { opacity: 1; top: 0; } }
.intro .card-colour { -webkit-mask-image: linear-gradient(135deg, #000 40%, transparent 60%); mask-image: linear-gradient(135deg, #000 40%, transparent 60%);
  -webkit-mask-size: 300% 300%; mask-size: 300% 300%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: colour-in 3000ms cubic-bezier(.42, 0, .25, 1) 2500ms both; }
@keyframes colour-in { from { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@media (max-width: 899px) { .hero::after { background: rgba(245, 240, 230, .35); } }

/* ---------------------------------------------------------------- the (?) help: a toggletip */
.tt { position: relative; display: inline; white-space: nowrap; }
.tt-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -12px -10px -12px -8px; padding: 0; vertical-align: middle;
  background: none; border: 0; color: var(--brass-text); cursor: pointer; border-radius: 50%; }
.tt-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -8px; }
.tt-icon { width: 18px; height: 18px; }
.tt-pop { position: fixed; left: 0; top: 0; z-index: 1000; width: max-content; max-width: min(300px, calc(100vw - 16px));
  padding: 12px 14px; background: var(--ink); color: var(--paper); font: 400 .95rem/1.5 var(--sans); letter-spacing: 0; text-transform: none;
  border-radius: 4px; white-space: normal; text-align: left; box-shadow: 0 12px 32px -12px rgba(18, 22, 31, .55); }
.tt-pop:empty { display: none; }
.tt-q { display: block; margin-bottom: 4px; font-weight: 600; color: #F1DFAE; }
.js .tt-def { display: none; }
.tt-def { white-space: normal; font-size: .95em; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .tt-pop { animation: tt-in var(--t1) var(--ease); } }
@keyframes tt-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- what you get */
.steps3 { list-style: none; margin: 0 0 clamp(56px, 8vw, 96px); padding: 0; display: grid; gap: 36px; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { position: relative; }
.num { display: block; font: 500 2.6rem/1 var(--serif); color: var(--brass); margin-bottom: 14px; }
.steps3 h3 { margin-bottom: .35em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--mist); }
@media (min-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--mist); }
@media (min-width: 700px) { .tile { padding-left: 28px; border-right: 1px solid var(--mist); } }
@media (min-width: 1000px) { .tile:nth-child(3n) { border-right: 0; } .tile:nth-child(3n+1) { padding-left: 0; } }
@media (min-width: 700px) and (max-width: 999px) { .tile:nth-child(2n) { border-right: 0; } .tile:nth-child(2n+1) { padding-left: 0; } }
.tile-icon { width: 32px; height: 32px; color: var(--brass); margin-bottom: 18px; stroke-width: 1.25; }
.tile-head { display: flex; align-items: center; gap: 2px; margin-bottom: .4em; }
.tile-head h3 { margin: 0; }
.tile p { margin: 0; font-size: 1.05rem; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; margin: 0 0 10px; border: 1px solid var(--edge); border-radius: 999px; font: 600 .95rem/1 var(--sans); color: var(--ink); }
.pill-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------------------------------------------------------------- why existing tools fall short */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 56px; }
@media (min-width: 800px) { .why { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.why li { border-top: 1px solid var(--ink); padding-top: 18px; }
.why h3 { margin-bottom: .3em; }
.why p { margin: 0; }
.source { margin-top: 40px; font-size: .95rem; color: var(--ink-2); }
.close-line { font: italic 400 clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem)/1.3 var(--serif); margin: 48px 0 0; }

/* ---------------------------------------------------------------- the difference film player (flag) */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: 3px; overflow: hidden; }
.video-frame img, .video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px 0 16px;
  background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; font: 600 1rem var(--sans); cursor: pointer; }
.play-icon { width: 28px; height: 28px; fill: currentColor; }
.transcript { margin-top: 14px; }
.transcript summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }

/* ---------------------------------------------------------------- discoveries */
.points { margin: 0 0 24px; padding-left: 1.1em; }
.points li { margin-bottom: .6em; max-width: 60ch; }
.pills { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills .pill { margin: 0; }

.find-card { margin: 0; padding: 32px; background: var(--paper); border: 1px solid var(--mist); border-radius: 3px; display: grid; gap: 14px; box-shadow: 0 30px 60px -40px rgba(18, 22, 31, .35); }
.find-top { display: flex; gap: 10px; }
.bar { display: block; height: 10px; border-radius: 5px; background: var(--mist); }
.bar.big { height: 16px; background: #CFC7B4; }
.w15 { width: 15%; } .w30 { width: 30%; } .w60 { width: 60%; } .w70 { width: 70%; } .w90 { width: 90%; }
.pills.small .pill { min-height: 28px; font-size: .95rem; }

/* ---------------------------------------------------------------- tree canvas and map panels */
.loop .l path { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-dasharray: 1; }
.loop .n rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.loop .n rect:first-child { fill: var(--brass); stroke: var(--brass); }

/* ---------------------------------------------------------------- ask stuart */
.ask-wrap { padding: 32px; background: var(--deep); border-radius: 3px; }
.ask-art .box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.ask-art .bar { fill: #CFC7B4; }
.ask-art .bar.soft { fill: var(--mist); }
.ask-art .link { stroke: var(--brass); stroke-width: 1.25; stroke-dasharray: 3 4; fill: none; }
.ask-art .chip { fill: var(--paper); stroke: var(--brass); stroke-width: 1.25; }

/* ---------------------------------------------------------------- your own guide (night) */
/* the guidance timeline: four illustrated stages on one gold line. Each illustration stands on the night band with
   no card, circle or border, in a frame of one shape (bottom aligned), so all four sit level and carry the same weight.
   Under each, a small node on the line, an understated number, the title and one short paragraph. site.js "guidance
   timeline" places the line from the first node to the last and, once in view, grows the gold fill along it; each
   node fills and its illustration rises in as the fill reaches it. The resting state below is the finished one, so
   without the script, or with reduced motion, everything simply shows. Only transform and opacity animate.
   Two by two from 600 px, four in a row from 1000 px; one column on phones, where the line and nodes step aside. */
.gl { position: relative; margin-top: clamp(40px, 5vw, 64px); --gl-gold: #C9A45C; }
.gl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; position: relative; }
.gl-stage { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 420px; margin-inline: auto; }
.gl-art { width: 100%; aspect-ratio: 5 / 4; min-height: 0; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 24px; }
.gl-art img { display: block; width: calc(100% * var(--s, 1)); height: calc(100% * var(--s, 1)); object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35)); }
.gl-stage:nth-child(1) { --s: 1; } .gl-stage:nth-child(2) { --s: .9; } .gl-stage:nth-child(3) { --s: .95; } .gl-stage:nth-child(4) { --s: .96; }
.gl-line { display: none; position: absolute; height: 2px; margin-top: -1px; background: rgba(216, 210, 194, .18); border-radius: 2px; overflow: hidden; }
.gl-fill { position: absolute; inset: 0; background: var(--gl-gold); transform-origin: 0 50%; }
.gl-slot { display: none; position: relative; width: 14px; height: 14px; margin: 0 0 22px; border-radius: 50%; background: var(--gl-gold);
  box-shadow: 0 0 0 4px #10141D, 0 0 0 5.5px rgba(201, 164, 92, .45); }
.gl-stage:last-child .gl-slot { box-shadow: 0 0 0 4px #10141D, 0 0 0 5.5px rgba(201, 164, 92, .45), 0 0 22px 6px rgba(201, 164, 92, .35); }
.gl-n { margin: 0 0 10px; font: 500 .9375rem/1 var(--sans); letter-spacing: .16em; color: var(--gl-gold); }
.gl-t { margin: 0 0 .5em; max-width: 18ch; color: var(--paper); font: 500 clamp(1.4rem, 1.2rem + .6vw, 1.65rem)/1.22 var(--serif); }
.night .gl-d { margin: 0; max-width: 32ch; color: var(--mist); font-size: 1rem; line-height: 1.65; }   /* about 12:1 on night */
@media (min-width: 600px) {
  .gl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px clamp(28px, 5vw, 56px); }
}
@media (min-width: 1000px) {
  .gl-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(28px, 3vw, 48px); }
  .gl-stage { max-width: none; }
  .gl-art { width: 112%; }
  .gl-line, .gl-slot { display: block; }
}
/* the animation: site.js adds gl-wait while the timeline waits off screen, then gl-run once it is a third in view */
.gl-wait .gl-fill { transform: scaleX(0); }
.gl-wait .gl-slot { opacity: .3; transform: scale(.6); }
.gl-wait .gl-art img { opacity: 0; transform: translateY(18px); }
.gl-run .gl-fill { transform: none; transition: transform 1200ms cubic-bezier(.22, 1, .36, 1); }
.gl-run .gl-slot { opacity: 1; transform: none; transition: opacity 300ms ease-out var(--d, 0ms), transform 300ms ease-out var(--d, 0ms); }
.gl-run .gl-art img { opacity: 1; transform: none; transition: opacity 800ms ease-out calc(var(--i) * 140ms), transform 800ms cubic-bezier(.22, 1, .36, 1) calc(var(--i) * 140ms); }
@media (prefers-reduced-motion: reduce) {
  .gl .gl-fill, .gl .gl-slot, .gl .gl-art img { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------------------------------------------------------------- you own it */
.ticks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 12px; }
.ticks .icon { color: var(--brass); margin-top: .25em; }
.own-stamp { margin: 0 0 28px; font: italic 400 clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem)/1.1 var(--serif); letter-spacing: -.01em; color: var(--brass-text); }
.own-split .display { margin-bottom: .3em; }
.own-ph { display: grid; place-items: center; align-content: center; gap: 12px; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; border: 1.5px dashed var(--edge); border-radius: 4px;
  background: repeating-linear-gradient(135deg, rgba(138, 106, 47, .05) 0 14px, transparent 14px 28px), var(--deep); color: var(--ink-2); font: 600 .95rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.own-ph .icon { width: 40px; height: 40px; stroke-width: 1.25; color: var(--brass); }
@media (min-width: 900px) { .own-split .own-ph { order: -1; } }

/* ---------------------------------------------------------------- background chips, needs */
.chips { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--edge); border-radius: 999px; font-size: .95rem; }
.dash-list { margin: 0 0 1.2em; padding-left: 1.1em; }
.dash-list li { margin-bottom: .4em; }

/* ---------------------------------------------------------------- how it works */

/* ---------------------------------------------------------------- packages */
.cards { display: grid; gap: 24px; }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.card { position: relative; display: flex; flex-direction: column; padding: 36px 30px 32px; background: linear-gradient(180deg, #FBF8F1 0%, var(--paper) 100%); border: 1px solid var(--mist); border-radius: 3px; }
.card-featured { border-top: 3px solid var(--brass); padding-top: 34px; }
.card-label { font: 600 .95rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-text); margin: 0 0 12px; }
.price { font: 500 3rem/1 var(--serif); letter-spacing: -.02em; margin: 6px 0 12px; }
.summary { color: var(--ink-2); }
.bullets { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--mist); }
.bullets li { padding: 10px 0; border-bottom: 1px solid var(--mist); font-size: 1rem; }
.card .btn { margin-top: auto; }
.compare { margin-top: 40px; border-top: 1px solid var(--mist); }
.compare summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 56px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--mist); font-size: 1rem; }
thead th { font: 500 1.3rem var(--serif); }
tbody th { font-weight: 600; width: 26%; }
.addons-h { margin-top: 64px; }
.addons { display: grid; gap: 0 48px; margin: 0 0 16px; }
@media (min-width: 800px) { .addons { grid-template-columns: 1fr 1fr; } }
.addons div { padding: 14px 0; border-bottom: 1px solid var(--mist); }
.addons dt { font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.add-price { font-weight: 400; color: var(--ink-2); text-align: right; }
.addons dd { margin: 4px 0 0; color: var(--ink-2); font-size: 1rem; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--mist); }
.qa { border-bottom: 1px solid var(--mist); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; min-height: 48px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.qa summary::after { content: ''; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa-a { padding: 0 0 24px; }
.qa-a p { margin: 0; }

/* ---------------------------------------------------------------- close and footer */
#start-close .btn { margin: 12px 0 20px; }
.email-line { color: var(--ink-2); }
.site-footer { position: relative; color: var(--mist); padding-block: 80px 32px;
  background: radial-gradient(90% 70% at 85% 0%, rgba(201, 164, 92, .07) 0%, rgba(201, 164, 92, 0) 60%), linear-gradient(180deg, #121826 0%, #0A0D14 100%); }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(201, 164, 92, 0), rgba(201, 164, 92, .55), rgba(201, 164, 92, 0)); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: #E8D3A6; text-decoration: underline; }
.site-footer p { color: var(--mist); }
.site-footer :focus-visible { outline-color: var(--paper); }
.foot-top { display: grid; gap: 48px 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(216, 210, 194, .16); }
@media (min-width: 720px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .foot-top { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.site-footer .wordmark { color: var(--paper); font-size: 1.7rem; margin-bottom: 14px; }
.foot-line { font-size: 1rem; line-height: 1.6; max-width: 36ch; }
.foot-email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; border-bottom: 1px solid rgba(232, 211, 166, .5); }
.foot-h { font: 600 .95rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #C9A45C; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
.foot-cta .btn { margin-top: 4px; }
.btn-light { background: var(--paper); color: var(--ink) !important; border-color: var(--paper); }
.btn-light:hover { background: #fff; text-decoration: none !important; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-top: 24px; }
.foot-bottom p { margin: 0; font-size: .95rem; max-width: none; }
.simple { padding-block: clamp(48px, 8vw, 112px); }
.simple h2 { font-size: 1.7rem; margin-top: 1.4em; }

/* ---------------------------------------------------------------- the start flow */
.flow { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--mist); border-radius: 4px; background: var(--paper); color: var(--ink); }
.flow::backdrop { background: rgba(18, 22, 31, .55); }
.flow-in { padding: 28px 28px 24px; display: flex; flex-direction: column; min-height: 100%; }
.flow-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-head h2 { margin: 0; }
.flow-step { margin: 0 0 0 auto; font-size: .95rem; color: var(--ink-2); }
.flow-x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); margin-right: -10px; }
.flow-bar { height: 2px; background: var(--mist); margin: 14px 0 24px; }
.flow-bar span { display: block; height: 100%; width: 33%; background: var(--ink); transition: width var(--t2) var(--ease); }
.flow fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.flow legend, .flow-q { font: 500 1.5rem/1.25 var(--serif); margin: 0 0 18px; padding: 0; }
.radio-card, .radio-row, .check-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--edge); border-radius: 3px; cursor: pointer; min-height: 48px; }
.radio-card:has(input:checked), .radio-row:has(input:checked), .check-row:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card input, .radio-row input, .check-row input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.radio-card strong { font-weight: 600; }
.rc-price { color: var(--ink-2); margin-left: 6px; }
.rc-sum { display: block; color: var(--ink-2); font-size: .98rem; }
.times { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .times { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin: 12px 0; font-weight: 600; font-size: 1rem; }
.field input, .field textarea { font: 400 1rem var(--sans); color: var(--ink); background: #FBF8F1; border: 1.5px solid var(--edge); border-radius: 2px; padding: 12px; min-height: 48px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.summary-list { margin: 0 0 16px; }
.summary-list div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mist); }
.summary-list dt { font-weight: 600; }
.summary-list dd { margin: 0; }
.flow-why { min-height: 1.5em; margin: 16px 0 0; font-size: .95rem; color: var(--ink-2); }
.flow-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.flow-next { margin-left: auto; }
@media (max-width: 599px) {
  .flow { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .flow-in { min-height: 100dvh; }
  .flow-nav { margin-top: auto; padding-top: 16px; }
}

/* ---------------------------------------------------------------- the story hero: one film, one headline, three questions
   The film (site.js, the story film) plays over its own first frame, which stands in as a still until it plays and
   whenever it cannot. Both fill the picture area, cropped to cover it. On a phone the picture fills the top of the section and the words sit under it;
   from 900px up the picture takes the right 60% and fades into the night on its left, with the words on the dark side.
   The three questions share one grid cell, so the block is as tall as the longest and nothing moves when they change. */
.eh { position: relative; isolation: isolate; overflow: hidden; background: #0E121B; color: var(--paper);
  min-height: 720px; display: flex; align-items: flex-end; padding-block: 0 clamp(48px, 9vw, 64px); }
.eh-pic { position: absolute; z-index: -2; inset: 0 0 auto 0; height: 78%; display: block; overflow: hidden; }
.eh-pic > picture, .eh-vid { position: absolute; inset: 0; display: block; }
.eh-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: brightness(.88) contrast(1.06); }
.eh-vid { opacity: 0; transition: opacity .6s ease; }
.eh-vid.is-on { opacity: 1; }
.eh-vid.is-off { display: none; }
.eh-shade { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #0E121B 0%, rgba(14, 18, 27, 0) 14%, rgba(14, 18, 27, 0) 38%, rgba(14, 18, 27, .82) 62%, #0E121B 80%); }
.eh-in { width: 100%; }
.eh .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.eh .btn-primary:hover { background: #fff; color: var(--ink); }
.eh :focus-visible { outline-color: var(--paper); }
.eh-h { color: var(--paper); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem); line-height: 1.08; max-width: 13em; margin-bottom: .5em; text-shadow: 0 1px 24px rgba(14, 18, 27, .6); }
.eh-qs { display: grid; min-height: 2.7em; max-width: 22em; margin-bottom: 28px;
  font: italic 400 clamp(1.25rem, 1.05rem + .9vw, 1.7rem)/1.35 var(--serif); color: #E4DDCB; }
.eh-q { grid-area: 1 / 1; margin: 0; max-width: none; color: inherit; opacity: 0; transition: opacity 1.2s ease; }
.eh-q.is-on { opacity: 1; }
@media (min-width: 600px) and (max-width: 899px) { .eh { min-height: 900px; } .eh-pic { height: 80%; } }
@media (min-width: 900px) {
  .eh { min-height: clamp(600px, 78vh, 820px); align-items: center; padding-block: 72px; }
  .eh-pic { inset: 0 0 0 auto; width: 60%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
  .eh-shade { background: linear-gradient(90deg, #0E121B 0%, rgba(14, 18, 27, .88) 34%, rgba(14, 18, 27, 0) 64%),
    linear-gradient(180deg, #0E121B 0%, rgba(14, 18, 27, 0) 16%, rgba(14, 18, 27, 0) 84%, #0E121B 100%); }
  .eh-h { max-width: 9.5em; }
}
/* the opening: the picture fades up, then the words arrive one after another. The picture is black and white until
   the colour comes up once (site.js waits two seconds after it is in view; the colour then takes five, eased in and
   out). The filter is on the picture only: the shade, the words and the button are never touched by it.
   Only for people who have not asked for less motion; everyone else sees the finished picture, in colour, straight away. */
@media (prefers-reduced-motion: no-preference) {
  .js .eh-pic { opacity: 0; transition: opacity 1.2s ease; }
  .js .eh-h, .js .eh-qs, .js .eh-in .btn { opacity: 0; transition: opacity 1.4s ease; }
  .js .eh.is-in .eh-pic, .js .eh.is-in .eh-h, .js .eh.is-in .eh-qs, .js .eh.is-in .eh-in .btn { opacity: 1; }
  .js .eh.is-in .eh-h { transition-delay: .6s; }
  .js .eh.is-in .eh-qs { transition-delay: 1.4s; }
  .js .eh.is-in .eh-in .btn { transition-delay: 2s; }
}
@media print { .eh { min-height: 0; } .eh-bw, .eh-glint { display: none !important; } }
/* the colour bloom: a layer over the film turns everything under it black and white (backdrop-filter, so the film
   decodes once). Its mask has a hole that grows from the middle of the picture, so the colour spreads outward like
   ink in water, and a soft gold ring rides the edge and fades as it reaches the frame. Once, about 3 s. The shade,
   the words and the button sit outside the picture and are never touched. */
@property --eh-r { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
.eh-bw, .eh-glint { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .eh-bw, .js .eh-glint { display: block; position: absolute; inset: 0; pointer-events: none; }
  .js .eh-bw { -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1);
    -webkit-mask-image: radial-gradient(farthest-corner at 55% 42%, transparent calc(var(--eh-r) - 14%), #000 var(--eh-r));
    mask-image: radial-gradient(farthest-corner at 55% 42%, transparent calc(var(--eh-r) - 14%), #000 var(--eh-r)); }
  .js .eh-glint { opacity: 0; mix-blend-mode: screen;
    background: radial-gradient(farthest-corner at 55% 42%, rgba(255, 214, 150, 0) calc(var(--eh-r) - 16%), rgba(255, 210, 140, .5) calc(var(--eh-r) - 5%), rgba(255, 236, 200, .75) calc(var(--eh-r) - 1%), rgba(255, 214, 150, 0) calc(var(--eh-r) + 3%)); }
  .js .eh.is-colour .eh-pic { animation: eh-bloom 3.2s cubic-bezier(.55, .05, .25, 1) forwards; }
  .js .eh.is-colour .eh-glint { animation: eh-glint 3.2s ease-out forwards; }
  .js .eh.is-colour .eh-bw { animation: eh-done 0s linear 3.3s forwards; }
}
@keyframes eh-bloom { from { --eh-r: 0%; } to { --eh-r: 118%; } }
@keyframes eh-glint { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: .8; } 100% { opacity: 0; } }
@keyframes eh-done { to { visibility: hidden; } }

/* ---------------------------------------------------------------- motion: 200, 400, 800 ms */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-36px, 14px, 0); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .topo { animation: drift 40s var(--ease) infinite alternate; }
  .loop .l path { animation: draw 8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 250ms); }
  .loop .n rect { animation: pop 8s var(--ease) infinite; animation-delay: calc(var(--i) * 250ms); }
  
  
  .loop.is-paused *, .hero-art.is-paused * { animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .loop .l path { stroke-dashoffset: 0; }
  
}
@media print {
  .site-header, .flow, .hero-art, .menu-sheet { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* a bridge across the gap between the (?) button and its bubble, so the pointer can travel to the bubble */
.tt-pop::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.tt-pop.is-up::before { top: auto; bottom: -8px; }

/* ---------------------------------------------------------------- the How it works page */
.page-hero { padding-top: calc(var(--header) + clamp(32px, 6vw, 88px)); margin-top: calc(-1 * var(--header)); }
.page-how .site-header:not(.is-scrolled) { background: var(--night); border-bottom-color: transparent; }
.page-how .site-header:not(.is-scrolled) .wordmark, .page-how .site-header:not(.is-scrolled) .nav-links a, .page-how .site-header:not(.is-scrolled) .menu-btn { color: var(--paper); }
.page-how .site-header:not(.is-scrolled) .menu-btn { border-color: var(--mist); }
.page-how .site-header:not(.is-scrolled) .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.page-how .site-header:not(.is-scrolled) :focus-visible { outline-color: var(--paper); }
.page-hero h1 { color: var(--paper); max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4rem); }

/* Quote band: one large serif quote on the dark band */
.quote-band { padding-block: clamp(36px, 5vw, 64px); }
.quote { margin: 0 auto; max-width: 52rem; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--serif, 'Newsreader', Georgia, serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.35; color: var(--paper); }
.quote blockquote p::before { content: '\201C'; display: block; font-size: 2.4em; line-height: .5; color: #C9A45C; margin-bottom: .05em; font-style: normal; }
.quote figcaption { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.quote-name { font-weight: 600; color: var(--paper); letter-spacing: .02em; }
.quote-who { font-size: .95rem; color: var(--mist); }

/* ---------------------------------------------------------------- voices: the quote and the rolling stories */
.voices { overflow: hidden; }
.voices-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.voices-head h2 { margin: 0; }
.voices-head .eyebrow { text-align: center; margin-inline: auto; }
.voices .quote { margin-bottom: clamp(40px, 5vw, 72px); }
.reel { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { list-style: none; margin: 0; padding: 8px 0 12px; display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track, .reel.is-paused .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-25% - clamp(16px, 2vw, 28px) / 4)); } }
.voice-btn { display: block; width: clamp(190px, 18vw, 240px); padding: 0; border: 0; background: none; color: var(--paper); text-align: left; cursor: pointer; font: inherit; }
.voice-btn img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); transition: transform var(--t2) var(--ease), filter var(--t2) var(--ease); filter: saturate(.92); }
.voice-btn:hover img, .voice-btn:focus-visible img { transform: translateY(-4px); filter: none; }
.voice-sub { display: block; margin-top: 12px; font: 400 italic 1.15rem/1.3 var(--serif); color: var(--paper); }
.voice-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; border-radius: 6px; }
.reel-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.reel-hint { margin: 0; font-size: .95rem; }
.reel-toggle { min-height: 44px; padding: 0 16px; border: 1px solid rgba(245, 240, 230, .35); border-radius: 999px; background: none; color: var(--paper); font: 600 .95rem var(--sans); cursor: pointer; }
.reel-toggle:hover { border-color: var(--paper); }
.voice-dlg { padding: 0; border: 0; border-radius: 10px; width: min(860px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.voice-dlg::backdrop { background: rgba(14, 18, 27, .7); }
.voice-dlg-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.voice-dlg-in > img { width: 100%; height: 100%; max-height: min(620px, calc(100svh - 32px)); object-fit: cover; object-position: 50% 30%; }
.voice-page { padding: clamp(28px, 4vw, 48px); align-self: center; }
.voice-dlg .eyebrow { color: var(--brass-text); }
.voice-dlg :focus-visible { outline-color: var(--ink); }
.voice-page h3 { color: var(--ink); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.1; margin-bottom: .6em; }
.voice-page p { color: var(--ink-2); }
.voice-found { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--mist); display: grid; gap: 12px; }
.voice-found li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.voice-found .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--brass); }
.voice-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(245, 240, 230, .92); color: var(--ink); cursor: pointer; }
.voice-close .icon { width: 20px; height: 20px; }
.voice-dlg[open] { animation: dlg-in var(--t2) var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 699px) {
  .voice-dlg-in { grid-template-columns: 1fr; }
  .voice-dlg-in > img { height: 280px; object-position: 50% 58%; }
  .reel-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reel-track { animation: none; padding-inline: var(--gutter); }
  .reel .voice[aria-hidden] { display: none; }
  .reel-toggle { display: none; }
  .voice-dlg[open] { animation: none; }
}

/* Home: short pointer to the How it works page */
.teaser { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.teaser > div { max-width: 40rem; }
.teaser h2 { margin-bottom: 8px; }
.more-link { margin-top: 32px; text-align: center; }
.compare-h { margin-bottom: 20px; }
.addons-h { margin-top: clamp(40px, 6vw, 64px); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* ---------------------------------------------------------------- why we are different: the lead band under the hero */
.dh { min-height: 560px; display: flex; align-items: center; padding-block: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .dh { min-height: 80vh; } }
.dh .wrap { width: 100%; }
.dh-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .dh-grid { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); } }
.dh-h { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.06; max-width: 9.56em; margin-bottom: .45em; }
.dh .lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); max-width: 54ch; }
.dh .dh-compare { font-size: .95rem; max-width: 60ch; margin-top: 4px; color: #B9B3A5; }
.dh .dh-proof, .dh .dh-scope { font-size: .95rem; max-width: 60ch; margin: 0 0 8px; }
.dh-scope a { text-decoration: underline; text-underline-offset: 3px; }
.dh .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.film-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--paper); font: 600 1rem var(--sans); min-height: 44px; }
.dh-film { margin-top: 24px; }
/* The visual slot: empty until the final image or animation arrives. Fixed ratio, so nothing shifts. */
.dh-visual { aspect-ratio: 16 / 10; border: 1px solid var(--mist); border-radius: 3px; background: #171C26;
  display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; }
@media (min-width: 900px) { .dh-visual { aspect-ratio: 4 / 3; } }
.dh-visual span { font-size: .85rem; color: var(--mist); }

/* ---------------------------------------------------------------- feature heroes: Family Tree Canvas, Family Map */
.fh { min-height: 560px; display: flex; align-items: center; padding-block: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .fh { min-height: 80vh; } }
.fh .wrap { width: 100%; }
.fh-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .fh-grid { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); }
  .fh-flip .fh-grid { grid-template-columns: 5fr 7fr; }
  .fh-flip .fh-art { order: -1; }
}
.fh-h { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.06; max-width: 9.56em; margin-bottom: .45em; }
.fh .lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); max-width: 54ch; }
.fh .actions { margin-top: 28px; }
.fh-art { aspect-ratio: 320 / 290; width: 100%; max-width: 560px; justify-self: center; }
.fh-art .loop { width: 100%; height: 100%; }

/* ================================================================ How it works: one timeline, one package choice */
.hiw-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.hiw-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hiw-hero .lede { max-width: 60ch; margin-bottom: 0; }
.hiw { overflow-anchor: none; }
.hiw-band { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(24px, 4vw, 48px); }

/* the package choice drives everything: an element with data-for shows only while one of its packages is selected */
.hiw[data-pk="archive"] [data-for]:not([data-for~="archive"]),
.hiw[data-pk="heritage"] [data-for]:not([data-for~="heritage"]),
.hiw[data-pk="legacy"] [data-for]:not([data-for~="legacy"]),
.hiw:not([data-pk]):has(#pk-archive:checked) [data-for]:not([data-for~="archive"]),
.hiw:not([data-pk]):has(#pk-heritage:checked) [data-for]:not([data-for~="heritage"]),
.hiw:not([data-pk]):has(#pk-legacy:checked) [data-for]:not([data-for~="legacy"]) { display: none !important; }
@keyframes pk-in { from { opacity: 0; transform: translateY(6px); } }

/* the timeline: a rail that fills as you read, and a dot per step */
.hiw-track { position: relative; }
.hiw-rail { position: absolute; left: 21px; top: 22px; bottom: 0; width: 2px; background: var(--mist); }
.hiw-fill { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(1); }
.js .hiw-fill { transform: scaleY(var(--p, 0)); }
.hiw-steps { list-style: none; margin: 0; padding: 0; }
.hiw-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 40px); padding-bottom: clamp(72px, 9vw, 128px); }
.hiw-step:last-child { padding-bottom: 0; }
.hiw-dot { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 1.2rem/1 var(--serif); }
.js .hiw-step:not(.is-on) .hiw-dot { background: var(--paper); color: var(--brass-text); border-color: var(--edge); }
.hiw-body > h2, .rs-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); max-width: 22ch; }
.hiw-text { max-width: 62ch; color: var(--ink); }

@media (max-width: 699px) {
  .hiw-rail { left: 15px; top: 16px; }
  .hiw-step { grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; }
  .hiw-dot { width: 32px; height: 32px; font-size: 1rem; }
}

/* step 1: the package cards */

/* the compact selector that follows you down the page */

/* step 2: what families share, laid out like the material itself */
.material { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 0; margin: 32px 0 8px; padding-left: 8px; }
.m { --r: 0deg; margin: 0 -10px 0 0; width: clamp(104px, 15vw, 150px); text-align: center; transform: rotate(var(--r)); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); transition-delay: calc(var(--i) * 90ms); }
.m:nth-child(1) { --r: -4deg; } .m:nth-child(2) { --r: 2deg; } .m:nth-child(3) { --r: -1.5deg; } .m:nth-child(4) { --r: 3deg; } .m:nth-child(5) { --r: -2.5deg; }
.js .hiw-step:not(.is-on) .m { opacity: 0; transform: translateY(-18px) rotate(calc(var(--r) * 2.5)); }
.m figcaption { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.m-art { display: block; aspect-ratio: 4 / 5; border-radius: 2px; box-shadow: 0 14px 28px -20px rgba(27, 34, 48, .6); position: relative; }
.m-photo .m-art { border: 7px solid #FBF8F1; border-bottom-width: 18px; background: radial-gradient(70% 60% at 50% 42%, #C9B58C 0%, #A48B60 60%, #7B6645 100%); }
.m-photo .m-art::after { content: ''; position: absolute; left: 34%; right: 34%; top: 22%; bottom: 0; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: rgba(70, 56, 36, .35); }
.m-cert .m-art { background: #FBF8F1 repeating-linear-gradient(180deg, transparent 0 10px, rgba(27, 34, 48, .14) 10px 11px) 14px 34px / calc(100% - 28px) 60% no-repeat; border: 1px solid var(--mist); outline: 3px double var(--mist); outline-offset: -8px; }
.m-cert .m-art::after { content: ''; position: absolute; right: 14px; bottom: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brass); opacity: .75; }
.m-letter .m-art { aspect-ratio: 5 / 4; background: #F1E7D1 repeating-linear-gradient(180deg, transparent 0 9px, rgba(122, 92, 37, .32) 9px 10px) 12px 14px / calc(100% - 24px) 80% no-repeat; }
.m-letter .m-art::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(27, 34, 48, .08); }
.m-tree .m-art { background: #FBF8F1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%237A5C25' stroke-width='1.5'%3E%3Crect x='42' y='12' width='16' height='10'/%3E%3Cpath d='M50 22v10H26v10M50 32h24v10M26 52v10H14v10M26 62h14v10M74 52v20'/%3E%3Crect x='18' y='42' width='16' height='10'/%3E%3Crect x='66' y='42' width='16' height='10'/%3E%3Crect x='6' y='72' width='16' height='10'/%3E%3Crect x='32' y='72' width='16' height='10'/%3E%3Crect x='66' y='72' width='16' height='10'/%3E%3C/svg%3E") center / 82% no-repeat; border: 1px solid var(--mist); }
.m-note .m-art { aspect-ratio: 1; background: #F4E6B8 repeating-linear-gradient(180deg, transparent 0 11px, rgba(27, 34, 48, .16) 11px 12px) 12px 22px / calc(100% - 24px) 70% no-repeat; }
.m-note .m-art::before { content: ''; position: absolute; top: -8px; left: 30%; width: 40%; height: 16px; background: rgba(216, 210, 194, .85); transform: rotate(-3deg); }

/* step 3: each piece of material connects to its place in the archive */

/* step 4: research, drawn differently for each package */

/* step 5: the website, shown as the pieces that make it */

     .pv-stuart { grid-area: st; }

.bar { display: block; height: 7px; margin: 7px 0; border-radius: 4px; background: #DDD6C6; }

/* step 6: draft, reviewed, approved */

/* step 7: the handover */

/* what you receive */
.receive .intro-block { margin-bottom: 40px; }
.dgroups { columns: 3 300px; column-gap: 20px; }
.dg { break-inside: avoid; margin-bottom: 20px; padding: 22px 24px 10px; border: 1px solid var(--mist); border-radius: 4px; background: #FBF8F1; }
.dg h3 { font-size: 1.3rem; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--mist); }
.dg ul { list-style: none; margin: 0; padding: 0; }
.dl { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.dl + .dl { border-top: 1px dashed var(--mist); }
.dl-icon { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--deep); color: var(--brass-text); transition: background var(--t1), color var(--t1); }
.dl:hover .dl-icon { background: var(--ink); color: var(--paper); }
.dl-txt { display: grid; gap: 2px; min-width: 0; }
.dl-t { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.dl-d { font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.dl-num { flex: none; min-width: 64px; display: grid; font: 500 3.6rem/0.9 var(--serif); color: var(--ink); }
.dl-num small { font: 600 .72rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 4px; }
.addons-strip { margin-top: 32px; }

.addons-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.addons-strip li { display: inline-flex; gap: 10px; padding: 7px 14px; border: 1px dashed var(--edge); border-radius: 999px; font-size: .95rem; }
.addons-strip .add-price { color: var(--ink-2); }

/* the summary and the start button */

@media (prefers-reduced-motion: no-preference) {
  .hiw [data-for] { animation: pk-in var(--t2) var(--ease) backwards; }
  
}
@media (prefers-reduced-motion: reduce) {
  .hiw *, .hiw-band *, .how-close * { transition: none !important; animation: none !important; }
}

/* step 2 on wide screens: the words beside the material */

/* ================================================================ packages: one aligned comparison, one package choice */
.textlink-light { color: var(--paper); }
.pp-talk-link { margin: 20px 0 0; }
.pp-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.pp-head h2 { margin-bottom: .3em; }
.pp-head .lede { margin: 0; }

/* coverage: which sides of the family the research covers */
.cov { width: 96px; height: 52px; flex: none; overflow: visible; }
.cov path { fill: none; stroke: var(--brass); stroke-width: 1.4; }
.cov circle { fill: var(--brass); }
.cov .cov-you { fill: var(--ink); }
.cov-one .cov-m { opacity: .22; }
.cov-one .cov-m path { stroke-dasharray: 2 3; }
@media (prefers-reduced-motion: no-preference) {
  .cov-one .cov-p, .cov-one .cov-m { animation: cov-swap 7s var(--ease) infinite; }
  .cov-one .cov-m { animation-delay: -3.5s; }
  @keyframes cov-swap { 0%, 42% { opacity: 1; } 50%, 92% { opacity: .22; } 100% { opacity: 1; } }
  .cov:not(.cov-one) g { animation: cov-in 1.2s var(--ease) both; }
  .cov:not(.cov-one) .cov-m { animation-delay: .25s; }
  @keyframes cov-in { from { opacity: .22; } }
}

/* home: compact package summaries */
.pcards { align-items: stretch; }
@media (min-width: 900px) { .pcards { grid-template-columns: repeat(3, 1fr); } }
.pcard { padding: 40px 26px 26px; }
.pcard .card-label { position: absolute; top: 14px; left: 26px; margin: 0; font-size: .95rem; letter-spacing: .06em; }
.pcard.card-featured { padding-top: 38px; }
.pcard h3 { margin: 0; }
.pc-tag { margin: 2px 0 0; font: italic 400 1.15rem/1.3 var(--serif); color: var(--brass-text); }
.pcard .price { font-size: 2.4rem; margin: 14px 0 10px; }
.pc-intro { color: var(--ink-2); margin: 0 0 18px; }
.pc-cov { display: flex; align-items: center; gap: 14px; padding: 14px 0; margin: 0 0 20px; border-block: 1px solid var(--mist); }
.pc-cov p, .cmp-cov p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.pc-cov span, .cmp-cov p span { color: var(--ink-2); }
.pk-cov { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; margin: 4px 0; }
.pk-cov .cov { width: 72px; height: 40px; }

/* the comparison */
.cmp-wrap { position: relative; }
.cmp { min-width: 0; width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp th, .cmp td { padding: 12px 18px; border: 0; vertical-align: top; font-size: 1rem; }
.cmp .cmp-corner { width: 24%; }
.cmp thead th { font: inherit; }
.cmp-r1 > * { position: sticky; top: var(--header); z-index: 3; background: var(--paper); padding-top: 16px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--mist); }
.cmp-name label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.cmp-label { display: block; min-height: 1.3em; font: 600 .95rem/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--brass-text); }
.cmp-n { font: 500 1.6rem/1.1 var(--serif); }
.cmp-price { font: 500 1.35rem/1.2 var(--serif); color: var(--ink-2); }
.cmp-intro p { margin: 0; color: var(--ink-2); }
.cmp-intro .cmp-tag { margin: 4px 0 6px; font: italic 400 1.2rem/1.3 var(--serif); color: var(--brass-text); }
.cmp-cov { padding-block: 16px; }
.cmp-cov .cov { margin-bottom: 8px; }
.cmp-side { display: block; padding-top: 18px; font-weight: 600; }
.cmp-act { padding-bottom: 20px; }
.inherit { margin: 0 0 12px; font-size: .95rem; font-weight: 600; min-height: 44px; }
.inherit-base { color: var(--ink-2); min-height: 44px; }
.cmp-pick { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--edge); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.cmp-pick input { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); -webkit-appearance: none; appearance: none; opacity: 0; margin: 0; cursor: pointer; }
.cmp-pick input:focus-visible ~ span { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 4px; }
.cmp-pick-on { display: none; align-items: center; gap: 6px; }
.cmp-pick:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cmp-pick:has(input:checked) .cmp-pick-off { display: none; }
.cmp-pick:has(input:checked) .cmp-pick-on { display: inline-flex; }
.cmp tbody th { font-weight: 600; }
.cmp tbody th .tt-def { font-weight: 400; }
.cmp tbody tr:not(.cmp-sec) > * { border-top: 1px solid var(--mist); transition: background-color var(--t1); }
.cmp tbody tr:not(.cmp-sec):hover > * { background-color: rgba(138, 106, 47, .07); }
.cmp-sec th { padding-top: 30px; padding-bottom: 8px; font: 600 .85rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); }
.cv { line-height: 1.4; }
.cv-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; color: var(--ink-2); }
.cv-up .cv-icon { color: var(--brass); }
.cv-up .cv-t { color: var(--ink); }
.cv-note { padding-left: 26px; }
.cv-t { color: var(--ink); }
.cv-same .cv-t { color: var(--ink-2); }
.cv-new .cv-icon { color: var(--brass); stroke-width: 2.2; }
.cv-new .cv-t, .cv-up .cv-t { font-weight: 600; }
.cv-up .qty, .cv-new .qty { color: var(--brass-text); }
.qty { font: 500 1.35em/1 var(--serif); }
.cv-note { display: block; margin-top: 2px; font-size: .95rem; color: var(--ink-2); }
.cv-mark { display: inline-block; width: 16px; height: 0; border-top: 1.5px solid var(--mist); vertical-align: middle; margin-right: 8px; }
.cv-addon { font-size: .95rem; font-style: italic; color: var(--ink-2); }
.cmp tfoot td { padding-top: 22px; }
.cmp tfoot .btn { width: 100%; }
.cmp-note { margin-top: 16px; }
/* Heritage: gently set apart; the selected package: clearly marked */
.cmp .is-featured { background-color: rgba(138, 106, 47, .045); }
.cmp-r1 .is-featured { background: #F1EADB; box-shadow: inset 0 3px 0 var(--brass), 0 1px 0 var(--mist); }
.hiw[data-pk="archive"] .cmp .c-archive, .hiw[data-pk="heritage"] .cmp .c-heritage, .hiw[data-pk="legacy"] .cmp .c-legacy { box-shadow: inset 1px 0 0 var(--edge), inset -1px 0 0 var(--edge); }
.hiw[data-pk="archive"] .cmp-r1 .c-archive, .hiw[data-pk="heritage"] .cmp-r1 .c-heritage, .hiw[data-pk="legacy"] .cmp-r1 .c-legacy { box-shadow: inset 1px 0 0 var(--edge), inset -1px 0 0 var(--edge), inset 0 3px 0 var(--ink); }
.hiw[data-pk="archive"] .cmp tfoot .c-archive, .hiw[data-pk="heritage"] .cmp tfoot .c-heritage, .hiw[data-pk="legacy"] .cmp tfoot .c-legacy { box-shadow: inset 1px 0 0 var(--edge), inset -1px 0 0 var(--edge), inset 0 -1px 0 var(--edge); }

.pp-compare { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.pp-journey, .pp .receive { padding-block: clamp(56px, 7vw, 96px); }

/* the journey for the selected package */
/* what you'll receive: previews */

/* additional details */

/* the discovery call */
.pp-talk .split { align-items: start; }
.talk-act { margin: 28px 0 10px; }
.talk-re { font-size: .95rem; letter-spacing: .04em; color: #C9A45C !important; }
.talk-list { list-style: none; margin: 0; padding: 26px; display: grid; gap: 14px; border: 1px solid rgba(245, 240, 230, .18); border-radius: 8px; }
.talk-list li { display: flex; gap: 12px; color: var(--paper); }
.talk-list .icon { flex: none; width: 20px; height: 20px; color: #C9A45C; margin-top: 3px; }

/* phones and small tablets: a package selector on top, and every row compares the three packages in place */
@media (max-width: 819px) {
  .cmp, .cmp thead, .cmp tbody, .cmp tfoot, .cmp tr { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp .cmp-corner { display: none; }
  .cmp th, .cmp td { padding: 10px 8px; width: auto; }
  .cmp-r1 { position: sticky; top: var(--header); z-index: 3; background: var(--paper); box-shadow: 0 1px 0 var(--mist); }
  .cmp-r1 > * { position: static; box-shadow: none; padding: 8px 6px; text-align: center; }
  .cmp-r1 label { align-items: center; min-height: 64px; justify-content: center; border-radius: 8px; }
  .cmp-label { display: none; }
  .cmp-n { font-size: 1.1rem; }
  .cmp-price { font-size: 1rem; }
  .cmp-r1 .is-featured { box-shadow: inset 0 3px 0 var(--brass); }
  /* the selected package's introduction, coverage and actions fill the width */
  .cmp tr:is(.cmp-r2, .cmp-r3, .cmp-r4), .cmp tfoot tr { grid-template-columns: 1fr; }
  .hiw[data-pk="archive"] .cmp :is(.cmp-r2, .cmp-r3, .cmp-r4, tfoot tr) > :not(.c-archive),
  .hiw[data-pk="heritage"] .cmp :is(.cmp-r2, .cmp-r3, .cmp-r4, tfoot tr) > :not(.c-heritage),
  .hiw[data-pk="legacy"] .cmp :is(.cmp-r2, .cmp-r3, .cmp-r4, tfoot tr) > :not(.c-legacy) { display: none; }
  .hiw:not([data-pk]) .cmp :is(.cmp-r2, .cmp-r3, .cmp-r4, tfoot tr) > :not(:has(:checked), .c-heritage) { display: none; }
  .cmp-cov { display: flex; align-items: center; gap: 14px; }
  .cmp-cov .cov { margin: 0; }
  .cmp tbody th[scope="row"] { grid-column: span 3; width: auto; padding: 14px 8px 0; border-top: 1px solid var(--mist); }
  .cmp tbody tr:not(.cmp-sec) > td { border-top: 0; font-size: .95rem; }
  .cmp-sec { display: block !important; }
  .cmp-sec th { display: block; width: auto; padding-left: 8px; }
  .cmp .is-featured { background: none; }
  .hiw[data-pk] .cmp :is(.c-archive, .c-heritage, .c-legacy) { box-shadow: none !important; }
  .hiw[data-pk="archive"] .cmp tbody .c-archive, .hiw[data-pk="heritage"] .cmp tbody .c-heritage, .hiw[data-pk="legacy"] .cmp tbody .c-legacy { background: rgba(138, 106, 47, .09); border-radius: 6px; }
  .hiw[data-pk="archive"] .cmp-r1 .c-archive label, .hiw[data-pk="heritage"] .cmp-r1 .c-heritage label, .hiw[data-pk="legacy"] .cmp-r1 .c-legacy label { background: var(--ink); color: var(--paper); }
  .hiw[data-pk="archive"] .cmp-r1 .c-archive .cmp-price, .hiw[data-pk="heritage"] .cmp-r1 .c-heritage .cmp-price, .hiw[data-pk="legacy"] .cmp-r1 .c-legacy .cmp-price { color: var(--mist); }
  .cv-icon { display: block; margin: 0 0 4px; }
  .cmp tbody tr:not(.cmp-sec):hover > * { background-color: transparent; }
}

/* ================================================================ the discovery call, across the site */
.hero-facts { margin: 18px 0 0; font-size: .95rem; letter-spacing: .02em; color: var(--ink-2); }
.actions-center { justify-content: center; }
.night .textlink-light, .textlink-light { color: var(--paper); }
.inline-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; margin-top: 28px; }
.pk-nudge { margin: 0; max-width: 62ch; color: var(--ink-2); }
.pk-foot .more-link { margin: 0; }
.voices-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.voices-cta p { margin: 0; font: italic 400 clamp(1.2rem, 1rem + .8vw, 1.5rem)/1.3 var(--serif); color: var(--paper) !important; }
.pp-talk-link { max-width: 60ch; color: var(--mist); }
.pp-talk-link .textlink-light { display: inline; min-height: 0; border-bottom-width: 1px; }
/* the invitation beneath the comparison */
.pp-talk h2 { margin-bottom: .4em; }
.talk-during { padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(245, 240, 230, .18); border-radius: 10px; background: rgba(245, 240, 230, .04); }
.talk-dh { margin: 0 0 18px; font: 600 .95rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #C9A45C; }
.talk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.talk-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.talk-n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #C9A45C; font: 500 1.1rem var(--serif); color: #C9A45C; }
.talk-steps h3 { margin: 6px 0 4px; font: 500 1.25rem/1.25 var(--serif); }
.talk-steps p { margin: 0; }
/* How it works: two ways to begin, one journey */

.path { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 8px; border: 1px solid var(--mist); background: #FBF8F1; }

.path h3 { margin: 0 0 4px; font: 500 1.3rem/1.2 var(--serif); }
.path p { margin: 0 0 12px; color: var(--ink-2); }

/* the discovery call page */
.call-facts { margin: 18px 0 0; color: #C9A45C !important; font-weight: 600; letter-spacing: .02em; }
.call-band { padding-block: clamp(48px, 6vw, 88px); }
.call-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .call-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } .call-book { position: sticky; top: calc(var(--header) + 20px); } }
@media (max-width: 959px) { .call-book { order: -1; } }
.header-cta { white-space: nowrap; }
.call-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; }
.call-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.call-list .icon { flex: none; width: 22px; height: 22px; color: var(--brass); margin-top: 2px; }
.call-demo { padding-top: 32px; border-top: 1px solid var(--mist); }
.call-demo > p { color: var(--ink-2); }
.call-packages { margin: 18px 0 0; }
.call-book { padding: clamp(24px, 3vw, 36px); border-radius: 12px; background: #FBF8F1; border: 1px solid var(--mist); box-shadow: 0 30px 60px -40px rgba(27, 34, 48, .5); }
.cf-h { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin: 0 0 6px; }
.cf-lead { color: var(--ink-2); margin: 0 0 20px; }
.cf-field { display: grid; gap: 6px; margin-bottom: 16px; }
.cf-field label { font-weight: 600; font-size: .95rem; }
.req { font-weight: 400; color: var(--ink-2); }
.cf input, .cf select, .cf textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.cf textarea { min-height: 88px; resize: vertical; }
.cf :is(input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.has-err :is(input, select) { border-color: #9B2C1F; box-shadow: 0 0 0 1px #9B2C1F; }
.cf-err { margin: 0; color: #9B2C1F; font-size: .95rem; font-weight: 600; }
.cf-summary { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid #9B2C1F; background: #F8E9E4; color: #7A2216; font-weight: 600; }
.cf-summary p { margin: 0; }
.cf-submit { width: 100%; }
.cf-submit[disabled] { opacity: .7; cursor: progress; }
/* the trap for bots: off screen and out of the tab order, never display:none (some bots skip hidden fields) */
.cf-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf { position: relative; }
.cf-field .req { font-weight: 400; color: var(--ink-2); }
/* sending failed: what was typed stays, and the request can go by email instead */
.cf-fail { margin: 16px 0 0; padding: 14px 16px; border-left: 3px solid #9B2C1F; background: #F8E9E4; color: #5E1F15; border-radius: 0 6px 6px 0; }
.cf-fail:focus { outline: none; }
.cf-fail p { margin: 0 0 6px; }
.cf-fail-h { font-weight: 700; }
.cf-fail .cf-mail { margin-top: 8px; background: var(--paper); }
/* without JavaScript, FormSubmit sends the visitor back to #call-sent: show the thanks there and put the form away */
.cf-done:target[hidden] { display: block !important; }
.call-book:has(#call-sent:target) .cf { display: none; }
.cf-re { margin: 12px 0 0; text-align: center; font-size: .95rem; color: var(--ink-2); }
.cf-done { text-align: left; }
.cf-done:focus { outline: none; }
.cf-done-icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ink); color: var(--paper); margin-bottom: 14px; }
.cf-embed iframe { width: 100%; height: 680px; border: 0; border-radius: 8px; background: var(--paper); }
.cf-embed:not(.is-loaded) iframe { opacity: 0; }
.cf-loading { color: var(--ink-2); }
.call-more { padding-block: clamp(48px, 6vw, 88px); }
.call-more-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .call-more-in { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.call-explore { padding: 24px; border: 1px solid var(--mist); border-radius: 10px; background: var(--paper); }
.call-explore p { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .cf-done:not([hidden]) { animation: dlg-in var(--t2) var(--ease); } }
@media (max-width: 359px) { .site-header .wordmark { font-size: 1.05rem; } .site-header .header-cta, .site-header .menu-btn { padding: 0 10px; } }

/* ================================================================ How it works: one shared timeline, small package notes */
.hiw-body > h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); max-width: 24ch; margin: 4px 0 .45em; }
.hiw-step { padding-bottom: clamp(48px, 6vw, 80px); }
.hiw-text { max-width: 60ch; font-size: 1.08rem; }
/* the package note: a quiet line, never a comparison */

/* more detail, closed until asked for */
.more { margin-top: 18px; max-width: 760px; border-top: 1px solid var(--mist); }
.more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; list-style: none; font-weight: 600; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary > span { display: inline-flex; align-items: center; gap: 10px; }

/* step 1 */

/* step 4: research */

.scope { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.scope li { display: grid; grid-template-columns: 7.5em 56px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mist); }

    

 

 
/* step 6: Stuart */
.meet { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .meet { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }

 

/* step 8 */

/* ownership */
.own-band { padding-block: clamp(56px, 7vw, 96px); }
.own-head { max-width: 760px; }
.own-head h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: .3em; }
.own-ben { list-style: none; margin: 36px 0 20px; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .own-ben { grid-template-columns: repeat(3, 1fr); } }
.own-ben li { padding: 22px; border-radius: 10px; border: 1px solid rgba(245, 240, 230, .16); background: rgba(245, 240, 230, .04); }
.own-i { width: 30px; height: 30px; color: #C9A45C; }
.own-ben h3 { margin: 12px 0 4px; font: 500 1.35rem/1.2 var(--serif); }
.own-ben p { margin: 0; }
.own-note { font-size: .95rem; margin: 0; }
/* everything your package includes: a segmented selector, a summary, then the groups */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 14px; padding: 4px; border: 1px solid var(--mist); border-radius: 999px; background: var(--paper); }
.seg legend { padding: 0; }
.seg-o { position: relative; }
.seg-o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.seg-o span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; transition: background var(--t1), color var(--t1); }
.seg-o input:checked + span { background: var(--ink); color: var(--paper); }
.seg-o input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.seg-o:hover input:not(:checked) + span { background: var(--deep); }
.dsums { margin: 0 0 24px; }
.dsum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 22px; border-radius: 10px; background: var(--paper); border: 1px solid var(--mist); }

.dsum-tag { margin: 2px 0 0; font: italic 400 1.1rem/1.3 var(--serif); color: var(--brass-text); }
.dsum-time { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.dsum-time .icon { color: var(--brass-text); }
.dg-note { margin: 10px 0 0; }
.dsum-link { margin: 8px 0 0; }

.dl-cov { flex: none; width: 44px; display: grid; place-items: center; }
.dl-cov .cov { width: 44px; height: 26px; }
.dl-d .qty { font-size: 1.5em; color: var(--brass-text); }
@media (max-width: 559px) { .seg { display: flex; } .seg-o { flex: 1; } .seg-o span { justify-content: center; padding: 0 6px; width: 100%; white-space: nowrap; font-size: .95rem; } .dsum-time { margin-left: 0; }
  .scope li { grid-template-columns: 1fr auto; gap: 4px 12px; }  }
/* the close: a conversation, not a sales banner */
.how-close { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 50% 0%, rgba(201, 164, 92, .16) 0%, rgba(201, 164, 92, 0) 70%), linear-gradient(180deg, #0E121B 0%, #131A27 100%); }

.how-close .actions { margin-top: 28px; }
.hc-facts { margin: 18px 0 0; color: #C9A45C !important; font-weight: 600; letter-spacing: .02em; }

/* the payment reassurance and what happens next */
.next-steps { margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 32px); border-radius: 10px; border: 1px solid var(--mist); background: #FBF8F1; }
.ns-h { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.ns { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .ns { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.ns li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.ns-n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass); font: 500 1.05rem var(--serif); color: var(--brass-text); }
.ns h3 { margin: 4px 0 4px; font: 600 1.02rem/1.3 var(--sans); }
.ns p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.webmail { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 4px 0 8px; }

/* the comparison: each group's heading row carries a quiet band, so the eye can follow the groups */
.cmp-sec th { background: rgba(138, 106, 47, .07); border-radius: 6px; }
@media (min-width: 820px) { .cmp-sec th { padding-left: 18px; } }
/* the packages introduction: a boxed invitation to talk */
.pp-help { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; max-width: 820px; padding: 18px 22px; border: 1px solid rgba(201, 164, 92, .45); border-radius: 12px; background: rgba(245, 240, 230, .06); }
.pp-help p { flex: 1 1 300px; margin: 0; color: var(--paper) !important; font-size: 1.02rem; }
.pp-help-i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #C9A45C; color: #C9A45C; }
.pp-help-i .icon { width: 22px; height: 22px; }
/* what's included on How it works: the family coverage in words */
.dsum-cov-t { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.dsum-cov-t span { color: var(--ink-2); }

/* ================================================================ product demonstrations (the motion studio's mml-demo.css, then this site's placement) */
/* Map My Lineage product demonstrations. Uses the page's own tokens where they exist. */
.mml-demo { margin: 0; }
.mml-demo__frame {
  position: relative;
  aspect-ratio: 4 / 3;              /* reserves the space before anything loads: no layout shift */
  width: 100%;
  max-width: 650px;                 /* 500 to 650 CSS px on its own; up to about 680 px in the home feature sections (58% of the width); the video is 1440 px wide for sharp text */
  overflow: hidden;
  border-radius: 12px;
  background: #f4ecdd;              /* the canvas parchment, shown before the poster paints */
  box-shadow: 0 1px 2px rgba(40, 28, 10, .06), 0 14px 40px rgba(40, 28, 10, .12);
}
.mml-demo__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mml-demo__btn {
  position: absolute; right: 12px; bottom: 12px;
  min-width: 44px; min-height: 44px; padding: 0 16px;      /* the site's 44 px tap targets */
  border: 1px solid rgba(26, 26, 46, .18); border-radius: 999px;
  background: rgba(255, 253, 249, .94); color: #1a1a2e;
  font: inherit; font-size: .95rem; cursor: pointer;
  box-shadow: 0 2px 8px rgba(40, 28, 10, .14);
}
.mml-demo__btn:hover { background: #fff; }
.mml-demo__btn:focus-visible { outline: 3px solid #1a5c2a; outline-offset: 2px; }
.mml-demo__btn[hidden] { display: none; }
@media (max-width: 767px) { .mml-demo__frame { max-width: none; } }

.mml-demo__btn { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.mml-demo__btn:focus-visible { outline: 2px solid var(--ink); }
.dh-visual-demo { aspect-ratio: auto; border: 0; background: none; display: block; padding: 0; }
.dh-visual-demo .mml-demo__frame { margin-left: auto; }
.fh-demo { aspect-ratio: auto; max-width: 650px; }
.ask-demo { max-width: 650px; justify-self: end; width: 100%; padding: 0; }
@media (max-width: 767px) { .mml-demo__btn { min-height: 48px; } }
/* a section that holds a demonstration splits evenly, so the video gets the 500 to 650 px it was made for */
@media (min-width: 900px) {
  .dh-grid:has(.mml-demo), .fh-grid:has(.mml-demo), .fh-flip .fh-grid:has(.mml-demo) { grid-template-columns: 1fr 1fr; }
}

/* ================================================================ the video hero (content.json hero.heroVariant "video") */
.hero-video { display: block; min-height: 0; padding: calc(var(--header) + clamp(20px, 3vw, 40px)) 0 clamp(56px, 7vw, 96px); }
.hero-video::after { display: none; }
.hv-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.mml-hero { width: 100%; max-width: 1280px; }
.mml-hero .hv-frame { max-width: none; aspect-ratio: 16 / 9; border-radius: 14px; background: #efe7d6;
  box-shadow: 0 2px 4px rgba(27, 34, 48, .06), 0 30px 70px -28px rgba(27, 34, 48, .45), 0 0 0 1px rgba(27, 34, 48, .06); }
.mml-hero .mml-demo__btn { right: 16px; bottom: 16px; }
.hv-copy { margin-top: clamp(32px, 4vw, 52px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-video h1 { max-width: 10.6em; margin: 0 auto 14px; text-align: center; text-wrap: balance; }
.hero-video .hero-pill { margin: 0 0 22px; font-size: 15px; padding: .35em .75em .35em .65em; letter-spacing: .05em; }
.hero-video .hero-pill::before { width: .4em; height: .4em; }
.hero-video .actions { justify-content: center; }
.hero-video .hero-facts { text-align: center; }
@media (max-width: 767px) {
  .hero-video .wrap { padding-inline: 16px; }
  .mml-hero .hv-frame { border-radius: 10px; }
  .hero-video .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-video .actions .btn { width: 100%; }
  .hero-video .actions .textlink { align-self: center; }
}
.hero-video .actions { margin-top: 0; }
@media (max-width: 767px) {
  .hero-video .hero-pill { width: auto; max-width: 100%; font-size: 15px; padding: .35em .7em .35em .6em; letter-spacing: .04em; border-radius: 999px; }
  .hero-video h1 { margin-bottom: 12px; }
  .hero-video .hv-copy { margin-top: 24px; }
}
/* how each package is published: in the start flow */
.rc-pub { display: block; margin-top: 2px; font-size: .95rem; color: var(--ink-2); }
/* ================================================================ home refresh: stories, Ask Stuart, the call under the packages */
.voices-after { margin-top: clamp(40px, 5vw, 64px); }
.voices-after .quote { margin-bottom: clamp(32px, 4vw, 48px); }
.voices-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0 auto; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(245, 240, 230, .14); max-width: 720px; text-align: center; }
.voices-cta p { margin: 0; font: italic 400 clamp(1.35rem, 1.1rem + 1vw, 1.8rem)/1.3 var(--serif); color: var(--paper) !important; }
/* Ask Stuart: the demonstration on the left, the words on the right */
@media (min-width: 900px) { .ask-flip .split > .ask-wrap { order: -1; justify-self: start; } }
.ask-id { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.ask-id .eyebrow { margin: 0; }
.ask-av { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--brass); box-shadow: 0 0 0 4px rgba(138, 106, 47, .12); }
.ask-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
#ask h2 { max-width: 10.6em; }
/* the free call, as a small hero of its own under the packages */
.call-mini { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 26px; margin-top: 32px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px);
  border-radius: 14px; background: linear-gradient(120deg, #1B2230 0%, #232C3E 100%); color: var(--paper); box-shadow: 0 24px 50px -30px rgba(14, 18, 27, .6); }
.call-mini h3 { margin: 0 0 4px; font: 500 clamp(1.3rem, 1.1rem + .7vw, 1.65rem)/1.2 var(--serif); color: var(--paper); }
.call-mini p { margin: 0; color: var(--mist); }
.call-mini .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.call-mini .btn-primary:hover { background: #fff; color: var(--ink); }
.cm-icon { width: 60px; height: 60px; display: grid; place-items: center; }
.cm-icon svg { width: 60px; height: 60px; overflow: visible; }
.cm-cam { fill: none; stroke: #C9A45C; stroke-width: 1.8; stroke-linejoin: round; }
.cm-ring { fill: none; stroke: #C9A45C; stroke-width: 1.2; opacity: .55; transform-origin: 24px 24px; }
@media (prefers-reduced-motion: no-preference) {
  .cm-r1, .cm-r2 { animation: cm-pulse 2.8s var(--ease) infinite; }
  .cm-r2 { animation-delay: 1.4s; }
  @keyframes cm-pulse { 0% { transform: scale(.72); opacity: .7; } 70%, 100% { transform: scale(1.18); opacity: 0; } }
}
@media (max-width: 759px) { .call-mini { grid-template-columns: auto 1fr; } .call-mini .btn { grid-column: 1 / -1; width: 100%; } }
.pk-foot { justify-content: flex-end; }

/* ownership: a family's own website, with its old photographs around it */
.own-img { margin: 0; }
.own-img img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .own-split .own-img { order: -1; } }

/* ================================================================ the logo (build.py logo()): one lockup, chosen by the background behind it */
.wordmark { font-size: 0; line-height: 0; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: auto; max-width: none; }
.logo-sym { display: none !important; }
/* the header sits on paper (or is transparent over the paper hero) unless it is over a dark page hero */
.logo-on-both .logo-dark { display: none; }
.page-how .site-header:not(.is-scrolled) .logo-on-both .logo-light { display: none; }
.page-how .site-header:not(.is-scrolled) .logo-on-both .logo-img.logo-dark { display: block; }
.site-header .logo img { width: auto; height: 46px; }
.site-footer .logo img { width: auto; height: 52px; }
@media (max-width: 479px) { .site-header .logo img { height: 36px; } }
/* very narrow phones: the arch alone, so the lettering never gets too small to read */
@media (max-width: 359px) {
  .site-header .logo-img { display: none !important; }
  .site-header .logo-on-both .logo-sym.logo-light { display: block !important; }
  .page-how .site-header:not(.is-scrolled) .logo-on-both .logo-sym.logo-light { display: none !important; }
  .page-how .site-header:not(.is-scrolled) .logo-on-both .logo-sym.logo-dark { display: block !important; }
  .site-header .logo-sym { height: 36px; width: auto; }
}

/* ================================================================ the entrance (home page, video hero)
   One reveal, timed from the moment the logo opening's paper starts to lift (t = 0, about 350 ms of dissolve):
     the bar fades in            100 to 500 ms
     the film emerges            100 to 800 ms   (fades up, rises 16 px, settles from 98% while its shadow gathers)
     the heading, line by line   300 to 1,030 ms (550 ms a line, 90 ms apart, rising through an invisible mask)
     the gold pill               650 to 1,050 ms, then one glint across it
     the two actions, together   750 to 1,200 ms, the facts just after
   The paper and the contour lines never move. One easing, no overshoot. Plays on the first page view of a visit
   only, with the logo opening; after that the home page is simply there.
   - html.ent-wait (set in <head> before the first paint, build.py ENTRANCE_HEAD): the waiting states. Only transform
     and opacity, so the layout is the final layout from the first byte.
   - html.ent-run (site.js "entrance"): the arrival. site.js removes both classes when it is over.
   - Safety net: if site.js never runs, everything shows itself 2.5 s after the first paint (ent-late: the logo
     opening is covering the page until then). Reduced motion never gets these classes. */
:root { --ent-ease: cubic-bezier(.22, 1, .36, 1); }
html.ent-wait .site-header,
html.ent-wait #top-h,
html.ent-wait .mml-hero,
html.ent-wait .hv-copy .hero-pill,
html.ent-wait .hv-copy .actions > *,
html.ent-wait .hv-copy .hero-facts { opacity: 0; }
html.ent-wait .hv-copy .hero-pill,
html.ent-wait .hv-copy .actions > *,
html.ent-wait .hv-copy .hero-facts { transform: translateY(8px); }
html.ent-wait .mml-hero { transform: translateY(16px) scale(.98); }
html.ent-wait :is(.site-header, #top-h, .hv-copy .hero-pill, .hv-copy .actions > *, .hv-copy .hero-facts, .mml-hero),
html.ent-wait .mml-hero::before { animation: ent-safety 450ms var(--ent-ease) 1s forwards; }
html.ent-wait.ent-late :is(.site-header, #top-h, .hv-copy .hero-pill, .hv-copy .actions > *, .hv-copy .hero-facts, .mml-hero),
html.ent-wait.ent-late .mml-hero::before { animation-delay: 2.5s; }
@keyframes ent-safety { to { opacity: 1; transform: none; } }

/* the shadow gathers as the film settles: the soft drop shadow moves to a layer under the frame for the entrance and
   fades in a little behind the film; the frame keeps its contact shadow, so together they are the resting shadow */
html:is(.ent-wait, .ent-run) .mml-hero { position: relative; }
html:is(.ent-wait, .ent-run) .mml-hero::before { content: ''; position: absolute; inset: 0; border-radius: 14px; opacity: 0;
  box-shadow: 0 30px 70px -28px rgba(27, 34, 48, .45); pointer-events: none; }
html:is(.ent-wait, .ent-run) .mml-hero .hv-frame { box-shadow: 0 2px 4px rgba(27, 34, 48, .06), 0 0 0 1px rgba(27, 34, 48, .06); }
@media (max-width: 767px) { html:is(.ent-wait, .ent-run) .mml-hero::before { border-radius: 10px; } }

/* the arrival */
html.ent-run .site-header { animation: ent-fade 400ms var(--ent-ease) 100ms both; }
html.ent-run .mml-hero { animation: ent-print 700ms var(--ent-ease) 100ms both; will-change: transform, opacity; }
html.ent-run .mml-hero::before { animation: ent-fade 800ms var(--ent-ease) 200ms both; will-change: opacity; }
html.ent-run #top-h { opacity: 1; }
html.ent-run .hv-copy .hero-pill,
html.ent-run .hv-copy .actions > *,
html.ent-run .hv-copy .hero-facts { animation: ent-up var(--ent-t, 450ms) var(--ent-ease) var(--ent-d, 0ms) both; will-change: transform, opacity; }
html.ent-run .hv-copy .hero-pill { --ent-t: 400ms; --ent-d: 650ms; }
html.ent-run .hv-copy .actions > * { --ent-d: 750ms; }   /* the two actions arrive as one group */
html.ent-run .hv-copy .hero-facts { --ent-d: 820ms; }
/* one glint across the gold, once the pill has arrived; never again */
html.ent-run .hv-copy .hero-pill::after { animation: glint 900ms cubic-bezier(.4, 0, .2, 1) 850ms 1 both; }
/* the heading, line by line: site.js wraps each line as it is laid out (words are never split); each line rises
   into place behind a mask that reaches well past the letters, so descenders and the italic are never clipped
   once it has landed */
.ent-l { display: inline-block; vertical-align: top; padding: .12em .08em .3em; margin: -.12em -.08em -.3em;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 .3em); mask-image: linear-gradient(to top, transparent 0, #000 .3em); }
.ent-li { display: inline-block; animation: ent-line 550ms var(--ent-ease) calc(300ms + var(--i, 0) * 90ms) both; will-change: transform, opacity; }
@keyframes ent-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ent-print { from { opacity: 0; transform: translateY(16px) scale(.98); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes ent-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ent-line { from { opacity: 0; transform: translateY(.8em); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
/* reduced motion never gets the classes; if the setting changes mid-visit, everything is simply there */
@media (prefers-reduced-motion: reduce) {
  html:is(.ent-wait, .ent-run) :is(.site-header, #top-h, .hv-copy .hero-pill, .hv-copy .actions > *, .hv-copy .hero-facts, .mml-hero, .ent-li) { animation: none !important; opacity: 1 !important; transform: none !important; }
  html:is(.ent-wait, .ent-run) .mml-hero::before { animation: none !important; opacity: 1 !important; }
  html.ent-run .hv-copy .hero-pill::after { animation: none !important; }
}

/* ================================================================ home refinement (December 2026)
   The hero: a slightly smaller film with the words drawn up under it, "Truly" in the serif's italic, a smaller pill.
   The four feature sections (the difference, the tree, the map, Ask Stuart) share one shape: one headline, one short
   title (.fh-sub), one sentence and the button, with the demonstration taking about 58% of the width. */
.mml-hero { max-width: 1120px; }
.hv-copy { margin-top: clamp(22px, 2.6vw, 34px); }
.hero-video h1 em { font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hero-video .hero-pill { margin-bottom: 20px; padding: .28em .7em .28em .6em; letter-spacing: .03em; }
@media (max-width: 767px) { .hero-video .hero-pill { padding: .28em .65em .28em .55em; letter-spacing: .02em; } }

.dh, .fh { min-height: 0; padding-block: clamp(64px, 8vw, 112px); }
@media (min-width: 900px) { .dh, .fh { min-height: 0; } }
.dh-h, .fh-h { font-size: clamp(2rem, 1.35rem + 2.1vw, 3.05rem); line-height: 1.08; max-width: 12em; margin-bottom: .32em; }
.fh-sub { margin: 0 0 .45em; font: italic 400 clamp(1.2rem, 1.05rem + .55vw, 1.5rem)/1.3 var(--serif); color: var(--brass-text); }
.dh .fh-sub { color: #C9A45C; }
.dh .lede, .fh .lede, .fh-split .lede { font-size: clamp(1.02rem, .97rem + .2vw, 1.12rem); line-height: 1.6; max-width: 38ch; margin-bottom: 0; }
.dh .actions, .fh .actions { margin-top: 26px; }
.fh-split .pill { margin-top: 22px; }
@media (min-width: 900px) {
  .dh-grid:has(.mml-demo), .fh-grid:has(.mml-demo) { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: clamp(36px, 4.5vw, 72px); }
  .fh-flip .fh-grid:has(.mml-demo) { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
  #ask .fh-split { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: clamp(36px, 4.5vw, 72px); }
  .dh-visual-demo, .fh-demo, .ask-demo, .dh-visual-demo .mml-demo__frame, .fh-demo .mml-demo__frame, .ask-demo .mml-demo__frame { max-width: none; }
}
#ask.band { padding-block: clamp(64px, 8vw, 112px); }

/* ================================================================ How it works, simplified (December 2026)
   Six steps on the same timeline: a heading, one paragraph and, where it helps, one visual. Steps with a visual put it
   beside the words on wide screens, alternating sides. Each visual sits in a box of fixed proportions, so a better
   picture can replace it later without moving anything else. Then ownership, what each package delivers, one invitation. */
.hiw-hero { padding-bottom: clamp(36px, 4.5vw, 56px); }
.hiw-hero h1 { max-width: 18ch; }
.hiw-band { padding-top: clamp(44px, 5.5vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); }
.hiw-step { padding-bottom: clamp(44px, 5.5vw, 72px); }
.hw-copy > h2 { font-size: clamp(1.65rem, 1.25rem + 1.4vw, 2.2rem); max-width: 22ch; margin: 4px 0 .45em; }
.hiw-text { font-size: clamp(1.1rem, 1.05rem + .2vw, 1.2rem); line-height: 1.65; max-width: 46ch; margin: 0; }
.hw-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) {
  .hw-has-vis { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
  .hiw-step:nth-child(odd) .hw-has-vis { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
  .hiw-step:nth-child(odd) .hw-has-vis > .hw-vis { order: -1; }
}
.hw-cta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 18px 0 0; }
.hw-note { color: var(--ink-2); font-size: 1rem; }
.hw-after { margin: 14px 0 0; font: italic 400 clamp(1.15rem, 1.05rem + .4vw, 1.35rem)/1.4 var(--serif); color: var(--brass-text); max-width: 36ch; }
/* the visuals arrive as each step is reached (only when the script runs; without it everything is simply there) */
.hw-vis { transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.js .hiw-step:not(.is-on) .hw-vis { opacity: 0; transform: translateY(16px); }
.hw-material .material { margin: 0; flex-wrap: nowrap; padding: 8px 14px 0 6px; }
.hw-material .m { flex: 1 1 0; width: auto; min-width: 0; margin-right: -4%; }
.hw-material .m:last-child { margin-right: 0; }
/* step 3: Stuart connecting records, people and places */
.hw-research { display: grid; grid-template-columns: 88px minmax(40px, 1fr) minmax(0, 168px); align-items: stretch; height: clamp(200px, 22vw, 240px);
  padding: 22px clamp(18px, 2.4vw, 28px); border-radius: 14px; background: var(--deep); }
.hw-st { align-self: center; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; border: 2px solid var(--brass); box-shadow: 0 0 0 5px rgba(138, 106, 47, .12); }
.hw-st img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hw-links { width: 100%; height: 100%; overflow: visible; }
.hw-links path { fill: none; stroke: var(--brass); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease) 200ms; }
.js .hiw-step:not(.is-on) .hw-links path { stroke-dashoffset: 1; }
.hw-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 1fr); }
.hw-node { align-self: center; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--edge);
  font-weight: 600; font-size: 1rem; transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); transition-delay: calc(700ms + var(--i) * 140ms); }
.hw-node .icon { width: 20px; height: 20px; color: var(--brass-text); flex: none; }
.js .hiw-step:not(.is-on) .hw-node { opacity: 0; transform: translateX(-8px); }
/* step 4: the product tour */
.hw-film { margin: 0; }
.hw-film .mml-demo__frame { aspect-ratio: 16 / 9; max-width: none; border-radius: 12px; }
/* step 5: the video call photograph at its own proportions, or a quiet placeholder of the same shape until it arrives */
.hw-photo { display: block; width: 100%; height: auto; border-radius: 12px; }
.hw-ph { display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 16 / 9; border: 1.5px dashed var(--edge); border-radius: 12px; background: rgba(216, 210, 194, .22); color: var(--ink-2); font-size: 1rem; text-align: center; padding: 16px; }
.hw-ph .icon { width: 36px; height: 36px; color: var(--brass); }
/* step 6: the finished website, and what may come with it */
.hw-site { display: block; width: 100%; height: auto; }
.hw-extras { margin-top: 18px; }
.hw-extras-h { margin: 0 0 8px; font: 600 .95rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hw-extras ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hw-extras li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--deep); font-weight: 600; font-size: .95rem; }
.hw-extras .icon { width: 18px; height: 18px; color: var(--brass-text); }

/* ownership: the promise, three plain points, one honest note */
.own-ben { margin: 28px 0 22px; gap: 18px 32px; }
@media (min-width: 760px) { .own-ben { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.own-ben li { display: flex; gap: 14px; align-items: flex-start; padding: 0; border: 0; background: none; font-size: 1.08rem; line-height: 1.5; }
.own-ben li strong { display: block; margin-bottom: 2px; font: 500 1.3rem/1.25 var(--serif); color: var(--paper); }
.own-i { flex: none; margin-top: 3px; }

/* What you'll receive: three clear choices, one line about the chosen package, then four groups without boxes */
.receive .intro-block { max-width: 820px; margin-bottom: 28px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 720px; margin: 26px 0 16px; padding: 0; border: 0; border-radius: 0; background: none; }
.seg-o .seg-c { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 76px; padding: 12px 40px 12px 16px;
  border: 1.5px solid var(--edge); border-radius: 10px; background: var(--paper); color: var(--ink); transition: background var(--t1), color var(--t1), border-color var(--t1); }
.seg-o .seg-c span { display: block; min-height: 0; padding: 0; border-radius: 0; background: none !important; color: inherit; }
.seg-n { font: 500 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.2 var(--serif); }
.seg-p { font-size: .95rem; font-weight: 600; opacity: .8; }
.seg-tick { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; opacity: 0; transition: opacity var(--t1); }
.seg-o input:checked + .seg-c { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.seg-o input:checked + .seg-c .seg-tick { opacity: 1; color: #C9A45C; }
.seg-o:hover input:not(:checked) + .seg-c { border-color: var(--ink); background: var(--paper); }
.seg-o input:focus-visible + .seg-c { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 479px) { .seg { gap: 6px; } .seg-o .seg-c { padding: 10px 10px 10px 12px; min-height: 70px; } .seg-tick { top: 8px; right: 8px; width: 15px; height: 15px; } }
.dsums { margin: 0 0 clamp(28px, 4vw, 44px); }
.dsum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.dsum-tag { margin: 0; font: italic 400 1.25rem/1.3 var(--serif); color: var(--brass-text); }
.dsum-cov-t { display: inline; font-weight: 600; font-size: 1rem; }
.dsum-time { margin: 0; font-size: 1rem; }
.dgroups { columns: auto; display: grid; gap: 8px clamp(32px, 5vw, 64px); }
@media (min-width: 760px) { .dgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dgroups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 32px; } }
.dg { margin: 0 0 18px; padding: 0; border: 0; border-radius: 0; background: none; }
.dg h3 { font-size: 1.35rem; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--edge); }
.dl { padding: 10px 0; }
.dl + .dl { border-top: 0; }
.dl-icon { width: 38px; height: 38px; padding: 9px; }
.dl-t { font-size: 1.05rem; }
.dl-d { font-size: .98rem; }
.dsum-link { margin: 20px 0 0; }
.dsum-link .textlink { font-size: 1.05rem; }
.how-close .hc-facts { color: #C9A45C !important; }
.hiw-step { padding-bottom: clamp(40px, 4.5vw, 60px); }
.hiw-step:last-child { padding-bottom: 0; }
.own-band { padding-block: clamp(48px, 5.5vw, 76px); }
.receive.band { padding-block: clamp(52px, 6vw, 84px); }
.how-close.band { padding-block: clamp(56px, 6.5vw, 92px); }
@media (max-width: 599px) { .hw-material .m figcaption { display: none; } .hw-material .m { margin-right: 2%; } .hw-material .m:last-child { margin-right: 0; } }
@media (max-width: 399px) { .hw-research { grid-template-columns: 64px minmax(20px, 1fr) auto; padding: 18px 14px; } .hw-st { width: 64px; height: 64px; } .hw-node { gap: 8px; padding: 8px 12px; } }

/* ================================================================ section points
   Up to three very short points under a feature section's sentence (content.json "points"): one line each, a small
   brass check, the same quiet sans as the sentence, never louder than the title above them. */
.fh-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.fh-points li { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; line-height: 1.45; }
.fh-points .icon { width: 20px; height: 20px; flex: none; stroke-width: 2; color: var(--brass); }
.night .fh-points .icon, .dh .fh-points .icon { color: #C9A04F; }
.dh .lede, .fh .lede { margin-bottom: 22px; }

/* ================================================================ media first below the desktop layout
   The four home sections that pair words with a demonstration (Discover your family's story, the tree, the map, Ask
   Stuart) show the demonstration above its words until the two-column layout starts at 900 px. The DOM keeps the
   words first for screen readers; only the visual order changes. The demonstration is 88% wide, centred, in its
   usual rounded frame, and sits much closer to its own words (18 px) than to the next section (the band padding). */
@media (max-width: 899px) {
  .dh-grid:has(.mml-demo), .fh-grid:has(.mml-demo), #ask .fh-split { gap: 18px; }
  .dh-visual-demo, .fh-demo, .ask-demo { order: -1; width: 88%; max-width: none; margin-inline: auto; justify-self: center; padding: 0; }
  .dh-visual-demo .mml-demo__frame, .fh-demo .mml-demo__frame, .ask-demo .mml-demo__frame { max-width: none; margin-inline: auto; border-radius: 12px;
    box-shadow: 0 1px 2px rgba(40, 28, 10, .06), 0 14px 40px rgba(40, 28, 10, .12); }
  .dh .dh-visual-demo .mml-demo__frame { box-shadow: 0 0 0 1px rgba(245, 240, 230, .14), 0 18px 44px rgba(0, 0, 0, .35); }
  #ask .fh-split > div:first-child { order: 0; }
}

/* ================================================================ the package row (home)
   Lowest to highest price. From 900 px, three across with Heritage emphasised as before. Below that, one row that snaps
   card by card: each card about 80% wide with its neighbours peeking, Heritage centred on load (site.js "package row"),
   and dots that follow the centred card. Swipe, the arrow keys (the row takes focus) and the dots all move it. */
.pc-feat { list-style: none; margin: -4px 0 22px; padding: 0; display: grid; gap: 9px; }
.pc-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.pc-feat strong { color: var(--ink); font-weight: 600; }
.pc-feat .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brass-text); }
.pcard .btn { margin-top: auto; }
@media (max-width: 899px) {
  .pk-row { margin-inline: calc(-1 * var(--gutter)); }
  .pcards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    padding: 4px 10% 8px; scroll-padding-inline: 10%; -webkit-overflow-scrolling: touch; }
  .pcards::-webkit-scrollbar { display: none; }
  .pcards:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .pcards > .pcard { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }   /* the row keeps 10% each side: about 80% of the screen */
  .pcard .card-label { position: static; margin: -14px 0 8px; }
  .pk-dots:not([hidden]) { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
  .pk-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .pk-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--mist); box-shadow: inset 0 0 0 1px var(--edge); transition: transform .2s ease, background-color .2s ease; }
  .pk-dot[aria-current="true"]::before { background: var(--brass); box-shadow: none; transform: scale(1.25); }
  .pk-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; border-radius: 50%; }
}
@media (min-width: 900px) { .pk-dots { display: none !important; } }
