@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext-300-italic.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-300-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-300-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-300-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --void: #050505;
  --ink: #0c0c0c;
  --graphite: #161616;
  --ash: #8a8a86;
  --silver: #c4c2bc;
  --mist: #e8e4dc;
  --bone: #f4f0e8;
  --hairline: rgba(244, 240, 232, 0.14);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  -webkit-tap-highlight-color: transparent;
}
html[lang="ru"] body {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.06em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 48px;
}
.site-brand {
  --brand-mark: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 32;
  color: var(--bone);
  flex-shrink: 0;
  height: var(--brand-mark);
}
.site-brand img {
  width: var(--brand-mark);
  height: var(--brand-mark);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.55));
}
.site-brand span {
  /* Cap height ~0.66em; match the drawn square (~inset in PNG), not past it. */
  font-family: var(--serif);
  font-size: calc(var(--brand-mark) * 1.38);
  line-height: var(--brand-mark);
  height: var(--brand-mark);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}
html[lang="ru"] .site-brand span { letter-spacing: 0.14em; }
.header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-left: auto;
}
.nav-toggle {
  display: flex;
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  left: auto;
  bottom: auto;
  z-index: 80;
  width: auto;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  margin: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(244, 240, 232, 0.45);
  background: rgba(8, 8, 8, 0.72);
  color: var(--bone);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
html[lang="ru"] .nav-toggle {
  letter-spacing: 0.14em;
  font-size: 11px;
}
.nav-toggle-close { display: none; }
html.nav-open .nav-toggle-open { display: none; }
html.nav-open .nav-toggle-close { display: inline; }
.nav-toggle-bars {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--bone);
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--bone);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
html.nav-open .nav-toggle-bars { background: transparent; }
html.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
html.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 300;
}
html[lang="ru"] .lang-switch { letter-spacing: 0.22em; font-size: 13px; }
.lang-switch button {
  padding: 8px 12px;
  color: var(--ash);
  min-width: 44px;
}
.lang-switch button + button { border-left: 1px solid var(--hairline); }
.lang-switch button[aria-pressed="true"] {
  color: var(--bone);
  background: rgba(242, 240, 235, 0.06);
}
.sound-dock {
  --sound-base: 24px;
  position: fixed;
  left: auto;
  right: calc(48px + env(safe-area-inset-right, 0px));
  bottom: calc(var(--sound-base) + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: 28;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
html.gallery-on .sound-dock {
  --sound-base: 58px;
}
.sound-dock[hidden] { display: none; }
.sound-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hairline);
  background: rgba(8, 8, 8, 0.9);
  color: var(--ash);
}
.sound-fab:hover,
.sound-dock.is-open .sound-fab,
html.sound-on .sound-fab {
  color: var(--bone);
}
.sound-icon {
  width: 18px;
  height: 18px;
  display: block;
}
html.sound-on .sound-icon .sound-wave {
  opacity: 1;
}
html:not(.sound-on) .sound-icon .sound-wave {
  opacity: 0.28;
}
.sound-panel {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: min(268px, calc(100vw - 32px));
  padding: 4px 8px 10px;
  border: 1px solid var(--hairline);
  background: rgba(8, 8, 8, 0.92);
}
.sound-dock.is-open .sound-panel {
  display: flex;
}
.sound-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 300;
  padding: 8px 10px;
  color: var(--ash);
  min-width: 44px;
  min-height: 40px;
}
html[lang="ru"] .sound-toggle {
  letter-spacing: 0.18em;
  font-size: 13px;
}
.sound-toggle[aria-pressed="true"] {
  color: var(--bone);
}
.sound-transport {
  display: inline-flex;
  align-items: center;
}
.sound-transport[hidden] { display: none; }
.sound-prev,
.sound-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--silver);
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
}
.sound-prev:hover,
.sound-next:hover {
  color: var(--bone);
}
.sound-meta {
  margin: 0;
  padding: 0 8px 2px;
  min-width: 0;
}
.sound-meta[hidden] { display: none; }
.sound-title,
.sound-artist {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sound-title {
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--bone);
  line-height: 1.35;
}
.sound-artist {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
html[lang="ru"] .sound-artist { letter-spacing: 0.1em; font-size: 11px; }
.sound-level-wrap {
  display: flex;
  align-items: center;
  padding: 0 8px 2px;
}
.sound-level-wrap[hidden] { display: none; }
.sound-level {
  width: 100%;
  height: 22px;
  accent-color: var(--bone);
  cursor: pointer;
}
.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;
}
html.sound-on .sound-fab {
  animation: sound-live 4.8s ease-in-out infinite;
}
@keyframes sound-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  html.sound-on .sound-fab { animation: none; }
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--silver);
}
html[lang="ru"] .nav {
  font-size: 14px;
  letter-spacing: 0.2em;
  gap: 24px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }

html.gallery-on {
  --void: #080808;
  --ash: #6e6e6a;
  --silver: #b8b6b0;
  --mist: #d8d6d0;
  --bone: #f2f0eb;
  --hairline: rgba(242, 240, 235, 0.12);
  scroll-behavior: auto;
}
html.gallery-on,
html.gallery-on body {
  height: 100%;
  overflow: hidden;
  background: #070707;
}
html.gallery-on .site-header {
  position: fixed;
}
/* First slide already carries the big mark — hide the corner lockup. */
body.is-hero-slide .site-brand {
  visibility: hidden;
  pointer-events: none;
}
html.gallery-on .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  padding: 14px 48px 16px;
  background: rgba(8, 8, 8, 0.78);
  border-top: 1px solid var(--hairline);
}
html.gallery-on .cookie-banner {
  background: rgba(8, 8, 8, 0.86);
  padding: 12px 36px;
  font-size: 12px;
}
html.nav-open,
html.nav-open body {
  overflow: hidden;
}

.gallery-ground {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #050505;
}
.gallery-fog {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 46%, transparent 48%, rgba(5, 5, 5, 0.22) 82%, rgba(5, 5, 5, 0.42) 100%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.18) 0%, transparent 16%, transparent 84%, rgba(5, 5, 5, 0.22) 100%);
}
body.is-gallery-moving .gallery-fog {
  animation: fog-sweep 1.4s ease;
}
@keyframes fog-sweep {
  0% { opacity: 0; }
  28% { opacity: 1; }
  100% { opacity: 0; }
}
.gallery {
  height: 100vh;
  height: 100dvh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}
.gallery .chapter {
  position: absolute;
  inset: 0;
  min-height: 100%;
  display: block;
  padding: 0;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 18%, 0);
  transition:
    transform 1.4s cubic-bezier(0.22, 0.8, 0.24, 1),
    opacity 1.25s ease;
  z-index: 1;
  pointer-events: none;
}
.gallery .chapter.is-active {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}
.gallery .chapter.is-away {
  transform: translate3d(0, -16%, 0);
  opacity: 0;
  z-index: 2;
}
html:not(.gallery-on) .gallery-ground,
html:not(.gallery-on) .gallery-fog,
html:not(.gallery-on) .gallery,
html:not(.gallery-on) .gallery-hint {
  display: none !important;
}
html:not(.gallery-on):not(.series-on) .gallery-index {
  display: none !important;
}
.gallery-ground[hidden],
.gallery-fog[hidden],
.gallery[hidden],
.gallery-index[hidden],
.gallery-hint[hidden] {
  display: none !important;
}
.gallery-index {
  position: fixed;
  right: clamp(16px, 2.2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}
.gallery-index button {
  width: 28px;
  height: 18px;
  padding: 0;
  opacity: 0.28;
  line-height: 1;
  position: relative;
  font-size: 0;
  color: var(--bone);
}
.gallery-index button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.gallery-index button:hover {
  opacity: 0.8;
}
.gallery-index button[aria-current="true"] {
  width: auto;
  min-width: 36px;
  padding-right: 18px;
  opacity: 1;
  font-size: 10px;
  letter-spacing: 0.28em;
}
.gallery-index button[aria-current="true"]::before {
  content: attr(data-n);
}
.gallery-index button[aria-current="true"]::after {
  width: 14px;
}
.gallery-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 25;
  width: 1px;
  height: 42px;
  background: rgba(242, 240, 235, 0.28);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
}
body.is-hero-slide .gallery-hint {
  animation: hint-pulse 2.8s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.16; transform: translateX(-50%) scaleY(0.86); }
  50% { opacity: 0.5; transform: translateX(-50%) scaleY(1); }
}

.chapter-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  height: auto;
  overflow: hidden;
  pointer-events: none;
  background: #070707;
}
.chapter-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.42) 0%, rgba(5, 5, 5, 0.12) 34%, transparent 58%),
    linear-gradient(to top, rgba(5, 5, 5, 0.28) 0%, transparent 32%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.22) 0%, transparent 18%);
}
.chapter-shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% 50%;
  pointer-events: none;
  filter: contrast(1.04) saturate(0.92);
  transform: scale(1.04);
  transform-origin: 72% 48%;
  opacity: 1;
  background: #050505;
  transition:
    filter 1.3s ease,
    opacity 1.4s ease;
}
.chapter-live {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.live-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: contrast(1.06) brightness(0.98);
  background: transparent;
  transform-origin: 72% 48%;
}
video.live-frame {
  object-position: 58% 50%;
}
.gallery .chapter.is-hero .live-frame,
.gallery .chapter.is-hero video.live-frame {
  object-position: 72% 50%;
}
.live-frame.is-on { opacity: 1; }
.live-frame.is-ground {
  object-fit: contain;
  filter: contrast(1.08) brightness(0.96) saturate(0.92);
}
.gallery .chapter.is-live .chapter-live { opacity: 1; }
.gallery .chapter.is-live .chapter-shot { opacity: 0; }
.gallery .chapter .chapter-visual {
  background: transparent;
}
.gallery .chapter.is-hero .chapter-shot {
  object-fit: cover;
  object-position: 72% 50%;
  filter: contrast(1.04) saturate(0.92);
}
.gallery .chapter.is-hero .chapter-shot[src$="hero-object.jpg"] {
  opacity: 0;
}
.gallery .chapter.is-hero .chapter-visual::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.46) 0%, rgba(5, 5, 5, 0.14) 36%, transparent 60%),
    linear-gradient(to top, rgba(5, 5, 5, 0.22) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.2) 0%, transparent 16%);
}
.gallery .chapter.is-active .chapter-shot {
  animation: forma-drift 28s ease-in-out infinite;
  filter: contrast(1.05) saturate(0.94);
  will-change: transform;
}
.gallery .chapter.is-active .live-frame.is-on {
  animation: forma-drift 28s ease-in-out infinite;
  will-change: transform;
}
@keyframes forma-drift {
  0%, 100% { transform: scale(1.03) translate3d(0, 0, 0); }
  50% { transform: scale(1.09) translate3d(-0.9%, 0.35%, 0); }
}
@keyframes forma-drift-mobile {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.045); }
}
.chapter-copy {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: auto;
  width: min(40vw, 34rem);
  max-width: none;
  min-height: 100%;
  padding:
    calc(96px + env(safe-area-inset-top, 0px))
    0
    calc(72px + clamp(28px, 5vh, 44px))
    clamp(36px, 6.5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  pointer-events: none;
}
.chapter-copy a,
.chapter-copy button {
  pointer-events: auto;
}
.gallery .chapter.reverse .chapter-copy {
  left: auto;
  right: 0;
  margin-left: 0;
  padding:
    calc(96px + env(safe-area-inset-top, 0px))
    clamp(56px, 8vw, 108px)
    calc(72px + clamp(28px, 5vh, 44px))
    0;
  align-items: flex-end;
  text-align: right;
}
.gallery .chapter.reverse .chapter-copy .view,
.gallery .chapter.reverse .explore {
  margin-left: 0;
  margin-right: 0;
}
.gallery .chapter.is-hero .chapter-copy {
  width: min(42vw, 36rem);
  justify-content: space-between;
}
.hero-kicker {
  font-size: var(--fs, 11px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 auto;
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: transparent;
  margin-top: clamp(24px, 8vh, 72px);
}
.chapter-copy .mark {
  width: clamp(104px, 11vw, 168px);
  height: clamp(104px, 11vw, 168px);
  margin: 0;
  padding: 0;
  background: transparent;
  mix-blend-mode: normal;
  filter: none;
}
.gallery .chapter:not(.is-hero) .mark { display: none; }
.wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs, clamp(42px, 5.6vw, 78px));
  letter-spacing: 0.42em;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 0 0.02em;
  color: var(--bone);
  text-shadow: 0 12px 40px rgba(7, 7, 7, 0.55);
}
html[lang="ru"] .wordmark { letter-spacing: 0.3em; }
.hero-rule {
  display: block;
  width: 42px;
  height: 1px;
  margin: 28px 0 0;
  background: rgba(242, 240, 235, 0.34);
}
.gallery .chapter.reverse .hero-rule { margin-left: auto; }
.chapter-copy .slogan-pair {
  margin-top: 22px;
  max-width: 16em;
}
.chapter-copy .slogan-pair span {
  font-size: var(--fs, clamp(17px, 1.55vw, 22px));
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 300;
  color: var(--mist);
}
html[lang="ru"] .chapter-copy .slogan-pair span {
  font-size: var(--fs, clamp(18px, 1.65vw, 23px));
  letter-spacing: 0.03em;
}
.explore,
.chapter-copy .view {
  display: inline-block;
  margin-top: 28px;
  font-size: var(--fs, 11px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 300;
  width: max-content;
  color: var(--bone);
}
.gallery .chapter.is-hero .explore {
  margin-top: auto;
  padding-top: 36px;
}
.explore {
  border-bottom: 1px solid rgba(242, 240, 235, 0.32);
  padding-bottom: 6px;
}
.explore::after,
.chapter-copy .view::after {
  content: " →";
  letter-spacing: 0;
}
.explore:hover {
  color: var(--mist);
  border-bottom-color: rgba(242, 240, 235, 0.14);
}
.chapter-copy .view {
  margin-top: 32px;
  padding: 10px 18px 9px 20px;
  border: 1px solid rgba(242, 240, 235, 0.42);
  background: rgba(8, 8, 8, 0.38);
  transition: border-color 0.7s ease, background 0.7s ease;
}
.chapter-copy .view:hover {
  border-color: rgba(242, 240, 235, 0.78);
  background: rgba(242, 240, 235, 0.06);
}
html[lang="ru"] .explore,
html[lang="ru"] .chapter-copy .view {
  font-size: 12px;
  letter-spacing: 0.22em;
}

.chapter-copy .n {
  font-size: var(--fs, 10px);
  letter-spacing: 0.36em;
  color: var(--ash);
  margin-bottom: 14px;
}
.chapter-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs, clamp(40px, 5.2vw, 68px));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 10px 36px rgba(7, 7, 7, 0.55);
}
html[lang="ru"] .chapter-copy h2 { letter-spacing: 0.1em; }
.chapter-copy .ru-title {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
}
.chapter-copy .concept {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs, clamp(20px, 2vw, 26px));
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--mist);
  max-width: 16em;
}
html[lang="ru"] .chapter-copy .concept { font-size: var(--fs, clamp(21px, 2.1vw, 26px)); }

@media (prefers-reduced-motion: reduce) {
  .gallery .chapter,
  .chapter-shot,
  .chapter-live,
  .live-frame,
  .gallery-hint,
  .gallery-fog {
    transition: none;
    animation: none;
    filter: none;
  }
  .chapter-shot { transform: none; opacity: 1; animation: none; }
  .chapter-live,
  .gallery .chapter.is-live .chapter-live { opacity: 0; }
}

.page {
  overflow: hidden;
  padding: 140px 48px calc(96px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  min-height: 0;
  position: relative;
  background: #050505;
  transition:
    opacity 0.5s ease,
    transform 0.58s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.page::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/stone-hero.jpg") center/cover no-repeat;
  filter: blur(22px) saturate(0.7) brightness(0.42);
  opacity: 0.5;
}
.page.is-route-out {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  pointer-events: none;
}
.page.is-route-hold {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: none;
  pointer-events: none;
}
html.is-route-busy {
  cursor: wait;
}
html.is-route-busy .gallery-index {
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .page {
    transition: none;
  }
  .page.is-route-out,
  .page.is-route-hold {
    transform: none;
  }
}
.page-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}
.kicker {
  font-size: var(--fs, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
html[lang="ru"] .kicker { font-size: var(--fs, 13px); letter-spacing: 0.14em; }
.page h1 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--fs, clamp(36px, 5vw, 64px));
  margin: 18px 0 32px;
  line-height: 1.15;
}
html[lang="ru"] .page h1 { letter-spacing: 0.08em; }
.lede {
  font-family: var(--serif);
  font-size: var(--fs, 28px);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.45;
  max-width: 22em;
  margin-bottom: 36px;
}
html[lang="ru"] .lede { font-size: var(--fs, 30px); }
.prose p {
  max-width: 62ch;
  margin-bottom: 20px;
  color: var(--mist);
  font-size: var(--fs, 17px);
  line-height: 1.8;
}
html[lang="ru"] .prose p {
  font-size: var(--fs, 19px);
  line-height: 1.95;
  max-width: 46em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 12px;
}
.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 12%;
  filter: grayscale(1) contrast(1.04);
}
.about-copy .prose { max-width: none; }
.about-spine {
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid var(--hairline);
  max-width: 38em;
}
.about-spine .spine-en {
  margin: 22px 0 28px;
  font-size: var(--fs, clamp(18px, 2.1vw, 24px));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.65;
  color: var(--bone);
}
html[lang="ru"] .about-spine .spine-en { letter-spacing: 0.06em; }
.about-spine .spine-note {
  color: var(--mist);
  font-size: var(--fs, 17px);
  line-height: 1.8;
  max-width: 42em;
}
html[lang="ru"] .about-spine .spine-note { font-size: var(--fs, 19px); }
.about-close {
  margin-top: 36px;
  font-style: italic;
  font-size: var(--fs, 22px);
  color: var(--bone);
}
.about-spine .spine-en:empty,
.about-close:empty { display: none; }

.concept-pair {
  margin: -8px 0 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs, clamp(22px, 2.4vw, 30px));
  line-height: 1.4;
  color: var(--mist);
}
html[lang="ru"] .concept-pair { letter-spacing: 0.02em; }
.from-series {
  margin: 48px 0 28px;
  font-size: var(--fs, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}
html[lang="ru"] .from-series { letter-spacing: 0.14em; }

#process-page {
  max-width: 1180px;
}
.process-list {
  margin-top: 48px;
}
.process-step {
  display: grid;
  grid-template-columns: minmax(14rem, 0.32fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: center;
  padding: 72px 0 64px;
  border-top: 1px solid var(--hairline);
  background: transparent;
  min-height: 0;
}
.process-step:first-child {
  border-top: 0;
  padding-top: 20px;
}
.process-step:not(.has-media) {
  grid-template-columns: minmax(14rem, 36rem);
}
.process-copy {
  max-width: 28rem;
}
.process-stage {
  margin: 0;
  min-width: 0;
}
.process-stage-frame {
  position: relative;
  background: #070707;
  overflow: hidden;
}
.process-stage-frame.is-multi,
.process-stage-frame.has-video:not(.is-multi) {
  aspect-ratio: 16 / 10;
}
.process-slide {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: #070707;
  cursor: zoom-in;
  color: inherit;
}
.process-stage-frame.is-multi .process-slide,
.page-motion .process-stage-frame.is-multi .process-slide,
.page-motion .process-stage-frame.is-multi .process-slide.is-in {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 1.15s ease;
}
.process-stage-frame.is-multi .process-slide.is-on,
.page-motion .process-stage-frame.is-multi .process-slide.is-on,
.page-motion .process-stage-frame.is-multi .process-slide.is-on.is-in {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.process-stage-frame.is-multi .process-slide,
.process-stage-frame.has-video .process-slide {
  height: 100%;
}
.process-slide img,
.process-slide video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(62vh, 680px);
  object-fit: contain;
  background: #070707;
  pointer-events: none;
  filter: contrast(1.04) saturate(0.92);
}
.process-stage-frame.is-multi .process-slide img,
.process-stage-frame.is-multi .process-slide video,
.process-stage-frame.has-video .process-slide video {
  height: 100%;
  max-height: none;
}
.process-slide img.is-ground {
  filter: none;
}
.process-stage-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 14px;
}
.process-stage-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ash);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
}
.process-stage-nav button:hover {
  color: var(--bone);
}
.process-stage-count {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ash);
  min-width: 4.8em;
  text-align: center;
}
html[lang="ru"] .process-stage-count { letter-spacing: 0.14em; }
.process-step .n { font-size: 12px; letter-spacing: 0.22em; color: var(--ash); }
.process-step h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 26px;
  margin-top: 12px;
}
.process-step p {
  margin-top: 10px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.7;
}
html[lang="ru"] .process-step h2 { letter-spacing: 0.06em; }

.meta {
  margin-top: 40px;
  max-width: 420px;
}
.meta div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
}
.meta dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.series-cover {
  width: 100%;
  max-width: 100%;
  margin: 28px 0 0;
  overflow: hidden;
  background: #050505;
}
.series-cover .still-open,
.object-cover .still-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #070707;
  cursor: zoom-in;
}
/* Photographs keep their own proportions everywhere: never crop the object. */
.series-cover img,
.series-cover img.is-ground {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 820px);
  max-height: min(78dvh, 820px);
  object-fit: contain;
  object-position: 50% 50%;
  background: #050505;
  filter: contrast(1.04) saturate(0.92);
}
.object-cover img,
.object-cover img.is-ground {
  width: 100%;
  height: auto;
  max-height: 78vh;
  max-height: 78dvh;
  object-fit: contain;
  object-position: 50% 50%;
  background: #070707;
  filter: contrast(1.12) brightness(0.9);
}
.object-cover {
  display: flex;
  justify-content: flex-start;
  background: transparent;
}
.series-stills,
.object-stills {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 72px;
  overflow: visible;
  margin: 8px 0 88px;
}
.series-stills .still-open,
.object-stills .still-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: #070707;
  cursor: zoom-in;
}
.series-stills .still-open:nth-child(odd),
.object-stills .still-open:nth-child(odd) {
  align-self: flex-start;
}
.series-stills .still-open:nth-child(even),
.object-stills .still-open:nth-child(even) {
  align-self: flex-end;
}
.series-stills .still-open:nth-child(3n),
.object-stills .still-open:nth-child(3n) {
  width: 78%;
}
.series-stills img,
.series-stills video,
.object-stills img,
.object-stills video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(76vh, 820px);
  max-height: min(76dvh, 820px);
  object-fit: contain;
  object-position: 50% 50%;
  background: #050505;
}
.series-stills img.is-ground,
.object-stills img.is-ground {
  filter: contrast(1.12) brightness(0.9) saturate(0.92);
}
@media (max-width: 720px) {
  .series-stills,
  .object-stills {
    gap: 40px;
    margin-bottom: 56px;
  }
  .series-stills .still-open,
  .object-stills .still-open,
  .series-stills .still-open:nth-child(odd),
  .object-stills .still-open:nth-child(odd),
  .series-stills .still-open:nth-child(even),
  .object-stills .still-open:nth-child(even) {
    width: 100%;
    align-self: stretch;
  }
  .series-stills .still-open:nth-child(3n),
  .object-stills .still-open:nth-child(3n) {
    width: 94%;
    align-self: center;
  }
  .series-cover img,
  .series-cover img.is-ground {
    height: auto;
    max-height: min(72vh, 720px);
    max-height: min(72dvh, 720px);
  }
  .object-cover img,
  .object-cover img.is-ground {
    max-height: 72vh;
    max-height: 72dvh;
  }
}
.enquire {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 6px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 36px 48px 48px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
html[lang="ru"] .site-footer { letter-spacing: 0.1em; font-size: 13px; }

.contacts a {
  display: block;
  margin: 12px 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--silver);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(280px, 1.08fr);
  gap: 72px 88px;
  align-items: start;
}
.contact-side .lede {
  margin-bottom: 12px;
}
.contact-series {
  margin: 8px 0 28px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.channels {
  margin-top: 48px;
  max-width: 360px;
}
.channels .kicker { margin-bottom: 8px; }
.channels a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--silver);
}
.channels a:hover { color: var(--bone); }
.contact-side.is-form {
  padding: 4px 0 0 56px;
  border-left: 1px solid var(--hairline);
  background: transparent;
}
.contact-side.is-form .kicker { margin-bottom: 14px; }
.form-note { display: none; }
.enquire-form {
  position: relative;
  max-width: 440px;
}
.enquire-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.enquire-form label {
  display: block;
  margin: 0 0 22px;
}
.enquire-form label span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}
.enquire-form input,
.enquire-form textarea {
  width: 100%;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(244, 240, 232, 0.28);
  border-radius: 0;
  color: var(--bone);
  font: inherit;
  font-size: 17px;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  outline: none;
  box-shadow: none;
  appearance: none;
}
.enquire-form input::placeholder,
.enquire-form textarea::placeholder {
  color: rgba(244, 240, 232, 0.38);
  font-style: italic;
}
.enquire-form textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.65;
}
.enquire-form input:hover,
.enquire-form textarea:hover {
  border-color: rgba(244, 240, 232, 0.48);
}
.enquire-form input:focus,
.enquire-form textarea:focus {
  border-color: var(--mist);
  background: rgba(12, 12, 12, 0.88);
}
.enquire-form .enquire {
  margin-top: 4px;
  cursor: pointer;
}
.enquire-form .enquire:disabled {
  opacity: 0.45;
  cursor: wait;
}
.form-msg {
  margin-top: 20px;
  font-size: 16px;
  font-style: italic;
  color: var(--silver);
}
.form-msg.is-error { color: #d8c4b0; }

.site-footer a:hover { color: var(--bone); }
.footer-contacts,
.footer-legal { display: flex; gap: 20px; }
.footer-contacts:empty { display: none; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 20px;
  margin: 32px 0 12px;
}
.legal .prose ul {
  margin: 12px 0 18px;
  padding-left: 1.2em;
  color: var(--mist);
  font-size: 17px;
  line-height: 1.7;
}
.legal .prose li {
  margin: 0 0 8px;
}
.legal .prose a {
  color: var(--bone);
  border-bottom: 1px solid var(--hairline);
}
.legal .muted-note {
  margin: 8px 0 28px;
}
.muted-note { color: var(--ash); font-size: 15px; }

.to-top {
  --sound-base: 24px;
  position: fixed;
  right: calc(48px + 44px + 12px + env(safe-area-inset-right, 0px));
  bottom: calc(var(--sound-base) + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: 32;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--hairline);
  background: rgba(8, 8, 8, 0.72);
}
html.gallery-on .to-top {
  --sound-base: 58px;
}
.to-top[hidden] { display: none !important; }
html.sound-panel-open .to-top {
  visibility: hidden;
  pointer-events: none;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 48px;
  background: rgba(8, 8, 8, 0.92);
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--silver);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { max-width: 62ch; margin: 0; }
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cookie-ok {
  border: 1px solid var(--mist);
  padding: 8px 14px;
  color: var(--bone);
}

@media (min-width: 721px) {
  .gallery .chapter .chapter-visual,
  .gallery .chapter.is-hero .chapter-visual,
  .gallery .chapter.reverse .chapter-visual {
    inset: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .chapter-shot,
  .live-frame,
  .live-frame.is-ground,
  .gallery .chapter.reverse .chapter-shot,
  .gallery .chapter.reverse .live-frame,
  .gallery .chapter.is-hero .chapter-shot,
  .gallery .chapter.is-hero .live-frame,
  video.live-frame {
    object-fit: cover;
    object-position: 72% 50%;
    background: #050505;
  }
}

@media (min-width: 1800px) {
  .chapter-copy { width: min(34vw, 36rem); }
  .gallery .chapter.is-hero .chapter-copy { width: min(36vw, 38rem); }
}

@media (min-width: 2560px) {
  .site-header {
    padding: 28px clamp(48px, 3.5vw, 140px);
  }
  html.gallery-on .site-footer {
    padding-left: clamp(48px, 3.5vw, 140px);
    padding-right: clamp(48px, 3.5vw, 140px);
  }
  .sound-dock {
    right: calc(clamp(48px, 3.5vw, 140px) + env(safe-area-inset-right, 0px));
  }
  .to-top {
    right: calc(clamp(48px, 3.5vw, 140px) + 44px + 12px + env(safe-area-inset-right, 0px));
  }
  .gallery-index {
    right: clamp(24px, 2vw, 56px);
  }
  .page {
    padding-left: clamp(64px, 8vw, 280px);
    padding-right: clamp(64px, 8vw, 280px);
  }
  .page-inner { max-width: 1280px; }
  .chapter-copy { width: min(28vw, 40rem); }
  .gallery .chapter.is-hero .chapter-copy { width: min(30vw, 42rem); }
  .cookie-banner {
    padding-left: clamp(48px, 3.5vw, 140px);
    padding-right: clamp(48px, 3.5vw, 140px);
  }
}

@media (min-width: 3840px) {
  .site-brand {
    --brand-mark: 42px;
  }
  .nav {
    font-size: 15px;
    gap: 36px;
  }
  .sound-fab {
    width: 52px;
    height: 52px;
  }
  .to-top {
    min-height: 52px;
    right: calc(clamp(48px, 3.5vw, 140px) + 52px + 14px + env(safe-area-inset-right, 0px));
    font-size: 12px;
  }
  .page-inner { max-width: 1480px; }
  .chapter-copy { width: min(24vw, 44rem); }
  .gallery .chapter.is-hero .chapter-copy { width: min(26vw, 46rem); }
}

@media (min-width: 1025px) {
  .nav-toggle { display: none !important; }
}

@media (max-width: 1024px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px;
    padding-right: calc(116px + env(safe-area-inset-right, 0px));
    padding-left: calc(16px + env(safe-area-inset-left, 0px));
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    gap: 0;
    z-index: 50;
  }
  html.gallery-on .site-header { z-index: 50; }
  .site-brand {
    --brand-mark: 26px;
    min-height: var(--brand-mark);
    height: var(--brand-mark);
    align-items: center;
  }
  .site-brand span {
    letter-spacing: 0.16em;
  }
  .header-bar {
    display: flex;
    width: auto;
    margin-left: auto;
    margin-right: 0;
    max-width: none;
    z-index: 32;
  }
  .lang-switch { font-size: 10px; }
  html[lang="ru"] .lang-switch { font-size: 11px; }
  .lang-switch button {
    padding: 0 10px;
    min-width: 42px;
    height: 44px;
  }
  .sound-dock,
  html.gallery-on .sound-dock,
  .to-top,
  html.gallery-on .to-top {
    --sound-base: 12px;
  }
  .sound-dock {
    left: auto;
    right: calc(16px + env(safe-area-inset-right, 0px));
    z-index: 28;
  }
  .sound-toggle {
    font-size: 10px;
    letter-spacing: 0.22em;
    padding: 0 10px;
    height: 44px;
    min-height: 44px;
  }
  html[lang="ru"] .sound-toggle { font-size: 11px; letter-spacing: 0.12em; }
  html.sound-on.gallery-on .gallery .chapter .chapter-copy,
  html.sound-on.gallery-on .gallery .chapter.reverse .chapter-copy,
  html.sound-on.gallery-on .gallery .chapter.is-hero .chapter-copy {
    padding-bottom: calc(84px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  }
  .to-top {
    right: calc(16px + 44px + 10px + env(safe-area-inset-right, 0px));
  }
  html.gallery-on .gallery .chapter .chapter-copy,
  html.gallery-on .gallery .chapter.reverse .chapter-copy,
  html.gallery-on .gallery .chapter.is-hero .chapter-copy {
    padding-bottom: calc(84px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  }
  /* Fixed width keeps the toggle clear of the language switch in any language. */
  .nav-toggle {
    display: flex !important;
    width: 96px;
    min-width: 96px;
    height: 44px;
    right: calc(12px + env(safe-area-inset-right, 0px));
    padding: 0 12px;
    justify-content: space-between;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 28;
    width: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
    padding: 88px 28px 48px;
    background: rgba(6, 6, 6, 0.96);
    font-size: 22px;
    letter-spacing: 0.22em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  html[lang="ru"] .nav {
    font-size: 24px;
    letter-spacing: 0.12em;
  }
  .site-header.is-open .nav,
  html.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .chapter-copy {
    width: min(44vw, 24rem);
  }
  .gallery .chapter.is-hero .chapter-copy {
    width: min(48vw, 26rem);
  }
  .chapter-copy h2 { font-size: var(--fs, clamp(30px, 5vw, 44px)); }
  .wordmark { letter-spacing: 0.3em; }
  .page {
    padding: 84px calc(22px + env(safe-area-inset-right, 0px))
      calc(112px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px))
      calc(22px + env(safe-area-inset-left, 0px));
  }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 420px; }
  .process-step,
  .process-step.has-media,
  .process-step:not(.has-media) {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .process-slide img,
  .process-slide video {
    max-height: min(52vh, 560px);
  }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-side.is-form {
    padding: 36px 0 0;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }
  .site-footer {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px 22px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  html.gallery-on .site-footer {
    display: none;
  }
  .cookie-banner,
  html.gallery-on .cookie-banner {
    top: auto;
    bottom: 0;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    border-top: 1px solid var(--hairline);
    border-bottom: 0;
    font-size: 12px;
    line-height: 1.45;
    padding: 10px calc(16px + env(safe-area-inset-right, 0px))
      calc(10px + env(safe-area-inset-bottom, 0px))
      calc(16px + env(safe-area-inset-left, 0px));
  }
  .cookie-banner p {
    flex: 1 1 160px;
    max-width: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
  }
  .cookie-actions {
    gap: 6px;
    margin-left: auto;
  }
  .cookie-actions a,
  .cookie-ok {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
  }
  html.cookie-on .site-footer {
    padding-bottom: calc(28px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px));
  }
  .footer-contacts,
  .footer-legal {
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .footer-contacts a,
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .enquire-form .enquire,
  .enquire {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .channels a { padding: 16px 0; }
}

@media (max-width: 720px) {
  .gallery .chapter,
  .gallery .chapter.reverse,
  .gallery .chapter.is-hero {
    display: block;
  }
  .gallery .chapter .chapter-visual,
  .gallery .chapter.reverse .chapter-visual,
  .gallery .chapter.is-hero .chapter-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
    background: #050505;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .gallery .chapter .chapter-copy,
  .gallery .chapter.reverse .chapter-copy,
  .gallery .chapter.is-hero .chapter-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-end;
    padding:
      72px
      calc(20px + env(safe-area-inset-right, 0px))
      calc(84px + env(safe-area-inset-bottom, 0px))
      calc(20px + env(safe-area-inset-left, 0px));
    background: linear-gradient(to top, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 52%, transparent 100%);
  }
  .gallery .chapter.is-hero .chapter-copy {
    justify-content: flex-end;
  }
  .chapter-shot,
  .gallery .chapter.reverse .chapter-shot,
  .gallery .chapter.is-active .chapter-shot,
  .gallery .chapter.is-hero .chapter-shot,
  .live-frame,
  .live-frame.is-ground,
  .gallery .chapter.reverse .live-frame,
  .gallery .chapter.is-hero .live-frame,
  video.live-frame {
    object-fit: cover;
    object-position: 64% 30%;
    transform-origin: 64% 32%;
    background: #050505;
    filter: contrast(1.04) saturate(0.92);
  }
  .gallery .chapter.is-active .chapter-shot,
  .gallery .chapter.is-active .live-frame.is-on {
    animation: forma-drift-mobile 36s ease-in-out infinite;
    filter: contrast(1.05) saturate(0.94);
  }
  .chapter-visual::after,
  .gallery .chapter.reverse .chapter-visual::after,
  .gallery .chapter.is-hero .chapter-visual::after {
    background:
      linear-gradient(to bottom, rgba(5, 5, 5, 0.28) 0%, transparent 18%),
      linear-gradient(to top, rgba(5, 5, 5, 0.18) 0%, transparent 40%);
  }
  .hero-kicker { font-size: var(--fs, 9px); margin: 0 0 12px; }
  .hero-brand { gap: 14px; margin-top: 0; }
  .gallery .chapter.is-hero .explore {
    margin-top: 22px;
    padding-top: 0;
  }
  .chapter-copy .mark {
    width: 72px;
    height: 72px;
    margin: 0;
  }
  .wordmark { letter-spacing: 0.32em; font-size: var(--fs, clamp(28px, 8vw, 40px)); }
  .chapter-copy h2 { font-size: var(--fs, clamp(28px, 8vw, 38px)); }
  .chapter-copy .concept { font-size: var(--fs, 18px); }
  .chapter-copy .view { margin-top: 14px; }
  .gallery-index {
    right: 8px;
    top: 42%;
    z-index: 12;
  }
  .gallery-hint { display: none; }
}

@media (max-height: 560px) {
  .chapter-copy,
  .gallery .chapter.reverse .chapter-copy,
  .gallery .chapter.is-hero .chapter-copy {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .chapter-copy .mark {
    width: 84px;
    height: 84px;
    margin-bottom: 6px;
  }
}

html.lightbox-on,
html.lightbox-on body {
  overflow: hidden;
}
html.lightbox-on .site-header,
html.lightbox-on .nav-toggle,
html.lightbox-on .cookie-banner,
html.lightbox-on .site-footer,
html.lightbox-on .to-top {
  visibility: hidden;
  pointer-events: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.94);
  padding:
    calc(56px + env(safe-area-inset-top, 0px))
    calc(48px + env(safe-area-inset-right, 0px))
    calc(48px + env(safe-area-inset-bottom, 0px))
    calc(48px + env(safe-area-inset-left, 0px));
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  position: relative;
  width: min(92vw, 1280px);
  height: min(82vh, 860px);
  height: min(82dvh, 860px);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.lightbox-image,
.lightbox-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
  image-rendering: auto;
}
.lightbox-video:not([hidden]) { pointer-events: auto; }
.lightbox-close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--hairline);
  padding: 0 14px;
  background: rgba(8, 8, 8, 0.7);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  font-size: 28px;
  color: var(--bone);
  background: rgba(8, 8, 8, 0.55);
  border: 1px solid var(--hairline);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-hint { display: none !important; }
.still-open.is-video { position: relative; }
.still-open.is-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(244, 240, 232, 0.9);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.page-motion .kicker,
.page-motion h1,
.page-motion .lede,
.page-motion .about-grid,
.page-motion .about-spine,
.page-motion .process-step,
.page-motion .contact-side,
.page-motion .series-cover,
.page-motion .object-cover,
.page-motion .prose,
.page-motion .meta,
.page-motion .concept-pair,
.page-motion .from-series,
.page-motion .enquire {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.95s ease,
    transform 1.1s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.page-motion .is-in {
  opacity: 1;
  transform: none;
}
[data-layout] {
  --lx: 0px;
  --ly: 0px;
  position: relative;
  transform: translate3d(var(--lx), var(--ly), 0);
}
.page-motion [data-layout]:not(.is-in) {
  opacity: 0;
  transform: translate3d(var(--lx), calc(var(--ly) + 22px), 0);
}
.page-motion [data-layout].is-in {
  opacity: 1;
  transform: translate3d(var(--lx), var(--ly), 0);
}
html.is-studio [data-layout] {
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
html.is-studio .chapter-copy [data-layout],
html.is-studio .chapter-copy .mark,
html.is-studio .chapter-copy .wordmark,
html.is-studio .chapter-copy .hero-kicker,
html.is-studio .chapter-copy .hero-brand,
html.is-studio .chapter-copy .explore,
html.is-studio .chapter-copy .view {
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
html.is-studio img[data-layout],
html.is-studio .mark,
html.is-studio a[data-layout] {
  -webkit-user-drag: none;
  user-select: none;
}
html.is-studio [data-layout].is-dragging,
html.is-layout-drag [data-layout].is-dragging {
  z-index: 12;
  cursor: grabbing;
  touch-action: none;
  outline: 1px solid rgba(242, 240, 235, 0.45);
  outline-offset: 6px;
}
html.is-studio .gallery-index {
  left: 18px;
  right: auto;
  z-index: 40;
}
html.is-layout-drag {
  user-select: none;
}
.page-motion .process-step:nth-child(2) { transition-delay: 0.08s; }
.page-motion .process-step:nth-child(3) { transition-delay: 0.16s; }
.page-motion .process-step:nth-child(4) { transition-delay: 0.24s; }
.page-motion .contact-side.is-form { transition-delay: 0.12s; }

.enquire-form input:-webkit-autofill,
.enquire-form textarea:-webkit-autofill {
  -webkit-text-fill-color: #f4f0e8;
  -webkit-box-shadow: 0 0 0 1000px #121212 inset;
  caret-color: #f4f0e8;
}

@media (max-width: 720px) {
  .lightbox {
    padding:
      calc(64px + env(safe-area-inset-top, 0px))
      calc(8px + env(safe-area-inset-right, 0px))
      calc(24px + env(safe-area-inset-bottom, 0px))
      calc(8px + env(safe-area-inset-left, 0px));
  }
  .lightbox-stage {
    width: 100%;
    height: 74vh;
    height: 74dvh;
  }
  .lightbox-nav { display: none; }
}
@media (max-width: 420px) {
  .site-brand {
    --brand-mark: 24px;
    gap: 9px;
  }
  .site-brand span {
    letter-spacing: 0.12em;
  }
  html[lang="ru"] .site-brand span { letter-spacing: 0.1em; }
  .site-header {
    padding-right: calc(108px + env(safe-area-inset-right, 0px));
  }
  .nav-toggle {
    width: 88px;
    min-width: 88px;
    padding: 0 10px;
  }
  .lang-switch button {
    min-width: 38px;
    padding: 0 8px;
  }
  .cookie-banner p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 11px;
  }
}
@media (max-width: 340px) {
  .site-brand span { display: none; }
  .nav-toggle {
    width: 72px;
    min-width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-motion .kicker,
  .page-motion h1,
  .page-motion .lede,
  .page-motion .about-grid,
  .page-motion .about-spine,
  .page-motion .process-step,
  .page-motion .contact-side,
  .page-motion .series-cover,
  .page-motion .object-cover,
  .page-motion .prose,
  .page-motion .meta,
  .page-motion .concept-pair,
  .page-motion .from-series,
  .page-motion .enquire {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .page-motion [data-layout],
  .page-motion [data-layout].is-in {
    transform: translate3d(var(--lx), var(--ly), 0);
  }
  .process-stage-frame.is-multi .process-slide {
    transition: none;
  }
}

html.is-studio .cookie-banner,
html.is-studio .gallery-hint,
html.is-studio .sound-dock {
  display: none !important;
}
html.is-studio .chapter-copy,
html.is-studio .chapter-visual {
  pointer-events: auto;
}
html.is-studio [data-studio].is-picked {
  outline: 1px solid rgba(242, 240, 235, 0.38);
  outline-offset: -1px;
}
