@font-face {
  font-family: "Decima Mono Cyr";
  src: url("../fonts/font.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #05060a;
  --bg-deep: #090b11;
  --panel: rgba(16, 19, 28, 0.88);
  --panel-strong: rgba(18, 22, 31, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3eadb;
  --text-soft: rgba(243, 234, 219, 0.78);
  --text-muted: rgba(243, 234, 219, 0.52);
  --accent: #d7a267;
  --accent-soft: rgba(215, 162, 103, 0.18);
  --accent-red: #ba6543;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1220px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(215, 162, 103, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(186, 101, 67, 0.18), transparent 28%),
    radial-gradient(circle at 68% 72%, rgba(215, 162, 103, 0.08), transparent 34%),
    linear-gradient(180deg, #030409 0%, #090b11 32%, #05060a 100%);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 3px 3px, 3px 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-red));
  box-shadow: 0 0 30px rgba(215, 162, 103, 0.55);
  transition: width 0.12s linear;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  display: grid;
  grid-template-columns: minmax(56px, 96px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 9, 14, 0.46);
  backdrop-filter: blur(22px);
  z-index: 30;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 14, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.site-header__brand {
  min-width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(-8px) scale(0.82);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-header.is-brand-visible .site-header__brand {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.site-header__brand img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 38px;
}

.site-nav a,
.section-kicker,
.project-card__category,
.project-card__subtitle,
.lang-switch a,
.about-essay__label,
.about-panel__label,
.video-modal__close {
  font-family: "Decima Mono Cyr", "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-soft);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 9px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.site-header__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.66rem;
  color: var(--text-soft);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: #151515;
  background: linear-gradient(135deg, #f0be79, #d7a267);
}

.site-header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.site-header__toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 100svh;
  padding: 130px 16px 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
}

.hero__media,
.hero__veil,
.hero__grid-lines {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.24) saturate(0.72) brightness(0.4) contrast(1.06);
  transform: scale(1.06);
}

.hero__veil {
  background:
    linear-gradient(180deg, rgba(3, 4, 9, 0.18) 0%, rgba(4, 5, 9, 0.62) 54%, rgba(5, 6, 10, 0.96) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 58%);
}

.hero__grid-lines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.06;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}

.hero__aurora {
  position: absolute;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.hero__aurora--left {
  top: 12%;
  left: -7%;
  background: radial-gradient(circle, rgba(215, 162, 103, 0.34), transparent 68%);
  transform: translate3d(calc(var(--pointer-x, 0) * -18px), calc(var(--pointer-y, 0) * -18px), 0);
}

.hero__aurora--right {
  right: -8%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(186, 101, 67, 0.36), transparent 68%);
  transform: translate3d(calc(var(--pointer-x, 0) * 22px), calc(var(--pointer-y, 0) * 22px), 0);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--accent);
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 162, 103, 0), rgba(215, 162, 103, 0.72), rgba(215, 162, 103, 0));
}

.hero__logo {
  width: min(420px, 58vw);
  height: auto;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.55));
  transform: translate3d(calc(var(--pointer-x, 0) * 10px), calc(var(--pointer-y, 0) * 10px), 0);
  transition: transform 0.45s ease;
}

.hero__intro {
  width: min(920px, 100%);
  display: flex;
  justify-content: center;
}

.hero__intro-main,
.hero__intro-note {
  position: relative;
  z-index: 1;
}

.hero__intro-main {
  max-width: 68ch;
  margin: 0 auto;
}

.hero__intro-main::before,
.hero__intro-note::before {
  display: none;
}

.hero__intro-note {
  display: none;
}

.hero__intro-mark {
  display: none;
}

.hero__lead {
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.9;
}

.hero__lead--main {
  color: var(--text-soft);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: clamp(1.02rem, 1.48vw, 1.18rem);
  line-height: 1.92;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #151515;
  background: linear-gradient(135deg, #f0be79 0%, #d99859 100%);
  box-shadow: 0 18px 40px rgba(215, 162, 103, 0.25);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  width: 34px;
  height: 58px;
  padding-top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.hero__scroll span {
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: var(--text);
  animation: scrollDot 1.7s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(16px);
    opacity: 1;
  }
}

.section {
  position: relative;
  z-index: 3;
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.about-essay,
.about-panel,
.project-card,
.team-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(19, 23, 33, 0.88), rgba(10, 13, 19, 0.95));
  box-shadow: var(--shadow);
}

.about-essay {
  padding: 0;
  position: relative;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: none;
}

.about-essay--feature {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
}

.about-essay::before {
  display: none;
}

.about-essay__label,
.about-panel__label {
  color: var(--accent);
  font-size: 0.62rem;
}

.about-essay__text {
  position: relative;
  z-index: 1;
  margin-top: 0;
  max-width: 16ch;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.about__stack {
  display: grid;
  gap: 18px;
  align-content: stretch;
}

.about-panel {
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(24, 28, 39, 0.88), rgba(11, 14, 20, 0.94));
}

.about-panel--accent {
  background:
    radial-gradient(circle at top right, rgba(215, 162, 103, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(26, 30, 41, 0.94), rgba(12, 14, 21, 0.98));
}

.about-panel--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-panel__group {
  display: grid;
  gap: 10px;
}

.about-panel__group + .about-panel__group {
  margin-top: 0;
  padding-top: 0;
  padding-left: 18px;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.about-panel p:last-child {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.72;
}

.about .section-heading {
  gap: 10px;
  margin-bottom: 26px;
}

.about .section-heading h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.projects__grid {
  display: grid;
  gap: 26px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.88fr) minmax(0, 1.12fr);
  gap: 30px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.project-card:nth-child(even) .project-card__media {
  order: 2;
}

.project-card:nth-child(even) .project-card__body {
  order: 1;
}

.project-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(215, 162, 103, 0.12), transparent 72%);
}

.project-card.is-hidden {
  display: none;
}

.project-card__media,
.project-card__body {
  position: relative;
  z-index: 1;
}

.project-card__poster {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.project-card__poster img,
.project-card__placeholder {
  width: 100%;
  aspect-ratio: 0.76;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.project-card__placeholder {
  display: grid;
  align-content: end;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at top right, rgba(215, 162, 103, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(8, 10, 15, 0.9), rgba(22, 27, 38, 0.96));
}

.project-card__placeholder span {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 0.94;
}

.project-card__placeholder small {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.project-card__watch {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.project-card__watch:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.project-card__body {
  display: grid;
  align-content: start;
  gap: 14px;
}

.project-card__category,
.project-card__subtitle {
  font-size: 0.68rem;
  color: var(--accent);
}

.project-card__subtitle {
  color: var(--text-soft);
}

.project-card h3,
.team-card h3,
.contact-card h2 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
}

.project-card h3 {
  font-size: clamp(2.25rem, 4vw, 4.15rem);
  line-height: 0.94;
}

.project-card__copy {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.project-card__copy p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.84;
}

.project-card__copy strong {
  color: var(--text);
}

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

.team-card {
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.team-card__photo {
  aspect-ratio: 0.88;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__body {
  display: grid;
  gap: 10px;
  padding: 20px 22px 24px;
}

.team-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 0.94;
}

.team-card p {
  color: var(--text-soft);
  line-height: 1.72;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 58px);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 162, 103, 0.28), transparent 70%);
}

.contact-card__brand {
  position: absolute;
  top: clamp(22px, 3vw, 34px);
  right: clamp(24px, 4vw, 40px);
  z-index: 1;
  width: clamp(108px, 16vw, 168px);
  opacity: 0.18;
  pointer-events: none;
}

.contact-card__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.22));
}

.contact-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}

.contact-card h2 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.95;
}

.contact-card__text {
  max-width: 38ch;
  color: var(--text-soft);
  line-height: 1.85;
}

.contact-card__mail {
  width: fit-content;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card__mail:hover {
  color: #f0be79;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--text-muted);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.site-footer__logo {
  width: clamp(88px, 14vw, 132px);
  height: auto;
  opacity: 0.7;
}

.video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 50;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.76);
  backdrop-filter: blur(18px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  border-radius: var(--radius-xl);
  background: rgba(10, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal__top h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.95rem, 4vw, 2.8rem);
}

.video-modal__close {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.66rem;
  color: var(--text-soft);
}

.video-modal__close:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.video-modal__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020305;
}

.video-modal__frame iframe,
.video-modal__frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1080px) {
  .about__layout,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card__poster {
    position: relative;
    top: 0;
  }

  .project-card:nth-child(even) .project-card__media,
  .project-card:nth-child(even) .project-card__body {
    order: initial;
  }

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(56px, 82px) 1fr auto;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(7, 9, 14, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

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

  .site-nav a {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 118px;
  }

  .hero__intro {
    width: min(640px, 100%);
  }

  .hero__lead--main {
    font-size: clamp(0.98rem, 2.4vw, 1.08rem);
    line-height: 1.82;
  }

  .about-panel--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-panel__group + .about-panel__group {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

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

@media (max-width: 640px) {
  .section {
    padding: 94px 0;
  }

  .site-header {
    top: 12px;
    padding: 12px 14px;
  }

  .lang-switch a {
    min-width: 42px;
    padding: 0 10px;
  }

  .hero__intro-main,
  .project-card,
  .contact-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-card__brand {
    top: 18px;
    right: 18px;
    width: 104px;
    opacity: 0.14;
  }

  .site-footer__logo {
    width: 92px;
  }

  .about-essay__text {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .project-card__watch,
  .button {
    width: 100%;
  }

  .contact-card__mail {
    font-size: clamp(1.7rem, 7vw, 2.9rem);
    word-break: break-word;
  }

  .video-modal {
    padding: 14px;
  }

  .video-modal__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
