/* Tryline Management — case study
   Design language taken from the delivered identity (trylinemanagement.vercel.app):
   ink / bone / orange, Oswald headlines, IBM Plex Sans Condensed text, rounded panels on a near-black page. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/oswald-latin-600-normal-plFmSr5g.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/oswald-latin-ext-600-normal-5Cvn_Zbc.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/oswald-latin-700-normal-vy6hmKSr.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/oswald-latin-ext-700-normal-BKErdSR5.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ibm-plex-sans-condensed-latin-400-normal-DKyD6XsY.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ibm-plex-sans-condensed-latin-ext-400-normal-BJ9nxTJg.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-sans-condensed-latin-500-normal-BqaLkUoX.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-sans-condensed-latin-ext-500-normal--oYb3bSD.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/ibm-plex-sans-condensed-latin-600-normal-CRd5VyFf.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/ibm-plex-sans-condensed-latin-ext-600-normal-CBdNZ9Ci.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1A1918;
  --bone: #F2F1ED;
  --orange: #FF4C2B;
  --concrete: #B8B2A7;
  --steel: #44535F;
  --hivis: #FFD60A;

  --page: #0E0E0D;        /* hero page ground on the delivered site */
  --panel: #1A1918;
  --media: #050404;
  --text: var(--bone);
  --text-2: rgba(242, 241, 237, .72);  /* captions */
  --text-3: rgba(242, 241, 237, .45);  /* small print */
  --rule: rgba(242, 241, 237, .1);

  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --gap: 24px;
  --radius: 28px;
  --width: min(1320px, calc(100% - 64px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Type (the delivered scale) ---------- */
.display, .h1, .h2 {
  font-family: var(--head);
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.display { font-weight: 700; font-size: clamp(48px, 7vw, 88px); line-height: .955; letter-spacing: .004em; }
.h1 { font-weight: 700; font-size: clamp(36px, 4.6vw, 56px); line-height: 1; max-width: 22ch; }
.lead { margin: 18px 0 0; max-width: 46ch; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.36; color: var(--text-2); text-wrap: pretty; }
.eyebrow { margin: 0 0 18px; font: 500 14px/20px var(--body); color: var(--concrete); }
.link { color: var(--orange); font-weight: 600; text-decoration: none; }
.link:hover, .link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Top bar + progress line ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 32px;
  font: 500 14px/20px var(--body);
  background: rgba(14, 14, 13, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.bar a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.bar a:hover { color: var(--bone); }
.bar__title { color: var(--bone) !important; }
/* The progress line: thin and solid, with an orange fill that grows along it. */
.bar__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rule); }
.bar__progress i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Hero ---------- */
/* The logo film fills the first screen; the intro opens up beneath it. */
.hero { position: relative; background: var(--page); }
/* Show the whole 16:9 film at any window size: fit it inside the first screen, never crop it. */
.hero__film {
  position: relative; height: 100svh;
  display: grid; place-items: center;
  padding: 72px 32px 92px;
  background: var(--page);
}
.hero__video {
  display: block;
  width: min(100%, calc((100svh - 164px) * 16 / 9));
  aspect-ratio: 16 / 9; height: auto;
  object-fit: contain;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(242, 241, 237, .07);
}
.hero__cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 2px; height: 44px; background: rgba(242, 241, 237, .18); overflow: hidden;
}
.hero__cue span { position: absolute; inset: 0; background: var(--bone); transform-origin: 50% 0; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: 50% 0; } 56% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
.hero__text { position: relative; z-index: 1; width: var(--width); margin: 0 auto; padding: 96px 0 24px; scroll-margin-top: 40px; }
/* Portrait screens: show the whole 16:9 film instead of cropping the wordmark */
@media (max-aspect-ratio: 1 / 1) {
  .hero__film { height: auto; display: block; padding: 68px 16px 0; }
  .hero__video { width: 100%; border-radius: 16px; }
  .hero__cue { display: none; }
}
.callout {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; padding: 16px 22px;
  background: var(--orange); color: var(--ink);
  border-radius: 12px; text-decoration: none;
  font: 600 18px/1 var(--head); text-transform: uppercase; letter-spacing: .01em;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.callout:hover { background: #E8401F; }
.callout:active { transform: scale(.98); }
.callout span { transition: transform .2s var(--ease); }
.callout:hover span { transform: translateX(4px); }
/* The name is set in words, not as a lockup: the logo is Tryline on its own and leads. */
.hero__name { margin: 0 0 14px; font: 600 18px/1.3 var(--body); color: var(--concrete); }
.h2 { font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.hero__line { max-width: 24ch; }
.deliverables {
  list-style: none; margin: 28px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 6px 0;
  font: 500 14px/20px var(--body); color: var(--text-2);
}
.deliverables li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--text-3); }

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Logo fly-in ---------- */
.fly { position: relative; z-index: 1; width: 62%; }
.fly button { all: unset; display: block; width: 100%; cursor: pointer; }
.fly button:focus-visible { outline: 2px solid var(--orange); outline-offset: 12px; }
.fly svg { width: 100%; height: auto; overflow: visible; aspect-ratio: 1100 / 144.413; }

/* ---------- Layout ---------- */
.stack { width: var(--width); margin: 0 auto; padding: 120px 0 96px; display: grid; gap: 160px; }
.chapter { display: grid; gap: var(--gap); scroll-margin-top: 72px; }
.chapter__head { margin-bottom: 24px; }
.chapter__head--tight { margin-bottom: 0; }
.chapter__head--tight .eyebrow { margin: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.lead--after { margin: 16px 0 0; }

.panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(242, 241, 237, .07);
  opacity: 0; transform: translateY(40px) scale(.985);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.panel.is-in { opacity: 1; transform: none; }
.panel--wide { aspect-ratio: 16 / 9; }
.panel--tall { aspect-ratio: 4 / 5; }
.panel--sheet { aspect-ratio: 16 / 10; }
.pair > .panel--tall { height: 100%; }
.panel--media { background: var(--media); }
.panel--media img, .panel--media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.panel--logo .fly { width: 74%; }

.cap { margin: -6px 4px 0; max-width: 62ch; font-size: 17px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.cap--note { color: var(--text-3); font-size: 14px; }

/* ---------- The system ---------- */
.sizes { display: grid; place-items: center; background: var(--steel); }
.sizes__row { display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 44px); }
.sizes__item { display: grid; justify-items: center; gap: 12px; font: 500 14px/20px var(--body); color: rgba(242, 241, 237, .7); }
.sizes__tile { display: grid; place-items: center; background: var(--ink); border-radius: 22%; }
.sizes__tile svg { width: 60%; height: auto; }

.ratio { display: grid; grid-template-rows: 1fr auto; padding: clamp(20px, 3vw, 40px); gap: 14px; background: var(--media); }
.ratio__bar { display: flex; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(242, 241, 237, .1); }
.ratio__seg {
  flex: var(--w) 0 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  padding: clamp(10px, 1.6vw, 22px);
  transform-origin: 0 50%;
}
.ratio__seg b { font: 700 clamp(18px, 2.2vw, 30px)/1 var(--head); text-transform: uppercase; }
.ratio__seg small { font: 500 clamp(11px, 1vw, 14px)/1.3 var(--body); opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ratio__accents { display: flex; gap: 8px; height: 10px; }
.ratio__accents span { width: 5%; border-radius: 3px; }

/* ---------- Flip (deck + player card) ---------- */
.flip { all: unset; cursor: pointer; display: block; perspective: 1600px; -webkit-tap-highlight-color: transparent; }
.flip:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 12px; }
.flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: inherit; overflow: hidden; }
.flip__face--back { transform: rotateY(180deg); }

/* Pitch deck wireframes: the deck template's five layouts, drawn as placeholders */
.deck { padding: clamp(16px, 3.6vw, 52px); background: var(--concrete); }
.deck__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; gap: clamp(10px, 1.6vw, 20px); }
.wf--title { grid-row: 1 / 3; }
.wf {
  container-type: inline-size;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink); color: var(--bone);
  border-radius: clamp(6px, 1vw, 10px);
  padding: 7% 7.5%;  /* % not cqi: an element cannot size its own padding in its own container units */
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5);
}
.wf--title { aspect-ratio: auto; align-self: stretch; }
.wf small {
  position: absolute; right: 5cqi; bottom: 4.5cqi;
  font: 500 max(10px, 4.4cqi)/1 var(--body); color: rgba(242, 241, 237, .5);
}
.wf__bars, .wf__sub { display: grid; gap: 2.6cqi; }
.wf__bars i { display: block; height: 6.5cqi; border-radius: 1cqi; background: rgba(242, 241, 237, .78); }
.wf__sub { margin-top: 5cqi; }
.wf__sub i { display: block; height: 2.4cqi; border-radius: 1cqi; background: rgba(242, 241, 237, .32); }
.wf__band { position: absolute; left: 0; right: 0; top: 62%; height: 4cqi; background: var(--orange); }
.wf__band--top { top: 9%; }
.wf--title .wf__bars i { height: 5cqi; }
.wf--title .wf__sub { position: absolute; left: 7.5cqi; right: 7.5cqi; top: 72%; margin: 0; }
.wf__logo { position: absolute; left: 7.5cqi; bottom: 6cqi; width: 18cqi; opacity: .9; }
.wf__logo svg { width: 100%; height: auto; }
.wf__num { display: block; margin-bottom: 6cqi; font: 700 12cqi/1 var(--head); color: rgba(242, 241, 237, .3); }
.wf__big { display: block; font: 700 30cqi/.9 var(--head); color: rgba(242, 241, 237, .78); }
.wf__rule { position: absolute; left: 7.5cqi; right: 7.5cqi; bottom: 15cqi; height: .9cqi; background: rgba(242, 241, 237, .2); }
.wf__rule i { position: absolute; inset: 0 55% 0 0; background: var(--orange); }
.wf--quote { background: #E7E5DF; color: var(--ink); }
.wf--quote small { color: rgba(26, 25, 24, .5); }
.wf--quote .wf__bars { margin-top: 12cqi; }
.wf__bars--ink i { background: rgba(26, 25, 24, .82); }
.wf__sub--ink i { background: rgba(26, 25, 24, .3); }
.wf--photo { padding: 0; }
.wf__img {
  position: absolute; left: 0; right: 0; top: 0; height: 62%;
  background:
    linear-gradient(to top right, transparent calc(50% - .4px), rgba(242, 241, 237, .22) 50%, transparent calc(50% + .4px)),
    linear-gradient(to bottom right, transparent calc(50% - .4px), rgba(242, 241, 237, .22) 50%, transparent calc(50% + .4px)),
    #2A2826;
}
.wf--photo .wf__bars { position: absolute; left: 7.5cqi; right: 7.5cqi; top: 76%; }

.cards { display: flex; align-items: center; justify-content: center; gap: 3%; padding: 0 4%; background: #24221F; }
.cards__side { width: 24%; height: auto; border-radius: 14px; opacity: .55; filter: saturate(.85); }
.card { width: 30%; aspect-ratio: 700 / 980; border-radius: 18px; }
.card .flip__face img { width: 100%; height: 100%; object-fit: cover; }
.card .flip__face { border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }

/* card back, set in the card's own type so it reads as the reverse of the front */
.card__back { container-type: inline-size; background: #E9E3D3; color: var(--ink); padding: 4%; }
.card__frame { display: flex; flex-direction: column; gap: 3.4cqi; height: 100%; border: 1.4cqi solid var(--orange); border-radius: 3cqi; padding: 3.6cqi; background: #F2EDE1; }
.card__top { display: grid; gap: 1cqi; background: var(--ink); color: var(--bone); padding: 3.6cqi 4.4cqi; border-radius: 2cqi; }
.card__top b { font: 700 9.5cqi/1 var(--head); text-transform: uppercase; }
.card__top em { font: 700 6cqi/1 var(--head); text-transform: uppercase; color: var(--orange); font-style: normal; }
.card__top small { font: 600 4.4cqi/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; opacity: .8; }
.card__sec { display: grid; gap: 1.8cqi; font: 400 4.2cqi/1.32 var(--body); }
.card__sec--ink { background: var(--ink); color: var(--bone); padding: 3.4cqi 4.4cqi; border-radius: 2cqi; }
.card__label { font: 700 5.2cqi/1 var(--head); text-transform: uppercase; color: var(--orange); }
.card__list { opacity: .8; }
.card__job { display: flex; justify-content: space-between; gap: 2cqi; }
.card__job b { font: 600 5cqi/1.2 var(--head); text-transform: uppercase; }
.card__job small { font: 400 4cqi/1.4 var(--body); opacity: .7; white-space: nowrap; }
.card__more { margin-top: auto; align-self: flex-end; font: 700 4.6cqi/1 var(--head); text-transform: uppercase; color: var(--orange); }

/* ---------- Platform screens ---------- */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.panel--screen { aspect-ratio: 800 / 933; border-radius: 20px; background: var(--bone); }
.panel--screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Voice ---------- */
.voice { padding: clamp(24px, 4vw, 56px); }
.voice table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.voice th { text-align: left; padding: 0 24px 16px 0; font: 600 clamp(22px, 2.4vw, 36px)/1.05 var(--head); text-transform: uppercase; border-bottom: 1px solid var(--rule); }
.voice th:last-child { color: var(--concrete); }
.voice td { vertical-align: top; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; }
.voice td:last-child { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(242, 241, 237, .3); }
.voice tr:last-child td { border-bottom: 0; padding-bottom: 0; }

/* ---------- Brand studio ---------- */
.pair--wide > div { display: grid; gap: var(--gap); align-content: start; }

/* ---------- Concept strip ---------- */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.strip__item { display: grid; gap: 12px; font: 500 14px/20px var(--body); color: var(--text-2); }
.strip__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); }
.strip__item span { padding-bottom: 10px; border-bottom: 2px solid var(--rule); }
.strip__item.is-chosen { color: var(--bone); }
.strip__item.is-chosen span { border-bottom-color: var(--orange); }

/* ---------- Credits ---------- */
.credits__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px var(--gap); }
.credits__list div { padding-top: 14px; border-top: 1px solid var(--rule); }
.credits__list dt { font: 600 22px/1.1 var(--head); text-transform: uppercase; }
.credits__list dd { margin: 6px 0 0; color: var(--text-2); }

/* ---------- Phone ---------- */
@media (width <= 760px) {
  :root { --gap: 14px; --radius: 20px; --width: calc(100% - 32px); }
  .bar { padding: 14px 16px; }
  .bar__link span { display: none; }
  .hero__text { padding: 56px 0 8px; }
  .trio { grid-template-columns: 1fr; }
  .callout { font-size: 16px; padding: 14px 18px; }
  .deck__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wf--title { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16 / 9; }
  .stack { padding-top: 88px; gap: 112px; }
  .pair { grid-template-columns: 1fr; }
  .cap { margin: -2px 6px 0; font-size: 15px; }
  .panel--sheet { aspect-ratio: auto; }
  .panel--sheet img { position: static; height: auto; }
  .ratio { aspect-ratio: 4 / 5; grid-template-rows: 1fr auto; }
  .ratio__bar { flex-direction: column; }
  .ratio__seg { flex-basis: 0; flex-grow: var(--w); }
  .ratio__accents span { width: 12%; }
  .deck__flip { width: 86%; }
  .cards { aspect-ratio: 4 / 5; padding: 0; }
  .cards__side { display: none; }
  .card { width: 62%; }
  .screens { grid-template-columns: 1fr 1fr; }
  .voice table, .voice thead, .voice tbody, .voice tr, .voice th, .voice td { display: block; }
  .voice thead { display: none; }
  .voice tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .voice tr:first-child { padding-top: 0; }
  .voice tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .voice td { border: 0; padding: 0; }
  .voice td::before { display: block; margin-bottom: 4px; font: 600 14px/20px var(--head); text-transform: uppercase; text-decoration: none; color: var(--concrete); }
  .voice td:first-child::before { content: "We say"; }
  .voice td:last-child { margin-top: 12px; }
  .voice td:last-child::before { content: "We don’t say"; display: inline-block; width: 100%; }
  .strip { grid-template-columns: repeat(6, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip__item { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel { opacity: 1; transform: none; transition: none; }
  .flip__inner { transition: none; }
}
