@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/clash-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/assets/fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/assets/fonts/space-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #052321;
  --petrol: #0b3b3a;
  --teal: #0f6e6b;
  --bright-teal: #17958e;
  --mint: #9bd8d2;
  --paper: #f3f6f4;
  --ink: #0e1b1a;
  --vermilion: #ff6b3d;
  --line-dark: rgba(243, 246, 244, 0.18);
  --line-light: rgba(14, 27, 26, 0.18);
  --display: "Clash Display", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --shell: min(1440px, calc(100vw - 80px));
  --section-space: clamp(110px, 11vw, 180px);
  --project: #2f78a8;
  --project-ink: #245f89;
  --project-soft: #dcecf5;
  --project-deep: #183a56;
  --vermilion-ink: #b53b18;
}

.work-page--mcgovern {
  --project: #b8a06a;
  --project-ink: #6f5922;
  --project-soft: #e9e1cf;
  --project-deep: #172234;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--deep);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

figure,
dl,
dd,
p,
h1,
h2,
h3,
ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--vermilion);
  color: var(--deep);
}

:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 15px;
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: none;
}

.case-shell,
.section-shell {
  width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}

.case-label {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line-dark);
  padding: 0 max(40px, calc((100vw - 1440px) / 2));
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-header__brand {
  width: 108px;
}

.work-header__brand img {
  width: 100%;
  height: auto;
}

.work-header__crumbs,
.work-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.work-header a {
  text-decoration: none;
}

.work-header__crumbs a,
.work-header__actions > a:first-child {
  color: rgba(243, 246, 244, 0.66);
}

.work-header__crumbs a:hover,
.work-header__actions > a:first-child:hover {
  color: var(--paper);
}

.work-header__fit {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  background: var(--vermilion);
  color: var(--deep);
  padding: 0 17px;
  font-weight: 700;
}

.case-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  min-height: 1080px;
  padding-top: 160px;
  padding-bottom: 110px;
}

.case-hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(rgba(155, 216, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 216, 210, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--project) 34%, transparent), transparent 28%),
    radial-gradient(circle at 72% 4%, rgba(255, 107, 61, 0.38), transparent 20%),
    var(--deep);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  content: "";
}

.case-hero::after {
  position: absolute;
  z-index: -1;
  top: 82px;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 1px;
  background: rgba(155, 216, 210, 0.08);
  box-shadow: 25vw 0 rgba(155, 216, 210, 0.08), 50vw 0 rgba(155, 216, 210, 0.08), 75vw 0 rgba(155, 216, 210, 0.08), 100vw 0 rgba(155, 216, 210, 0.08);
  content: "";
}

.case-hero__glow {
  position: absolute;
  z-index: -1;
  top: 85px;
  right: -8%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.24), transparent 66%);
  filter: blur(28px);
  pointer-events: none;
}

.case-hero__heading {
  position: relative;
  z-index: 2;
  grid-column: 1 / 9;
}

.case-hero h1 {
  max-width: 12ch;
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(76px, 9.2vw, 148px);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.case-hero h1 span,
.section-heading h2 span,
.handover-record h2 span,
.next-case h2 span {
  color: var(--mint);
}

.work-page--mcgovern .case-hero h1 span,
.work-page--mcgovern .section-heading h2 span,
.work-page--mcgovern .handover-record h2 span {
  color: var(--project);
}

.case-hero__lede {
  max-width: 650px;
  margin-top: 44px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
}

.case-facts {
  align-self: end;
  grid-column: 10 / 13;
  margin-bottom: 68px;
  border-top: 1px solid var(--line-dark);
}

.case-facts > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line-dark);
  padding: 14px 0;
}

.case-facts dt,
.case-facts dd {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-facts dt {
  color: rgba(243, 246, 244, 0.52);
}

.status-light {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(155, 216, 210, 0.12);
}

.status-light--staged {
  background: var(--vermilion);
  box-shadow: 0 0 0 4px rgba(255, 107, 61, 0.12);
}

.case-hero__result {
  position: relative;
  z-index: 3;
  grid-column: 2 / 13;
  margin-top: 92px;
  box-shadow: -24px 28px 0 color-mix(in srgb, var(--project) 26%, transparent);
}

.browser-frame {
  border: 1px solid rgba(243, 246, 244, 0.34);
  background: var(--paper);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  background: var(--deep);
  padding: 0 15px;
  color: rgba(243, 246, 244, 0.5);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.browser-frame__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vermilion);
}

.browser-frame__bar span:nth-child(2) {
  background: var(--mint);
}

.browser-frame__bar span:nth-child(3) {
  background: var(--project);
}

.browser-frame__bar b {
  margin-left: 6px;
  font-weight: 400;
}

.browser-frame > img {
  width: 100%;
  height: auto;
}

.browser-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  color: var(--ink);
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.browser-frame figcaption span {
  color: var(--teal);
}

.case-hero__calibration {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 1fr) 1fr;
  grid-column: 1 / 13;
  align-items: center;
  margin-top: 82px;
}

.case-hero__calibration > div {
  display: grid;
  gap: 8px;
}

.case-hero__calibration > div:last-child {
  text-align: right;
}

.case-hero__calibration span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-hero__calibration strong {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
}

.case-hero__calibration > i {
  position: relative;
  height: 12px;
  margin: 0 30px;
  border: 1px solid rgba(243, 246, 244, 0.28);
  border-radius: 999px;
}

.case-hero__calibration > i::before,
.case-hero__calibration > i::after {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: rgba(243, 246, 244, 0.28);
  content: "";
}

.case-hero__calibration > i::before { left: 44%; }
.case-hero__calibration > i::after { right: 44%; }

.case-hero__calibration i b {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 36%;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--vermilion);
}

.case-section {
  position: relative;
  padding: var(--section-space) 0;
}

.case-section--paper {
  background:
    linear-gradient(rgba(14, 27, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 26, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--ink);
}

.case-section--dark {
  background: var(--deep);
}

.case-section--mint {
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.34), transparent 28%),
    var(--project-soft);
  color: var(--ink);
}

.section-heading {
  max-width: 1040px;
  margin-bottom: clamp(70px, 8vw, 120px);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 90px;
  max-width: none;
  align-items: end;
}

.section-heading h2,
.handover-record h2,
.next-case h2 {
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: 0.85;
  letter-spacing: -0.055em;
}

.case-section--paper .section-heading h2 span {
  color: var(--teal);
}

.work-page--mcgovern .case-section--paper .section-heading h2 span {
  color: var(--project-ink);
}

.section-heading > p,
.section-heading--split > p {
  max-width: 720px;
  margin-top: 42px;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.25;
}

.section-heading--split > p {
  margin-top: 0;
  font-size: clamp(17px, 1.5vw, 22px);
}

.case-section--paper .case-label {
  color: var(--teal);
}

.comparison {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 70px);
}

.comparison::before {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  place-items: center;
  border-radius: 50%;
  background: var(--vermilion);
  color: var(--deep);
  content: "→";
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 700;
}

.comparison__panel {
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #f9fbfa;
}

.comparison__panel--before {
  transform: rotate(-1.2deg) translateY(10px);
  box-shadow: -15px 18px 0 rgba(255, 107, 61, 0.12);
}

.comparison__panel--after {
  box-shadow: 15px 18px 0 color-mix(in srgb, var(--project) 18%, transparent);
}

.comparison__panel > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-light);
  padding: 15px 18px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.comparison__panel--before > header b {
  color: var(--vermilion-ink);
}

.comparison__panel--after > header b {
  color: var(--project-ink);
}

.comparison__caption {
  min-height: 76px;
  border-top: 1px solid var(--line-light);
  padding: 18px;
  font-size: 14px;
  line-height: 1.35;
}

.content-drift,
.service-map,
.project-pile,
.portfolio-map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(rgba(14, 27, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 26, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  padding: 50px;
}

.content-drift__page {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 84%;
  margin-bottom: 18px;
  border: 1px solid var(--line-light);
  background: #fff;
  padding: 21px;
  font-family: var(--mono);
  font-size: 10px;
  box-shadow: 8px 8px 0 rgba(14, 27, 26, 0.06);
}

.content-drift__page:nth-child(1) { transform: rotate(2deg); }
.content-drift__page:nth-child(2) { margin-left: 12%; transform: rotate(-1deg); }
.content-drift__page:nth-child(3) { margin-left: 3%; transform: rotate(1.5deg); }
.content-drift__page:nth-child(4) { margin-left: 14%; transform: rotate(-2deg); }

.content-drift__page i {
  color: var(--vermilion-ink);
  font-style: normal;
  font-weight: 700;
}

.content-drift__wire {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid var(--vermilion);
  border-radius: 50%;
  opacity: 0.28;
}

.content-drift__wire--one { right: -50px; bottom: 80px; }
.content-drift__wire--two { right: 50px; bottom: -100px; }

.service-map,
.portfolio-map {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.service-map__source,
.portfolio-map__source {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--project);
  border-radius: 50%;
  background: color-mix(in srgb, var(--project) 10%, #fff);
  color: var(--project-deep);
  padding: 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.service-map__source::after,
.portfolio-map__source::after {
  position: absolute;
  right: -56px;
  width: 54px;
  height: 1px;
  background: var(--project);
  content: "";
}

.service-map__routes,
.portfolio-map__routes {
  display: grid;
  gap: 10px;
}

.service-map__routes span,
.portfolio-map__routes span {
  border: 1px solid color-mix(in srgb, var(--project) 45%, transparent);
  background: #fff;
  padding: 12px 14px;
  color: var(--project-deep);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.project-pile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-content: center;
}

.project-pile span {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 110px;
  place-items: center;
  border: 1px solid rgba(23, 34, 52, 0.25);
  background: #fff;
  color: var(--project-deep);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.project-pile span:nth-child(1) { transform: rotate(-3deg); }
.project-pile span:nth-child(2) { transform: rotate(2deg); }
.project-pile span:nth-child(3) { transform: rotate(1deg); }
.project-pile span:nth-child(4) { transform: rotate(-2deg); }

.project-pile i {
  position: absolute;
  right: 18%;
  bottom: 8%;
  width: 46%;
  height: 4px;
  transform: rotate(-7deg);
  background: var(--vermilion);
}

.portfolio-map__source {
  border-radius: 0;
  background: var(--project-deep);
  color: #fff;
  line-height: 1.5;
}

.change-ledger {
  border-top: 1px solid var(--line-dark);
}

.change-ledger > li {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-bottom: 1px solid var(--line-dark);
  padding: 36px 0;
}

.change-ledger small {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.change-ledger p {
  max-width: 32ch;
  margin-top: 10px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.35;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.process-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr);
  min-height: 420px;
  border: 1px solid rgba(14, 27, 26, 0.26);
  background: var(--paper);
  box-shadow: 10px 12px 0 color-mix(in srgb, var(--project) 20%, transparent);
}

.process-card__media {
  position: relative;
  display: flex;
  min-height: 300px;
  overflow: hidden;
  border-right: 1px solid rgba(14, 27, 26, 0.2);
  background:
    linear-gradient(rgba(14, 27, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 26, 0.05) 1px, transparent 1px),
    #fff;
  background-size: 30px 30px;
  color: var(--ink);
  padding: 26px;
}

.process-card__media::after {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: rgba(14, 27, 26, 0.58);
  content: "VISUAL RECONSTRUCTION";
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 27px;
  color: var(--ink);
}

.process-card__copy > span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-card__copy h3 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.process-card__copy p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.process-card__media--audit {
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

.process-card__media--audit span {
  border: 1px solid var(--line-light);
  background: var(--paper);
  padding: 12px;
  font-family: var(--mono);
  font-size: 9px;
  transform: rotate(-2deg);
}

.process-card__media--audit span:nth-child(even) {
  transform: rotate(2deg) translateY(16px);
}

.process-card__media--questions {
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  justify-content: center;
}

.process-card__media--questions b {
  width: 100%;
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
}

.process-card__media--questions i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-family: var(--mono);
  font-style: normal;
  font-weight: 700;
}

.process-card__media--questions i:nth-of-type(odd) {
  border-color: var(--vermilion-ink);
  color: var(--vermilion-ink);
}

.process-card__media--matrix {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-content: center;
  font-family: var(--mono);
  font-size: 8px;
  overflow-wrap: anywhere;
}

.process-card__media--matrix span {
  border: 1px solid var(--line-light);
  background: var(--paper);
  padding: 12px;
}

.process-card__media--matrix b {
  align-self: center;
  color: var(--vermilion-ink);
}

.process-card__media--sweep {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: var(--mono);
  text-align: center;
}

.process-card__media--sweep span {
  color: var(--teal);
  font-size: 22px;
  font-weight: 700;
}

.process-card__media--sweep i {
  width: min(180px, 85%);
  height: 10px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--teal));
}

.process-card__media--sweep strong {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.process-card__media--brief {
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 8px;
}

.process-card__media--brief span,
.process-card__media--brief strong {
  border: 1px solid var(--project);
  padding: 11px;
}

.process-card__media--brief b {
  color: var(--vermilion);
  padding: 11px 2px;
}

.process-card__media--brief strong {
  width: 100%;
  background: var(--project-deep);
  color: #fff;
  text-align: center;
}

.process-card__media--concept {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.process-card__media--concept i {
  color: var(--project-deep);
  font-family: Georgia, serif;
  font-size: 72px;
  font-style: normal;
  line-height: 0.9;
}

.process-card__media--concept span,
.process-card__media--concept b {
  color: var(--project-ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.process-card__media--model {
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8px;
}

.process-card__media--model b {
  width: 100%;
  background: var(--project-deep);
  color: #fff;
  padding: 13px;
}

.process-card__media--model span {
  border: 1px solid var(--project);
  padding: 10px;
}

.process-card__media--sourcecheck {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-content: center;
  font-family: var(--mono);
  font-size: 8px;
}

.process-card__media--sourcecheck span {
  border-bottom: 1px solid var(--line-light);
  padding: 10px 0;
}

.process-card__media--sourcecheck b,
.process-card__media--sourcecheck i {
  align-self: center;
  color: var(--vermilion-ink);
  font-style: normal;
}

.process-card__media--sourcecheck i {
  color: var(--teal);
  font-weight: 700;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.proof-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-grid > div {
  min-height: 260px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 30px;
}

.proof-grid dt {
  color: var(--project-ink);
  font-family: var(--display);
  font-size: clamp(70px, 8vw, 122px);
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.proof-grid dd {
  max-width: 18ch;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.3;
}

.decision-ledger {
  margin-top: clamp(70px, 8vw, 120px);
  border: 1px solid var(--line-light);
}

.decision-ledger__head,
.decision-ledger article {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  border-bottom: 1px solid var(--line-light);
  padding: 22px 26px;
}

.decision-ledger__head {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.decision-ledger article:last-child {
  border-bottom: 0;
}

.decision-ledger h3 {
  font-family: var(--display);
  font-size: clamp(25px, 2.6vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.decision-ledger p {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.45;
}

.case-section--handover {
  overflow: hidden;
  background:
    linear-gradient(rgba(155, 216, 210, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 216, 210, 0.04) 1px, transparent 1px),
    var(--petrol);
  background-size: 64px 64px;
}

.handover-record {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 90px;
  align-items: center;
}

.handover-record dl {
  border: 1px solid var(--line-dark);
  background: rgba(5, 35, 33, 0.55);
  box-shadow: 18px 22px 0 rgba(155, 216, 210, 0.09);
}

.handover-record dl > div {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 90px;
  border-bottom: 1px solid var(--line-dark);
  padding: 20px 24px;
}

.handover-record dl > div:last-child {
  border-bottom: 0;
}

.handover-record dt,
.handover-record__status {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.handover-record dd {
  font-size: 16px;
}

.handover-record__status {
  color: var(--vermilion);
  font-weight: 700;
}

.next-case {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--deep);
}

.next-case__image {
  position: absolute;
  inset: 0 0 0 48%;
  overflow: hidden;
}

.next-case__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep), rgba(5, 35, 33, 0.2) 45%, rgba(5, 35, 33, 0.05));
  content: "";
}

.next-case__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.8) brightness(0.7);
}

.next-case__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: center;
}

.next-case h2 {
  max-width: 8ch;
}

.next-case__copy > a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  margin-top: 50px;
  border-bottom: 2px solid var(--vermilion);
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.work-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 150px;
  border-top: 1px solid var(--line-dark);
  background: var(--deep);
  padding: 34px max(40px, calc((100vw - 1440px) / 2));
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-footer > a {
  width: 106px;
}

.work-footer p {
  color: rgba(243, 246, 244, 0.58);
}

.work-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.work-footer nav a {
  text-decoration: none;
}

.work-footer nav a:hover,
.next-case__copy > a:hover {
  color: var(--mint);
}

@media (min-width: 1680px) {
  .case-hero {
    min-height: 1160px;
  }

  .case-hero__result {
    grid-column: 3 / 13;
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 52px, 1440px);
  }

  .case-hero {
    min-height: 0;
  }

  .case-hero__heading {
    grid-column: 1 / 10;
  }

  .case-facts {
    grid-column: 9 / 13;
  }

  .case-hero__result {
    grid-column: 1 / 13;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .process-card__media {
    border-right: 0;
    border-bottom: 1px solid rgba(14, 27, 26, 0.2);
  }

  .handover-record {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 40px);
    --section-space: 96px;
  }

  .work-header {
    grid-template-columns: auto 1fr auto;
    min-height: 70px;
    padding: 0 20px;
  }

  .work-header__crumbs {
    display: none;
  }

  .work-header__actions {
    display: flex;
    justify-content: flex-end;
  }

  .work-header__fit {
    display: none;
  }

  .case-hero {
    display: block;
    padding-top: 130px;
    padding-bottom: 90px;
  }

  .case-hero h1 {
    font-size: clamp(64px, 16vw, 106px);
  }

  .case-facts {
    margin-top: 54px;
    margin-bottom: 0;
  }

  .case-hero__result {
    margin-top: 70px;
    box-shadow: -10px 12px 0 color-mix(in srgb, var(--project) 26%, transparent);
  }

  .browser-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-hero__calibration {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-hero__calibration > div:last-child {
    text-align: left;
  }

  .case-hero__calibration > i {
    width: min(300px, 90%);
    margin: 0;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-heading h2,
  .handover-record h2,
  .next-case h2 {
    font-size: clamp(53px, 13vw, 86px);
  }

  .section-heading--split > p {
    max-width: 620px;
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .comparison::before {
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .comparison__panel--before {
    transform: rotate(-0.6deg);
  }

  .change-ledger > li {
    grid-template-columns: 1fr;
  }

  .change-ledger > li > div {
    grid-column: 1;
  }

  .change-ledger p {
    max-width: 60ch;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr);
  }

  .process-card__media {
    border-right: 1px solid rgba(14, 27, 26, 0.2);
    border-bottom: 0;
  }

  .proof-grid,
  .proof-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-ledger__head,
  .decision-ledger article {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .handover-record {
    gap: 54px;
  }

  .next-case__image {
    inset: 0;
    opacity: 0.45;
  }

  .next-case__image::after {
    background: linear-gradient(90deg, rgba(5, 35, 33, 0.96), rgba(5, 35, 33, 0.55));
  }

  .work-footer {
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: 30px 20px;
  }

  .work-footer nav {
    grid-column: 1 / 3;
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  .case-hero__lede {
    font-size: 19px;
  }

  .case-facts > div {
    grid-template-columns: 70px 1fr;
  }

  .case-hero__result {
    margin-right: -10px;
    margin-left: -10px;
  }

  .browser-frame__bar {
    height: 34px;
  }

  .content-drift,
  .service-map,
  .project-pile,
  .portfolio-map {
    min-height: 360px;
    padding: 28px;
  }

  .content-drift__page {
    width: 92%;
    padding: 15px;
    font-size: 8px;
  }

  .service-map,
  .portfolio-map {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-map__source,
  .portfolio-map__source {
    width: 120px;
    margin: auto;
  }

  .service-map__source::after,
  .portfolio-map__source::after {
    display: none;
  }

  .service-map__routes,
  .portfolio-map__routes {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .process-card__media {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 27, 26, 0.2);
  }

  .proof-grid,
  .proof-grid--three {
    grid-template-columns: 1fr;
  }

  .proof-grid > div {
    min-height: 190px;
  }

  .handover-record dl > div {
    grid-template-columns: 1fr auto;
  }

  .handover-record dl > div > dd:not(.handover-record__status) {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .next-case,
  .next-case__copy {
    min-height: 600px;
  }

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

  .work-footer nav {
    grid-column: auto;
    flex-direction: column;
    gap: 12px;
  }
}

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

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