/* Redlab — case study page (v4). Loaded after base.css, blocks.css and service.css (crumbs, case cards, brief).
   Built after Phenomenon, Arounda, Halo Lab and Lazarev: the outcome in the title with the client above it,
   the product large on the client's colours, the facts in plain sentences, then one section per decision,
   each a short paragraph and a big real screen. No illustrations: the client's product is the picture.
   Each case sets its tray colours with --case-bg (light tray) and --case-deep (dark tray), and may set the ink of the
   pinned scene (--case-ink-rgb) and its browser bar (--case-bar, --case-bar-2); Oakwell's greens are the defaults. */
main { --case-ink-rgb: 8 64 47; --case-bar: #06342a; --case-bar-2: #145846; }

/* ==========================================================================
   1. Hero: crumbs, client line, the title, one paragraph, services and the AI summary links.
   ========================================================================== */
main > .case-hero { display: grid; gap: clamp(24px, 3.5vh, 40px); padding-block: clamp(24px, 4vh, 48px) clamp(32px, 4vh, 48px); }
.case-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--muted); }
.case-eyebrow b { font-weight: 500; color: var(--ink); }
.case-eyebrow b::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--red); vertical-align: 1px; }
.case-hero h1 { max-width: 15em; font-size: var(--t-title); text-wrap: balance; }
.case-hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 4vw, 72px); align-items: end; }
.case-lead { max-width: 34em; font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.case-side { display: grid; gap: 14px; justify-items: start; }
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.case-chips a { padding: 6px 12px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--surface); font-size: var(--t-small); color: var(--ink-2); text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.case-chips a::after { content: ' →'; color: var(--muted); }
.case-chips a:hover { border-color: var(--ink); background: var(--white); }
.case-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--t-small); color: var(--muted); }
.case-ai a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.case-ai a:hover { color: var(--red); }

/* ==========================================================================
   2. Trays: the product on the client's colours. Light tray for the hero, deep tray for dark moments.
   ========================================================================== */
.case-tray { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-l); background: var(--case-bg); }
.case-tray.is-deep { background: var(--case-deep); }
.case-tray::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: soft-light; pointer-events: none; }
.case-tray img { display: block; width: 100%; height: auto; }
main > .case-cover { padding-top: 0; }

/* ==========================================================================
   3. At a glance: four big figures, each with what it counts.
   ========================================================================== */
.case-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.case-glance li { display: grid; align-content: start; gap: 10px; padding-top: 20px; border-top: 1px solid var(--ink); }
.case-glance b { font-size: var(--t-display-s); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.case-glance span { max-width: 16em; font-size: var(--t-small); line-height: 1.5; color: var(--muted); }

/* ==========================================================================
   4. In short + facts: the paragraph AI answers quote, the facts as a list beside it.
   ========================================================================== */
.case-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(24px, 5vw, 96px); align-items: start; }
.case-short h2 { margin-bottom: 20px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-short p { font-size: var(--t-h3); line-height: 1.45; letter-spacing: -.01em; color: var(--ink-2); }
.case-split.is-mid { align-items: center; }
.case-facts { border-top: 1px solid var(--hair); }
.case-facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.case-facts dt { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case-facts dd { font-size: var(--t-body); line-height: 1.45; }
.case-facts a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.case-facts a:hover { color: var(--red); }

/* ==========================================================================
   5. Challenge and solution: two columns, the same weight.
   ========================================================================== */
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.case-pair > div { display: grid; align-content: start; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--surface); }
.case-pair > div:last-child { background: var(--dark); color: var(--on-dark); }
.case-pair h2 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-pair > div:last-child h2 { color: var(--red-on-dark); }
.case-pair p { font-size: var(--t-h3); line-height: 1.4; letter-spacing: -.01em; }

/* ==========================================================================
   6. Decisions: one per section. A number, a title, a short paragraph, then the screen large.
   ========================================================================== */
.case-decision { display: grid; gap: clamp(28px, 3vw, 48px); }
.case-decision-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 5vw, 96px); align-items: start; }
.case-decision-head .case-n { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: var(--t-label); color: var(--red); }
.case-decision-head h2 { font-size: var(--t-h2); }
.case-decision-head p { max-width: 32em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.case-duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap); align-items: stretch; }
.case-duo.is-even { grid-template-columns: 1fr 1fr; }
.case-duo .case-tray { display: grid; place-items: center; }
.case-cap { margin-top: 12px; font-size: var(--t-small); color: var(--muted); }

/* Behind the scenes: work with no screen to show, as open rows. */
.case-list { border-top: 1px solid var(--hair); }
.case-list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; gap: 8px clamp(24px, 5vw, 96px); padding-block: clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--hair); }
.case-list li:last-child { border-bottom: 0; }
.case-list h3 { font-size: var(--t-h3); }
.case-list p { max-width: 32em; font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }

/* ==========================================================================
   7. Gallery: more pages of the live site, a strip that scrolls sideways.
   ========================================================================== */
.case-gallery { padding-block: var(--section); }
.case-strip { display: flex; gap: var(--gap); overflow-x: auto; padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.case-strip figure { flex: 0 0 min(72vw, 880px); scroll-snap-align: center; }
.case-strip img { display: block; width: 100%; height: auto; border-radius: var(--r-m); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
.case-strip figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--on-dark-2); }

/* ==========================================================================
   8. The client's words, set large on paper under a hairline.
   ========================================================================== */
.case-quote { display: grid; gap: 32px; padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--ink); }
.case-quote blockquote p { max-width: 18em; font-size: var(--t-display-s); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.case-quote blockquote p::first-letter { color: var(--red); }
.case-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.case-quote figcaption .pcard-logo { width: 48px; height: 48px; border-radius: 50%; background: var(--case-deep); color: #fff; box-shadow: none; }
.case-quote figcaption b { display: block; font-weight: 500; }
.case-quote figcaption span span { display: block; font-size: var(--t-small); color: var(--muted); }
.case-verified { margin-left: auto; font-size: var(--t-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.case-verified:hover { color: var(--red); }

/* ==========================================================================
   9. Next case: one large card, then the way to all of them.
   ========================================================================== */
.case-next { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 4vw, 72px); align-items: center; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-l); background: var(--surface); text-decoration: none; transition: background-color .25s var(--ease); }
.case-next:hover { background: var(--surface-2); }
.case-next-copy { display: grid; gap: 14px; justify-items: start; padding: clamp(8px, 1.5vw, 24px); }
.case-next-copy small { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-next-copy b { font-size: var(--t-h2); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.case-next-copy span { font-size: var(--t-body); color: var(--muted); }
.case-next-copy i { font-style: normal; font-weight: 500; color: var(--red); }
.case-next .case-tray { aspect-ratio: 7 / 5; }
.case-next .case-tray img { height: 100%; object-fit: cover; }

/* ==========================================================================
   Tablet and phone
   ========================================================================== */
@media (max-width: 1080px) {
  .case-hero-row, .case-split, .case-decision-head, .case-next { grid-template-columns: 1fr; }
  .case-glance { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .case-list li { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .case-pair, .case-duo, .case-duo.is-even { grid-template-columns: 1fr; }
  .case-facts > div { grid-template-columns: 96px minmax(0, 1fr); }
  .case-strip figure { flex-basis: 86vw; }
  .case-quote blockquote p { font-size: var(--t-h2); }
  .case-verified { margin-left: 0; }
}
.case-gallery .button-outline { color: var(--ink); }
main > .case-cover + section { padding-top: clamp(40px, 6vh, 72px); }

/* Review v4 (2026-10-09): the booking as a strip of real steps joined by red blocks, phones on paper,
   a mid-page call, gallery arrows, related cases as Work cards. */
.case-flow { display: grid; gap: clamp(28px, 3vw, 48px); }
.case-steps { display: flex; gap: 0; overflow-x: auto; padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; counter-reset: none; }
.case-steps li { position: relative; flex: 0 0 min(64vw, 720px); padding-right: 56px; scroll-snap-align: start; }
.case-steps li:last-child { padding-right: 0; }
/* The path between steps: three red squares, the block system used as a connector. */
.case-steps li:not(:last-child)::after { content: ''; position: absolute; top: calc((100% - 44px) / 2); right: 14px; width: 8px; height: 8px; background: var(--red); box-shadow: 10px 0 0 var(--red), 20px 0 0 rgb(229 55 42 / .5); }
.case-steps img { display: block; width: 100%; height: auto; border: 1px solid var(--hair); border-radius: var(--r-m); box-shadow: 0 24px 48px -28px rgb(0 0 0 / .35); }
.case-steps figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: var(--t-body); }
.case-steps figcaption b { font-family: var(--mono); font-size: var(--t-label); font-weight: 400; color: var(--red); }
.case-steps .is-end { flex-basis: min(56vw, 420px); }
.case-steps .is-end > div { display: grid; align-content: end; gap: 12px; height: calc((min(64vw, 720px) - 56px) * .625); padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-m); background: var(--red); color: #fff; }
.case-steps .is-end b { font-family: var(--mono); font-size: var(--t-label); font-weight: 400; }
.case-steps .is-end strong { font-size: var(--t-h3); font-weight: 400; letter-spacing: -.02em; }
.case-steps .is-end span { font-size: var(--t-small); line-height: 1.5; color: rgb(255 255 255 / .82); }
.case-phones img { display: block; width: 100%; height: auto; }
.case-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 18px 28px; border-radius: var(--r-pill); background: var(--dark); color: #fff; font-size: var(--t-lead); text-decoration: none; }
.case-cta i { padding: 10px 20px; border-radius: var(--r-pill); background: var(--red); font-size: var(--t-small); font-style: normal; font-weight: 500; transition: background-color .2s var(--ease); }
.case-cta:hover i { background: var(--red-hover); }
.case-arrows { display: inline-flex; gap: 8px; margin-right: 12px; }
.case-arrows button { width: 36px; height: 36px; border: 1px solid var(--dark-line); border-radius: 50%; background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.case-arrows button:hover { border-color: #fff; }
.case-gallery .section-aside { display: flex; align-items: center; }
.work-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid.is-three .wcard-name { font-size: var(--t-h3); margin-top: 20px; }
.work-grid.is-three .wcard-what { font-size: var(--t-body); }
@media (max-width: 1080px) { .work-grid.is-three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .case-steps li { flex-basis: 84vw; padding-right: 36px; }
  .case-steps li:not(:last-child)::after { right: 6px; width: 6px; height: 6px; box-shadow: 8px 0 0 var(--red), 16px 0 0 rgb(229 55 42 / .5); }
  .case-steps .is-end { flex-basis: 70vw; }
  .case-steps .is-end > div { height: calc((84vw - 36px) * .625); }
  .case-cta { border-radius: var(--r-l); padding: 20px; }
  /* Phone: the three related cards become one swipe row instead of three full screens. */
  .work-grid.is-three { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .work-grid.is-three::-webkit-scrollbar { display: none; }
  .work-grid.is-three > li { flex: 0 0 82%; scroll-snap-align: start; }
}

/* v5 (2026-10-09): the client's colours as whole sections, less chrome.
   The product opens on a full-width mint field; the phones sit on a full-width deep green one. */
.case-stage { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 5vw, 88px) var(--gutter) 0; background: var(--case-bg); }
.case-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: soft-light; }
.case-stage-in { max-width: 1640px; margin-inline: auto; }
.case-stage-in img { display: block; width: 100%; height: auto; margin-bottom: -2%; }
main > .case-stage + section { padding-top: var(--section); }
.case-flood { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); background: var(--case-deep); color: #fff; }
.case-flood::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: soft-light; }
.case-flood .case-decision-head p { color: rgb(255 255 255 / .78); }
.case-flood .case-n { color: #ffd9c8; }
.case-flood .case-phones { max-width: 1440px; }
/* Challenge and solution: two columns of type under one hairline, no boxes. */
.case-pair { gap: clamp(24px, 5vw, 96px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--hair); }
.case-pair > div, .case-pair > div:last-child { padding: 0; border-radius: 0; background: none; color: inherit; }
.case-pair h2, .case-pair > div:last-child h2 { color: var(--muted); }
.case-pair > div:last-child h2::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--red); vertical-align: 1px; }
.case-pair p { font-size: var(--t-h2); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.case-ai { margin-top: 20px; font-size: var(--t-small); }
.case-hero h1 { font-size: var(--t-display); line-height: .92; letter-spacing: -.055em; max-width: 13em; }
.case-eyebrow b::before { display: none; }
/* Pictures rise into place as they scroll in (js/case.js adds .is-in). */
.js .case-rise { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .case-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .case-rise { opacity: 1; transform: none; transition: none; } }
@media (max-width: 760px) {
  .case-stage { padding-inline: 0; }
  .case-pair p { font-size: var(--t-h3); }
}

/* v6 (2026-10-09): the booking as a pinned scene. The track is tall, the pin sticks for its length,
   js/case.js swaps the shot and fills the step blocks as the reader scrolls. */
.case-hero-row.is-one { grid-template-columns: 1fr; }
.case-scene { padding-top: var(--section); padding-bottom: 0; }
.case-scene-track { position: relative; height: 420vh; margin-top: clamp(24px, 3vw, 40px); background: var(--case-bg); }
.case-scene-pin { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 56px); align-items: center; height: 100vh; height: 100svh; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: 96px var(--gutter) 40px; }
.case-scene-frame { position: relative; overflow: hidden; aspect-ratio: 1600 / 1052; max-height: calc(100vh - 150px); border-radius: var(--r-l); background: #fff; box-shadow: 0 50px 100px -40px rgb(var(--case-ink-rgb) / .55); }
.case-scene-bar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; background: var(--case-bar); }
.case-scene-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--case-bar-2); }
.case-scene-bar em { margin-inline: auto; padding: 4px 18px; border-radius: var(--r-pill); background: var(--case-bar-2); color: rgb(255 255 255 / .7); font-size: var(--t-label); font-style: normal; }
.case-scene-shot { position: absolute; inset: 52px 0 0; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.case-scene-shot.is-on { opacity: 1; transform: none; }
/* An app case: the frame is the client's field with a phone on it, no browser bar. */
.case-scene.is-app .case-scene-frame { background: var(--case-deep); }
.case-scene.is-app .case-scene-shot { inset: 0; }
.case-scene-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-scene-steps { display: grid; gap: 22px; }
.case-scene-steps li { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr); gap: 0 12px; align-items: start; color: rgb(var(--case-ink-rgb) / .45); transition: color .4s var(--ease); }
.case-scene-steps i { width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid currentColor; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.case-scene-steps b { font-family: var(--mono); font-size: var(--t-label); font-weight: 400; padding-top: 4px; }
.case-scene-steps strong { display: block; font-size: var(--t-h3); font-weight: 400; letter-spacing: -.02em; }
.case-scene-steps span { font-size: var(--t-small); line-height: 1.45; }
.case-scene-steps li.is-on, .case-scene-steps li.is-done { color: rgb(var(--case-ink-rgb)); }
.case-scene-steps li.is-done i { background: rgb(var(--case-ink-rgb)); border-color: rgb(var(--case-ink-rgb)); }
.case-scene-steps li.is-on i { background: var(--red); border-color: var(--red); }
/* Gallery on the client's deep green; behind the scenes as three columns on mint. */
.case-gallery.is-client { background: var(--case-deep); }
.case-arrows button { width: 48px; height: 48px; font-size: 22px; border-color: rgb(255 255 255 / .3); }
.case-behind { padding-block: var(--section); }
.case-behind .case-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); border: 0; }
.case-behind .case-list li { display: grid; grid-template-columns: 1fr; align-content: start; gap: 12px; padding: clamp(24px, 2.6vw, 36px); border: 0; border-radius: var(--r-l); background: var(--case-bg); }
.case-behind .case-list p { color: rgb(var(--case-ink-rgb) / .75); }
.case-quote figcaption > span { padding-left: 0; }
@media (max-width: 1080px) { .case-behind .case-list { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .case-scene-track { height: auto; padding-block: 32px; }
  .case-scene-pin { position: static; height: auto; grid-template-columns: 1fr; padding-top: 0; }
  .case-scene-frame { aspect-ratio: auto; max-height: none; display: grid; gap: 10px; background: none; box-shadow: none; overflow: visible; }
  .case-scene-bar { display: none; }
  .case-scene-shot { position: static; opacity: 1; transform: none; }
  .case-scene-shot img { height: auto; border-radius: var(--r-m); box-shadow: 0 20px 40px -24px rgb(var(--case-ink-rgb) / .5); }
  .case-scene-steps li { color: rgb(var(--case-ink-rgb)); }
  .case-scene-steps li i { background: rgb(var(--case-ink-rgb)); border-color: rgb(var(--case-ink-rgb)); }
  .case-scene-steps li.is-on i { background: rgb(var(--case-ink-rgb)); border-color: rgb(var(--case-ink-rgb)); }
  .case-scene-steps li.is-last i { background: var(--red); border-color: var(--red); }
}

/* 2026-10-11, GetCited: releases per week after launch as stacked squares, one per changelog entry,
   bottom-aligned like a bar chart; the launch square is red. On a phone each week is a row. */
.case-log { --sq: clamp(22px, 5vw, 64px); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 24px); margin-top: clamp(32px, 4vw, 56px); }
.case-log li { display: grid; grid-template-rows: calc(4 * var(--sq) + 18px) auto auto; gap: 10px; }
.case-log-bar { display: flex; flex-direction: column-reverse; gap: 6px; align-self: end; }
.case-log-bar i { width: var(--sq); height: var(--sq); background: rgb(var(--case-ink-rgb)); }
.case-log li:first-child .case-log-bar i:first-child { background: var(--red); }
.case-log b { padding-top: 12px; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: var(--t-label); font-weight: 400; color: rgb(var(--case-ink-rgb) / .6); }
.case-log span:last-child { font-size: var(--t-small); line-height: 1.35; }
/* A line of moments to one event (AIM: booking to the session): a square per moment on a hairline, the event red. */
.case-line { --sq: clamp(18px, 1.6vw, 26px); position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); margin-top: clamp(40px, 5vw, 72px); }
.case-line::before { content: ''; position: absolute; top: calc(var(--sq) / 2); left: 0; right: 0; height: 1px; background: rgb(var(--case-ink-rgb) / .2); }
.case-line li { position: relative; display: grid; gap: 8px; align-content: start; }
.case-line i { width: var(--sq); height: var(--sq); margin-bottom: 18px; background: rgb(var(--case-ink-rgb)); }
.case-line li.is-on i { width: calc(var(--sq) * 2); height: calc(var(--sq) * 2); margin-top: calc(var(--sq) / -2); margin-bottom: calc(18px - var(--sq) / 2); background: var(--red); }
.case-line b { font-family: var(--mono); font-size: var(--t-label); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--case-ink-rgb) / .6); }
.case-line span { font-size: var(--t-body); line-height: 1.4; }
@media (max-width: 760px) {
  .case-line { grid-template-columns: 1fr; gap: 0; }
  .case-line::before { top: 12px; bottom: 34px; left: calc(var(--sq) / 2); right: auto; width: 1px; height: auto; }
  .case-line li { grid-template-columns: calc(var(--sq) * 2) minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding-block: 12px; }
  .case-line i, .case-line li.is-on i { grid-row: 1 / 3; margin: 0; }
  .case-line li.is-on i { margin-left: calc(var(--sq) / -2); }
}
.case-log-src { margin-top: clamp(24px, 3vw, 40px); font-size: var(--t-small); }
.case-log-src a { text-decoration: underline; text-underline-offset: 3px; }
.case-log-src a:hover { color: var(--red); }
@media (max-width: 760px) {
  .case-log { --sq: 14px; grid-template-columns: 1fr; gap: 0; }
  .case-log li { grid-template-rows: none; grid-template-columns: calc(4 * var(--sq) + 18px) 64px minmax(0, 1fr); align-items: center; padding-block: 12px; border-top: 1px solid var(--hair); }
  .case-log li:last-child { border-bottom: 1px solid var(--hair); }
  .case-log-bar { flex-direction: row; align-self: center; }
  .case-log b { padding: 0; border: 0; }
}
/* On a phone the pinned scene stacks: each step's text sits right above its screen. */
@media (max-width: 900px) {
  .case-scene-pin { gap: 0; }
  .case-scene-frame, .case-scene-steps { display: contents; }
  .case-scene-steps li { margin-top: 28px; margin-bottom: 14px; }
  .case-scene-steps li[data-step="1"] { order: 1; margin-top: 0; }
  .case-scene-shot[data-step="1"] { order: 2; }
  .case-scene-steps li[data-step="2"] { order: 3; }
  .case-scene-shot[data-step="2"] { order: 4; }
  .case-scene-steps li[data-step="3"] { order: 5; }
  .case-scene-shot[data-step="3"] { order: 6; }
  .case-scene-steps li[data-step="4"] { order: 7; }
  .case-scene-shot[data-step="4"] { order: 8; }
  .case-scene-steps li[data-step="5"] { order: 9; }
  .case-scene-shot[data-step="5"] { order: 10; }
}

/* A Halo Lab style part of the build: what we built as a square list, a note above it when there is a nuance. */
.case-split.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case-split.is-flip > figure { order: 2; }
.case-deliv { display: grid; gap: 14px; align-content: start; }
.case-deliv h3 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-deliv ul { display: grid; border-top: 1px solid var(--hair); }
.case-deliv li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--hair); font-size: var(--t-body); line-height: 1.45; }
.case-deliv li::before { content: ''; width: 8px; height: 8px; background: var(--ink); transform: translateY(-1px); }
.case-decision > .case-deliv ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.case-note { margin-bottom: 18px; padding-left: 18px; border-left: 2px solid var(--red); font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.case-line.is-col { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.case-line.is-col::before { top: 12px; bottom: 34px; left: calc(var(--sq) / 2); right: auto; width: 1px; height: auto; }
.case-line.is-col li { grid-template-columns: calc(var(--sq) * 2) minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding-block: 12px; }
.case-line.is-col i, .case-line.is-col li.is-on i { grid-row: 1 / 3; margin: 0; }
.case-line.is-col li.is-on i { margin-left: calc(var(--sq) / -2); }
.case-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.case-cards article { display: grid; align-content: start; gap: 16px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--surface); }
.case-cards .case-n { font-family: var(--mono); font-size: var(--t-label); color: var(--red); }
.case-cards h2 { font-size: var(--t-h2); }
.case-cards article > p { max-width: 32em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.case-cards .case-deliv { margin-top: 12px; }
@media (max-width: 760px) {
  .case-split.is-flip { grid-template-columns: 1fr; }
  .case-split.is-flip > figure { order: 0; }
  .case-decision > .case-deliv ul, .case-cards { grid-template-columns: 1fr; }
  .case-cards article { padding: 24px; border-radius: var(--r-m); }
}
/* The team: one square per person, the count large. */
.case-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.case-team li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px 18px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--surface); }
.case-team i { grid-column: 1 / -1; width: 28px; height: 28px; margin-bottom: clamp(28px, 4vw, 64px); background: var(--ink); }
.case-team li:first-child i { background: var(--red); }
.case-team b { font-size: var(--t-display); font-weight: 400; line-height: .8; letter-spacing: -.05em; }
.case-team span { padding-bottom: 4px; font-size: var(--t-lead); color: var(--ink-2); }
@media (max-width: 760px) { .case-team { grid-template-columns: 1fr; } .case-team li { border-radius: var(--r-m); } .case-team i { margin-bottom: 20px; } }
/* The detail behind a part: short titled paragraphs, Halo Lab style. */
.case-sub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px); }
.case-sub > div { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 1px solid var(--hair); }
.case-sub h3 { font-size: var(--t-h3); }
.case-sub p { font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.case-decision > .wrap { display: grid; gap: clamp(28px, 3vw, 48px); }
.case-tech { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 5vw, 96px); align-items: center; padding-top: clamp(20px, 2vw, 28px); border-top: 1px solid var(--hair); }
.case-tech h3 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-tech ul { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tech li { padding: 8px 16px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--white); font-size: var(--t-small); }
@media (max-width: 1000px) { .case-sub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .case-sub, .case-tech { grid-template-columns: 1fr; } }

/* Markers are dots everywhere on case pages, as in the header and the step labels (Eugene, 2026-10-12).
   Square blocks stay for the iso illustrations only. */
.case-eyebrow b::before, .case-pair > div:last-child h2::before, .case-scene-steps i, .case-log-bar i,
.case-line i, .case-deliv li::before, .case-team i, .case-steps li:not(:last-child)::after, .case-pair h2::before { border-radius: 50%; }
.case-pair > div h2::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--ink); vertical-align: 1px; }
.case-pair > div:last-child h2::before { background: var(--red); }
.case-team li:first-child i { background: var(--ink); }
.case-sub.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .case-sub.is-two { grid-template-columns: 1fr; }
  .case-team li { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 20px; }
  .case-team i { grid-column: auto; width: 14px; height: 14px; margin: 0; }
  .case-team b { font-size: 40px; }
  .case-team span { padding: 0; }
}
/* v6: a four-step line, a text column beside a picture, two-up result cards. */
.case-line.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-aside { display: grid; gap: 14px; align-content: center; }
.case-aside h3 { font-size: var(--t-h3); }
.case-aside p { max-width: 30em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.case-deliv.is-four ul { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.case-team.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .case-line.is-four { grid-template-columns: 1fr; }
  .case-deliv.is-four ul, .case-team.is-two { grid-template-columns: 1fr; }
}
/* v6b: numbered steps under a stage, the rule of a full-bleed block above its number, the one result, dots centred on
   their line so the large red one stays inside the column. */
.case-decision:has(> .wrap.rule:first-child) { padding-top: 0; }
.case-decision > .wrap.rule:first-child { padding-top: var(--section); }
.case-aside h3:not(:first-child) { margin-top: clamp(12px, 1.6vw, 24px); }
.case-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: none; }
.case-steps3 li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.case-steps3 i { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: var(--t-label); font-style: normal; }
.case-steps3 li:last-child i { background: var(--red); }
.case-steps3 b { font-size: var(--t-h3); font-weight: 400; line-height: 1.2; padding-top: 4px; }
.case-steps3 span { font-size: var(--t-body); line-height: 1.45; color: var(--ink-2); }
.case-gallery { padding-top: 0; }
.case-score { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 16px clamp(24px, 5vw, 96px); }
.case-score h2 { font-size: var(--t-h2); align-self: start; }
.case-score p { display: flex; align-items: baseline; gap: clamp(16px, 2vw, 32px); flex-wrap: wrap; }
.case-score b { font-size: clamp(120px, 16vw, 260px); font-weight: 300; line-height: .8; letter-spacing: -.06em; }
.case-score span { font-size: var(--t-lead); color: var(--ink-2); }
.case-line.is-col::before { left: var(--sq); }
.case-line.is-col i, .case-line.is-col li.is-on i { justify-self: center; margin: 0; }
@media (max-width: 760px) {
  .case-steps3 { grid-template-columns: 1fr; }
  .case-score { grid-template-columns: 1fr; }
  .case-gallery .case-stage-in { overflow-x: auto; scrollbar-width: none; }
  .case-gallery img { width: 1000px; max-width: none; }
  .case-line::before { left: var(--sq); }
  .case-line i, .case-line li.is-on i { justify-self: center; margin: 0; }
}

/* GetCited v2 (2026-10-13): studio photos with real screens, full bleed or in a rounded frame; one dot per AI answer;
   two large numbers; the checks a draft can't get past. */
.gc2-bleed { padding: 0; }
.gc2-bleed img { display: block; width: 100%; height: auto; }
main > .gc2-bleed + section { padding-top: var(--section); }
.gc2-photo { margin-block: 0; }
.gc2-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-l); }
.gc2-photo figcaption { margin-top: 14px; font-size: var(--t-small); color: var(--muted); }
.case-flood .gc2-photo figcaption { color: rgb(255 255 255 / .62); }
.gc2-n { font-family: var(--mono); font-size: var(--t-label); color: var(--red); }
.gc2-dots { display: grid; gap: clamp(14px, 1.6vw, 22px); margin: 0; padding: clamp(28px, 4vw, 64px); border-radius: var(--r-l); background: var(--case-deep); color: #fff; }
.gc2-dots-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: clamp(8px, 2vw, 28px); }
.gc2-dots-sum s { font-size: var(--t-numeral); font-weight: 300; line-height: .9; letter-spacing: -.05em; text-decoration-color: var(--red-on-dark); text-decoration-thickness: .06em; color: rgb(255 255 255 / .45); }
.gc2-dots-sum span { font-size: var(--t-lead); color: rgb(255 255 255 / .62); }
.gc2-dots-row { --d: clamp(10px, 1.5vw, 22px); display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 7fr) minmax(80px, 1fr); align-items: center; gap: 12px clamp(16px, 2vw, 32px); padding-top: clamp(14px, 1.6vw, 22px); border-top: 1px solid rgb(255 255 255 / .14); }
.gc2-dots-row b { font-weight: 400; font-size: var(--t-lead); color: rgb(255 255 255 / .78); }
.gc2-dots-set { display: grid; grid-template-columns: repeat(20, var(--d)); justify-content: space-between; }
.gc2-dots-set i { width: var(--d); height: var(--d); border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28); }
.gc2-dots-set i.is-on { background: var(--gc); box-shadow: none; }
.gc2-dots-row em { justify-self: end; font-style: normal; font-family: var(--mono); font-size: var(--t-small); color: rgb(255 255 255 / .78); }
.gc2-dots-row.is-key b, .gc2-dots-row.is-key em { color: #fff; font-weight: 500; }
.gc2-dots-row.is-key em { font-size: var(--t-h3); font-family: var(--font); }
.gc2-dots figcaption { margin-top: 6px; font-size: var(--t-small); color: rgb(255 255 255 / .55); }
.gc2-pair { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 clamp(20px, 4vw, 64px); }
.gc2-pair b { font-size: var(--t-display); font-weight: 300; line-height: .8; letter-spacing: -.06em; }
.gc2-pair b + b { color: var(--muted); }
.gc2-pair span { flex-basis: 100%; margin-top: 20px; font-size: var(--t-lead); color: var(--ink-2); }
.gc2-gates { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 5vw, 96px); }
.gc2-gates h3 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .62); padding-top: 14px; }
.gc2-gates ul { border-top: 1px solid rgb(255 255 255 / .14); }
.gc2-gates li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid rgb(255 255 255 / .14); font-size: var(--t-lead); }
.gc2-gates li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gc); }
.gc2-quote blockquote p { max-width: 20em; }
@media (max-width: 760px) {
  .gc2-photo img { border-radius: var(--r-m); }
  .gc2-dots { padding: 22px 18px; border-radius: var(--r-m); }
  .gc2-dots-row { --d: 11px; grid-template-columns: 1fr auto; }
  .gc2-dots-set { grid-column: 1 / -1; grid-row: 2; gap: 4px; justify-content: start; grid-template-columns: repeat(20, var(--d)); }
  .gc2-dots-row.is-key em { font-size: var(--t-lead); }
  .gc2-gates { grid-template-columns: 1fr; }
}
.gc2 .case-log { --sq: clamp(16px, 2.2vw, 30px); }
@media (min-width: 761px) { .gc2 .case-log li { grid-template-rows: calc(4 * var(--sq) + 18px) auto auto; } }
.gc2-line { max-width: 40em; padding-top: 18px; border-top: 1px solid var(--hair); font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.gc2 .case-tray > picture img { display: block; width: 100%; height: auto; }
.gc2-gallery { padding-top: var(--section); }
/* GetCited v2, round 2: the site in a browser, the hero film, results on the deep colour, larger gallery, dots that fill. */
.gc2-browser { margin: 0; overflow: hidden; border-radius: var(--r-l); background: #fff; box-shadow: 0 50px 100px -40px rgb(var(--case-ink-rgb) / .55); }
.gc2-browser img { display: block; width: 100%; height: auto; }
.gc2-film { padding: clamp(16px, 2.4vw, 36px); }
.gc2-film video { display: block; width: 100%; height: auto; border-radius: var(--r-m); box-shadow: 0 30px 60px -30px rgb(var(--case-ink-rgb) / .45); background: #f3f4f6; }
.gc2-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gc2-results li { display: grid; align-content: start; gap: 14px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .18); }
.gc2-results b { font-size: var(--t-numeral); font-weight: 300; line-height: .9; letter-spacing: -.05em; white-space: nowrap; }
.gc2-results span { max-width: 18em; font-size: var(--t-lead); line-height: 1.45; color: rgb(255 255 255 / .72); }
.gc2-log { margin-top: clamp(40px, 5vw, 80px); }
.gc2-log h3 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .62); }
.case-flood .case-log-bar i { background: rgb(255 255 255 / .86); }
.case-flood .case-log li:first-child .case-log-bar i:first-child { background: var(--red-on-dark); }
.case-flood .case-log b { border-top-color: rgb(255 255 255 / .18); color: rgb(255 255 255 / .6); }
.case-flood .case-log li { border-color: rgb(255 255 255 / .18); }
.case-flood .case-log-src a { color: #fff; }
.gc2-gallery .case-strip figure { flex-basis: min(84vw, 1180px); }
.gc2-quote blockquote p { max-width: 16em; }
/* The dots fill one by one when the block reaches the screen, then the blended 60% is struck through. */
.gc2-dots-sum s { position: relative; text-decoration: none; }
.gc2-dots-sum s::after { content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: .06em; background: var(--red-on-dark); transform-origin: left; }
.js .gc2-dots.is-wait .gc2-dots-set i.is-on { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28); }
.js .gc2-dots.is-wait .gc2-dots-sum s::after { transform: scaleX(0); }
.js .gc2-dots.is-wait .gc2-dots-sum s { color: #fff; }
.js .gc2-dots .gc2-dots-set i { transition: background-color .25s var(--ease), box-shadow .25s var(--ease); transition-delay: calc(var(--k, 0) * 45ms); }
.js .gc2-dots .gc2-dots-sum s { transition: color .5s var(--ease) 2.2s; }
.js .gc2-dots .gc2-dots-sum s::after { transition: transform .6s var(--ease) 2s; }
@media (prefers-reduced-motion: reduce) { .js .gc2-dots * , .js .gc2-dots *::after { transition: none !important; } }
@media (max-width: 760px) {
  .gc2-browser { border-radius: var(--r-m); }
  .gc2-browser .case-scene-bar { display: none; }
  .gc2-results { grid-template-columns: 1fr; }
  .gc2-gallery .case-strip figure { flex-basis: 88vw; }
}
/* Round 3: the audit numbers share a row with their line, a quieter placeholder quote, green dots in the results, phone gallery fix. */
.gc2-audit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 5vw, 96px); align-items: end; }
.gc2-audit .gc2-line { align-self: end; }
.gc2-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc2-quote blockquote p { font-size: var(--t-h2); line-height: 1.12; max-width: 22em; }
.gc2-quote blockquote p::first-letter { color: inherit; }
.case-flood .case-log-bar i { background: var(--gc); }
.case-flood .case-log li:first-child .case-log-bar i:first-child { background: var(--red-on-dark); }
@media (max-width: 760px) {
  .gc2-audit, .gc2-results { grid-template-columns: 1fr; }
  .gc2-gallery img { width: 100%; max-width: 100%; }
}
/* Round 4: one evidence screen in 05, the entity frame keeps its own margin, brief sits closer to In short. */
.gc2-evidence { margin: 0; padding: clamp(20px, 4vw, 56px); }
.gc2-evidence picture img { border-radius: var(--r-m); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .6); }
.gc2-entity { margin: 0; }
.gc2 section[aria-labelledby="brief-start"] { padding-top: 0; }
@media (max-width: 760px) { .gc2-evidence { padding: 14px; } .gc2-evidence picture img { border-radius: var(--r-s); } }
.gc2 .case-sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .gc2 .case-sub { grid-template-columns: 1fr; } }
/* Round 5: the entity screen sits on the tray with its own margin. */
.gc2-entity { padding: clamp(16px, 3vw, 40px); }
.gc2-entity picture img { border-radius: var(--r-s); box-shadow: 0 30px 60px -30px rgb(var(--case-ink-rgb) / .35); }
/* Round 6: transparent design-system and entity frames sit on their section's own colour; 02 rules as two short points. */
.gc2-entity { padding: clamp(8px, 2vw, 24px); }
.gc2-entity picture img { border-radius: 0; box-shadow: none; }
.gc2-gallery .gc2-ds img { border-radius: 0; box-shadow: none; }
.gc2-points { display: grid; gap: 18px; margin-top: 8px; }
.gc2-points > div { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--hair); }
.gc2-points h3 { font-size: var(--t-h3); }
.gc2-points p { font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }

/* GetCited v3: the editorial version, on site tokens only.
   --fit caps every large picture so it fits a 13" laptop screen with room to spare. */
.gc3 { --fit: min(70vh, 640px); }
.gc3 p.case-label { display: block; margin-bottom: 14px; font-size: var(--t-label); line-height: 1.4; color: var(--muted); }
.gc3-gallery .case-n { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: var(--t-label); color: #ffd9c8; }
.gc3 .case-flood .case-label, .gc3 .dark .case-label { color: rgb(255 255 255 / .62); }
.gc3 .hero-product { margin: 0; }
.gc3 .hero-product img { display: block; width: 100%; height: auto; }
.gc3 .hero-product figcaption { padding-top: 14px; font-size: var(--t-small); color: var(--muted); }
.gc3 .case-context { padding-top: var(--section); }
.gc3 .case-short h2 { max-width: 13em; margin-bottom: 24px; font-size: var(--t-h2); font-weight: 400; letter-spacing: -.03em; text-transform: none; color: var(--ink); }
.gc3 .case-short p:not(.case-label) { max-width: 34em; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.gc3 .case-short p + p { margin-top: 16px; }
.gc3 .case-decision-head h2 { max-width: 14em; }
.gc3 .chapter-prose { display: grid; gap: 16px; }
.gc3 .case-aside p + p { margin-top: 4px; }
.gc3 figcaption { font-size: var(--t-small); line-height: 1.5; }
/* The four-step loop and the audit route are case-sub lists; the loop adds a mono index. */
.gc3 .case-sub { margin: 0; padding: 0; list-style: none; }
.gc3 .case-sub > li { display: grid; align-content: start; gap: 10px; padding-top: 18px; border-top: 1px solid var(--hair); }
.gc3 .case-sub > li h3 { font-size: var(--t-h3); }
.gc3 .case-sub > li p { font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.gc3 .case-sub.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--head-gap); }
.gc3 .case-sub.audit-route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gc3 .case-loop li > span { font-family: var(--mono); font-size: var(--t-label); color: var(--muted); }
.gc3 .case-method-note { max-width: 60em; font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
/* The score example sits on the gc2-dots panel: case gradient, site radius, the product green as the one accent. */
.gc3 .score-example-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gc3 .score-example-top p { font-size: var(--t-small); color: rgb(255 255 255 / .62); }
.gc3 .score-switch { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: rgb(255 255 255 / .08); }
.gc3 .score-switch button { min-height: var(--control); padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; font: inherit; font-size: var(--t-small); font-weight: 500; color: rgb(255 255 255 / .78); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.gc3 .score-switch button:hover { color: #fff; background: rgb(255 255 255 / .1); }
.gc3 .score-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.gc3 .score-switch button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gc3 .score-example-reading { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px clamp(24px, 4vw, 64px); padding-bottom: clamp(20px, 2.4vw, 32px); }
.gc3 .score-example-reading b { min-width: 3.2ch; font-size: var(--t-numeral); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: var(--gc); font-variant-numeric: tabular-nums; }
.gc3 .score-example-reading p { max-width: 26em; font-size: var(--t-lead); line-height: 1.5; color: rgb(255 255 255 / .78); }
.gc3 .case-sub { margin-top: 0; }
.gc3 .namesake-story { margin-top: var(--head-gap); }
.gc3 .namesake-story .case-aside h3 { max-width: 15em; }
.gc3 .namesake-story figcaption { margin-top: 12px; color: var(--muted); }
/* Large pictures: as wide as the height cap allows (--ar is the picture's width / height). */
/* Large pictures: full width, natural proportions, never cropped. */
.gc3 .gc3-fit { display: block; }
.gc3 .gc3-fit img { width: 100%; height: auto; }
.gc3 .draft-check { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 5vw, 96px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgb(255 255 255 / .16); }
.gc3 .draft-check h3 { max-width: 14em; font-size: var(--t-h3); }
.gc3 .draft-check p { max-width: 32em; font-size: var(--t-lead); line-height: 1.55; color: rgb(255 255 255 / .78); }
.gc3 .website-story { margin-top: 0; }
.gc3 .engineering-facts { border-top: 1px solid var(--hair); }
.gc3 .engineering-facts > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(24px, 5vw, 96px); padding-block: 18px; border-bottom: 1px solid var(--hair); }
.gc3 .engineering-facts dt { font-size: var(--t-body); font-weight: 500; }
.gc3 .engineering-facts dd { max-width: 40em; font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.gc3 .outcome-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 48px; padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid rgb(255 255 255 / .16); }
.gc3 .outcome-footer p { max-width: 34em; font-size: var(--t-body); line-height: 1.6; color: rgb(255 255 255 / .78); }
.gc3 .case-question-list > div { padding-block: 22px; border-top: 1px solid var(--hair); }
.gc3 .case-question-list h3 { margin-bottom: 10px; font-size: var(--t-h3); }
.gc3 .case-question-list p { max-width: 36em; font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.gc3 .case-updated { padding-top: 18px; border-top: 1px solid var(--hair); font-size: var(--t-small); color: var(--muted); }
/* 04 Product experience: one screen at a time. Arrows, arrow keys, drag or swipe; the page wheel is never captured. */
.gc3-gallery .section-aside { max-width: 34em; font-size: var(--t-lead); line-height: 1.55; color: var(--on-dark-2); }
.gc3-slider { --fit: min(64vh, 620px); --tray-pad: clamp(16px, 3vw, 48px); outline: none; }
.gc3-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; }
.gc3-viewport.is-drag { cursor: grabbing; }
.gc3-track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .6s var(--ease); }
.gc3-viewport.is-drag .gc3-track { transition: none; }
.gc3-slide { flex: 0 0 100%; min-width: 0; }
.gc3-slide figure { display: grid; gap: 14px; margin: 0; }
/* Each slide is a full-width brand tray; the screen sits inside it whole, at a height that fits a 13" screen. */
.gc3-slide picture { position: relative; isolation: isolate; display: grid; place-items: center; height: calc(var(--fit) + 2 * var(--tray-pad)); padding: var(--tray-pad); overflow: hidden; border-radius: var(--r-l); background: var(--case-bg); }
.gc3-slide picture::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: soft-light; pointer-events: none; }
.gc3-slide img { display: block; max-width: 100%; max-height: var(--fit); width: auto; height: auto; border-radius: var(--r-m); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); -webkit-user-drag: none; }
.gc3-slide.gc2-ds img { border-radius: 0; box-shadow: none; }
.gc3-slide figcaption { font-size: var(--t-small); color: var(--on-dark-2); }
.gc3-slide figcaption a { color: inherit; text-underline-offset: 4px; }
.gc3-slide figcaption a:hover { color: #fff; }
.gc3-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 20px; }
.gc3-count { font-family: var(--mono); font-size: var(--t-label); color: var(--on-dark-2); }
.gc3-count b { font-weight: 400; color: #fff; }
.gc3-progress { height: 1px; background: var(--dark-line); }
.gc3-progress i { display: block; width: 25%; height: 100%; background: #fff; transition: width .6s var(--ease); }
.gc3-controls .case-arrows { margin: 0; }
.gc3-controls .case-arrows button { transition: border-color .2s var(--ease), opacity .2s var(--ease); }
.gc3-controls .case-arrows button:disabled { opacity: .3; cursor: default; border-color: rgb(255 255 255 / .3); }
.gc3-slider:focus-visible .gc3-viewport { outline: 2px solid #fff; outline-offset: 6px; border-radius: var(--r-m); }
@media (max-width: 1080px) {
  .gc3 .case-sub.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gc3 .hero-product img { height: auto; }
  .gc3 .case-sub.is-four, .gc3 .case-sub.audit-route, .gc3 .draft-check, .gc3 .engineering-facts > div { grid-template-columns: 1fr; }
  .gc3 .score-example-top { flex-direction: column; align-items: start; gap: 16px; }
  .gc3 .score-example-reading { grid-template-columns: 1fr; }
  .gc3 .score-switch button { padding-inline: 14px; }
  .gc3 .outcome-footer { flex-direction: column; align-items: start; }
  .gc3-slide picture { height: auto; }
  .gc3-slide img { max-height: none; width: 100%; }
  .gc3-controls { grid-template-columns: auto 1fr auto; gap: 16px; }
}

/* ==========================================================================
   GetCited V4 (.gc4): the first screen shows the product.
   The title keeps its words but drops to two lines, so the photo starts above the fold on a 13" screen.
   The description sits under the photo as "About the project", with the live link and the AI summary links.
   ========================================================================== */
.gc4 > .gc4-hero { gap: clamp(16px, 2.4vh, 28px); padding-block: clamp(20px, 3vh, 36px) clamp(40px, 5vh, 64px); }
.gc4 .gc4-hero h1 { max-width: none; font-size: clamp(38px, 4.9vw, 74px); line-height: .98; letter-spacing: -.04em; text-wrap: initial; }
.gc4 .case-eyebrow b::before { display: inline-block; width: 8px; height: 8px; margin-right: 10px; }
/* Two rows: the label beside the description, the AI links beside the live button. */
.gc4-about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: 'label text' 'ai cta'; gap: clamp(28px, 3vw, 40px) clamp(24px, 5vw, 96px); align-items: center; border-bottom: 1px solid var(--hair); }
.gc4-about-side, .gc4-about-main { display: contents; }
.gc4-about-side .case-label { grid-area: label; align-self: start; margin: 0; padding-top: .7em; }
.gc4-about-main p { grid-area: text; }
.gc4-about-main .button { grid-area: cta; justify-self: start; }
.gc4-ai { grid-area: ai; }
.gc4-about-main p { max-width: 30em; font-size: clamp(22px, .8vw + 14px, 28px); line-height: 1.38; letter-spacing: -.018em; color: var(--ink); text-wrap: pretty; }
.gc4-ai p { margin-bottom: 12px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gc4-ai p { margin-bottom: 8px; }
.gc4-ai div { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gc4-ai a { font-size: var(--t-small); color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.gc4-ai a:hover { color: var(--red); text-decoration-color: currentColor; }
/* The photo loses only the empty wall above and the stone below; the laptop stays whole. */
@media (min-width: 761px) { .gc4 .hero-product img { aspect-ratio: 2.45 / 1; object-fit: cover; object-position: 50% 48%; } }
@media (max-width: 1080px) {
  .gc4-about { grid-template-columns: 1fr; grid-template-areas: 'label' 'text' 'cta' 'ai'; gap: 24px; }
  .gc4-ai { padding-top: 24px; border-top: 1px solid var(--hair); }
}
@media (max-width: 760px) {
  .gc4 .gc4-hero h1 { font-size: clamp(34px, 9.6vw, 42px); line-height: 1.02; letter-spacing: -.045em; }
  .gc4-br { display: none; }
  .gc4-about-main p { font-size: 20px; line-height: 1.42; }
  .gc4-ai div { gap: 6px 16px; }
}

/* ==========================================================================
   AIM and LearnCrypto (.cv3, 2026-10-18): Eugene's approved texts on the GetCited system.
   The page also carries .gc3 .gc4 for the hero, About, labels, sub-points and tech rows.
   Every big picture is full width at its natural proportions, never cropped.
   ========================================================================== */
.cv3 { --fit: none; }
.cv3 .case-decision-head .case-n, .cv3 .cv3-n { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: var(--t-label); color: var(--red); }
.cv3 .case-flood .case-n, .cv3 .case-flood .cv3-n { color: #ffd9c8; }
.cv3 .case-flood .case-label { color: rgb(255 255 255 / .62); }
.cv3 .chapter-prose p, .cv3 .cv3-prose p { max-width: 34em; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.cv3 .cv3-prose { display: grid; gap: 16px; align-content: start; }
.cv3 .case-flood .chapter-prose p, .cv3 .case-flood .cv3-prose p { color: rgb(255 255 255 / .78); }
.cv3 .cv3-prose a, .cv3 .gc4-about-main a:not(.button) { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cv3 .cv3-prose a:hover { color: var(--red); }
.cv3 h3 { font-size: var(--t-h3); }
/* Cover: the product on the case's deep field, full width, the screens whole. */
.cv3-cover { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: clamp(28px, 4vw, 72px) var(--gutter) 0; background: var(--case-deep); }
.cv3-cover.is-light { padding-bottom: clamp(28px, 4vw, 72px); background: var(--case-bg); }
.cv3-cover::before, .cv3-tray::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: soft-light; pointer-events: none; }
.cv3-cover img { display: block; width: 100%; max-width: 1640px; height: auto; margin-inline: auto; }
main > .cv3-cover + section { padding-top: var(--section); }
/* Trays: a picture on the case colour. is-deep for transparent screens, is-flush when the picture brings its own field. */
.cv3-fig { display: grid; gap: 14px; margin: 0; }
.cv3-fig > figcaption { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.case-flood .cv3-fig > figcaption { color: rgb(255 255 255 / .62); }
.cv3-tray { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: clamp(16px, 3vw, 48px); border-radius: var(--r-l); background: var(--case-bg); }
.cv3-tray.is-deep { background: var(--case-deep); }
.cv3-tray.is-flush { padding: 0; }
.cv3-tray picture, .cv3-tray img { display: block; width: 100%; height: auto; }
.cv3-tray.is-flush img { border-radius: var(--r-l); }
/* Placeholders for the pictures still to come: the frame of the final picture, its brief inside. */
.cv3-ph { display: grid; gap: 14px; margin: 0; }
.cv3-ph-area { position: relative; display: grid; align-content: space-between; gap: 24px; aspect-ratio: 16 / 10; padding: clamp(16px, 2vw, 28px); border: 1px dashed rgb(var(--case-ink-rgb) / .28); border-radius: var(--r-l); background: var(--case-bg); color: rgb(var(--case-ink-rgb) / .7); }
.cv3-ph.is-wide .cv3-ph-area { aspect-ratio: 2 / 1; }
.cv3-ph.is-dash .cv3-ph-area { aspect-ratio: 2.2 / 1; }
.cv3-ph.is-phone .cv3-ph-area { aspect-ratio: 9 / 17; }
.cv3-ph.is-compact .cv3-ph-area { aspect-ratio: 4 / 3; }
.cv3-ph-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: var(--t-label); letter-spacing: .04em; text-transform: uppercase; }
.cv3-ph-area b { max-width: 18em; font-size: var(--t-h3); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; color: rgb(var(--case-ink-rgb)); }
.cv3-ph > figcaption { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
/* A picture beside its text. */
.cv3-pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(24px, 5vw, 96px); align-items: center; }
.cv3-pair.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.cv3-pair.is-flip > :first-child { order: 2; }
.cv3-pair.is-top { align-items: start; }
.cv3-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
/* Rows: a short title on the left, its paragraphs on the right, under a hairline. */
.cv3-rows { display: grid; border-top: 1px solid var(--hair); }
.cv3-rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 5vw, 96px); padding-block: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--hair); }
.cv3-rows h3 { max-width: 14em; }
.case-flood .cv3-rows, .case-flood .cv3-rows > div { border-color: rgb(255 255 255 / .16); }
/* A big figure on the deep field: AIM's shortlist, LearnCrypto's people count. */
.cv3-figure { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(24px, 5vw, 96px); align-items: center; padding: clamp(28px, 4vw, 64px); border-radius: var(--r-l); background: var(--case-deep); color: #fff; }
.cv3-figure .cv3-prose p { color: rgb(255 255 255 / .78); }
.cv3-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 clamp(12px, 2vw, 28px); font-size: var(--t-numeral); font-weight: 300; line-height: .9; letter-spacing: -.05em; white-space: nowrap; }
.cv3-num i { font-style: normal; color: rgb(255 255 255 / .45); }
.cv3-num b { font-weight: 300; color: var(--cv3-accent, #fff); }
/* Steps under a picture: the case-steps3 dots, captions only. */
.cv3 .case-steps3 { margin: 0; padding: 0; list-style: none; }
/* Phone screens in a row: five across on a laptop, a sideways swipe on a phone. */
.cv3-phones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.cv3-phones li { display: grid; align-content: start; gap: 14px; }
.cv3-phones h3 { font-size: var(--t-lead); font-weight: 500; letter-spacing: -.01em; }
.cv3-phones p { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.cv3-phones .cv3-ph-area b { font-size: var(--t-body); }
/* Cards: a picture with a title and a paragraph, two or three across. */
.cv3-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gap); margin: 0; padding: 0; list-style: none; }
.cv3-cards.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv3-cards > li { display: grid; align-content: start; gap: 18px; }
.cv3-cards .cv3-prose p { font-size: var(--t-body); }
.cv3-cards figcaption, .cv3-cards .cv3-card-copy { display: grid; gap: 8px; }
.cv3-cards figcaption p, .cv3-card-copy p { max-width: 30em; font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); }
/* Results on the deep field. */
.cv3 .gc2-results li { border-color: rgb(255 255 255 / .18); }
.cv3 .gc2-results h3 { grid-column: 1 / -1; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .62); }
.cv3-results-head { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .62); }
/* "Explore the case": the chapters as chips under the facts. */
.cv3-contents { display: grid; gap: 12px; margin-top: 28px; }
.cv3-contents p { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cv3 .case-chips a::after { content: ' ↓'; }
/* Video demos: two recordings side by side, cropped to the part of the screen that moves (as approved). */
.cv3-demos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.cv3-demo { display: grid; gap: 16px; margin: 0; }
.cv3-video { position: relative; overflow: hidden; aspect-ratio: 1.3; border-radius: var(--r-l); background: var(--case-bg); }
.cv3-video video { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; }
.cv3-video.is-lessons video { transform: translateX(-31%); clip-path: inset(0 52% 0 14%); }
.cv3-video.is-quiz video { transform: translateX(-72%); clip-path: inset(0 12% 0 55%); }
.cv3-demo figcaption { display: grid; gap: 8px; }
.cv3-demo figcaption p { font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); }
/* A short list of what the team manages, dots on a hairline (the case-deliv list). */
.cv3 .case-deliv.is-four ul { margin: 0; padding: 0; list-style: none; }
/* Payment methods: two rows of the facts list. */
.cv3 .case-flood .case-facts, .cv3 .case-flood .case-facts > div { border-color: rgb(255 255 255 / .16); }
.cv3 .case-flood .case-facts dt { color: rgb(255 255 255 / .62); }
@media (max-width: 1080px) {
  .cv3-pair, .cv3-pair.is-flip, .cv3-figure { grid-template-columns: 1fr; }
  .cv3-pair.is-flip > :first-child { order: 0; }
  .cv3-cards.is-three { grid-template-columns: 1fr 1fr; }
  .cv3-phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .cv3-phones::-webkit-scrollbar { display: none; }
  .cv3-phones li { flex: 0 0 min(240px, 62vw); scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .cv3-cover { padding-inline: 0; }
  .cv3-cover.is-light { padding: 20px 0; }
  .cv3-two, .cv3-cards, .cv3-cards.is-three, .cv3-demos, .cv3-rows > div { grid-template-columns: 1fr; }
  .cv3-tray, .cv3-ph-area, .cv3-video, .cv3-figure { border-radius: var(--r-m); }
  .cv3-tray.is-flush img { border-radius: var(--r-m); }
  .cv3-figure { padding: 24px 20px; }
  .cv3-video { aspect-ratio: 1.1; }
}
/* AIM's Apple Watch: the trainer's call, the client's watch, then the text. */
.cv3-watch { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: var(--gap) clamp(24px, 4vw, 72px); align-items: end; }
.cv3-watch > figure:first-child { margin-right: calc(clamp(24px, 4vw, 72px) * -1 + var(--gap)); }
.cv3-watch .cv3-tray.is-deep img { width: auto; max-width: 100%; max-height: 640px; margin-inline: auto; border-radius: var(--r-m); }
.cv3-watch .cv3-prose { align-self: center; }
@media (max-width: 1080px) {
  .cv3-watch { grid-template-columns: 1fr 1fr; }
  .cv3-watch > figure:first-child { margin-right: 0; }
  .cv3-watch .cv3-prose { grid-column: 1 / -1; }
}
.cv3-ph-desc { max-width: 26em; font-size: var(--t-small); line-height: 1.5; }
.cv3-ph-area > b + .cv3-ph-desc { margin-top: -14px; }
.cv3-phones .cv3-ph-area { padding: 14px; gap: 10px; }
.cv3-phones .cv3-ph-top { font-size: 10px; }
.cv3-ph, .cv3-ph-area { width: 100%; min-width: 0; }
.cv3 .case-deliv h3 { font-size: var(--t-label); }
.cv3 .case-lead { max-width: 46em; }
/* A section that ends on a screen cut at its bottom edge: the screen sits on the edge. */
.cv3 .case-flood.is-edge { padding-bottom: 0; }
/* Rows that end a section: the next section's rule closes them. */
.cv3 .case-decision > .cv3-rows:last-child > div:last-child { padding-bottom: 0; border-bottom: 0; }
.cv3-ph-area { overflow: hidden; min-height: 0; }
.cv3-stories { display: grid; gap: clamp(32px, 4vw, 56px); }
.cv3 .cv3-prose h2 { max-width: 14em; margin-bottom: 8px; }
.cv3 .cv3-prose .case-facts { margin-top: 12px; }
.cv3-date { font-family: var(--mono); font-size: var(--t-label); color: rgb(255 255 255 / .5); }
.cv3 .gc2-results li { max-width: 32em; }
/* A big picture never runs taller than the screen: full width until then, whole and centred after. */
.cv3-tray img { width: auto; max-width: 100%; max-height: min(84vh, 900px); margin-inline: auto; }
.cv3-tray.is-flush { background: none; }
.cv3-cards .cv3-fig > figcaption { color: var(--ink); font-size: inherit; }
.cv3-cards figcaption h3 { color: var(--ink); }
/* Review fixes (design director, 18 Oct). */
.cv3-fig picture, .cv3-fig img { display: block; width: 100%; height: auto; }
.cv3-fig > picture img { max-height: min(84vh, 900px); width: auto; max-width: 100%; margin-inline: auto; }
.cv3-tray.is-edge { padding-bottom: 0; }
.cv3 .cv3-results-head { margin-bottom: 20px; font-size: var(--t-label); }
.cv3 .gc2-results .cv3-date { font-size: var(--t-label); }
.cv3 .gc2-results:has(> li:only-child) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.cv3 .case-flood#results { padding-bottom: clamp(56px, 6vw, 96px); }
.cv3-watch { align-items: start; }
.cv3-watch .cv3-tray { height: clamp(420px, 44vw, 640px); }
.cv3-watch .cv3-tray img { height: 100%; width: auto; max-height: none; border-radius: var(--r-m); }
.cv3-watch .cv3-tray.is-flush { overflow: hidden; border-radius: var(--r-l); }
.cv3-watch .cv3-tray.is-flush img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cv3-watch .cv3-prose { align-self: start; }
.cv3-cards > li > .cv3-fig { grid-template-rows: auto auto; }
.cv3-cards .cv3-tray { aspect-ratio: 4 / 3; background: var(--case-bg); padding: clamp(10px, 1.4vw, 20px); }
.cv3-cards .cv3-tray img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: var(--r-m); }
.cv3-cards.is-three .cv3-tray { aspect-ratio: 4 / 5; }
.cv3-phones .cv3-ph-area { align-content: space-between; }
.cv3-phones .cv3-ph-area b { display: none; }
.cv3-video { background: #f4f5f6; }
@media (max-width: 760px) {
  .cv3 .gc2-results:has(> li:only-child) { grid-template-columns: 1fr; }
  .cv3-watch .cv3-tray { height: 340px; }
}
.cv3-watch .cv3-tray.is-flush { padding: 0; background: none; place-items: start; }
.cv3-watch .cv3-tray.is-flush img { width: auto; height: 100%; max-width: 100%; object-fit: contain; border-radius: var(--r-l); margin: 0; }
.cv3-watch .cv3-tray.is-flush { height: auto; }
.cv3-watch .cv3-tray.is-flush img { width: 100%; height: auto; }
.cv3-fig .cv3-tray img { width: auto; max-width: 100%; height: auto; }
.cv3-cards .cv3-fig .cv3-tray img { max-height: 100%; }
.cv3-watch .cv3-fig .cv3-tray.is-deep img { height: 100%; }
.cv3-watch .cv3-fig .cv3-tray.is-flush img { width: 100%; }

/* ==========================================================================
   Pawwer (pw3), 19 Oct 2026: header option 1 (big H1, short description, facts row),
   grey section labels instead of red numbers, full-bleed photo cover.
   If Eugene approves A + labels for every case, move these rules to .cv3.
   ========================================================================== */
.gc4.pw3 .gc4-hero h1 { max-width: none; font-size: clamp(44px, 6.2vw, 108px); line-height: .94; letter-spacing: -.05em; }
.pw3 .case-hero-desc { max-width: 28em; margin-top: -4px; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.35; color: var(--ink-2); }
.pw3 .case-hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(32px, 6vh, 72px) 0 0; padding-top: clamp(20px, 2.4vh, 28px); border-top: 1px solid var(--hair); }
.pw3 .case-hero-facts dt { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pw3 .case-hero-facts dd { margin: 8px 0 0; font-size: var(--t-body); line-height: 1.45; color: var(--ink); }
.pw3 .case-hero-facts dd a { color: var(--ink); text-underline-offset: 3px; }
.pw3 .case-hero-facts dd a:hover { color: var(--red); }
.pw3 .case-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pw3 .case-hero-chips span { display: inline-flex; padding: 4px 10px; border: 1px solid var(--hair); border-radius: 999px; background: var(--white); font-size: 13px; line-height: 1.4; }
.pw3 .case-decision-head .case-n, .pw3 .cv3-n { font-family: inherit; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pw3 .case-flood .case-n, .pw3 .case-flood .cv3-n { color: rgb(255 255 255 / .62); }
.pw3 .cv3-cover.is-photo { padding: 0; background: none; }
.pw3 .cv3-cover.is-photo img { max-width: none; }
.pw3 .cv3-cover.is-photo::before { display: none; }
.pw3 .case-quote blockquote p { max-width: 22em; font-size: clamp(32px, 3.4vw, 56px); line-height: 1.08; }
.pw3 .case-quote.is-draft { position: relative; }
.pw3 .case-quote.is-draft::after { content: 'Draft quote: waiting for the client'; position: absolute; top: clamp(24px, 3vw, 40px); right: 0; padding: 6px 10px; border: 1px dashed rgb(var(--case-ink-rgb) / .35); border-radius: 999px; font-family: var(--mono); font-size: var(--t-label); color: rgb(var(--case-ink-rgb) / .7); }
@media (max-width: 760px) {
  .pw3 .case-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 36px; padding-top: 24px; }
  .gc4.pw3 .gc4-hero h1 { font-size: clamp(36px, 10.4vw, 46px); line-height: 1; }
  .pw3 .case-quote.is-draft::after { position: static; justify-self: start; }
}
.pw3 .cv3-cards.is-photos .cv3-tray { aspect-ratio: 3 / 2; padding: 0; }
.pw3 .cv3-cards.is-photos .cv3-tray img { width: 100%; height: 100%; max-height: none; border-radius: var(--r-l); }

/* Kasper case (ks3): the Pawwer header and section labels, plus the robot section. */
.gc4.ks3 .gc4-hero h1 { max-width: none; font-size: clamp(44px, 6.2vw, 108px); line-height: .94; letter-spacing: -.05em; }
.ks3 .case-hero-desc { max-width: 30em; margin-top: -4px; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.35; color: var(--ink-2); }
.ks3 .case-hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(32px, 6vh, 72px) 0 0; padding-top: clamp(20px, 2.4vh, 28px); border-top: 1px solid var(--hair); }
.ks3 .case-hero-facts dt { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ks3 .case-hero-facts dd { margin: 8px 0 0; font-size: var(--t-body); line-height: 1.45; color: var(--ink); }
.ks3 .case-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ks3 .case-hero-chips span { display: inline-flex; padding: 4px 10px; border: 1px solid var(--hair); border-radius: 999px; background: var(--white); font-size: 13px; line-height: 1.4; }
.ks3 .case-decision-head .case-n, .ks3 .cv3-n, .ks3 .section-head .case-n { font-family: inherit; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ks3 .case-flood .case-n, .ks3 .case-flood .cv3-n, .ks3 .case-gallery .case-n { color: rgb(255 255 255 / .62); }
.ks3 .case-quote blockquote p { max-width: 22em; font-size: clamp(32px, 3.4vw, 56px); line-height: 1.08; }
.ks3 .cv3-tray.is-flush img { width: 100%; max-height: none; }
.ks3 .case-flood .cv3-tray.is-flush img { border-radius: 0; }
.ks3 .ks-steps { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: ks; }
.ks3 .ks-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--hair); font-size: var(--t-body); line-height: 1.5; color: var(--ink-2); counter-increment: ks; }
.ks3 .ks-steps li:last-child { border-bottom: 1px solid var(--hair); }
.ks3 .ks-steps li::before { content: counter(ks, decimal-leading-zero); font-size: var(--t-label); letter-spacing: .08em; color: var(--muted); padding-top: 3px; }
.ks3 .ks-video video { display: block; width: 100%; max-width: 1280px; height: auto; margin-inline: auto; border-radius: var(--r-m); box-shadow: 0 30px 60px -30px rgb(5 14 60 / .45); background: #fff; }
.ks3 .ks-robot-fig { margin: 0; }
.ks3 .ks-robot { aspect-ratio: 1; width: min(100%, 560px); margin-inline: auto; background: url(../assets/img/ks-robot-sprite.webp) 0 0 / 1000% 300% no-repeat; filter: drop-shadow(0 50px 60px rgb(3 10 50 / .55)); cursor: ew-resize; }
.ks3 .ks-robot-hint { margin-top: 20px; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .5) !important; }
@media (hover: none) { .ks3 .ks-robot-hint { display: none; } }
@media (max-width: 760px) {
  .ks3 .case-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 36px; padding-top: 24px; }
  .gc4.ks3 .gc4-hero h1 { font-size: clamp(36px, 10.4vw, 46px); line-height: 1; }
  .ks3 .ks-robot { width: min(100%, 340px); }
}
.ks3 .ks-steps li { grid-template-columns: 1fr; }
.ks3 .ks-steps li::before { content: none; }
.ks3 .case-gallery .section-aside { color: rgb(255 255 255 / .8); }
.ks3 #results + section .case-quote, .ks3 .case-quote { margin-block: var(--section); }

/* Pawwer alternative version (pw3a), 20 Oct 2026: chips beside "The project", wider dog-group labels,
   ticket lists, product facts. Only cases/pawwer-alt uses it. */
.pw3a .gc4-about-side .cv3-contents { margin-top: 28px; }
.pw3a .case-flood .case-facts > div { grid-template-columns: 190px minmax(0, 1fr); }
.pw3a .pw-tickets { margin-top: clamp(24px, 3vw, 40px); margin-bottom: clamp(24px, 3vw, 40px); }
.pw3a .pw-numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
@media (max-width: 760px) {
  .pw3a .gc4-about-side .cv3-contents { display: none; }
  .pw3a .case-flood .case-facts > div { grid-template-columns: 140px minmax(0, 1fr); }
  .pw3a .pw-numbers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) { .ks3 .ks-robot-hint { display: none; } }
