:root {
  --rf-ink: #080908;
  --rf-paper: #f0eee7;
  --rf-fuchsia: #7a43c8;
  --rf-glass: #667dc0;
  --rf-cobalt: #496cd6;
  --rf-abyss: #07070b;
  --ajs-ivory: #e7e2d7;
  --ajs-ink: #080908;
  --ajs-gold: #aa8a4e;
  --ajs-red: #d91f2b;
  --ajs-amber: #e77d19;
  --pad: clamp(1rem, 3vw, 3rem);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --omen-serif: Cambria, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--rf-paper);
  background: var(--rf-abyss);
  font-family: var(--display);
  line-height: 1.2;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: var(--ajs-ink);
  background: var(--ajs-gold);
}

.skip-link {
  position: fixed;
  z-index: 3000;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  color: var(--ajs-ink);
  background: var(--ajs-ivory);
}

.skip-link:focus-visible {
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Fixed instruments ---------------------------------------------------- */

.case-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 5rem;
  padding: 0 var(--pad);
  color: var(--rf-paper);
  transition: color 260ms ease;
}

.case-header.is-on-light {
  color: var(--rf-ink);
}

.case-header.is-on-light .case-brand {
  filter: none;
  mix-blend-mode: multiply;
}

.case-brand {
  width: clamp(8.4rem, 10vw, 10rem);
  filter: invert(1);
  mix-blend-mode: difference;
}

.case-brand-crop {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3902 / 1292;
}

.case-brand-crop img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.case-header > p,
.case-header nav {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
}

.case-header > p {
  justify-self: center;
}

.case-header nav {
  display: flex;
  justify-self: end;
  gap: clamp(1.2rem, 2.5vw, 2.6rem);
}

.case-header nav a {
  position: relative;
  padding: 0.7rem 0;
}

.case-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.case-header nav a:hover::after,
.case-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.case-progress {
  position: fixed;
  z-index: 1400;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.case-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ajs-red);
  transform: scaleX(0);
  transform-origin: left;
}

.case-depth {
  position: fixed;
  z-index: 900;
  top: 50%;
  left: 0.65rem;
  margin: 0;
  color: var(--rf-paper);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0.84;
  mix-blend-mode: difference;
  transform: translateY(-50%) rotate(180deg);
}

.case-cursor {
  --cursor-ring-opacity: 0.38;
  position: fixed;
  z-index: 2500;
  top: 0;
  left: 0;
  display: grid;
  width: 0.85rem;
  height: 0.85rem;
  place-items: center;
  pointer-events: none;
  color: var(--rf-paper);
  background: currentColor;
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: difference;
  transition: width 180ms ease, height 180ms ease, opacity 160ms ease;
}

.case-cursor::before {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: var(--cursor-ring-opacity);
  transition: transform 180ms ease, opacity 180ms ease;
}

.case-cursor.is-visible {
  opacity: 1;
}

.case-cursor.is-active {
  width: 4.7rem;
  height: 4.7rem;
  background: transparent;
  border: 1px solid currentColor;
}

.case-cursor.is-active::before {
  opacity: 0;
}

.case-cursor span {
  font-family: var(--mono);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.case-viewport-debug {
  position: fixed;
  z-index: 4000;
  top: max(4.7rem, calc(env(safe-area-inset-top) + 4rem));
  right: max(0.6rem, env(safe-area-inset-right));
  left: max(0.6rem, env(safe-area-inset-left));
  display: block;
  width: auto;
  max-width: 34rem;
  margin: 0 auto;
  padding: 0.8rem;
  pointer-events: none;
  color: #f5f1e7;
  background: rgba(3, 4, 7, 0.9);
  border: 1px solid rgba(245, 241, 231, 0.34);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0;
  line-height: 1.45;
  white-space: pre-wrap;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

/* Cover ---------------------------------------------------------------- */

.case-cover {
  position: relative;
  min-height: 110svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--rf-paper);
  background: #12334c;
}

.case-cover-media,
.case-cover-shade {
  position: absolute;
  inset: 0;
}

.case-cover-media {
  z-index: -3;
}

.case-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.08) brightness(0.78);
  transform: scale(1.04) translate3d(0, calc(var(--section-progress, 0) * 4vh), 0);
}

.case-cover-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.78) 0, rgba(7, 8, 12, 0.28) 54%, rgba(7, 8, 12, 0.12)),
    linear-gradient(180deg, rgba(18, 51, 76, 0.12), rgba(7, 8, 12, 0.72));
}

.case-cover::after {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -13vw;
  width: 76vw;
  height: 37vw;
  content: "";
  background: linear-gradient(180deg, rgba(59, 148, 166, 0.36), rgba(49, 90, 145, 0.88));
  border-radius: 50% 50% 0 0 / 28% 32% 0 0;
  opacity: 0.72;
  transform: rotate(-4deg);
}

.case-cover-mark {
  position: absolute;
  z-index: 1;
  top: 8vh;
  right: -2vw;
  width: clamp(28rem, 48vw, 48rem);
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  opacity: 0.92;
}

.case-cover-copy {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: clamp(6rem, 12vh, 9rem);
  left: var(--pad);
}

.case-kicker,
.case-cover-bottom,
.case-chapter-heading > p {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
}

.case-kicker {
  margin: 0 0 clamp(2rem, 4vh, 3rem);
  color: var(--ajs-gold);
}

.case-cover h1 {
  max-width: 95vw;
  margin: 0;
  font-size: clamp(5rem, 13vw, 14rem);
  font-weight: 860;
  font-stretch: 76%;
  letter-spacing: -0.105em;
  line-height: 0.62;
  text-transform: uppercase;
}

.case-cover h1 span,
.case-cover h1 em {
  display: block;
  font-style: normal;
}

.case-cover h1 span:nth-child(2) {
  margin-left: 10vw;
}

.case-cover h1 em {
  margin-left: 29vw;
  color: var(--ajs-gold);
}

.case-cover h1 span:last-child {
  margin-left: 43vw;
}

.case-cover-bottom {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 1.4rem;
  left: var(--pad);
  display: flex;
  justify-content: space-between;
}

.case-cover-bottom p {
  margin: 0;
}

/* Shared chapters ------------------------------------------------------ */

.case-chapter {
  position: relative;
  overflow: hidden;
}

.case-cover,
.case-chapter {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.case-chapter-inner {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: clamp(7rem, 12vh, 10rem) var(--pad) 2.5rem;
}

.case-brief,
.case-identity,
.case-outcome {
  min-height: 140svh;
}

.case-brief .case-chapter-inner,
.case-identity .case-chapter-inner,
.case-outcome .case-chapter-inner {
  position: sticky;
  top: 0;
}

.case-chapter-heading {
  position: relative;
  z-index: 3;
}

.case-chapter-heading > p {
  margin: 0 0 clamp(2rem, 5vh, 4rem);
}

.case-chapter-heading > p span {
  color: var(--rf-fuchsia);
}

.case-chapter h2 {
  margin: 0;
  font-size: clamp(4rem, 9.5vw, 10rem);
  font-weight: 850;
  font-stretch: 78%;
  letter-spacing: -0.095em;
  line-height: 0.7;
  text-transform: uppercase;
}

.case-chapter h2 em {
  font-style: normal;
}

.case-reveal {
  opacity: 1;
  transform: none;
}

.js .case-reveal {
  opacity: 0;
  transform: translate3d(0, 2.5rem, 0);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

.js .case-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Brief ---------------------------------------------------------------- */

.case-brief {
  color: var(--ajs-ink);
  background: var(--ajs-ivory);
}

.case-brief .case-chapter-inner {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(24rem, 1.22fr);
  grid-template-rows: auto 1fr auto;
  gap: 2rem clamp(3rem, 8vw, 10rem);
}

.case-brief .case-chapter-heading {
  grid-column: 1;
  grid-row: 1;
}

.case-brief h2 em {
  color: var(--ajs-red);
}

.case-brief-copy {
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.case-brief-copy p {
  margin: 0;
}

.case-brief-copy p + p {
  margin-top: 1.4rem;
  opacity: 0.62;
}

.case-craft-image {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 4;
  min-height: 72vh;
  margin: -2rem -9vw -3rem 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 100%);
}

.case-craft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% center;
  filter: saturate(0.8) contrast(1.08);
}

.case-facts {
  z-index: 2;
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin: 0;
}

.case-facts div {
  min-width: 0;
}

.case-facts dt {
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
  opacity: 0.52;
}

.case-facts dd {
  margin: 0.45rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* Identity ------------------------------------------------------------- */

.case-identity {
  color: var(--ajs-ink);
  background: #d8d1c2;
}

.case-identity::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 31, 43, 0.15), transparent 28%),
    linear-gradient(115deg, transparent 0 72%, rgba(170, 138, 78, 0.13) 72% 100%);
}

.case-identity h2 em {
  color: var(--ajs-gold);
}

.identity-field {
  position: absolute;
  z-index: 1;
  right: -5vw;
  bottom: 12vh;
  width: 65vw;
  height: 58vh;
  overflow: hidden;
}

.identity-wordmark {
  position: absolute;
  z-index: 2;
  top: 20%;
  left: 4%;
  width: 85%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.identity-emblem {
  position: absolute;
  top: -17%;
  right: -10%;
  width: min(50vw, 40rem);
  opacity: 0.11;
}

.identity-stripes {
  position: absolute;
  right: 5%;
  bottom: 3%;
  left: 18%;
  display: flex;
  gap: 1.4%;
  height: 24%;
  transform: skewX(-25deg);
}

.identity-stripes i {
  flex: 1;
  background: var(--ajs-ivory);
}

.identity-stripes i:nth-child(2) {
  background: var(--ajs-gold);
}

.identity-stripes i:nth-child(3) {
  background: var(--ajs-red);
}

.identity-rationale {
  position: absolute;
  z-index: 3;
  bottom: 3rem;
  left: var(--pad);
  width: min(31rem, 34vw);
}

.identity-rationale > p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.identity-rationale ul {
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.identity-rationale li span {
  margin-right: 0.35rem;
  color: var(--ajs-red);
}

.identity-palette {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 2.5rem;
  display: flex;
  gap: 1.2rem;
  font-family: var(--mono);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.identity-palette span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.identity-palette span::before {
  width: 0.75rem;
  height: 0.75rem;
  content: "";
  background: var(--swatch);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(8, 9, 8, 0.12);
}

/* Website -------------------------------------------------------------- */

.case-website {
  min-height: 230svh;
  color: var(--ajs-ivory);
  background:
    radial-gradient(circle at 84% 12%, rgba(170, 138, 78, 0.2), transparent 26%),
    var(--ajs-ink);
}

.case-website .case-chapter-inner {
  min-height: 230svh;
  padding-bottom: 8rem;
}

.case-website .case-chapter-heading {
  max-width: 88vw;
}

.case-website h2 em {
  color: var(--ajs-gold);
}

.website-intro {
  display: grid;
  grid-template-columns: minmax(0, 30rem) auto;
  align-items: end;
  gap: 3rem;
  width: min(72rem, 80vw);
  margin: 4rem 0 0 auto;
}

.website-intro p {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.website-intro a {
  justify-self: end;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.website-proof {
  margin: 0;
  overflow: hidden;
}

.website-proof picture,
.website-proof img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.website-proof-responsive {
  position: relative;
  z-index: 1;
  width: calc(100vw - (var(--pad) * 2));
  aspect-ratio: 1.6;
  margin: clamp(6rem, 12vh, 10rem) auto 0;
  box-shadow: 0 3rem 7rem rgba(0, 0, 0, 0.38);
}

.website-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 6rem);
  width: min(69rem, 82vw);
  margin: 6rem 0 0 auto;
  padding: 0;
  list-style: none;
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.35;
}

.website-principles span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--ajs-red);
  font-family: var(--mono);
  font-size: 0.56rem;
}

/* Outcome -------------------------------------------------------------- */

.case-outcome {
  min-height: 150svh;
  color: var(--rf-paper);
  background:
    radial-gradient(ellipse at 72% 20%, rgba(59, 148, 166, 0.2), transparent 36%),
    linear-gradient(180deg, #101d2c, var(--rf-abyss));
}

.case-outcome::after {
  position: absolute;
  right: -10vw;
  bottom: -25vw;
  width: 80vw;
  height: 44vw;
  content: "";
  background: linear-gradient(180deg, rgba(49, 90, 145, 0.32), rgba(7, 8, 12, 0));
  border-radius: 50%;
  transform: rotate(-7deg);
}

.case-outcome h2 em {
  color: var(--rf-fuchsia);
}

.outcome-points {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 13rem;
  left: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 9rem);
}

.outcome-points article > span {
  color: var(--rf-fuchsia);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.outcome-points h3 {
  margin: 1rem 0 0;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.outcome-points p {
  max-width: 22rem;
  margin: 1.2rem 0 0;
  font-family: var(--mono);
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  line-height: 1.5;
  opacity: 0.64;
}

.case-next {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 2.5rem;
  left: var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.case-next > p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.case-next > a {
  font-size: clamp(2.1rem, 5vw, 5.5rem);
  font-weight: 790;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.case-next > a span {
  color: var(--rf-fuchsia);
}

.case-footer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 5rem;
  padding: 0 var(--pad);
  color: var(--rf-paper);
  background: #030407;
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.case-footer p {
  justify-self: center;
  margin: 0;
}

.case-footer a:last-child {
  justify-self: end;
}

@media (pointer: fine) {
  body,
  a {
    cursor: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .case-cursor {
    display: none !important;
  }

  body,
  a {
    cursor: auto;
  }
}

@media (max-width: 960px) {
  .case-brief .case-chapter-inner {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr);
    gap: 2rem 3rem;
  }

  .identity-palette {
    display: none;
  }

}

@media (max-width: 680px) {
  .case-header {
    grid-template-columns: 1fr auto;
    min-height: 4.2rem;
  }

  .case-header > p,
  .case-header nav a:first-child {
    display: none;
  }

  .case-header nav {
    grid-column: 2;
    grid-row: 1;
  }

  .case-brand {
    width: 7.8rem;
  }

  .case-depth {
    left: 0.4rem;
  }

  .case-cover {
    min-height: 100svh;
  }

  .case-cover-media img {
    object-position: 61% center;
  }

  .case-cover-mark {
    top: 4.7rem;
    right: -5rem;
    width: 36rem;
  }

  .case-cover-copy {
    bottom: 6.7rem;
  }

  .case-kicker {
    max-width: 12rem;
    margin-bottom: 2rem;
    line-height: 1.5;
  }

  .case-cover h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13.6vw, 4.4rem);
    line-height: 0.66;
  }

  .case-cover h1 span:nth-child(2),
  .case-cover h1 em,
  .case-cover h1 span:last-child {
    margin-left: 0;
  }

  .case-cover-bottom p:first-child {
    display: none;
  }

  .case-cover-bottom {
    justify-content: flex-end;
    font-size: 0.55rem;
  }

  .case-cover::after {
    right: -45vw;
    bottom: -8vh;
    width: 135vw;
    height: 45vh;
  }

  .case-brief,
  .case-identity,
  .case-outcome {
    min-height: auto;
  }

  .case-brief .case-chapter-inner,
  .case-identity .case-chapter-inner,
  .case-outcome .case-chapter-inner {
    position: relative;
    top: auto;
  }

  .case-chapter-inner {
    min-height: 100svh;
    padding: 6.2rem var(--pad) 2rem;
  }

  .case-chapter-heading > p {
    margin-bottom: 2rem;
  }

  .case-chapter h2 {
    font-size: clamp(3rem, 13.5vw, 4.5rem);
    line-height: 0.72;
  }

  .case-brief .case-chapter-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .case-brief-copy {
    max-width: 21rem;
    font-size: 1rem;
  }

  .case-craft-image {
    width: calc(100% + var(--pad) + var(--pad));
    min-height: 48svh;
    margin: 0 calc(var(--pad) * -1);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 92%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 9%, #000 92%, transparent);
  }

  .case-craft-image img {
    min-height: 48svh;
  }

  .case-facts {
    width: 100%;
    gap: 0.7rem;
  }

  .case-facts dt {
    font-size: 0.48rem;
  }

  .case-facts dd {
    font-size: 0.78rem;
    line-height: 1.05;
  }

  .case-identity .case-chapter-inner {
    min-height: 125svh;
  }

  .identity-field {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + var(--pad) + var(--pad));
    height: 48svh;
    margin: 3rem calc(var(--pad) * -1) 0;
  }

  .identity-wordmark {
    top: 20%;
    left: -10%;
    width: 120%;
  }

  .identity-emblem {
    top: -8%;
    right: -27%;
    width: 31rem;
  }

  .identity-stripes {
    right: 2%;
    bottom: 7%;
    left: 14%;
  }

  .identity-rationale {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 2rem;
  }

  .identity-rationale > p {
    max-width: 22rem;
    font-size: 1rem;
  }

  .identity-rationale ul {
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.52rem;
  }

  .case-website,
  .case-website .case-chapter-inner {
    min-height: auto;
  }

  .case-website .case-chapter-inner {
    padding-bottom: 5rem;
  }

  .website-intro {
    display: block;
    width: 100%;
    margin: 3rem 0 0;
  }

  .website-intro p {
    max-width: 21rem;
    font-size: 1rem;
  }

  .website-intro a {
    display: inline-block;
    margin-top: 2rem;
  }

  .website-proof-responsive {
    width: 100%;
    aspect-ratio: 0.555;
    margin: 3.25rem auto 0;
  }

  .website-principles {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    width: 82%;
    margin: 4rem 0 0 auto;
  }

  .case-outcome .case-chapter-inner {
    min-height: 125svh;
  }

  .outcome-points {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 5rem;
  }

  .outcome-points h3 {
    font-size: 2rem;
  }

  .case-next {
    right: var(--pad);
    bottom: 2rem;
    left: var(--pad);
    display: block;
  }

  .case-next > a {
    display: block;
    margin-top: 1rem;
    font-size: clamp(1.9rem, 8.4vw, 3rem);
  }

  .case-footer {
    grid-template-columns: 1fr auto;
  }

  .case-footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .case-cover-media img,
  .js .case-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Depth-responsive case brand ----------------------------------------- */

.case-brand-crop {
  transform: scaleX(var(--brand-pressure, 0.97));
  transform-origin: left center;
  transition: transform 520ms cubic-bezier(0.2, 0.78, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .case-brand-crop {
    transition: none;
  }
}

/* Ritual Damage case-study direction --------------------------------- */

.case-progress span {
  background: linear-gradient(90deg, #496cd6, #7a43c8 72%, #aa8a4e);
}

.case-header {
  text-shadow: 0 1px 1.2rem rgba(0, 0, 0, 0.16);
}

.case-cover {
  min-height: 118svh;
  background: #07070b;
}

.case-cover-media img {
  object-position: 52% center;
  filter: saturate(0.92) contrast(1.06) brightness(0.76);
  transform: scale(1.025) translate3d(0, calc(var(--section-progress, 0) * 3vh), 0);
}

.case-cover-shade {
  background:
    linear-gradient(90deg, rgba(6, 6, 9, 0.8) 0, rgba(6, 6, 9, 0.44) 42%, rgba(6, 6, 9, 0.08) 78%),
    linear-gradient(180deg, rgba(9, 8, 14, 0.14), rgba(7, 7, 11, 0.16) 48%, rgba(7, 7, 11, 0.84));
}

.case-cover::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 84% at 94% 9%, rgba(73, 108, 214, 0.24), transparent 68%),
    radial-gradient(ellipse 30% 62% at 78% 92%, rgba(122, 67, 200, 0.16), transparent 72%);
  mix-blend-mode: screen;
}

.case-cover::after {
  z-index: -1;
  inset: auto -14% -34% 44%;
  width: auto;
  height: 72%;
  background: radial-gradient(
    ellipse at center,
    rgba(92, 68, 118, 0.28),
    rgba(52, 79, 155, 0.09) 48%,
    transparent 72%
  );
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.78;
  transform: translate3d(0, calc(var(--section-progress, 0) * -3vh), 0);
}

.case-cover-mark {
  top: clamp(7.5rem, 15vh, 10rem);
  right: clamp(1.5rem, 5vw, 5rem);
  width: clamp(20rem, 28vw, 31rem);
  opacity: 0.96;
  transform: translate3d(0, calc(var(--section-progress, 0) * -2vh), 0);
}

.case-cover-copy {
  right: auto;
  bottom: calc(18svh + clamp(4rem, 7vh, 6rem));
  width: min(78rem, calc(100vw - (var(--pad) * 2)));
}

.case-kicker {
  margin-bottom: clamp(1.8rem, 3.2vh, 2.6rem);
  letter-spacing: 0.04em;
}

.case-cover h1 {
  max-width: 76vw;
  font-size: clamp(5rem, 9.6vw, 10.5rem);
  font-weight: 840;
  word-spacing: 0.045em;
  line-height: 0.7;
  transform: translate3d(0, calc(var(--section-progress, 0) * -2.4vh), 0);
}

.case-cover h1 span:nth-child(2) {
  margin-left: 5vw;
}

.case-cover h1 em {
  margin: 0.08em 0 0 18vw;
  color: #c3a05e;
  font-family: var(--omen-serif);
  font-size: 0.68em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-transform: none;
}

.case-cover h1 span:last-child {
  margin-left: 27vw;
}

.case-cover-bottom {
  color: rgba(240, 238, 231, 0.76);
}

.case-chapter-heading > p {
  letter-spacing: 0.04em;
}

.case-chapter-heading > p span {
  color: #496cd6;
}

.case-chapter h2 {
  font-size: clamp(4rem, 8.4vw, 9rem);
  word-spacing: 0.035em;
  line-height: 0.72;
}

.case-chapter h2 em {
  font-family: var(--omen-serif);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.075em;
  text-transform: none;
}

.case-brief {
  background:
    linear-gradient(180deg, rgba(73, 108, 214, 0.22), transparent 19rem),
    var(--ajs-ivory);
}

.case-brief::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -20%;
  left: 32%;
  height: 28rem;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(122, 67, 200, 0.12), transparent 70%);
  filter: blur(18px);
}

.case-brief h2 em {
  color: #b8222d;
}

.case-craft-image {
  min-height: 78vh;
  margin: -2.5rem -7vw -3rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 100%);
}

.case-craft-image img {
  object-position: 48% center;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.015) translate3d(0, calc(var(--section-progress, 0) * -1.2vh), 0);
}

.case-identity {
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 31, 43, 0.1), transparent 27%),
    radial-gradient(ellipse at 18% 92%, rgba(73, 108, 214, 0.08), transparent 34%),
    #d8d1c2;
}

.case-identity::before {
  background: linear-gradient(115deg, transparent 0 74%, rgba(170, 138, 78, 0.1) 74% 100%);
}

.case-identity h2 em,
.case-website h2 em {
  color: var(--ajs-gold);
}

.identity-field {
  right: -2vw;
  width: 62vw;
}

.identity-wordmark {
  filter: none;
}

.case-website {
  color: var(--ajs-ivory);
  background:
    radial-gradient(ellipse 44% 28% at 88% 6%, rgba(170, 138, 78, 0.15), transparent 72%),
    radial-gradient(ellipse 52% 35% at 8% 88%, rgba(73, 108, 214, 0.13), transparent 72%),
    #08080c;
}

.website-intro {
  width: min(70rem, 78vw);
}

.website-proof-responsive {
  position: relative;
  display: block;
  width: min(88rem, calc(100vw - (var(--pad) * 2)));
  margin-top: clamp(5rem, 10vh, 8rem);
  overflow: visible;
  box-shadow:
    0 3rem 8rem rgba(0, 0, 0, 0.52),
    0 0 8rem rgba(73, 108, 214, 0.12);
  isolation: isolate;
}

.website-proof-responsive::before {
  position: absolute;
  z-index: -1;
  inset: -7% -4%;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 32%, rgba(73, 108, 214, 0.2), transparent 54%),
    radial-gradient(ellipse at 82% 74%, rgba(122, 67, 200, 0.15), transparent 54%);
  filter: blur(34px);
}

.website-proof-responsive picture {
  overflow: hidden;
}

.website-proof-responsive img {
  filter: none;
  transform: scale(1.001);
  transition: transform 850ms cubic-bezier(0.18, 0.78, 0.18, 1), filter 500ms ease;
}

.website-proof-responsive:is(:hover, :focus-visible) img {
  filter: saturate(1.04) brightness(1.025);
  transform: scale(1.018);
}

.website-proof-responsive:focus-visible {
  outline-offset: 0.55rem;
}

.website-principles span {
  color: #718ce2;
}

.case-website,
.case-website .case-chapter-inner {
  min-height: auto;
}

.case-website .case-chapter-inner {
  padding-bottom: clamp(7rem, 12vh, 10rem);
}

.website-mobile-case {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  align-items: center;
  gap: clamp(4rem, 10vw, 11rem);
  width: min(78rem, 84vw);
  margin: clamp(9rem, 17vh, 14rem) auto 0;
}

.website-mobile-copy {
  max-width: 41rem;
}

.website-mobile-kicker {
  margin: 0 0 2.2rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.website-mobile-kicker span {
  color: #718ce2;
}

.website-mobile-copy h3 {
  margin: 0;
  font-size: clamp(3.6rem, 6.2vw, 7rem);
  font-weight: 830;
  letter-spacing: -0.09em;
  line-height: 0.75;
  text-transform: uppercase;
}

.website-mobile-copy h3 em {
  color: var(--ajs-gold);
  font-family: var(--omen-serif);
  font-size: 0.82em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.07em;
  text-transform: none;
}

.website-mobile-intro {
  max-width: 34rem;
  margin: clamp(2.5rem, 5vh, 4rem) 0 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.38;
  opacity: 0.76;
}

.website-mobile-features {
  display: grid;
  gap: 1.55rem;
  max-width: 34rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.website-mobile-features li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: start;
}

.website-mobile-features li > span {
  padding-top: 0.18rem;
  color: #718ce2;
  font-family: var(--mono);
  font-size: 0.52rem;
}

.website-mobile-features strong,
.website-mobile-features small {
  display: block;
}

.website-mobile-features strong {
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: uppercase;
}

.website-mobile-features small {
  max-width: 27rem;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: clamp(0.62rem, 0.78vw, 0.74rem);
  line-height: 1.45;
  opacity: 0.55;
}

.website-mobile-proof {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 9;
  overflow: hidden;
  background: var(--ajs-ivory);
  box-shadow:
    0 3rem 7rem rgba(0, 0, 0, 0.48),
    0 0 6rem rgba(122, 67, 200, 0.12);
}

.website-mobile-proof::before {
  position: absolute;
  z-index: -1;
  inset: -12%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(73, 108, 214, 0.2), transparent 68%);
  filter: blur(28px);
}

.website-mobile-proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 850ms cubic-bezier(0.18, 0.78, 0.18, 1), filter 500ms ease;
}

.website-mobile-proof:is(:hover, :focus-visible) img {
  filter: saturate(1.04) brightness(1.025);
  transform: scale(1.018);
}

.case-inspection-mobile .case-website .case-chapter-inner {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.case-inspection-mobile .case-website :is(
  .case-chapter-heading,
  .website-intro,
  .website-proof-responsive
) {
  display: none;
}

.case-inspection-mobile .case-website :is(
  .website-introduction-panel,
  .website-portal-panel
) {
  display: none;
}

.case-inspection-mobile .website-mobile-case {
  min-height: calc(100svh - 9rem);
  margin-top: 0;
}

.case-inspection-portal .case-website .case-chapter-inner {
  min-height: 100svh;
  padding: 0;
}

.case-inspection-portal .case-website :is(
  .website-introduction-panel,
  .website-mobile-case
) {
  display: none;
}

.case-inspection-portal .website-portal-panel {
  min-height: 100svh;
}

.case-outcome {
  color: var(--rf-paper);
  background:
    radial-gradient(ellipse 46% 58% at 88% 12%, rgba(73, 108, 214, 0.18), transparent 72%),
    radial-gradient(ellipse 48% 52% at 12% 96%, rgba(122, 67, 200, 0.13), transparent 72%),
    linear-gradient(180deg, #10101a, var(--rf-abyss));
}

.case-outcome::after {
  right: -22%;
  bottom: -34%;
  width: 78%;
  height: 74%;
  background: radial-gradient(
    ellipse at center,
    rgba(122, 67, 200, 0.18),
    rgba(73, 108, 214, 0.06) 50%,
    transparent 72%
  );
  border-radius: 50%;
  filter: blur(24px);
  transform: none;
}

.case-outcome h2 em,
.outcome-points article > span,
.case-next > a span {
  color: #8399e3;
}

.case-footer {
  background: #050508;
}

@media (max-width: 680px) {
  .case-cover {
    min-height: 106svh;
  }

  .case-cover-media img {
    object-position: 62% center;
    filter: saturate(0.9) contrast(1.06) brightness(0.69);
  }

  .case-cover-shade {
    background:
      linear-gradient(90deg, rgba(6, 6, 9, 0.72), rgba(6, 6, 9, 0.14)),
      linear-gradient(180deg, rgba(7, 7, 11, 0.1), rgba(7, 7, 11, 0.26) 40%, rgba(7, 7, 11, 0.92));
  }

  .case-cover-mark {
    top: 5.6rem;
    right: 1rem;
    width: min(48vw, 12rem);
  }

  .case-cover-copy {
    right: var(--pad);
    bottom: 7rem;
    width: auto;
  }

  .case-kicker {
    max-width: 14rem;
    margin-bottom: 1.6rem;
  }

  .case-cover h1 {
    max-width: 100%;
    font-size: clamp(3.15rem, 14.8vw, 4.5rem);
    line-height: 0.69;
  }

  .case-cover h1 span:nth-child(2) {
    margin-left: 0;
  }

  .case-cover h1 em {
    margin: 0.14em 0 0 8vw;
    font-size: 0.72em;
  }

  .case-cover h1 span:last-child {
    margin-left: 12vw;
  }

  .case-cover::after {
    inset: auto -46% -25% 18%;
    width: auto;
    height: 52%;
  }

  .case-chapter h2 {
    font-size: clamp(3.05rem, 13vw, 4.4rem);
    line-height: 0.74;
  }

  .case-brief {
    background:
      linear-gradient(180deg, rgba(73, 108, 214, 0.2), transparent 14rem),
      var(--ajs-ivory);
  }

  .case-brief .case-chapter-inner {
    gap: 2.2rem;
    padding-bottom: 3.5rem;
  }

  .case-craft-image {
    min-height: 52svh;
    margin-top: 0.4rem;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent);
  }

  .case-craft-image img {
    min-height: 52svh;
    object-position: 49% center;
  }

  .case-identity .case-chapter-inner {
    min-height: 118svh;
  }

  .identity-field {
    width: calc(100% + (var(--pad) * 2));
    height: 44svh;
    margin-top: 2.5rem;
  }

  .identity-wordmark {
    top: 24%;
    left: -7%;
    width: 114%;
  }

  .website-intro {
    width: 100%;
  }

  .website-proof-responsive {
    width: 100%;
    margin-top: 3.5rem;
    box-shadow:
      0 2rem 5rem rgba(0, 0, 0, 0.48),
      0 0 5rem rgba(73, 108, 214, 0.1);
  }

  .website-principles {
    width: 86%;
  }

  .website-mobile-case {
    display: block;
    width: 100%;
    margin-top: 5.5rem;
  }

  .website-mobile-copy {
    max-width: none;
  }

  .website-mobile-kicker {
    margin-bottom: 1.7rem;
  }

  .website-mobile-copy h3 {
    font-size: clamp(3rem, 12.2vw, 4.25rem);
    line-height: 0.77;
  }

  .website-mobile-intro {
    max-width: 23rem;
    margin-top: 2.5rem;
    font-size: 1rem;
  }

  .website-mobile-features {
    gap: 1.4rem;
    margin-top: 2.5rem;
  }

  .website-mobile-proof {
    display: none;
  }

  .case-outcome .case-chapter-inner {
    min-height: 132svh;
  }

  .case-next > a {
    font-size: clamp(1.85rem, 8vw, 2.8rem);
  }
}

/* Viewport scene pagination ------------------------------------------- */

@media (min-width: 681px) {
  .case-cover,
  .case-brief,
  .case-identity,
  .case-outcome {
    min-height: 100svh;
  }

  .case-brief .case-chapter-inner,
  .case-identity .case-chapter-inner,
  .case-outcome .case-chapter-inner {
    position: relative;
    top: auto;
    min-height: 100svh;
  }

  .case-cover-copy {
    bottom: clamp(4rem, 7vh, 6rem);
  }

  .case-website {
    scroll-snap-align: none;
  }

  .case-website .case-chapter-inner {
    min-height: auto;
    padding: 0;
  }

  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .website-introduction-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(7rem, 12vh, 10rem) var(--pad) clamp(3rem, 7vh, 5rem);
  }

  .website-introduction-panel .website-intro {
    margin-top: clamp(3rem, 8vh, 7rem);
  }

  .website-portal-panel {
    display: grid;
    place-items: center;
    padding: 5.5rem var(--pad) 2.5rem;
  }

  .website-portal-panel .website-proof-responsive {
    width: min(calc((100svh - 8rem) * 1.6), calc(100vw - (var(--pad) * 2)));
    margin: 0;
  }

  .website-mobile-case {
    width: min(78rem, 86vw);
    margin: 0 auto;
    padding: 5.5rem 0 2.5rem;
  }

  .website-mobile-proof {
    width: min(28rem, calc((100svh - 8rem) * 0.5556));
    justify-self: end;
  }
}

@media (max-width: 680px) {
  html {
    scroll-snap-type: none;
  }

  .case-cover,
  .case-chapter,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case {
    scroll-snap-align: none;
  }

  .case-website .case-chapter-inner {
    padding: 0;
  }

  .website-introduction-panel {
    padding: 6.2rem var(--pad) 0;
  }

  .website-portal-panel {
    padding: 0 var(--pad);
  }

  .website-mobile-case {
    padding: 0 var(--pad) 5rem;
  }
}

/* Unified responsive scene contract ---------------------------------- */

.mobile-scene-label {
  display: none;
}

.case-footer {
  scroll-snap-align: end;
}

@media (min-width: 681px) {
  html {
    scroll-snap-type: none;
  }

  .case-cover,
  .case-brief,
  .case-identity,
  .case-outcome,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
  }

  .case-brief-story,
  .case-brief-proof,
  .identity-introduction,
  .identity-notes,
  .outcome-opening,
  .outcome-evidence {
    display: contents;
  }
}

/* Laptop-height viewports keep the same compositions, with a tighter
   vertical rhythm so no detail is stranded beyond the snap boundary. */
@media (min-width: 681px) and (max-height: 820px) {
  .case-brief .case-chapter-inner {
    gap: 1.15rem clamp(3rem, 8vw, 10rem);
    padding-top: 5.5rem;
    padding-bottom: 1.35rem;
  }

  .case-brief .case-chapter-heading > p {
    margin-bottom: 1.6rem;
  }

  .case-brief h2 {
    font-size: clamp(4rem, 8vw, 7rem);
  }

  .case-brief-copy {
    font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  }

  .case-brief-copy p + p {
    margin-top: 1rem;
  }

  .website-mobile-case {
    padding-top: 4.75rem;
    padding-bottom: 1.75rem;
  }

  .website-mobile-copy h3 {
    font-size: clamp(3.4rem, 5.35vw, 5.25rem);
  }

  .website-mobile-intro {
    margin-top: 1.8rem;
    font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  }

  .website-mobile-features {
    gap: 1rem;
    margin-top: 1.8rem;
  }

  .website-mobile-features strong {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
  }

  .website-mobile-features small {
    margin-top: 0.22rem;
    font-size: clamp(0.58rem, 0.7vw, 0.68rem);
  }

  .website-mobile-proof {
    width: min(25rem, calc((100dvh - 10rem) * 0.5556));
  }
}

@media (max-width: 680px) {
  html {
    scroll-snap-type: y mandatory;
  }

  body {
    overscroll-behavior-y: contain;
  }

  .case-study,
  .case-chapter,
  .case-chapter-inner,
  .case-brief-story,
  .case-brief-proof,
  .identity-introduction,
  .identity-notes,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case,
  .outcome-opening,
  .outcome-evidence,
  .case-chapter-heading,
  .website-mobile-copy,
  .outcome-points article,
  .case-next {
    min-width: 0;
    max-width: 100%;
  }

  .case-chapter-heading h2,
  .case-next > a {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .case-cover,
  .case-brief-story,
  .case-brief-proof,
  .identity-introduction,
  .identity-notes,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case,
  .outcome-opening,
  .outcome-evidence {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .case-brief,
  .case-identity,
  .case-website,
  .case-outcome {
    height: auto;
    min-height: 0;
    overflow: visible;
    scroll-snap-align: none;
  }

  .case-brief .case-chapter-inner,
  .case-identity .case-chapter-inner,
  .case-website .case-chapter-inner,
  .case-outcome .case-chapter-inner {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .mobile-scene-label {
    display: block;
    margin: 0;
    font-family: var(--mono);
    font-size: 0.54rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-scene-label span {
    color: #496cd6;
  }

  .case-cover {
    min-height: 100svh;
  }

  .case-cover-copy {
    bottom: max(4.6rem, calc(env(safe-area-inset-bottom) + 3.8rem));
  }

  .case-cover-bottom {
    bottom: max(1.15rem, env(safe-area-inset-bottom));
  }

  .case-brief-story,
  .identity-introduction,
  .outcome-opening {
    padding:
      max(5.2rem, calc(env(safe-area-inset-top) + 4.4rem))
      var(--pad)
      max(1.7rem, env(safe-area-inset-bottom));
  }

  .case-brief-story {
    display: flex;
    flex-direction: column;
  }

  .case-brief-story .case-brief-copy {
    align-self: stretch;
    width: 100%;
    max-width: 23rem;
    margin: auto 0 0 auto;
    font-size: clamp(0.86rem, 3.65vw, 1rem);
    line-height: 1.32;
  }

  .case-brief-story .case-brief-copy p + p {
    margin-top: 1.05rem;
  }

  .case-brief-proof {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    padding:
      max(4.9rem, calc(env(safe-area-inset-top) + 4.1rem))
      var(--pad)
      max(1.5rem, env(safe-area-inset-bottom));
  }

  .case-brief-proof .case-craft-image {
    width: calc(100% + (var(--pad) * 2));
    height: auto;
    min-height: 0;
    margin: 0 calc(var(--pad) * -1);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .case-brief-proof .case-craft-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .case-brief-proof .case-facts {
    align-self: end;
  }

  .identity-introduction {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .identity-introduction .identity-field {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + (var(--pad) * 2));
    height: auto;
    min-height: 0;
    margin: 1.8rem calc(var(--pad) * -1) 0;
  }

  .identity-notes {
    display: grid;
    align-content: center;
    padding:
      max(5rem, calc(env(safe-area-inset-top) + 4.2rem))
      var(--pad)
      max(2rem, env(safe-area-inset-bottom));
  }

  .identity-notes .identity-rationale {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin: clamp(2.5rem, 8vh, 4.5rem) 0 0;
  }

  .identity-notes .identity-rationale > p {
    max-width: 24rem;
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }

  .identity-notes .identity-rationale ul {
    justify-content: flex-start;
    gap: clamp(1rem, 7vw, 2.5rem);
    margin-top: 2rem;
  }

  .identity-notes .identity-palette {
    position: relative;
    right: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-top: clamp(3rem, 10vh, 5rem);
  }

  .website-introduction-panel {
    display: flex;
    flex-direction: column;
    padding:
      max(5.2rem, calc(env(safe-area-inset-top) + 4.4rem))
      var(--pad)
      max(2rem, env(safe-area-inset-bottom));
  }

  .website-introduction-panel .website-intro {
    width: 100%;
    margin: auto 0 0;
  }

  .website-portal-panel {
    display: grid;
    place-items: center;
    padding:
      max(4.8rem, calc(env(safe-area-inset-top) + 4rem))
      var(--pad)
      max(1.7rem, env(safe-area-inset-bottom));
  }

  .website-portal-panel .website-proof-responsive {
    width: min(100%, calc((100dvh - 7.2rem) * 0.5556));
    margin: 0;
  }

  .website-mobile-case {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    width: 100%;
    margin: 0;
    padding:
      max(5rem, calc(env(safe-area-inset-top) + 4.2rem))
      var(--pad)
      max(1.8rem, env(safe-area-inset-bottom));
  }

  .website-mobile-intro {
    margin-top: clamp(1.8rem, 5vh, 2.8rem);
  }

  .website-mobile-features {
    gap: clamp(0.9rem, 2.6vh, 1.4rem);
    margin-top: clamp(1.8rem, 5vh, 2.8rem);
  }

  .outcome-opening {
    display: grid;
    align-content: center;
  }

  .outcome-opening .case-chapter-heading {
    transform: translateY(-2vh);
  }

  .outcome-evidence {
    display: flex;
    flex-direction: column;
    padding:
      max(4.8rem, calc(env(safe-area-inset-top) + 4rem))
      var(--pad)
      max(1.4rem, env(safe-area-inset-bottom));
  }

  .outcome-evidence .outcome-points {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: clamp(1.15rem, 3vh, 1.8rem);
    margin-top: clamp(1.8rem, 5vh, 2.8rem);
  }

  .outcome-evidence .outcome-points h3 {
    margin-top: 0.45rem;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .outcome-evidence .outcome-points p {
    margin-top: 0.55rem;
    font-size: clamp(0.6rem, 2.6vw, 0.72rem);
  }

  .outcome-evidence .case-next {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: auto;
  }

  .outcome-evidence .case-next > a {
    font-size: clamp(1.65rem, 8vw, 2.5rem);
  }
}

@media (max-width: 680px) and (max-height: 700px) {
  .case-chapter-heading > p {
    margin-bottom: 1.2rem;
  }

  .case-chapter h2 {
    font-size: clamp(2.55rem, 11.6vw, 3.65rem);
  }

  .case-brief-story,
  .identity-introduction,
  .website-introduction-panel,
  .website-mobile-case,
  .outcome-opening {
    padding-top: max(4.4rem, calc(env(safe-area-inset-top) + 3.8rem));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .case-brief-story .case-brief-copy {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .case-brief-proof,
  .identity-notes,
  .website-portal-panel,
  .outcome-evidence {
    padding-top: max(4.25rem, calc(env(safe-area-inset-top) + 3.6rem));
    padding-bottom: max(0.9rem, env(safe-area-inset-bottom));
  }

  .case-brief-proof {
    gap: 0.75rem;
  }

  .identity-introduction .identity-field {
    margin-top: 0.8rem;
  }

  .identity-notes .identity-rationale {
    margin-top: 1.5rem;
  }

  .identity-notes .identity-rationale > p {
    font-size: 0.95rem;
  }

  .identity-notes .identity-palette {
    margin-top: 1.8rem;
  }

  .website-mobile-copy h3 {
    font-size: clamp(2.55rem, 10.8vw, 3.45rem);
  }

  .website-mobile-intro {
    margin-top: 1.25rem;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .website-mobile-features {
    gap: 0.7rem;
    margin-top: 1.25rem;
  }

  .website-mobile-features strong {
    font-size: 0.95rem;
  }

  .website-mobile-features small {
    margin-top: 0.18rem;
    font-size: 0.56rem;
  }

  .outcome-evidence .outcome-points {
    gap: 0.75rem;
    margin-top: 1.1rem;
  }

  .outcome-evidence .outcome-points h3 {
    font-size: 1.35rem;
  }

  .outcome-evidence .case-next > p {
    display: none;
  }
}

@media (max-width: 400px) {
  .case-brief-proof .case-facts {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .case-brief-proof .case-facts dd {
    margin-top: 0.18rem;
    font-size: 0.72rem;
  }
}

/* Identity consolidation + mathematically centred website previews ---- */

@media (min-width: 681px) {
  .case-inspection-mobile .case-website .case-chapter-inner {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .case-inspection-mobile .website-mobile-case {
    min-height: 100svh;
    margin-right: auto;
    margin-left: auto;
  }

  .website-portal-panel {
    padding: 5rem var(--pad);
  }

  .website-portal-panel .website-proof-responsive {
    width: min(calc((100dvh - 10rem) * 1.6), calc(100vw - (var(--pad) * 2)));
    margin: auto;
    place-self: center;
  }

  .website-mobile-case {
    justify-content: center;
    width: min(78rem, calc(100vw - (var(--pad) * 2)));
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .website-mobile-proof {
    justify-self: center;
  }
}

@media (min-width: 681px) and (max-height: 820px) {
  .website-mobile-case {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .website-mobile-proof {
    width: min(25rem, calc((100dvh - 8rem) * 0.5556));
  }
}

@media (max-width: 680px) {
  .case-identity {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .case-identity .case-chapter-inner {
    display: grid;
    grid-template-rows: auto minmax(8rem, 1fr) auto;
    height: 100%;
    padding:
      max(5.2rem, calc(env(safe-area-inset-top) + 4.4rem))
      var(--pad)
      max(1.35rem, env(safe-area-inset-bottom));
  }

  .identity-introduction,
  .identity-notes {
    height: auto;
    min-height: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
    scroll-snap-align: none;
  }

  .identity-introduction {
    display: contents;
  }

  .identity-introduction .case-chapter-heading {
    grid-row: 1;
  }

  .identity-introduction .identity-field {
    grid-row: 2;
    width: calc(100% + (var(--pad) * 2));
    min-height: 0;
    margin: 0.7rem calc(var(--pad) * -1) 0.55rem;
  }

  .identity-notes {
    display: grid;
    grid-row: 3;
    align-content: end;
  }

  .identity-notes > .mobile-scene-label {
    display: none;
  }

  .identity-notes .identity-rationale {
    width: 100%;
    margin: 0;
  }

  .identity-notes .identity-rationale > p {
    max-width: 24rem;
    font-size: clamp(0.82rem, 3.6vw, 1rem);
    line-height: 1.25;
  }

  .identity-notes .identity-rationale ul {
    justify-content: flex-start;
    gap: clamp(0.85rem, 6vw, 2rem);
    margin-top: 0.8rem;
    font-size: 0.52rem;
  }

  .identity-notes .identity-palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1rem;
    margin-top: 0.85rem;
  }
}

@media (max-width: 680px) and (max-height: 700px) {
  .case-identity .case-chapter-inner {
    padding-top: max(4.4rem, calc(env(safe-area-inset-top) + 3.8rem));
    padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
  }

  .identity-introduction .identity-field {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
  }

  .identity-notes .identity-rationale > p {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .identity-notes .identity-rationale ul {
    margin-top: 0.55rem;
  }

  .identity-notes .identity-palette {
    gap: 0.3rem 0.8rem;
    margin-top: 0.55rem;
    font-size: 0.46rem;
  }
}

/* Consolidated mobile brief + large-screen website compositions ------- */

@media (min-width: 681px) {
  .case-cover,
  .case-brief,
  .case-identity,
  .case-outcome,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case {
    scroll-snap-stop: always;
  }

  .website-portal-panel .website-proof-responsive {
    width: min(92vw, 128rem);
    height: min(78dvh, 64rem);
    aspect-ratio: auto;
    overflow: hidden;
  }

  .website-portal-panel .website-proof-responsive picture,
  .website-portal-panel .website-proof-responsive img {
    width: 100%;
    height: 100%;
  }

  .website-portal-panel .website-proof-responsive img {
    object-fit: cover;
    object-position: center 12%;
  }

  .website-mobile-case {
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 26rem);
    gap: clamp(3.5rem, 7vw, 9rem);
    width: min(108rem, calc(100vw - (var(--pad) * 2)));
  }

  .website-mobile-copy {
    width: 100%;
    max-width: 68rem;
  }

  .website-mobile-proof {
    width: min(26rem, calc((100dvh - 10rem) * 0.5556));
  }
}

@media (min-width: 681px) and (max-height: 820px) {
  .website-mobile-proof {
    width: min(24rem, calc((100dvh - 8rem) * 0.5556));
  }
}

@media (max-width: 680px) {
  .case-cover,
  .case-brief-story,
  .case-brief-proof,
  .case-identity,
  .identity-introduction,
  .identity-notes,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case,
  .outcome-opening,
  .outcome-evidence {
    scroll-snap-stop: always;
  }

  .case-brief {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .case-brief .case-chapter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto clamp(8.5rem, 22dvh, 11.5rem) auto auto;
    align-content: space-between;
    gap: clamp(0.55rem, 1.8vh, 0.9rem);
    height: 100%;
    padding:
      max(5.2rem, calc(env(safe-area-inset-top) + 4.4rem))
      var(--pad)
      max(1.1rem, env(safe-area-inset-bottom));
  }

  .case-brief-story,
  .case-brief-proof {
    height: auto;
    min-height: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
    scroll-snap-align: none;
  }

  .case-brief-story,
  .case-brief-proof {
    display: contents;
  }

  .case-brief-story .case-chapter-heading {
    grid-row: 1;
  }

  .case-brief-proof > .mobile-scene-label {
    display: none;
  }

  .case-brief-proof .case-craft-image {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    width: calc(100% + (var(--pad) * 2));
    height: 100%;
    min-height: 0;
    margin: 0 calc(var(--pad) * -1);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .case-brief-proof .case-craft-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 48% 46%;
  }

  .case-brief-story .case-brief-copy {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    width: min(100%, 24rem);
    max-width: none;
    margin: 0;
    font-size: clamp(0.78rem, 3.35vw, 0.94rem);
    line-height: 1.24;
  }

  .case-brief-story .case-brief-copy p + p {
    margin-top: 0.65rem;
  }

  .case-brief-proof .case-facts {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: end;
    width: 100%;
    gap: 0.55rem;
  }

  .case-brief-proof .case-facts dt {
    font-size: 0.43rem;
  }

  .case-brief-proof .case-facts dd {
    margin-top: 0.25rem;
    font-size: clamp(0.62rem, 2.8vw, 0.76rem);
  }
}

@media (max-width: 680px) and (max-height: 700px) {
  .case-brief .case-chapter-inner {
    gap: 0.45rem;
    padding-top: max(4.4rem, calc(env(safe-area-inset-top) + 3.8rem));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .case-brief-story .case-brief-copy {
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .case-brief-story .case-brief-copy p + p {
    margin-top: 0.45rem;
  }

  .case-brief-proof .case-facts dd {
    font-size: 0.62rem;
  }
}

/* Desktop snap geometry is synchronised to window.innerHeight in JS.
   This avoids browser-zoom and restored-scroll offsets in Chromium. */
@media (min-width: 681px) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .case-website .case-chapter-inner {
    /* Isolate the three website scenes from any collapsed child spacing so
       their rendered tops remain exact viewport multiples. */
    display: flow-root;
  }

  .case-cover,
  .case-brief,
  .case-identity,
  .case-outcome,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case {
    height: var(--case-viewport-height, 100dvh);
    min-height: var(--case-viewport-height, 100dvh);
  }

  .website-portal-panel .website-proof-responsive {
    width: 92vw;
    height: calc(var(--case-viewport-height, 100dvh) - 10rem);
    max-height: none;
  }

  .website-mobile-case {
    width: calc(100vw - (var(--pad) * 2));
    max-width: none;
  }

  .website-mobile-copy {
    max-width: none;
  }

  .website-mobile-proof {
    width: calc((var(--case-viewport-height, 100dvh) - 10rem) * 0.5556);
    max-width: none;
  }
}

@media (min-width: 681px) and (max-height: 820px) {
  .website-mobile-proof {
    width: calc((var(--case-viewport-height, 100dvh) - 8rem) * 0.5556);
  }
}

/* Follow Safari's currently visible viewport. With native scrolling there is
   no delayed scripted correction, while the scene can still grow when the
   browser controls retract instead of exposing the neighbouring chapter. */
@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
    scroll-padding-top: 0;
    scroll-snap-type: y mandatory;
  }

  .case-cover,
  .case-brief,
  .case-identity,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case,
  .outcome-opening,
  .outcome-evidence {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

/* Website previews ----------------------------------------------------
   Preserve the source artwork instead of treating it like a background
   crop, and keep the responsive case composition inside one shared frame. */
@media (min-width: 681px) {
  .website-portal-panel .website-proof-responsive {
    width: min(
      calc(100vw - (var(--pad) * 2)),
      calc((var(--case-viewport-height, 100dvh) - 10rem) * 1.6)
    );
    height: auto;
    aspect-ratio: 8 / 5;
    overflow: visible;
  }

  .website-portal-panel .website-proof-responsive picture {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .website-portal-panel .website-proof-responsive img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .website-portal-panel .website-proof-responsive:is(:hover, :focus-visible) img {
    transform: none;
  }

  .website-mobile-case {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: clamp(2rem, 5vw, 6rem);
    width: min(calc(100vw - (var(--pad) * 2)), 100rem);
  }

  .website-mobile-proof {
    width: min(
      100%,
      calc((var(--case-viewport-height, 100dvh) - 10rem) * 0.5556)
    );
    max-width: none;
    justify-self: center;
  }
}

@media (min-width: 961px) {
  .website-mobile-case {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
    width: min(calc(100vw - (var(--pad) * 2)), 92rem);
  }
}

@media (min-width: 681px) and (max-width: 960px) {
  .website-mobile-case {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .website-mobile-kicker {
    margin-bottom: 1.25rem;
  }

  .website-mobile-copy h3 {
    font-size: clamp(2.75rem, 7vw, 3.6rem);
    line-height: 0.78;
  }

  .website-mobile-intro {
    margin-top: 1.5rem;
    font-size: clamp(0.88rem, 1.8vw, 1rem);
  }

  .website-mobile-features {
    gap: 0.9rem;
    margin-top: 1.5rem;
  }

  .website-mobile-features strong {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
  }

  .website-mobile-features small {
    font-size: clamp(0.55rem, 1.15vw, 0.65rem);
  }
}

@media (min-width: 681px) and (max-height: 820px) {
  .website-portal-panel .website-proof-responsive {
    width: min(
      calc(100vw - (var(--pad) * 2)),
      calc((var(--case-viewport-height, 100dvh) - 8rem) * 1.6)
    );
  }

  .website-mobile-proof {
    width: min(
      100%,
      calc((var(--case-viewport-height, 100dvh) - 8rem) * 0.5556)
    );
  }
}

/* Native snap prevents high-contrast neighbouring scenes from remaining in
   view after a touch gesture. No JavaScript scroll correction is involved. */
@media (hover: none), (pointer: coarse) {
  html {
    height: 100%;
    height: 100svh;
    overflow: hidden;
    background: #050508;
    scroll-behavior: auto;
    scroll-padding-top: 0;
    scroll-snap-type: none;
  }

  body {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: none;
    background: #050508;
  }

  #case-main {
    position: fixed;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    scroll-snap-type: y mandatory;
    scrollbar-gutter: auto;
  }

  #case-main :is(
    .case-brief-story,
    .case-brief-proof,
    .identity-introduction,
    .identity-notes,
    .case-outcome,
    .case-chapter-inner
  ) {
    scroll-snap-align: none;
  }

  .case-cover,
  .case-brief,
  .case-identity,
  .website-introduction-panel,
  .website-portal-panel,
  .website-mobile-case,
  .outcome-opening,
  .outcome-evidence {
    height: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .case-footer {
    display: none;
  }

  /* Decorative outcome light must not extend the scrollable range beyond
     the final panel. */
  .case-outcome {
    contain: paint;
    overflow: clip;
  }

  /* Keep the three website scenes in the main touch scroller. `hidden`
     turns this wrapper into a nested scroll container in WebKit and causes
     iPad Safari to skip its child snap points. */
  .case-website {
    contain: paint;
    overflow: clip;
  }
}

@media (min-width: 681px) and (hover: none),
  (min-width: 681px) and (pointer: coarse) {
  #case-main .case-outcome {
    height: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  #case-main .outcome-opening,
  #case-main .outcome-evidence {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    scroll-snap-align: none;
  }
}

/* Production project facts. Kept out of every audited scene wrapper so the
   touch scrolling contract and its snap points remain unchanged. */
.case-project-intro {
  position: absolute;
  z-index: 2;
  top: clamp(9rem, 21vh, 14rem);
  left: var(--pad);
  width: min(27rem, 30vw);
  color: rgba(240, 238, 231, 0.82);
}

.case-project-intro > p {
  margin: 0;
  font-size: clamp(0.72rem, 0.92vw, 0.88rem);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.case-project-intro dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.5rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-project-intro dl div {
  min-width: 0;
}

.case-project-intro dt {
  color: #8399e3;
}

.case-project-intro dd {
  margin: 0.12rem 0 0;
}

.case-project-intro dl div:nth-child(4) {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .case-project-intro {
    top: max(7.2rem, calc(env(safe-area-inset-top) + 5.8rem));
    width: 48vw;
  }

  .case-project-intro > p {
    font-size: 0.48rem;
    line-height: 1.28;
  }

  .case-project-intro dl {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.38rem;
    line-height: 1.28;
  }

  .case-project-intro dl div {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.12rem;
  }

  .case-project-intro dd {
    margin: 0;
  }
}

@media (max-height: 640px) and (max-width: 680px) {
  .case-project-intro {
    top: max(6.3rem, calc(env(safe-area-inset-top) + 4.8rem));
  }

  .case-project-intro > p {
    font-size: 0.43rem;
  }

  .case-project-intro dl {
    font-size: 0.33rem;
  }
}

/* Preserve the instrument-panel hierarchy without making useful labels and
   case-study evidence depend on near-illegible type. */
.case-header > p,
.case-header nav,
.case-kicker,
.case-cover-bottom,
.case-chapter-heading > p {
  font-size: 0.68rem;
}

.case-facts dt,
.identity-rationale ul,
.website-mobile-kicker,
.website-mobile-features li > span,
.mobile-scene-label,
.outcome-points article > span {
  font-size: 0.64rem;
}

.identity-palette {
  font-size: 0.6rem;
}

.website-intro a {
  font-size: 0.7rem;
}

.website-mobile-features small {
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  opacity: 0.68;
}

.outcome-points p {
  font-size: clamp(0.74rem, 0.9vw, 0.86rem);
  opacity: 0.74;
}

.case-next > p,
.case-footer {
  font-size: 0.66rem;
}

.case-project-intro dl {
  font-size: 0.58rem;
}

@media (max-width: 680px) {
  .case-project-intro {
    width: min(58vw, 15rem);
  }

  .case-project-intro > p {
    font-size: 0.62rem;
  }

  .case-project-intro dl {
    font-size: 0.5rem;
    line-height: 1.35;
  }

  .case-project-intro dl div:nth-child(4) dd {
    white-space: nowrap;
  }

  .website-mobile-features small {
    font-size: 0.65rem;
  }

  .outcome-evidence .outcome-points p {
    font-size: 0.68rem;
  }
}

@media (max-height: 640px) and (max-width: 680px) {
  .case-project-intro > p {
    font-size: 0.56rem;
  }

  .case-project-intro dl {
    font-size: 0.46rem;
  }
}
