/* Bronze Star Services, v5 (2026-11-06). Big confident type, real photographs, lots of space, and a few objects that
   explain the business by playing once (a sale receipt, a process player, an annotated letter, a written estimate).
   No pinned or scroll-jacked sections. Rules and reasons: CLAUDE.md. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jakarta-400.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jakarta-500.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/jakarta-600.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/jakarta-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #f4f6fb;
  --ink: #0c1a36;
  --text: #3a465c;
  --muted: #5a6579;
  --line: #e3e8f0;
  --line-strong: #cdd5e1;
  --navy: #1450c8;
  --navy-deep: #0e3fa3;
  --blue: #1450c8;
  --blue-dark: #0e3fa3;
  --blue-tint: #edf2fd;
  --gold: #d8a31f;
  --logo-blue: #0f3d9e;
  --gold-bright: #e3bd4b;
  --gold-tint: #fbf3d7;
  --good: #0f7a4c;
  --good-tint: #e3f3ea;
  --money: #1450c8;
  --bad: #b42318;
  --bad-tint: #fdecea;
  --marker: #fbe9a4;
  --debt-1: #c9d0da;
  --debt-2: #b1bac7;
  --debt-3: #98a3b3;

  --font: "Plus Jakarta Sans", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --hero: clamp(38px, calc(1.2rem + 3.4vw), 68px);
  --display: clamp(32px, calc(1.1rem + 2.5vw), 54px);
  --h2: clamp(28px, calc(1rem + 1.7vw), 40px);
  --statement: clamp(26px, calc(1rem + 1.9vw), 44px);
  --sub: clamp(18px, calc(0.95rem + 0.5vw), 22px);
  --figure: clamp(48px, calc(1.5rem + 4.4vw), 88px);

  --shadow-object: 0 0 0 1px rgb(10 31 68 / 0.06), 0 2px 4px rgb(10 31 68 / 0.04), 0 28px 56px -28px rgb(10 31 68 / 0.28);
  --shadow-card: 0 0 0 1px rgb(10 31 68 / 0.07), 0 12px 32px -16px rgb(10 31 68 / 0.26);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 180ms;
  --wrap: 1200px;
  --narrow: 820px;
  --gutter: 32px;
  --section: 160px;
  --header-h: 88px;
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(p, li, dd, dt, td, th, figcaption, summary, a, h1, h2, h3, label) { overflow-wrap: break-word; }
:where(ul, ol) { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 700; color: var(--ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
::selection { background: #d6e4ff; color: var(--ink); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
.skip:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────────── Type roles ───────────── */
.t-hero { font-size: var(--hero); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.t-display { font-size: var(--display); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.t-h2 { font-size: var(--h2); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.t-h3 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.t-sub { font-size: var(--sub); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.t-body { font-size: 17px; line-height: 1.65; color: var(--text); }
.t-small { font-size: 15px; line-height: 1.5; color: var(--muted); }
p { text-wrap: pretty; }
.blue { color: var(--blue); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; } .mt-96 { margin-top: 96px; }

/* ───────────── Layout ───────────── */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section.paper { background: var(--paper); padding-top: var(--section); }
.section.paper + .section { padding-top: var(--section); }
.intro { max-width: 820px; margin: 0 auto 72px; text-align: center; }
.intro .t-sub { max-width: 640px; margin: 20px auto 0; }
.intro.left { margin-left: 0; text-align: left; }
.intro.left .t-sub { margin-left: 0; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.duo .t-sub { margin-top: 24px; max-width: 520px; }
.duo-text > .link, .duo-text > .btn-row { margin-top: 32px; }

/* ───────────── Buttons and links ───────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold-bright); color: var(--navy-deep); }
.btn-gold:hover { background: #edc95c; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 17px; }
.link .icon { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.link:hover { color: var(--blue-dark); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--paper); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ───────────── Logo ───────────── */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; }
.brand-mark { width: 16px; height: 16px; }
.wm-name { fill: var(--logo-blue); }
.bs-mark { fill: var(--gold); }

/* ───────────── Header: a clean rounded bar ───────────── */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter); transition: background-color 240ms var(--ease); }
.site-header.scrolled { background: rgb(255 255 255 / 0.86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
.header-bar { display: flex; align-items: center; gap: 24px; max-width: var(--wrap); height: 64px; margin: 0 auto; padding: 0 10px 0 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(10 31 68 / 0.06), 0 8px 24px -12px rgb(10 31 68 / 0.14); }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { padding: 8px 12px; font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }
.header-phone .icon { display: none; }
.header-bar .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.header-call, .menu-btn { display: none; }
.menu-sheet { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; opacity: 0; overflow-y: auto; transition: opacity 240ms var(--ease); }
.menu-sheet[hidden] { display: none; }
.menu-sheet.open { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-left: 10px; }
.menu-links { display: grid; margin-top: 16px; }
.menu-links a { padding: 12px 10px; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.menu-links a[aria-current="page"] { color: var(--blue); }
.menu-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
body.menu-open { overflow: hidden; }

/* ───────────── Address box ───────────── */
.addr { display: flex; gap: 8px; width: 100%; max-width: 560px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgb(10 31 68 / 0.08), 0 16px 40px -20px rgb(10 31 68 / 0.3); transition: box-shadow var(--fast) var(--ease); }
.addr:focus-within { box-shadow: 0 0 0 2px var(--blue), 0 16px 40px -20px rgb(10 31 68 / 0.3); }
.addr-field { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding-left: 16px; }
.addr-field .icon { color: var(--muted); }
.addr input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font-size: 17px; color: var(--ink); }
.addr input::placeholder { color: var(--muted); }
.addr .btn { min-height: 48px; }

/* ───────────── Hero, and the wide photograph that opens as it scrolls in ───────────── */
.hero { padding-top: 72px; }
.hero-head { display: grid; justify-items: center; text-align: center; }
.hero-head .t-hero { max-width: 880px; }
.hero-head .t-sub { max-width: 640px; margin-top: 28px; }
.hero-head .addr { margin-top: 40px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.hero-media { margin-top: 72px; padding-inline: var(--gutter); }
.hero-media-inner { max-width: 1440px; margin: 0 auto; aspect-ratio: 16 / 8; border-radius: 32px; overflow: hidden; background: var(--paper); transform-origin: 50% 0; transform: scale(calc(0.86 + 0.14 * var(--p, 0))); will-change: transform; }
.hero-media-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; transform: scale(calc(1.12 - 0.12 * var(--p, 0))); will-change: transform; }
.page-hero + .hero-media { margin-top: 32px; }

/* ───────────── Statement: words light up as you read ───────────── */
.statement { padding-block: var(--section); }
.t-statement { max-width: 1000px; margin: 0 auto; font-size: var(--statement); line-height: 1.22; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-align: center; text-wrap: balance; }
.t-statement .mark { background-image: linear-gradient(var(--marker), var(--marker)); background-repeat: no-repeat; background-position: 0 90%; background-size: calc(clamp(0, (var(--p, 1) * (var(--n) + 6) - var(--i0)) / var(--len), 1) * 100%) 0.38em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.t-statement .w { opacity: clamp(0.14, calc(var(--p, 1) * (var(--n) + 6) - var(--i)), 1); transition: opacity 120ms linear; }

/* ───────────── Objects: real things drawn in code ───────────── */
.object { position: relative; padding: 28px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-object); }
.obj-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.obj-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.tick { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; }
.tick .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.ready { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); font-size: 15px; font-weight: 700; }
.ready .icon { width: 16px; height: 16px; stroke-width: 2.4; }

/* Sale receipt */
.receipt { width: 100%; max-width: 520px; }
.r-rows { margin-top: 4px; }
.r-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.r-row dt { color: var(--text); }
.r-row dd { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-sale dd { font-size: 20px; }
.r-total { align-items: center; padding: 20px 0 4px; border-bottom: 0; }
.r-total dt { font-weight: 700; color: var(--ink); }
.r-row dd.r-figure { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--money); }
.r-bar { display: flex; height: 12px; margin-top: 20px; border-radius: 999px; overflow: hidden; background: var(--paper); }
.r-seg { flex: 0 0 var(--w); background: var(--debt-1); transform-origin: left; }
.r-seg:nth-child(2) { background: var(--debt-2); }
.r-seg:nth-child(3) { background: var(--debt-3); }
.r-seg + .r-seg { box-shadow: inset 2px 0 0 #fff; }
.r-seg.r-owner { background: var(--gold); }
.r-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.r-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--debt-2); }
.dot-owner { background: var(--gold); }
.receipt figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
html.js .receipt[data-play]:not(.play) .r-debt { opacity: 0; transform: translateY(10px); }
html.js .receipt[data-play]:not(.play) .r-seg { transform: scaleX(0); }
.receipt.play .r-debt { transition: opacity 500ms var(--ease) calc(var(--i) * 420ms + 200ms), transform 500ms var(--ease) calc(var(--i) * 420ms + 200ms); }
.receipt.play .r-seg { transition: transform 600ms var(--ease) calc(var(--i) * 420ms + 300ms); }

/* Written estimate */
.estimate { width: 100%; max-width: 520px; }
.e-parts { display: grid; gap: 4px; margin-top: 12px; }
.e-parts li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; margin-inline: -12px; padding: 16px 12px; border-radius: 16px; }
.e-n { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; }
.e-n b { color: inherit; opacity: 0; }
.e-n .icon { position: absolute; width: 16px; height: 16px; stroke-width: 2.4; }
.e-label { font-size: 17px; font-weight: 700; color: var(--ink); }
.e-parts li p + p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--text); }
.e-sign { display: grid; gap: 10px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.e-line { display: block; width: 62%; height: 1px; background: var(--line-strong); }
html.js .estimate[data-play]:not(.play) .e-n { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--muted); }
html.js .estimate[data-play]:not(.play) .e-n b { opacity: 1; }
html.js .estimate[data-play]:not(.play) .e-n .icon { opacity: 0; transform: scale(0.5); }
.estimate.play li { animation: e-flash 1400ms var(--ease) calc(var(--i) * 620ms + 200ms) both; }
.estimate.play .e-n { transition: background-color 300ms var(--ease) calc(var(--i) * 620ms + 600ms), box-shadow 300ms var(--ease) calc(var(--i) * 620ms + 600ms), color 300ms var(--ease) calc(var(--i) * 620ms + 600ms); }
.estimate.play .e-n b { transition: opacity 200ms var(--ease) calc(var(--i) * 620ms + 600ms); }
.estimate.play .e-n .icon { transition: opacity 300ms var(--ease) calc(var(--i) * 620ms + 650ms), transform 400ms var(--ease) calc(var(--i) * 620ms + 650ms); }
@keyframes e-flash { 0% { background-color: transparent; } 35% { background-color: var(--blue-tint); } 100% { background-color: transparent; } }

/* Checklist */
.checklist { width: 100%; max-width: 520px; }
.checklist ul { display: grid; gap: 16px; margin: 20px 0 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.checklist .tick { margin-top: 1px; }
html.js [data-play]:not(.play) .tick, html.js .pp-panel:not(.run) .tick { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
html.js [data-play]:not(.play) .tick .icon, html.js .pp-panel:not(.run) .tick .icon { opacity: 0; transform: scale(0.5); }
html.js [data-play]:not(.play) .ready, html.js .pp-panel:not(.run) .ready { opacity: 0; transform: translateY(8px); }
.play .tick, .run .tick { transition: background-color 300ms var(--ease) calc(var(--i) * 480ms + 300ms), box-shadow 300ms var(--ease) calc(var(--i) * 480ms + 300ms); }
.play .tick .icon, .run .tick .icon { transition: opacity 300ms var(--ease) calc(var(--i) * 480ms + 340ms), transform 400ms var(--ease) calc(var(--i) * 480ms + 340ms); }
.play .ready, .run .ready { transition: opacity 400ms var(--ease) calc(var(--i) * 480ms + 400ms), transform 400ms var(--ease) calc(var(--i) * 480ms + 400ms); }

/* Annotated letter */
.letter-stage { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: center; }
.letter-stage .photo { aspect-ratio: 4 / 5; }
.aletter { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 48px; align-items: start; }
.letter { position: relative; padding: 32px 30px 36px; border-radius: 10px; background: #fffdf8; box-shadow: var(--shadow-object); font-size: 15px; line-height: 1.6; color: var(--text); transform: rotate(-0.6deg); }
.l-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.l-seal { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.l-bars { display: grid; flex: 1; gap: 9px; margin: 14px 0; }
.l-top .l-bars { margin: 0; }
.l-bars i { display: block; width: var(--w); height: 8px; border-radius: 4px; background: #ece6dc; }
.l-date { color: var(--muted); }
.l-re { margin-top: 4px; font-weight: 700; color: var(--ink); }
.hl { position: relative; isolation: isolate; margin: 6px -8px; padding: 7px 40px 7px 10px; color: var(--ink); line-height: 1.45; }
.hl::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px; background: var(--marker); transform-origin: left; }
.hl.bad::before { background: var(--bad-tint); }
.hl b { position: absolute; top: 50%; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--good); color: #fff; font-size: 14px; line-height: 1; }
.hl.bad b { background: var(--bad); }
.l-sign { display: block; width: 120px; height: 1px; margin-top: 28px; background: var(--line-strong); }
.l-notes { position: relative; display: grid; gap: 28px; }
.l-note { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; }
.l-mark { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--good-tint); color: var(--good); }
.l-mark .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.l-note.bad .l-mark { background: var(--bad-tint); color: var(--bad); }
.l-note-title { font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.l-note p + p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--text); }
.aletter.placed .l-notes { display: block; align-self: stretch; }
.aletter.placed .l-note { position: absolute; top: var(--y, 0); left: 0; right: 0; }
.aletter.placed .l-note::before { content: ""; position: absolute; top: 16px; left: -42px; width: 34px; border-top: 1px solid var(--line-strong); }
html.js .aletter[data-play]:not(.play) .hl::before { transform: scaleX(0); }
html.js .aletter[data-play]:not(.play) .hl b { transform: scale(0); }
html.js .aletter[data-play]:not(.play) .l-note { opacity: 0; transform: translateX(-10px); }
.aletter.play .hl::before { transition: transform 600ms var(--ease) calc(var(--i) * 650ms + 200ms); }
.aletter.play .hl b { transition: transform 400ms var(--ease) calc(var(--i) * 650ms + 600ms); }
.aletter.play .l-note { transition: opacity 500ms var(--ease) calc(var(--i) * 650ms + 500ms), transform 500ms var(--ease) calc(var(--i) * 650ms + 500ms); }

/* ───────────── The process player ───────────── */
.pp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "tabs stage"; gap: 56px; align-items: center; }
.pp-tabs { grid-area: tabs; display: grid; gap: 6px; }
.pp-tab { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; width: 100%; padding: 20px 20px 24px; border: 0; border-radius: 20px; background: transparent; text-align: left; cursor: pointer; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.pp-tab:hover { background: rgb(10 31 68 / 0.03); }
.pp-tab[aria-selected="true"] { background: #fff; box-shadow: var(--shadow-card); }
.pp-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 17px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease); }
.pp-tab[aria-selected="true"] .pp-num { background: var(--blue); box-shadow: none; color: #fff; }
.pp-text { display: grid; align-content: center; min-height: 40px; }
.pp-short { display: none; }
.pp-title { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--muted); transition: color 300ms var(--ease); }
.pp-tab:hover .pp-title, .pp-tab[aria-selected="true"] .pp-title { color: var(--ink); }
.pp-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease); }
.pp-tab[aria-selected="true"] .pp-more { grid-template-rows: 1fr; }
.pp-line { min-height: 0; overflow: hidden; font-size: 17px; line-height: 1.55; color: var(--text); }
.pp-line::before { content: ""; display: block; height: 8px; }
.pp-bar { position: absolute; right: 20px; bottom: 10px; left: 76px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); opacity: 0; }
.pp.auto .pp-tab[aria-selected="true"] .pp-bar { opacity: 1; }
.pp-bar i { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.pp.auto .pp-tab[aria-selected="true"] .pp-bar i { animation: pp-fill 4500ms linear forwards; }
.pp.auto.paused .pp-tab[aria-selected="true"] .pp-bar i { animation-play-state: paused; }
@keyframes pp-fill { to { transform: scaleX(1); } }
.pp-stage { grid-area: stage; position: relative; aspect-ratio: 5 / 4; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-object); overflow: hidden; }
.pp-panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 40px; opacity: 0; visibility: hidden; transition: opacity 260ms var(--ease), visibility 0s linear 260ms; }
.pp-panel.on { opacity: 1; visibility: visible; transition: opacity 420ms var(--ease) 80ms; }
.pp-pause { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); cursor: pointer; }
.pp-pause:hover { color: var(--blue); }
.pp-pause .icon + .icon, .pp-pause[aria-pressed="true"] .icon:first-child { display: none; }
.pp-pause[aria-pressed="true"] .icon + .icon { display: block; }
html:not(.js) .pp-pause, .pp:not(.auto) .pp-pause { display: none; }
.pp-detail { display: none; }

/* The four small scenes inside the stage */
.v { display: grid; gap: 16px; width: 100%; max-width: 460px; }
.v-card { padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.v-title { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); }
.v-strong { font-size: 17px; font-weight: 700; color: var(--ink); }
.v-meta { font-size: 15px; line-height: 1.45; color: var(--muted); }
.v-num { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--money); font-variant-numeric: tabular-nums; }
.v-search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); font-size: 17px; color: var(--ink); }
.v-search .icon { color: var(--muted); }
.v-type { overflow: hidden; white-space: nowrap; }
.v-caret { width: 2px; height: 22px; margin-left: -10px; border-radius: 1px; background: var(--blue); opacity: 0; }
.run .v-caret.typing { opacity: 1; }
.v-result { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.v-check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; }
.v-check .icon { stroke-width: 2.4; }
.v-amt { text-align: right; }
html.js .pp-panel:not(.run) .v-result { opacity: 0; transform: translateY(12px); }
.run .v-result { transition: opacity 500ms var(--ease) 1500ms, transform 500ms var(--ease) 1500ms; }
.v-doc dl { display: grid; margin: 4px 0 14px; }
.v-doc dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.v-doc dt { color: var(--muted); }
.v-doc dd { position: relative; z-index: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.v-doc mark { position: relative; padding: 2px 6px; margin: -2px -6px; background: transparent; color: inherit; }
.v-doc mark::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: var(--marker); transform-origin: left; }
html.js .pp-panel:not(.run) .v-doc dd { opacity: 0; }
html.js .pp-panel:not(.run) .v-doc mark::before { transform: scaleX(0); }
.run .v-doc dd { transition: opacity 300ms var(--ease) calc(var(--i) * 420ms + 300ms); }
.run .v-doc mark::before { transition: transform 500ms var(--ease) calc(var(--i) * 420ms + 360ms); }
.v-list ul { display: grid; gap: 14px; margin: 16px 0 20px; }
.v-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--ink); }
.v-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
.v-steps::before, .v-steps::after { content: ""; position: absolute; top: 7px; right: 16.66%; left: 16.66%; height: 2px; border-radius: 2px; background: var(--line-strong); }
.v-steps::after { background: var(--blue); transform-origin: left; }
.v-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.v-steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #fff; }
html.js .pp-panel:not(.run) .v-steps::after { transform: scaleX(0); }
html.js .pp-panel:not(.run) .v-steps li::before { background: #fff; box-shadow: 0 0 0 4px #fff, inset 0 0 0 2px var(--line-strong); }
.run .v-steps::after { transition: transform 1300ms var(--ease) 200ms; }
.run .v-steps li::before { transition: background-color 300ms var(--ease) calc(var(--i) * 600ms + 200ms), box-shadow 300ms var(--ease) calc(var(--i) * 600ms + 200ms); }
.v-paid { text-align: center; }
.v-big { margin-top: 6px; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; color: var(--money); font-variant-numeric: tabular-nums; }
html.js .pp-panel:not(.run) .v-paid { opacity: 0; transform: translateY(12px); }
.run .v-paid { transition: opacity 500ms var(--ease) 1600ms, transform 500ms var(--ease) 1600ms; }

/* ───────────── Cards that are links, and photographs with a point ───────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.pcard { position: relative; display: block; isolation: isolate; overflow: hidden; border-radius: 28px; background: var(--paper); }
.pcard-photo { aspect-ratio: 4 / 5; }
.pcard.wide .pcard-photo { aspect-ratio: 5 / 4; }
.pcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.pcard-plate { position: absolute; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "meta meta" "title go" "text text"; column-gap: 16px; align-items: center; align-content: start; min-height: 152px; padding: 18px 18px 22px 22px; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px -14px rgb(10 31 68 / 0.35); }
.pcard-plate .pcard-meta { grid-area: meta; }
.pcard-plate .pcard-title { grid-area: title; }
.pcard-plate .pcard-go { grid-area: go; }
.pcard-plate .pcard-text { grid-area: text; }
.pcard-title { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.pcard-text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pcard-meta { margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.pcard-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.pcard:focus-visible { outline-offset: 4px; border-radius: 28px; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard-photo img { transform: scale(1.04); }
  .pcard:hover .pcard-go { background: var(--navy-deep); transform: translateX(2px); }
}
.ppoints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.ppoint-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: var(--paper); }
.ppoint-photo img { width: 100%; height: 100%; object-fit: cover; }
.ppoint h3 { margin-top: 20px; }
.ppoint p { margin-top: 8px; color: var(--text); }

/* ───────────── Photo with words ───────────── */
.wide-photo { aspect-ratio: 21 / 9; overflow: hidden; border-radius: 32px; background: var(--paper); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo { overflow: hidden; border-radius: 28px; background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 3 / 2; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split-photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split-photo .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.split-photo .t-h2 + .t-sub { margin-top: 20px; }

/* ───────────── Fees ───────────── */
.law { max-width: 760px; margin: 72px auto 0; padding-top: 32px; border-top: 1px solid var(--line-strong); text-align: center; color: var(--text); }
.law strong { display: block; margin-bottom: 8px; font-size: 17px; }
.law.left { max-width: 520px; margin: 40px 0 0; text-align: left; }

/* ───────────── Rows of facts and the timeline ───────────── */
.rows { border-top: 1px solid var(--line-strong); }
.rows > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.rows dt { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.rows dd { font-size: 17px; color: var(--text); }
.split-photo .rows > div { grid-template-columns: 180px minmax(0, 1fr); }
.note { margin-top: 32px; font-size: 17px; color: var(--muted); }
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.needs li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.needs li .icon { width: 28px; height: 28px; color: var(--blue); }
.track { position: relative; display: grid; padding-left: 48px; }
.track::before, .track::after { content: ""; position: absolute; top: 30px; bottom: 30px; left: 11px; width: 2px; border-radius: 2px; background: var(--line-strong); }
.track::after { background: var(--blue); transform-origin: top; }
.track li { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 20px 0; }
.t-dot { position: absolute; top: 22px; left: -48px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.t-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--blue); }
.t-when { font-size: 17px; font-weight: 700; color: var(--ink); }
.t-what { font-size: 17px; color: var(--text); }
.t-pill { display: inline-flex; align-items: center; height: 24px; margin-left: 10px; padding: 0 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; vertical-align: 2px; }
.track li.flag .t-when { color: var(--blue); }
.duo .track li { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
html.js .track[data-play]:not(.play)::after { transform: scaleY(0); }
html.js .track[data-play]:not(.play) .t-dot::after { transform: scale(0); }
.track.play::after { transition: transform 2200ms var(--ease) 200ms; }
.track.play .t-dot::after { transition: transform 400ms var(--ease) calc(var(--i) * 360ms + 260ms); }

/* ───────────── Compare three kinds of sale ───────────── */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.compare h3 { padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.compare dl > div { padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.compare dt { font-size: 15px; font-weight: 600; color: var(--muted); }
.compare dd { margin-top: 6px; font-size: 17px; color: var(--ink); }
.compare .link { margin-top: 24px; }

/* ───────────── Voice ───────────── */
.voice { max-width: 980px; margin: 0 auto; text-align: center; }
.voice blockquote p { font-size: clamp(26px, calc(1rem + 1.8vw), 40px); line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.voice figcaption { margin-top: 28px; font-size: 17px; color: var(--muted); }
.voice figcaption strong { color: var(--ink); }
.voices-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 980px; margin: 88px auto 0; }
.voices-more blockquote p { font-size: 19px; line-height: 1.6; color: var(--ink); }
.voices-more figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ───────────── FAQ ───────────── */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; list-style: none; cursor: pointer; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; top: 50%; right: 3px; left: 3px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink); transition: transform 260ms var(--ease); }
.faq-item summary .pm::after { transform: rotate(90deg); }
.faq-item[open] summary .pm::after { transform: rotate(0deg); }
.faq-item .answer { padding: 0 56px 32px 0; font-size: 17px; color: var(--text); }
.faq-item .answer > * + * { margin-top: 12px; }
.faq-item .answer a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
html.js .faq-item[open] .answer { animation: faq-in 260ms var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
.faq-groups { display: grid; gap: 96px; }
.faq-group > h2 { max-width: 860px; margin: 0 auto 24px; }

/* ───────────── Final call ───────────── */
.final { padding-block: 176px; text-align: center; }
.final .t-display { max-width: 900px; margin: 0 auto; }
.final .t-sub { max-width: 600px; margin: 24px auto 0; }
.final .addr { margin: 40px auto 0; }
.final-call { display: inline-block; margin-top: 24px; font-size: 17px; font-weight: 600; color: var(--blue); }
.final-call:hover { color: var(--blue-dark); }

/* ───────────── Page hero (inner pages) ───────────── */
.page-hero { padding: 96px 0 40px; text-align: center; }
.page-hero .t-display { max-width: 980px; margin: 0 auto; }
.page-hero .t-sub { max-width: 680px; margin: 28px auto 0; }
.page-hero .btn-row { justify-content: center; margin-top: 40px; }

/* ───────────── Estimator ───────────── */
.estimator { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow-object); }
.est-in { display: grid; gap: 22px; padding: 40px; }
.est-out { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; padding: 40px; background: var(--paper); }
.est-out .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.est-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.est-figure { font-size: var(--figure); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--money); font-variant-numeric: tabular-nums; }
.est-figure.none { color: var(--ink); }
.est-sum { font-size: 17px; color: var(--text); }
.est-bar { display: flex; height: 14px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: var(--line); }
.est-bar span { flex: 0 0 auto; width: var(--w, 0%); background: var(--debt-2); transition: width 500ms var(--ease); }
.est-bar .est-owner { background: var(--gold); }
.est-note { padding-top: 16px; border-top: 1px solid var(--line-strong); font-size: 15px; color: var(--muted); }
.money { position: relative; }
.money > span { position: absolute; top: 50%; left: 18px; transform: translateY(-50%); font-size: 17px; color: var(--muted); pointer-events: none; }
.money .input { padding-left: 34px; font-variant-numeric: tabular-nums; }
.seg { display: inline-grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; padding: 4px; border: 0; border-radius: 999px; background: var(--paper); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg label span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.seg input:checked + span { background: #fff; box-shadow: var(--shadow-card); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ───────────── Articles (guides) and legal pages ───────────── */
.article-hero { padding: 88px 0 48px; }
.article-head { max-width: 1020px; margin-inline: auto; }
.article-hero + .section { padding-top: 32px; }
.article-hero + .hero-media { margin-top: 0; }
.hero-media + .section:not(.paper) { padding-top: 128px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue); }
.crumb .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.article-hero .t-display { max-width: 920px; margin-top: 20px; }
.article-hero .t-sub { max-width: 720px; margin-top: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 16px; height: 16px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 80px; justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 40px); display: grid; align-self: start; gap: 2px; }
.toc p { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.toc a { display: block; margin-left: -12px; padding: 6px 12px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: var(--text); }
.toc a:hover { background: var(--paper); color: var(--ink); }
.toc a.current { color: var(--blue); font-weight: 600; }
.article { min-width: 0; font-size: 19px; line-height: 1.7; color: var(--text); overflow-wrap: break-word; }
.article > * + * { margin-top: 20px; }
.article h2 { margin-top: 64px; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 32px; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.article ul, .article ol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-left: 26px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li::marker { color: var(--muted); }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article .callout { padding: 24px 28px; border-radius: 20px; background: var(--blue-tint); font-size: 17px; line-height: 1.6; color: var(--ink); }
.article .callout.warn { background: var(--bad-tint); }
.article .callout strong { display: block; margin-bottom: 6px; }
.article .callout p + p { margin-top: 10px; }
.article figure.wide-photo { margin-block: 40px; aspect-ratio: 16 / 9; border-radius: 24px; }
.sources { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-strong); font-size: 15px; line-height: 1.6; color: var(--muted); }
.sources h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.01em; }
.sources ol { display: grid; gap: 8px; padding-left: 22px; list-style: decimal; }
.sources a { color: var(--text); }
.article.legal { font-size: 17px; line-height: 1.7; }
.article.legal h2 { font-size: 24px; margin-top: 56px; }
.article.legal h2:first-child { margin-top: 0; }
.article.legal ul { gap: 8px; }
.article .keep { padding: 24px 28px; border-radius: 20px; background: var(--paper); box-shadow: inset 4px 0 0 var(--blue); color: var(--ink); }
.article .keep p + p { margin-top: 10px; }
.article .samples { display: grid; gap: 12px; padding: 0; list-style: none; }
.article .samples li { padding: 16px 20px; border-radius: 16px 16px 16px 4px; background: var(--paper); font-size: 15px; line-height: 1.55; color: var(--ink); }
.article .samples li span { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ───────────── Forms ───────────── */
.form { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.field legend { margin-bottom: 10px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 15px; line-height: 1.45; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 56px; padding: 14px 18px; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.4; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.textarea { min-height: 128px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.field.invalid .input { background: #fff; box-shadow: inset 0 0 0 2px var(--bad); }
.field .error { display: none; font-size: 15px; color: var(--bad); }
.field.invalid .error { display: block; }
fieldset.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tile > span { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 60px; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.tile:hover > span { box-shadow: inset 0 0 0 1px var(--line-strong); }
.tile-box { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: #fff; transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.tile-box .icon { width: 14px; height: 14px; stroke-width: 2.6; opacity: 0; transform: scale(0.6); transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease); }
.tile input:checked + span { background: var(--blue-tint); box-shadow: inset 0 0 0 2px var(--blue); }
.tile input:checked + span .tile-box { background: var(--blue); box-shadow: none; }
.tile input:checked + span .tile-box .icon { opacity: 1; transform: none; }
.tile input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: 16px; background: var(--paper); cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.consent:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent-box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--muted); color: #fff; transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.consent-box .icon { width: 16px; height: 16px; stroke-width: 2.6; opacity: 0; transform: scale(0.6); transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease); }
.consent input:checked + .consent-box { background: var(--blue); box-shadow: none; }
.consent input:checked + .consent-box .icon { opacity: 1; transform: none; }
.consent input:focus-visible + .consent-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent:has(input:checked) { background: var(--blue-tint); box-shadow: inset 0 0 0 1.5px var(--blue); }
.consent-lead { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.consent-text { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--text); }
.consent-text a { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-status:empty { display: none; }
.form-status.error { padding: 14px 18px; border-radius: 14px; background: var(--bad-tint); color: var(--bad); font-size: 17px; }
.form-status a { text-decoration: underline; font-weight: 700; }
.form-sent { display: grid; gap: 12px; padding: 40px; border-radius: 28px; background: var(--paper); }
.form-sent[hidden] { display: none; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; align-items: start; }
.contact-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 32px; }
.contact-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: var(--paper); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-side .label { font-size: 15px; color: var(--muted); }
.contact-side .big { display: block; margin-top: 6px; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.contact-side .mail { display: block; margin-top: 6px; font-size: 19px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-side .plain { display: block; margin-top: 6px; font-size: 17px; color: var(--ink); }
.contact-side a:hover { color: var(--blue); }
.contact-facts { display: grid; gap: 24px; }
.next-list { display: grid; gap: 18px; margin-top: 16px; }
.next-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 17px; color: var(--text); }
.next-list .n { font-size: 17px; font-weight: 700; color: var(--blue); }

/* ───────────── Footer ───────────── */
.site-footer { background: var(--paper); font-size: 15px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 80px; }
.footer-brand > p { max-width: 300px; margin-top: 16px; line-height: 1.6; }
.footer-contact { display: grid; gap: 10px; margin-top: 24px; }
.footer-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.5; }
.footer-contact .icon { margin-top: 2px; color: var(--muted); }
.footer-contact a { font-weight: 600; color: var(--ink); }
.footer-contact a:hover { color: var(--blue); }
.footer-col { display: grid; align-content: start; gap: 12px; }
.footer-head { margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.footer-col a { color: var(--text); transition: color var(--fast) var(--ease); }
.footer-col a:hover { color: var(--blue); }
.footer-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-strong); font-size: 14px; line-height: 1.65; }
.footer-notes strong { display: block; margin-bottom: 6px; color: var(--ink); }
.footer-notes a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding: 24px 0 40px; border-top: 1px solid var(--line-strong); font-size: 14px; }

/* ───────────── Blue and gold: the firm (client, 2026-11-10) ───────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--blue); }
.eyebrow .brand-mark { width: 16px; height: 16px; }
.firm-actions { margin-top: 32px; gap: 16px 24px; }
.claim-review { padding-block: 48px; background: var(--paper); border-block: 1px solid var(--line); }
.claim-review-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.claim-review .t-sub { margin-top: 12px; }
.claim-review .addr { max-width: none; }

.photo-hero {
  display: grid;
  min-height: clamp(480px, 43vw, 650px);
  align-items: center;
  position: relative;
  isolation: isolate;
  background: var(--ink);
}
.photo-hero-image, .photo-hero::after { position: absolute; inset: 0; }
.photo-hero-image { z-index: -2; overflow: hidden; }
.photo-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgb(6 18 41 / 94%) 0%, rgb(6 18 41 / 85%) 35%, rgb(6 18 41 / 62%) 49%, rgb(6 18 41 / 14%) 74%);
}
.photo-hero .photo-hero-intro { padding-block: 64px; }
.photo-hero .photo-hero-head { max-width: 570px; }
.photo-hero-head .t-display { margin-top: 16px; }
.photo-hero .photo-hero-detail { max-width: 470px; margin-top: 20px; }
.photo-hero .firm-actions { margin-top: 24px; }
.photo-hero .eyebrow { color: var(--gold-bright); }
.photo-hero .t-display, .photo-hero .t-sub, .photo-hero .link { color: #fff; }
.photo-hero .t-display { text-wrap: balance; }
.photo-hero .link { text-decoration: underline; text-underline-offset: 5px; }
.photo-hero .btn-primary { box-shadow: 0 0 0 1px rgb(255 255 255 / 40%); }
.photo-hero :focus-visible { outline-color: var(--gold-bright); }

.benefit-section { padding-block: 32px 40px; }
.benefit-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(300px, 27vw, 386px);
  padding: 12px;
  border-radius: 24px;
  background: var(--paper);
}
.benefit-photo { position: absolute; inset: 0; z-index: -1; }
.benefit-photo img { width: 100%; height: 100%; object-fit: cover; }
.benefit-card .pcard-plate {
  position: static;
  display: block;
  min-height: 146px;
  padding: 18px 20px 20px;
  border-radius: 16px;
}

.claim-overview { padding-block: clamp(56px, 7vw, 104px); }
.claim-overview-copy .t-sub { margin-top: 20px; }
.claim-overview-copy p + p { margin-top: 14px; max-width: 50ch; }
.claim-overview-copy .link { margin-top: 24px; }
.claim-overview + .section.paper { padding-top: clamp(56px, 7vw, 104px); }

@media (max-width: 960px) {
  .photo-hero::after {
    background: linear-gradient(90deg, rgb(6 18 41 / 94%), rgb(6 18 41 / 74%) 60%, rgb(6 18 41 / 34%));
  }
}
@media (max-width: 760px) {
  .photo-hero { align-items: end; min-height: 590px; }
  .photo-hero .photo-hero-intro { padding-block: 160px 36px; }
  .photo-hero::after {
    background: linear-gradient(180deg, rgb(6 18 41 / 9%) 0%, rgb(6 18 41 / 84%) 40%, rgb(6 18 41 / 96%) 76%);
  }
  .benefit-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .benefit-card { min-height: 0; padding: 0; border-radius: 20px; box-shadow: var(--shadow-card); }
  .benefit-photo { position: static; aspect-ratio: 16 / 9; }
  .benefit-card .pcard-plate { min-height: 0; border-radius: 0; }
}

/* ───────────── Motion ───────────── */
@keyframes rise { from { opacity: 0.01; transform: translate3d(0, 18px, 0); } }
.enter > * { animation: rise 700ms var(--ease) backwards; }
.enter > :nth-child(2) { animation-delay: 80ms; }
.enter > :nth-child(3) { animation-delay: 160ms; }
.enter > :nth-child(4) { animation-delay: 240ms; }
html.js [data-reveal] { opacity: 0.01; transform: translate3d(0, 24px, 0); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero-media-inner, .hero-media-inner img { transform: none; }
  .t-statement .w { opacity: 1; }
  .letter { transform: none; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; }
  .header-phone { display: none; }
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .ppoints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aletter { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .letter-stage { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .letter-stage .photo { aspect-ratio: 16 / 9; }
  .article-layout { grid-template-columns: minmax(0, 720px); gap: 40px; }
  .toc { position: static; padding: 20px 24px; border-radius: 20px; background: var(--paper); }
}
@media (max-width: 960px) {
  :root { --section: 112px; }
  .nav, .header-actions .btn { display: none; }
  .header-call, .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; gap: 4px; }
  .header-bar { height: 60px; padding: 0 6px 0 18px; border-radius: 18px; }
  .claim-review-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cards, .cards.two, .split, .split-photo, .duo, .contact-layout, .voices-more, .compare, .estimator { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 20px; }
  .duo { gap: 48px; }
  .duo .receipt, .duo .estimate { justify-self: center; }
  .split { gap: 40px; }
  .split-photo { gap: 40px; }
  .split-photo .sticky, .contact-side { position: static; }
  .compare { gap: 56px; }
  .hero-media-inner { aspect-ratio: 4 / 3; border-radius: 24px; }
  .hero-media-inner img { object-position: 45% 60%; }
  .pp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "tabs" "detail"; gap: 16px; }
  .pp-stage { aspect-ratio: auto; min-height: 360px; }
  html.js .pp-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  html.js .pp-tab { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; padding: 12px 4px 18px; border-radius: 16px; text-align: center; }
  html.js .pp-num { width: 30px; height: 30px; font-size: 15px; }
  html.js .pp-text { min-height: 0; }
  html.js .pp-short { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--muted); }
  html.js .pp-tab[aria-selected="true"] .pp-short { color: var(--ink); }
  html.js .pp-title, html.js .pp-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.js .pp-bar { right: 12px; bottom: 8px; left: 12px; }
  html.js .pp-detail { grid-area: detail; display: block; padding: 8px 4px 0; }
  .pp-d-title { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
  .pp-d-line { margin-top: 6px; font-size: 17px; color: var(--text); }
  .estimator .est-in, .estimator .est-out { padding: 32px 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 88px; --header-h: 84px; }
  .site-header { padding: 10px 12px; }
  .hero { padding-top: 40px; }
  .hero-media { margin-top: 48px; padding-inline: 12px; }
  .hero-media-inner { aspect-ratio: 4 / 5; border-radius: 22px; }
  .hero-media-inner img { object-position: 38% 60%; }
  .intro { margin-bottom: 48px; }
  .addr { flex-direction: column; border-radius: 24px; padding: 8px; }
  .addr-field { padding: 0 10px; }
  .addr .btn { width: 100%; }
  .object { padding: 22px 20px; border-radius: 22px; }
  .r-row { font-size: 15px; gap: 16px; }
  .r-sale dd { font-size: 17px; }
  .r-figure { font-size: 32px; }
  .pcard, .photo, .wide-photo { border-radius: 22px; }
  .pcard { background: #fff; box-shadow: var(--shadow-card); }
  .pcard-photo, .pcard.wide .pcard-photo { aspect-ratio: 16 / 10; }
  .pcard-plate { position: static; min-height: 0; padding: 18px 18px 20px; border-radius: 0; box-shadow: none; }
  .pcard-title { font-size: 20px; }
  .wide-photo { aspect-ratio: 4 / 3; }
  .ppoints { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .letter { padding: 26px 22px 30px; transform: none; }
  .pp-stage { min-height: 340px; border-radius: 22px; }
  .pp-panel { padding: 64px 20px 72px; }
  .v-card { padding: 18px; }
  .v-search { height: 52px; padding: 0 16px; font-size: 15px; }
  .v-result { grid-template-columns: 32px minmax(0, 1fr); }
  .v-amt { grid-column: 2; text-align: left; }
  .v-doc dl div { font-size: 15px; }
  .v-big { font-size: 32px; }
  .rows > div, .split-photo .rows > div, .track li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; }
  .track { padding-left: 40px; }
  .t-dot { left: -40px; top: 24px; }
  .needs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-item summary { font-size: 19px; padding: 22px 0; }
  .faq-item .answer { padding-right: 0; }
  .form-row, .tiles, .tiles.four { grid-template-columns: minmax(0, 1fr); }
  .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg { display: grid; width: 100%; }
  .seg label span { padding: 0 12px; }
  .form-sent { padding: 28px; }
  .final { padding-block: 112px; }
  .page-hero { padding: 56px 0 24px; }
  .article-hero { padding: 56px 0 32px; }
  .article { font-size: 17px; }
  .article h2 { margin-top: 48px; font-size: 24px; }
  .article .callout, .article .keep { padding: 20px; }
  .estimator { border-radius: 22px; }
  .estimator .est-in, .estimator .est-out { padding: 24px 20px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-top: 56px; }
  .footer-notes { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .footer-legal { display: grid; }
}
@media (max-width: 380px) {
  .brand-logo { height: 20px; }
  .header-bar { gap: 8px; padding-left: 14px; }
}
