/* =============================================================
   Case studies, v3.
   One quiet column beside a numbered section list; a big serif headline
   with the product playing in a phone beside it; journeys told as a row
   of grey cards, each a screen with dashed annotations and a caption,
   over a step rail. Scoped to <body class="cv">.
   ============================================================= */
body.cv {
  /* the site's own palette (app.css), so case studies match the rest of the site */
  --bg: #faf8f4; --bg-elev: #f3f0e9; --fg: #111111; --fg-muted: #5e5a55; --fg-faint: #8b857d;
  --ink: #3a3631; --line: rgba(17, 17, 17, .1); --line-2: rgba(17, 17, 17, .06);
  --border: var(--line); --border-2: var(--line-2); --card: #fff; --ink-2: var(--ink);
  --blue: #2f6fe0; --lime: #c8f04a; --lime-ink: #1d2405;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --side: 216px; --gut: clamp(20px, 6vw, 86px); --read: 700px; --wide: 1100px;
  background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.cv main { display: block; }
@media (min-width: 1200px) { body.cv main { margin-left: var(--side); } }

/* ----- section list: a sidebar on wide screens, a bar under the header otherwise ----- */
.cv-side { position: sticky; top: var(--hdr, 72px); z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2);
  overflow-x: auto; scrollbar-width: none; }
.cv-side::-webkit-scrollbar { display: none; }
.cv-side__back, .cv-side__t, .cv-side__s { display: none; }
.cv-side ol { list-style: none; margin: 0; padding: .5rem var(--gut); display: flex; gap: .25rem; white-space: nowrap; }
.cv-side a { display: flex; align-items: baseline; gap: .55rem; padding: .4rem .65rem; border-radius: 8px;
  font-size: .82rem; color: var(--fg-muted); transition: background .2s, color .2s; }
.cv-side a i { font-style: normal; font-size: .72rem; color: var(--fg-faint); font-variant-numeric: tabular-nums; }
.cv-side a:hover { color: var(--fg); }
.cv-side a[aria-current] { background: var(--bg-elev); color: var(--fg); }
.cv-side a:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
@media (min-width: 1200px) {
  .cv-side { position: fixed; top: var(--hdr, 72px); bottom: 0; left: 0; width: var(--side); padding: 24px 16px;
    border-bottom: 0; background: var(--bg); overflow-y: auto; }
  .cv-side__back { display: inline-flex; align-self: flex-start; width: max-content; align-items: center; gap: .35rem; padding: .3rem .75rem; border: 1px solid var(--line);
    border-radius: 999px; font-size: .8rem; color: var(--fg); }
  .cv-side__back:hover { background: var(--bg-elev); }
  .cv-side__t { display: block; margin-top: 1.25rem; font-size: .875rem; font-weight: 600; color: var(--fg); }
  .cv-side__s { display: block; font-size: .78rem; color: var(--fg-faint); margin-top: .1rem; }
  .cv-side ol { flex-direction: column; padding: 1rem 0 0; gap: .1rem; }
  .cv-side a { font-size: .85rem; padding: .38rem .6rem; }
}

/* ----- intro: the headline, and the product playing in a phone ----- */
.cv-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 6vw, 5rem);
  max-width: calc(var(--wide) + 2 * var(--gut)); padding: clamp(2.5rem, 7vw, 5.5rem) var(--gut) clamp(3rem, 7vw, 6rem);
  scroll-margin-top: 6rem; }
.cv-crumbs { display: flex; gap: .5rem; font-size: .85rem; color: var(--fg-faint); }
.cv-crumbs a { color: var(--fg-faint); }
.cv-crumbs a:hover { color: var(--fg); }
.cv-crumbs > span:last-child { color: var(--fg); }
.cv-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(3rem, 6.4vw, 5rem); line-height: 1;
  letter-spacing: -.02em; color: var(--fg); margin-top: clamp(1.5rem, 4vw, 2.5rem); max-width: 11.5ch; text-wrap: balance; }
.cv-lede { font-size: clamp(1.15rem, 1.9vw, 1.3125rem); line-height: 1.5; color: var(--ink); margin-top: 1.75rem; max-width: 30rem; text-wrap: pretty; }
.cv-meta { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin: 2.5rem 0 0; }
.cv-meta dt { font-size: .8rem; color: var(--fg-faint); }
.cv-meta dd { margin: .25rem 0 0; font-size: .9375rem; font-weight: 500; color: var(--fg); }
.cv-fine { font-size: .8rem; line-height: 1.5; color: var(--fg-faint); margin-top: 1.25rem; }
.cv-hero__phone { margin: 0; }

/* ----- the phone: a drawn device, so a screenshot or a video can sit inside ----- */
.cv-phone { position: relative; width: 264px; padding: 10px; border-radius: 52px; background: #050505;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 40px 70px -40px rgba(30, 24, 12, .5); flex: none; }
.cv-phone--hero { width: 292px; border-radius: 54px; }
.cv-phone__island { position: absolute; z-index: 3; top: 20px; left: 50%; translate: -50% 0; width: 31%; height: 26px;
  border-radius: 20px; background: #000; }
.cv-phone .cv-screen { position: relative; border-radius: 42px; overflow: hidden; aspect-ratio: 600 / 1305; background: #0c0e09; }
.cv-phone--hero .cv-screen { border-radius: 44px; }
.cv-screen > img, .cv-screen > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ----- the browser: the old web Shop ----- */
.cv-browser { width: 520px; border-radius: 12px; overflow: visible; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(30,24,12,.4); flex: none; }
.cv-browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line-2);
  background: #f6f3ec; border-radius: 12px 12px 0 0; }
.cv-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d3c7; }
.cv-browser__bar span { flex: 1; margin: 0 28px 0 8px; text-align: center; font-size: .7rem; color: var(--fg-faint);
  background: #fff; border-radius: 6px; padding: .15rem .5rem; }
.cv-browser .cv-screen { position: relative; border-radius: 0 0 12px 12px; }
.cv-browser .cv-screen > img { border-radius: 0 0 12px 12px; }

/* ----- section anatomy ----- */
.cv-body { max-width: calc(var(--wide) + 2 * var(--gut)); padding: 0 var(--gut) clamp(5rem, 10vw, 8rem); }
.cv-sec { margin-top: clamp(5rem, 11vw, 9rem); scroll-margin-top: 6rem; }
.cv-sec h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.25rem, 4.4vw, 3rem); line-height: 1.05;
  letter-spacing: -.015em; color: var(--fg); max-width: 11em; text-wrap: balance; }
.cv-p { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); max-width: var(--read); margin-top: 1.25rem; text-wrap: pretty; }
.cv-say { font-size: clamp(1.1rem, 1.7vw, 1.3125rem); line-height: 1.5; color: var(--fg); max-width: 40rem; margin-top: 2.5rem; text-wrap: pretty; }
.cv-sec > .cv-fine { margin-top: 1rem; }
.cv-chip { display: inline-flex; align-items: center; vertical-align: middle; margin-left: .45rem; padding: .15rem .6rem;
  border-radius: 999px; background: var(--bg-elev); font-size: .8rem; font-weight: 500; color: var(--fg-muted); letter-spacing: 0; }
.cv-wide { margin-top: 2.5rem; }

/* ----- a journey: grey cards in a row that runs off the page, over a step rail ----- */
.cv-flow { margin-top: 2.5rem; }
.cv-flow__bar { display: flex; justify-content: flex-end; margin-bottom: .9rem; max-width: var(--wide); }
.cv-switch { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--fg-muted); cursor: pointer;
  padding: .3rem .8rem .3rem .4rem; border: 1px solid var(--line); border-radius: 999px; user-select: none; }
.cv-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cv-switch span { position: relative; width: 28px; height: 16px; border-radius: 999px; background: #cfc8bb; transition: background .2s; }
.cv-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: translate .2s; }
.cv-switch input:checked + span { background: var(--blue); }
.cv-switch input:checked + span::after { translate: 12px 0; }
.cv-switch input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }

.cv-track { list-style: none; margin: 0; padding: 0 0 .5rem; display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.cv-track::-webkit-scrollbar { display: none; }
.cv-card { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-elev); border-radius: 24px; padding: 56px 64px 32px; }
.cv-card--notes { padding-right: 244px; }
.cv-card__stage { position: relative; display: flex; align-items: center; justify-content: flex-start; flex: 1; }
.cv-cap { margin-top: 1.75rem; max-width: 264px; }
.cv-card--web .cv-cap { max-width: 520px; }
.cv-cap b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--fg); }
.cv-cap span { display: block; margin-top: .3rem; font-size: .9375rem; line-height: 1.45; color: var(--fg-muted); }

/* annotations: a dotted leader and a note beside the screen */
.cv-anns { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.cv-phone > .cv-anns { inset: 10px; }
.cv-browser > .cv-anns { top: 30px; }
/* the dashed boxes stay in the markup but are not drawn: the notes and their dots do the pointing */
.cv-box { display: none; }
.cv-note { position: absolute; top: var(--ny); left: calc(100% + 34px); width: 190px; translate: 0 -.75em;
  font-size: .9375rem; line-height: 1.35; transition: opacity .3s; }
.cv-note b { display: block; font-weight: 600; color: var(--fg); }
.cv-note span { display: block; margin-top: .15rem; font-size: .875rem; color: var(--fg-muted); }
.cv-note::before { content: ""; position: absolute; right: calc(100% + 6px); top: .7em; width: 26px; border-top: 1.2px dotted var(--blue); }
.cv-note::after { content: ""; position: absolute; right: calc(100% + 2px); top: calc(.7em - 3px); width: 6px; height: 6px;
  border-radius: 50%; background: var(--blue); }
.cv-browser .cv-note { left: calc(100% + 28px); }
.cv-flow.is-plain .cv-box, .cv-flow.is-plain .cv-note { opacity: 0; }

/* the first card: who this is */
.cv-persona { width: 240px; margin: auto; display: grid; justify-items: center; text-align: center; gap: .2rem;
  background: #fff; border-radius: 20px; padding: 28px 20px 22px; box-shadow: 0 1px 0 var(--line-2), 0 20px 40px -30px rgba(30,24,12,.3); }
.cv-persona__av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: .6rem;
  background: var(--lime); color: var(--lime-ink); font-family: var(--font-serif); font-size: 2rem; }
.cv-persona b { font-size: 1rem; font-weight: 700; color: var(--fg); }
.cv-persona span { font-size: .82rem; color: var(--fg-muted); }
.cv-persona .cv-persona__av { font-size: 2.1rem; line-height: 1; color: var(--lime-ink); }
.cv-persona .cv-persona__tag { margin-top: .7rem; padding: .25rem .6rem; border-radius: 999px; background: var(--bg-elev); font-size: .75rem; }
.cv-card:has(.cv-persona) { width: 380px; }

/* the last card: what people end up with */
.cv-card--end { width: 420px; }
.cv-end { width: 100%; background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 1px 0 var(--line-2), 0 20px 40px -30px rgba(30,24,12,.3); }
.cv-end__k { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); }
.cv-end h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-top: .45rem; color: var(--fg); }
.cv-end ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .9rem; }
.cv-end li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.cv-end li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: .75rem;
  background: #e6f4ea; color: #1f7a46; }
.cv-card--end.is-bad .cv-end li i { background: #fdecec; color: #c4372f; }
.cv-end li b { display: block; font-size: .9375rem; font-weight: 600; color: var(--fg); }
.cv-end li span { display: block; font-size: .875rem; color: var(--fg-muted); line-height: 1.4; }
.cv-end__foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-2); font-size: .875rem; color: var(--fg-muted); }

/* the rail under a journey: arrows either side, a stop per card, filled up to the one in view */
.cv-rail { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; max-width: var(--wide); }
.cv-arrow { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; padding: 0;
  border: 1px solid var(--line); background: #fff; color: var(--fg); cursor: pointer; transition: background .2s, opacity .2s; }
.cv-arrow:hover:not(:disabled) { background: var(--bg-elev); }
.cv-arrow:disabled { opacity: .35; cursor: default; }
.cv-arrow:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.cv-stops { list-style: none; margin: 0; padding: 12px 0 30px; flex: 1; min-width: 0; position: relative;
  display: flex; justify-content: space-between; }
.cv-stops::before, .cv-stops__fill { content: ""; position: absolute; left: 6px; top: 17px; height: 2px; border-radius: 2px; }
.cv-stops::before { right: 6px; background: var(--line); }
.cv-stops__fill { width: 0; background: var(--fg); transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.cv-stops li { position: relative; }
.cv-stops button { position: relative; display: block; width: 12px; height: 12px; padding: 0; border: 0; background: none; cursor: pointer; }
.cv-stops button i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid #cfc8bb;
  transition: background .2s, border-color .2s; }
.cv-stops button span { position: absolute; top: 22px; left: 50%; translate: -50% 0; white-space: nowrap;
  font-size: .8rem; color: var(--fg-faint); transition: color .2s; }
.cv-stops li:first-child button span { left: 0; translate: 0 0; }
.cv-stops li:last-child button span { left: auto; right: 0; translate: 0 0; }
.cv-stops button.is-done i { background: var(--fg); border-color: var(--fg); }
.cv-stops button[aria-current] i { background: var(--bg); border-color: var(--fg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fg) 12%, transparent); }
.cv-stops button[aria-current] span, .cv-stops button.is-done span { color: var(--fg); }
.cv-stops button:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 50%; }

/* the row itself drags like a phone */
.cv-track { cursor: grab; }
.cv-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.cv-track.is-dragging * { pointer-events: none; }
.cv-track img { -webkit-user-drag: none; user-select: none; }

/* a flow's own heading inside a section */
.cv-flowhead { margin-top: clamp(3.5rem, 7vw, 5rem); max-width: var(--read); }
.cv-flowhead h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.01em; color: var(--fg); }
.cv-flowhead p { margin-top: .4rem; font-size: 1.0625rem; color: var(--fg-muted); }
.cv-flowhead + .cv-flow { margin-top: 1.25rem; }

/* ----- the problem space ----- */
.cv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2.5rem; max-width: var(--wide); }
.cv-box-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 40px 28px; }
.cv-box-card h3 { font-size: .9375rem; font-weight: 500; color: var(--fg-muted); }
.cv-box-card p { margin-top: .5rem; font-size: 1.0625rem; line-height: 1.55; color: var(--fg); }
.cv-panel { background: var(--bg-elev); border-radius: 24px; padding: clamp(20px, 3vw, 32px); margin-top: 16px; max-width: var(--wide); }
.cv-panel--2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.cv-fig { margin: 0; background: #fff; border-radius: 16px; padding: 24px; }
.cv-fig figcaption { font-size: .9375rem; font-weight: 600; color: var(--fg); margin-bottom: 1.25rem; }
.cv-fig figcaption span { display: block; font-size: .8rem; font-weight: 400; color: var(--fg-faint); margin-top: .1rem; }
.cv-numbers { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem; max-width: var(--wide); }
.cv-numbers li { border-top: 1px solid var(--line); padding-top: 1rem; }
.cv-numbers b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1;
  letter-spacing: -.01em; color: var(--fg); white-space: nowrap; }
.cv-numbers span { display: block; margin-top: .5rem; font-size: .875rem; line-height: 1.4; color: var(--fg-muted); }

/* ----- strategy ----- */
.cv-stages { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wide); }
.cv-stages li { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 24px 28px; }
.cv-stages h3, .cv-decision h3, .cv-reflect h3, .cv-aside h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--fg); }
.cv-stages h3 .cv-chip { margin-left: .35rem; }
.cv-stages p { margin-top: .5rem; font-size: 1rem; line-height: 1.55; color: var(--fg-muted); }
/* the web sprint's before/after pairs, on the new cards */
body.cv .cx-stack--pairs { max-width: var(--wide); margin-top: 1.25rem; }
body.cv .cx-stack--pairs .cx-slide { background: var(--bg-elev); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
body.cv .cx-stack--pairs .cx-slide + .cx-slide { margin-top: 16px; }
body.cv .cs-pair h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; color: var(--fg); margin-bottom: 1rem; }
body.cv .cs-side figcaption { font-size: .9375rem; color: var(--fg-muted); }
body.cv .cs-side.is-new .cs-browser { border-color: var(--line); box-shadow: 0 0 0 2px var(--blue); }
body.cv .cs-side.is-new .cs-tag { color: var(--blue); }

/* ----- benchmarks keep their grid, on the new cards ----- */
body.cv .bm-card { background: var(--bg-elev); border: 0; border-radius: 24px; padding: 24px; }
body.cv .bm-card h4 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
body.cv .bm-card > p { color: var(--fg-muted); }
body.cv .cx-more > summary { border-color: var(--line); }

/* ----- decisions: the call and what it cost, beside a small picture of it ----- */
.cv-decisions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 2.5rem; max-width: var(--wide); }
.cv-decision { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--bg-elev); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.cv-decision p { margin-top: .6rem; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.cv-decision .cv-cost { font-size: .9375rem; color: var(--fg-muted); }
.cv-cost b { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: .15rem; }
.cv-decision__vis { display: grid; place-items: center; min-height: 220px; background: #fff; border-radius: 18px; padding: 24px; }
.cv-decision__vis .cs-decide { width: 100%; grid-template-columns: 1fr; gap: .75rem; }
.cv-mini-bag { width: min(100%, 300px); display: grid; gap: .6rem; font-size: .85rem; }
.cv-mini-bag > p { font-weight: 600; color: var(--fg); }
.cv-mini-bag > div { border: 1px solid var(--line); border-radius: 12px; padding: .7rem .85rem; display: grid; gap: .1rem; }
.cv-mini-bag b { font-weight: 600; color: var(--fg); }
.cv-mini-bag span { color: var(--fg-muted); }
.cv-mini-bag em { font-style: normal; font-size: .78rem; color: var(--blue); }
.cv-mini-bag__btn { margin-top: .2rem; text-align: center; padding: .6rem; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-weight: 600; }
.cv-mini-road { list-style: none; margin: 0; padding: 0; width: min(100%, 320px); display: grid; gap: .5rem; }
.cv-mini-road li { display: flex; justify-content: space-between; align-items: center; padding: .65rem .9rem; border-radius: 12px;
  border: 1px solid var(--line); font-size: .9rem; }
.cv-mini-road b { font-weight: 600; color: var(--fg); }
.cv-mini-road span { font-size: .8rem; color: var(--fg-faint); }
.cv-mini-road li.is-done { background: var(--bg-elev); }
.cv-mini-road li.is-now { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }

/* ----- prototype ----- */
body.cv .cs-flow { margin-top: 2rem; max-width: var(--wide); }
body.cv .cs-flow li { background: var(--bg-elev); border: 0; border-radius: 18px; }
body.cv .cx-try { margin-top: 1.5rem; }
.cv-aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-top: 2rem; max-width: var(--wide);
  background: var(--bg-elev); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.cv-aside__k { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: .4rem; }
.cv-aside p:not(.cv-aside__k) { margin-top: .5rem; font-size: 1rem; color: var(--fg-muted); max-width: 34rem; }
.cv-aside .cs-mini { margin: 0; }
.cv-aside .cs-mini img { width: 92px; }

/* ----- outcomes ----- */
.cv-table-wrap { margin-top: 2.5rem; max-width: var(--wide); overflow-x: auto; }
.cv-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cv-table th { text-align: left; font-size: .8rem; font-weight: 500; color: var(--fg-faint); padding: 0 1rem .75rem 0; border-bottom: 1px solid var(--line); }
.cv-table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line-2); color: var(--ink); vertical-align: top; }
.cv-table td:first-child { font-weight: 600; color: var(--fg); white-space: nowrap; }
.cv-want { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.cv-want.is-up { background: #e6f4ea; color: #1f7a46; }
.cv-want.is-hold { background: var(--bg-elev); color: var(--fg-muted); }
.cv-want.is-watch { background: #fff4e0; color: #9a5b00; }

/* ----- reflections ----- */
.cv-reflect { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wide); }
.cv-reflect li { background: var(--bg-elev); border-radius: 24px; padding: 24px 24px 28px; }
.cv-reflect__k { font-size: .8rem; color: var(--fg-faint); }
.cv-reflect h3 { margin-top: .35rem; }
.cv-reflect p { margin-top: .5rem; font-size: 1rem; line-height: 1.55; color: var(--fg-muted); }

/* ----- the other case studies: the same type and cards on their existing markup ----- */
body.cv .cx-hero, body.cv .cx { --col: 760px; }
body.cv .cx-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(3rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -.02em; max-width: 16ch; }
body.cv .cx-lead { font-size: clamp(1.15rem, 1.9vw, 1.3125rem); line-height: 1.5; color: var(--ink); }
body.cv .cx h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.25rem, 4.4vw, 3rem); line-height: 1.05; letter-spacing: -.015em; max-width: 11em; }
body.cv .cx-p { color: var(--ink); font-size: 1.0625rem; }
body.cv .cx-sec, body.cv .cx-sec:first-child { border-top: 0; padding-top: 0; margin-top: clamp(5rem, 11vw, 8rem); }
body.cv .cx-sec > .cx-label:first-child::before { display: none; }
body.cv .cx-panel, body.cv .cx-plate, body.cv .dx-stage, body.cv .dx-full, body.cv .dx-cmp { background: var(--bg-elev); border-radius: 24px; box-shadow: none; }
body.cv .cx-meta dd { font-weight: 500; }

/* ----- small screens ----- */
@media (max-width: 900px) {
  .cv-hero { grid-template-columns: 1fr; }
  .cv-hero__phone { justify-self: center; }
  .cv-panel--2, .cv-duo, .cv-decision, .cv-aside { grid-template-columns: minmax(0, 1fr); }
  .cv-stages, .cv-reflect { grid-template-columns: 1fr; }
  .cv-numbers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cv-card { padding: 28px 24px 24px; }
  .cv-card--notes { padding-right: 24px; }
  .cv-note { display: none; }
  .cv-phone { width: 220px; border-radius: 44px; }
  .cv-phone .cv-screen { border-radius: 35px; }
  .cv-browser, .cv-card--web .cv-cap { width: 300px; max-width: 300px; }
  .cv-card--end, .cv-card:has(.cv-persona) { width: 300px; }
  .cv-cap { max-width: 220px; }
  .cv-stops button span { display: none; }
  .cv-stops { padding-bottom: 12px; }
  .cv-box-card { padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .cv-box, .cv-note, .cv-switch span, .cv-switch span::after { transition: none; } }

/* ----- the panels kept from the earlier layout (pain points, site map) ----- */
.cv-body { --panel: var(--bg-elev); --panel-line: transparent; --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; }
.cv-panel-wrap { max-width: var(--wide); }
.cv-panel-wrap .cx-panel { border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.cv-panel-wrap .cx-panel__t { font-family: var(--font-sans); font-style: normal; font-size: 1.0625rem; font-weight: 600; color: var(--fg); }

/* ----- what changed: today's web Shop beside the native one, on two phones ----- */
.cv-card--vs { padding: 48px 56px 32px; }
.cv-vs { gap: 1.25rem; align-items: flex-start; }
.cv-vs figure { margin: 0; display: grid; justify-items: center; gap: .9rem; }
.cv-vs .cv-phone { width: 236px; border-radius: 48px; }
.cv-vs .cv-phone .cv-screen { border-radius: 38px; }
.cv-vs__tag { font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: .3rem .7rem; border-radius: 999px; }
.cv-vs__tag.is-old { background: #f6e3d8; color: #9a4410; }
.cv-vs__tag.is-new { background: #e6f1c8; color: #3e5f00; }
.cv-vs__arrow { align-self: center; margin-top: 2.5rem; color: var(--fg-faint); font-size: 1.25rem; }
.cv-phone--old .cv-screen { filter: saturate(.85); }
.cv-box--bad { border-color: #c4572a; }
.cv-cap--vs { max-width: 520px; }
.cv-vs__list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .4rem; }
.cv-vs__list li { display: flex; gap: .55rem; align-items: baseline; font-size: .9375rem; color: var(--fg); }
.cv-vs__list i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; font-style: normal;
  font-size: .65rem; background: #e6f4ea; color: #1f7a46; translate: 0 2px; }
@media (max-width: 640px) {
  .cv-card--vs { padding: 24px 18px; }
  .cv-vs { gap: .5rem; }
  .cv-vs .cv-phone { width: 140px; border-radius: 30px; padding: 6px; }
  .cv-vs .cv-phone .cv-screen { border-radius: 24px; }
  .cv-vs__arrow { display: none; }
  .cv-cap--vs { max-width: 300px; }
}
/* today's web screenshots have no status bar: give them the phone's own, so the island sits on black */
.cv-phone--old .cv-screen { padding-top: 12%; background: #000; }
.cv-phone--old .cv-screen::before { content: "9:41"; position: absolute; top: 4.2%; left: 13%; font: 600 .66rem/1 var(--font-sans); color: #fff; }
.cv-phone--old .cv-screen > img { height: 100%; }

/* =============================================================
   Real iPhones: the same iPhone 18 Pro bezel as the rest of the site,
   over a screen cut to its opening (1206 x 2622 of 1350 x 2760).
   ============================================================= */
.cv-phone, .cv-phone--hero, .cv-vs .cv-phone { padding: 0; border-radius: 0; background: none; box-shadow: none; aspect-ratio: 1350 / 2760;
  filter: drop-shadow(0 30px 34px rgb(30 24 12 / .22)) drop-shadow(0 6px 10px rgb(30 24 12 / .1)); }
.cv-phone { width: 264px; }
.cv-phone--hero { width: 300px; }
.cv-vs .cv-phone { width: 236px; }
.cv-phone::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: url("../img/devices/iphone-18-pro-black.png") center / 100% 100% no-repeat; }
.cv-phone__island { display: none; }
.cv-phone .cv-screen, .cv-phone--hero .cv-screen, .cv-vs .cv-phone .cv-screen {
  position: absolute; left: 5.3333%; top: 2.5%; width: 89.3333%; height: 95%; aspect-ratio: auto;
  border-radius: 13.6% / 6.26%; overflow: hidden; }
.cv-phone > .cv-anns { inset: 2.5% 5.3333%; }
/* today's web screens: a real status bar's height above them */
.cv-phone--old .cv-screen { padding-top: 6.5%; }
.cv-phone--old .cv-screen::before { top: 2.2%; left: 12%; font-size: .62rem; z-index: 1; }
@media (max-width: 640px) {
  .cv-phone { width: 220px; }
  .cv-vs .cv-phone { width: 140px; padding: 0; border-radius: 0; }
}
/* the sidebar is just the section list now */
@media (min-width: 1200px) { .cv-side ol { padding-top: .25rem; } }

/* ---------- the audit (Sep 2026) ---------- */
.cv-want.is-down { background: #e6f4ea; color: #1f7a46; }

/* three headline numbers, the first one lime */
.cv-stats { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; max-width: var(--wide); }
.cv-stats li { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; }
.cv-stats li.is-key { background: #d7f25c; border-color: #c9e54a; }
.cv-stats b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(3rem, 6vw, 4.5rem); line-height: .95; letter-spacing: -.02em; color: var(--fg); }
.cv-stats span { margin-top: 1rem; font-size: .9375rem; line-height: 1.45; color: var(--fg-muted); max-width: 22rem; }
.cv-stats .is-key span { color: #2b3300; }

/* the five blockers, one per step of the journey */
.cv-blockers { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: var(--wide); }
.cv-blockers li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 20px; }
.cv-blockers li.is-critical { background: #fdf1ee; border-color: #f2d3cb; }
.cv-blockers__step { display: flex; align-items: center; gap: .45rem; font: 500 .6875rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-faint); }
.cv-blockers__step i { width: 9px; height: 9px; border-radius: 50%; background: #e0a100; }
.cv-blockers li.is-critical .cv-blockers__step i { background: #d9483b; }
.cv-blockers__sev { display: inline-block; margin-top: .9rem; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; background: #fff4d6; color: #8a5a00; }
.cv-blockers li.is-critical .cv-blockers__sev { background: #fbdcd5; color: #a2321f; }
.cv-blockers h4 { margin-top: .7rem; font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--fg); }
.cv-blockers li > p:last-child { margin-top: .5rem; font-size: .875rem; line-height: 1.5; color: var(--fg-muted); }

/* the root cause: today in the WebView vs native */
.cv-root { margin-top: 2rem; max-width: var(--wide); background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 8px 24px; overflow-x: auto; }
.cv-root__t { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cv-root__t th, .cv-root__t td { text-align: left; padding: .8rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cv-root__t tr:last-child th, .cv-root__t tr:last-child td { border-bottom: 0; }
.cv-root__t thead th { font: 500 .6875rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-faint); }
.cv-root__t tbody th { font: 500 .75rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-faint); width: 8.5rem; }
.cv-root__t td { color: var(--fg-muted); }
.cv-root__t td:last-child { color: var(--fg); background: #f6fbe4; }
.cv-root__t td i { font-style: normal; font-weight: 700; margin-right: .5rem; color: #d9483b; }
.cv-root__t td:last-child i { color: #4d7a00; }

/* four phases; Phase 0 is the one starting now */
.cv-stages--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cv-stages li.is-now { background: #d7f25c; border-color: #c9e54a; }
.cv-stages--4 h3 { font-size: 1.125rem; }
.cv-stages--4 h3 .cv-chip { display: table; margin: .5rem 0 0; }
.cv-stages--4 ul { margin: .9rem 0 0; padding: 0 0 0 1.05rem; display: grid; gap: .35rem; font-size: .9rem; line-height: 1.45; color: var(--fg-muted); }
.cv-stages li.is-now ul { color: #2b3300; }

/* the earlier web sprint, as a dated note */
.cv-earlier { margin-top: 1.5rem; max-width: var(--wide); display: flex; gap: 1rem; align-items: flex-start; padding: 18px 22px; border: 1px dashed var(--line-strong, #d8d2c6); border-radius: 18px; }
.cv-earlier .cv-chip { flex: none; }
.cv-earlier p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--fg-muted); }
.cv-earlier b { color: var(--fg); font-weight: 600; }

/* before / after: one or two phones a side, numbered pins, what it resolves */
.cv-vs__row { display: flex; gap: 14px; }
.cv-pin { position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  display: grid; place-items: center; background: #d7f25c; color: #1b2000; font: 700 .75rem/1 var(--font-sans);
  box-shadow: 0 0 0 4px rgba(215,242,92,.35), 0 2px 6px rgba(0,0,0,.35); }
.cv-flow.is-plain .cv-pin { display: none; }
.cv-box--bad em { position: absolute; left: 6px; top: 6px; font: 700 .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: #d9483b; padding: .3rem .5rem; border-radius: 999px; white-space: nowrap; }
.cv-card--vs .cv-cap--vs { max-width: 860px; }
.cv-vs__cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: 1.1rem; }
.cv-vs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.cv-vs__steps li { display: flex; gap: .7rem; align-items: flex-start; }
.cv-vs__steps i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 .7rem/1 var(--font-sans); font-style: normal; background: #d7f25c; color: #1b2000; margin-top: .05rem; }
.cv-vs__steps b { display: block; font-size: .9375rem; font-weight: 600; color: var(--fg); line-height: 1.35; }
.cv-vs__steps span { display: block; font-size: .875rem; line-height: 1.45; color: var(--fg-muted); }
.cv-resolves { align-self: start; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.cv-resolves p { margin: 0 0 .6rem; font: 500 .6875rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-faint); }
.cv-resolves ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cv-resolves li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; line-height: 1.35; color: var(--fg); }
.cv-resolves li i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.cv-resolves em { margin-left: auto; padding-left: .5rem; font: 600 .625rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.cv-resolves .is-critical { background: #d9483b; } .cv-resolves em.is-critical { background: none; color: #c0392b; }
.cv-resolves .is-high { background: #e0a100; } .cv-resolves em.is-high { background: none; color: #9a6a00; }
.cv-resolves .is-medium { background: #4f7be0; } .cv-resolves em.is-medium { background: none; color: #3a62c0; }

@media (max-width: 1100px) {
  .cv-blockers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-stages--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cv-stats { grid-template-columns: 1fr; }
  .cv-stats li { min-height: 0; }
  .cv-blockers { grid-template-columns: 1fr 1fr; }
  .cv-stages--4 { grid-template-columns: 1fr; }
  .cv-vs__cols { grid-template-columns: 1fr; gap: 16px; }
  .cv-vs__row { gap: 8px; }
  .cv-earlier { flex-direction: column; gap: .6rem; }
  .cv-root { padding: 4px 12px; }
  .cv-root__t tbody th { width: auto; }
}
@media (max-width: 520px) {
  .cv-blockers { grid-template-columns: 1fr; }
  .cv-vs .cv-phone { width: 120px; }
  .cv-pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: .6rem; }
  .cv-box--bad em { font-size: .5rem; padding: .22rem .4rem; }
}
.cv-stages--4 ul li { background: none; border: 0; border-radius: 0; padding: 0; min-height: 0; }
@media (max-width: 760px) {
  .cv-card--vs { width: calc(100vw - 48px); max-width: 520px; }
  .cv-vs { flex-direction: column; align-items: center; gap: 14px; }
  .cv-vs figure { width: 100%; }
  .cv-vs__row { justify-content: center; }
  .cv-vs .cv-phone { width: min(132px, 38vw); }
}

/* ----- design system: the Shop's components, each on the app's own black ----- */
.cv-ds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 2.5rem; max-width: var(--wide); grid-auto-flow: row dense; --ds-purple: #9747ff; --ds-blue: #0d99ff; }
/* Each tile is a Figma canvas: dot grid, a purple component-set label, a dashed frame, px badges. */
.cv-ds__t { margin: 0; grid-column: span 2; display: flex; flex-direction: column; background: var(--bg-elev); border-radius: 24px; padding: 20px 24px 24px; overflow: hidden; min-height: 200px; }
.cv-ds__t--w3 { grid-column: span 3; }
.cv-ds__t--pass { grid-column: span 4; grid-row: span 2; }
.cv-ds__t--card { grid-row: span 2; }
.cv-ds__t--tall { grid-row: span 2; }
.cv-ds__art { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 22px 18px 34px; border: 1px dashed var(--ds-purple); border-radius: 6px; }
.cv-ds__inst { position: relative; display: block; max-width: 100%; }
.cv-ds__inst img { display: block; max-width: 100%; height: auto; outline: 1px solid rgba(13, 153, 255, .55); outline-offset: 0; }
.cv-ds__px { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); padding: 1px 5px; border-radius: 3px; background: var(--ds-blue); color: #fff; font: 500 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; letter-spacing: 0; }
.cv-ds__t figcaption { order: -1; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: .78rem; font-weight: 500; color: var(--ds-purple); }
.cv-ds__ico { width: 11px; height: 11px; fill: currentColor; flex: none; }
@media (max-width: 900px) {
  .cv-ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-ds__t, .cv-ds__t--w3 { grid-column: span 2; }
  .cv-ds__t--pass { grid-column: span 2; grid-row: auto; }
  .cv-ds__t--card, .cv-ds__t--tall { grid-row: auto; }
}
@media (max-width: 600px) {
  .cv-ds__t { padding: 16px 16px 18px; border-radius: 20px; min-height: 0; }
  .cv-ds__art { padding: 18px 12px 30px; }
}

/* process diagrams (research, IA, flows): rendered images from /diagrams,
   full width of the wide column, open full size on click (diagram-zoom.js) */
.cv-diagram { margin: 2.5rem 0 0; max-width: var(--wide); }
.cv-diagram + .cv-diagram { margin-top: 1.5rem; }
.cv-diagram__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 24px; }
.cv-diagram__zoom:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.cv-diagram img { display: block; width: 100%; height: auto; border-radius: 24px; background: #f3f0e9;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06); outline: 1px solid rgba(17,17,17,.06); outline-offset: -1px; }
.cv-diagram figcaption { margin-top: .8rem; font-size: .9375rem; line-height: 1.5; color: var(--fg-muted); }
.cv-diagram figcaption b { font-weight: 600; color: var(--fg); }
.cv-zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(17,17,17,.82); }
.cv-zoom::backdrop { background: transparent; }
.cv-zoom__in { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.cv-zoom__in img { width: min(1800px, 100%); height: auto; border-radius: 16px; }
@media (max-width: 680px) { .cv-zoom__in { place-items: start; } .cv-zoom__in img { width: 1100px; max-width: none; } }
.cv-zoom__x { position: fixed; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: #fff; color: #111; font-size: 22px; line-height: 1; cursor: pointer; }

/* ----- one page frame: the header, the section list and the content share
   the same left and right edges. The logo sits over the section list, the
   nav ends where the content ends. ----- */
body.cv { --frame: 1320px; --fl: max(var(--gut), calc((100vw - var(--frame)) / 2)); }
body.cv .site-header__inner { max-width: none; margin: 0; padding-inline: var(--gut); }
.cv-side ol { padding-inline: calc(var(--gut) - .65rem); }
@media (min-width: 1200px) {
  body.cv { --side: 200px; }
  body.cv .site-header__inner { padding-inline: var(--fl); }
  .cv-side { left: var(--fl); width: var(--side); padding: 28px 0 24px; }
  .cv-side ol { margin-left: -.6rem; padding-inline: 0; }
  body.cv main { margin-left: calc(var(--fl) + var(--side)); --gut: 48px;
    --wide: calc(100vw - 2 * var(--fl) - var(--side) - 48px); }
}
/* a quiet "← Back" over the section list, on the same edge as the logo */
@media (min-width: 1200px) {
  .cv-side__back { display: inline-flex; align-self: flex-start; width: max-content; align-items: center; gap: .4rem; margin: 0 0 1.1rem; padding: .42rem .8rem .42rem .65rem;
    border: 0; border-radius: 8px; background: var(--bg-elev); font-size: .82rem; font-weight: 500; line-height: 1; color: var(--fg);
    transition: background .2s; }
  .cv-side__back:hover { background: #ebe7de; }
  .cv-side__back svg { transition: translate .25s var(--ease, ease); }
  .cv-side__back:hover svg { translate: -2px 0; }
  .cv-side__back + ol { padding-top: 0; }
}

/* every phone screen runs a hair under the bezel, so its soft edge never lets
   the page show through as a light strip (same fix as the homepage cards) */
body.cv .cv-phone .cv-screen, body.cv .dx-phone__screen, body.cv .ph__dev > img,
body.cv .bm-shot img, body.cv .ip17__screen { left: 4.7%; top: 2.2%; width: 90.6%; height: 95.6%; }
body.cv .cv-phone > .cv-anns { inset: 2.5% 5.3333%; }
/* the headline uses the whole column beside the phone, in balanced lines */
.cv-title { max-width: none; text-wrap: balance; }

/* two phones in the intro, overlapped like the homepage cards: the main
   screen in front, a second one smaller, lower and tucked behind it */
.cv-hero__phone--duo { position: relative; display: flex; align-items: flex-start; width: 500px; }
.cv-hero__phone--duo .cv-phone { position: relative; flex: none; }
.cv-hero__phone--duo .cv-phone--hero:not(.cv-phone--back) { width: 56%; z-index: 2; }
.cv-hero__phone--duo .cv-phone--back { width: 47.6%; margin: 10.5% -3.6% 0 0; z-index: 1; }
.cv-hero__phone--duo { width: clamp(360px, 32vw, 470px); }
.cv-hero:has(.cv-hero__phone--duo) { gap: clamp(2rem, 3.5vw, 3rem); }
.cv-hero:has(.cv-hero__phone--duo) .cv-title { font-size: clamp(3rem, 5vw, 4.5rem); }
@media (max-width: 900px) { .cv-hero__phone--duo { width: min(440px, 100%); } }
