:root {
  --black: #070504;
  --surface: #0c0908;
  --paper: #f0f0ed;
  --muted: #85898d;
  --faint: rgba(240, 240, 237, 0.045);
  --line: rgba(240, 240, 237, 0.12);
  --page-progress: 0;
  --header-offset: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

#inhalt,
#start,
#work,
#capabilities,
#process,
#about,
#b2b,
#contact,
#case-story {
  scroll-margin-top: var(--header-offset);
}

#inhalt:focus,
#inhalt:focus-visible {
  outline: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(86, 38, 18, 0.42), transparent 46%),
    radial-gradient(ellipse at 64% 58%, rgba(42, 18, 12, 0.35), transparent 40%),
    radial-gradient(circle at 75% 7%, rgba(255, 186, 120, 0.04), transparent 22%),
    radial-gradient(circle at 42% 76%, rgba(255, 255, 255, 0.02), transparent 25%), var(--black);
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 24px;
  top: 16px;
  z-index: 80;
  padding: 10px 16px;
  background: var(--black);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.02em;
  transform: translateY(-160%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.skip-link:focus,
.skip-link:focus-visible,
.iframe-skip:focus,
.iframe-skip:focus-visible {
  transform: none;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

.visually-hidden,
.iframe-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.iframe-skip:focus,
.iframe-skip:focus-visible {
  position: relative;
  z-index: 6;
  display: inline-block;
  margin: 0 0 12px;
  padding: 10px 16px;
  background: var(--black);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.02em;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 1px solid #e8a860;
  outline-offset: 6px;
}

.case-frame:focus-visible {
  outline-offset: 0;
}

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 60;
  width: calc(var(--page-progress) * 100%);
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
  padding: 0 clamp(32px, 5vw, 80px);
  pointer-events: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    backdrop-filter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-header.is-scrolled {
  background: rgba(8, 7, 6, 0.38);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand,
.desktop-nav,
.menu-toggle {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f2f0ec;
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.brand:hover {
  opacity: 0.7;
}

.brand-mark {
  display: block;
  width: 18px;
  height: 23px;
  flex: none;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6.9;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.brand-rule {
  width: 1px;
  height: 22px;
  flex: none;
  background: currentColor;
  opacity: 0.88;
}

.brand-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.brand-type span:first-child {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-type span:last-child {
  color: rgba(242, 240, 236, 0.78);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a,
.mobile-menu a,
.menu-toggle {
  position: relative;
  color: rgba(236, 236, 236, 0.72);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.desktop-nav a {
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: rgba(244, 244, 244, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-menu a:hover {
  color: #f4f4f2;
}

.desktop-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 12px 6px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 7px 0;
  background: var(--paper);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.4s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  --hero-exit: 0;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 108px clamp(32px, 8vw, 150px) 88px;
  border-bottom: 0;
  background:
    radial-gradient(ellipse at 88% 46%, rgba(98, 42, 18, 0.3), transparent 44%),
    radial-gradient(ellipse at 80% 38%, rgba(168, 72, 28, 0.07), transparent 28%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 86% 50%, rgba(255, 150, 72, 0.055), transparent 36%);
  opacity: calc(1 - var(--hero-exit) * 0.55);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(38vh, 320px);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(7, 5, 4, 0) 22%,
      rgba(7, 5, 4, 0.5) 68%,
      rgba(7, 5, 4, 0.94) 100%
    ),
    linear-gradient(180deg, transparent 52%, rgba(255, 140, 58, 0.08) 100%);
  opacity: calc(0.2 + var(--hero-exit) * 0.8);
}

.hero-copy {
  position: relative;
  z-index: 14;
  width: min(40rem, 46vw);
  margin-top: -3vh;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10% 18% -18% calc(-1 * clamp(32px, 8vw, 150px));
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(7, 5, 4, 0.58) 0%,
    rgba(7, 5, 4, 0.22) 58%,
    transparent 100%
  );
}

.hero-copy.reveal,
.hero-copy.reveal.visible {
  opacity: calc(1 - var(--hero-exit) * 1.08);
  transform: translate3d(0, calc(var(--hero-exit) * -18px), 0);
  transition: none;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 22px;
  color: rgba(232, 232, 232, 0.72);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(245, 242, 236, 0.5);
  letter-spacing: 0.22em;
  text-shadow: 0 1px 14px rgba(7, 5, 4, 0.88);
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 84px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.046em;
  white-space: nowrap;
  text-shadow:
    0 1px 1px rgba(7, 5, 4, 0.85),
    0 0 22px rgba(7, 5, 4, 0.9),
    0 8px 36px rgba(7, 5, 4, 0.75);
}

.hero-intro {
  max-width: 26em;
  margin: 28px 0 0;
  color: rgba(212, 214, 216, 0.78);
  font-size: 17px;
  line-height: 1.7;
  text-shadow:
    0 1px 16px rgba(7, 5, 4, 0.9),
    0 0 28px rgba(7, 5, 4, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 40px;
  margin-top: 40px;
}

.hero-actions .text-link {
  margin-top: 0;
  color: #f4f1ea;
}

.hero-actions .text-link-quiet {
  color: rgba(236, 236, 236, 0.78);
}

.hero-scroll {
  position: absolute;
  left: clamp(32px, 8vw, 150px);
  bottom: 36px;
  z-index: 14;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 24px;
  height: 56px;
  opacity: calc(0.85 - var(--hero-exit) * 1.2);
  transform: translate3d(0, calc(var(--hero-exit) * 14px), 0);
}

.hero-scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  overflow: hidden;
  background: rgba(240, 240, 237, 0.12);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(232, 148, 72, 0.7), rgba(240, 240, 237, 0.05));
  transform-origin: top;
  animation: hero-scroll-pulse 2.8s ease-in-out infinite;
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.32);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.text-link,
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  color: #ececec;
  font-size: 17px;
  letter-spacing: 0.01em;
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.text-link-quiet {
  color: rgba(236, 236, 236, 0.78);
}

.arrow {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.arrow::before {
  width: 1px;
  height: 12px;
  left: 5px;
  top: -1px;
  transform-origin: center;
}

.arrow::after {
  width: 6px;
  height: 6px;
  background: none;
  border: 0 solid currentColor;
}

.arrow-se::before {
  transform: rotate(-45deg);
}

.arrow-se::after {
  right: 0;
  bottom: 0;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

.arrow-ne::before {
  transform: rotate(45deg);
}

.arrow-ne::after {
  right: 0;
  top: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.text-link span,
.project-link span {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.text-link:hover,
.project-link:hover {
  opacity: 0.7;
}

.text-link:hover .arrow-se {
  transform: translate3d(4px, 4px, 0);
}

.text-link:hover .arrow-ne,
.project-link:hover .arrow {
  transform: translate3d(5px, 0, 0);
}

.text-link-quiet:hover .arrow {
  transform: translate3d(6px, 0, 0);
}

.project-link {
  position: relative;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 28px;
  bottom: -8px;
  height: 1px;
  background: rgba(244, 244, 242, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.project-link:hover::after {
  transform: scaleX(1);
}

.dna-visual {
  position: fixed;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  contain: strict;
  transform: translateZ(0);
  will-change: opacity;
}

.dna-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  filter: saturate(1.2) brightness(1.14) contrast(1.04)
    drop-shadow(0 0 14px rgba(255, 168, 72, 0.32)) drop-shadow(0 0 36px rgba(232, 118, 42, 0.24))
    drop-shadow(0 0 78px rgba(140, 56, 22, 0.18));
}

.dna-atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(ellipse at 73% 48%, rgba(255, 140, 58, 0.16), transparent 22%),
    radial-gradient(ellipse at 68% 52%, rgba(168, 72, 32, 0.14), transparent 34%),
    radial-gradient(ellipse at 62% 46%, rgba(62, 26, 14, 0.22), transparent 52%),
    linear-gradient(
      90deg,
      rgba(7, 5, 4, 0.94) 0%,
      rgba(7, 5, 4, 0.38) 22%,
      transparent 46%,
      transparent 88%,
      rgba(7, 5, 4, 0.22)
    );
}

.portfolio {
  --stage-enter: 0;
  position: relative;
  z-index: 8;
  background: transparent;
  border-bottom: 1px solid var(--faint);
}

.work-intro {
  position: relative;
  z-index: 8;
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh clamp(32px, 8vw, 150px) 10vh;
}

.work-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin-top: 8px;
}

.work-direct a {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.work-direct a:focus,
.work-direct a:focus-visible {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 12px 0 0;
  padding: 10px 16px;
  overflow: visible;
  clip: auto;
  background: var(--black);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.work-intro .section-kicker {
  color: rgba(245, 242, 236, 0.72);
  text-shadow: 0 1px 18px rgba(7, 5, 4, 0.85);
}

.work-intro-title {
  max-width: 14ch;
  margin: 0;
  color: #f6f5f1;
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-shadow: 0 6px 40px rgba(7, 5, 4, 0.88);
}

.work-journey {
  position: relative;
  height: 640svh;
}

.work-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: visible;
}

.work-piece {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
}

.work-piece.is-active {
  z-index: 2;
  visibility: visible;
}

.work-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "index cta"
    "title cta"
    "field cta";
  align-items: end;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 6px;
  max-width: none;
  padding: 0 clamp(32px, 8vw, 150px) 5.5vh;
  pointer-events: none;
}

.work-copy::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: min(42vh, 360px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(7, 5, 4, 0.28) 36%,
    rgba(7, 5, 4, 0.88) 100%
  );
}

.work-copy .exhibit-index {
  grid-area: index;
}

.work-copy h3 {
  grid-area: title;
}

.work-copy .exhibit-field {
  grid-area: field;
}

.work-copy .project-link {
  grid-area: cta;
  margin-top: 0;
  pointer-events: auto;
  justify-self: end;
  align-self: end;
}

.exhibit-index {
  margin: 0;
  color: rgba(246, 244, 238, 0.78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(7, 5, 4, 0.9);
  opacity: var(--index-opacity, 0);
}

.work-copy h3 {
  margin: 0;
  max-width: 18ch;
  color: #f7f6f2;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-transform: none;
  text-shadow: 0 2px 22px rgba(7, 5, 4, 0.92);
  opacity: var(--title-opacity, 0);
}

.exhibit-field {
  margin: 0;
  color: rgba(228, 226, 220, 0.78);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 1px 12px rgba(7, 5, 4, 0.85);
  opacity: var(--meta-opacity, 0);
}

.work-copy .project-link {
  color: #f4f3ef;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgba(7, 5, 4, 0.88);
  opacity: var(--meta-opacity, 0);
}

.work-copy .project-link:hover {
  opacity: 0.7;
}

.work-surface {
  --piece-opacity: 0;
  --piece-yaw: 58deg;
  --piece-tilt: 7deg;
  --piece-scale: 0.7;
  --piece-x: 0vw;
  --piece-y: 0px;
  --piece-z: -170px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --stage-top: calc(108px + 36px);
  --stage-bottom: 26vh;
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: var(--stage-top) 7vw var(--stage-bottom);
  pointer-events: none;
  visibility: hidden;
  opacity: var(--piece-opacity);
  transform: perspective(1680px) translate3d(var(--piece-x), var(--piece-y), var(--piece-z))
    rotateY(var(--piece-yaw)) rotateX(var(--piece-tilt)) scale(var(--piece-scale));
  transform-origin: 50% 42%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.work-plane {
  display: block;
  position: relative;
  width: min(70vw, 1180px, calc((100svh - 108px - 26vh - 56px) * 16 / 9.15));
  max-height: calc(100svh - 108px - 26vh - 56px);
  aspect-ratio: 16 / 9.15;
  overflow: hidden;
  border-radius: 2px;
  background: #0c0a09;
  outline: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.work-plane::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    transparent 16%,
    transparent 78%,
    rgba(0, 0, 0, 0.16)
  );
}

.work-surface[data-variant="2"] .work-plane,
.work-surface[data-variant="3"] .work-plane {
  isolation: isolate;
}

.work-surface[data-variant="2"] .work-plane::before,
.work-surface[data-variant="3"] .work-plane::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.work-surface[data-variant="2"] .work-plane::before {
  background: linear-gradient(
    180deg,
    rgba(36, 18, 12, 0.38) 0%,
    rgba(40, 20, 12, 0.16) 22%,
    rgba(36, 18, 10, 0.08) 100%
  );
}

.work-surface[data-variant="3"] .work-plane::before {
  background: linear-gradient(
    180deg,
    rgba(32, 16, 10, 0.42) 0%,
    rgba(38, 18, 10, 0.18) 20%,
    rgba(32, 16, 8, 0.1) 100%
  );
}

.work-surface[data-variant="2"] .work-plane::after {
  background:
    linear-gradient(180deg, rgba(12, 7, 5, 0.22) 0%, transparent 24%),
    linear-gradient(180deg, transparent 72%, rgba(7, 5, 4, 0.22));
}

.work-surface[data-variant="3"] .work-plane::after {
  background:
    linear-gradient(180deg, rgba(12, 7, 5, 0.26) 0%, transparent 22%),
    linear-gradient(180deg, transparent 70%, rgba(7, 5, 4, 0.24));
}

.work-surface[data-variant="2"] .project-shot img {
  filter: brightness(0.9) contrast(0.94) saturate(0.8) hue-rotate(-4deg);
}

.work-surface[data-variant="3"] .project-shot img {
  filter: brightness(0.88) contrast(0.93) saturate(0.72) hue-rotate(-6deg);
}

.work-surface.is-live {
  cursor: pointer;
}

.work-surface.is-live .work-plane {
  pointer-events: auto;
}

.project-shot {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.project-shot img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translate3d(0, -11.15%, 0);
}

.capabilities,
.process,
.about,
.b2b,
.contact {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--faint);
}

.capabilities {
  min-height: 380svh;
  padding: 0 clamp(32px, 8vw, 150px);
}

.capabilities-lead {
  min-height: 32svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8vh 0 7vh;
}

.capability-stage {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 16vh 0 14vh;
}

.capabilities-heading,
.process-heading {
  max-width: 16ch;
  margin: 0 0 8vh;
  font-size: clamp(40px, 5.4vw, 88px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.process-heading {
  color: #f7f5f1;
}

.capabilities-heading {
  margin-bottom: 0;
}

.capability-list {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.8vh, 28px);
  padding-bottom: 7.5rem;
}

.capability-item {
  --cap-alpha: 0.48;
  --cap-nudge: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    ". line";
  align-items: baseline;
  column-gap: 28px;
  cursor: default;
}

.capability-item b {
  grid-area: num;
  color: rgba(240, 240, 237, 0.28);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  transform: translateX(0);
  transition:
    color 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.capability-item h3 {
  grid-area: title;
  display: block;
  margin: 0;
  color: rgba(245, 245, 241, var(--cap-alpha));
  font-size: clamp(40px, 6.4vw, 104px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.05em;
  will-change: color;
  transition: letter-spacing 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.capability-item h3 button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.capability-item i {
  grid-area: line;
  display: block;
  width: 0;
  height: 1px;
  margin: 10px 0 0;
  background: rgba(240, 240, 237, 0.28);
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.capability-item p {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 42ch;
  margin: 0;
  color: #b4b7b9;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  pointer-events: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.capability-item.is-active b,
.capability-item:hover b {
  color: rgba(240, 240, 237, 0.62);
  transform: translateX(6px);
}

.capability-item.is-active h3,
.capability-item:hover h3 {
  letter-spacing: -0.04em;
}

.capability-item.is-active i,
.capability-item:hover i {
  width: min(120px, 28%);
}

.capability-list:hover .capability-item p {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

.capability-item:hover p,
.capability-list:not(:hover) .capability-item.is-active p {
  opacity: 1;
  transform: none;
}

.process {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  column-gap: clamp(40px, 8vw, 140px);
  align-items: start;
  padding: 22vh clamp(32px, 8vw, 150px) 20vh;
  background: radial-gradient(ellipse at 12% 42%, rgba(255, 176, 128, 0.07), transparent 38%);
}

.process-lead {
  position: sticky;
  top: calc(var(--header-offset) + 8vh);
}

.process-heading {
  margin-bottom: 0;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  grid-template-areas:
    "num title"
    ". copy";
  column-gap: 12px;
  row-gap: 12px;
  align-items: baseline;
  min-height: 24vh;
  padding-bottom: 4vh;
}

.process-list b {
  grid-area: num;
  color: rgba(240, 240, 237, 0.28);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.process-list h3 {
  grid-area: title;
  margin: 0;
  color: #f5f3ef;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
}

.process-list p {
  grid-area: copy;
  max-width: 38ch;
  margin: 0;
  color: #ddd9d3;
  font-size: 17px;
  line-height: 1.7;
}

.about,
.b2b {
  padding: 22vh clamp(32px, 8vw, 150px);
}

.about-copy,
.b2b-copy {
  max-width: 920px;
}

.about-copy h2,
.b2b-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-copy p,
.b2b-copy p,
.contact-copy p {
  max-width: 640px;
  margin: 40px 0 0;
  color: #b4b7b9;
  font-size: 20px;
  line-height: 1.75;
}

.b2b {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 18%),
    radial-gradient(ellipse at 8% 50%, rgba(92, 38, 16, 0.12), transparent 46%);
}

.b2b-lines {
  display: flex;
  flex-direction: column;
  max-width: 920px;
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
}

.b2b-lines li {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: rgba(240, 240, 237, 0.78);
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.03em;
  transition:
    color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    letter-spacing 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    text-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.b2b-lines li:last-child {
  border-bottom: 1px solid var(--line);
}

@media (hover: hover) and (pointer: fine) {
  .b2b-lines:hover li {
    color: rgba(240, 240, 237, 0.28);
  }

  .b2b-lines li:hover {
    color: #fff6ea;
    letter-spacing: -0.018em;
    text-shadow: 0 0 28px rgba(232, 148, 72, 0.28);
  }
}

.b2b-cta {
  margin-top: 72px;
}

.contact {
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22vh clamp(32px, 8vw, 150px) 16vh;
  border-bottom: 0;
  background:
    radial-gradient(ellipse at 18% 72%, rgba(92, 38, 16, 0.16), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(7, 5, 4, 0.7), transparent 46%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.92fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
  max-width: 1280px;
}

.contact-copy {
  max-width: 720px;
}

.contact-copy .text-link {
  display: inline-flex;
  margin-top: 48px;
}

.contact-cta {
  color: #f7f4ee;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.contact-copy .contact-note {
  max-width: none;
  margin: 16px 0 0;
  color: rgba(180, 183, 185, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  border-top: 1px solid var(--line);
}

.contact-lines li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-lines a,
.contact-lines li:last-child {
  display: grid;
  align-items: baseline;
  padding: 22px 0;
}

.contact-lines a {
  grid-template-columns: 7.2rem minmax(0, 1fr) auto;
  gap: 12px 20px;
}

.contact-lines li:last-child {
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 12px 20px;
}

.contact-lines span {
  color: rgba(232, 232, 232, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-lines b {
  color: #f2f0ec;
  font-size: clamp(20px, 2.15vw, 32px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-lines a b {
  justify-self: start;
  padding-bottom: 6px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left calc(100% - 1px);
  background-size: 100% 1px;
  color: #f4f1eb;
  transition: color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.contact-lines a .arrow {
  align-self: center;
  opacity: 0.55;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.contact-lines a:focus-visible {
  outline: 1px solid #e8a860;
  outline-offset: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-lines a:hover b {
    color: #fff8f0;
  }

  .contact-lines a:hover .arrow {
    opacity: 1;
    transform: translate3d(5px, 0, 0);
  }
}

footer {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 48px clamp(40px, 6vw, 96px);
  width: min(1280px, calc(100% - 2 * clamp(32px, 8vw, 150px)));
  margin-inline: clamp(32px, 8vw, 150px);
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: rgba(180, 183, 185, 0.78);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 22rem;
}

.footer-brand p {
  margin: 0;
  color: #b4b7b9;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.012em;
}

.footer-nav,
.footer-meta,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: rgba(236, 236, 236, 0.72);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #f4f4f2;
}

.footer-meta {
  color: rgba(180, 183, 185, 0.72);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.footer-legal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  transition: color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-meta a,
.footer-legal a {
  color: rgba(236, 236, 236, 0.72);
}

.footer-meta a:hover,
.footer-legal a:hover,
.footer-meta a:focus-visible,
.footer-legal a:focus-visible {
  color: #f4f4f2;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  max-width: 760px;
  padding: 180px clamp(32px, 8vw, 150px) 12vh;
}

.legal-main h1 {
  margin: 0 0 36px;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.045em;
}

.legal-main h2 {
  margin: 48px 0 16px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.legal-main p,
.legal-main address,
.legal-main li {
  color: #b4b7b9;
  font-size: 17px;
  line-height: 1.75;
  font-style: normal;
}

.legal-main a {
  color: #e8e6e2;
  border-bottom: 1px solid rgba(240, 240, 237, 0.28);
  transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.legal-main a:hover {
  opacity: 0.7;
}

.legal-main h3 {
  margin: 28px 0 12px;
  color: #e8e6e2;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.legal-main ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
}

.legal-main code {
  color: #e8e6e2;
  font-size: 0.92em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (scripting: none) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .work-journey {
    height: auto;
  }

  .work-stage {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0 56px;
  }

  .work-piece,
  .work-piece.is-active {
    position: relative;
    inset: auto;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
  }

  .work-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 28px clamp(24px, 6vw, 80px);
    pointer-events: auto;
  }

  .work-copy::before {
    display: none;
  }

  .work-copy .exhibit-index,
  .work-copy h3,
  .work-copy .exhibit-field,
  .work-copy .project-link {
    opacity: 1;
  }

  .work-surface,
  .dna-visual,
  .page-progress,
  .work-direct {
    display: none;
  }

  .capability-item {
    --cap-alpha: 1;
    --cap-nudge: 1;
  }

  html[data-afterglow] [data-afterglow-section],
  html[data-afterglow] .process-list li,
  html[data-afterglow] .b2b-lines li {
    --in: 1 !important;
    --process-fill: 1 !important;
    --b2b-fill: 1 !important;
    --cap-progress: 1 !important;
  }

  .case-hero,
  .case-view .case-frame,
  .case-view .case-view-copy,
  .case-view .case-chapter {
    opacity: 1;
    transform: none;
  }
}

.hero-copy.reveal,
.hero-copy.reveal.visible {
  transition: none;
}

.capabilities-lead .reveal {
  transform: translateY(8px);
  transition-duration: 0.36s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.case-page {
  min-height: 100vh;
}

.case-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 clamp(32px, 5vw, 80px);
  background: linear-gradient(180deg, rgba(7, 5, 4, 0.88), transparent);
}

.case-close {
  color: rgba(236, 236, 236, 0.55);
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-close:hover {
  color: #f4f4f2;
}

.case-main {
  overflow: clip;
}

.case-hero {
  min-height: auto;
  padding: 180px clamp(32px, 8vw, 150px) 56px;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
}

.case-page.is-ready .case-hero {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.8s cubic-bezier(0.32, 0.08, 0.18, 1),
    transform 1.8s cubic-bezier(0.32, 0.08, 0.18, 1);
}

.case-index,
.case-category {
  margin: 0;
  color: rgba(232, 232, 232, 0.72);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-category {
  margin-top: 16px;
}

.case-hero h1 {
  max-width: 14ch;
  margin: 22px 0 28px;
  font-size: clamp(48px, 6.4vw, 104px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.case-intro {
  max-width: 640px;
  color: #b4b7b9;
  font-size: 18px;
  line-height: 1.7;
}

.case-facts {
  display: flex;
  gap: clamp(32px, 6vw, 88px);
  margin-top: 48px;
}

.case-facts div {
  display: grid;
  gap: 10px;
}

.case-facts span {
  color: rgba(232, 232, 232, 0.45);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-facts b {
  font-size: 16px;
  font-weight: 400;
}

.case-desktop,
.case-frame,
.case-lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9.15;
  height: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #0c0a09;
  outline: 1px solid rgba(255, 255, 255, 0.06);
}

.case-desktop::after {
  display: none;
}

.case-views {
  padding: 2vh clamp(32px, 8vw, 150px) 6vh;
}

.case-views-list {
  display: flex;
  flex-direction: column;
  gap: 12vh;
}

.case-view {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  grid-template-areas: "frame copy";
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  overflow: hidden;
}

.case-view.has-chapter {
  grid-template-areas:
    "chapter chapter"
    "frame copy";
}

.case-view .case-frame,
.case-view .case-view-copy,
.case-view .case-chapter {
  min-width: 0;
}

.case-chapter {
  grid-area: chapter;
}

.case-view .case-frame {
  grid-area: frame;
}

.case-view-copy {
  grid-area: copy;
}

.case-view .case-frame,
.case-view .case-view-copy {
  opacity: 0;
  transform: translate3d(0, 72px, 0);
  transition:
    opacity 1.7s cubic-bezier(0.32, 0.08, 0.18, 1),
    transform 1.7s cubic-bezier(0.32, 0.08, 0.18, 1),
    outline-color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-view .case-view-copy {
  transition-delay: 0.32s;
}

.case-view.is-inview .case-frame,
.case-view.is-inview .case-view-copy {
  opacity: 1;
  transform: none;
}

.case-view:first-child {
  grid-template-columns: 1fr;
  grid-template-areas:
    "frame"
    "copy";
  gap: 28px;
}

.case-view.has-chapter:first-child {
  grid-template-areas:
    "chapter"
    "frame"
    "copy";
}

.case-view:first-child .case-frame {
  max-width: 1100px;
}

.case-view:first-child .case-view-copy {
  max-width: 560px;
}

.case-chapter {
  margin: 0 0 4px;
  color: rgba(232, 232, 232, 0.42);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-view .case-chapter {
  opacity: 0;
  transform: translate3d(0, 72px, 0);
  transition:
    opacity 1.7s cubic-bezier(0.32, 0.08, 0.18, 1),
    transform 1.7s cubic-bezier(0.32, 0.08, 0.18, 1);
}

.case-view.is-inview .case-chapter {
  opacity: 1;
  transform: none;
}

.case-view:nth-child(even) {
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  grid-template-areas: "copy frame";
}

.case-view.has-chapter:nth-child(even) {
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  grid-template-areas:
    "chapter chapter"
    "copy frame";
}

.case-frame {
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
  outline-color: rgba(255, 255, 255, 0.06);
  transition: outline-color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-frame:hover,
.case-frame:focus-visible {
  outline-color: rgba(255, 255, 255, 0.16);
}

.case-frame .project-shot,
.case-lightbox-frame .project-shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.case-frame .project-shot img,
.case-lightbox-frame .project-shot img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translate3d(0, var(--shot-y, -11.15%), 0) scale(var(--shot-zoom, 1));
  transform-origin: var(--shot-origin, 50% 12%);
}

.case-frame[data-crop="site"] {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  height: auto;
  max-height: none;
  justify-self: start;
}

.case-view:nth-child(even) .case-frame[data-crop="site"] {
  justify-self: end;
  margin-left: auto;
}

.case-frame[data-crop="site"] .project-shot,
.case-lightbox-frame[data-crop="site"] .project-shot {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
}

.case-frame[data-crop="site"] .project-shot img,
.case-lightbox-frame[data-crop="site"] .project-shot img {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--case-shot-max, min(78vh, 820px));
  object-fit: contain;
  object-position: top center;
  transform: none;
}

.case-lightbox-frame[data-crop="site"] {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  width: auto;
  max-width: min(92vw, 1320px);
  max-height: none;
  overflow: hidden;
  --case-shot-max: min(76vh, 980px);
}

.case-lightbox-frame[data-crop="site"] .project-shot {
  overflow: visible;
}

.case-view-copy span {
  display: block;
  margin: 0 0 14px;
  color: rgba(232, 232, 232, 0.72);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-view-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.case-view-copy p {
  max-width: 460px;
  margin: 18px 0 0;
  color: #b0b3b5;
  font-size: 17px;
  line-height: 1.7;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 10vh 6vw 7vh;
  background: rgba(7, 5, 4, 0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.45s;
}

.case-lightbox[hidden] {
  display: none;
}

.case-lightbox:not([hidden]) {
  display: grid;
}

.case-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-lightbox-close {
  position: absolute;
  top: 28px;
  right: clamp(24px, 5vw, 64px);
}

.case-lightbox-frame {
  max-width: min(92vw, 1320px);
  width: 100%;
  cursor: default;
  transition: opacity 0.85s cubic-bezier(0.32, 0.08, 0.18, 1);
}

.case-lightbox-frame.is-changing {
  opacity: 0;
}

.case-lightbox-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(92vw, 640px);
  gap: 20px;
}

.case-lightbox-prev,
.case-lightbox-next,
.case-lightbox-close {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(244, 244, 242, 0.7);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-lightbox-prev {
  justify-self: start;
}

.case-lightbox-next {
  justify-self: end;
}

.case-lightbox-prev:hover,
.case-lightbox-next:hover,
.case-lightbox-close:hover,
.case-lightbox-prev:focus-visible,
.case-lightbox-next:focus-visible,
.case-lightbox-close:focus-visible {
  color: #f4f4f2;
  outline-offset: 4px;
}

.case-lightbox-index {
  margin: 0;
  color: rgba(232, 232, 232, 0.72);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.case-lightbox-caption {
  max-width: 640px;
  margin: 0;
  color: rgba(220, 220, 216, 0.72);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.case-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding: 18vh clamp(32px, 8vw, 150px);
  border-top: 1px solid var(--faint);
}

.story-block span,
.case-details .section-eyebrow {
  color: rgba(232, 232, 232, 0.72);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-details .section-eyebrow {
  margin: 0;
  font-weight: 400;
}

.story-block h2 {
  margin: 28px 0;
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.story-block p {
  max-width: 570px;
  color: #b0b3b5;
  font-size: 18px;
  line-height: 1.75;
}

.story-block.offset {
  margin-top: 18vh;
}

.case-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding: 10vh clamp(32px, 8vw, 150px) 18vh;
}

.services,
.features {
  display: grid;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.services li,
.features li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: #c4c6c6;
  font-size: 16px;
}

.next-case {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding: 10vh clamp(32px, 8vw, 150px);
  border-top: 1px solid var(--line);
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.next-case:hover {
  opacity: 0.72;
}

.next-case span {
  grid-column: 1;
  color: rgba(232, 232, 232, 0.72);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-case strong {
  grid-column: 1;
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 300;
  letter-spacing: -0.05em;
}

.next-case i {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 32px;
  font-style: normal;
}

.case-phone {
  --phone-vp-w: 440px;
  --phone-vp-h: 956px;
  --phone-bezel: 12px;
  --phone-shell-w: 464px;
  --phone-shell-h: 980px;
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(280px, 0.92fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  padding: 10vh clamp(32px, 8vw, 150px) 12vh;
  border-top: 0;
  overflow: visible;
  scroll-margin-top: 120px;
}

.case-phone-copy span {
  display: block;
  color: rgba(232, 232, 232, 0.42);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-phone-copy h2 {
  max-width: 12ch;
  margin: 18px 0 22px;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.case-phone-copy p {
  max-width: 420px;
  margin: 0;
  color: #b0b3b5;
  font-size: 17px;
  line-height: 1.7;
}

.phone-frame-slot {
  container-type: inline-size;
  width: min(100%, 400px, calc((100svh - 160px) * 464 / 980));
  aspect-ratio: 464 / 980;
  justify-self: end;
  position: relative;
  overflow: hidden;
}

.iphone-17 {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--phone-shell-w);
  height: var(--phone-shell-h);
  padding: var(--phone-bezel);
  border-radius: 68px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(
      90deg,
      #1a1a1c 0%,
      #6a6b70 12%,
      #3e3f44 32%,
      #2a2b2f 50%,
      #5c5d62 72%,
      #3a3b40 88%,
      #141416 100%
    );
  box-shadow:
    0 48px 90px rgba(0, 0, 0, 0.5),
    0 12px 28px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 3px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%) scale(calc(100cqi / 464px));
  transform-origin: top center;
}

.iphone-17-btn {
  position: absolute;
  z-index: 2;
  display: block;
  background: linear-gradient(90deg, #1c1c1e, #6e6f74 45%, #2c2d31);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.iphone-17-btn-action {
  top: 168px;
  left: -3px;
  width: 4px;
  height: 34px;
  border-radius: 2px 0 0 2px;
}

.iphone-17-btn-vol-up {
  top: 228px;
  left: -3px;
  width: 4px;
  height: 58px;
  border-radius: 2px 0 0 2px;
}

.iphone-17-btn-vol-down {
  top: 298px;
  left: -3px;
  width: 4px;
  height: 58px;
  border-radius: 2px 0 0 2px;
}

.iphone-17-btn-power {
  top: 214px;
  right: -3px;
  width: 4px;
  height: 92px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #2c2d31, #6e6f74 55%, #1c1c1e);
}

.iphone-17-btn-camera {
  top: 328px;
  right: -4px;
  width: 5px;
  height: 72px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #141416, #5a5b60 40%, #2a2b2f);
}

.iphone-17-screen {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: var(--phone-vp-w);
  height: var(--phone-vp-h);
  overflow: hidden;
  border-radius: 56px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.72);
  overscroll-behavior: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='440' height='956'%3E%3Crect width='440' height='956' rx='56' ry='56' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='440' height='956'%3E%3Crect width='440' height='956' rx='56' ry='56' fill='%23fff'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.iphone-17-status {
  position: relative;
  z-index: 3;
  flex: 0 0 62px;
  background: #f4f0e8;
}

.iphone-17-viewport {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 56px 56px;
  background: inherit;
}

.iphone-17-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  border-radius: 0 0 56px 56px;
  -webkit-clip-path: inset(0 round 0 0 56px 56px);
  clip-path: inset(0 round 0 0 56px 56px);
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.iphone-17-island {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 126px;
  height: 36px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88px 18px, #1c1c1e 0 6px, transparent 7px),
    radial-gradient(circle at 104px 18px, #141416 0 5px, transparent 6px), #050505;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.iphone-17-home {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  z-index: 3;
  width: 134px;
  height: 5px;
  margin: 0 auto;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.capability-aside {
  display: none;
}

.capability-rail {
  display: none;
}

html[data-afterglow] .dna-visual.is-afterglow {
  transform: translate3d(calc(var(--afterglow, 0) * 2vw), calc(var(--afterglow, 0) * 8vh), 0)
    scale(calc(1 - var(--afterglow, 0) * 0.04));
  transform-origin: 48% 50%;
  transition: transform 2.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(100% - var(--afterglow, 0) * 54%),
    rgb(0 0 0 / calc(1 - var(--afterglow, 0) * 0.85)) calc(100% - var(--afterglow, 0) * 42%),
    rgb(0 0 0 / calc(1 - var(--afterglow, 0))) calc(100% - var(--afterglow, 0) * 30%)
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(100% - var(--afterglow, 0) * 54%),
    rgb(0 0 0 / calc(1 - var(--afterglow, 0) * 0.85)) calc(100% - var(--afterglow, 0) * 42%),
    rgb(0 0 0 / calc(1 - var(--afterglow, 0))) calc(100% - var(--afterglow, 0) * 30%)
  );
}

html[data-afterglow] [data-afterglow-section] {
  --in: 0;
  --process-fill: 0;
  --b2b-fill: 0;
}

html[data-afterglow] [data-afterglow-section] .section-kicker {
  color: rgba(238, 186, 118, 0.88);
}

html[data-afterglow] .capability-item:hover b {
  color: rgba(232, 168, 96, calc(0.22 + var(--cap-nudge, 0) * 0.62));
  transform: none;
}

html[data-afterglow] .capability-item:hover h3 {
  letter-spacing: -0.05em;
  color: rgba(245, 245, 241, var(--cap-alpha));
  transform: translate3d(calc(var(--cap-nudge, 0) * 10px), 0, 0);
}

html[data-afterglow] .capability-item.is-active h3,
html[data-afterglow] .capability-item.is-active:hover h3 {
  letter-spacing: -0.04em;
}

html[data-afterglow] .capability-item:hover i {
  width: calc(var(--cap-nudge, 0) * 132px);
  max-width: 32%;
  background: rgba(232, 148, 72, calc(0.18 + var(--cap-nudge, 0) * 0.55));
}

html[data-afterglow] .capability-item {
  cursor: pointer;
}

html[data-afterglow] .capability-item button:focus-visible {
  outline: 1px solid #e8a860;
  outline-offset: 10px;
}

html[data-afterglow] .capability-item b {
  color: rgba(232, 168, 96, calc(0.22 + var(--cap-nudge, 0) * 0.62));
  font-variant-numeric: tabular-nums;
  transition: none;
}

html[data-afterglow] .capability-item h3 {
  transform: translate3d(calc(var(--cap-nudge, 0) * 10px), 0, 0);
  will-change: auto;
}

html[data-afterglow] .capability-item i {
  width: calc(var(--cap-nudge, 0) * 132px);
  max-width: 32%;
  background: rgba(232, 148, 72, calc(0.18 + var(--cap-nudge, 0) * 0.55));
  transition: none;
}

html[data-afterglow] .capability-item.is-active b {
  color: rgba(232, 168, 96, 0.86);
  transform: translateX(0);
}

html[data-afterglow] .capability-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 36vw);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

html[data-afterglow] .capability-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 34ch;
  padding: 4px 0 4px 32px;
  justify-self: end;
  background: none;
  border: 0;
  isolation: isolate;
  z-index: 5;
}

html[data-afterglow] .capability-aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(232, 148, 72, 0.7), rgba(232, 148, 72, 0.12));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-afterglow] .capabilities.is-live .capability-aside::before {
  transform: scaleY(1);
}

html[data-afterglow] .capability-aside b,
html[data-afterglow] .capability-aside p {
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-afterglow] .capability-aside.is-swap b,
html[data-afterglow] .capability-aside.is-swap p {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

html[data-afterglow] .capability-aside b {
  color: rgba(232, 168, 96, 0.8);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
}

html[data-afterglow] .capability-aside b::after {
  content: " / 04";
  color: rgba(240, 240, 237, 0.28);
  letter-spacing: 0.2em;
}

html[data-afterglow] .capability-aside p {
  margin: 0;
  color: #f3f1ed;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

html[data-afterglow] .capability-item p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}

html[data-afterglow] .capability-list {
  padding: 0 0 0 28px;
}

html[data-afterglow] .capability-rail {
  display: block;
  position: absolute;
  left: 0;
  top: var(--cap-rail-top, 0px);
  height: var(--cap-rail-span, 100%);
  width: 1px;
  pointer-events: none;
  background: rgba(240, 240, 237, 0.08);
}

html[data-afterglow] .capability-rail i {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: calc(var(--cap-progress, 0) * 100%);
  font-style: normal;
  background: linear-gradient(180deg, rgba(232, 148, 72, 0.05), rgba(232, 168, 96, 0.9));
}

html[data-afterglow] .capability-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--cap-progress, 0) * 100%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e8a860;
  box-shadow: 0 0 14px rgba(232, 148, 72, 0.55);
  transform: translate(-50%, -50%);
}

html[data-afterglow] .process-heading {
  padding-bottom: 18px;
  background-image: linear-gradient(90deg, rgba(232, 148, 72, 0.7), rgba(232, 148, 72, 0.7));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: calc(var(--in, 0) * 4.5rem) 1px;
}

html[data-afterglow] .process-list {
  position: relative;
  padding-left: 22px;
}

html[data-afterglow] .process-list::before,
html[data-afterglow] .process-list::after {
  content: "";
  position: absolute;
  top: 0.35em;
  bottom: 0.4em;
  left: 0;
  width: 1px;
  pointer-events: none;
}

html[data-afterglow] .process-list::before {
  background: rgba(240, 240, 237, 0.08);
}

html[data-afterglow] .process-list::after {
  bottom: auto;
  height: calc(var(--process-fill, 0) * (100% - 0.75em));
  background: linear-gradient(180deg, rgba(232, 148, 72, 0.12), rgba(232, 168, 96, 0.92));
}

html[data-afterglow] .process-list li {
  position: relative;
}

html[data-afterglow] .process-list li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 0.42em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(232, 148, 72, calc(0.18 + var(--in, 0) * 0.82));
  box-shadow: 0 0 calc(var(--in, 0) * 14px) rgba(232, 148, 72, calc(var(--in, 0) * 0.55));
  transform: translate(-50%, -50%) scale(calc(0.7 + var(--in, 0) * 0.3));
}

html[data-afterglow] .process-list li.is-current::before {
  background: #e8a860;
  box-shadow: 0 0 16px rgba(232, 148, 72, 0.75);
}

html[data-afterglow] .process .section-kicker {
  color: rgba(238, 186, 118, 0.82);
}

html[data-afterglow] .process-list b {
  color: rgba(238, 186, 118, calc(0.62 + var(--in, 0) * 0.38));
}

html[data-afterglow] .process-list h3 {
  color: rgba(247, 245, 241, calc(0.62 + var(--in, 0) * 0.38));
  letter-spacing: calc(-0.05em + var(--in, 0) * 0.008em);
}

html[data-afterglow] .process-list p {
  color: rgba(221, 217, 211, calc(0.72 + var(--in, 0) * 0.28));
}

html[data-afterglow] .about::after,
html[data-afterglow] .b2b::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 22vh;
  right: clamp(56px, 16vw, 240px);
  bottom: 20vh;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(232, 148, 72, 0.42) 22%,
    rgba(232, 148, 72, 0.1) 78%,
    transparent
  );
  transform: scaleY(var(--in, 0));
  transform-origin: top;
}

html[data-afterglow] .about-copy,
html[data-afterglow] .b2b-copy,
html[data-afterglow] .b2b-lines,
html[data-afterglow] .contact-copy,
html[data-afterglow] .contact-lines,
html[data-afterglow] .process-heading {
  position: relative;
  z-index: 1;
}

html[data-afterglow] .about-copy h2,
html[data-afterglow] .b2b-copy h2 {
  padding-bottom: 18px;
  background-image: linear-gradient(90deg, rgba(232, 148, 72, 0.7), rgba(232, 148, 72, 0.7));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: calc(var(--in, 0) * 4.5rem) 1px;
}

html[data-afterglow] .b2b-lines {
  position: relative;
  z-index: 1;
  padding-left: 28px;
}

html[data-afterglow] .b2b-lines::before,
html[data-afterglow] .b2b-lines::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 1px;
  pointer-events: none;
}

html[data-afterglow] .b2b-lines::before {
  bottom: 0.7em;
  background: rgba(240, 240, 237, 0.08);
}

html[data-afterglow] .b2b-lines::after {
  height: calc(var(--b2b-fill, 0) * (100% - 1.4em));
  background: linear-gradient(180deg, rgba(232, 148, 72, 0.12), rgba(232, 168, 96, 0.88));
}

html[data-afterglow] .b2b-lines li {
  padding-left: 0;
  opacity: 1;
  transform: none;
  background-image: linear-gradient(
    90deg,
    rgba(232, 148, 72, 0.18),
    rgba(232, 148, 72, 0.05) 38%,
    transparent 72%
  );
  background-repeat: no-repeat;
  background-position: -28px 50%;
  background-size: 0 100%;
  transition:
    color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    letter-spacing 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    text-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-size 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-afterglow] .b2b-lines li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd4a0;
  box-shadow: 0 0 0 0 rgba(232, 148, 72, 0);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.35);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  html[data-afterglow] .b2b-lines:hover li {
    color: rgba(232, 226, 218, 0.26);
    text-shadow: none;
    letter-spacing: -0.03em;
    background-size: 0 100%;
  }

  html[data-afterglow] .b2b-lines li:hover {
    color: #fff8f0;
    letter-spacing: -0.018em;
    text-shadow: 0 0 36px rgba(232, 148, 72, 0.42);
    background-size: 82% 100%;
  }

  html[data-afterglow] .b2b-lines li:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 18px rgba(232, 148, 72, 0.9);
  }
}

html[data-afterglow] .contact-lines span {
  color: rgba(238, 186, 118, 0.88);
}

@media (max-width: 1280px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 0 40px;
    background: rgba(7, 5, 4, 0.96);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0.45s;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu a {
    font-size: 32px;
    letter-spacing: -0.02em;
    color: rgba(244, 244, 242, 0.88);
  }
}

@media (max-width: 980px) {
  .process {
    grid-template-columns: 1fr;
  }

  .process-lead {
    position: static;
    margin-bottom: 7vh;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
  }

  html[data-afterglow] .capability-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    padding: 12vh 0 10vh;
  }

  html[data-afterglow] .capability-aside {
    justify-self: start;
    max-width: 36ch;
    padding: 2px 0 2px 22px;
  }

  html[data-afterglow] .capability-aside p {
    font-size: 20px;
  }

  html[data-afterglow] .process-list li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  html[data-afterglow] .process-list b {
    color: rgba(238, 186, 118, calc(0.62 + var(--in, 0) * 0.38));
  }

  html[data-afterglow] .process-list p {
    color: rgba(221, 217, 211, calc(0.72 + var(--in, 0) * 0.28));
  }

  html[data-afterglow] .process-list::before,
  html[data-afterglow] .process-list::after {
    left: 0;
  }

  html[data-afterglow] .about::after,
  html[data-afterglow] .b2b::after {
    right: 28px;
  }

  .work-copy {
    padding: 0 clamp(24px, 5vw, 64px) 5vh;
    column-gap: 28px;
  }

  .work-copy h3 {
    font-size: clamp(22px, 3.4vw, 34px);
    max-width: 16ch;
  }

  .work-surface {
    padding: calc(108px + 32px) 5vw 26vh;
  }

  .work-plane {
    width: min(74vw, 1000px, calc((100svh - 108px - 26vh - 52px) * 16 / 9.15));
    max-height: calc(100svh - 108px - 26vh - 52px);
  }

  .case-views {
    padding-inline: clamp(24px, 5vw, 64px);
  }

  .case-phone {
    grid-template-columns: 1fr;
    padding-inline: clamp(24px, 5vw, 64px);
  }

  .phone-frame-slot {
    justify-self: start;
  }

  .case-view,
  .case-view:nth-child(even),
  .case-view.has-chapter,
  .case-view.has-chapter:nth-child(even),
  .case-view:first-child,
  .case-view.has-chapter:first-child {
    grid-template-columns: 1fr;
    grid-template-areas:
      "chapter"
      "frame"
      "copy";
  }

  .case-view:not(.has-chapter),
  .case-view:not(.has-chapter):nth-child(even),
  .case-view:not(.has-chapter):first-child {
    grid-template-areas:
      "frame"
      "copy";
  }

  .case-view:nth-child(even) .case-frame,
  .case-view:nth-child(even) .case-view-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .case-view:nth-child(even) .case-frame[data-crop="site"] {
    justify-self: start;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  :root {
    --header-offset: 56px;
  }

  .site-header {
    height: 76px;
    padding-inline: 20px;
  }

  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 7, 6, 0.84);
  }

  .dna-canvas {
    filter: saturate(1.18) brightness(1.12) contrast(1.03)
      drop-shadow(0 0 22px rgba(255, 168, 72, 0.3));
  }

  .work-surface {
    will-change: auto;
  }

  .brand-mark {
    width: 16px;
    height: 20px;
  }

  .brand-rule {
    height: 19px;
  }

  .brand-type span:first-child {
    font-size: 12px;
  }

  .brand-type span:last-child {
    font-size: 7.5px;
  }

  .hero {
    display: block;
    padding: 0;
    background:
      radial-gradient(ellipse at 78% 42%, rgba(98, 42, 18, 0.26), transparent 48%),
      radial-gradient(ellipse at 62% 36%, rgba(168, 72, 28, 0.06), transparent 32%);
  }

  .hero-copy {
    width: auto;
    margin-top: 0;
    padding: 22vh 24px 96px;
  }

  .hero-copy::before {
    inset: 4% -24px 0 -24px;
    background: linear-gradient(
      180deg,
      rgba(7, 5, 4, 0.2) 0%,
      rgba(7, 5, 4, 0.72) 22%,
      rgba(7, 5, 4, 0.82) 58%,
      rgba(7, 5, 4, 0.55) 88%,
      transparent 100%
    );
  }

  .hero h1 {
    font-size: clamp(38px, 10.4vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    white-space: normal;
    text-shadow:
      0 1px 1px rgba(7, 5, 4, 0.95),
      0 0 18px rgba(7, 5, 4, 0.95),
      0 10px 40px rgba(7, 5, 4, 0.88);
  }

  .hero-intro {
    max-width: 22em;
    margin-top: 22px;
    font-size: 16px;
    color: rgba(226, 227, 228, 0.88);
  }

  .hero-actions {
    gap: 8px 28px;
    margin-top: 32px;
  }

  .hero-scroll {
    left: 24px;
    bottom: 28px;
    height: 44px;
  }

  .hero-actions .text-link {
    text-shadow: 0 1px 14px rgba(7, 5, 4, 0.92);
  }

  .text-link {
    margin-top: 36px;
    font-size: 16px;
  }

  .dna-atmosphere {
    background:
      radial-gradient(ellipse at 78% 42%, rgba(255, 140, 58, 0.12), transparent 20%),
      radial-gradient(ellipse at 70% 58%, rgba(120, 52, 24, 0.1), transparent 32%),
      linear-gradient(
        90deg,
        rgba(7, 5, 4, 0.96) 0%,
        rgba(7, 5, 4, 0.72) 38%,
        rgba(7, 5, 4, 0.28) 62%,
        transparent 82%
      );
  }

  .work-intro {
    min-height: 52svh;
    padding: 8vh 24px 8vh;
  }

  .work-intro-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .work-journey {
    height: 540svh;
  }

  .work-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "index"
      "title"
      "field"
      "cta";
    padding: 0 24px 5vh;
    row-gap: 8px;
  }

  .work-copy h3 {
    font-size: clamp(22px, 6.4vw, 32px);
    max-width: none;
  }

  .work-copy .project-link {
    justify-self: start;
  }

  .work-surface {
    place-items: center;
    padding: calc(76px + 24px) 18px 28vh;
  }

  .work-plane {
    width: min(86vw, 560px, calc((100svh - 76px - 28vh - 44px) * 16 / 9.15));
    max-height: calc(100svh - 76px - 28vh - 44px);
  }

  .capabilities {
    min-height: 320svh;
    padding: 0 24px;
  }

  .capabilities-lead {
    min-height: 28svh;
    padding: 6vh 0 6vh;
  }

  .capability-stage {
    padding: 12vh 0;
  }

  .capabilities-heading,
  .process-heading {
    font-size: clamp(34px, 10vw, 52px);
    margin-bottom: 6vh;
  }

  .capability-item {
    column-gap: 16px;
  }

  .capability-item h3 {
    font-size: clamp(28px, 8.4vw, 44px);
  }

  .capability-item p {
    font-size: 16px;
  }

  .process {
    grid-template-columns: 1fr;
    padding: 16vh 24px 12vh;
  }

  .process-lead {
    position: static;
    margin-bottom: 8vh;
  }

  .process-list {
    gap: 0;
  }

  .process-list li {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    row-gap: 10px;
    min-height: 0;
    padding-bottom: 5.5vh;
  }

  .process-list h3 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .process-list p {
    font-size: 16px;
  }

  .about,
  .b2b {
    padding: 16vh 24px;
  }

  .about-copy h2,
  .b2b-copy h2,
  .contact-copy h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .about-copy p,
  .b2b-copy p,
  .contact-copy p {
    font-size: 17px;
  }

  .b2b-lines {
    margin-top: 48px;
  }

  .b2b-lines li {
    font-size: 22px;
    padding: 18px 0;
  }

  .b2b-lines li:hover {
    transform: none;
  }

  .b2b-cta {
    margin-top: 48px;
  }

  .contact {
    min-height: 88svh;
    padding: 16vh 24px 12vh;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .contact-copy .text-link {
    margin-top: 36px;
    font-size: 20px;
  }

  .contact-copy .contact-note {
    font-size: 14px;
  }

  .contact-lines a {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 18px 0;
  }

  .contact-lines li:last-child {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .contact-lines span {
    grid-column: 1 / -1;
  }

  .contact-lines b {
    font-size: clamp(20px, 6vw, 28px);
  }

  footer {
    width: auto;
    margin-inline: 24px;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0 36px;
  }

  .legal-main {
    padding: 140px 24px 10vh;
  }

  .case-header {
    height: 76px;
    padding-inline: 20px;
  }

  .case-phone {
    scroll-margin-top: 84px;
  }

  .case-hero {
    padding: 140px 24px 48px;
  }

  .case-hero h1 {
    font-size: 48px;
  }

  .case-lightbox {
    padding: 12vh 20px 6vh;
    gap: 16px;
  }

  .case-lightbox-toolbar {
    width: 100%;
    gap: 12px;
  }

  .case-frame[data-crop="site"] {
    --case-shot-max: min(64vh, 620px);
  }

  .case-lightbox-frame[data-crop="site"] {
    --case-shot-max: min(62vh, 720px);
  }

  .case-intro {
    font-size: 17px;
  }

  .case-facts {
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 36px;
  }

  .case-views {
    padding: 0 24px 5vh;
    gap: 8vh;
  }

  .case-view,
  .case-view:nth-child(even),
  .case-view.has-chapter,
  .case-view.has-chapter:nth-child(even),
  .case-view:first-child,
  .case-view.has-chapter:first-child {
    grid-template-columns: 1fr;
    grid-template-areas:
      "chapter"
      "frame"
      "copy";
  }

  .case-view:not(.has-chapter),
  .case-view:not(.has-chapter):nth-child(even),
  .case-view:not(.has-chapter):first-child {
    grid-template-areas:
      "frame"
      "copy";
  }

  .case-view:nth-child(even) .case-view-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .case-view:nth-child(even) .case-frame[data-crop="site"] {
    justify-self: start;
    margin-left: 0;
  }

  .case-story,
  .case-details {
    grid-template-columns: 1fr;
    padding: 12vh 24px;
  }

  .case-phone {
    padding: 8vh 24px 10vh;
  }

  .case-phone-copy h2 {
    font-size: 48px;
  }

  .phone-frame-slot {
    width: min(100%, 320px, calc((100svh - 110px) * 464 / 980));
  }

  .story-block.offset {
    margin-top: 8vh;
  }

  .next-case {
    padding: 8vh 24px;
  }
}

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

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

  html[data-afterglow] [data-afterglow-section],
  html[data-afterglow] .process-list li,
  html[data-afterglow] .b2b-lines li {
    --in: 1 !important;
    --process-fill: 1 !important;
    --b2b-fill: 1 !important;
    --cap-progress: 1 !important;
  }

  .hero-scroll i::after {
    animation: none;
    transform: none;
    opacity: 0.7;
  }

  .work-surface .project-shot img {
    transform: translate3d(0, -11.15%, 0) !important;
  }

  .work-surface {
    transform: translate3d(0, 0, 0) scale(var(--piece-scale, 1)) !important;
  }

  .work-plane {
    transform: none !important;
  }

  .case-hero,
  .case-view,
  .case-view .case-frame,
  .case-view .case-view-copy,
  .case-view .case-chapter {
    opacity: 1 !important;
    transform: none !important;
  }
}
