/* PROOF PAGES (2026-10-20): /case-studies and /our-websites. Built on omg.css + inner.css (hero, grounds, openers, frames,
   KPIs, the five-year chart, client films); this file only adds what those lack. js/proof.js runs both pages. */

/* ---------- a client's live site on a computer and a phone, moving as one (the home page's pattern) ---------- */
.pair { position: relative; padding-bottom: 11%; }
.pair .frame { box-shadow: 0 34px 70px -40px rgba(12, 12, 13, .5); }
.pair-phone { position: absolute; right: -2%; bottom: 0; width: 24%; aspect-ratio: 520 / 1125; overflow: hidden; border-radius: 22px; border: 5px solid var(--ink); background: #fff; box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .55); }
.pair-phone .pan { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
/* a mouse over the pair pauses both screens together; a finger resting on a phone screen never freezes them */
@media (hover: hover) and (pointer: fine) {
  .pair:hover .pan, .pair .frame:hover .pan { animation-play-state: paused; }
}

/* =====================================================================================================
   /case-studies
   ===================================================================================================== */

/* ---------- hero: the results board, one row per client, each a jump to its card ---------- */
.board { display: grid; border-radius: 26px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; }
.board-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-areas: "logo where num" "logo what num"; align-items: center; gap: 3px 20px; padding: 18px 26px; border-top: 1px solid var(--line-d); transition: background .2s; }
.board-row:first-child { border-top: 0; }
.board-row:hover { background: rgba(255, 255, 255, .05); }
.board-row:hover b { color: var(--aqua); }
.board-logo { grid-area: logo; display: flex; align-items: center; height: 46px; }
.board-logo img { width: auto; max-width: 140px; max-height: 34px; filter: brightness(0) invert(1); }
.board-logo img.lg-sq { max-height: 46px; }
.board-word { flex-direction: column; align-items: flex-start; justify-content: center; font: 800 13.5px/1.15 var(--wide); letter-spacing: -.02em; color: #fff; }
.board-word small { display: block; margin-top: 5px; font: 700 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.board-where { grid-area: where; align-self: end; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.board-what { grid-area: what; align-self: start; font-size: 14px; line-height: 1.35; color: #d4d3d8; }
.board-row b { grid-area: num; font: 800 clamp(1.6rem, 2.4vw, 2.3rem)/1 var(--wide); letter-spacing: -.05em; color: #fff; white-space: nowrap; transition: color .2s; }
.board-row b i { font-style: normal; color: var(--aqua); margin: 0 .06em; }

/* ---------- the filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 12px 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-weight: 700; font-size: 15px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.chip span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--bone); font-size: 12.5px; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(12, 12, 13, .45); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { background: var(--aqua); color: var(--ink); }
.chip:focus-visible { outline: 3px solid var(--aqua-ink); outline-offset: 3px; }
.chips-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--mute); }

/* ---------- the case cards ---------- */
.cs-grid { margin-top: clamp(26px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.cs { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 36px); border-radius: 30px; background: #fff; box-shadow: 0 1px 0 rgba(12, 12, 13, .06), 0 30px 70px -40px rgba(12, 12, 13, .35); scroll-margin-top: 90px; }
.cs[hidden] { display: none !important; }
.cs-body { flex: 1; display: flex; flex-direction: column; margin-top: clamp(18px, 2vw, 26px); }
.cs-id { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cs-logo { height: 30px; width: auto; max-width: 45%; object-fit: contain; object-position: left; }
.cs-logo-sq { height: 46px; }
.cs-where { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-align: right; line-height: 1.4; }
.cs-name { margin-top: 14px; font: 800 clamp(1.7rem, 2.5vw, 2.45rem)/1.05 var(--wide); letter-spacing: -.045em; }
.cs-tags { margin-top: 14px; }
.cs-tags li { transition: background .25s, border-color .25s; }
.cs-tags li.on { background: var(--aqua); border-color: var(--aqua); }
.cs-kpis { margin-top: 24px; }
.cs-kpis dd { font-size: clamp(1.4rem, 2vw, 2rem); }
.cs-result { margin-top: 20px; color: #33322f; font-size: 15.5px; line-height: 1.5; }
.cs-result b { color: var(--ink); }
.cs-foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; }
.cs-foot .more { font-size: 14.5px; }
.cs-now { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--aqua-ink); }
.cs-now span { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 3px rgba(34, 224, 207, .25); }
.cs-now:hover { color: var(--ink); }
/* the five-year account: dark, the whole row, its chart where a site would be */
.cs-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 70px); align-items: center; background: var(--ink); color: var(--bone); }
.cs-wide .cs-body { margin-top: 0; }
.cs-wide .kick { color: var(--bone); }
.cs-wide .cs-name { margin-top: 0; }
.cs-wide .cs-where { margin-top: 12px; text-align: left; color: var(--mute-d); }
.cs-wide .tags li { border-color: rgba(255, 255, 255, .7); }
.cs-wide .tags li.on { color: var(--ink); border-color: var(--aqua); }
.cs-wide .cs-result { color: #c9c8cd; }
.cs-wide .cs-result b { color: #fff; }
.cs-wide .line { margin: 0; }

/* ---------- SINCE THE CASE STUDY (the signature) ---------- */
.since-sec .pg-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.since-sec .pg-head p.since-stamp { display: block; text-align: center; color: var(--aqua); font-size: 14px; }
.since-stamp span { display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; }
.sn { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.3fr) minmax(0, .72fr); gap: clamp(24px, 3vw, 52px); align-items: center; padding: clamp(28px, 3.2vw, 46px) 0; border-top: 1px solid var(--line-d); scroll-margin-top: 90px; }
.sn:last-of-type { border-bottom: 1px solid var(--line-d); }
.sn-logo { display: block; height: 30px; width: auto; max-width: 170px; filter: brightness(0) invert(1); }
.sn-logo-sq { height: 44px; }
.sn h3 { margin-top: 16px; font: 800 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--wide); letter-spacing: -.04em; color: #fff; }
.sn-then { margin-top: 14px; font-size: 15px; line-height: 1.5; color: #c9c8cd; }
.sn-then span { display: block; margin-bottom: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
.sn-chart { margin: 0; padding: 20px 20px 16px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-d); }
.sbars { display: flex; align-items: flex-end; gap: 5px; height: 190px; }
.sb { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.sb i { display: block; flex-shrink: 0; width: 100%; height: calc((100% - 40px) * var(--k)); border-radius: 5px 5px 0 0; background: #55555b; transform-origin: bottom; transform: scaleY(.04); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.sb.now i { background: var(--aqua); }
.sbars.go .sb i { transform: none; }
.sb b { margin-bottom: 5px; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.sb.then b { color: var(--mute-d); }
.sb span { margin-top: 7px; font-size: 10.5px; font-weight: 600; color: var(--mute-d); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.sb-split { flex: none; align-self: stretch; width: 0; margin: 0 4px 18px; border-left: 2px dashed rgba(255, 255, 255, .28); }
.sbars-few { justify-content: center; gap: 14px; }
.sbars-few .sb { flex: 0 1 84px; }
.sbars-few .sb-split { margin: 0 10px 18px; }
.sn-chart figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 12.5px; color: var(--mute-d); }
.sn-chart .lg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.key { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.key-then { background: #55555b; }
.key-now { background: var(--aqua); }
.sn-now { display: grid; gap: 18px; }
.sn-now > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.sn-now > div + div { padding-top: 16px; border-top: 1px solid var(--line-d); }
.sn-now dd { font: 800 clamp(1.7rem, 2.4vw, 2.4rem)/1 var(--wide); letter-spacing: -.05em; color: #fff; white-space: nowrap; }
.sn-now .sn-lead dd { font-size: clamp(2.6rem, 4.2vw, 4.2rem); color: var(--aqua); }
.sn-now dt { font-size: 13.5px; line-height: 1.4; color: var(--mute-d); }
/* Pure IV: two big numbers in place of the chart and the column beside it */
.sn-big { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sn-big > div { padding: clamp(20px, 2.2vw, 30px); border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-d); }
.sn-big-n { font: 800 clamp(2.4rem, 4.2vw, 4.2rem)/1 var(--wide); letter-spacing: -.05em; color: var(--aqua); }
.sn-big-t { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--mute-d); }
.sn-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--mute-d); }
.sn-foot { max-width: 880px; margin: clamp(26px, 3vw, 38px) auto 0; text-align: center; font-size: 13.5px; line-height: 1.6; color: #8d8c92; }

/* ---------- IN THEIR WORDS: the client films in one row ---------- */
.words-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); max-width: 1180px; margin: 0 auto; }
.words .voice.wd { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.wd .film { width: 100%; border-radius: 20px; box-shadow: 0 40px 80px -44px rgba(12, 12, 13, .65); }
.wd .vplay { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.wd .vplay span { left: 22px; top: 18px; border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
.wd .film.playing .vplay span { left: 21px; top: 20px; }
.wd .film .vbig { width: 36px; height: 36px; top: 10px; right: 10px; }
.wd-q { margin-top: 18px; font: 600 1.08rem/1.3 var(--wide); letter-spacing: -.025em; }
.wd .who { margin-top: 16px; font-size: 14px; }
.wd .wd-q + .who { margin-top: 10px; }
.wd .vfull { margin-top: 10px; }
.words-more { margin-top: clamp(30px, 3.4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }

/* =====================================================================================================
   /our-websites
   ===================================================================================================== */
.ws-hero .pg-visual .pair { padding-bottom: 12%; }
.ws-hero .pair .frame { border-color: rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.ws-hero .pair .frame-bar { background: #f5f4f0; color: var(--mute); }
.ws-hero .pair-phone { border-color: #2c2c31; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ws-new { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; }
.ws-new-k { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.ws-new-k span { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 3px rgba(34, 224, 207, .25); }
.ws-new h2 { font: 800 clamp(1.5rem, 2.2vw, 2.1rem)/1.1 var(--wide); letter-spacing: -.04em; color: #fff; }
.ws-new p:not(.ws-new-k) { grid-column: 1; font-size: 15px; line-height: 1.5; color: #c9c8cd; }
.ws-new .ws-where { color: var(--mute-d); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ws-new .more { grid-column: 2; grid-row: 2 / 5; align-self: end; white-space: nowrap; }

/* ---------- the wall: one card per site, two across, a computer and its phone moving in each ---------- */
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.ws { display: flex; flex-direction: column; padding: clamp(18px, 2vw, 30px); border-radius: 30px; background: #fff; box-shadow: 0 1px 0 rgba(12, 12, 13, .06), 0 30px 70px -40px rgba(12, 12, 13, .35); }
.ws-body { flex: 1; display: flex; flex-direction: column; margin-top: clamp(16px, 1.8vw, 24px); }
.ws-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; }
.ws-name { font: 800 clamp(1.4rem, 2vw, 1.95rem)/1.1 var(--wide); letter-spacing: -.04em; }
.ws-where { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ws-built { margin-top: 10px; color: #33322f; font-size: 15.5px; line-height: 1.5; max-width: 52ch; }
.ws-built b { color: var(--ink); }
.ws-links { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.ws-links .more { font-size: 14.5px; }
.ws-links .ws-case { font-size: 14px; font-weight: 700; color: var(--mute); }
.ws-links .ws-case:hover { color: var(--ink); }
/* a site left alone on the last row takes the whole row, picture beside the words (so the wall never ends on a gap) */
.ws:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.ws:last-child:nth-child(odd) .ws-body { margin-top: 0; }
.ws-after { margin-top: clamp(30px, 3.4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }

/* =====================================================================================================
   smaller screens
   ===================================================================================================== */
@media (max-width: 1180px) {
  .board { max-width: 680px; width: 100%; margin: 0 auto; text-align: left; }
  .sn { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .sn-id { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: center; }
  .sn-id .sn-logo { grid-row: 1 / 3; }
  .sn-id h3 { margin-top: 0; }
  .sn-then { grid-column: 1 / -1; margin-top: 8px; max-width: 70ch; }
  .sn-chart { order: 2; }
  .sn-now { order: 3; }
  .sn-big { grid-column: 1 / -1; }
  .ws-new { text-align: left; }
}
@media (max-width: 1000px) {
  .cs-grid { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
  .cs-wide { grid-template-columns: 1fr; }
  .words-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
  .ws-grid { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
  .ws:last-child:nth-child(odd) { display: flex; }
  .ws:last-child:nth-child(odd) .ws-body { margin-top: clamp(16px, 1.8vw, 24px); }
}
@media (max-width: 860px) {
  .sn { grid-template-columns: minmax(0, 1fr); }
  .sn-big { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .board-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo num" "what num"; padding: 15px 18px; gap: 4px 14px; }
  .board-where { display: none; }
  .board-logo { height: 36px; }
  .board-logo img { max-height: 26px; max-width: 120px; }
  .board-logo img.lg-sq { max-height: 36px; }
  .board-what { font-size: 13px; }
  .board-row b { font-size: 1.55rem; }
  .chips { gap: 8px; }
  .chip { min-height: 44px; padding: 0 10px 0 16px; font-size: 14px; }
  .cs { padding: 16px 16px 26px; border-radius: 24px; }
  .cs-body { text-align: center; }
  .cs-id { flex-direction: column; gap: 10px; }
  .cs-logo { object-position: center; max-width: 60%; }
  .cs-where { text-align: center; }
  .cs-tags { justify-content: center; }
  .cs-foot { justify-content: center; flex-direction: column; }
  .cs-wide { padding: 24px 16px 26px; }
  .cs-wide .cs-where { text-align: center; }
  .cs-wide .kick { justify-content: center; }
  .pair { padding-bottom: 13%; }
  .pair-phone { width: 28%; right: 1%; border-width: 4px; border-radius: 18px; }
  .sn { text-align: center; }
  .sn-id { display: block; }
  .sn-logo { margin: 0 auto; }
  .sn-id h3 { margin-top: 14px; }
  .sn-chart { padding: 16px 12px 14px; }
  .sbars { height: 150px; gap: 3px; }
  .sb b { font-size: 9px; }
  .sb span { font-size: 8.5px; letter-spacing: 0; }
  .sb.quiet b { visibility: hidden; }
  .sb-split { margin: 0 2px 16px; }
  .sbars-few { gap: 8px; }
  .sbars-few .sb b { font-size: 10.5px; }
  .sn-chart figcaption { justify-content: center; }
  .sn-now { text-align: center; }
  .sn-now > div { align-items: center; }
  .sn-big { grid-template-columns: 1fr; }
  .words .voice.wd { align-items: center; text-align: center; }
  .wd-q { font-size: .98rem; }
  .ws { padding: 16px 16px 24px; border-radius: 24px; }
  .ws-body { text-align: center; align-items: center; }
  .ws-top { flex-direction: column; align-items: center; }
  .ws-links { justify-content: center; flex-direction: column; }
  .ws-new { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ws-new-k { justify-content: center; }
  .ws-new .more { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
@media (max-width: 380px) {
  .sb span { font-size: 7.5px; }
  .sb b { font-size: 8px; letter-spacing: -.03em; }
  .sbars-few .sb span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sb i { transform: none; transition: none; }
}
/* the hero's phone stays inside the page's edge */
.ws-hero .pair-phone { right: 1.5%; }
