/* 33 Masthead: Eskela Law (sample)
   High-fidelity recreation of the look of opus-template.framer.website (our own code, CC0 photos).
   White page, black type, one cobalt. The firm name is a two-line masthead with a photo set inline like a word.
   Re-skin: change the shared token layer below. Breakpoints 760 / 1080 (ncs-desktop). No JavaScript. */
:root {
  /* Shared token layer (library-wide names) */
  --c-bg: #ffffff;
  --c-surface: #f3f3f1;            /* fee band, photo placeholders, quote cards, form */
  --c-ink: #000000;
  --c-muted: #666666;              /* 5.7:1 on white, 5.6:1 on the surface */
  --c-line: rgba(0, 0, 0, .10);    /* decorative rules */
  --c-line-strong: rgba(0, 0, 0, .45); /* field borders, 3:1+ */
  --c-accent: #0048f9;             /* cobalt: stats, practice rows, pills, arrows. 6.4:1 on white; never text on the dark band */
  --c-on-accent: #ffffff;
  --c-accent-2: #0048f9;           /* no second accent: status only, unused */
  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;  /* opsz 32 at display sizes = Inter Display */
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Onest", "Inter", system-ui, sans-serif;  /* index numbers, prices, photo-band captions only */
  --r-sm: 10px;    /* chips */
  --r-lg: 12px;    /* images, cards, active row, buttons */
  --r-pill: 22px;  /* the nav pill only */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 36px; --s-5: 60px; --s-6: clamp(50px, 6.9vw, 100px);

  /* Theme names mapped to the shared layer */
  --dark: #0c120c;                 /* process band */
  --black: #000000;                /* footer, process cards, photo band */
  --gray-fill: #6b6b6b;            /* gray-to-ink start, 5.3:1 */
  --faq-q: #222222;
  --faq-a: #555955;
  --dim: #8c8c8c;                  /* inactive text on the dark band, 6.3:1 */
  --accent-hover: #003bd0;
  --focus: var(--c-ink);
  --gut: 20px;
  --sec: clamp(44px, 5.33vw + 23.2px, 100px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-flood: cubic-bezier(.34, 0, 0, 1);
  /* Measured type scale, phone (390) to desktop (1440) */
  --t-mast: min(clamp(64px, 13.33vw + 48px, 260px), calc((100vw - 2 * var(--gut)) / 3.75));
  --t-cta: clamp(48px, 5.71vw + 25.7px, 108px);
  --t-h2l: clamp(42px, 2.857vw + 30.86px, 72px);
  --t-row: clamp(32px, 3.81vw + 17.14px, 72px);
  --t-h2m: clamp(32px, 1.524vw + 26.06px, 48px);
  --t-h3: clamp(22px, .952vw + 18.29px, 32px);
  --t-bl: clamp(18px, .571vw + 15.77px, 24px);
  --t-bm: clamp(16px, .381vw + 14.51px, 20px);
  --t-bs: clamp(16px, .19vw + 15.26px, 18px);
  --t-idx: clamp(24px, 1.143vw + 19.54px, 36px);
  --t-big: clamp(48px, 4.571vw + 30.17px, 96px);
  --t-cap: clamp(16px, 1.524vw + 10.06px, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; background: var(--black); }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 500 16px/1.4 var(--f-body); letter-spacing: -.02em;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1800px; margin-inline: auto; padding-inline: var(--gut); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sample { font-size: 14px; color: var(--c-muted); }

a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.process, .site-foot { --focus: #ffffff; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 60; background: #fff; padding: 12px 16px; }
.skip:focus { top: 8px; }
.demo { background: var(--black); color: #fff; font-size: 13px; line-height: 1.4; letter-spacing: 0; text-align: center; padding: 6px 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

main > section { padding-block: var(--sec); }

/* Shared type */
.h2-l { font-size: var(--t-h2l); line-height: 1.1; letter-spacing: -.04em; }
.h2-m { font-size: var(--t-h2m); line-height: 1.1; letter-spacing: -.04em; }
.lead-m { font-size: var(--t-bm); line-height: 1.4; letter-spacing: -.02em; color: var(--c-muted); max-width: 500px; }

/* Eyebrow pill with a blue dot (one per three sections) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; justify-self: start; align-self: start; padding: 7px 16px 7px 14px; border: 1px solid var(--c-line);
  border-radius: 20px; font: 500 14px/1.2 var(--f-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px rgba(0, 72, 249, .18); }

.rule { border: 0; height: 1px; margin: 0; background: rgba(0, 0, 0, .2); }

/* Text links: underline bar 4px under the text, blue arrow */
.tlink { position: relative; display: inline-flex; align-items: flex-end; gap: 8px; min-height: 44px; padding-bottom: 4px; text-decoration: none;
  font-size: var(--t-bm); line-height: 1.4; letter-spacing: -.02em; color: var(--c-ink); }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left;
  transition: scale 300ms var(--ease-out); }
.tlink .i { width: 20px; height: 20px; margin-bottom: 4px; color: var(--c-accent); stroke-width: 1.75; transition: rotate 300ms var(--ease-out), scale 300ms var(--ease-out); }
.tlink-big { font-family: var(--f-display); font-size: clamp(18px, 1.33vw + 12.8px, 32px); line-height: 1.2; }
.tlink-big::after { height: 2px; }
.tlink-big .i { width: 1em; height: 1em; margin-bottom: .1em; }

/* Buttons: 12px rectangles; only the nav button is a pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent;
  border-radius: var(--r-lg); font: 500 17px/1.2 var(--f-body); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 2px rgba(82, 88, 102, .06); transition: transform 120ms var(--ease-out), background-color 300ms var(--ease-flood); }
.btn:active { transform: scale(.97); }
.btn .i { width: 20px; height: 20px; }
.btn-accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn-line, .btn-white { background: #fff; color: var(--c-ink); border-color: rgba(0, 0, 0, .12); }
.btn-ink { background: linear-gradient(#262626, #000); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: #fff; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; min-height: 56px; font: 600 21px/1 var(--f-display); letter-spacing: -.05em;
  text-transform: uppercase; text-decoration: none; justify-self: start; }
/* Name once (themes/RECREATION-RULES.md): at the top the giant masthead is the logo, so the bar's wordmark stays hidden
   until the masthead has scrolled away (scroll-driven where supported). Keyboard focus always shows it, and so do the
   bundled desktop pages other than Home. */
.brand { opacity: 0; }
.brand:focus-visible { opacity: 1 !important; }
@supports (animation-timeline: scroll()) {
  .brand { animation: name-in linear both; animation-timeline: scroll(root); animation-range: 45vh 70vh; }
}
@keyframes name-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1080px) { body:has(main > [data-pg]:not([data-pg="home"]):is(:target, :has(:target))) .brand { opacity: 1 !important; animation: none !important; } }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-on-accent);
  font-size: 16px; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: background-color 300ms var(--ease-flood), transform 120ms var(--ease-out); }
.pill:active { transform: scale(.97); }
.head-actions { display: flex; align-items: center; gap: 8px; }
/* the Menu link fills the bar's height (a tall tap area); the pill is drawn inside it */
.menu-pill { display: flex; align-items: center; min-height: 72px; text-decoration: none; }
.menu-pill:active .pill { transform: scale(.97); }
.pill-call { gap: 6px; padding-inline: 14px 16px; background: #fff; color: var(--c-accent); box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.pill-call .i { width: 17px; height: 17px; }
.pc-l { display: none; }

/* ---------- Menu overlay (#menu:target) ----------
   Measured on Opus: the cobalt panel grows down from the top to full height (~300ms, ease-out), the pill turns white,
   then the links rise out of line masks one after another (~80ms apart) and the side column fades in. */
.ov { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: var(--c-accent); color: #fff; --focus: #fff;
  visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-flood), visibility 0s linear .5s; }
.ov:target { visibility: visible; clip-path: inset(0); transition: clip-path .5s var(--ease-flood); }
.ov-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex: none; }
.ov .brand { opacity: 1; animation: none; color: #fff; }
.ov-close .pill { background: #fff; color: var(--c-accent); }
.ov-body { display: grid; gap: 40px; align-content: start; padding-top: 24px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.ov-links { --ncs-on-style: none; }
.ov-links a { display: block; overflow: clip; font: 500 clamp(44px, 5.4vw + 22px, 96px)/1.12 var(--f-display); letter-spacing: -.045em; text-decoration: none; }
.ov-links a > span { display: block; }
.ov-side { display: grid; justify-items: start; align-content: start; }
.ov-label { margin-top: 20px; font-size: 17px; color: rgb(255 255 255 / .84); }
.ov-label:first-child { margin-top: 0; }
.ov-big { display: inline-flex; align-items: center; min-height: 44px; font: 500 clamp(22px, .95vw + 18px, 32px)/1.2 var(--f-display); letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.ov-note { font-size: 16px; color: rgb(255 255 255 / .84); }
@media (prefers-reduced-motion: no-preference) {
  .ov:target .ov-links a > span { animation: ov-rise .6s var(--ease-flood) both; animation-delay: calc(260ms + var(--i, 0) * 70ms); }
  .ov-links li:nth-child(2) { --i: 1; } .ov-links li:nth-child(3) { --i: 2; } .ov-links li:nth-child(4) { --i: 3; } .ov-links li:nth-child(5) { --i: 4; } .ov-links li:nth-child(6) { --i: 5; }
  .ov:target .ov-side { animation: ov-fade .6s ease-out .5s both; }
}
@media (prefers-reduced-motion: reduce) { .ov, .ov:target { transition: none; } }
@keyframes ov-rise { from { translate: 0 105%; } }
@keyframes ov-fade { from { opacity: 0; } }

/* ---------- S0 Masthead hero ---------- */
.hero { padding-top: 28px; }
.mast { display: grid; justify-items: end; font: 600 var(--t-mast)/.8 var(--f-display); letter-spacing: -.06em; text-transform: uppercase; }
.ml { display: block; overflow: clip; overflow-clip-margin: .04em; padding-inline: .02em .06em; white-space: nowrap; }
.ml > span { display: block; }
.mast-photo { display: block; width: 100%; aspect-ratio: 350 / 120; margin-top: 16px; border-radius: var(--r-lg); overflow: clip; background: var(--c-surface); }
.mp-in { display: block; height: 100%; }
.mast-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-rule { margin-top: 24px; transform-origin: left; }
.hero-line { margin-top: 24px; max-width: 1000px; font: 500 var(--t-h2m)/1.1 var(--f-display); letter-spacing: -.04em; }
.hero-foot { display: grid; gap: 24px; margin-top: 24px; justify-items: start; }
.hero-btns, .team-btns { display: grid; grid-template-columns: auto auto; gap: 8px; }
.hero-btns { width: 100%; grid-template-columns: 1fr auto; }
.hero-btns .btn, .team-btns .btn { padding-inline: 14px; font-size: 16px; }

/* ---------- S1 Intro: statement, stats, marks ---------- */
.intro-row { display: grid; gap: 20px; }
.intro .h2-l { max-width: 900px; }
.intro .lead-m { margin-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; margin-top: 36px; }
.stats > div { display: flex; flex-direction: column; }
.stat-n { order: -1; display: flex; align-items: baseline; gap: 4px; font: 500 40px/1 var(--f-display); letter-spacing: -.02em; color: var(--c-accent); }
.stat-c { margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--c-muted); }
.intro .rule { margin-top: 40px; }
.marks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 24px; }
.marks li { display: flex; align-items: flex-start; gap: 8px; font: 600 15px/1.3 var(--f-display); letter-spacing: -.03em; color: var(--gray-fill); }
.marks .i { width: 20px; height: 20px; }

/* ---------- S2 Practice-area index (signature) ---------- */
.practice-h { max-width: 594px; }
.pa-list { margin-top: 28px; border-top: 1px solid var(--c-line); }
.pa { position: relative; border-bottom: 1px solid var(--c-line); }
.pa summary { display: flex; align-items: center; gap: 20px; min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer;
  transition: background-color 600ms var(--ease-flood), padding 600ms var(--ease-flood), border-radius 600ms var(--ease-flood), color 600ms var(--ease-flood); }
.pa summary::-webkit-details-marker { display: none; }
.pa-n { flex: none; width: 36px; font: 500 var(--t-idx)/1 var(--f-mono); letter-spacing: -.07em; color: var(--c-accent); }
.pa-t { flex: 1; font: 500 var(--t-row)/1.1 var(--f-display); letter-spacing: -.04em; }
.pa-plus { width: 28px; height: 28px; stroke-width: 1.25; transition: rotate 300ms var(--ease-out), opacity 600ms var(--ease-flood); }
.pa[open] .pa-plus { rotate: 45deg; }
.pa-d { padding: 0 0 20px; font-size: 16px; line-height: 1.4; color: var(--c-muted); }

/* ---------- S3 Process: dark band ---------- */
.process { background: var(--dark); color: #fff; }
.process .wrap { container-type: inline-size; }
.process-h { max-width: 726px; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; margin: 32px calc(-1 * var(--gut)) 0; padding-inline: var(--gut);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 300px; padding: 24px; border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-lg); background: var(--black); overflow: hidden; scroll-snap-align: start; }
.step input { top: 0; left: 0; }
.step label { display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.step label::after { content: ""; position: absolute; inset: 0; }
.step-n { font-size: 16px; color: var(--dim); }
.step-t { font: 500 28px/1.1 var(--f-display); letter-spacing: -.04em; hyphens: auto; }
.step-d { margin-top: auto; padding-top: 24px; font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.step-dot { position: relative; flex: none; width: 36px; height: 36px; margin-top: 20px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.step-dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--c-accent); opacity: .92; }
.step input:focus-visible + label { outline: 3px solid #fff; outline-offset: 6px; border-radius: 4px; }

/* ---------- S4 Results collage ---------- */
.head4 { display: grid; gap: 20px; }
.head4-body { display: grid; gap: 16px; justify-items: start; }
.collage { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; margin: 32px calc(-1 * var(--gut)) 0; padding-inline: var(--gut);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.collage::-webkit-scrollbar { display: none; }
.tile { min-width: 0; scroll-snap-align: start; }
.case { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--c-ink); }
.case-img { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-img::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; opacity: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5 17.5 6.5M8.5 6.5h9v9'/%3E%3C/svg%3E") center / 32px no-repeat;
  transition: opacity 200ms var(--ease-out); }
.case-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.case-t { font: 500 var(--t-h3)/1.2 var(--f-display); letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 4px 10px; border: 1px solid rgba(0, 0, 0, .22); border-radius: var(--r-sm); font-size: 13px; line-height: 1.4; color: var(--c-muted); }
.fine { margin-top: 24px; font-size: 14px; color: var(--c-muted); }

/* ---------- S5 + S6 Team: CTA above the photo band ---------- */
.team { padding-bottom: 0 !important; }
.team-head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.team-head .lead-m { max-width: 520px; }
.team-btns { margin-top: 8px; }
.band { position: relative; display: flex; align-items: flex-end; min-height: 380px; margin-top: 32px; background: var(--black); overflow: hidden; color: #fff; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .9) 17%, transparent 100%); mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, .9) 17%, transparent 100%); }
.band-facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block: 24px; }
.band-facts > div { display: flex; flex-direction: column; gap: 6px; }
.bf-n { font: 500 40px/1 var(--f-display); letter-spacing: -.06em; }
.bf-c { font: 500 var(--t-cap)/1.1 var(--f-mono); letter-spacing: -.04em; }

/* ---------- S7 About ---------- */
.about-grid { display: grid; gap: 28px; }
.about-more { display: grid; gap: 16px; justify-items: start; margin-top: 20px; }
.creds { font-size: 16px; line-height: 1.4; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); aspect-ratio: 350 / 250; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }

/* ---------- S8 Fees ---------- */
.fees { background: var(--c-surface); }
.plans { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin: 32px calc(-1 * var(--gut)) 0; padding: 20px var(--gut) 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.plans::-webkit-scrollbar { display: none; }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 24px;
  background: var(--c-surface); scroll-snap-align: start; }
.plan-feat { background: #fff; border-color: #fff; }
.badge { position: absolute; top: -1px; right: 24px; padding: 6px 16px; border-radius: 2px 2px 12px 12px; background: var(--c-accent); color: #fff; font-size: 15px;
  box-shadow: 0 .6px 1.5px rgba(0, 72, 249, .12), 0 2px 5px rgba(0, 72, 249, .12), 0 5px 12px rgba(0, 72, 249, .12), 0 10px 24px rgba(0, 72, 249, .08), 0 20px 40px rgba(0, 72, 249, .05); }
.plan-name { font: 500 20px/1.4 var(--f-body); letter-spacing: -.02em; color: var(--c-muted); }
.price { margin-top: 12px; font: 500 30px/1.2 var(--f-mono); letter-spacing: -.07em; }
.price span { font: 500 16px/1 var(--f-body); letter-spacing: -.02em; color: var(--c-muted); }
.plan-d { margin-top: 12px; font-size: 16px; line-height: 1.4; color: var(--c-muted); }
.plan .btn { margin-top: 20px; width: 100%; }
.feats { display: grid; gap: 10px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px dashed rgba(0, 0, 0, .18); }
.feats li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.feats .i { width: 20px; height: 20px; }
.inc-h { margin-top: 20px; font-size: 14px; }
.inc { display: grid; gap: 8px; margin-top: 12px; }
.inc li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; color: var(--c-muted); }
.inc li::before { content: ""; flex: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230048f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5 17.5 6.5M8.5 6.5h9v9'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- S9 Reviews ---------- */
.reviews { timeline-scope: --rv; }
.rv-head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.rv-head .lead-m { max-width: 520px; }
.rv-head .eyebrow { justify-self: center; }
.rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 16px; }
.rating .i { width: 20px; height: 20px; fill: var(--c-accent); stroke: var(--c-accent); }
.rv-frame { position: relative; margin-top: 32px; }
.rv-bg { display: none; }
.rv-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; scroll-timeline: --rv x; }
.rv-rail::-webkit-scrollbar { display: none; }
.rv-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; padding: 24px; border-radius: var(--r-lg);
  background: var(--c-surface); scroll-snap-align: start; }
.rv-q { align-self: flex-end; width: 48px; height: 48px; fill: var(--c-accent); }
.rv-card blockquote p { font: 500 22px/1.2 var(--f-display); letter-spacing: -.04em; }
.rv-who { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rv-name { display: grid; font-size: 17px; line-height: 1.4; }
.rv-name span { font-size: 15px; color: var(--c-muted); }
.rv-av { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: #fff; font: 600 17px/1 var(--f-display); letter-spacing: 0; }
.rv-track { position: relative; height: 3px; margin-top: 20px; border-radius: 34px; background: rgba(151, 151, 151, .4); overflow: hidden; }
.rv-track span { position: absolute; inset: 0; border-radius: inherit; background: var(--c-ink); transform-origin: left; scale: .333 1; }

/* ---------- S10 FAQ ---------- */
.faq-grid { display: grid; gap: 24px; }
.faq-side { display: grid; gap: 16px; justify-items: start; align-content: start; }
.qa { border-bottom: 1px solid var(--c-line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 16px 0; list-style: none; cursor: pointer;
  font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--faq-q); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 20px; height: 20px; transition: rotate 300ms var(--ease-out); }
.qa[open] summary .i { rotate: 180deg; }
.qa p { margin-top: -4px; padding-bottom: 18px; font-size: 16px; line-height: 1.4; color: var(--faq-a); }

/* ---------- Contact ---------- */
.contact { padding-top: 0 !important; }
.contact-grid { display: grid; gap: 24px; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.rows { display: grid; gap: 4px; margin-top: 4px; }
.row { display: flex; align-items: center; gap: 14px; min-height: 56px; text-decoration: none; font-size: 17px; line-height: 1.3; }
.row .i { width: 22px; height: 22px; color: var(--c-accent); }
.row small { display: block; font-size: 15px; color: var(--c-muted); }
.consult { display: grid; gap: 16px; padding: 20px; border-radius: 24px; background: var(--c-surface); }
.form-h { font: 500 var(--t-h3)/1.2 var(--f-display); letter-spacing: -.02em; }
.field { display: grid; gap: 6px; }
.field label { font-size: 16px; }
.req { color: var(--c-muted); font-size: 14px; }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--c-line-strong); border-radius: var(--r-lg); background: #fff;
  color: var(--c-ink); font: 500 16px/1.2 var(--f-body); letter-spacing: -.01em; }
.field select { appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 1px; }
.consult .btn { margin-top: 4px; min-height: 56px; }
.sent { display: none; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; border-left: 4px solid var(--c-accent); }
.sent:target { display: block; }

/* ---------- Footer ---------- */
.site-foot { background: var(--black); color: #fff; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
.foot-cta { display: grid; justify-items: center; gap: 20px; padding: 56px var(--gut) 8px; text-align: center; }
.foot-h { max-width: 898px; font: 500 var(--t-big)/1 var(--f-display); letter-spacing: -.06em; text-wrap: balance; }
.foot-p { max-width: 500px; font-size: var(--t-bl); line-height: 1.4; color: rgba(255, 255, 255, .7); }
.btn-foot { background: #fff; color: var(--c-ink); min-height: 56px; padding: 14px 32px; font-size: 18px; }
.foot-main { display: grid; gap: 32px; padding-top: 48px; }
.foot-top { display: grid; gap: 28px; }
.foot-mark { font: 600 42px/1 var(--f-display); letter-spacing: -.06em; text-transform: uppercase; }
.foot-about { margin-top: 16px; max-width: 422px; font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.foot-contact { display: grid; gap: 4px; justify-items: start; font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.foot-contact a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.foot-tel { font: 500 32px/1.1 var(--f-display); letter-spacing: -.04em; }
.foot-label { font-size: 16px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.foot-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 15px; text-decoration: none; }
.foot-legal { display: grid; gap: 8px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .7); }

/* ---------- Hover (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .tlink:hover::after { scale: .8 1; }
  .tlink:hover .i { rotate: 45deg; scale: 1.4; }
  .pill:hover, .btn-accent:hover { background-color: var(--accent-hover); }
  .ov-close:hover .pill, .pill-call:hover { background-color: #e6ecff; }
  .menu-pill:not(.ov-close):hover .pill { background-color: var(--accent-hover); }
  .ov-links a:hover > span { opacity: .75; }
  .btn-line:hover, .btn-white:hover { background-color: #f7f7f6; }
  .btn-ink:hover { background: #262626; }
  .btn-foot:hover { background: #e9e9e7; }
  .ov-big:hover, .foot-links a:hover, .foot-contact a:hover, .row:hover > span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .case:hover .case-img::after { opacity: 1; }
  .qa summary:hover { color: var(--c-ink); }
}
.tlink:focus-visible::after { scale: .8 1; }
.case:focus-visible .case-img::after { opacity: 1; }

/* ---------- Phone only: keep the page under ten screens ---------- */
@media (max-width: 759px) {
  .plan .btn, .inc-h { display: none; }         /* every card links to the same consult: the form below carries it */
  .feats { margin-top: 16px; padding-bottom: 16px; }
  .inc { margin-top: 16px; }
  .foot-cta { display: none; }                  /* the same call to action already sits above the photo band and in the form */
}

/* ---------- Tablet: 760px ---------- */
@media (min-width: 760px) {
  :root { --gut: 40px; }
  .brand { font-size: 22px; }
  .hero { padding-top: 96px; }
  .mast { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; row-gap: 10px; }
  .ml1 { grid-column: 1 / -1; }
  .ml2 { grid-column: 1; justify-self: start; }
  .mast-photo { grid-column: 2; grid-row: 2; margin: 0; aspect-ratio: auto; height: .82em; align-self: center; }
  .hero-rule, .hero-line { margin-top: 48px; }
  .hero-foot { margin-top: 48px; }
  .hero-btns { display: none; }
  .stats { column-gap: 40px; }
  .stat-n { font-size: var(--t-big); font-size: clamp(56px, 3.05vw + 52.1px, 96px); }
  .stat-c { font-size: var(--t-bs); }
  .marks { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
  .marks li { font-size: 19px; align-items: center; }
  .pa-n { width: 64px; color: var(--c-ink); }
  .pa summary { gap: 40px; min-height: 96px; }
  .pa-d { padding-left: 104px; font-size: 18px; }
  .steps { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin-inline: 0; padding: 0; overflow: visible; }
  .collage { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-inline: 0; padding: 0; overflow: visible; }
  .tile-b .case-img, .tile-e .case-img { aspect-ratio: 1.48; }
  .band { min-height: clamp(480px, 69.4vw, 1000px); }
  .band-facts { display: flex; gap: clamp(40px, 11vw, 160px); padding-block: 60px; }
  .band-facts > div { flex-direction: row; align-items: center; gap: 16px; }
  .bf-n { font-size: var(--t-big); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-photo { aspect-ratio: 517 / 691; }
  .plans { grid-auto-flow: row; grid-template-columns: 1fr; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .foot-links { justify-content: flex-start; gap: 0 24px; }
  .foot-links a { font-size: 16px; }
  .about-photo { aspect-ratio: 517 / 691; }
  .rv-rail { grid-auto-columns: 60%; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .consult { padding: 36px; }
  .foot-cta { padding: 96px var(--gut) 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-legal { display: flex; justify-content: space-between; }
  .site-foot { padding-bottom: 30px; }
}

/* ---------- Desktop: 1080px (ncs-desktop) ---------- */
@media (min-width: 1080px) {
  :root { --gut: 60px; }
  html { scroll-padding-top: 84px; }
  .head-row, .ov-top, .menu-pill { min-height: 84px; }
  .pc-s { display: none; }
  .pc-l { display: inline; }
  .pill { font-size: 18px; }
  /* overlay: links left, the contact column from x=943 (of 1440) */
  .ov-body { grid-template-columns: minmax(0, 1fr) minmax(0, 437px); column-gap: 60px; padding-top: 80px; }
  .ov-side { padding-top: 14px; }
  .hero { padding-top: 120px; padding-bottom: 100px; }
  .hero-rule, .hero-line, .hero-foot { margin-top: 60px; }
  .h2-l { line-height: 1; }
  .intro-row { display: flex; justify-content: space-between; gap: 40px; }
  .intro-body { flex: 0 1 900px; }
  .intro .lead-m { margin-top: 30px; }
  .stats { margin-top: 100px; column-gap: 100px; }
  .stat-c { margin-top: 12px; }
  .intro .rule { margin-top: 100px; }
  .marks { margin-top: 60px; flex-wrap: nowrap; }
  .marks li { font-size: 22px; }
  .marks .i { width: 24px; height: 24px; }

  /* Practice index: fixed 120px rows; the open or hovered row floods blue, its description fades in on the right */
  .pa-list { margin-top: 80px; border-top: 0; }
  .pa summary { position: relative; height: 120px; padding: 24px 0; gap: 96px; border-radius: 0; }
  .pa-n { width: 80px; }
  .pa-plus { width: 40px; height: 40px; }
  .pa[open] .pa-plus { rotate: 0deg; }
  .pa-d { position: absolute; top: 0; left: max(50%, 580px); width: min(608px, calc(100% - max(50%, 580px) - 24px)); height: 120px; display: flex; align-items: center;
    padding: 0; color: #fff; font-size: clamp(17px, .5vw + 12.8px, 20px); line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity 600ms var(--ease-flood); }
  .pa[open] summary, .pa:focus-within summary { background: var(--c-accent); color: #fff; border-radius: var(--r-lg); padding-inline: 24px; }
  .pa[open] .pa-n, .pa:focus-within .pa-n { color: #fff; }
  .pa[open] .pa-plus, .pa:focus-within .pa-plus { opacity: 0; }
  .pa[open] .pa-d, .pa:focus-within .pa-d { opacity: 1; }
  .pa:has(+ .pa[open]), .pa[open], .pa:focus-within, .pa:has(+ .pa:focus-within) { border-bottom-color: transparent; }
  .pa summary:focus-visible { outline-offset: 2px; }

  /* Process: four 500px cards, the chosen one spans two tracks */
  .process-h { margin-left: auto; }
  .steps { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; height: 500px; margin-top: clamp(80px, 13.9vw, 200px);
    transition: grid-template-columns 600ms var(--ease-flood); }
  .step { min-height: 0; padding: 36px; }
  .step-n { font-size: 18px; transition: color 600ms var(--ease-flood); }
  .step-t { font-size: var(--t-h2m); line-height: 1.1; color: var(--dim); transition: color 600ms var(--ease-flood); }
  .step-d { width: calc((100cqw - 72px) / 5 * 2 + 24px - 72px); padding-top: 0; font-size: var(--t-bl); opacity: 0; transition: opacity 600ms var(--ease-flood); }
  .step-dot { margin-top: 24px; }
  .step-dot::after { opacity: .24; transition: opacity 600ms var(--ease-flood); }
  .step:has(:checked) { border-color: rgba(255, 255, 255, .6); }
  .step:has(:checked) .step-n { color: rgba(255, 255, 255, .8); }
  .step:has(:checked) .step-t { color: #fff; }
  .step:has(:checked) .step-d { opacity: 1; }
  .step:has(:checked) .step-dot::after { opacity: .92; }
  .steps:has(> .step:nth-child(2) :checked) { grid-template-columns: 1fr 2fr 1fr 1fr; }
  .steps:has(> .step:nth-child(3) :checked) { grid-template-columns: 1fr 1fr 2fr 1fr; }
  .steps:has(> .step:nth-child(4) :checked) { grid-template-columns: 1fr 1fr 1fr 2fr; }

  /* Results: asymmetric 12-column collage, sizes in container units of the 1320px original */
  .head4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .head4 .eyebrow { grid-column: 1; }
  .head4-body { grid-column: 2 / -1; gap: 30px; }
  .head4-body .lead-m { margin-top: -6px; max-width: 660px; }
  .results { padding-top: 140px; }
  .collage { container-type: inline-size; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; margin-top: 80px; }
  .tile { --u: calc(100cqw / 1320); }
  .tile-a { grid-column: 1 / 6; grid-row: 1; padding: calc(240 * var(--u)) calc(160 * var(--u)) calc(120 * var(--u)) 0; }
  .tile-b { grid-column: 6 / 13; grid-row: 1; }
  .tile-e { grid-column: 1 / 8; grid-row: 2; padding: calc(160 * var(--u)) calc(120 * var(--u)) 0 0; }
  .tile-f { grid-column: 8 / 13; grid-row: 2; padding: 0 0 calc(120 * var(--u)) calc(120 * var(--u)); }
  .tile-a .case-img, .tile-f .case-img { aspect-ratio: 1; }
  .tile-b .case-img { aspect-ratio: 770 / 521; }
  .tile-e .case-img { aspect-ratio: 650 / 440; }
  .chips span { font-size: 14px; }
  .fine { margin-top: 40px; }

  /* Team: centred heading, full-bleed photo band */
  .team-head { gap: 24px; }
  .team-head .h2-l { font-size: var(--t-cta); line-height: .96; }
  .band { margin-top: 80px; }
  .bf-c { width: 7.5em; }

  /* About: filler column, text, 0.75 portrait */
  .about-grid { grid-template-columns: 14.65% minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .about-text { grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; padding-right: 28px; }
  .about-text .h2-m { max-width: 517px; }
  .about-more { margin-top: 100px; gap: 24px; }
  .about-more .lead-m { max-width: 414px; }
  .creds { max-width: 414px; font-size: 18px; }
  .about-photo { grid-column: 3; }

  /* Fees: three 24px-radius cards, the featured one white with a hanging badge */
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 80px; padding: 0; }
  .plan { padding: 36px; }
  .badge { right: 36px; padding: 8px 16px; font-size: 16px; }
  .plan-name { font-size: 24px; }
  .price { margin-top: 24px; font-size: 40px; }
  .price span { font-size: 18px; }
  .plan-d { margin-top: 24px; }
  .plan .btn { margin-top: 36px; min-height: 53px; }
  .feats { margin-top: 36px; padding-bottom: 36px; gap: 12px; }
  .inc-h { margin-top: 36px; }
  .inc { gap: 8px; margin-top: 16px; }

  /* Reviews: quote cards on a photo frame */
  .rv-head { gap: 24px; }
  .rv-head .h2-l { margin-top: 8px; }
  .rv-frame { margin-top: 60px; border-radius: 24px; overflow: hidden; aspect-ratio: 1320 / 1000; max-height: 1000px; }
  .rv-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .rv-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .3); }
  .rv-rail { position: relative; z-index: 2; height: 100%; grid-auto-columns: 600px; gap: 40px; margin: 0; align-items: center;
    padding-inline: calc(50% - 300px); scroll-padding-inline: 0; scroll-snap-type: x mandatory; }
  .rv-card { height: min(680px, 68%); max-height: 680px; padding: 40px; scroll-snap-align: center; }
  .rv-q { width: 80px; height: 80px; }
  .rv-card blockquote p { font-size: 40px; line-height: 1.1; }
  .rv-name { font-size: 20px; }
  .rv-name span { font-size: 18px; }
  .rv-av { width: 80px; height: 80px; font-size: 24px; }
  .rv-track { margin: 24px 0 0 auto; width: calc(100% - 136px); }

  /* FAQ and contact: 429px side column, 140px gap */
  .faq-grid, .contact-grid { grid-template-columns: 429px minmax(0, 1fr); gap: 140px; }
  .faq-side { gap: 30px; }
  .faq-side .lead-m { max-width: 420px; margin-top: -6px; }
  .qa summary { padding: 36px 0; font-size: 20px; }
  .qa p { margin-top: -24px; padding: 12px 0 36px; font-size: 18px; }
  .contact-side { gap: 30px; }
  .consult { gap: 20px; }

  /* Footer */
  .foot-cta { gap: 32px; padding: 120px var(--gut) 60px; }
  .btn-foot { min-height: 74px; padding: 20px 48px; font-size: 24px; }
  .foot-main { gap: clamp(60px, 10vw, 140px); padding-top: 60px; }
  .foot-top { grid-template-columns: 1fr 1fr; max-width: 1056px; gap: 40px; }
  .foot-mark { font-size: 72px; font-weight: 500; letter-spacing: -.04em; }
  .foot-about { margin-top: 40px; font-size: 20px; }
  .foot-label { font-size: 18px; }
  .foot-tel { font-size: 48px; }
  .foot-mail { font-size: 24px; }
  .foot-contact { font-size: 18px; }
  .foot-links { justify-content: flex-end; gap: 0 32px; }
  .foot-links a { font-size: 18px; }
  .foot-legal { font-size: 16px; }
}

/* Desktop hover: the hovered row or card takes over from the open one */
@media (min-width: 1080px) and (hover: hover) and (pointer: fine) {
  .pa:hover summary { background: var(--c-accent); color: #fff; border-radius: var(--r-lg); padding-inline: 24px; }
  .pa:hover .pa-n { color: #fff; }
  .pa:hover .pa-plus { opacity: 0; }
  .pa:hover .pa-d { opacity: 1; }
  .pa:has(+ .pa:hover), .pa:hover { border-bottom-color: transparent; }
  .pa-list:hover .pa[open]:not(:hover) summary { background: transparent; color: var(--c-ink); border-radius: 0; padding-inline: 0; }
  .pa-list:hover .pa[open]:not(:hover) .pa-n { color: var(--c-ink); }
  .pa-list:hover .pa[open]:not(:hover) .pa-plus { opacity: 1; }
  .pa-list:hover .pa[open]:not(:hover) .pa-d { opacity: 0; }
  .pa-list:hover .pa[open]:not(:hover):not(:has(+ .pa:hover)) { border-bottom-color: var(--c-line); }

  .steps:has(> .step:nth-child(1):hover) { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .steps:has(> .step:nth-child(2):hover) { grid-template-columns: 1fr 2fr 1fr 1fr; }
  .steps:has(> .step:nth-child(3):hover) { grid-template-columns: 1fr 1fr 2fr 1fr; }
  .steps:has(> .step:nth-child(4):hover) { grid-template-columns: 1fr 1fr 1fr 2fr; }
  .step:hover { border-color: rgba(255, 255, 255, .6); }
  .step:hover .step-n { color: rgba(255, 255, 255, .8); }
  .step:hover .step-t { color: #fff; }
  .step:hover .step-d { opacity: 1; }
  .step:hover .step-dot::after { opacity: .92; }
  .steps:has(.step:hover) .step:has(:checked):not(:hover) { border-color: rgba(255, 255, 255, .15); }
  .steps:has(.step:hover) .step:has(:checked):not(:hover) .step-n { color: var(--dim); }
  .steps:has(.step:hover) .step:has(:checked):not(:hover) .step-t { color: var(--dim); }
  .steps:has(.step:hover) .step:has(:checked):not(:hover) .step-d { opacity: 0; }
  .steps:has(.step:hover) .step:has(:checked):not(:hover) .step-dot::after { opacity: .24; }
}

/* Closed practice rows keep their description rendered on desktop, so hover can fade it in (no layout change) */
@supports selector(::details-content) {
  @media (min-width: 1080px) {
    .pa::details-content { content-visibility: visible; }
  }
}

/* ---------- Motion (CSS only; the resting state is the finished state) ---------- */
@keyframes mast-rise { from { translate: 0 100%; opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes wipe { from { scale: 0 1; } }
@keyframes pulse { 50% { opacity: .45; } }

@media (prefers-reduced-motion: no-preference) {
  /* Entrance: masthead words rise from their line masks, the photo rises in its frame, then rule, words, link */
  .ml > span, .mp-in { animation: mast-rise 630ms cubic-bezier(.68, 0, 0, .99) backwards; }
  .ml1 > span { animation-delay: 105ms; }
  .ml2 > span { animation-delay: 210ms; }
  .mp-in { animation-delay: 315ms; }
  .hero-rule { animation: wipe 340ms cubic-bezier(.25, .8, .3, 1) 420ms backwards; }
  .hero-line > span { animation: fade-in 340ms cubic-bezier(.44, 0, .13, .96) calc(420ms + var(--i) * 8ms) backwards; }
  .hero-foot { animation: fade-in 630ms cubic-bezier(.25, .8, .3, 1) 120ms backwards; }
  .step:has(:checked) .step-dot::after { animation: pulse 1.8s ease-in-out infinite; }

  @media (min-width: 760px) {
    .ml > span, .mp-in { animation-duration: 660ms; }
    .ml1 > span { animation-delay: 110ms; }
    .ml2 > span { animation-delay: 220ms; }
    .mp-in { animation-delay: 330ms; }
    .hero-rule { animation-duration: 400ms; animation-delay: 660ms; }
    .hero-line > span { animation-duration: 500ms; animation-delay: calc(660ms + var(--i) * 11ms); }
    .hero-foot { animation-duration: 660ms; animation-delay: 935ms; }
  }

  @supports (animation-timeline: view()) {
    /* Photo parallax: the image is taller than its frame and drifts as the page scrolls */
    .mast-photo { view-timeline: --mp block; }
    .mast-photo img { height: 180%; translate: 0 -44%; animation: par linear both; animation-timeline: --mp; animation-range: cover 0% cover 100%; }
    .case-img img { height: calc(100% + 120px); translate: 0 -120px; animation: par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .band-img { animation: band-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }

    /* Gray to ink: the statement fills in reading order as it scrolls into view (starts at #6b6b6b, 5.3:1) */
    .fill { background: linear-gradient(90deg, var(--c-ink) 50%, var(--gray-fill) 50%) 100% 0 / 200% 100% no-repeat;
      -webkit-background-clip: text; background-clip: text; color: transparent;
      animation: fill linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }

    /* Count-up: the real number stays in the page for readers; an animated copy counts to it */
    .count { counter-reset: n var(--n); animation: count linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .count::before { content: counter(n) / ""; }
    .count .real { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  }

  /* Review progress bar follows the rail's sideways scroll (decorative) */
  @supports (animation-timeline: scroll(x)) {
    .rv-track span { animation: rv-progress linear both; animation-timeline: --rv; }
  }
}
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
@keyframes count { from { --n: 0; } to { --n: var(--to); } }
@keyframes par { to { translate: 0 0; } }
@keyframes band-par { from { transform: scale(1.2) translateY(-5%); } to { transform: scale(1.2) translateY(5%); } }
@keyframes fill { to { background-position: 0 0; } }
@keyframes rv-progress { from { scale: .333 1; } to { scale: 1 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  /* the bar wordmark's scroll-linked fade is not motion: keep it */
  @supports (animation-timeline: scroll()) { .brand { animation: name-in linear both !important; animation-timeline: scroll(root) !important; animation-range: 45vh 70vh !important; } }
}
