:root {
  color-scheme: dark;
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bg: #030405;
  --bg-soft: #08090b;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f4f1;
  --muted: rgba(244, 244, 241, 0.64);
  --dim: rgba(244, 244, 241, 0.38);
  --accent: #32e06f;
  --chrome: #cfd1cb;
  --mx: 0px;
  --my: 0px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html.portfolio-gate-pending,
html.portfolio-gate-pending body,
body.is-gate-locked {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 65% 22%, rgba(255, 255, 255, 0.07), transparent 24rem),
    var(--bg);
  background-size: 92px 92px, 92px 92px, auto, auto;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 400;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255, 255, 255, 0.052) 0 1px, transparent 1px 8px),
    repeating-radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.042) 0 1px, transparent 1px 10px),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  background-size: 320px 320px, 460px 460px, auto;
  opacity: 0.24;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), black 18%, black 82%, rgba(0, 0, 0, 0.78));
  mix-blend-mode: screen;
}

html.portfolio-gate-pending body::after {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: auto;
  content: "";
  background:
    repeating-radial-gradient(circle at 18% 32%, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 8px),
    repeating-radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.034) 0 1px, transparent 1px 10px),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    rgba(3, 4, 5, 0.96);
  background-size: 320px 320px, 460px 460px, 92px 92px, 92px 92px, auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.38;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 0 48px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 44px max(48px, calc((100vw - 1720px) / 2 + 48px)) 20px;
  background: linear-gradient(180deg, rgba(3, 4, 5, 0.86), rgba(3, 4, 5, 0));
  backdrop-filter: blur(10px);
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-width: 92px;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.brand-logo {
  display: block;
  width: 72px;
  height: auto;
}

.brand:hover,
.brand:focus-visible {
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.12));
  opacity: 0.98;
  transform: translateY(-1px);
}

.nav-links a,
.eyebrow,
.hero-footer,
.project-type,
.section-kicker,
.project-link,
.text-link {
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 48px;
  color: rgba(244, 244, 241, 0.9);
}

.nav-toggle,
.nav-backdrop {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(3, 4, 5, 0.74);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 3px auto;
  background: currentColor;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

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

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

.nav-links a {
  position: relative;
  color: inherit;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 400;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  content: "";
}

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

.portfolio-gate {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: rgba(3, 4, 5, 0.58);
  backdrop-filter: blur(8px) brightness(0.78) saturate(0.74);
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.portfolio-gate::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.08), transparent 28rem),
    repeating-radial-gradient(circle at 20% 28%, rgba(255, 255, 255, 0.046) 0 1px, transparent 1px 8px),
    repeating-radial-gradient(circle at 80% 74%, rgba(255, 255, 255, 0.036) 0 1px, transparent 1px 10px),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 320px 320px, 460px 460px, 92px 92px, 92px 92px;
  opacity: 0.48;
  mix-blend-mode: screen;
}

.portfolio-gate.is-unlocking {
  visibility: hidden;
  opacity: 0;
}

.portfolio-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
}

.portfolio-gate__kicker {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.portfolio-gate__title {
  margin-bottom: 26px;
  font-size: clamp(2rem, 8vw, 3.3rem);
  font-weight: 400;
  line-height: 1.06;
}

.portfolio-gate__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.portfolio-gate__username {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.portfolio-gate__input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  outline: 0;
  background: rgba(255, 255, 255, 0.052);
  color: var(--text);
  font: inherit;
}

.portfolio-gate__input:focus {
  border-color: rgba(244, 244, 241, 0.34);
  background: rgba(255, 255, 255, 0.075);
}

.portfolio-gate__button {
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(244, 244, 241, 0.3);
  border-radius: 6px;
  background: rgba(244, 244, 241, 0.92);
  color: #030405;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.portfolio-gate__error {
  min-height: 22px;
  margin: 12px 0 0;
  color: rgba(255, 122, 122, 0.86);
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 180ms ease;
}

.portfolio-gate.has-error .portfolio-gate__error {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  min-height: 100svh;
  padding: 168px 0 104px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: -150px;
  right: -180px;
  z-index: 70;
  width: min(1180px, 78vw);
  height: min(720px, 66svh);
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 74% 16%, rgba(230, 234, 238, 0.24) 0%, rgba(160, 168, 176, 0.105) 34%, rgba(255, 255, 255, 0.032) 58%, transparent 80%),
    radial-gradient(ellipse at 48% 44%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 42%, transparent 72%);
  filter: blur(76px);
  opacity: 0.82;
  mix-blend-mode: screen;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 690px;
  transform: translateY(20px);
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: heroTextReveal 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .hero-copy .eyebrow {
  animation-delay: 120ms;
}

.js .hero-copy h1 {
  animation-delay: 260ms;
}

.js .hero-copy .hero-text {
  animation-delay: 430ms;
}

.js .hero-copy .hero-actions {
  animation-delay: 580ms;
}

@keyframes heroTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 5.15rem;
  font-weight: 400;
  line-height: 1.08;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
}

.hero-actions,
.project-link,
.cv-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.text-link,
.project-link {
  color: var(--text);
  text-transform: none;
}

.circle-link,
.project-link span,
.case-next .cv-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.35rem;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.circle-link:hover,
.project-link:hover span,
.project-card:hover .project-link span,
.project-card:focus-visible .project-link span,
.case-next .cv-button:hover span,
.case-next .cv-button:focus-visible span {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.hero-visual {
  position: absolute;
  top: 92px;
  right: -250px;
  bottom: 0;
  z-index: 1;
  width: 74%;
  min-width: 880px;
  height: calc(100% - 96px);
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * -0.015), calc(var(--my) * -0.012), 0);
  transition: transform 120ms ease-out;
}

.hero-visual video,
.hero-visual img {
  pointer-events: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  mask-image:
    linear-gradient(90deg, transparent 0%, black 18%, black 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, black 11%, black 93%, transparent 100%);
  mask-composite: intersect;
}

.hero-visual video {
  display: block;
  filter: none;
  opacity: 1;
}

.hero-visual::after {
  position: absolute;
  inset: auto 5% -10% 16%;
  height: 26%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(42px);
  opacity: 0;
  content: "";
}

.hero-note {
  position: absolute;
  right: 7.5%;
  bottom: 118px;
  z-index: 3;
  max-width: 340px;
  color: var(--muted);
}

.hero-note p {
  margin: 0;
}

.scroll-index {
  --scroll-progress: 0%;
  position: fixed;
  right: 16px;
  top: 50%;
  z-index: 90;
  display: grid;
  justify-items: center;
  gap: 24px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
  transform: translateY(-50%);
}

.scroll-track {
  position: relative;
  width: 2px;
  height: 240px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-track::before,
.scroll-track::after {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  transform: translateX(-50%);
  content: "";
  display: none;
}

.scroll-track::before {
  top: 0;
}

.scroll-track::after {
  bottom: 0;
}

.scroll-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: var(--scroll-progress);
  min-height: 18px;
  background: linear-gradient(180deg, var(--text), rgba(255, 255, 255, 0.34));
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.38);
}

.hero-footer {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(244, 244, 241, 0.9);
}

.hero-footer p {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(50, 224, 111, 0.65);
}

.work,
.shots,
.about,
.cv {
  padding: 92px 0;
}

.shots {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.shots-head h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 400;
}

.shot-controls {
  display: inline-flex;
  gap: 12px;
}

.shot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.shot-button:hover,
.shot-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.shot-button[data-shot-prev]:hover {
  transform: translateX(-2px);
}

.shot-button[data-shot-next]:hover {
  transform: translateX(2px);
}

.shots-rail {
  display: grid;
  grid-auto-columns: clamp(620px, 58vw, 900px);
  grid-auto-flow: column;
  gap: 24px;
  margin: 0 -48px;
  padding: 0 48px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 48px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shots-rail::-webkit-scrollbar {
  display: none;
}

.shot-card {
  scroll-snap-align: start;
  margin: 0;
  min-width: 0;
}

.shot-card:has(.shot-thumb-image) {
  cursor: zoom-in;
}

.shot-thumb {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.15), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    #08090b;
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
}

.shot-thumb::before {
  position: absolute;
  inset: 24px 34px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  content: "";
}

.shot-thumb::after {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  content: "";
}

.shot-thumb span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: rgba(244, 244, 241, 0.34);
  font-size: 0.68rem;
  font-weight: 500;
}

.shot-card-phone .shot-thumb::before {
  inset: 18px auto 18px 50%;
  width: 78px;
  border-radius: 18px;
  transform: translateX(-50%) rotate(-10deg);
}

.shot-card-laptop .shot-thumb::before {
  inset: 40px 28px 30px;
  border-radius: 8px 8px 2px 2px;
  transform: perspective(360px) rotateX(7deg);
}

.shot-card-dashboard .shot-thumb::before {
  inset: 34px 26px;
}

.shot-card-commerce .shot-thumb::before {
  inset: 28px 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0 28%, rgba(255, 255, 255, 0.035) 28%),
    rgba(255, 255, 255, 0.02);
}

.shot-card-blue .shot-thumb {
  background:
    radial-gradient(circle at 64% 28%, rgba(82, 132, 255, 0.24), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #08090b;
}

.shot-card-green .shot-thumb {
  background:
    radial-gradient(circle at 76% 20%, rgba(50, 224, 111, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    #08090b;
}

.shot-thumb.shot-thumb-image {
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.018);
  aspect-ratio: 16 / 9;
  min-height: auto;
}

.shot-thumb.shot-thumb-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  object-fit: contain;
  filter: saturate(0.99) contrast(1.02);
  transform: none;
  transition:
    border-color 240ms ease,
    filter 240ms ease,
    transform 240ms ease;
}

.shot-thumb.shot-thumb-image::before {
  content: none;
}

.shot-thumb.shot-thumb-image::after {
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.shot-card:hover .shot-thumb-image img {
  border-color: rgba(255, 255, 255, 0.18);
  filter: saturate(1.02) contrast(1.03);
  transform: translateY(-2px);
}

.shot-card-portrait .shot-thumb-image img {
  width: auto;
  max-width: 48%;
}

.shot-card figcaption {
  display: grid;
  gap: 2px;
  padding-top: 12px;
}

.shot-card strong {
  display: block;
  color: rgba(244, 244, 241, 0.94);
  font-size: 0.78rem;
  font-weight: 500;
}

.shot-card figcaption span {
  color: var(--muted);
  font-size: 0.72rem;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.shot-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shot-lightbox__panel {
  position: relative;
  display: grid;
  width: min(94vw, 1680px);
  max-height: 88vh;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(9, 10, 11, 0.88);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.64);
  gap: 10px;
}

.shot-lightbox__panel.is-portrait {
  width: min(64vw, 760px);
}

.shot-lightbox__panel.is-portrait .shot-lightbox__meta {
  grid-template-columns: 1fr auto;
}

.shot-lightbox__panel.is-portrait .shot-lightbox__description {
  grid-column: 1 / -1;
}

.shot-lightbox__media {
  overflow: hidden;
  border-radius: 6px;
  background: #050607;
}

.shot-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(88vh - 156px);
  object-fit: contain;
}

.shot-lightbox__meta {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 14px 4px 2px;
}

.shot-lightbox__eyebrow {
  margin: 0 0 6px;
  color: rgba(244, 244, 241, 0.44);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shot-lightbox__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.56rem);
  font-weight: 500;
}

.shot-lightbox__description {
  max-width: 720px;
  margin: 0;
  color: rgba(244, 244, 241, 0.68);
  font-size: 0.88rem;
  line-height: 1.55;
}

.shot-lightbox__count {
  color: rgba(244, 244, 241, 0.48);
  font-size: 0.78rem;
  white-space: nowrap;
}

.shot-lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(14, 15, 16, 0.94);
  cursor: pointer;
}

.shot-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(14, 15, 16, 0.74);
  cursor: pointer;
  transform: translateY(-50%);
}

.shot-lightbox__nav--prev {
  left: 18px;
}

.shot-lightbox__nav--next {
  right: 18px;
}

.shot-lightbox__close:hover,
.shot-lightbox__close:focus-visible,
.shot-lightbox__nav:hover,
.shot-lightbox__nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.16);
  outline: none;
}

.about {
  position: relative;
  isolation: isolate;
}

.about::before {
  position: absolute;
  inset: 0 -48px;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    repeating-radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 9px),
    repeating-radial-gradient(circle at 82% 62%, rgba(255, 255, 255, 0.042) 0 1px, transparent 1px 10px);
  background-size: 112px 112px, 112px 112px, 420px 420px, 520px 520px;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 86%, transparent);
  mix-blend-mode: screen;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 72px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head.compact {
  display: block;
}

.section-head h2,
.about h2,
.cv h2 {
  max-width: 790px;
  margin: 0;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.12;
}

.section-head > p {
  margin: 0 0 12px;
  color: var(--muted);
}

.project-card {
  --work-card-blur: 0px;
  --work-card-focus: 1;
  --work-card-lift: 0px;
  --work-card-opacity: 1;
  --work-card-scale: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 48px;
  min-height: 430px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  cursor: pointer;
  filter: blur(var(--work-card-blur));
  opacity: var(--work-card-opacity);
  transform: translate3d(0, var(--work-card-lift), 0) scale(var(--work-card-scale));
  transform-origin: center center;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    filter 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.work.has-scroll-focus .project-card {
  will-change: filter, opacity, transform;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
}

.project-card:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.44);
  outline-offset: 4px;
}

.work.has-scroll-focus .project-card.is-work-active {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.075), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014));
}

.project-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  opacity: 0.32;
  content: "";
}

.project-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 0 54px 60px;
}

.project-number {
  position: relative;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.project-number::after {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--line);
  content: "";
}

.project-meta h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  font-weight: 400;
}

.project-type {
  margin-bottom: 42px;
  color: var(--text);
}

.project-meta > p:not(.project-number, .project-type) {
  max-width: 270px;
  margin-bottom: 58px;
  color: var(--muted);
}

.project-link {
  margin-top: auto;
}

.project-link span {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}

.device-scene {
  position: relative;
  z-index: 1;
  min-height: 430px;
}

.device-scene::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(90deg, rgba(3, 4, 5, 0.5), transparent 28%, transparent 78%, rgba(3, 4, 5, 0.28));
  pointer-events: none;
  content: "";
}

.device-scene img,
.device-scene video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.08) brightness(0.82);
  transform: scale(1.025);
}

.device-scene video {
  background: #030405;
}

.project-video-scene {
  isolation: isolate;
}

.project-video-scene::before {
  display: block;
  min-height: 470px;
  aspect-ratio: 3 / 2;
  content: "";
}

.project-video-scene .project-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: none;
  transition:
    filter 220ms ease,
    opacity 140ms ease;
}

.project-video-scene .project-video.is-active {
  z-index: 1;
  opacity: 1;
}

.project-video-scene {
  cursor: pointer;
}

.project-card:hover .project-video,
.project-card:focus-within .project-video {
  filter: saturate(0.86) contrast(1.12) brightness(0.88);
}

.project-card-alt .device-scene {
  min-height: 470px;
}

.project-card-scope,
.project-card-content-toro,
.project-card-zero,
.project-card-brand,
.project-card-scope .device-scene,
.project-card-content-toro .device-scene,
.project-card-zero .device-scene,
.project-card-brand .device-scene {
  min-height: 470px;
}

.project-card-wide {
  min-height: 500px;
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about h2 {
  max-width: 1060px;
  margin-bottom: clamp(42px, 5vw, 76px);
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(260px, 0.74fr) minmax(460px, 1.48fr);
  gap: clamp(34px, 4.4vw, 76px);
  align-items: center;
  min-height: clamp(540px, 43vw, 720px);
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy,
.about dl {
  position: relative;
  z-index: 2;
}

.about-portrait {
  position: relative;
  align-self: stretch;
  min-height: clamp(540px, 43vw, 720px);
  margin: clamp(-56px, -4vw, -32px) 0 clamp(-98px, -6vw, -56px);
  overflow: visible;
  isolation: isolate;
}

.about-portrait::before,
.about-portrait::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.about-portrait::before {
  inset: 12% -18% 8% -14%;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px 999px 42% 42%;
  background:
    radial-gradient(circle at 48% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
    repeating-radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
  opacity: 0.58;
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 74%, transparent 100%);
}

.about-portrait::after {
  right: 6%;
  bottom: 3%;
  left: -2%;
  z-index: 0;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 42%, transparent 70%);
  filter: blur(22px);
  opacity: 0.58;
}

.about-portrait img {
  display: block;
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: -5%;
  width: clamp(470px, 41vw, 700px);
  max-width: none;
  height: auto;
  filter: saturate(0.62) contrast(1.08) brightness(0.84);
  opacity: 0.94;
  transform: translateX(57%);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 98%);
}

dl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

dl div {
  position: relative;
  z-index: 1;
  min-height: 172px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.028)),
    rgba(11, 12, 14, 0.92);
}

dt {
  font-size: 2.3rem;
  font-weight: 400;
}

dd {
  margin: 18px 0 0;
  color: var(--muted);
}

.cv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding-bottom: 108px;
}

.cv h2 {
  max-width: 920px;
  font-size: 4rem;
}

.cv .cv-button {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 22px;
  align-items: center;
  width: min(100%, 430px);
  min-height: 216px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 24px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.09), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 55%, rgba(255, 255, 255, 0.038)),
    rgba(7, 8, 10, 0.82);
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 30px 90px rgba(0, 0, 0, 0.28);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.cv .cv-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.34;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}

.cv .cv-button:hover,
.cv .cv-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.14), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.024) 55%, rgba(255, 255, 255, 0.052)),
    rgba(8, 9, 11, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 38px 120px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.cv .cv-button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.44);
  outline-offset: 4px;
}

.cv .cv-button__copy,
.cv .cv-button__preview,
.cv .cv-button__paper {
  position: relative;
}

.cv .cv-button__copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cv .cv-button__eyebrow,
.cv .cv-button__meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.cv .cv-button__title {
  color: var(--text);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.cv .cv-button__preview {
  justify-self: end;
  width: 112px;
  height: 148px;
  perspective: 600px;
}

.cv .cv-button__preview::before {
  position: absolute;
  right: 12px;
  bottom: -10px;
  left: 12px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  filter: blur(14px);
  content: "";
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.cv .cv-button__paper {
  display: grid;
  align-content: start;
  gap: 10px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  padding: 18px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(217, 219, 218, 0.88));
  color: #08090b;
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-4deg) translateY(0);
  transform-origin: center bottom;
  transition:
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cv .cv-button__paper::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 5px 0 4px;
  background:
    linear-gradient(135deg, rgba(172, 174, 174, 0.8), rgba(255, 255, 255, 0.92));
  content: "";
  transition: transform 260ms ease;
}

.cv .cv-button__paper-kicker {
  font-size: 0.7rem;
  font-weight: 700;
}

.cv .cv-button__paper-line {
  display: block;
  width: 74%;
  height: 4px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.22);
}

.cv .cv-button__paper-line--wide {
  width: 100%;
  margin-top: 20px;
}

.cv .cv-button__paper-line--short {
  width: 52%;
}

.cv .cv-button:hover .cv-button__paper,
.cv .cv-button:focus-visible .cv-button__paper {
  box-shadow:
    0 28px 82px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(0deg) translateY(-8px);
}

.cv .cv-button:hover .cv-button__paper::after,
.cv .cv-button:focus-visible .cv-button__paper::after {
  transform: translate(-2px, 2px) rotate(-4deg);
}

.cv .cv-button:hover .cv-button__preview::before,
.cv .cv-button:focus-visible .cv-button__preview::before {
  opacity: 0.72;
  transform: translateY(8px) scaleX(0.86);
}

.case-next .cv-button {
  flex: 0 0 auto;
  padding: 18px 0;
  color: var(--text);
  font-weight: 500;
}

.case-page main {
  padding-bottom: 88px;
}

.case-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(720px, 1.42fr);
  gap: clamp(40px, 4.2vw, 82px);
  align-items: center;
  min-height: 100svh;
  padding: 168px 0 86px;
  border-bottom: 1px solid var(--line);
}

.case-hero::before {
  position: absolute;
  top: -140px;
  right: -190px;
  z-index: 0;
  width: 980px;
  height: 520px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 72% 12%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 42%, transparent 76%),
    radial-gradient(ellipse at 42% 48%, rgba(255, 255, 255, 0.08), transparent 68%);
  filter: blur(72px);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.case-hero-copy,
.case-hero-media,
.case-meta-bar,
.case-section {
  position: relative;
  z-index: 1;
}

.case-hero-copy {
  z-index: 5;
  width: calc(100% + clamp(86px, 9vw, 220px));
  max-width: 900px;
}

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.case-back::before {
  display: inline-block;
  color: currentColor;
  font-size: 0.96rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 180ms ease;
  content: "←";
}

.case-back:hover,
.case-back:focus-visible {
  color: var(--text);
}

.case-back:hover::before,
.case-back:focus-visible::before {
  transform: translate(-3px, -1px);
}

.case-hero h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: 4.45rem;
  font-weight: 400;
  line-height: 1.06;
  text-shadow:
    0 24px 70px rgba(0, 0, 0, 0.74),
    0 0 30px rgba(3, 4, 5, 0.84);
}

.case-lede {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.72);
}

.case-hero-media {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 36%),
    rgba(3, 4, 5, 0.84);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-hero-media.case-static-frame::before {
  display: block;
  min-height: clamp(640px, 72svh, 820px);
  aspect-ratio: 16 / 9;
  content: "";
}

.case-hero-media.case-static-frame {
  width: calc(100% + clamp(120px, 9vw, 260px));
  max-width: none;
  margin-right: clamp(-190px, -8vw, -76px);
  margin-left: clamp(-150px, -6.5vw, -56px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 11%, #000 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 9%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 11%, #000 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 9%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.case-hero-media.case-laptop-focus::before {
  min-height: clamp(860px, 92svh, 1080px);
}

.case-hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.13), transparent 30%),
    linear-gradient(90deg, rgba(3, 4, 5, 0.38), transparent 24%, transparent 78%, rgba(3, 4, 5, 0.34));
}

.case-hero-media.case-static-frame::after {
  z-index: 3;
  background:
    radial-gradient(circle at 73% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(3, 4, 5, 0.98), rgba(3, 4, 5, 0.7) 16%, rgba(3, 4, 5, 0.22) 31%, transparent 45%, transparent 72%, rgba(3, 4, 5, 0.48) 90%, rgba(3, 4, 5, 0.98)),
    linear-gradient(180deg, rgba(3, 4, 5, 0.96), transparent 20%, transparent 76%, rgba(3, 4, 5, 0.96));
}

.case-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: clamp(640px, 72svh, 820px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.1) brightness(0.86);
  opacity: 0.94;
  pointer-events: none;
  transform: scale(1.045);
}

.case-hero-media.case-laptop-focus {
  width: calc(100% + clamp(180px, 13vw, 340px));
  margin-right: clamp(-250px, -11vw, -102px);
  margin-left: clamp(-190px, -8vw, -72px);
  transform: translateY(clamp(-86px, -6svh, -52px));
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 11%, #000 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 98%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 11%, #000 86%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 98%, transparent 100%);
}

.case-hero-media.case-laptop-focus::after {
  background:
    radial-gradient(circle at 73% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(3, 4, 5, 0.98), rgba(3, 4, 5, 0.7) 16%, rgba(3, 4, 5, 0.22) 31%, transparent 45%, transparent 72%, rgba(3, 4, 5, 0.48) 90%, rgba(3, 4, 5, 0.98)),
    linear-gradient(180deg, transparent 0%, transparent 82%, rgba(3, 4, 5, 0.72));
}

.case-laptop-focus .case-hero-image {
  object-position: 61% 54%;
  filter: saturate(0.86) contrast(1.12) brightness(0.9);
  transform: scale(1.24);
}

.case-meta-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 7;
  margin-top: clamp(-220px, -14svh, -132px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022)),
    rgba(9, 10, 12, 0.86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.case-meta-bar div {
  min-height: 138px;
  padding: 30px;
  border-right: 1px solid var(--line-soft);
}

.case-meta-bar div:last-child {
  border-right: 0;
}

.case-meta-bar span,
.case-evidence-grid span,
.case-panel span,
.case-process span {
  display: block;
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.case-meta-bar p,
.case-evidence-grid p,
.case-panel p,
.case-process p,
.case-split-note p,
.case-impact-list p {
  margin: 0;
  color: var(--muted);
}

.case-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.case-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
  gap: 76px;
  align-items: end;
  margin-bottom: 44px;
}

.case-section-head h2,
.case-next h2 {
  max-width: 900px;
  margin: 0;
  font-size: 3.65rem;
  font-weight: 400;
  line-height: 1.08;
}

.case-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.case-two-col p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.case-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.case-evidence-grid article {
  min-height: 190px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.9);
}

.case-artifact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 16px;
  align-items: stretch;
}

.case-primary-artifact {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 380px);
  gap: 24px;
}

.case-artifact,
.case-placeholder {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.062), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    rgba(7, 8, 10, 0.9);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.case-placeholder::before {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(255, 255, 255, 0.018);
  content: "";
}

.case-placeholder::after {
  position: absolute;
  right: 14%;
  bottom: 14%;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  content: "";
}

.case-placeholder span {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.case-placeholder-wide {
  min-height: 540px;
}

.case-motion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
}

.case-motion-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.92);
}

.case-motion-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(3, 4, 5, 0.98);
  object-fit: contain;
}

.case-motion-card__body {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.case-motion-card__body span {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-motion-card__body h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

.case-motion-card__body p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.case-image-frame {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.11), transparent 32%),
    rgba(7, 8, 10, 0.94);
}

.case-image-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 30%, rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.34));
  content: "";
}

.case-image-frame::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  content: "";
}

.case-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.92) contrast(1.06) brightness(0.88);
}

.case-image-frame figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 3;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.case-image-frame-wide {
  min-height: 540px;
}

.case-product-frame {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 10px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(7, 8, 10, 0.96);
}

.case-product-frame.case-image-frame-wide {
  min-height: auto;
}

.case-product-frame::before {
  display: none;
}

.case-product-frame img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(2, 3, 5, 0.92);
  filter: saturate(0.94) contrast(1.04) brightness(0.93);
}

.case-product-frame figcaption {
  position: static;
  z-index: 3;
  max-width: none;
  min-height: 72px;
  padding: 16px 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
  text-shadow: none;
}

.case-split-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.86);
}

.case-split-note p:first-child {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.25;
}

.case-primary-artifact .case-split-note {
  justify-content: flex-start;
  gap: clamp(36px, 6vw, 96px);
  padding: 36px;
}

.case-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.case-panel {
  min-height: 300px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.054), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.94);
}

.case-panel h3 {
  margin-bottom: 24px;
  font-size: 1.45rem;
  font-weight: 400;
}

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

.case-process-long {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.case-process div {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.86);
}

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

.case-gallery .case-placeholder {
  min-height: 340px;
}

.case-gallery .case-image-frame {
  min-height: 340px;
}

.case-product-stack {
  display: grid;
  gap: 14px;
}

.case-product-row {
  --case-image-brightness: 1;
  --case-row-focus: 0;
  --case-row-lift: 0px;
  --case-row-opacity: 1;
  --case-row-scale: 1;
  --case-text-opacity: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    rgba(4, 5, 6, 0.9);
  opacity: var(--case-row-opacity);
  transform: translate3d(0, var(--case-row-lift), 0) scale(var(--case-row-scale));
  transform-origin: center center;
  transition:
    border-color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
  will-change: opacity, transform;
}

.case-product-row::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  opacity: 0.3;
  content: "";
}

.case-product-row::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.055), transparent 31%),
    linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.018), transparent 80%);
  opacity: calc(var(--case-row-focus) * 0.42);
  mix-blend-mode: screen;
  content: "";
}

.case-product-row.is-story-active {
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.24);
}

.case-product-row .case-product-frame {
  isolation: isolate;
  z-index: 1;
  min-height: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 6px;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.07), transparent 28%),
    rgba(3, 4, 5, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 70px rgba(0, 0, 0, 0.26);
}

.case-product-row .case-product-frame img {
  display: block;
  border-radius: 4px;
  background: rgba(3, 4, 5, 0.98);
  filter:
    saturate(0.88)
    contrast(1.06)
    brightness(var(--case-image-brightness));
  transition: filter 220ms ease, opacity 220ms ease;
}

.case-zero .case-product-row .case-product-frame img {
  filter:
    saturate(1.02)
    contrast(1.06)
    brightness(1);
}

.case-zero .case-primary-artifact .case-product-frame img {
  filter: saturate(1.02) contrast(1.04) brightness(0.98);
}

.case-content-toro .case-product-row .case-product-frame img,
.case-content-toro .case-primary-artifact .case-product-frame img {
  filter:
    saturate(1)
    contrast(1)
    brightness(1);
}

.case-brand .case-laptop-focus .case-hero-image {
  object-position: 60% 54%;
  filter: saturate(0.88) contrast(1.1) brightness(0.9);
  transform: scale(1.16);
}

.case-brand .brand-primary-frame {
  min-height: clamp(620px, 74vw, 880px);
}

.case-brand .brand-primary-frame img {
  object-position: 50% 0%;
  filter: saturate(0.96) contrast(1.04) brightness(0.9);
}

.case-brand .case-product-row {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1.18fr);
}

.case-brand .brand-page-frame {
  min-height: clamp(560px, 58vw, 760px);
}

.case-brand .brand-page-frame img {
  height: clamp(540px, 56vw, 740px);
  aspect-ratio: auto;
  object-fit: contain;
  filter:
    saturate(0.98)
    contrast(1.04)
    brightness(0.96);
}

.case-brand .brand-product-frame img {
  object-position: 50% 10%;
}

.case-brand .brand-account-frame img {
  object-position: 50% 0%;
}

.case-brand .brand-discovery-frame img,
.case-brand .brand-responsive-frame img,
.case-brand .brand-gallery-frame img {
  object-position: 50% 0%;
}

.case-brand .brand-mobile-frame {
  align-items: center;
  background:
    radial-gradient(circle at 58% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(3, 4, 5, 0.98);
}

.case-brand .brand-mobile-frame img {
  width: min(430px, 56%);
  min-width: 310px;
  height: clamp(560px, 58vw, 760px);
  object-position: 50% 4%;
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.case-product-note {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  padding: 54px 36px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(9, 10, 11, 0.92);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.055),
    inset -1px 0 0 rgba(0, 0, 0, 0.42);
}

.case-product-row.is-story-active .case-product-note {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.018)),
    rgba(10, 11, 13, 0.94);
}

.case-product-note > * {
  position: relative;
  z-index: 1;
}

.case-product-note span {
  margin-bottom: 32px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: var(--case-text-opacity);
  transition: opacity 220ms ease;
}

.case-product-note h3 {
  max-width: 290px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  font-weight: 400;
  line-height: 1.12;
  opacity: var(--case-text-opacity);
  transition: opacity 220ms ease;
}

.case-product-note p {
  max-width: 300px;
  color: var(--muted);
  opacity: var(--case-text-opacity);
  transition: opacity 220ms ease;
}

.case-impact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 80px;
  align-items: start;
}

.case-impact h2 {
  max-width: 820px;
  margin: 0;
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.case-impact-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.case-impact-list p {
  min-height: 120px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.9);
}

.case-impact-detail {
  display: grid;
  gap: 14px;
}

.case-metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.case-metric-grid article {
  display: grid;
  grid-template-columns: minmax(132px, 0.52fr) minmax(0, 1fr);
  gap: 10px 28px;
  align-items: start;
  min-height: 150px;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 14%, rgba(255, 255, 255, 0.075), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(8, 9, 11, 0.92);
}

.case-metric-grid span {
  display: block;
  grid-column: 1;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-metric-grid strong {
  display: block;
  grid-column: 1;
  margin-bottom: 14px;
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.1;
}

.case-metric-grid p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.case-next {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 0;
  border-bottom: 0;
}

.section-reveal,
.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-shell,
  .site-header {
    padding-right: 30px;
    padding-left: 30px;
  }

  .scroll-index {
    right: 14px;
    gap: 20px;
  }

  .nav-links {
    gap: 28px;
  }

  h1 {
    font-size: 4rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 148px;
  }

  .hero-visual {
    right: -310px;
    width: 92%;
    min-width: 700px;
  }

  .hero-note {
    right: 2%;
    max-width: 360px;
    bottom: 108px;
  }

  .project-card {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .shots-rail {
    margin-right: -30px;
    margin-left: -30px;
    padding-right: 30px;
    padding-left: 30px;
    scroll-padding-inline: 30px;
  }

  .case-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .case-hero-copy {
    width: 100%;
    max-width: none;
  }

  .case-hero-media.case-static-frame {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .case-laptop-focus .case-hero-image,
  .case-brand .case-laptop-focus .case-hero-image {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .case-meta-bar {
    margin-top: clamp(-82px, -6svh, -48px);
  }

  .case-hero h1 {
    font-size: 3.65rem;
  }

  .case-section-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .case-artifact-section,
  .case-impact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
    min-height: auto;
  }

  .about-portrait {
    grid-row: 1 / span 2;
    min-height: clamp(500px, 56vw, 640px);
  }

  .about-copy,
  .about dl {
    grid-column: 2;
  }

  .project-meta {
    padding-left: 36px;
  }

  .cv h2 {
    font-size: 3.1rem;
  }
}

@media (max-width: 860px) {
  html,
  body {
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scroll-behavior: auto;
    touch-action: pan-y;
  }

  body.is-gate-locked,
  .js body.is-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .site-header {
    padding-top: 26px;
  }

  .shots-rail {
    overscroll-behavior-x: auto;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .shot-card {
    scroll-snap-align: none;
  }

  .brand {
    min-width: auto;
  }

  .js .site-header {
    grid-template-columns: auto auto;
  }

  .js .brand,
  .js .nav-toggle {
    position: relative;
    z-index: 4;
  }

  .js .nav-toggle {
    grid-column: 2;
    justify-self: end;
    display: block;
  }

  .js .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100vw;
    height: 100svh;
    padding: 0;
    border: 0;
    background: rgba(3, 4, 5, 0.56);
    opacity: 0;
    pointer-events: none;
    cursor: default;
    backdrop-filter: blur(10px);
    transition: opacity 240ms ease;
  }

  .js .site-header.is-nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .js .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3;
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(78vw, 320px);
    height: 100svh;
    padding: 118px 30px 34px;
    border-left: 1px solid var(--line-soft);
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 46%),
      #050608;
    box-shadow: -34px 0 90px rgba(0, 0, 0, 0.42);
    color: var(--text);
    gap: 8px;
    opacity: 0;
    transform: translateX(104%);
    backdrop-filter: blur(24px);
    transition:
      opacity 260ms ease,
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js .site-header.is-nav-open .nav-links {
    opacity: 1;
    transform: translateX(0);
  }

  .js .nav-links a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.08rem;
  }

  .js .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 120px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual {
    top: 35%;
    right: -190px;
    bottom: auto;
    width: 86%;
    height: 54%;
    min-width: 560px;
  }

  .hero-copy {
    transform: none;
  }

  .hero-note {
    display: none;
  }

  .hero-footer {
    flex-direction: column;
    gap: 12px;
  }

  .section-head,
  .about-grid,
  .cv {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about-portrait {
    grid-row: auto;
    width: min(100%, 520px);
    max-width: none;
    min-height: clamp(420px, 116vw, 560px);
    margin: -28px auto 8px;
  }

  .about-portrait::before {
    inset: 12% 3% 9%;
  }

  .about-portrait::after {
    right: 12%;
    left: 8%;
    bottom: 2%;
  }

  .about-portrait img {
    right: 50%;
    bottom: -8%;
    width: clamp(360px, 108vw, 540px);
    transform: translateX(54%);
  }

  .about-copy,
  .about dl {
    grid-column: auto;
  }

  .section-head h2,
  .about h2,
  .cv h2 {
    font-size: 2.25rem;
  }

  .cv .cv-button {
    width: 100%;
    max-width: 520px;
  }

  .project-card,
  .project-card-wide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .case-hero {
    padding-top: 138px;
  }

  .case-hero h1 {
    font-size: 3rem;
  }

  .case-meta-bar,
  .case-evidence-grid,
  .case-panel-grid,
  .case-two-col,
  .case-gallery,
  .case-metric-grid,
  .case-product-row {
    grid-template-columns: 1fr;
  }

  .case-meta-bar {
    margin-top: 18px;
  }

  .case-meta-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .case-meta-bar div:last-child {
    border-bottom: 0;
  }

  .case-hero-media.case-static-frame::before,
  .case-hero-image {
    min-height: 420px;
  }

  .case-hero-media.case-static-frame {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .case-placeholder-wide,
  .case-image-frame-wide,
  .case-split-note {
    min-height: 360px;
  }

  .case-brand .brand-primary-frame,
  .case-brand .brand-page-frame {
    min-height: 420px;
  }

  .case-brand .brand-page-frame img,
  .case-brand .brand-mobile-frame img {
    width: 100%;
    min-width: 0;
    height: 420px;
  }

  .case-product-note {
    grid-row: 1;
    min-height: auto;
    padding: 34px 28px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.055);
  }

  .case-product-row .case-product-frame {
    grid-row: 2;
  }

  .case-product-note h3,
  .case-product-note p {
    max-width: 520px;
  }

  .case-next {
    display: grid;
  }

  .project-meta {
    padding: 34px 28px 0;
  }

  .project-meta > p:not(.project-number, .project-type) {
    margin-bottom: 32px;
  }

  .device-scene,
  .project-card-alt .device-scene {
    min-height: 330px;
  }

  .work .project-card .device-scene {
    min-height: clamp(300px, 62vw, 380px);
  }

  .device-scene img,
  .device-scene video {
    min-height: 330px;
  }

  .work .project-video-scene::before {
    min-height: clamp(300px, 62vw, 380px);
    aspect-ratio: 16 / 11;
  }

  .work .project-video-scene .project-video {
    min-height: 0;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }

  dl {
    grid-template-columns: 1fr;
  }

  dl div {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .site-shell,
  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .scroll-index {
    display: none;
  }

  .site-header {
    padding-top: 22px;
  }

  .brand-logo {
    width: 60px;
  }

  .hero {
    padding-top: 128px;
  }

  h1 {
    font-size: 2.42rem;
  }

  .hero-visual {
    right: -270px;
    min-width: 540px;
  }

  .work,
  .shots,
  .about,
  .cv {
    padding: 64px 0;
  }

  .shots-rail {
    grid-auto-columns: minmax(300px, 86vw);
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    scroll-padding-inline: 0;
  }

  .shots-head {
    align-items: flex-end;
  }

  .shot-thumb {
    min-height: 150px;
  }

  .shot-lightbox {
    padding: 18px;
  }

  .shot-lightbox__panel,
  .shot-lightbox__panel.is-portrait {
    width: 100%;
    max-height: 90vh;
  }

  .shot-lightbox__image {
    max-height: calc(90vh - 220px);
  }

  .shot-lightbox__meta,
  .shot-lightbox__panel.is-portrait .shot-lightbox__meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shot-lightbox__description {
    font-size: 0.8rem;
  }

  .shot-lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .section-head h2,
  .about h2,
  .cv h2,
  .case-section-head h2,
  .case-next h2,
  .case-impact h2 {
    font-size: 1.82rem;
  }

  .case-hero h1 {
    font-size: 2.35rem;
  }

  .case-hero-media.case-static-frame::before,
  .case-hero-image {
    min-height: 300px;
  }

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

  .case-section {
    padding: 64px 0;
  }

  .case-evidence-grid article,
  .case-impact-list p,
  .case-metric-grid article {
    min-height: auto;
  }

  .case-metric-grid article {
    display: block;
  }

  .case-metric-grid span,
  .case-metric-grid strong,
  .case-metric-grid p {
    grid-column: auto;
    grid-row: auto;
  }

  .case-placeholder,
  .case-gallery .case-placeholder,
  .case-image-frame,
  .case-gallery .case-image-frame,
  .case-placeholder-wide,
  .case-image-frame-wide,
  .case-split-note {
    min-height: 260px;
  }

  .case-panel,
  .case-process div,
  .case-meta-bar div,
  .case-evidence-grid article,
  .case-impact-list p,
  .case-metric-grid article {
    padding: 26px;
  }

  .project-meta h3 {
    font-size: 1.25rem;
  }

  .project-meta {
    padding-right: 22px;
    padding-left: 22px;
  }

  .device-scene,
  .project-card-alt .device-scene {
    min-height: 260px;
  }

  .work .project-card .device-scene {
    min-height: clamp(260px, 74vw, 320px);
  }

  .device-scene img,
  .device-scene video {
    min-height: 260px;
  }

  .work .project-video-scene::before {
    min-height: clamp(260px, 74vw, 320px);
    aspect-ratio: 16 / 12;
  }

  .cv {
    gap: 28px;
  }

  .cv .cv-button {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 16px;
    min-height: 186px;
    padding: 20px;
  }

  .cv .cv-button__preview {
    width: 88px;
    height: 118px;
  }

  .cv .cv-button__meta {
    max-width: 150px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .ambient-canvas {
    display: none;
  }

  .js .hero-copy > * {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .project-card,
  .project-meta,
  .device-scene,
  .device-scene img,
  .device-scene video,
  .case-product-row,
  .case-product-note,
  .case-product-note span,
  .case-product-note h3,
  .case-product-note p,
  .case-product-row .case-product-frame img {
    opacity: 1;
    transform: none;
  }

  .case-product-row::after {
    display: none;
  }

}
