:root {
  --ink: #0c0c10;
  --paper: #f1eee6;
  --paper-deep: #e3ddd1;
  --white: #fffdf7;
  --blue: #315cf6;
  --violet: #7557ff;
  --coral: #ff5a43;
  --acid: #d8ff2f;
  --sky: #6ed8ff;
  --line-dark: rgba(12, 12, 16, 0.22);
  --line-light: rgba(255, 253, 247, 0.28);
  --page-pad: clamp(20px, 3.35vw, 68px);
  --section-space: clamp(100px, 11vw, 190px);
  --radius: clamp(18px, 1.8vw, 32px);
  --header-height: 86px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading,
body.dialog-open {
  overflow: hidden;
}

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

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 2147483647;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-pad {
  padding: var(--section-space) var(--page-pad);
}

.section-kicker,
.eyebrow,
.site-nav,
.language-switch,
.brand__meta,
.hero__status,
.hero__index,
.project-card__meta,
.experience-row,
.contact__topline,
.contact__footer,
.case-dialog__bar,
.case-dialog__meta,
.case-dialog__external,
.work-strip,
.intro__meta,
.intro__caption,
.about__bio-label,
.about__education {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Motion intro */
.intro {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.58s var(--ease),
    visibility 0.58s var(--ease);
}

.intro::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: clamp(72px, 8vw, 150px) clamp(72px, 8vw, 150px);
  opacity: 0.55;
}

.intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__skip {
  position: absolute;
  z-index: 30;
  top: 22px;
  right: 22px;
  padding: 11px 17px;
  border: 1px solid rgba(255, 253, 247, 0.6);
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.45);
  color: var(--white);
  font: 650 11px/1 var(--mono);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.intro__skip:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.intro__meta {
  position: absolute;
  z-index: 20;
  top: 26px;
  right: max(128px, 12vw);
  left: var(--page-pad);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 253, 247, 0.7);
}

.intro__type {
  position: absolute;
  z-index: 4;
  top: 16vh;
  left: var(--page-pad);
  width: min(70vw, 1180px);
  font-size: clamp(48px, 8vw, 184px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.76;
  text-transform: uppercase;
}

.intro__type span {
  display: block;
}

.intro__type span:last-child {
  margin-top: 0.12em;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.34em;
  letter-spacing: -0.045em;
}

.intro__panels,
.intro__panels span {
  position: absolute;
  inset: 0;
}

.intro__panels {
  z-index: 1;
  pointer-events: none;
}

.intro__panels span:nth-child(1) {
  top: -18%;
  right: auto;
  bottom: auto;
  left: -12%;
  width: 57vw;
  height: 69vh;
  border-radius: 0 0 50% 0;
  background: var(--blue);
  transform: rotate(-5deg) translate(-16%, -12%);
}

.intro__panels span:nth-child(2) {
  top: 22%;
  right: 16%;
  bottom: auto;
  left: auto;
  width: min(34vw, 620px);
  height: min(34vw, 620px);
  border-radius: 50%;
  background: var(--acid);
  transform: scale(0.2);
}

.intro__panels span:nth-child(3) {
  top: auto;
  right: -8%;
  bottom: -22%;
  left: auto;
  width: 48vw;
  height: 63vh;
  border-radius: 50% 0 0;
  background: var(--coral);
  transform: translate(12%, 16%) rotate(5deg);
}

.intro__motion {
  position: absolute;
  z-index: 12;
  right: clamp(-60px, 2vw, 40px);
  bottom: -2.5vh;
  width: min(45vw, 64svh, 690px);
  aspect-ratio: 2 / 3;
  transform-origin: 50% 100%;
}

.intro__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.intro__frame--04 {
  opacity: 1;
}

.intro.is-playing .intro__frame--04 {
  opacity: 0;
}

.intro__echo {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  -webkit-mask: url("assets/avatar/intro-sequence/mger-motion-03.png") center / contain no-repeat;
  mask: url("assets/avatar/intro-sequence/mger-motion-03.png") center / contain no-repeat;
}

.intro__echo--violet {
  background: var(--violet);
}

.intro__echo--coral {
  background: var(--coral);
}

.intro.is-playing .intro__panels span:nth-child(1) {
  animation: intro-panel-one 3.25s var(--ease) both;
}

.intro.is-playing .intro__panels span:nth-child(2) {
  animation: intro-panel-two 3.25s var(--ease) both;
}

.intro.is-playing .intro__panels span:nth-child(3) {
  animation: intro-panel-three 3.25s var(--ease) both;
}

.intro.is-playing .intro__type {
  animation: intro-type 3.25s var(--ease) both;
}

.intro.is-playing .intro__motion {
  animation: intro-motion 3.25s var(--ease) both;
}

.intro.is-playing .intro__frame--01 {
  animation: intro-frame-one 3.25s var(--ease) both;
}

.intro.is-playing .intro__frame--02 {
  animation: intro-frame-two 3.25s var(--ease) both;
}

.intro.is-playing .intro__frame--03 {
  animation: intro-frame-three 3.25s var(--ease) both;
}

.intro.is-playing .intro__frame--04 {
  animation: intro-frame-four 3.25s var(--ease) both;
}

.intro.is-playing .intro__echo--violet {
  animation: intro-echo-violet 3.25s var(--ease) both;
}

.intro.is-playing .intro__echo--coral {
  animation: intro-echo-coral 3.25s var(--ease) both;
}

.intro__caption {
  position: absolute;
  z-index: 20;
  right: var(--page-pad);
  bottom: 28px;
  left: var(--page-pad);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 253, 247, 0.72);
}

.intro__progress {
  position: absolute;
  z-index: 20;
  right: var(--page-pad);
  bottom: 18px;
  left: var(--page-pad);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.intro__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.intro.is-playing .intro__progress span {
  animation: intro-progress 3.25s linear both;
}

@keyframes intro-panel-one {
  0% { transform: rotate(-5deg) translate(-16%, -12%); }
  38% { transform: rotate(-2deg) translate(2%, 1%); }
  100% { transform: rotate(2deg) translate(-2%, 3%); }
}

@keyframes intro-panel-two {
  0% { transform: scale(0.18); }
  46% { transform: scale(1.08); }
  72%, 100% { transform: scale(1); }
}

@keyframes intro-panel-three {
  0% { transform: translate(26%, 32%) rotate(9deg); }
  55% { transform: translate(-2%, -1%) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(0); }
}

@keyframes intro-type {
  0% { opacity: 0; transform: translateY(0.35em); clip-path: inset(100% 0 0); }
  22%, 78% { opacity: 1; transform: translateY(0); clip-path: inset(0); }
  100% { opacity: 0.45; transform: translateY(-0.04em); clip-path: inset(0); }
}

@keyframes intro-motion {
  0% { transform: translate(25vw, 5vh) rotate(7deg) scale(0.86); }
  44% { transform: translate(2vw, 0) rotate(-2deg) scale(1.02); }
  67% { transform: translate(-0.8vw, 0) rotate(1deg) scale(1.045); }
  82%, 100% { transform: translate(0, 0) rotate(0) scale(1); }
}

@keyframes intro-frame-one {
  0%, 20% { opacity: 1; transform: translateX(0) rotate(-1deg); }
  25%, 100% { opacity: 0; transform: translateX(-2%) rotate(1deg); }
}

@keyframes intro-frame-two {
  0%, 19% { opacity: 0; transform: translateX(2%) rotate(2deg); }
  23%, 41% { opacity: 1; transform: translateX(0) rotate(-1deg); }
  46%, 100% { opacity: 0; transform: translateX(-1%) rotate(-2deg); }
}

@keyframes intro-frame-three {
  0%, 40% { opacity: 0; transform: translateY(-1%) scale(0.98); }
  44%, 64% { opacity: 1; transform: translateY(0) scale(1.03); }
  69%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}

@keyframes intro-frame-four {
  0%, 63% { opacity: 0; transform: translateY(-1.5%) scale(1.045); }
  68% { opacity: 1; transform: translateY(0.7%) scale(0.985); }
  82%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes intro-echo-violet {
  0%, 39% { opacity: 0; transform: translateX(0); }
  43% { opacity: 0.85; transform: translateX(-9%); }
  64% { opacity: 0.38; transform: translateX(-4%); }
  73%, 100% { opacity: 0; transform: translateX(0); }
}

@keyframes intro-echo-coral {
  0%, 42% { opacity: 0; transform: translateX(0); }
  46% { opacity: 0.78; transform: translateX(8%); }
  66% { opacity: 0.32; transform: translateX(3%); }
  75%, 100% { opacity: 0; transform: translateX(0); }
}

@keyframes intro-progress {
  to { transform: scaleX(1); }
}

/* Character face cursor */
.cursor {
  display: none;
  position: fixed;
  z-index: 2147483647;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.16s ease;
}

.has-custom-cursor .cursor {
  display: block;
}

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

.cursor__viewfinder {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    0 0 0 2px var(--ink),
    3px 3px 0 rgba(255, 255, 255, 0.38);
  transform-origin: center;
  transition: transform 0.24s var(--ease);
}

.cursor__viewfinder img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  max-width: none;
  height: 68px;
  object-fit: contain;
  transform: translate(-50%, -49%);
}

.cursor__label {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: 35px;
  padding: 5px 7px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  opacity: 0;
  font: 750 8px/1 var(--mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.cursor.is-link .cursor__viewfinder {
  transform: scale(1.14) rotate(-2deg);
}

.cursor.is-project .cursor__viewfinder {
  transform: scale(1.28) rotate(2deg);
}

.cursor.is-project .cursor__label {
  opacity: 1;
}

.has-custom-cursor body,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor dialog {
  cursor: none !important;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--page-pad);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(241, 238, 230, 0.9);
  backdrop-filter: blur(18px);
  transition:
    min-height 0.3s var(--ease),
    background 0.3s ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(241, 238, 230, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  justify-self: start;
}

.brand__meta {
  line-height: 1.18;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(22px, 3vw, 54px);
  margin-left: 0;
}

.site-nav a,
.language-switch__button {
  position: relative;
  border: 0;
  background: transparent;
}

.site-nav a::after,
.language-switch__button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover::after,
.language-switch__button:hover::after,
.language-switch__button.is-active::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.language-switch__button {
  padding: 4px 0;
  cursor: pointer;
  opacity: 0.48;
}

.language-switch__button.is-active {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: max(860px, 100svh);
  overflow: hidden;
  padding: calc(var(--header-height) + 36px) var(--page-pad) 38px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #08090b;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: var(--header-height) 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: clamp(64px, 7vw, 132px) clamp(64px, 7vw, 132px);
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 7;
  inset: var(--header-height) 0 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 5px,
    rgba(255, 255, 255, 0.025) 6px
  );
  pointer-events: none;
  animation: hero-scan 11s linear infinite;
}

.hero__ambient {
  display: none;
}

.hero__ambient::before,
.hero__ambient::after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.hero__ambient::before {
  top: 10%;
  left: -8%;
  width: clamp(54px, 6vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
}

.hero__ambient::after {
  right: 7%;
  bottom: 12%;
  width: clamp(70px, 8vw, 150px);
  height: clamp(42px, 5vw, 94px);
  background: var(--coral);
  transform: rotate(8deg);
}

.hero__status {
  position: absolute;
  z-index: 8;
  top: calc(var(--header-height) + 34px);
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 253, 247, 0.72);
}

.status-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.hero__headline {
  position: absolute;
  z-index: 6;
  top: clamp(145px, 16vh, 190px);
  left: var(--page-pad);
  width: min(48vw, 900px);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.84;
  text-align: left;
  text-transform: uppercase;
  pointer-events: none;
}

.hero__line {
  position: relative;
  display: block;
  white-space: nowrap;
}

.hero__line::before,
.hero__line::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: inherit;
  opacity: 0;
  pointer-events: none;
}

.hero__line::before {
  text-shadow:
    -4px 0 rgba(255, 255, 255, 0.78),
    3px 0 rgba(160, 166, 176, 0.62);
  animation: hero-glitch-a 6.4s steps(1, end) infinite;
}

.hero__line::after {
  text-shadow:
    4px 0 rgba(255, 255, 255, 0.52),
    -3px 0 rgba(103, 109, 120, 0.72);
  animation: hero-glitch-b 6.4s steps(1, end) infinite;
}

.hero__line--two::before,
.hero__line--two::after {
  animation-delay: -2.1s;
}

.hero__line--one {
  font-size: clamp(100px, 12vw, 240px);
}

.hero__line--two {
  margin-top: 0.18em;
  color: rgba(255, 253, 247, 0.76);
  font-size: clamp(52px, 6.2vw, 124px);
  letter-spacing: -0.03em;
}

.hero__stage {
  --hero-x: 0px;
  --hero-y: 0px;
  --hero-portal-x: 0px;
  --hero-portal-y: 0px;
  --hero-back-x: 0px;
  --hero-back-y: 0px;
  --hero-front-x: 0px;
  --hero-front-y: 0px;
  position: absolute;
  z-index: 3;
  inset: var(--header-height) -3vw 0 43vw;
  pointer-events: auto;
}

.hero__stage::before,
.hero__stage::after {
  content: "";
  position: absolute;
  z-index: 6;
  left: 2%;
  width: min(30vw, 560px);
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    -14px 0 rgba(84, 224, 255, 0.72),
    11px 0 rgba(255, 68, 103, 0.64);
  opacity: 0;
  pointer-events: none;
  animation: hero-glitch-bar 7.2s steps(1, end) infinite;
}

.hero__stage::before {
  top: 34%;
}

.hero__stage::after {
  top: 68%;
  animation-delay: -3.6s;
}

.hero__portal {
  display: none;
}

.hero__figure,
.hero__ghost {
  position: absolute;
  right: auto;
  bottom: max(-220px, -20%);
  left: clamp(10px, 2vw, 40px);
  height: max(900px, 108svh);
  aspect-ratio: 864 / 1821;
  transform-origin: 50% 100%;
}

.hero__figure {
  z-index: 4;
  transform: translate(var(--hero-x), var(--hero-y));
  transition: transform 0.22s ease-out;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero__ghost {
  display: none;
}

.hero__ghost--violet {
  right: 15%;
  color: var(--violet);
  transform: translate(calc(var(--hero-back-x) - 22px), calc(var(--hero-back-y) + 2px));
}

.hero__ghost--coral {
  right: 7%;
  color: var(--coral);
  transform: translate(calc(var(--hero-front-x) + 21px), calc(var(--hero-front-y) + 5px));
}

.hero__copy {
  position: absolute;
  z-index: 8;
  bottom: clamp(72px, 8vh, 104px);
  left: var(--page-pad);
  width: min(39vw, 660px);
  color: var(--white);
  text-align: left;
}

.eyebrow {
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.hero__intro {
  max-width: 660px;
  font-size: clamp(22px, 2.05vw, 37px);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.arrow-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    padding 0.25s var(--ease);
}

.arrow-link:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: var(--white);
  color: var(--ink);
}

.replay-intro {
  position: absolute;
  z-index: 9;
  right: var(--page-pad);
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.72);
  color: var(--white);
  font: 700 11px/1 var(--mono);
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.replay-intro:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero__index {
  position: absolute;
  z-index: 8;
  right: var(--page-pad);
  top: 50%;
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(255, 253, 247, 0.46);
  letter-spacing: 0.1em;
  transform: translateY(-50%);
}

@keyframes hero-scan {
  0% { transform: translateY(-8px); }
  100% { transform: translateY(8px); }
}

@keyframes hero-glitch-a {
  0%, 6%, 9%, 47%, 50%, 81%, 84%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0); }
  7% { opacity: 0.72; transform: translate(7px, -1px); clip-path: inset(12% 0 62%); }
  8% { opacity: 0.5; transform: translate(-4px, 1px); clip-path: inset(58% 0 16%); }
  48% { opacity: 0.62; transform: translate(-6px); clip-path: inset(32% 0 42%); }
  49% { opacity: 0.34; transform: translate(3px); clip-path: inset(68% 0 8%); }
  82% { opacity: 0.56; transform: translate(5px); clip-path: inset(20% 0 56%); }
  83% { opacity: 0.34; transform: translate(-3px); clip-path: inset(74% 0 4%); }
}

@keyframes hero-glitch-b {
  0%, 22%, 25%, 63%, 66%, 92%, 95%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0); }
  23% { opacity: 0.48; transform: translate(-6px); clip-path: inset(44% 0 34%); }
  24% { opacity: 0.3; transform: translate(4px); clip-path: inset(10% 0 70%); }
  64% { opacity: 0.62; transform: translate(6px, 1px); clip-path: inset(64% 0 12%); }
  65% { opacity: 0.4; transform: translate(-3px); clip-path: inset(28% 0 48%); }
  93% { opacity: 0.5; transform: translate(4px); clip-path: inset(6% 0 72%); }
  94% { opacity: 0.28; transform: translate(-4px); clip-path: inset(52% 0 24%); }
}

@keyframes hero-glitch-bar {
  0%, 15%, 18%, 56%, 59%, 88%, 91%, 100% { opacity: 0; transform: translateX(0) scaleX(0.2); }
  16% { opacity: 0.58; transform: translateX(34px) scaleX(1); }
  17% { opacity: 0.22; transform: translateX(-18px) scaleX(0.46); }
  57% { opacity: 0.44; transform: translateX(-28px) scaleX(0.78); }
  58% { opacity: 0.18; transform: translateX(12px) scaleX(0.34); }
  89% { opacity: 0.48; transform: translateX(22px) scaleX(0.64); }
  90% { opacity: 0.18; transform: translateX(-9px) scaleX(0.28); }
}

@keyframes portal-shape {
  0% {
    border-radius: 49% 51% 42% 58% / 58% 45% 55% 42%;
    transform: translate(var(--hero-portal-x), var(--hero-portal-y)) rotate(-2deg);
  }
  100% {
    border-radius: 42% 58% 55% 45% / 48% 58% 42% 52%;
    transform: translate(var(--hero-portal-x), var(--hero-portal-y)) rotate(3deg);
  }
}

.work-strip {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  overflow: hidden;
  padding: 16px var(--page-pad);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--blue);
  color: var(--acid);
  white-space: nowrap;
}

.work-strip span {
  animation: strip-drift 14s linear infinite alternate;
}

@keyframes strip-drift {
  to { transform: translateX(38px); }
}

/* Works */
.works {
  background: var(--paper);
}

.section-heading {
  display: grid;
  justify-items: start;
  max-width: 1500px;
  text-align: left;
}

.section-heading h2 {
  max-width: 100%;
  margin-top: 34px;
  font-size: clamp(82px, 13.5vw, 260px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.79;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  margin-top: 38px;
  font: 600 clamp(15px, 1.35vw, 21px)/1.35 var(--sans);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 54px) clamp(18px, 2.2vw, 40px);
  margin-top: clamp(70px, 8vw, 130px);
}

.project-card {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}

.project-card:nth-child(1),
.project-card:nth-child(4) {
  grid-column: span 7;
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card:nth-child(n + 5) {
  grid-column: span 6;
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card-background);
  box-shadow: 10px 10px 0 var(--ink);
  transition:
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: var(--cover-fit);
  object-position: var(--cover-position);
  transition: transform 0.8s var(--ease);
}

.project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.46), transparent 40%);
  pointer-events: none;
}

.project-card__number {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--card-accent);
  color: var(--ink);
  font: 800 16px/1 var(--mono);
}

.project-card__open {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font: 700 11px/1 var(--mono);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease);
}

.project-card__caption {
  display: block;
  padding: 24px 2px 0;
}

.project-card__title {
  display: block;
  font-size: clamp(32px, 3.6vw, 66px);
  font-weight: 730;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line-dark);
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card:hover .project-card__media {
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(6px, 6px);
}

.project-card:hover .project-card__image {
  transform: scale(1.045);
}

.project-card:hover .project-card__open {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.about::before {
  content: "";
  position: absolute;
  top: 2%;
  right: -11vw;
  width: 38vw;
  aspect-ratio: 1;
  border: clamp(40px, 6vw, 116px) solid rgba(216, 255, 47, 0.2);
  border-radius: 50%;
}

.about__heading {
  position: relative;
  z-index: 2;
  text-align: left;
}

.about__heading h2 {
  display: grid;
  justify-items: start;
  max-width: 1540px;
  margin-top: 42px;
  font-size: clamp(78px, 13.3vw, 255px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.about__heading h2 span {
  display: block;
  white-space: nowrap;
}

.about__heading h2 span:nth-child(2) {
  color: var(--acid);
}

.about__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 36px);
  margin-top: clamp(56px, 7vw, 104px);
}

.about__bio {
  grid-column: auto;
  min-width: 0;
  max-width: none;
  padding: clamp(28px, 3vw, 54px);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  text-align: left;
}

.about__bio--ru {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.about__bio--en {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--ink);
  color: var(--white);
}

.about__bio-label {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.about__bio h3 {
  margin-top: clamp(38px, 4vw, 64px);
  font-size: clamp(42px, 4.4vw, 82px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.about__bio > p:not(.about__education) {
  max-width: none;
  margin-top: 26px;
  font-size: clamp(18px, 1.55vw, 29px);
  font-weight: 480;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.about__education {
  max-width: 620px;
  margin-top: 32px;
  padding-top: 17px;
  border-top: 1px solid currentColor;
}

.experience {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(120px, 13vw, 210px);
  text-align: left;
}

.experience__heading {
  grid-column: 1 / span 4;
}

.experience__heading h3 {
  max-width: 400px;
  margin-top: 24px;
  font-size: clamp(52px, 6.2vw, 112px);
  font-weight: 740;
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: uppercase;
}

.experience__list {
  grid-column: 5 / -1;
  border-top: 2px solid var(--white);
}

.experience-row {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr 1.5fr auto;
  gap: 22px;
  align-items: center;
  min-height: 138px;
  border-bottom: 2px solid var(--white);
  transition:
    background 0.28s ease,
    color 0.28s ease,
    padding 0.28s var(--ease);
}

.experience-row strong {
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 39px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.experience-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--acid);
  color: var(--ink);
}

.experience-row__arrow {
  font-size: 20px;
}

/* Contact */
.contact {
  min-height: max(760px, 92svh);
  padding-top: clamp(60px, 7vw, 110px);
  padding-bottom: 28px;
  background: var(--acid);
  color: var(--ink);
  text-align: left;
}

.contact__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}

.contact h2 {
  margin-top: clamp(70px, 9vw, 145px);
  font-size: clamp(80px, 14vw, 270px);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-transform: uppercase;
}

.contact h2 a,
.contact__line {
  display: block;
}

.contact__line {
  white-space: nowrap;
}

.contact__arrow {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--blue);
  font-size: 0.54em;
  font-weight: 450;
  vertical-align: 0.08em;
  transition: transform 0.35s var(--ease);
}

.contact h2 a:hover .contact__arrow {
  transform: translate(0.12em, -0.12em) rotate(8deg);
}

.contact__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(80px, 11vw, 180px);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.contact__links a {
  min-width: 0;
  padding: 24px 0;
  font-size: clamp(19px, 2.1vw, 38px);
  font-weight: 650;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  transition:
    color 0.25s ease,
    padding 0.25s var(--ease);
}

.contact__links a + a {
  padding-left: 34px;
  border-left: 2px solid var(--ink);
}

.contact__links a:hover {
  color: var(--blue);
  padding-right: 12px;
  padding-left: 12px;
}

.contact__links a + a:hover {
  padding-left: 46px;
}

.contact__footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

/* Case dialog */
.case-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.case-dialog::backdrop {
  background: rgba(12, 12, 16, 0.86);
}

.case-dialog__bar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 14px var(--page-pad);
  border-bottom: 2px solid var(--case-ink, var(--ink));
  background: var(--case-accent, var(--paper));
  color: var(--case-ink, var(--ink));
}

.case-dialog__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font: 700 11px/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.case-dialog__close:hover {
  background: var(--case-ink, var(--ink));
  color: var(--case-accent, var(--white));
}

.case-dialog__info {
  min-height: calc(100svh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(72px, 9vw, 160px) var(--page-pad) clamp(60px, 7vw, 120px);
  background: var(--case-accent, var(--paper));
  color: var(--case-ink, var(--ink));
  text-align: left;
}

.case-dialog__info h2 {
  max-width: 1500px;
  font-size: clamp(76px, 12.5vw, 240px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.case-dialog__details {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(54px, 7vw, 110px);
  padding-top: 28px;
  border-top: 2px solid currentColor;
}

.case-dialog__meta {
  grid-column: 1 / span 3;
  display: grid;
  align-content: start;
  gap: 10px;
}

.case-dialog__description-wrap {
  grid-column: 5 / span 6;
}

.case-dialog__description-wrap > p {
  max-width: 900px;
  font-size: clamp(22px, 2.3vw, 42px);
  font-weight: 540;
  letter-spacing: -0.034em;
  line-height: 1.18;
}

.case-dialog__external {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  padding: 15px 19px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.case-dialog__external:hover {
  background: var(--case-ink, var(--ink));
  color: var(--case-accent, var(--white));
  transform: translateY(-3px);
}

.case-dialog__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 42px);
  padding: clamp(20px, 3.2vw, 60px);
  background: var(--paper);
}

.case-dialog__gallery figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: clamp(12px, 1.2vw, 22px);
  background: var(--paper-deep);
}

.case-dialog__gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

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

@media (max-width: 1180px) {
  .site-nav {
    margin-left: 0;
  }

  .hero__headline {
    width: min(58vw, 700px);
  }

  .hero__stage {
    left: 39vw;
  }

  .hero__figure,
  .hero__ghost {
    right: auto;
    bottom: max(-167px, -14%);
    left: clamp(24px, 3.4vw, 46px);
    height: max(860px, 104svh);
  }

  .hero__ghost--violet {
    right: 8%;
  }

  .hero__ghost--coral {
    right: 0;
  }

  .hero__copy {
    width: 43vw;
  }

  .hero__index {
    display: none;
  }

  .about__bio { grid-column: auto; }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: var(--header-height);
  }

  .brand__meta {
    display: block;
    font-size: 9px;
  }

  .menu-toggle {
    display: block;
    padding: 9px 13px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    font: 700 10px/1 var(--mono);
    cursor: pointer;
  }

  .site-nav {
    position: fixed;
    z-index: 0;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 var(--page-pad);
    border-bottom: 1px solid var(--ink);
    background: var(--acid);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--ink);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 1200px;
    padding-top: calc(var(--header-height) + 30px);
  }

  .hero__status {
    top: calc(var(--header-height) + 24px);
  }

  .hero__headline {
    top: 148px;
    width: calc(100% - var(--page-pad) - var(--page-pad));
    line-height: 0.86;
  }

  .hero__line--one {
    font-size: clamp(72px, 20vw, 148px);
  }

  .hero__line--two {
    font-size: clamp(36px, 8vw, 62px);
  }

  .hero__copy {
    top: 350px;
    bottom: auto;
    width: min(72vw, 560px);
  }

  .hero__stage {
    inset: auto 0 0;
    height: 54%;
  }

  .hero__portal {
    top: 12%;
    right: 0;
    width: 76vw;
    height: 75%;
  }

  .hero__figure,
  .hero__ghost {
    right: auto;
    bottom: -5%;
    left: 50%;
    height: clamp(560px, 64svh, 680px);
    transform: translateX(-50%);
  }

  .hero__ghost--violet {
    right: 17%;
  }

  .hero__ghost--coral {
    right: 7%;
  }

  .replay-intro {
    right: auto;
    bottom: 20px;
    left: var(--page-pad);
  }

  .project-card:nth-child(n) {
    grid-column: span 12;
  }

  .project-card__open {
    opacity: 1;
    transform: none;
  }

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

  .about__bio {
    grid-column: auto;
  }

  .experience {
    display: block;
  }

  .experience__list {
    margin-top: 48px;
  }

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

  .contact__links a + a {
    padding-left: 0;
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .contact__links a + a:hover {
    padding-left: 12px;
  }

  .case-dialog__meta {
    grid-column: 1 / span 3;
  }

  .case-dialog__description-wrap {
    grid-column: 4 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 18px;
    --section-space: 88px;
  }

  .section-kicker,
  .eyebrow,
  .site-nav,
  .language-switch,
  .hero__status,
  .project-card__meta,
  .experience-row,
  .contact__topline,
  .contact__footer,
  .case-dialog__bar,
  .case-dialog__meta,
  .case-dialog__external,
  .work-strip,
  .intro__meta,
  .intro__caption,
  .about__bio-label,
  .about__education {
    font-size: 9px;
  }

  .intro__meta span:first-child,
  .intro__caption span:last-child {
    display: none;
  }

  .intro__meta,
  .intro__caption {
    justify-content: flex-end;
  }

  .intro__type {
    top: 14vh;
    width: calc(100vw - var(--page-pad) - var(--page-pad));
    font-size: clamp(52px, 14vw, 64px);
  }

  .intro__panels span:nth-child(1) {
    width: 86vw;
    height: 52vh;
  }

  .intro__panels span:nth-child(2) {
    top: 31%;
    right: -18%;
    width: 78vw;
    height: 78vw;
  }

  .intro__panels span:nth-child(3) {
    width: 86vw;
    height: 48vh;
  }

  .intro__motion {
    right: -21vw;
    bottom: 2vh;
    width: 88vw;
  }

  .intro__skip {
    top: 16px;
    right: 16px;
  }

  .site-header {
    gap: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .language-switch {
    gap: 5px;
  }

  .hero {
    min-height: 1000px;
  }

  .hero::after {
    display: none;
  }

  .hero__status {
    max-width: 170px;
  }

  .hero__headline {
    top: 138px;
  }

  .hero__line--one {
    font-size: clamp(64px, 20vw, 92px);
  }

  .hero__line--two {
    margin-top: 0.22em;
    font-size: clamp(32px, 8.5vw, 44px);
  }

  .hero__copy {
    top: 278px;
    width: calc(100% - var(--page-pad) - var(--page-pad));
  }

  .hero__intro {
    max-width: 330px;
    font-size: 21px;
  }

  .arrow-link {
    max-width: 340px;
  }

  .hero__ambient {
    top: 54%;
    right: -28%;
    width: 105vw;
    height: 51%;
  }

  .hero__stage {
    inset: auto 0 0;
    height: 46%;
  }

  .hero__portal {
    top: 14%;
    width: 92vw;
    height: 70%;
    box-shadow: 10px 10px 0 var(--ink);
  }

  .hero__figure,
  .hero__ghost {
    right: auto;
    bottom: -6%;
    left: 50%;
    height: clamp(420px, 56svh, 500px);
    transform: translateX(-50%);
  }

  .hero__ghost--violet {
    right: 8%;
  }

  .hero__ghost--coral {
    right: -4%;
  }

  .replay-intro {
    box-shadow: none;
  }

  .work-strip span:last-child {
    display: none;
  }

  .section-heading h2 {
    margin-top: 24px;
    font-size: clamp(62px, 21vw, 92px);
    line-height: 0.84;
  }

  .section-heading > p:last-child {
    margin-top: 24px;
  }

  .project-grid {
    margin-top: 52px;
  }

  .project-card__media {
    aspect-ratio: 4 / 3;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .project-card__number {
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .project-card__open {
    top: 12px;
    right: 12px;
    padding: 10px 12px;
    font-size: 9px;
  }

  .project-card__title {
    font-size: 36px;
  }

  .project-card__meta {
    align-items: flex-start;
  }

  .project-card__meta span:first-child {
    max-width: 70%;
  }

  .about__heading h2 {
    margin-top: 28px;
    font-size: clamp(44px, 13.5vw, 62px);
    letter-spacing: -0.052em;
    line-height: 0.92;
  }

  .about__content {
    margin-top: 52px;
  }

  .about__bio {
    padding: 24px 20px 28px;
  }

  .about__bio h3 {
    margin-top: 38px;
    font-size: 42px;
  }

  .about__bio > p:not(.about__education) {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.24;
  }

  .experience {
    margin-top: 104px;
  }

  .experience__heading h3 {
    font-size: 58px;
  }

  .experience-row {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    min-height: 0;
    padding: 24px 0;
  }

  .experience-row span:first-child,
  .experience-row strong,
  .experience-row span:nth-child(3) {
    grid-column: 1;
  }

  .experience-row__arrow {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .experience-row:hover {
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact {
    min-height: 720px;
  }

  .contact__topline {
    gap: 14px;
  }

  .contact__topline span:nth-child(2) {
    display: none;
  }

  .contact h2 {
    margin-top: 76px;
    font-size: clamp(50px, 16vw, 72px);
    letter-spacing: -0.052em;
    line-height: 0.96;
  }

  .contact__arrow {
    margin-left: 0.04em;
  }

  .contact__links {
    margin-top: 90px;
  }

  .contact__links a {
    padding: 20px 0;
    font-size: 18px;
  }

  .contact__footer {
    align-items: flex-end;
  }

  .case-dialog__bar {
    min-height: 60px;
  }

  .case-dialog__info {
    min-height: calc(100svh - 60px);
    padding-top: 72px;
    padding-bottom: 46px;
  }

  .case-dialog__info h2 {
    font-size: clamp(52px, 16vw, 76px);
    letter-spacing: -0.04em;
    line-height: 0.96;
  }

  .case-dialog__details {
    display: block;
    margin-top: 52px;
  }

  .case-dialog__description-wrap {
    margin-top: 34px;
  }

  .case-dialog__description-wrap > p {
    font-size: 21px;
    line-height: 1.24;
  }

  .case-dialog__external {
    width: 100%;
    justify-content: space-between;
    border-radius: 16px;
  }

  .case-dialog__gallery {
    padding: 12px;
  }
}

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

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

  .hero__portal,
  .work-strip span {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .cursor {
    display: none !important;
  }

  .has-custom-cursor body,
  .has-custom-cursor a,
  .has-custom-cursor button,
  .has-custom-cursor dialog {
    cursor: auto !important;
  }
}
