/* Muve — Work: the wall, the statement band, the big-type index, the case takeover. */

/* ---------- hero: headline + the wall + the ribbon ---------- */
.whero { position: relative; margin-top: calc(-1 * (var(--nav-h) + var(--nav-inset))); padding-top: calc(var(--nav-h) + var(--nav-inset)); min-height: min(86vh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.whero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
/* the ribbon: a painted layer cut to the outline wall.js writes each frame (--rib), with a shaded fold and a lit streak */
.rib { position: absolute; inset: 0; z-index: 0; clip-path: var(--rib, polygon(0 0, 0 0, 0 0));
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0) 0 34px, rgba(255, 255, 255, .06) 34px 39px, rgba(255, 255, 255, 0) 39px 83px, rgba(11, 27, 51, .05) 83px 86px, rgba(255, 255, 255, 0) 86px 131px),
    linear-gradient(90deg, #22c3f0 0%, #2bbd6a 16%, #f5b40a 34%, #ff7a3d 56%, #f04fc8 70%, #e5373a 78%, #6d4aff 88%, #1764e8 100%); }
.rib::before, .rib::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.rib::before { background-color: rgba(255, 255, 255, .22); clip-path: var(--rib-lite, polygon(0 0, 0 0, 0 0)); }
.rib::after { background-color: rgba(11, 27, 51, .1); clip-path: var(--rib-fold, polygon(0 0, 0 0, 0 0)); }
.whero__copy { position: relative; z-index: 3; padding-block: clamp(48px, 7vh, 96px) clamp(28px, 4vh, 44px); pointer-events: none; }
/* the headline box is wider than its letters: it must not swallow clicks meant for the wall behind it */
.whero__copy .whero__kicker, .whero__copy .whero__lede, .whero__copy .whero__cta { pointer-events: auto; }
.whero__lede { width: fit-content; }
.whero__kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: clamp(18px, 3vh, 32px); padding: 8px 12px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
.whero__h { max-width: 9.2em; }
/* the accent phrase: the site's gradient text (same recipe as .hl in fx.css; every stop is an -ink colour, >= 4.5:1 on paper) */
.whero__h span { color: var(--blue-ink); -webkit-text-fill-color: transparent; background: linear-gradient(100deg, var(--blue-ink) 0%, var(--violet-ink) 25%, var(--pink-ink) 50%, var(--orange-ink) 75%, var(--blue-ink) 100%) 0 0 / 200% 100% repeat; -webkit-background-clip: text; background-clip: text; padding-bottom: .08em; animation: whl-drift 14s linear infinite; }
@keyframes whl-drift { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .whero__h span { animation: none; } }
.whero__lede { margin-top: clamp(18px, 2.6vh, 28px); max-width: 36ch; padding: 2px 0; }   /* X 11/20: at 47ch the lines ran under the screen wall ("on the", "their", "person" sat on top of the recordings) */
.whero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.4vh, 36px); }
/* the recoloured headline: a second piece of the same ribbon, laid over the ink headline as far as its letters run,
   carrying a white copy of the words. Both pieces share one outline, so the join is invisible. */
.whero__over { position: absolute; left: 0; top: 0; bottom: 0; width: var(--over-w, 0px); overflow: hidden; z-index: 4; pointer-events: none; clip-path: var(--over-clip, none); }
.rib--over { right: auto; width: var(--hero-w, 100vw); z-index: 0; }
/* The headline side of the ribbon carries the light hues (cyan, green, amber, orange), so the ink headline reads on it
   everywhere, and the recoloured copy is violet-ink: 8.2:1 on paper, never under 3.6:1 on the ribbon. No moment of the
   ribbon's motion leaves a letter without contrast, whichever copy is on top. */
.rib--over .whero__h { position: absolute; z-index: 1; margin: 0; color: var(--violet-ink); }
.rib--over .whero__h span { color: var(--violet-ink); -webkit-text-fill-color: currentColor; background: none; animation: none; }
/* without WebGL: the same nine recordings as stills on a CSS plane, drifting */
.wall-css { position: absolute; z-index: 1; right: -8%; top: 0; padding-block: 8% 10%; width: min(56%, 860px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); display: none; gap: 18px; transform: perspective(1600px) rotateX(24deg) rotateY(-22deg) rotateZ(7deg); transform-origin: 60% 40%; animation: wall-drift 16s var(--ease-io) infinite alternate; }
.wall-css__col { flex: 1; min-width: 0; display: grid; gap: 18px; align-content: start; }
.wall-css__col:nth-child(2) { translate: 0 -9%; }
.wall-css__col:nth-child(3) { translate: 0 5%; }
.wall-css a { display: block; }
.wall-css img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: var(--sh-2); cursor: pointer; }
.no-gl .wall-css { display: flex; }
.no-gl .whero__gl { display: none; }
@keyframes wall-drift { from { translate: 0 0; } to { translate: -3% 5%; } }
.wall-tag { position: absolute; z-index: 5; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity var(--t-fast) var(--ease-out); box-shadow: var(--sh-2); }
.wall-tag.is-on { opacity: 1; }
.whero__hint { position: absolute; z-index: 3; right: var(--px); bottom: 22px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--sh-1); }
@media (max-width: 899px) { .whero__over { display: none; } }
@media (max-width: 900px) {
  .whero { min-height: 0; align-items: start; }
  .whero__copy { padding-bottom: min(92vw, 520px); }
  .wall-css { right: -18%; top: auto; bottom: -4%; padding-block: 0; width: 120%; gap: 10px; -webkit-mask-image: none; mask-image: none; }
  .whero__hint { display: none; }
}
@media (hover: none) { .whero__hint { display: none; } }

/* ---------- one flat electric band, one sentence (inflect) ---------- */
.stmt { background: var(--violet); color: #ffffff; padding-block: clamp(64px, 9vw, 128px); position: relative; }
.stmt :focus-visible { outline-color: #ffffff; }
.stmt__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 56px; align-items: center; }
.stmt__h { max-width: 16em; }
.stmt__proof { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .35); font: 500 .75rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #ffffff; }
.stmt__proof a { color: #ffffff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 28px; }
@media (hover: hover) and (pointer: fine) { .stmt__proof a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.stmt__proof a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .stmt__grid { grid-template-columns: 1fr; } }
.stmt .cellmark { background: currentColor; }
/* the point, shown: one frozen frame beside the same site moving */
.demo { position: relative; aspect-ratio: 10 / 8; }
.demo__card { position: absolute; width: 74%; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--navy); box-shadow: 0 2px 5px rgba(11, 27, 51, .3), 0 34px 60px -26px rgba(11, 27, 51, .7); }
.demo__card img, .demo__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo__card--still { left: 0; top: 0; rotate: -5deg; }
.demo__card--live { right: 0; bottom: 0; rotate: 2deg; }
.demo__tag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.demo__tag > i:not(.cellmark) { width: 8px; height: 8px; background: var(--ink-3); }
.demo__tag--live .cellmark { background: var(--green-ink); }
.demo__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); }
.demo__bar i { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- the index ---------- */
.idx-sec { padding-block: var(--sp-section) calc(var(--sp-section) + 40px); }
.idx-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: var(--sp-head); }
.idx-head .label { display: block; margin-bottom: 18px; color: var(--orange-ink); }
@media (max-width: 900px) { .idx-head { grid-template-columns: 1fr; } }
.idx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; padding-block: 14px; border-block: 1px solid rgba(11, 27, 51, .14); position: sticky; top: calc(var(--nav-h) + var(--nav-inset)); z-index: 20; background: var(--ground); transition: background-color var(--t-panel) var(--ease-io); }
.idx-bar__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.idx-bar__group + .idx-bar__group { padding-left: 14px; margin-left: 6px; border-left: 1px solid rgba(11, 27, 51, .14); }
.idx-bar__view { margin-left: auto; display: inline-flex; padding: 3px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .2); }
.chip { --c-bg: transparent; --c-ink: var(--ink); min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--c-bg); color: var(--c-ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .2); white-space: nowrap;
  transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.chip i { width: 8px; height: 8px; background: var(--hue); flex: none; }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } }
.chip:focus-visible { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip:hover i, .chip[aria-pressed="true"] i { background: currentColor; } }
.chip:focus-visible i, .chip[aria-pressed="true"] i { background: currentColor; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip[aria-pressed="true"]:hover { background: var(--ink-2); color: #ffffff; box-shadow: inset 0 0 0 1px var(--ink-2); } }
.chip[aria-pressed="true"]:focus-visible { background: var(--ink-2); color: #ffffff; box-shadow: inset 0 0 0 1px var(--ink-2); }
.idx-bar__view .chip { box-shadow: none; min-height: 30px; }
@media (hover: hover) and (pointer: fine) { .idx-bar__view .chip:hover { box-shadow: none; } }
.idx-bar__view .chip:focus-visible { box-shadow: none; }
.idx-bar__view .chip[aria-pressed="true"] { box-shadow: none; }
@media (pointer: coarse) { .chip { min-height: 44px; } .idx-bar__view .chip { min-height: 44px; } .stmt__proof { gap: 0 28px; } .stmt__proof a { min-height: 44px; } }
@media (max-width: 760px) {
  .idx-bar { position: static; }
  .idx-bar__group + .idx-bar__group { padding-left: 0; margin-left: 0; border-left: 0; }
  .idx-bar__view { margin-left: 0; }
  /* phones: each filter group is one row you swipe, not a wall of pills */
  .idx-bar__group { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--px)); margin-inline: calc(-1 * var(--px)); padding-inline: var(--px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .idx-bar__group::-webkit-scrollbar { display: none; }
}
.idx-empty { padding: 48px 0; color: var(--ink-2); }

.idx { position: relative; }
.idx__item { position: relative; }
.idx[data-view] .idx__item[hidden] { display: none; }
.idx__open { display: block; width: 100%; text-align: left; color: var(--ink); }
.idx__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.idx__name { display: block; font-weight: 300; letter-spacing: -.045em; line-height: .98; }
.idx__n { font: 500 .75rem/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.idx__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.idx__meta b { font-weight: 500; color: var(--brand-ink-own, var(--ink)); }
.idx__own { padding: 3px 7px; border-radius: 4px; background: var(--ink); color: var(--paper); }
.idx__media { display: block; z-index: 2; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); aspect-ratio: 16 / 10; box-shadow: var(--sh-1); }
.idx__media img, .idx__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.idx__media video { opacity: 0; transition: opacity var(--t-panel) var(--ease-out); }
.idx__media video.is-on { opacity: 1; }
.live { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .16); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .live:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); } }
.live:focus-visible { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.live .arrow { width: 10px; }
@media (hover: hover) and (pointer: fine) { .live:hover .arrow { width: 18px; } }
.live:focus-visible .arrow { width: 18px; }
@media (pointer: coarse) { .live { min-height: 44px; } }

/* list view: huge names; the recording follows the cursor */
.idx[data-view="list"] .idx__item { display: grid; grid-template-columns: 44px minmax(0, 1fr) clamp(150px, 17vw, 248px) auto; gap: 8px 24px; align-items: center; padding-block: clamp(18px, 2.4vw, 30px); border-bottom: 1px solid rgba(11, 27, 51, .14); }
.idx[data-view="list"] .idx__name { font-size: clamp(2.5rem, .8rem + 6.6vw, 7rem); transition: translate var(--t-panel) var(--ease-out), color var(--t-hover) var(--ease-out); }
.idx[data-view="list"] .idx__body { display: grid; gap: 12px; min-width: 0; }
.idx[data-view="list"] .idx__media { border-radius: 8px; transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .idx[data-view="list"] .idx__item:hover .idx__media { translate: 0 -4px; box-shadow: var(--sh-2); } }
.idx[data-view="list"] .idx__item:focus-within .idx__media { translate: 0 -4px; box-shadow: var(--sh-2); }
@media (hover: hover) and (pointer: fine) { .idx[data-view="list"] .idx__item:hover .idx__name { translate: 18px 0; color: var(--brand-ink-own, var(--blue-ink)); } }
.idx[data-view="list"] .idx__item:focus-within .idx__name { translate: 18px 0; color: var(--brand-ink-own, var(--blue-ink)); }
@media (hover: hover) and (pointer: fine) { .idx[data-view="list"]:has(.idx__item:hover) .idx__item:not(:hover) .idx__name { color: var(--ink-3); } }
@media (max-width: 760px) {
  .idx[data-view="list"] .idx__item { grid-template-columns: minmax(0, 1fr) 96px; align-items: start; }
  .idx[data-view="list"] .idx__n { display: none; }
  .idx[data-view="list"] .idx__media { display: block; grid-column: 2; grid-row: 1; border-radius: 8px; }
  .idx[data-view="list"] .live { grid-column: 1 / -1; justify-self: start; }
  .idx[data-view="list"] .idx__item:focus-within .idx__name { translate: none; }
}
.peek { visibility: hidden; position: fixed; left: 0; top: 0; z-index: 30; width: clamp(300px, 30vw, 460px); aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; scale: .86; box-shadow: var(--sh-2); background: var(--paper-2);
  transition: opacity var(--t-hover) var(--ease-out), scale var(--t-panel) var(--ease-out), visibility 0s linear var(--t-hover); will-change: transform; }
.peek.is-on { visibility: visible; opacity: 1; scale: 1; transition-delay: 0s; }
.peek video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.peek__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--peek-c, var(--blue)); }

/* grid view: cards that play */
.idx[data-view="grid"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px); margin-top: 36px; }
.idx[data-view="grid"] .idx__item { display: grid; gap: 14px; align-content: start; }
.idx[data-view="grid"] .idx__media { order: -1; transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .idx[data-view="grid"] .idx__item:hover .idx__media { translate: 0 -6px; box-shadow: var(--sh-2); } }
.idx[data-view="grid"] .idx__item:focus-within .idx__media { translate: 0 -6px; box-shadow: var(--sh-2); }
.idx[data-view="grid"] .idx__n { display: none; }
.idx[data-view="grid"] .idx__name { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); letter-spacing: -.035em; line-height: 1.04; }
.idx[data-view="grid"] .idx__body { display: grid; gap: 10px; }
.idx[data-view="grid"] .live { justify-self: start; }
@media (max-width: 1000px) { .idx[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .idx[data-view="grid"] { grid-template-columns: 1fr; } }

/* ---------- case takeover ---------- */
.morph { position: fixed; z-index: 400; left: 0; top: 0; border-radius: var(--r); overflow: hidden; pointer-events: none; transform-origin: 0 0; will-change: transform; box-shadow: var(--sh-2); }
.morph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ground); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.case::backdrop { background: var(--ground); }
.case[open] { animation: case-in var(--t-panel) var(--ease-out) both; }
.case.is-out { animation: case-out var(--t-hover) var(--ease-io) both; }
@keyframes case-in { from { opacity: 0; } }
@keyframes case-out { to { opacity: 0; } }
.case__chrome { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px var(--px); background: color-mix(in srgb, var(--ground) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(11, 27, 51, .1); }
.case__chrome .label { margin-right: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.case__chrome .label i { width: 10px; height: 10px; background: var(--brand); }
.case__close .ic { width: 20px; height: 20px; }
.case__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: 1.375rem; line-height: 1; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), rotate var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case__close:hover { background: var(--brand-ink); color: #ffffff; rotate: 90deg; } }
.case__close:focus-visible { background: var(--brand-ink); color: #ffffff; rotate: 90deg; }

.cs { --pad: clamp(40px, 6vw, 88px); }
.cs[hidden] { display: none; }
.cs__top { padding-top: var(--pad); }
.cs__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(11, 27, 51, .16); }
.cs__meta dt { font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 8px; }
.cs__meta dd { overflow-wrap: anywhere; font-size: 1rem; font-weight: 400; color: var(--ink); }
@media (max-width: 760px) { .cs__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs__name { font-size: clamp(3rem, 1rem + 9vw, 10rem); font-weight: 300; letter-spacing: -.05em; line-height: .92; margin-block: clamp(28px, 4vw, 56px); color: var(--brand-ink); text-wrap: balance; }
.cs__hero { position: relative; border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); box-shadow: var(--sh-2); }
.cs__hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs__hero .live { position: absolute; left: 14px; bottom: 14px; }
.cs__bwi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); padding-block: var(--pad); }
.cs__bwi :is(h2, h3) span { color: var(--ink-2); margin-left: 8px; }
.cs__bwi :is(h2, h3) { font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); padding-top: 14px; border-top: 2px solid var(--brand); margin-bottom: 18px; }
.cs__bwi p { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.45; color: var(--ink); font-weight: 300; }
.cs__facts { display: grid; gap: 16px; }
.cs__facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; }
.cs__facts b { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--brand-ink); font-variant-numeric: lining-nums tabular-nums; }
.cs__facts span { font-size: 1rem; color: var(--ink); }
@media (max-width: 900px) { .cs__bwi { grid-template-columns: 1fr; } }

/* device trio: three frames, one scroll */
.trio { height: 320vh; position: relative; background: var(--brand) linear-gradient(180deg, rgba(11, 27, 51, 0) 45%, rgba(11, 27, 51, .14)); color: var(--brand-on); }
/* the stage sits on a faint grid of square cells in the client's on-colour */
.trio__stage { background-image: linear-gradient(color-mix(in srgb, var(--brand-on) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand-on) 9%, transparent) 1px, transparent 1px); background-size: 32px 32px; position: sticky; top: 0; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 16px; padding: 84px var(--px) 28px; overflow: hidden; }
.trio__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.trio__head .t-h3 { color: var(--brand-on); }
.trio__head .label { color: var(--brand-on); }
.trio__frames { position: relative; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, .82fr) minmax(0, .4fr); gap: clamp(12px, 2vw, 32px); align-items: end; align-content: center; min-height: 0; max-width: var(--max); width: 100%; margin-inline: auto; }
.dev { position: relative; border-radius: 12px; background: #10131a; padding: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 40px 70px -30px rgba(0, 0, 0, .55); max-height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.dev__bar { height: 18px; display: flex; align-items: center; gap: 5px; padding-inline: 6px; }
.dev__bar i { width: 6px; height: 6px; background: #3a4150; }
.dev--t .dev__bar, .dev--m .dev__bar { height: 8px; }
.dev--t .dev__bar i, .dev--m .dev__bar i { display: none; }
.dev--m { border-radius: 20px; padding: 5px; }
.dev__view { display: block; position: relative; overflow: hidden; border-radius: 7px; background: #ffffff; }
.dev--d .dev__view { aspect-ratio: 16 / 10; }
.dev--t .dev__view { aspect-ratio: 820 / 1100; }
.dev--m .dev__view { aspect-ratio: 390 / 800; border-radius: 15px; }
/* full-length captures are up to 15,200px tall: never translate them as GPU layers (Safari drops oversized/too many layers and the frame goes blank, X 11/20). Crop in place with object-position instead. */
.dev__view img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; }
.trio__rail { position: absolute; right: 10px; top: 96px; bottom: 28px; width: 3px; background: color-mix(in srgb, var(--brand-on) 25%, transparent); }
.trio__rail i { position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--brand-on); transform-origin: 50% 0; scale: 1 var(--p, 0); }
@media (max-width: 760px) {
  .trio__frames { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; }
  .dev--d { grid-column: 1 / -1; }
}

/* before / after */
.ba { padding-block: var(--pad); }
.ba__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 24px; }
.ba__head .label { color: var(--brand-ink); }
.ba__frame { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; box-shadow: var(--sh-2); background: var(--paper-2); touch-action: pan-y; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 12px; padding: 7px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; z-index: 2; }
.ba__tag--b { left: 12px; } .ba__tag--a { right: 12px; background: var(--brand); color: var(--brand-on); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #ffffff; box-shadow: 0 0 0 1px rgba(11, 27, 51, .35); z-index: 2; pointer-events: none; }
.ba__handle::after { content: "‹ ›"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; background: #ffffff; color: var(--ink); display: grid; place-items: center; font: 500 1rem/1 var(--mono); box-shadow: var(--sh-2); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba__frame:has(.ba__range:focus-visible) { outline: 2px solid var(--brand-ink); outline-offset: 4px; }
.ba__note { margin-top: 14px; font-size: .875rem; color: var(--ink-2); }

.cs__next { padding-block: var(--pad) calc(var(--pad) + 24px); border-top: 1px solid rgba(11, 27, 51, .16); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cs__next .btn { max-width: 100%; white-space: normal; min-height: 48px; padding-block: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.cs__nextbtn { text-align: left; color: var(--ink); display: grid; gap: 10px; }
.cs__nextbtn .label { color: var(--brand-ink); display: inline-flex; align-items: center; gap: 10px; }
.cs__nextbtn b { font-size: clamp(2rem, 1rem + 4.4vw, 4.75rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; transition: translate var(--t-panel) var(--ease-out), color var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cs__nextbtn:hover b { translate: 14px 0; color: var(--brand-ink); } }
.cs__nextbtn:focus-visible b { translate: 14px 0; color: var(--brand-ink); }

/* standalone case pages reuse .cs outside the dialog */
.cs--page .trio__stage { top: 0; }

@media (prefers-reduced-motion: reduce) {
  .feat__card, .hand__phone, .hand__btn, .more__shot { transition: none; }
  .feat__stack .feat__card { position: relative; top: auto; }
  .wall-css, .case[open], .case.is-out { animation: none; }
  .idx__name, .idx__media, .peek, .cs__nextbtn b, .case__close { transition: none; }
  .trio { height: auto; } .trio__stage { position: static; height: auto; padding-block: 56px; }
  .dev__view img { object-position: 50% 0; }
}

/* ---------- hero trust line: the count, derived from the data file (indicium: a line pinned under the first screen) ---------- */
.whero__trust { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(22px, 3.4vh, 36px); pointer-events: auto; width: fit-content; max-width: 100%; border-top: 1px solid rgba(11, 27, 51, .16); }
.whero__trust div { display: grid; gap: 6px; padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(11, 27, 51, .12); }
.whero__trust div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.whero__trust dt { font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.whero__trust dd { font-size: 1.1875rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 900px) { .whero__trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; } .whero__trust div { padding-right: 18px; margin-right: 18px; } .whero__trust div:nth-child(3) { border-right: 0; } .whero__trust div:nth-child(4) { grid-column: 1 / -1; border-right: 0; } }

/* ---------- told in full: stacked panels in the client's own colour ---------- */
.feat { padding-block: var(--sp-section) clamp(40px, 5vw, 72px); }
.feat__head .label { color: var(--amber-ink); }
.feat__stack { display: grid; gap: clamp(20px, 3vw, 40px); }
.feat__card { position: relative; border-radius: clamp(14px, 1.8vw, 24px); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.feat__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: clamp(520px, 62vh, 680px); }
.feat__copy { padding: clamp(24px, 3.4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 0; }
.feat__k { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); }
.feat__k span:first-child { color: var(--brand-ink); }
.feat__name { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-top: 18px; color: var(--brand-ink); text-wrap: balance; }
.feat__brief { margin-top: 16px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.feat__svc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.feat__svc li { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 11px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .16); font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.feat__svc i { width: 8px; height: 8px; background: var(--hue); }
.feat__facts { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid rgba(11, 27, 51, .14); }
.feat__facts li { display: grid; grid-template-columns: clamp(6.6rem, 9.6vw, 8.8rem) minmax(0, 1fr); gap: 18px; align-items: baseline; padding-block: 10px; border-bottom: 1px solid rgba(11, 27, 51, .14); }
.feat__facts b { font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.375rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--brand-ink); font-variant-numeric: lining-nums tabular-nums; }
.feat__facts span { font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.feat__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.feat__cta .btn { white-space: normal; padding-block: 12px; line-height: 1.3; }
.feat__cta .live { max-width: 100%; white-space: normal; overflow-wrap: anywhere; padding-block: 8px; line-height: 1.3; }
/* the stage: the client's colour, a grid of square cells, the live recording in a browser frame that leans to the scroll */
.feat__stage { position: relative; background: var(--brand) linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 42%, rgba(11, 27, 51, .18)); overflow: hidden; display: grid; align-items: center; perspective: 1400px; }
.feat__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--brand-on) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand-on) 12%, transparent) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); mask-image: linear-gradient(200deg, #000, transparent 70%); }
.feat__screen { position: relative; margin: clamp(28px, 4vw, 56px) clamp(-120px, -7vw, -40px) clamp(28px, 4vw, 56px) clamp(24px, 3.4vw, 52px); border-radius: 12px; background: #10131a; padding: 0 6px 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 50px 80px -34px rgba(0, 0, 0, .6); transform: rotateY(calc(-9deg + var(--tilt, 0) * 7deg)) rotateX(calc(3deg - var(--tilt, 0) * 3deg)) translate3d(0, calc((1 - var(--tilt, 0)) * 26px), 0); transform-origin: 0 50%; will-change: transform; }
.feat__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding-inline: 8px; }
.feat__bar i { width: 7px; height: 7px; background: #3a4150; }
.feat__bar b { margin-left: 10px; font: 500 .75rem/1 var(--mono); letter-spacing: .06em; color: #c5ccd8; }
.feat__view { position: relative; aspect-ratio: 16 / 10; border-radius: 7px; overflow: hidden; background: #ffffff; }
.feat__view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 901px) and (min-height: 700px) {
  /* each panel pins under the nav and the next one slides over it */
  .feat__stack .feat__card { position: sticky; top: var(--top, calc(var(--nav-h) + var(--nav-inset) * 2 + 12px + var(--n) * 14px)); }
}
@media (max-width: 900px) {
  .feat__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .feat__copy { min-width: 0; }
  .feat__name { overflow-wrap: anywhere; }
  .feat__stage { order: -1; }
  .feat__screen { margin: 22px -56px 22px 20px; transform: rotateY(-5deg); }
}

/* ---------- on a phone: nine phone frames on a rail ---------- */
.hand { padding-block: var(--sp-section); overflow: hidden; }
.hand .idx-head .label { color: var(--cyan-ink); }
.hand__side { display: grid; gap: 20px; justify-items: start; }
.hand__nav { display: inline-flex; gap: 8px; }
.hand__btn { width: 48px; height: 48px; border-radius: var(--r-pill); display: inline-grid; place-items: center; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .28); transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out), opacity var(--t-hover) var(--ease-out); }
.hand__btn[data-hand-prev] .arrow { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) { .hand__btn:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); } }
.hand__btn:focus-visible { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.hand__btn:disabled { opacity: .35; cursor: default; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .28); }
.hand__rail { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 28px 44px; scroll-padding-inline: max(var(--px), (100vw - var(--max)) / 2 + var(--px)); }
.hand__rail::-webkit-scrollbar { display: none; }
.hand__rail:focus-visible { outline-offset: -4px; }
.hand__track { display: flex; gap: clamp(16px, 2.2vw, 32px); width: max-content; padding-inline: max(var(--px), (100vw - var(--max)) / 2 + var(--px)); align-items: flex-start; }
.hand__item { --w: clamp(168px, 15.5vw, 224px); width: var(--w); flex: none; position: relative; scroll-snap-align: start; display: grid; gap: 16px; }
.hand__item:nth-child(even) { margin-top: 44px; }
.hand__phone { position: relative; display: block; border-radius: 28px; padding: 7px; background: #10131a; box-shadow: 0 2px 6px rgba(11, 27, 51, .2), 0 36px 60px -30px color-mix(in srgb, var(--brand) 70%, #0b1b33); transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.hand__phone::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 13px; width: 26%; height: 5px; margin-left: -13%; border-radius: 3px; background: #10131a; }
.hand__phone img, .hand__phone video { display: block; width: 100%; aspect-ratio: 390 / 844; height: auto; object-fit: cover; object-position: top; border-radius: 22px; background: var(--paper-2); }
.hand__phone video { position: absolute; left: 7px; top: 7px; width: calc(100% - 14px); opacity: 0; transition: opacity var(--t-panel) var(--ease-out); }
.hand__phone video.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .hand__phone:hover { translate: 0 -8px; box-shadow: 0 2px 6px rgba(11, 27, 51, .2), 0 48px 70px -30px color-mix(in srgb, var(--brand) 85%, #0b1b33); } }
.hand__phone:focus-visible { translate: 0 -8px; outline-offset: 5px; border-radius: 28px; }
.hand__cap { display: grid; gap: 4px; justify-items: start; padding-left: 12px; border-left: 2px solid var(--brand); }
.hand__cap b { font-size: 1.0625rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.hand__cap a { font: 500 .75rem/1.3 var(--mono); letter-spacing: .04em; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(11, 27, 51, .3); text-underline-offset: 3px; overflow-wrap: anywhere; min-height: 24px; display: inline-flex; align-items: center; transition: color var(--t-hover) var(--ease-out), text-decoration-color var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hand__cap a:hover { color: var(--ink); text-decoration-color: currentColor; } }
.hand__cap a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
@media (pointer: coarse) { .hand__cap a { min-height: 44px; } }
.hand__own { font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: var(--ink); color: var(--paper); }
.hand__meter { display: block; height: 3px; background: rgba(11, 27, 51, .12); position: relative; overflow: hidden; }
.hand__meter i { position: absolute; inset: 0; background: var(--cyan-ink); transform-origin: 0 50%; transform: scaleX(var(--p, .2)); }
@media (max-width: 760px) { .hand__item { --w: 58vw; scroll-snap-align: center; } .hand__item:nth-child(even) { margin-top: 0; } .hand__nav { display: none; } .hand__rail { scroll-snap-type: x mandatory; padding-block: 12px 32px; } }

/* ---------- case extras: standfirst, side buttons, more work ---------- */
.cs__stand { overflow-wrap: anywhere; font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 52ch; margin-top: calc(-1 * clamp(10px, 2vw, 28px)); margin-bottom: clamp(24px, 3.4vw, 44px); }
.cs__nextside { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cs__next a.cs__nextbtn { text-decoration: none; }
.more { padding-block: clamp(40px, 6vw, 88px) calc(clamp(14px, 2.2vw, 30px) * 4 + clamp(40px, 6vw, 88px)); border-top: 1px solid rgba(11, 27, 51, .16); }
.more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 20px; }
.more__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px) clamp(14px, 1.8vw, 24px); }
.more__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; text-decoration: none; color: var(--ink); }
.more__shot { grid-column: 1 / -1; display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--paper-2); box-shadow: var(--sh-1); margin-bottom: 10px; border-bottom: 3px solid var(--brand-ink); transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.more__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.more__list b { font-size: 1.125rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; transition: color var(--t-hover) var(--ease-out); }
.more__list a .arrow { grid-column: 2; grid-row: 2; align-self: center; }
.more__meta { grid-column: 1 / -1; font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .more__list a:hover .more__shot { translate: 0 -5px; box-shadow: var(--sh-2); } .more__list a:hover b { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }
.more__list a:focus-visible .more__shot { translate: 0 -5px; box-shadow: var(--sh-2); }
.more__list a:focus-visible b { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  /* phones: the live chip sits under the recording, not on it */
  .cs__hero { overflow: visible; margin-bottom: 60px; background: none; box-shadow: none; }
  .cs__hero video { border-radius: 10px; box-shadow: var(--sh-2); background: var(--paper-2); }
  .cs__hero .live { left: 0; bottom: -56px; }
}

/* ---------- standalone case pages (work-*.html), 11/19 mobile pass. Scoped to .cs--page / [data-page="case"] so the
   work.html case dialog (its own chrome, no site header) keeps its 84px stage padding. ---------- */
/* the pinned trio stage sits under the sticky top bar + nav, not behind it (84px tucked the heading under the header) */
.cs--page .trio__stage { padding-top: calc(var(--nav-h) + var(--nav-inset) + 20px); }
.cs--page .trio__rail { top: calc(var(--nav-h) + var(--nav-inset) + 24px); }
main[data-page="case"] :is(h1, h2) { text-wrap: balance; }
main[data-page="case"] h3 { text-wrap: pretty; }
@media (pointer: coarse) {
  /* 44px touch areas that leave the layout where it was: the padding is cancelled by an equal negative margin */
  main[data-page="case"] .crumb a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .cs--page .cs__meta dd .link, .cs--page .cs__stand .link { padding-block: 12px; }
  main[data-page="case"] .more__head .link { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 760px) {
  /* phones: the current case's own button comes before the next-case link, so it no longer reads as the next case's */
  .cs--page .cs__next { gap: 28px; }
  .cs--page .cs__nextside { order: -1; }
}
@media (max-width: 560px) {
  /* phones: more work as a list of rows (shot left, name + place right) instead of two 170px columns */
  main[data-page="case"] .more__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  main[data-page="case"] .more__list a { grid-template-columns: clamp(120px, 36vw, 156px) minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; }
  main[data-page="case"] .more__shot { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
  main[data-page="case"] .more__list b { grid-column: 2; grid-row: 1; align-self: end; }
  main[data-page="case"] .more__meta { grid-column: 2; grid-row: 2; align-self: start; }
  main[data-page="case"] .more__list a .arrow { grid-column: 3; grid-row: 1 / span 2; }
}


/* link out from a hub section to its own page */
.hub-out { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(20px, 3vw, 32px); }
/* phones: the client's name, standfirst and buttons come first; the Client / Services / Year / Live-at facts follow them
   (they pushed the title ~300px down the first screen). Case pages only; the work.html case viewer keeps its order. */
@media (max-width: 760px) {
  main[data-page="case"] .cs--page .cs__top { display: flex; flex-direction: column; }
  main[data-page="case"] .cs--page .cs__lead { order: -1; }
  main[data-page="case"] .cs--page .cs__meta { margin-top: 28px; padding-top: 20px; padding-bottom: 0; border-bottom: 0; border-top: 1px solid rgba(11, 27, 51, .16); }
  main[data-page="case"] .cs--page .cs__hero { margin-top: 28px; }
}
/* touch: index rows and the "by industry" links get a 44px-tall target */
@media (pointer: coarse) { .idx__open { min-height: 44px; } .hub-out a.next { min-height: 44px; } }
