/* Wellnest / Toronto case study
   Editorial, architectural, restrained. Flat colour, thin rules, big type, real photography. */

:root {
  --white: #FAF9F7;   /* warm white */
  --off: #F0EEEA;     /* soft off-white */
  --doc: #DDDAD5;     /* documentary grey */
  --char: #2B2A28;    /* charcoal */
  --black: #0D0D0C;
  --wood: #8A6A4C;    /* natural walnut, on light */
  --wood-l: #C4A07B;  /* natural oak, on dark */
  --gray: #6F6B65;    /* warm grey text on light */
  --gray-l: #A8A39C;  /* warm grey text on dark */
  --sage: #8FAE9B;    /* brand mark only */

  --font: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --sec: clamp(88px, 12vw, 190px);

  --t-body: clamp(.9375rem, .9rem + .15vw, 1.0625rem);
  --t-lead: clamp(1.125rem, .95rem + .6vw, 1.5rem);
  --t-h2: clamp(2rem, .7rem + 4.4vw, 5rem);
  --t-h1: clamp(2.25rem, .8rem + 5.4vw, 6rem);
  --t-mega: clamp(2.4rem, .7rem + 7.4vw, 8.5rem);
  --t-state: clamp(1.75rem, .7rem + 3.4vw, 4rem);
  --t-micro: .6875rem;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Tone scopes: components read these, so a section only has to declare light or dark. */
.t-light, .t-doc { --fg: var(--char); --mut: var(--gray); --rule: rgba(43, 42, 40, .22); --acc: var(--wood); }
.t-dark { --fg: #F3F1EE; --mut: var(--gray-l); --rule: rgba(255, 255, 255, .24); --acc: var(--wood-l); }
.t-doc { --fg: #141413; --mut: #3D3B38; --rule: rgba(20, 20, 19, .5); --acc: #141413; }
.t-light, .t-dark, .t-doc { color: var(--fg); }
.t-white { background: var(--white); }
.t-off { background: var(--off); }
.t-doc { background: var(--doc); }
.t-char { background: var(--char); }
.t-black { background: var(--black); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--char);
  font: 400 var(--t-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; background: #fff; color: #000; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .doc__copy { grid-column: 1 / 7; }
  .doc__fig { grid-column: 8 / -1; justify-self: end; }
  .brief__title { grid-column: 1 / -1; }
  .brief__body { grid-column: 8 / -1; }
  .custom__copy { grid-column: 1 / 5; }
  .custom__view { grid-column: 5 / -1; }
  .diff__fig { grid-column: 1 / 7; }
  .diff__copy { grid-column: 8 / -1; }
  .why__l { grid-column: 1 / 5; }
  .why__r { grid-column: 6 / -1; }
  .result__lead { grid-column: 1 / 6; }
  .result__list { grid-column: 7 / -1; }
}

/* ---------- Type ---------- */

.micro {
  margin-bottom: clamp(28px, 4vw, 56px);
  font: 500 var(--t-micro)/1.3 var(--mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--mut);
}
.micro__n { margin-right: .9em; color: var(--acc); }

.h1, .h2, .mega {
  margin: 0; font-weight: 400; text-transform: uppercase; text-wrap: balance;
}
.h1 { font-size: var(--t-h1); line-height: .98; letter-spacing: -.025em; }
.h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: -.025em; }
.mega { font-size: var(--t-mega); line-height: .94; letter-spacing: -.03em; }

.body { max-width: 52ch; font-size: var(--t-body); line-height: 1.62; text-wrap: pretty; }
.body + .body { margin-top: 1.1em; }
.body--lead { font-size: var(--t-lead); line-height: 1.3; letter-spacing: -.01em; }

.cap {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 12px;
  font: 500 var(--t-micro)/1.4 var(--mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--mut);
}

.fig { overflow: hidden; }
.fig img { width: 100%; transition: transform 1.4s var(--ease); }

.logo {
  display: inline-block; font-weight: 500; font-size: 1.3rem; line-height: 1; letter-spacing: -.045em;
  text-decoration: none; color: inherit;
}
.logo i { font-style: normal; color: var(--sage); }
.logo--lg { font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }

.btn {
  display: inline-flex; align-items: center; gap: 1.4rem;
  padding: 1rem 1.2rem 1rem 1.3rem;
  background: #F3F1EE; color: #141413; border: 1px solid transparent;
  font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--wood-l); }
.btn .arrow { flex: none; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Bar, menu, chapter marker ---------- */

.bar {
  position: fixed; top: 0; left: 50%; z-index: 60; transform: translateX(-50%);
  width: min(640px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) 6px 6px 20px;
  color: #fff; background: rgba(18, 18, 18, .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 0 0 10px 10px;
}
.clock {
  font: 400 .75rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: rgba(255, 255, 255, .86);
}
.clock time { font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .clock__label { display: none; } }
.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: 6px; cursor: pointer;
}
.menu-btn svg { fill: currentColor; }
.menu-btn:hover { background: rgba(255, 255, 255, .12); }

.menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto;
  background: #000; color: #fff;
  visibility: hidden; opacity: 0;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.menu__inner { display: grid; gap: 40px; align-content: start; min-height: 100%; padding-block: 120px 48px; }
.menu__main { display: grid; gap: .1em; }
.menu__main a {
  font-size: clamp(2.6rem, 1rem + 6.4vw, 6.5rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; text-decoration: none;
}
.menu__main a:hover { color: var(--wood-l); }
.menu__h { margin-bottom: 18px; font: 400 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.menu__text { font-size: 1.25rem; line-height: 1.55; color: rgba(255, 255, 255, .66); }
@media (min-width: 900px) {
  .menu__inner { grid-template-columns: 1.6fr 1fr; align-content: center; column-gap: 40px; }
}

/* Runs up the page margin so it never sits on top of content */
.chapter {
  position: fixed; left: clamp(10px, calc(var(--gutter) / 2 - 6px), 24px); bottom: 24px; z-index: 45;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 var(--t-micro)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; transition: color .4s ease; pointer-events: none;
}
body[data-tone="light"] .chapter { color: #141413; }
.chapter__n { margin-inline-end: 1em; opacity: .7; }
@media (max-width: 720px) { .chapter { display: none; } }

/* ---------- 01 Hero ---------- */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 34rem; background: #111; overflow: clip; color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 9, .28); pointer-events: none; }
.hero__text { position: absolute; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px); z-index: 2; }
.hero__title {
  font-size: clamp(2rem, .6rem + 5.3vw, 5.9rem); font-weight: 400;
  line-height: .98; letter-spacing: -.022em; text-transform: uppercase; text-wrap: balance;
}
.hero__title span { display: block; }
.hero__meta {
  display: grid; gap: 10px;
  margin-top: clamp(20px, 3vw, 36px); padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .5);
}
.hero__sub { font: 500 .8125rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hero__line { max-width: 42ch; font-size: var(--t-body); line-height: 1.5; color: rgba(255, 255, 255, .92); }
@media (min-width: 800px) {
  .hero__meta { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- 02 Before (documentary) ---------- */

.doc { padding-block: var(--sec); border-block: 1px solid #141413; }
.doc .grid { align-items: start; row-gap: 48px; }
.doc__copy .h1 { margin-bottom: clamp(24px, 3vw, 40px); }
.doc__copy .micro { margin-bottom: clamp(28px, 4vw, 56px); }
.doc__facts { margin-top: clamp(32px, 5vw, 64px); max-width: 34rem; border-top: 1px solid var(--rule); }
.doc__facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.doc__facts dt, .doc__facts dd { font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.doc__facts dt { color: var(--mut); }
.doc__fig { width: min(100%, calc(82vh * 9 / 16)); width: min(100%, calc(82svh * 9 / 16)); }
.doc__frame {
  position: relative; width: 100%; aspect-ratio: 9 / 16; border: 1px solid #141413;
  background: #000 url("../assets/case/before-poster.jpg") center / cover no-repeat; /* first frame shows until the footage paints */
}
.doc__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.cap__btn {
  padding: 0; background: none; border: 0; border-bottom: 1px solid currentColor;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--fg); cursor: pointer;
}

/* ---------- 03 The brief ---------- */

.brief { padding-top: var(--sec); }
.brief__head { row-gap: clamp(32px, 4vw, 56px); }
.bleed { margin: clamp(56px, 8vw, 120px) 0 0; overflow: hidden; }
.bleed img { width: 100%; height: auto; max-height: 100vh; max-height: 100svh; object-fit: cover; }
.stmt { padding-block: clamp(64px, 9vw, 140px) var(--sec); }
.stmt__a, .stmt__b {
  max-width: 22em; font-size: var(--t-state); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance;
}
.stmt__a { color: var(--mut); }
.stmt__b { margin-top: .25em; }

/* ---------- 04 The strategy ---------- */

.strategy { padding-block: var(--sec); }
.mods { display: grid; gap: clamp(48px, 6vw, 72px); margin-top: clamp(56px, 8vw, 112px); }
.mod .fig { background: #D9D6D0; }
.mod .fig img { aspect-ratio: 4 / 5; object-fit: cover; }
.mod .micro { margin: 20px 0 0; }
.mod__t {
  margin: .3em 0 .6em;
  font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
@media (min-width: 900px) {
  .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); align-items: start; }
  .mod:nth-child(2) { margin-top: clamp(64px, 8vw, 128px); }
  .mod:nth-child(3) { margin-top: clamp(128px, 16vw, 256px); }
}

/* ---------- 05 More guests ---------- */

.guests { padding-top: var(--sec); }
.guests__copy { display: grid; gap: 1.1em; max-width: 30rem; margin-top: clamp(40px, 6vw, 88px); }
.guests__copy .body { margin: 0; }
@media (min-width: 900px) { .guests__copy { margin-left: auto; } }

.split { display: grid; margin-top: clamp(72px, 10vw, 150px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__panel {
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 5vw, 64px);
  padding: clamp(32px, 5vw, 72px);
}
.split__panel .micro { margin-bottom: 0; }
.split__list { margin-top: 24px; }
.split__list li {
  padding-block: .28em; border-top: 1px solid var(--rule);
  font-size: clamp(1.5rem, .9rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em;
}
.split__list li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- 06 Custom built ---------- */

.custom { padding-top: var(--sec); }
.custom > .wrap { padding-bottom: var(--sec); }
.custom__grid { margin-top: clamp(48px, 7vw, 96px); row-gap: 48px; align-items: start; }
.custom__copy .body { margin-top: 0; }
.custom__copy .body + .body { margin-top: 1.1em; }
.spec { margin-top: 1.4em; border-top: 1px solid var(--rule); }
.spec li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-body); line-height: 1.4; }

.annot { position: relative; }
.annot img { width: 100%; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: #fff; color: #141413;
  font: 500 .6875rem/26px var(--mono); text-align: center;
}
.legend { display: grid; gap: 0; margin-top: 16px; }
.legend li {
  display: flex; gap: 1em; padding: 12px 0; border-top: 1px solid var(--rule);
  font: 500 .75rem/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.legend span { color: var(--acc); }
@media (min-width: 700px) { .legend { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; } }

.details { display: grid; gap: 32px; margin-top: clamp(56px, 8vw, 112px); }
.details .cap { justify-content: flex-start; }
@media (min-width: 800px) {
  .details { grid-template-columns: 1.25fr .75fr; column-gap: clamp(24px, 3vw, 48px); align-items: end; }
}

.oversize { padding-block: clamp(72px, 10vw, 160px); }
.oversize__a, .oversize__b {
  max-width: 14em; font-size: clamp(2rem, .7rem + 5.8vw, 7rem);
  line-height: .98; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance;
}
.oversize__a { color: var(--mut); }
.oversize__b { margin-top: .2em; }

/* ---------- 07 The differentiator ---------- */

.diff { padding-block: var(--sec); }
.diff__grid { align-items: center; row-gap: 48px; }
.diff__fig img { aspect-ratio: 4 / 5; object-fit: cover; }
.diff__copy .h2 { font-size: clamp(1.9rem, .6rem + 3.2vw, 3.75rem); }
.diff__lines { display: grid; gap: .9em; max-width: 32rem; margin-top: clamp(28px, 4vw, 44px); }
.diff__lines .body { margin: 0; }
.tiers { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--rule); }
.tiers li {
  display: flex; gap: 1.2em; padding: 14px 0; border-bottom: 1px solid var(--rule);
  font: 500 .75rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut);
}
.tiers span { color: var(--acc); }
.tiers .is-here { color: var(--fg); border-bottom: 2px solid var(--acc); }

/* ---------- 08 Why design matters ---------- */

.why { padding-block: var(--sec); }
.why__grid { row-gap: 56px; align-items: start; }
.why__p { max-width: 22em; font-size: var(--t-lead); line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
.why__p + .why__p { margin-top: 1.4em; padding-top: 1.4em; border-top: 1px solid var(--rule); }
.why__lead {
  max-width: 26em; margin-bottom: clamp(28px, 4vw, 48px);
  font-size: var(--t-lead); font-weight: 500; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase;
}
.why__lead::before { content: ""; display: block; width: 40px; height: 2px; margin-bottom: 18px; background: var(--acc); }
.why__list li {
  padding-block: .32em; border-top: 1px solid var(--rule);
  font-size: clamp(1.75rem, .8rem + 3.2vw, 4rem); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
  transition: color .4s ease;
}
.why__list li:last-child { border-bottom: 1px solid var(--rule); }
.why__list:hover li { color: var(--mut); }
.why__list li:hover { color: var(--fg); }

/* ---------- 09 The Wellnest approach ---------- */

.approach { padding-block: var(--sec); }
.approach__cols { display: grid; gap: 56px; margin-top: clamp(56px, 8vw, 112px); }
@media (min-width: 800px) { .approach__cols { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); } }
.persp .micro { margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--fg); }
.persp__list li {
  padding: 20px 0; border-bottom: 1px solid var(--rule);
  font-size: var(--t-lead); line-height: 1.25; letter-spacing: -.01em;
}
.approach__end {
  max-width: 20em; margin-top: clamp(72px, 10vw, 150px);
  font-size: var(--t-state); line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase;
}

/* ---------- 10 The design decisions ---------- */

.dec { padding-block: var(--sec); }
.sched { width: 100%; margin-top: clamp(48px, 7vw, 96px); border-collapse: collapse; }
.sched thead th {
  padding: 0 0 14px; text-align: left; border-bottom: 1px solid var(--fg);
  font: 500 var(--t-micro)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut);
}
.sched th, .sched td { padding: clamp(18px, 2.2vw, 30px) 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--rule); }
.sched tbody td:first-child { width: 8%; font: 500 .75rem/1.4 var(--mono); color: var(--acc); }
.sched tbody th {
  width: 38%; padding-right: 24px;
  font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); font-weight: 500; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase;
}
.sched tbody td:last-child { max-width: 44ch; font-size: var(--t-body); line-height: 1.5; }
.sched thead th:first-child { width: 8%; }
.sched thead th:nth-child(2) { width: 38%; }
.sched tbody tr { transition: background-color .3s ease; }
.sched tbody tr:hover { background: rgba(43, 42, 40, .05); }

@media (max-width: 720px) {
  .sched, .sched tbody, .sched tr, .sched th, .sched td { display: block; width: auto; }
  .sched thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sched tbody tr { padding: 20px 0; border-bottom: 1px solid var(--rule); }
  .sched tbody th, .sched tbody td, .sched tbody td:first-child { width: auto; padding: 0; border: 0; }
  .sched tbody td:first-child { margin-bottom: 6px; }
  .sched tbody th { margin-bottom: 6px; }
}

/* ---------- 11 The result ---------- */

.result__bleed { position: relative; height: 100vh; height: 100svh; min-height: 30rem; overflow: hidden; }
.result__bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.result__bleed::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 9, .3); pointer-events: none; }
.result__text { position: absolute; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px); z-index: 2; color: #fff; }
.result__text .micro { color: rgba(255, 255, 255, .8); }
.result__text .micro__n { color: var(--wood-l); }
.result__title {
  font-size: var(--t-h1); font-weight: 400; line-height: .98; letter-spacing: -.025em; text-transform: uppercase; text-wrap: balance;
}
.result__title span { display: block; }
.result__copy { padding-top: var(--sec); row-gap: 48px; align-items: start; }
.result__list li {
  padding: 16px 0; border-top: 1px solid var(--rule);
  font-size: var(--t-lead); line-height: 1.3; letter-spacing: -.01em;
}
.result__list li:last-child { border-bottom: 1px solid var(--rule); }
.closing { padding-block: clamp(96px, 13vw, 200px) var(--sec); }
.closing__a, .closing__b {
  max-width: 17em; font-size: clamp(2rem, .7rem + 5vw, 5.75rem);
  line-height: 1; letter-spacing: -.028em; text-transform: uppercase; text-wrap: balance;
}
.closing__a { color: var(--mut); }
.closing__b { margin-top: 1em; }

/* ---------- Footer ---------- */

.foot { padding-block: clamp(48px, 7vw, 88px) 28px; border-top: 1px solid var(--rule); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--wood-l); }
.foot__base {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule);
  font: 500 var(--t-micro)/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut);
}

/* Portrait screens: show the whole photograph instead of cropping it to a sliver.
   The first and last photos sit on top, and their headlines move underneath. */
@media (max-aspect-ratio: 1/1), (max-width: 720px) {
  .hero { height: auto; min-height: 0; padding-top: calc(60px + env(safe-area-inset-top, 0px)); background: var(--black); }
  .hero::after { display: none; }
  .hero__img { position: static; height: auto; aspect-ratio: 1540 / 1021; object-fit: contain; }
  .hero__text { position: static; padding-block: clamp(28px, 8vw, 48px) clamp(40px, 10vw, 64px); }

  .result__bleed { height: auto; min-height: 0; overflow: visible; }
  .result__bleed::after { display: none; }
  .result__bleed img { height: auto; aspect-ratio: 1540 / 1021; object-fit: contain; }
  .result__text { position: static; padding-block: clamp(28px, 8vw, 48px) 0; }
}

/* ---------- Motion (only when it is welcome) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: settle 2.6s var(--ease) both; }
  .hero__title span { animation: rise 1.1s var(--ease) both; }
  .hero__title span:nth-child(2) { animation-delay: .14s; }
  .hero__meta { animation: rise 1.1s var(--ease) .4s both; }

  .js .rv img { transform: scale(1.06); }
  .js .rv.is-in img { transform: none; }
  .fig:hover img { transform: scale(1.03); }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
