/* Isla, law-firm case acquisition. Deep plum sections alternate with white paper sheets
   (Sean, Oct 20: "some sections will be a white background ... some will be the dark"). Supreme. */

@font-face { font-family: "Supreme"; src: url("fonts/supreme-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Supreme"; src: url("fonts/supreme-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --deep: #290C3F;
  --plum: #3D1650;
  --plum-2: #4A1D61;
  --wine: #7A1A55;
  --berry: #A8194F;
  --coral: #E01C48;
  --coral-ink: #C0153D;
  --coral-soft: #FF9BB3;
  --blush: #FFE3EA;
  --ink: #290C3F;
  --ink-2: #5E4A6B;
  --field: #F7EFF6;
  --paper: #FFFFFF;
  --paper-2: #F8F3F8;
  --line-ink: rgba(41, 12, 63, .14);
  --err: #B3123A;
  --ok: #17734A;
  --text: #fff;
  --text-2: rgba(255, 255, 255, .84);
  --text-3: rgba(255, 255, 255, .72);
  --g: clamp(20px, 4.4vw, 56px);
  --wrap: 1200px;
  --sec: clamp(64px, 6.6vw, 104px);
  --r: 16px;
  --sheet-r: clamp(22px, 2.6vw, 34px);
  --sheet-m: clamp(8px, 1.1vw, 16px);
  --sweep: linear-gradient(152deg, #3D1650 0%, #3D1650 22%, #57175A 38%, #7A1A55 52%, #A8194F 68%, #C81A4B 82%, #E01C48 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); scrollbar-color: #5A2A70 var(--deep); -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--deep); color: var(--text);
  font: 400 17px/1.55 "Supreme", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "kern" 1;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }

/* Grain sits on the substrate, under content (dark surfaces only). */
.case, .steps { position: relative; isolation: isolate; }
.case::before, .steps::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 180px; opacity: .09; mix-blend-mode: overlay; border-radius: inherit;
}

/* Paper: a white sheet on the plum page, with margin on every side so no section edge
   meets another as a hard seam. Content on it is ink. */
.paper {
  position: relative; margin: 0 var(--sheet-m); border-radius: var(--sheet-r);
  background: var(--paper); color: var(--ink); color-scheme: light;
}
.paper ::selection { background: var(--plum); color: #fff; }
.paper :focus-visible { outline-color: var(--coral); }
.paper + .paper { margin-top: var(--sheet-m); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 22px 0 24px; border: 0; border-radius: 10px;
  background: #fff; color: var(--ink); text-decoration: none; cursor: pointer;
  font: 700 16px/1 "Supreme", system-ui, sans-serif; letter-spacing: -.005em;
  transition: background-color .2s ease;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.btn:hover { background: var(--blush); }
.btn:hover svg, .btn:focus-visible svg { transform: translate(2px, -2px); }
.btn:focus-visible { outline-offset: 4px; }
.btn-sm { height: 40px; padding: 0 14px 0 16px; border-radius: 8px; font-size: 14.5px; gap: 9px; }
.btn-sm svg { width: 12px; height: 12px; }
.btn-ink { background: var(--plum); color: #fff; }
.btn-ink:hover { background: var(--deep); }
.btn-ink:focus-visible { outline-color: var(--coral); }
.btn:disabled { opacity: .7; cursor: wait; }

/* Bar: Isla alone (the company); LegalCove appears where claimants meet it. */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color .3s ease, box-shadow .3s ease; }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.marks { display: flex; align-items: center; text-decoration: none; border-radius: 6px; }
.m-isla { height: 26px; width: auto; }
.bar.is-solid { background: rgba(41, 12, 63, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 24px -18px rgba(10, 0, 20, .9); }
.bar-cta { transition: opacity .25s ease, visibility .25s, background-color .2s ease; }
.js .bar.cta-off .bar-cta { opacity: 0; visibility: hidden; }

/* Section heads: heading, then one line. Calmer than before (Sean: "too bam in your face"). */
.head h2, .team-h {
  font-weight: 800; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -.026em;
  text-wrap: balance; max-width: 22ch;
}
.head p { margin-top: 14px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--text-2); max-width: 48ch; text-wrap: pretty; }
.paper .head p { color: var(--ink-2); }
.sec { padding: var(--sec) 0; }

/* Hero: the wall of real creatives */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 0 clamp(36px, 5vw, 56px); /* as tall as its copy, not the whole screen (Jeremy, Oct 20) */
  background: var(--deep);
}
.wall {
  --cols: 7; --gap: clamp(10px, 1.1vw, 16px);
  position: absolute; z-index: -2; top: -34%; left: -18%; right: -18%; height: 175%;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap);
  transform: rotate(-9deg); transform-origin: 50% 40%;
}
.col { overflow: hidden; min-width: 0; }
.col:nth-child(2n) { margin-top: -14%; }
.col:nth-child(3n) { margin-top: 9%; }
.col-run { display: flex; flex-direction: column; gap: var(--gap); will-change: transform; animation: drift 120s linear infinite; }
.col:nth-child(2n) .col-run { animation-duration: 150s; animation-direction: reverse; }
.col:nth-child(3n) .col-run { animation-duration: 135s; }
.col img { width: 100%; height: auto; border-radius: 12px; background: var(--plum); }
.hero.is-off .col-run { animation-play-state: paused; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-50% - var(--gap) / 2), 0); } }

.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(41, 12, 63, .9) 0, rgba(41, 12, 63, .55) 90px, rgba(41, 12, 63, 0) 190px),
    linear-gradient(180deg, rgba(41, 12, 63, .52) 0%, rgba(41, 12, 63, .66) 34%, rgba(41, 12, 63, .92) 56%, #290C3F 74%);
}
.hero::after { z-index: -1; background-image: var(--grain); background-size: 180px; opacity: .08; mix-blend-mode: overlay; }

.hero-in { position: relative; padding-top: clamp(150px, 22vw, 220px); }
.hero h1 {
  font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: 1; letter-spacing: -.032em;
  text-wrap: balance; max-width: 24ch;
  text-shadow: 0 2px 18px rgba(25, 4, 40, .45);
}
.lede { margin-top: 20px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hero .btn { margin-top: 28px; }

.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; max-width: 760px; }
.figs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.figs dd { font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; letter-spacing: -.028em; font-variant-numeric: lining-nums; }
.figs dt { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--text-2); font-weight: 500; }

/* The engine: Isla first (the company), LegalCove as where claimants start. */
.engine { margin-top: var(--sheet-m); }
.engine-in { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
.engine-mark { height: 40px; width: auto; }
.engine-isla h2 { margin-top: 26px; font-weight: 800; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -.026em; text-wrap: balance; max-width: 18ch; }
.engine-isla > p { margin-top: 16px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.caps { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 26px; font-weight: 700; font-size: 16px; }
.caps li { display: inline-flex; align-items: center; gap: 12px; }
.caps { gap: 8px 20px; }
@media (min-width: 760px) {
  .caps { gap: 8px 12px; }
  .caps li + li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
}

.entry { border-radius: 22px; background: var(--paper-2); padding: clamp(22px, 2.6vw, 34px); }
.entry figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.entry figcaption img { height: 24px; width: auto; }
.entry figcaption span { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.entry-flow { margin-top: 22px; display: grid; gap: 8px; position: relative; }
.ask span { /* the questions claimants answer on LegalCove: shown as what they read, not as buttons */
  display: block; padding: 12px 18px; border-radius: 12px; background: var(--paper);
  font-weight: 700; font-size: 17px; letter-spacing: -.01em;
}
.route, .firm { position: relative; margin-top: 18px; padding-left: 34px; }
.route::before { /* the join: one rounded rail from each stop's dot down to the next dot, however tall the copy */
  content: ""; position: absolute; left: 10px; top: 13px; bottom: -33px; width: 2px; border-radius: 2px; background: var(--line-ink);
}
.ask + .route::before { top: -18px; } /* the first stop also joins up to the questions */
.route::after, .firm::after { content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--plum); }
.firm::after { background: var(--coral); box-shadow: none; }
.route b, .firm b { display: block; font-weight: 800; font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
.route span, .firm span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.firm b { color: var(--coral-ink); }

/* Results rail: smaller cards (Sean: make them a little smaller). */
.results .head { margin-bottom: clamp(30px, 3.6vw, 48px); }
.rail-host { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px);
  grid-template-rows: repeat(4, auto); column-gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--g) 8px; scroll-padding-inline: var(--g);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; border-radius: 4px; }
.case {
  grid-row: 1 / span 4; display: grid; grid-template-rows: subgrid; row-gap: 0;
  scroll-snap-align: start;
  padding: 22px 22px 24px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(155deg, #3D1650 0%, #3D1650 44%, #6A1955 70%, #B0194E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.case.c2 { background: linear-gradient(155deg, #C01A4C 0%, #8A1953 40%, #4A1758 80%, #3D1650 100%); }
.case.c3 { background: linear-gradient(200deg, #3D1650 0%, #3D1650 40%, #71195A 72%, #A8194F 100%); }
.case.c4 { background: linear-gradient(140deg, #D41B4A 0%, #A01850 34%, #5A1757 74%, #3D1650 100%); }
.case-who { font-size: 17px; font-weight: 700; line-height: 1.25; }
.case-torts { margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: #fff; opacity: .9; font-weight: 500; }
.case-fig { margin-top: clamp(26px, 2.8vw, 40px); align-self: end; }
.case-fig b { display: block; font-weight: 800; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -.03em; }
.case-fig b i { display: block; font-style: normal; font-weight: 700; font-size: max(17px, .34em); letter-spacing: -.01em; margin-bottom: 4px; }
.case-fig span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.3; font-weight: 500; }

.dots { display: flex; gap: 2px; padding: 14px calc(var(--g) - 8px) 0; }
.dots button { width: 38px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.dots button::before { content: ""; width: 24px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background-color .25s ease; }
.dots button[aria-current]::before { background: #fff; }
.dots button:hover::before { background: rgba(255, 255, 255, .6); }

/* Practice areas (paper) */
.avail-in { display: grid; gap: 40px; }
.lists { display: grid; gap: 32px; }
.list h3 { font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
/* Each program is a tile with its status right under its name (Sean, Oct 21: the old long list read loose). */
.list ul { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.list li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* never a lone tile on its own row */
.list li { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 124px; padding: 20px 20px 18px; border-radius: 16px;
  background: var(--paper-2); font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.next li { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--ink-2); font-weight: 700; }
@media (min-width: 1000px) {
  .list ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .list li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 559px) {
  .list ul { grid-template-columns: 1fr; gap: 8px; }
  .list li { flex-direction: row; align-items: baseline; min-height: 0; padding: 16px 18px; gap: 16px; font-size: 19px; }
}

/* Intake: a muted, looping call-center film under a plum veil. Text is always readable:
   the veil is darkest where the copy sits, and the poster or a plain plum stands in. */
.intake {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: var(--sec) 0 clamp(48px, 5.4vw, 80px);
  background: var(--deep);
}
.intake:not(.has-video) { background: linear-gradient(160deg, #3D1650 0%, #290C3F 70%); margin: var(--sheet-m) var(--sheet-m) 0; border-radius: var(--sheet-r); }
.intake.has-video { margin: var(--sheet-m) 0; }
.intake.has-video { min-height: clamp(460px, 60vw, 680px); }
.intake-video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8);
  /* The film's own pixels fade into the plum at both ends, long and eased, so no edge reads as a band. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.04) 4%, rgba(0,0,0,.14) 8%, rgba(0,0,0,.3) 12%, rgba(0,0,0,.5) 16%, rgba(0,0,0,.7) 20%, rgba(0,0,0,.86) 24%, rgba(0,0,0,.96) 28%, #000 32%, #000 72%, rgba(0,0,0,.94) 77%, rgba(0,0,0,.8) 82%, rgba(0,0,0,.58) 87%, rgba(0,0,0,.34) 92%, rgba(0,0,0,.14) 96%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.04) 4%, rgba(0,0,0,.14) 8%, rgba(0,0,0,.3) 12%, rgba(0,0,0,.5) 16%, rgba(0,0,0,.7) 20%, rgba(0,0,0,.86) 24%, rgba(0,0,0,.96) 28%, #000 32%, #000 72%, rgba(0,0,0,.94) 77%, rgba(0,0,0,.8) 82%, rgba(0,0,0,.58) 87%, rgba(0,0,0,.34) 92%, rgba(0,0,0,.14) 96%, transparent 100%);
}
.intake::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(41, 12, 63, .9) 0%, rgba(41, 12, 63, .5) 34%, rgba(41, 12, 63, .2) 62%, rgba(41, 12, 63, .3) 100%),
    linear-gradient(90deg, rgba(41, 12, 63, .5) 0%, rgba(41, 12, 63, 0) 70%),
    rgba(61, 22, 80, .52); /* the plum wash over the whole film (Jeremy: see it a little less) */
}
.intake-in h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.028em; max-width: 16ch; text-wrap: balance; }
.intake-in p { margin-top: 14px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--text-2); max-width: 46ch; }
/* What reaches the firm (Sean, Oct 21), with the same check as the path of a lead. */
.intake-gets { margin-top: 24px; display: grid; gap: 10px 28px; max-width: 560px; }
.intake-gets li { display: flex; align-items: flex-start; gap: 10px; color: #fff; font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.intake-gets li::before { content: ""; flex: none; width: 10px; height: 5.5px; margin: 6px 2px 0 2px; border: solid var(--coral-soft); border-width: 0 0 2px 2px; border-radius: 1px; transform: rotate(-45deg); }
@media (min-width: 560px) { .intake-gets { grid-template-columns: 1fr 1fr; } }

/* In-house (paper) */
.inhouse-top { display: grid; gap: 28px; }
.weekly { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.weekly b { display: block; text-wrap: balance; color: var(--ink); font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 8px; }
.strip { display: flex; gap: 12px; margin: clamp(36px, 4.4vw, 60px) 0 clamp(32px, 3.6vw, 48px); padding-left: max(var(--g), (100vw - var(--wrap)) / 2); overflow: hidden; align-items: flex-start; }
.strip img { flex: none; width: clamp(120px, 12.4vw, 184px); height: auto; border-radius: 12px; background: var(--field); }
.strip img:nth-child(2n) { margin-top: 24px; }
.channels { display: flex; flex-wrap: wrap; gap: 14px clamp(22px, 3vw, 40px); }
.channels li { display: flex; align-items: center; gap: 10px; }
.channels svg { width: 24px; height: 24px; fill: var(--ink); }
.channels span { font-size: 15px; font-weight: 700; color: var(--ink); }

/* The path of a lead: a lead travels a rail, each stop lights as it arrives. Every stop is
   fully readable without the animation; the dot is the only thing that moves. */
.path .head { margin-bottom: clamp(32px, 4vw, 52px); }
.journey { --loop: 11s; position: relative; display: grid; grid-auto-rows: 1fr; padding: 0; margin: 0; list-style: none; }
.j { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 16px; padding: 0 0 24px; align-content: start; }
.j-node { position: relative; z-index: 2; width: 16px; height: 16px; margin: 4px 0 0 9px; border-radius: 50%;
  background: var(--deep); box-shadow: inset 0 0 0 2px var(--coral-soft); }
.j-end .j-node { background: var(--coral); box-shadow: none; }
.j-body h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.018em; line-height: 1.2; color: var(--text-2); }
.j-body p { margin-top: 6px; font-size: 15.5px; line-height: 1.45; color: var(--text-3); max-width: 30ch; }
.j-body .j-proof { margin-top: 12px; display: flex; align-items: flex-start; gap: 8px; color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.j-body .j-proof::before { content: ""; flex: none; width: 9px; height: 5px; margin: 5px 1px 0 2px; border: solid var(--coral-soft); border-width: 0 0 2px 2px; border-radius: 1px; transform: rotate(-45deg); }
.j-end .j-body h3 { color: #fff; }
.j-rail { position: absolute; z-index: 1; left: 16px; top: 12px; bottom: calc(100% / 5 - 12px); width: 2px; border-radius: 2px;
  background: var(--plum-2); pointer-events: none; }
.j-dot { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--coral); opacity: 0; }
.j-dot::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 2px; height: 46px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(rgba(224, 28, 72, 0), var(--coral)); }
@media (prefers-reduced-motion: no-preference) {
  .j-dot { animation: j-travel var(--loop) cubic-bezier(.45, 0, .25, 1) infinite; }
  .j-node { animation: j-node var(--loop) ease infinite; animation-delay: calc(var(--i) * var(--loop) / 5.5); }
  .j-body h3 { animation: j-text var(--loop) ease infinite; animation-delay: calc(var(--i) * var(--loop) / 5.5); }
}
@keyframes j-travel {
  0% { top: 0; opacity: 0; } 3% { opacity: 1; } 9% { top: 0; }
  18% { top: 25%; } 27% { top: 25%; }
  36% { top: 50%; } 45% { top: 50%; }
  55% { top: 75%; } 64% { top: 75%; }
  73% { top: 100%; } 88% { top: 100%; opacity: 1; } 95%, 100% { top: 100%; opacity: 0; }
}
@keyframes j-node { 0% { background: var(--deep); transform: scale(1); } 3%, 13% { background: var(--coral); transform: scale(1.25); box-shadow: inset 0 0 0 2px var(--coral); } 18%, 100% { background: var(--deep); transform: scale(1); } }
.j-end .j-node, .j-end .j-body h3 { animation-name: none; }
@keyframes j-text { 0% { color: var(--text-2); } 3%, 13% { color: #fff; } 18%, 100% { color: var(--text-2); } }
@keyframes j-travel-x {
  0% { left: 0; opacity: 0; } 3% { opacity: 1; } 9% { left: 0; }
  18% { left: 25%; } 27% { left: 25%; }
  36% { left: 50%; } 45% { left: 50%; }
  55% { left: 75%; } 64% { left: 75%; }
  73% { left: 100%; } 88% { left: 100%; opacity: 1; } 95%, 100% { left: 100%; opacity: 0; }
}

/* Compliance (paper): the marks we verify with, and what arrives with every lead. */
.comply-in { display: grid; gap: 44px; }
.proof-marks { display: grid; justify-items: start; gap: 8px; margin-top: 32px; color: var(--ink); }
.pm-tf { font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1; }
.pm-by { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pm-ap { height: 22px; width: auto; color: var(--ink); }
.pm-tcpa { margin-top: 18px; font-weight: 800; font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.comply-main { display: grid; gap: 36px; }
.record { border-radius: 18px; background: var(--deep); color: #fff; padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 2px 4px rgba(41, 12, 63, .14), 0 22px 36px -28px rgba(41, 12, 63, .6); }
.record figcaption { font-weight: 800; font-size: 18px; letter-spacing: -.012em; }
.record dl { margin-top: 16px; display: grid; }
.record dl div { display: grid; gap: 2px 18px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.record dt { font-size: 14px; color: var(--text-3); font-weight: 500; }
.record dd { font-size: 16px; font-weight: 500; color: #fff; }
.record .d-data { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14.5px; color: var(--coral-soft); overflow-wrap: anywhere; }
.checks { display: grid; gap: 22px 32px; }
.checks h3 { font-size: 18px; font-weight: 800; letter-spacing: -.012em; line-height: 1.25; }
.checks p { margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 42ch; }

/* After the lead */
.after .head { margin-bottom: clamp(30px, 3.6vw, 48px); }
.steps { display: grid; border-radius: var(--r); overflow: hidden; }
.steps li { padding: 20px 20px 22px; }
.steps li:nth-child(1) { background: #3D1650; }
.steps li:nth-child(2) { background: #57175A; }
.steps li:nth-child(3) { background: #791957; }
.steps li:nth-child(4) { background: #A01951; }
.steps li:nth-child(5) { background: #D21B4A; }
.steps h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.018em; line-height: 1.15; }
.steps p { margin-top: 6px; font-size: 15px; line-height: 1.45; }
.fine { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--text-3); max-width: 70ch; }

/* Conferences and the team (paper) */
.people-in { display: grid; gap: clamp(56px, 6vw, 88px); }
.events { margin-top: clamp(28px, 3.4vw, 44px); display: grid; gap: 24px 18px; }
.event img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--field); }
.ev-when { margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--coral-ink); }
.event h3 { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.ev-where { margin-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.ev-where svg { width: 15px; height: 15px; flex: none; color: var(--ink-2); }
.faces { margin-top: clamp(24px, 3vw, 36px); display: grid; gap: 22px 28px; }
.face { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center; align-content: start; }
.face img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--field); }
.face h3 { font-size: 18px; font-weight: 800; letter-spacing: -.012em; line-height: 1.2; }
.face .role { margin-top: 2px; font-size: 14.5px; font-weight: 700; color: var(--coral-ink); }
.face p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.face .role + p { margin-top: 6px; }

/* Plan: the plum-to-coral sheet, inset with margin on every side */
.sweep { padding: var(--sheet-m) 0 calc(var(--sec) * .6); }
.sweep > .wrap {
  --sp: clamp(22px, 3.4vw, 52px);
  /* clip, not hidden: "hidden" made this a scroll box, so the sticky heading inside
     never stuck (Jeremy, Oct 21). Browsers without clip fall back to hidden. */
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  width: calc(100% - 2 * var(--sheet-m));
  max-width: none; margin: 0 var(--sheet-m);
  padding: clamp(44px, 5.4vw, 88px) max(var(--sp), (100% - var(--wrap)) / 2);
  border-radius: var(--sheet-r);
  background: var(--sweep);
}
.sweep > .wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); background-size: 180px; opacity: .1; mix-blend-mode: overlay;
}
.plan-in { display: grid; gap: 40px; align-items: start; }
.plan-head p { color: #fff; }
.split { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 460px; }
.split h3 { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .86); margin-bottom: 8px; }
.split li { font-size: 17px; font-weight: 700; line-height: 1.5; }
.sheet {
  background: #fff; color: var(--ink); border-radius: 18px;
  padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 2px 4px rgba(50, 0, 25, .18), 0 28px 44px -30px rgba(30, 0, 15, .75);
  color-scheme: light;
}
.sheet ::selection { background: var(--plum); color: #fff; }
.sheet fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet legend { padding: 0; font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.018em; line-height: 1.2; }
.models { display: grid; gap: 8px; margin-top: 16px; }
.model { /* one row each (Jeremy, Oct 20): radio, name, what it means, then its details on one line */
  position: relative; display: grid; grid-template-columns: 22px auto minmax(0, 1fr); align-items: baseline; column-gap: 14px;
  padding: 14px 18px; border-radius: 12px; background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line-ink); cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.model:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .34); }
.model input {
  grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0;
  appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-2); background: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.model input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); transform: scale(0); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.model input:checked { border-color: var(--coral); }
.model input:checked::before { transform: scale(1); }
.model input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.model:has(input:checked) { background: #FDEBF0; box-shadow: inset 0 0 0 2px var(--coral); }
.model b { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 19px; letter-spacing: -.016em; line-height: 1.25; }
.model .q { grid-column: 3; grid-row: 1; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.model ul { grid-column: 2 / -1; grid-row: 2; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.model li { display: inline-flex; align-items: center; }
.model li + li::before { content: ""; width: 4px; height: 4px; margin: 0 9px; border-radius: 50%; background: var(--ink-2); opacity: .6; }
.sheet .about { margin-top: 32px; }
.hint { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.grid2 { display: grid; gap: 18px 16px; margin-top: 20px; }
.fl { display: grid; gap: 7px; }
.fl > span, .fl-l { font-size: 15px; font-weight: 700; color: var(--ink); padding: 0; }
.fl em, .note em { font-style: normal; color: var(--err); }
.in {
  width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: 10px;
  background: var(--field); color: var(--ink); caret-color: var(--coral);
  box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .22);
  font: 400 16px/1.4 "Supreme", system-ui, sans-serif;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.in::placeholder { color: #6F5C7C; }
.in:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .42); }
.in:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--plum), 0 0 0 4px rgba(224, 28, 72, .18); }
.in[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); background: #FFF6F8; }
textarea.in { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
select.in {
  appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23290C3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.areas { display: grid; gap: 9px; }
.sheet .areas legend { font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-bottom: 9px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 12px;
  border-radius: 10px; background: var(--field); box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .22);
  font-size: 16px; font-weight: 500; cursor: pointer; transition: box-shadow .15s ease, background-color .15s ease;
}
.pick:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .42); }
.pick input {
  appearance: none; margin: 0; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--ink-2); background: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.pick input::before {
  content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .18s cubic-bezier(.16, 1, .3, 1); background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.2 2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.2 2.6 2.6L10 3.4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pick input:checked { background: var(--coral); border-color: var(--coral); }
.pick input:checked::before { transform: scale(1); }
.pick input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.pick:has(input:checked) { background: #FDEBF0; box-shadow: inset 0 0 0 2px var(--coral); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.send .btn { width: 100%; }
.note { font-size: 14px; color: var(--ink-2); }
#form-status { margin-top: 12px; font-size: 15px; font-weight: 500; min-height: 1.4em; }
#form-status.ok { color: var(--ok); }
#form-status.err { color: var(--err); }

/* Book a call: the sheet's first path. Same field, ring and coral-check language as the form. */
.sheet [hidden] { display: none !important; }
.book :focus-visible { outline-color: var(--coral); }
.book-top { display: flex; align-items: center; gap: 16px; }
.book-faces { display: flex; flex: none; }
.book-faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--field); box-shadow: 0 0 0 3px #fff; }
.book-faces img + img { margin-left: -14px; }
.book-h { font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.018em; line-height: 1.2; text-wrap: balance; }
.book-h:focus { outline: none; }
.book-sub { margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.book-pick { margin-top: 28px; }
.wk { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wk-label { font-size: 15px; font-weight: 700; }
.wk-nav { display: flex; gap: 4px; margin-right: -8px; }
.wk-btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink); cursor: pointer; transition: background-color .15s ease;
}
.wk-btn svg { width: 16px; height: 16px; }
.wk-prev svg { transform: scaleX(-1); }
.wk-btn:hover:not(:disabled) { background: var(--field); }
.wk-btn:disabled { color: rgba(41, 12, 63, .26); cursor: default; }
.days { margin-top: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.day, .time {
  border: 0; border-radius: 10px; background: var(--field); color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .22);
  transition: box-shadow .15s ease, background-color .15s ease;
}
.day { display: grid; justify-items: center; align-content: center; gap: 3px; height: 66px; padding: 0; font: 400 16px/1 "Supreme", system-ui, sans-serif; }
.d-wd { font-size: 14px; font-weight: 500; line-height: 1.1; color: var(--ink-2); }
.d-n { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.day:hover:not(:disabled), .time:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .42); }
.day[aria-pressed="true"], .time[aria-pressed="true"] { background: #FDEBF0; box-shadow: inset 0 0 0 2px var(--coral); }
.day:disabled { background: transparent; box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .1); color: rgba(41, 12, 63, .4); cursor: default; }
.day:disabled .d-wd { color: inherit; }
.times-head { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 36px; }
.times-day { font-size: 15px; font-weight: 700; }
.times-day:empty { display: none; }
.tz { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-size: 14.5px; color: var(--ink-2); }
.tz span { flex: none; }
.tz-sel {
  appearance: none; -webkit-appearance: none; min-width: 0; max-width: 100%; height: 36px; padding: 0 38px 0 12px;
  border: 0; border-radius: 8px; background-color: var(--field); color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .22);
  font: 700 14.5px/1 "Supreme", system-ui, sans-serif; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23290C3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.tz-sel:hover { box-shadow: inset 0 0 0 1px rgba(41, 12, 63, .42); }
.tz-sel:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.times { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.times:empty { display: none; }
.time {
  display: grid; place-items: center; height: 46px; padding: 0 6px; white-space: nowrap;
  font: 700 15.5px/1 "Supreme", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.005em;
}
.book-state > * { margin-top: 12px; }
.book-state p { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.book-state .err { color: var(--err); font-weight: 500; }
.book-state .empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 16px 16px 18px; border-radius: 12px; background: var(--paper-2); }
.book-state .empty p { color: var(--ink); font-weight: 700; }
.book-state .empty .err { color: var(--err); }
.text-btn {
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; color: var(--plum);
  font: 700 15px/1.4 "Supreme", system-ui, sans-serif;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: color .15s ease;
}
.text-btn:hover { color: var(--coral-ink); }
.chosen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line-ink);
}
.chosen p { font-size: 16px; line-height: 1.4; }
.chosen b { font-weight: 800; }
.book-msg { margin-top: 12px; font-size: 15px; font-weight: 500; min-height: 1.4em; }
.book-msg.ok { color: var(--ok); }
.book-msg.err { color: var(--err); }
.book-done .book-h { margin-top: 18px; }
.done-when { margin-top: 10px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.done-mail { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; overflow-wrap: anywhere; }
.done-mail b { color: var(--ink); font-weight: 700; }
.demo-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
/* Send details or Book a call (Sean, Oct 21): two equal tabs at the top of the sheet. */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 28px; padding: 5px; border-radius: 14px; background: var(--paper-2); }
.ways [role=tab] { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer;
  font: 700 16px/1 "Supreme", system-ui, sans-serif; transition: background-color .2s ease, color .2s ease; }
.ways [role=tab]:hover { color: var(--ink); background: rgba(41, 12, 63, .05); }
.ways svg { width: 17px; height: 17px; flex: none; }
.ways [role=tab][aria-selected=true] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(41, 12, 63, .12), inset 0 0 0 1px var(--line-ink); }
.ways [role=tab]:focus-visible { outline: 3px solid var(--coral); outline-offset: 1px; }
@media (max-width: 479px) {
  .book-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .book-faces img { width: 48px; height: 48px; }
  .days { gap: 6px; }
  .day { height: 60px; }
  .d-wd { font-size: 13px; }
  .d-n { font-size: 20px; }
  .times { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
  .time { font-size: 15px; }
  .chosen { padding: 12px 14px; }
}

/* Footer */
.foot { padding: 20px 0 48px; }
.foot-in { display: grid; justify-items: center; gap: 16px; text-align: center; }
.by { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; justify-content: center; font-size: 14.5px; color: var(--text-3); }
.by > img { height: 26px; width: auto; }
.by > .by-lc { height: 18px; opacity: .9; }
.legal { font-size: 14px; color: var(--text-3); }
.legal a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:hover { color: #fff; }

/* Phone details */
@media (max-width: 479px) {
  .bar-in { height: 62px; }
  .m-isla { height: 22px; }
  .bar-cta { height: 40px; padding: 0 12px 0 13px; font-size: 14px; gap: 7px; }
  .hero-in { padding-top: 150px; }
  .figs { margin-top: 32px; gap: 14px; }
  .figs dd { font-size: 28px; }
  .figs dt { font-size: 13.5px; margin-top: 6px; }
  .hero .btn { width: 100%; }
  .h1-tail { display: block; font-size: .62em; letter-spacing: -.022em; margin-top: .14em; }
  .wall { --cols: 4; top: -22%; left: -30%; right: -30%; height: 150%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(41, 12, 63, .9) 0, rgba(41, 12, 63, .5) 80px, rgba(41, 12, 63, 0) 160px),
      linear-gradient(180deg, rgba(41, 12, 63, 0) 0, rgba(41, 12, 63, .4) 190px, rgba(41, 12, 63, .84) 300px, rgba(41, 12, 63, .94) 420px, #290C3F 560px),
      linear-gradient(128deg, rgba(224, 28, 72, 0) 30%, rgba(224, 28, 72, .5) 56%, rgba(176, 25, 78, .36) 72%, rgba(122, 26, 85, 0) 92%),
      linear-gradient(180deg, rgba(41, 12, 63, .5) 0, rgba(41, 12, 63, .5) 100%);
  }
  .col:nth-child(n+5) { display: none; }
  .ask span { font-size: 15.5px; }
}
@media (min-width: 480px) and (max-width: 899px) {
  .wall { --cols: 5; }
  .col:nth-child(n+6) { display: none; }
}

/* Engagement options on phones: name over its line; details show for the chosen one */
@media (max-width: 759px) {
  .model { grid-template-columns: 22px minmax(0, 1fr); align-items: start; padding: 12px 16px; }
  .model b { grid-column: 2; grid-row: 1; font-size: 18px; }
  .model .q { grid-column: 2; grid-row: 2; margin-top: 1px; }
  .model ul { display: none; grid-column: 2; grid-row: 3; margin-top: 8px; }
  .model:has(input:checked) ul { display: flex; }
}

/* Tablet up */
@media (min-width: 760px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); grid-auto-columns: auto; overflow: visible; padding: 0 var(--g); max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; gap: 0 16px; scroll-snap-type: none; }
  .case:nth-child(-n+2) { grid-row: 1 / span 4; margin-bottom: 16px; }
  .case:nth-child(n+3) { grid-row: 5 / span 4; }
  .dots { display: none; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 1fr; }
  .steps li { padding: 24px 20px 28px; min-height: 180px; grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .span2 { grid-column: 1 / -1; }
  .send .btn { width: auto; }
  .events { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .face { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .face img { width: 96px; height: 96px; }
  .checks { grid-template-columns: 1fr 1fr; }
  .lists { gap: 36px; }
}
@media (min-width: 900px) {
  /* Full width (Jeremy: "an entirely full-width section"), and each part of a step (node,
     title, text, check) sits on one shared row across all five, whatever the copy length. */
  .path .wrap { max-width: none; padding: 0 clamp(28px, 4vw, 72px); }
  .journey { --jg: clamp(28px, 3vw, 56px); grid-auto-rows: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 0 var(--jg); }
  .j { grid-row: span 4; grid-template-columns: 1fr; grid-template-rows: subgrid; gap: 0; padding: 0; }
  .j-body { display: contents; }
  .j-body h3 { margin-top: 22px; }
  .j-body p { max-width: 34ch; }
  .j-body .j-proof { align-self: start; margin-top: 16px; }
  .j-node { margin: 0; }
  .j-rail { left: 8px; right: calc(100% / 5 - 8px - var(--jg) * 4 / 5); top: 7px; bottom: auto; width: auto; height: 2px; }
  .j-dot { left: 0; top: 50%; margin: -6px 0 0 -6px; }
  .j-dot::before { left: auto; right: 6px; bottom: auto; top: 50%; width: 46px; height: 2px; margin: -1px 0 0; background: linear-gradient(90deg, rgba(224, 28, 72, 0), var(--coral)); }
  @media (prefers-reduced-motion: no-preference) { .j-dot { animation-name: j-travel-x; } }
}
@media (min-width: 1000px) {
  /* No empty band above the copy (Sean, Oct 20: "lot of blank space up here"). */
  .hero { padding: 0 0 64px; }
  .hero-in { padding-top: 156px; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(41, 12, 63, .9) 0, rgba(41, 12, 63, .5) 100px, rgba(41, 12, 63, 0) 200px),
      linear-gradient(180deg, rgba(41, 12, 63, 0) 50%, rgba(41, 12, 63, .78) 72%, #290C3F 97%),
      linear-gradient(118deg, rgba(224, 28, 72, 0) 42%, rgba(224, 28, 72, .4) 66%, rgba(176, 25, 78, .32) 82%, rgba(122, 26, 85, .1) 100%),
      linear-gradient(90deg, rgba(41, 12, 63, .9) 0%, rgba(41, 12, 63, .76) 45%, rgba(41, 12, 63, .6) 100%);
  }
  .engine-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .inhouse-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 56px; }
  .comply-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .comply-side { position: sticky; top: 110px; }
  .plan-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); }
  .plan-head { position: sticky; top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .col-run { animation: none; }
  .btn svg, .dots button::before, .model input::before, .pick input::before { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Programs: each one carries its status, as type (no chips) ---- */
.list li > span { min-width: 0; }
.st { flex: none; font-style: normal; font-weight: 700; font-size: 15px; letter-spacing: 0; line-height: 1.3; }
.st-open { color: #17734A; }
.st-limited { color: var(--coral-ink); }
.st-planned { color: var(--ink-2); }
.st-key { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.st-key div { display: flex; gap: 8px; align-items: baseline; }
.st-key dd { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
/* Jeremy, Oct 21: no two white (or two plum) sections back to back. Practice areas sit on
   the plum, case studies on a white sheet, so the page alternates top to bottom. */
.avail .list h3 { color: var(--text-2); }
.avail .now li { background: var(--plum); color: #fff; }
.avail .next li { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); color: var(--text-2); }
.avail .st-open { color: #7FE0A6; }
.avail .st-limited { color: var(--coral-soft); }
.avail .st-planned { color: var(--text-3); }
.avail .st-key dd { color: var(--text-3); }
.paper .case { color: #fff; } /* the cards stay dark on the white sheet */
/* Program tiles (Jeremy, Oct 21): the image fills the tile; the name and status sit at the
   bottom on a dark-to-clear veil, so they always read. Planned programs are a little dimmer. */
.avail .list li { position: relative; isolation: isolate; overflow: hidden; justify-content: flex-end; gap: 4px;
  min-height: clamp(190px, 17vw, 236px); padding: 16px 16px 14px; background: var(--plum-2); }
.prog-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.avail .list li::after { /* long, eased fade from the bottom up: no hard edge in the picture */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 5, 34, .94) 0%, rgba(22, 5, 34, .86) 18%, rgba(22, 5, 34, .62) 36%,
    rgba(22, 5, 34, .34) 54%, rgba(22, 5, 34, .12) 70%, rgba(22, 5, 34, 0) 84%); }
.avail .list li > span { color: #fff; text-shadow: 0 1px 2px rgba(22, 5, 34, .5); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.18; }
.avail .list li > .st { text-shadow: 0 1px 2px rgba(22, 5, 34, .6); }
.avail .next li { box-shadow: none; }
.avail .next .prog-img { filter: saturate(.55) brightness(.72); }
.avail .next li > span { color: rgba(255, 255, 255, .88); }
@media (max-width: 559px) {
  .avail .list ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .avail .list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .avail .list li { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 150px; padding: 12px 12px 10px; gap: 2px; }
  .avail .list li > span { font-size: 15.5px; }
}
.paper .dots button::before { background: rgba(41, 12, 63, .2); }
.paper .dots button[aria-current]::before { background: var(--plum); }
.paper .dots button:hover::before { background: rgba(41, 12, 63, .45); }

/* ---- Case studies: the card's own button opens the side panel ---- */
.rail { grid-template-rows: repeat(6, auto); } /* row 6: the MVA banner on card 4 (empty on the others) */
.case { grid-row: 1 / span 6; }
/* Sean, Oct 21: the deal type is the first thing on each card, and results sit on the card. */
.case-kind { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-weight: 800; font-size: 16px; letter-spacing: -.005em; color: #fff; }
.case-kind svg { flex: none; width: 20px; height: 20px; }
.case-sub { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case-sub div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.case-sub dd { font-weight: 800; font-size: 19px; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; }
.case-sub dt { margin-top: 3px; font-size: 14px; line-height: 1.3; color: #fff; opacity: .86; }
.cd-kind { margin-bottom: 8px; font-weight: 700; font-size: 15px; color: var(--coral-ink); }
.case-more {
  justify-self: start; align-self: end; margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 16px;
  border: 0; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  font: 700 15px/1 "Supreme", system-ui, sans-serif; transition: background-color .2s ease;
}
.case-more svg { width: 14px; height: 14px; transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.case-more:hover { background: rgba(255, 255, 255, .24); }
.case-more:hover svg, .case-more:focus-visible svg { transform: translateX(3px); }

.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: none; width: min(520px, 100%);
  padding: 0; border: 0; background: var(--paper); color: var(--ink); color-scheme: light;
  display: none; flex-direction: column; box-shadow: -2px 0 0 rgba(41, 12, 63, .06), -24px 0 48px -32px rgba(20, 0, 30, .55);
}
.drawer[open] { display: flex; }
.drawer::backdrop { background: rgba(26, 6, 40, .58); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 28px; box-shadow: 0 1px 0 var(--line-ink); }
.drawer-head p { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.drawer-x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.drawer-x:hover { background: var(--field); }
.drawer-x svg { width: 16px; height: 16px; }
.drawer-body { overflow-y: auto; padding: 28px 28px 40px; }
.cd-who { font-weight: 800; font-size: 28px; letter-spacing: -.022em; line-height: 1.1; }
.cd-torts { margin-top: 6px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.cd-figs { margin-top: 26px; display: grid; gap: 0; border-radius: 14px; overflow: hidden; background: var(--deep); color: #fff; }
.cd-figs div { display: flex; flex-direction: column-reverse; padding: 16px 18px; }
.cd-figs div + div { box-shadow: 0 -1px 0 rgba(255, 255, 255, .12); }
.cd-figs dd { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.cd-figs dt { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.drawer-body h3 { margin-top: 30px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.cd-did { margin-top: 12px; display: grid; gap: 10px; }
.cd-did li, .cp-checks li, .cp-ex li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.45; }
.cd-did li::before, .cp-checks li::before, .cp-ex li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px;
  border: solid var(--coral); border-width: 0 0 2px 2px; border-radius: 1px; transform: rotate(-45deg);
}

/* ---- Compliance: four checks as tabs, each with its checklist and an example ---- */
.ctabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--paper-2); }
.ctabs [role=tab] {
  flex: 1 1 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink-2); cursor: pointer; font: 700 15px/1.2 "Supreme", system-ui, sans-serif; transition: background-color .2s ease, color .2s ease;
}
.ctabs [role=tab]:hover { color: var(--ink); background: rgba(41, 12, 63, .05); }
.ctabs [role=tab][aria-selected=true] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(41, 12, 63, .12), inset 0 0 0 1px var(--line-ink); }
.ctabs [role=tab]:focus-visible { outline-offset: 1px; }
.cpanel { margin-top: 26px; }
.comply-main:not(.tabbed) .ctabs { display: none; }
/* Only the open panel takes room (Sean, Oct 21: no blank space under the shorter ones). */
.comply-main.tabbed { gap: 0; }
.comply-main.tabbed .cpanel:not(.on) { display: none; }
.comply-main:not(.tabbed) .cpanel + .cpanel { margin-top: 48px; }
.cpanel:focus-visible { outline-offset: 6px; }
.cp-lead { font-size: 18px; line-height: 1.5; max-width: 52ch; }
.cp-checks { margin-top: 18px; display: grid; gap: 10px 28px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cp-ex { margin-top: 26px; border-radius: 18px; background: var(--deep); color: #fff; padding: clamp(18px, 2.2vw, 26px); }
.cp-ex figcaption b { display: block; font-weight: 800; font-size: 18px; letter-spacing: -.012em; }
.cp-ex figcaption > span { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }
.cp-ex li::before { border-color: var(--coral-soft); }
.cp-ex.review { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; }
.cp-ex.review img { width: 120px; height: auto; border-radius: 10px; }
.cp-ex.review .cp-verdict { display: block; margin: 6px 0 14px; font-size: 15px; font-weight: 800; color: #7BE0A8; }
.cp-ex.review ul { display: grid; gap: 8px; }
.cp-ex dl { margin-top: 14px; display: grid; }
.cp-ex dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; padding: 12px 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .12); align-items: baseline; }
.cp-ex.queue dl div { grid-template-columns: 1fr; }
.cp-ex dt { font-size: 15px; font-weight: 700; }
.cp-ex dd { font-size: 15px; color: var(--text-2); }
.cp-ex.log dd { font-weight: 700; color: var(--text-2); }
.cp-ex .v-ok { color: #7BE0A8; }
.cp-ex .v-fix { color: var(--coral-soft); }
.cpanel .record { margin-top: 26px; }

@media (max-width: 479px) {
  .ctabs [role=tab] { flex-basis: calc(50% - 3px); padding: 0 10px; font-size: 14.5px; }
  .cp-ex.review { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .cp-ex.review img { width: 88px; }
  .cp-ex dl div { grid-template-columns: 1fr; }
  .drawer-body { padding: 24px 20px 36px; }
}
@media (min-width: 760px) {
  .rail { grid-template-rows: repeat(12, auto); }
  .case:nth-child(-n+2) { grid-row: 1 / span 6; }
  .case:nth-child(n+3) { grid-row: 7 / span 6; }
}
@media (prefers-reduced-motion: reduce) {
  .case-more svg, .ctabs [role=tab] { transition: none; }
}

/* ---- MVA cross-sell (Sean, Oct 27): the MVA program tile and a banner on the MVA case
   study both link to the MVA page. ---- */
.avail .list li.prog-x { padding: 0; outline: 2px solid var(--coral); outline-offset: -2px; }
.prog-x a { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; height: 100%; padding: 16px 16px 14px; color: #fff; text-decoration: none; border-radius: inherit; }
.avail .list .prog-x a > span:first-of-type { color: #fff; text-shadow: 0 1px 2px rgba(22, 5, 34, .5); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.18; }
.prog-go { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--coral-soft); text-shadow: 0 1px 2px rgba(22, 5, 34, .6); }
.prog-go svg { display: inline-block; vertical-align: -1px; margin-left: 6px; } /* the arrow follows the last word when the line wraps */
.prog-go svg, .case-x svg { flex: none; width: 13px; height: 13px; transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.prog-x a:hover .prog-go, .prog-x a:focus-visible .prog-go { color: #fff; }
.prog-x a:hover svg, .prog-x a:focus-visible svg, .case-x:hover svg, .case-x:focus-visible svg { transform: translate(2px, -2px); }
.prog-x a:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.case-x { grid-row: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px;
  margin: 20px -22px -24px; padding: 14px 22px 15px; background: var(--coral); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1.3; transition: background-color .2s ease; }
.case-x span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.case-x b { font-weight: 800; }
.case-x:hover { background: var(--coral-ink); }
.case-x:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (max-width: 559px) {
  .prog-x a { padding: 12px 12px 10px; gap: 2px; }
  .avail .list .prog-x a > span:first-of-type { font-size: 15.5px; }
  .prog-go { font-size: 13.5px; }
  /* One line on a phone, so the empty row under the other cards stays short. */
  .case-x { flex-wrap: nowrap; font-size: 14px; }
  .case-sub dd { font-size: 17px; } /* "Single-state" stays on one line */
  .case-x b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .prog-go svg, .case-x svg { transition: none; } }

/* ---- Case cards in three zones (Jeremy, Oct 27: the text read "sprinkled everywhere").
   Top: who it was. Middle: the results in one row, the headline figure first. Bottom: the
   button. Where the cards are narrow, the headline figure takes its own line above the other two
   (a media query, not a container query: containment would break the cards' shared rows). ---- */
.case-stats { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; align-content: end; align-self: stretch; } /* labels share one bottom line across the cards in a row */
.case-stats .case-fig { grid-column: 1 / -1; margin: 0; align-self: auto; }
.case-stats .case-fig b { font-size: clamp(38px, 3vw, 42px); }
.case-stats .case-fig span { margin-top: 8px; font-size: 14px; line-height: 1.3; font-weight: 400; opacity: .86; }
.case-stats .case-sub { display: contents; }
.case-stats .case-sub dd { font-size: clamp(19px, 1.6vw, 21px); letter-spacing: -.02em; overflow-wrap: normal; }
.case-stats .case-sub dt { margin-top: 8px; }
@media (min-width: 1100px) {
  .case-stats { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.05fr) minmax(0, .85fr); }
  .case-stats .case-fig { grid-column: auto; }
}
.case-more { margin-top: 26px; }
@media (max-width: 559px) { /* a phone card is too narrow for two stats side by side */
  .case-stats { grid-template-columns: 1fr; gap: 14px; }
  .case-stats .case-sub dd { font-size: 18px; }
}

/* Sean, Oct 27: the full case study in the side panel. */
.cd-figs { margin-top: 12px; }
.cd-text { margin-top: 10px; display: grid; gap: 12px; }
.cd-text p { font-size: 16px; line-height: 1.55; color: var(--ink); }
.cd-conf { margin-top: 30px; padding-top: 22px; box-shadow: 0 -1px 0 var(--line-ink); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cd-conf b { display: block; color: var(--ink); font-weight: 700; }
.cd-ref {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: 10px; background: var(--plum, #3D1650); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background-color .2s ease;
}
.cd-ref svg { width: 14px; height: 14px; transition: transform .28s cubic-bezier(.16, 1, .3, 1); }
.cd-ref:hover { background: var(--deep, #290C3F); }
.cd-ref:hover svg, .cd-ref:focus-visible svg { transform: translate(2px, -2px); }
