/* Layout: one left-aligned 12-column grid; type does the work, the ink band at the foot is the one loud moment.
   Single, deliberate light brand world (chalk), so no dark variant: every colour is set explicitly. */
:root {
  color-scheme: light;
  --chalk: #F7F8F5;
  --ink: #0F1A14;
  --marker: #C6F04D;
  --forest: #1F4A33;
  --grey: #59625C;
  --rule: #D7DCD6;
  --ink-soft: #A9B2AC;

  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --hero: clamp(2.9rem, 0.6rem + 9.4vw, 8.75rem);
  --quote: clamp(1.45rem, 0.95rem + 2.3vw, 3.1rem);
  --h2: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem);
  --lead: clamp(1.125rem, 1rem + 0.55vw, 1.45rem);
  --body: 1.0625rem;
  --small: 0.8125rem;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.22, .9, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: var(--small); letter-spacing: 0.01em; }

/* ---------- header ---------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--chalk) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.bar.scrolled { border-bottom-color: var(--rule); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; display: block; }
.brand .word { height: 15px; width: auto; display: block; }
.brand .mark { transform-origin: 50% 50%; animation: halfturn 1.1s .15s var(--ease) both; }
.brand.again .mark { animation: halfturn-again 1.1s var(--ease) both; }
@keyframes halfturn { from { transform: rotate(-180deg); } to { transform: rotate(0deg); } }
@keyframes halfturn-again { from { transform: rotate(180deg); } to { transform: rotate(0deg); } }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.6vw, 40px); align-items: center; }
nav a { text-decoration: none; font-size: 0.95rem; padding-block: 10px; }
nav a:not(.nav-email) { background: linear-gradient(var(--ink), var(--ink)) left 85% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
nav a:not(.nav-email):hover { background-size: 100% 1px; }
.nav-email { font-family: var(--mono); font-size: var(--small); border: 1px solid var(--ink); border-radius: 999px; padding: 9px 16px; transition: background-color .25s, color .25s; }
.nav-email:hover { background: var(--ink); color: var(--chalk); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 9vw, 140px) clamp(56px, 8vw, 120px); }
.hero h1 {
  font-weight: 500; font-size: var(--hero); line-height: 1; letter-spacing: -0.042em;
  margin: 0; max-width: 11.5ch;
}
.line { display: block; overflow: hidden; padding: 0.12em 0.24em 0.16em; margin: -0.12em -0.24em -0.16em; }
.line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.line:nth-child(1) > span { animation-delay: .25s; }
.line:nth-child(2) > span { animation-delay: .33s; }
.line:nth-child(3) > span { animation-delay: .52s; }
.line:nth-child(4) > span { animation-delay: .60s; }
.line:nth-child(5) > span { animation-delay: .68s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
.pill { position: relative; isolation: isolate; white-space: nowrap; }
.pill::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0.17em -0.16em 0.07em -0.14em;
  background: var(--marker); border-radius: 999px;
  transform-origin: left center;
  animation: draw .8s 1.15s cubic-bezier(.65, 0, .35, 1) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(40px, 6vw, 88px);
}
.hero-foot .intro-wrap { grid-column: 6 / span 6; }
.hero-foot .intro { font-size: var(--lead); line-height: 1.45; margin: 0; max-width: 34em; }
.hero-foot .tag { grid-column: 1 / span 4; color: var(--grey); align-self: end; margin: 0; }
.jump {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 1rem; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.jump svg { transition: transform .35s var(--ease); }
.jump:hover svg { transform: translateY(3px); }

/* ---------- situations ---------- */
.section { padding-block: clamp(64px, 9vw, 136px); }
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  align-items: end; margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2 { grid-column: 1 / span 6; }
.section-head p { grid-column: 8 / span 5; margin: 0; color: var(--grey); max-width: 30em; }
h2 { font-weight: 500; font-size: var(--h2); line-height: 1.02; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }

.situations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.situations li { border-bottom: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px 40px; gap: 24px; align-items: center;
  padding-block: clamp(22px, 2.6vw, 36px); text-decoration: none; color: var(--ink);
}
.num {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink);
  display: grid; place-items: center; font-family: var(--mono); font-size: var(--small);
  font-variant-numeric: tabular-nums; transition: background-color .3s, border-color .3s;
}
.quote {
  font-size: var(--quote); line-height: 1.1; letter-spacing: -0.022em; margin: 0;
  text-wrap: balance; transition: transform .45s var(--ease);
}
.row .name { color: var(--grey); transition: color .3s; }
.arrow { justify-self: end; opacity: 0; transform: translateX(-12px); transition: opacity .35s, transform .45s var(--ease); }
.row:hover .num, .row:focus-visible .num, .row.is-active .num { background: var(--marker); border-color: var(--marker); }
.row:hover .quote, .row:focus-visible .quote { transform: translateX(10px); }
.row:hover .name, .row.is-active .name { color: var(--ink); }
.row:hover .arrow, .row:focus-visible .arrow, .row.is-active .arrow { opacity: 1; transform: translateX(0); }

/* ---------- how we work ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.split > h2 { grid-column: 1 / span 4; }
.split > .body { grid-column: 6 / span 7; display: grid; gap: 28px; }
.split p { margin: 0; font-size: var(--lead); line-height: 1.45; max-width: 32em; }
.split p strong { font-weight: 500; }
.how { border-top: 1px solid var(--rule); }

/* ---------- recent work ---------- */
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.work-list li {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  padding-block: clamp(28px, 3.4vw, 48px); border-bottom: 1px solid var(--rule); align-items: baseline;
}
.fig { grid-column: 1 / span 4; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.fig div { display: grid; }
.fig b { font-weight: 500; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fig span { color: var(--grey); margin-top: 8px; }
.who { grid-column: 6 / span 2; margin: 0; }
.what { grid-column: 8 / span 5; margin: 0; max-width: 34em; }
.note { margin-top: 20px; color: var(--grey); }

/* ---------- behind it ---------- */
.behind p { font-size: var(--h2); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; margin: 0; max-width: 20ch; text-wrap: balance; }
.behind a.more { display: inline-flex; gap: 10px; align-items: center; margin-top: 32px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.behind a.more svg { transition: transform .35s var(--ease); }
.behind a.more:hover svg { transform: translateX(4px); }

/* ---------- closing band ---------- */
.close {
  background-color: var(--ink); color: var(--chalk);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  padding-block: clamp(72px, 10vw, 160px) 40px;
}
.close-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.close .ask { grid-column: 1 / span 9; }
.close .ask p { font-size: var(--lead); max-width: 26em; margin: 0 0 clamp(24px, 3vw, 40px); color: var(--chalk); }
.email {
  display: inline-block; font-weight: 500; font-size: clamp(1.6rem, 0.2rem + 5.2vw, 5.25rem);
  letter-spacing: -0.04em; line-height: 1; text-decoration: none; color: var(--chalk);
  background: linear-gradient(var(--marker), var(--marker)) left 100% / 100% 3px no-repeat;
  padding-bottom: 0.12em; transition: color .3s, background-size .45s var(--ease);
}
.email:hover { color: var(--ink); background-size: 100% 100%; }
.copy-row { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.copy {
  font-family: var(--mono); font-size: var(--small); color: var(--chalk); background: none;
  border: 1px solid var(--ink-soft); border-radius: 999px; padding: 10px 18px; cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s; min-height: 44px;
}
.copy:hover { border-color: var(--marker); }
.copy.done { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.reply { color: var(--ink-soft); }

.turnable { grid-column: 10 / span 3; justify-self: end; display: grid; justify-items: end; gap: 14px; }
.big-mark { width: clamp(120px, 15vw, 220px); height: auto; display: block; cursor: pointer; background: none; border: 0; padding: 0; color: var(--marker); }
.big-mark svg { display: block; width: 100%; height: auto; }
.big-mark svg { transform-origin: 50% 50%; transition: transform 1.1s var(--ease); }
.big-mark:hover svg, .big-mark.flipped svg { transform: rotate(180deg); }
.big-mark.flipped:hover svg { transform: rotate(0deg); }
.turnable .mono { color: var(--ink-soft); }

.foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(72px, 9vw, 140px); padding-top: 28px; border-top: 1px solid #2A3830; align-items: start;
}
.foot .word { grid-column: 1 / span 3; height: 18px; width: auto; color: var(--chalk); }
.foot .line1 { grid-column: 4 / span 4; margin: 0; color: var(--ink-soft); }
.foot ul { grid-column: 9 / span 4; list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.foot ul a { text-decoration: none; color: var(--chalk); }
.foot ul a:hover { color: var(--marker); }
.legal { grid-column: 1 / -1; margin: 28px 0 0; color: #7F8A83; }

/* preview-only toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  background: var(--ink); color: var(--chalk); padding: 12px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: var(--small); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease); z-index: 50; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero-foot .intro-wrap { grid-column: 1 / -1; }
  .hero-foot .tag { grid-column: 1 / -1; order: 2; }
  .section-head h2, .section-head p { grid-column: 1 / -1; }
  .row { grid-template-columns: 46px minmax(0, 1fr); gap: 8px 18px; align-items: start; }
  .row .num { grid-row: 1 / span 2; }
  .row .name { grid-column: 2; }
  .arrow { display: none; }
  .split > h2, .split > .body { grid-column: 1 / -1; }
  .fig, .who, .what { grid-column: 1 / -1; }
  .work-list li { gap: 12px; }
  .who { margin-top: 12px; }
  .close .ask, .turnable { grid-column: 1 / -1; }
  .turnable { justify-self: start; justify-items: start; margin-top: 48px; }
  .foot .word, .foot .line1, .foot ul { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .brand .word { display: none; }
  nav .hide-sm { display: none; }
  .num { width: 40px; height: 40px; }
  .row { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- cross-page motion: the situation number carries across ---------- */
@view-transition { navigation: auto; }
.bar { view-transition-name: bar; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, .9, .25, 1); }

/* ---------- situation pages ---------- */
.h-small { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
.s-hero { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 112px); }
.crumbs { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--grey); margin-bottom: clamp(40px, 7vw, 96px); }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-height: 44px; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.big-num {
  display: grid; place-items: center; width: clamp(64px, 6vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: var(--marker); font-size: clamp(0.95rem, 0.8rem + 0.4vw, 1.2rem); margin-bottom: clamp(24px, 3vw, 40px);
  font-variant-numeric: tabular-nums;
}
.s-hero h1 {
  font-weight: 500; font-size: clamp(2.6rem, 0.9rem + 6.6vw, 7rem); line-height: 0.95; letter-spacing: -0.04em;
  margin: 0; max-width: 13ch; text-wrap: balance;
}
.s-hero h1 .line > span { animation-delay: .1s; }
.s-quote { margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; }
.s-quote p { margin: 0; font-size: var(--quote); line-height: 1.12; letter-spacing: -0.02em; color: var(--grey); text-wrap: balance; max-width: 22ch; }
.s-lead { margin-top: clamp(36px, 5vw, 72px); margin-left: auto; width: min(100%, 36rem); }
.s-lead p { margin: 0; font-size: var(--lead); line-height: 1.45; }

.sit-page .section { padding-block: clamp(48px, 6vw, 96px); }
.s-going, .s-steps, .s-outcome { background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.s-going, .s-steps, .s-outcome { max-width: var(--max); }
.split > .steps { grid-column: 6 / span 7; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.steps p { margin: 0; font-size: var(--lead); line-height: 1.4; }
.step-n { color: var(--grey); }

.mono-label { font-family: var(--mono); font-size: var(--small); font-weight: 400; letter-spacing: 0.01em; color: var(--grey); margin-bottom: 24px; }
.outcome { margin: 0; font-weight: 500; font-size: clamp(2rem, 0.9rem + 4.4vw, 5.25rem); line-height: 1.12; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.pill.reveal::before { animation: none; transform: scaleX(1); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.js .pill.reveal:not(.in)::before { transform: scaleX(0); }

.s-example .fig-empty { display: none; }
.s-example .work-list li { align-items: baseline; }
.s-related .situations { margin-bottom: clamp(40px, 5vw, 64px); }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pg { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.pg .mono { color: var(--grey); margin-right: 4px; }
.pg:hover > span { text-decoration: underline; text-underline-offset: 5px; }
.pg.next { margin-left: auto; text-align: right; }

@media (max-width: 900px) {
  .split > .steps { grid-column: 1 / -1; }
  .s-lead { margin-left: 0; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); }
}

/* ---------- about & privacy ---------- */
.page-h1 { font-weight: 500; font-size: clamp(2.6rem, 0.9rem + 6.6vw, 7rem); line-height: 1; letter-spacing: -0.04em; margin: 0; max-width: 14ch; }
.page-h1 .line:nth-child(2) > span { animation-delay: .2s; }
.page-about .s-hero, .page-privacy .s-hero { padding-top: clamp(48px, 8vw, 120px); }
.split .body p + p { margin-top: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 28px clamp(32px, 5vw, 64px); margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--rule); }
.facts div { display: grid; }
.facts b { font-weight: 500; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.facts span { color: var(--grey); margin-top: 8px; }
.split > .principles { grid-column: 6 / span 7; }
.principles { list-style: none; margin: 0; padding: 0; }
.principles li { padding-block: 18px; border-bottom: 1px solid var(--rule); }
.principles li:first-child { padding-top: 0; }
.principles li:last-child { border-bottom: 0; }
.principles p { margin: 0; font-size: var(--lead); }
.principles strong { font-weight: 500; }
.updated { color: var(--grey); margin: 20px 0 0; }
.pv-list { padding-block: 0 clamp(64px, 8vw, 120px); }
.pv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 24px; padding-block: 28px; border-top: 1px solid var(--rule); }
.pv h2 { grid-column: 1 / span 4; }
.pv p { grid-column: 6 / span 7; margin: 0; max-width: 36em; }
.pv a { text-underline-offset: 3px; }
@media (max-width: 900px) {
  .split > .principles, .pv h2, .pv p { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .pill.reveal:not(.in)::before { transform: scaleX(1); }
}

/* ===================== wow pass (8 Oct) ===================== */
body { overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* page changes: the new page opens as a circle from where you clicked */
::view-transition-old(root) { animation: pd-dim .5s ease both; }
::view-transition-new(root) { animation: pd-open .6s cubic-bezier(.22, .9, .25, 1) both; }
@keyframes pd-open {
  from { clip-path: circle(14vmax at var(--vt-x, 50%) var(--vt-y, 50%)); opacity: .35; }
  to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 50%)); opacity: 1; }
}
@keyframes pd-dim { to { opacity: .9; } }

/* header mark: one half turn when you pass the middle of the page */
.mark-spin { display: inline-flex; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.mark-spin.turned { transform: rotate(180deg); }

/* hero mark: big, ink, turns on load and on click */
.hero { position: relative; }
.hero-mark {
  position: absolute; right: var(--gutter); top: clamp(56px, 9vw, 150px);
  width: clamp(200px, 23vw, 380px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink);
}
.hero-mark svg { display: block; width: 100%; height: 100%; transform-origin: 50% 50%; animation: halfturn 1.4s .95s cubic-bezier(.22, .9, .25, 1) both; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.hero-mark.flipped svg { transform: rotate(180deg); }
.hero-mark:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: 12px; }
@media (max-width: 900px) { .hero-mark { display: none; } }

/* the film band */
.film { background: var(--ink); padding-block: clamp(40px, 6vw, 96px); }
.film-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--ink); }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sound, .play {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: var(--small); color: var(--chalk); background: rgba(15, 26, 20, .55);
  border: 1px solid rgba(247, 248, 245, .35); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .25s, color .25s, border-color .25s;
}
.sound:hover, .play:hover { border-color: var(--marker); }
.sound[aria-pressed="true"] { background: var(--marker); color: var(--ink); border-color: var(--marker); }
.play { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%); transition: opacity .3s ease, visibility 0s linear 0s, background-color .25s, border-color .25s; }
.play.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] .eq i { animation: eq .9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.sound:focus-visible, .play:focus-visible { outline: 2px solid var(--marker); outline-offset: 3px; }
@media (max-width: 700px) { .film-frame { aspect-ratio: 1; } .sound { right: 10px; bottom: 10px; padding: 8px 12px; min-height: 40px; } }

/* situations turn round: problem to fix, as a contained panel */
.row { position: relative; isolation: isolate; }
.flip {
  position: absolute; inset: 8px -18px; padding-inline: 18px; z-index: 1; border-radius: 16px;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px 40px; gap: 24px; align-items: center;
  background: var(--ink); color: var(--chalk);
  clip-path: circle(0 at 41px 50%);
  transition: clip-path .5s cubic-bezier(.4, 0, .2, 1) 0s;
  pointer-events: none;
}
.flip > * { opacity: 0; transform: translateY(6px); transition: opacity .25s ease 0s, transform .25s ease 0s; }
.flip .num { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.flip-text { font-size: calc(var(--quote) * .74); line-height: 1.25; text-wrap: balance; letter-spacing: -0.015em; }
.fpill { background: var(--marker); color: var(--ink); border-radius: 999px; padding: .04em .22em .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.flip-cta { color: #A9B2AC; }
.flip .arrow { color: var(--marker); }
.row:hover .flip, .row:focus-visible .flip, .row.is-active .flip {
  clip-path: circle(150% at 41px 50%);
  transition: clip-path .7s cubic-bezier(.22, .9, .25, 1) .12s;
}
.row:hover .flip > *, .row:focus-visible .flip > *, .row.is-active .flip > * {
  opacity: 1; transform: none; transition: opacity .35s ease .3s, transform .45s cubic-bezier(.22, .9, .25, 1) .3s;
}
@media (max-width: 900px) {
  .flip { inset: 6px -12px; padding-inline: 12px; grid-template-columns: 46px minmax(0, 1fr); gap: 8px 18px; align-content: center; clip-path: circle(0 at 35px 50%); }
  .row.is-active .flip { clip-path: circle(150% at 35px 50%); }
  .flip-cta, .flip .arrow { display: none; }
}
@media (max-width: 560px) { .flip { grid-template-columns: 40px minmax(0, 1fr); clip-path: circle(0 at 32px 50%); } .row.is-active .flip { clip-path: circle(150% at 32px 50%); } .flip .num { width: 40px; height: 40px; } }

/* situation pages: "What changes" becomes a contained ink panel as it arrives */
.s-outcome { position: relative; isolation: isolate; padding-inline: calc(var(--gutter) + clamp(24px, 4vw, 64px)); }
.s-outcome::before {
  content: ""; position: absolute; z-index: -1; inset: clamp(16px, 2.5vw, 32px) var(--gutter); border-radius: 20px;
  background: var(--ink); clip-path: circle(0 at 12% 50%); transition: clip-path 1.2s cubic-bezier(.22, .9, .25, 1);
}
.s-outcome .outcome, .s-outcome .mono-label { transition: color .6s ease .3s; }
.s-outcome .outcome { line-height: 1.16; }
.s-outcome .pill { color: var(--ink); margin-left: .1em; }
.js .s-outcome.in::before { clip-path: circle(140% at 12% 50%); }
.js .s-outcome.in .outcome { color: var(--chalk); }
.js .s-outcome.in .outcome .pill { color: var(--ink); }
.js .s-outcome.in .mono-label { color: #A9B2AC; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-new(root) { animation: none; }
  .flip, .flip > * { transition: none !important; }
  .hero-mark svg { animation: none; }
}

/* fonts served from our own site (prod) */
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/jost-400.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/jost-500.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/dm-mono-400.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/dm-mono-500.woff2) format("woff2"); }
