@font-face {
  font-family: "Kommuna";
  src: url("./assets/fonts/Kommuna-Normal.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 12px;
  background: #fff;
}

button {
  font: inherit;
}

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

.hero {
  position: relative;
  width: min(100%, 1400px);
  height: 760px;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  isolation: isolate;
  background:
    radial-gradient(ellipse 40% 33% at 52% 87%, rgba(187, 216, 255, 0.96) 0%, rgba(118, 169, 251, 0.68) 39%, rgba(41, 116, 244, 0.25) 73%, transparent 100%),
    linear-gradient(180deg, #0b61ee 0%, #4b91f8 52%, #92c1ff 100%);
}

.copy--mobile {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 24px;
  left: 50%;
  width: min(calc(100% - 48px), 1376px);
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.site-header.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(calc(-100% - 40px));
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 8px 8px 8px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(11.5px);
  -webkit-backdrop-filter: blur(11.5px);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled .site-nav {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(244, 244, 244, 0.82);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.site-header.is-scrolled .site-nav a {
  color: #111;
}

.site-header.is-scrolled .site-nav .site-nav__button--dark {
  color: #fff;
}

.site-header.is-scrolled .site-nav a:focus-visible {
  outline-color: #111;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
}

.site-nav__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav__avatar {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
}

.site-nav__avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 124.15%;
  object-fit: cover;
  object-position: center top;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  transition: opacity 180ms ease;
}

.site-nav__links a:hover,
.site-nav__profile:hover {
  opacity: 0.7;
}

.site-nav__links a:focus-visible,
.site-nav__profile:focus-visible,
.site-nav__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .site-nav__button {
  padding: 16px 20px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav .site-nav__button:hover {
  transform: translateY(-2px);
}

.site-nav .site-nav__button--light {
  color: #000;
  background: #fff;
}

.site-nav .site-nav__button--dark {
  color: #fff;
  background: #000;
}

.hero__rays,
.hero__rays::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__rays {
  z-index: 0;
  opacity: 1;
}

.hero__rays::after {
  content: "";
  background: linear-gradient(180deg, rgba(8, 89, 224, 0.04), transparent 45%);
}

.ray {
  position: absolute;
  width: 32.13%;
  height: 116.83%;
  object-fit: fill;
  transform-origin: center;
  animation-duration: var(--ray-duration, 9s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-delay: var(--ray-delay, 0s);
  will-change: transform;
}

.ray--1,
.ray--3,
.ray--5 {
  animation-name: ray-sway;
}

.ray--2,
.ray--4,
.ray--6 {
  left: auto;
  animation-name: ray-sway-mirrored;
}

.ray--1 {
  --ray-angle: -40.8deg;
  --ray-duration: 10s;
  --ray-delay: -2s;
  left: 1.91%;
  top: -35%;
  transform: rotate(-40.8deg);
}

.ray--2 {
  --ray-angle: -40.8deg;
  --ray-duration: 9.5s;
  --ray-delay: -6s;
  right: 1.91%;
  top: -35%;
  transform: scaleX(-1) rotate(-40.8deg);
}

.ray--3 {
  --ray-angle: -73.8deg;
  --ray-duration: 12s;
  --ray-delay: -4s;
  left: 8.03%;
  top: -57.07%;
  transform: rotate(-73.8deg);
}

.ray--4 {
  --ray-angle: -73.8deg;
  --ray-duration: 10.5s;
  --ray-delay: -1s;
  right: 8.03%;
  top: -57.07%;
  height: 116.83%;
  transform: scaleX(-1) rotate(-73.8deg);
}

.ray--5 {
  --ray-angle: -9.59deg;
  --ray-duration: 9s;
  --ray-delay: -5s;
  left: -6.7%;
  top: -9.61%;
  transform: rotate(-9.59deg);
}

.ray--6 {
  --ray-angle: -9.59deg;
  --ray-duration: 8.5s;
  --ray-delay: -3s;
  right: -6.7%;
  top: -9.61%;
  transform: scaleX(-1) rotate(-9.59deg);
}

@keyframes ray-sway {
  from {
    transform: rotate(calc(var(--ray-angle) - 1.25deg));
  }
  to {
    transform: rotate(calc(var(--ray-angle) + 1.25deg));
  }
}

@keyframes ray-sway-mirrored {
  from {
    transform: scaleX(-1) rotate(calc(var(--ray-angle) - 1.25deg));
  }
  to {
    transform: scaleX(-1) rotate(calc(var(--ray-angle) + 1.25deg));
  }
}

.hero__copy {
  position: absolute;
  z-index: 4;
  top: 19.95%;
  left: 50%;
  width: min(720px, 78vw);
  transform: translateX(-50%);
  text-align: center;
}

.hero__eyebrow,
.hero h1 {
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  line-height: 1;
}

.hero__eyebrow {
  margin-bottom: 4px;
  font-size: clamp(22px, 1.98vw, 28px);
  opacity: 0.8;
}

.hero h1 {
  font-size: clamp(29px, 2.49vw, 35.2px);
  letter-spacing: -0.02em;
}

.hero__description {
  margin: 16px 0 0;
  font-size: clamp(13px, 1.13vw, 16px);
  font-weight: 400;
  line-height: 1.5;
}

.hero__portrait {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -11.5%;
  width: min(36.37vw, 515px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.hero__glow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -19%;
  width: min(52vw, 740px);
  transform: translateX(-50%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__glow img {
  display: block;
  width: 100%;
}

.comment {
  position: absolute;
  z-index: 7;
  left: 28.25%;
  top: 88.38%;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  transform-origin: 80% 50%;
  animation: comment-float 3.2s ease-in-out infinite;
}

.comment img {
  position: absolute;
  right: -5px;
  top: -18px;
  width: 20px;
  height: 20px;
  transform: rotate(0deg);
  transform-origin: 45% 80%;
}

.comment span {
  display: block;
  padding: 8px 16px;
  border-radius: 24px;
  background: #fff;
  line-height: 24px;
  white-space: nowrap;
}

@keyframes comment-float {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 7px -11px;
    rotate: -1.5deg;
  }
}

.projects {
  width: min(100%, 1400px);
  margin: 80px auto 80px;
  scroll-margin-top: 24px;
  color: #000;
}

.projects h2 {
  margin: 0 0 32px;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.projects__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  display: grid;
  grid-template-columns: 637px minmax(0, 1fr);
  gap: 24px;
  min-height: 516px;
  padding: 8px 24px 8px 8px;
  overflow: hidden;
  border-radius: 40px;
  color: #000;
  background: #f8f8f9;
  text-decoration: none;
  transition: background-color 220ms ease;
}

.project-card:hover {
  background: #f2f2f4;
}

.project-card:focus-visible {
  outline: 3px solid #155eef;
  outline-offset: 3px;
}

.project-card__cover {
  width: 637px;
  height: 500px;
  overflow: hidden;
  border-radius: 36px;
}

.project-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.project-card:hover .project-card__cover img {
  transform: scale(1.018);
}

.case-cursor {
  --case-cursor-x: 0px;
  --case-cursor-y: 0px;
  position: fixed;
  z-index: 2000;
  top: var(--case-cursor-y);
  left: var(--case-cursor-x);
  display: flex;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 150ms ease, transform 180ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}

.case-cursor.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .project-card {
    cursor: none;
  }
}

.project-card__content {
  display: flex;
  min-width: 0;
  padding: 12px 0;
  flex-direction: column;
  justify-content: space-between;
}

.project-card__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19.31px;
  font-weight: 500;
  line-height: 1;
}

.project-card__logo {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.project-card__logo--russayfin {
  background: #160c9d;
}

.project-card__logo--russayfin img {
  width: 28.44px;
  height: 13.23px;
}

.project-card__logo--alfa {
  background: #ef3124;
}

.project-card__logo--alfa img {
  width: 14px;
  height: 20px;
}

.project-card__logo--young-yandex img {
  width: 36px;
  height: 36px;
}

.project-card__number {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.project-card__placement {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.project-card__placement strong {
  color: #e30303;
  font-weight: 400;
}

.project-card h3 {
  max-width: 100%;
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.project-card__meta {
  display: grid;
  grid-template-columns: 1fr 1.2fr .9fr;
  gap: 24px;
  margin: 0;
}

.project-card__meta div {
  min-width: 0;
}

.project-card__meta dt,
.project-card__meta dd {
  margin: 0;
  line-height: 1.4;
}

.project-card__meta dt {
  font-size: 12px;
  opacity: 0.5;
}

.project-card__meta dd {
  font-size: 16px;
  white-space: nowrap;
}

.works {
  --works-left-x: 0px;
  --works-left-y: 0px;
  --works-middle-x: 0px;
  --works-middle-y: 0px;
  --works-right-x: 0px;
  --works-right-y: 0px;
  width: min(100%, 1400px);
  margin: 0 auto;
  overflow: clip;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 420px);
  align-items: start;
  justify-content: center;
  gap: 18px;
  padding: 46px 0;
}

.works__column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  will-change: transform;
}

.works__column--left {
  gap: 13px;
  transform: translate3d(var(--works-left-x), var(--works-left-y), 0);
}

.works__column--middle {
  gap: 18px;
  padding-top: 102px;
  transform: translate3d(var(--works-middle-x), var(--works-middle-y), 0);
}

.works__column--right {
  gap: 11px;
  transform: translate3d(var(--works-right-x), var(--works-right-y), 0);
}

.work-tile {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 32px;
  background: #f6f6f6;
}

.work-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.about-more {
  width: min(100%, 1400px);
  margin: 200px auto 100px;
  padding-inline: 60px;
  color: #000;
}

.about-more__stage > h2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 320ms ease, transform 320ms ease;
}

.about-more.is-pinned .about-more__stage > h2 {
  opacity: 0;
  transform: translateY(-18px);
}

.about-more__scroll {
  position: relative;
  height: 300vh;
  min-height: 2100px;
}

.about-more__stage {
  position: sticky;
  top: 20px;
  display: flex;
  width: min(100%, 934px);
  height: min(960px, calc(100vh - 40px));
  min-height: 840px;
  margin: 0 auto;
  padding-top: 40px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.about-more__copy-stack {
  position: relative;
  z-index: 110;
  width: min(100%, 868px);
  height: 102px;
  margin: 0 auto;
  flex: 0 0 auto;
}

.about-story-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 360ms ease, visibility 360ms ease, transform 360ms ease;
}

.about-story-copy.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.about-story-copy h3 {
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.about-story-copy p {
  max-width: 600px;
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  opacity: 0.6;
}

.about-more__collage-stack {
  position: relative;
  width: 100%;
  height: 590px;
  margin: 26px auto 0;
  flex: 0 0 auto;
}

.about-collage {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(.98);
  transition: opacity 420ms ease, visibility 420ms ease, transform 520ms cubic-bezier(.2,.8,.2,1);
}

.about-collage.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.about-collage--ambassador {
  inset: 6% auto auto 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, 24px) scale(.98);
}

.about-collage--ambassador.is-active {
  transform: translate(-50%, 0) scale(1);
}

.about-photo {
  --photo-rotation: 0deg;
  position: absolute;
  z-index: 1;
  display: block;
  height: auto;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 24px;
  object-fit: cover;
  cursor: zoom-in;
  transform: rotate(var(--photo-rotation));
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.about-photo:hover {
  z-index: 99;
  transform: translateY(-8px) rotate(var(--photo-rotation)) scale(1.055);
}

.about-note {
  position: absolute;
  z-index: 150;
  padding: 10px;
  color: #fff;
  background: #013cff;
  font-size: 20px;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
}

.about-photo-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo--l1 { --photo-rotation: -3.77deg; top: 2.25%; left: 1.05%; width: 44.47%; aspect-ratio: 415.355 / 311.516; }
.about-photo--l2 { --photo-rotation: 8.87deg; top: 19.06%; left: 50.72%; width: 46.86%; aspect-ratio: 437.69 / 328.354; }
.about-photo--l3 { --photo-rotation: -5.23deg; top: 45%; left: 18.49%; width: 40.58%; aspect-ratio: 379 / 229; border-radius: 20px; }
.about-note--lectures { top: 11.47%; left: 48.07%; }

.about-photo--a1 { --photo-rotation: 5.98deg; top: 3.71%; left: 33.27%; width: 46.86%; aspect-ratio: 437.69 / 328.354; }
.about-photo--a2 { --photo-rotation: -5.23deg; top: 18.08%; left: 1.37%; width: 36.02%; aspect-ratio: 336.419 / 296.436; border-radius: 20px; }
.about-photo--a3 { --photo-rotation: -3.77deg; top: 31.95%; left: 69.2%; width: 28.3%; aspect-ratio: 264.307 / 262.479; }
.about-photo--a4 { --photo-rotation: -5.58deg; top: 51.26%; left: 30.73%; width: 22.27%; aspect-ratio: 208 / 278; border-radius: 20px; }
.about-note--ambassador { top: 47.63%; left: 30.84%; }

.about-photo--m1 { --photo-rotation: 3.06deg; top: 1.89%; left: .78%; width: 45.5%; aspect-ratio: 425 / 283; border-radius: 20px; }
.about-photo--m2 { top: 14.28%; left: 42.84%; width: 51.39%; aspect-ratio: 480 / 274; border-radius: 20px; }
.about-photo--m3 { --photo-rotation: -.99deg; top: 37.21%; left: 23.34%; width: 25.16%; aspect-ratio: 235 / 270; border-radius: 20px; object-position: center 38%; }
.about-note--media { top: 54.74%; left: 56.54%; transform: rotate(3.06deg); }

.about-more__steps {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  pointer-events: none;
}

.about-more__step {
  min-height: 100vh;
}

@media (max-width: 800px) {
  .site-header {
    display: none;
  }

  .hero {
    height: 700px;
    border-radius: 0 0 24px 24px;
  }

  .hero__copy {
    top: 15%;
    width: calc(100% - 32px);
  }

  .hero__description {
    max-width: 520px;
    margin-inline: auto;
  }

  .hero__description br {
    display: none;
  }

  .hero__portrait {
    bottom: -1%;
    width: min(72vw, 430px);
  }

  .comment {
    left: 50%;
    top: auto;
    bottom: 9%;
    transform: translateX(-95%);
    font-size: 13px;
  }

  .site-header {
    top: 16px;
    width: calc(100% - 32px);
  }

  .site-nav {
    position: relative;
    padding-left: 18px;
  }

  .site-nav__toggle {
    display: block;
  }

  .site-nav__links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 180px;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: rgba(15, 93, 217, 0.88);
    box-shadow: 0 18px 38px rgba(0, 42, 119, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

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

  .site-nav__links a {
    text-align: center;
  }

  .site-nav__toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-nav__toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 8px;
    border-radius: 32px;
  }

  .project-card__cover {
    width: 100%;
    height: auto;
    aspect-ratio: 637 / 500;
    border-radius: 26px;
  }

  .project-card__content {
    min-height: 260px;
    padding: 20px 12px 12px;
  }

  .works__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .work-tile {
    border-radius: 22px;
  }

  .about-more__stage {
    width: 100%;
    min-height: 700px;
    padding-inline: 10px;
  }

  .about-more__collage-stack {
    height: auto;
    aspect-ratio: 934 / 590;
  }
}

@media (max-width: 520px) {
  body {
    padding: 0;
  }

  .hero {
    width: 100%;
    height: max(619px, min(700px, 171.944vw));
    min-height: 0;
    border-radius: 0 0 16px 16px;
    background:
      radial-gradient(ellipse 45% 36% at 50% 74%, rgba(157, 195, 255, 0.96) 0%, rgba(118, 169, 251, 0.7) 36%, rgba(39, 116, 244, 0.28) 72%, transparent 100%),
      linear-gradient(180deg, #0b61ee 0%, #4b91f8 52%, #92c1ff 100%);
  }

  .site-header {
    display: none;
  }

  .copy--desktop {
    display: none;
  }

  .copy--mobile {
    display: inline;
  }

  .hero__copy {
    top: 104px;
    width: calc(100% - 20px);
  }

  .hero__eyebrow {
    margin-bottom: 1px;
    font-size: 24px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0;
  }

  .hero__description {
    width: 100%;
    max-width: 340px;
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .hero__portrait {
    bottom: 0;
    width: 99.167%;
    max-width: none;
  }

  .comment {
    left: 10px;
    top: 552px;
    bottom: auto;
    transform: none;
    font-size: 12px;
  }

  .comment img {
    right: -5px;
    top: -18px;
    width: 20px;
    height: 20px;
  }

  .comment span {
    padding: 8px 16px;
    line-height: 24px;
  }

  .hero__glow {
    display: none;
  }

  .ray--2,
  .ray--4,
  .ray--6 {
    display: none;
  }

  .ray--1,
  .ray--3,
  .ray--5 {
    width: 126.4%;
    height: 144.58%;
  }

  .ray--1 {
    left: -26.1%;
    top: -48%;
  }

  .ray--3 {
    left: -2%;
    top: -75.3%;
  }

  .ray--5 {
    left: -60%;
    top: -16.6%;
  }

  .projects {
    margin-top: 80px;
    padding: 0 4px;
  }

  .projects h2 {
    margin-bottom: 28px;
    font-size: 42px;
  }

  .project-card {
    border-radius: 28px;
  }

  .project-card__cover {
    border-radius: 22px;
  }

  .project-card__content {
    min-height: 250px;
    padding: 18px 10px 10px;
  }

  .project-card__brand {
    font-size: 16px;
  }

  .project-card h3 {
    font-size: 27px;
  }

  .project-card__meta {
    gap: 10px;
  }

  .project-card__meta dd {
    font-size: 13px;
  }

  .works {
    overflow: hidden;
    padding: 0 4px;
  }

  .works__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .works__column--middle {
    padding-top: 0;
  }

  .work-tile {
    border-radius: 28px;
  }

  .about-more {
    margin-top: 200px;
    padding: 0 8px;
  }

  .about-more__stage > h2 {
    top: 0;
    font-size: 40px;
  }

  .about-more__scroll {
    min-height: 1800px;
  }

  .about-more__stage {
    top: 12px;
    height: min(760px, calc(100vh - 24px));
    min-height: 660px;
    padding-top: 40px;
    padding-inline: 0;
  }

  .about-more__copy-stack {
    height: 126px;
  }

  .about-story-copy {
    gap: 10px;
  }

  .about-story-copy h3 {
    font-size: 25px;
  }

  .about-story-copy p {
    max-width: 350px;
    font-size: 14px;
  }

  .about-more__collage-stack {
    margin-top: 12px;
  }

  .about-note {
    padding: 6px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comment {
    animation: none;
  }

  .ray {
    animation: none;
  }

  .works__column {
    transform: none !important;
  }

  .about-story-copy,
  .about-collage,
  .about-photo,
  .about-more__stage > h2 {
    transition: none;
  }
}

.site-footer {
  position: relative;
  width: min(100%, 1400px);
  height: 760px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #080808, #171717 48%, #303030 78%, #4b4b4b);
  color: #fff;
  isolation: isolate;
}

.site-footer__scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1);
}


.site-footer__content {
  position: absolute;
  z-index: 1;
  top: 44.16%;
  left: 50%;
  display: flex;
  width: min(100% - 32px, 651px);
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer h2 {
  margin: 0;
  font-family: "Kommuna", "Iowan Old Style", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-footer__link {
  display: inline-flex;
  min-height: 60px;
  padding: 16px 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 99px;
  background: #fff;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.site-footer__link img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  transition: transform 180ms ease;
}

.site-footer__link:hover {
  transform: translateY(-3px);
  background: #ededed;
}

.site-footer__link:hover img {
  transform: translate(2px, -2px);
}

.site-footer__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .site-footer {
    height: 620px;
    border-radius: 16px;
  }


  .site-footer__content {
    top: 43%;
    width: calc(100% - 24px);
    gap: 18px;
  }

  .site-footer h2 {
    font-size: 40px;
  }

  .site-footer__links {
    flex-wrap: wrap;
  }

  .site-footer__link {
    min-height: 48px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .site-footer__link img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__link,
  .site-footer__link img {
    transition: none;
  }

  .site-header,
  .site-nav {
    transition: none;
  }
}

/* Decorations stay absent until the first 3D frame is ready. */
.hero { background: linear-gradient(180deg, #08090d 0%, #141820 48%, #272d38 78%, #424854 100%); }
.hero__copy { text-shadow: 0 1px 12px rgb(34 64 105 / 24%); }
.hero__scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; user-select: none; }
.hero__crystal-canvas { display: block; width: 100%; height: 100%; }
[data-crystal-scene] canvas {
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease;
}
[data-crystal-scene].is-crystal-ready canvas {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  [data-crystal-scene] canvas { transition: none; }
}
