@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/unbounded-cyrillic-700.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/unbounded-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/unbounded-cyrillic-800.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/unbounded-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/manrope-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-cyrillic-500-italic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC;
}

:root {
  --bg: #050505;
  --fg: #f3efe6;
  --muted: #8d887c;
  --line: rgba(243, 239, 230, 0.12);
  --veil: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.18) 0%,
    rgba(5, 5, 5, 0.55) 55%,
    rgba(5, 5, 5, 0.82) 100%
  );
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --pad: clamp(1.25rem, 3.5vw, 3rem);
}

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

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: none;
}

h1,
h2,
h3,
p,
.hero-line,
.manifesto-title,
.work-intro h2,
.services-head h2,
.contact h2,
.service-card h3,
.reel-text,
.contact-lead,
.vessel-chapter h2,
.vessel-chapter p {
  overflow-wrap: break-word;
}

body.is-fs-video,
body.is-fs-video * {
  cursor: auto !important;
}

body.is-fs-video .reel-frame,
body.is-fs-video .reel-frame * {
  cursor: ew-resize !important;
}

body.is-fs-video .reel-fs,
body.is-fs-video .reel-fs * {
  cursor: pointer !important;
}

body.is-fs-video .cursor,
body.is-fs-video .grain,
body.is-fs-video .nav,
body.is-fs-video .scroll-progress {
  display: none !important;
}

.reel-frame.is-fs.is-fs-rotate {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--fs-long, 100dvh) !important;
  height: var(--fs-short, 100dvw) !important;
  transform: translate(-50%, -50%) rotate(90deg) !important;
  transform-origin: center center !important;
}

html.is-fs-video,
html.is-fs-video body {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

body:not(.is-ready) {
  overflow: hidden;
}

body:not(.is-ready) .nav,
body:not(.is-ready) main {
  opacity: 0;
  pointer-events: none;
}

body:not(.is-ready) .cursor,
body:not(.is-ready) .grain,
body:not(.is-ready) .scroll-progress {
  opacity: 0;
  visibility: hidden;
}

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

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

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

::selection {
  background: var(--fg);
  color: var(--bg);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 90;
  background: var(--fg);
  transform-origin: left center;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
}

body.is-reel-drag .cursor {
  mix-blend-mode: normal;
}

.cursor-dot,
.cursor-ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: width 0.35s ease, height 0.35s ease, background 0.35s ease;
  will-change: transform;
}

.cursor.is-hover .cursor-ring {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
}

.cursor.is-compare .cursor-ring {
  width: 72px;
  height: 28px;
  border-radius: 999px;
}

.word {
  display: inline-block;
  white-space: nowrap;
}

.ch {
  display: inline-block;
  transform-origin: 50% 85%;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}

.preloader.is-done {
  pointer-events: none;
}

.preloader-word {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 46%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 16vw, 14rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  user-select: none;
}

.preloader-word span {
  display: inline-block;
  transform-origin: 50% 100%;
}

.preloader-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1.2rem;
}

.preloader-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.15rem;
}

.preloader-bar {
  height: 1px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--fg);
}

.preloader-count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  min-width: 2.2ch;
  text-align: right;
}

@media (max-width: 700px) {
  .preloader-word {
    left: 0;
    right: 0;
    top: 44%;
    justify-content: center;
    gap: 0.02em;
    padding: 0 max(1.1rem, env(safe-area-inset-left)) 0 max(1.1rem, env(safe-area-inset-right));
    font-size: min(16.8vw, 4.1rem);
    letter-spacing: -0.06em;
  }

  .preloader-foot {
    left: max(var(--pad), env(safe-area-inset-left));
    right: max(var(--pad), env(safe-area-inset-right));
    bottom: max(1.15rem, env(safe-area-inset-bottom));
    grid-template-columns: 1fr auto;
    gap: 0.45rem 0.85rem;
    align-items: end;
  }

  .preloader-kicker {
    grid-column: 1 / -1;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .preloader-bar {
    margin-bottom: 0.35rem;
  }

  .preloader-count {
    font-size: clamp(1.55rem, 9vw, 2.15rem);
    min-width: 2ch;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem var(--pad);
  mix-blend-mode: difference;
  color: #fff;
  transition: opacity 0.25s ease;
}

body:has(.vessel.is-zooming:not(.is-handoff)) > .nav {
  opacity: 0;
  pointer-events: none;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.4rem);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity 0.3s ease;
}

.nav-links a,
.nav-logo,
.hero-line,
.manifesto-title,
.work-intro h2,
.services-head h2,
.contact h2,
.service-card h3,
.reel-name {
  overflow: visible;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  height: 420vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 6.5rem var(--pad) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.4rem;
  overflow: hidden;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy {
  position: relative;
  min-height: clamp(8.5rem, 28vw, 17rem);
  overflow: visible;
}

.hero-bg-name {
  position: absolute;
  top: 14%;
  left: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 18vw, 16rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 239, 230, 0.12);
  pointer-events: none;
  user-select: none;
}

.hero-line {
  position: absolute;
  inset: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7.4vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.hero-line.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  color: #cfc8b8;
  max-width: 28ch;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.fx3d {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.fx3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.fx3d--manifesto {
  top: 38%;
  right: clamp(2.4rem, 8vw, 6rem);
  width: min(24vw, 16rem);
  height: min(24vw, 16rem);
  transform: translateY(-30%);
}

.hero-fx {
  display: none;
}

.hero-kicker,
.hero-copy,
.hero-sub,
.hero-meta,
.manifesto-sticky > *:not(.fx3d) {
  position: relative;
  z-index: 2;
}

.hero-scroll {
  position: relative;
}

.hero-scroll::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 18px;
  margin-left: 0.7rem;
  background: var(--fg);
  transform-origin: top;
  animation: pulse-line 1.6s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.35);
    opacity: 0.4;
  }
}

.section-index {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.manifesto {
  height: 220vh;
  border-top: 1px solid var(--line);
}

.manifesto-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 7rem var(--pad) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.manifesto-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 12ch;
}

.manifesto-lead {
  margin-top: 2rem;
  max-width: 38ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: #c9c3b6;
}

.vessel {
  height: 480vh;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
}

.vessel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #050505;
}

.vessel-sky,
.vessel-stage,
.vessel-vignette {
  position: absolute;
  inset: 0;
}

.vessel-sky {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.vessel-stage {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background: #050505;
}

.vessel-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  contain: strict;
}

.lcd-root {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
  opacity: 0;
}

.lcd-root.is-off {
  visibility: hidden;
  opacity: 0;
}

.lcd-cam {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.lcd-screen {
  position: absolute;
  left: 0;
  top: 0;
  background: #020202;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.lcd-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 38px 38px 0 0;
  background: #020202;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.lcd-clip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: var(--lcd-glass-opacity, 1);
  pointer-events: none;
  border: 12px solid #050505;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.035), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 18%);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.035),
    inset 0 -20px 34px rgba(0, 0, 0, 0.18);
}

.lcd-clip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  opacity: var(--lcd-glass-opacity, 1);
  width: 86px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 0 0 11px 11px;
  background: #050505;
  pointer-events: none;
}

.lcd-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050505;
  pointer-events: none;
}

html.is-lcd .preloader,
html.is-lcd .grain,
html.is-lcd .cursor,
html.is-lcd .scroll-progress,
html.is-lcd .vessel,
html.is-lcd .work-slot,
html.is-lcd .fx3d,
html.is-lcd .hero-fx {
  display: none !important;
}

html.is-lcd,
html.is-lcd body {
  background: #050505;
  overflow: auto;
  height: auto;
  min-height: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.is-lcd::-webkit-scrollbar,
html.is-lcd body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html.is-lcd {
  --work-mix: 0;
}

html.is-lcd body.lcd-at-work [data-work] {
  opacity: var(--work-mix);
}

html.is-lcd .work {
  margin-top: 0;
  visibility: visible;
  pointer-events: none;
}

html.is-lcd .reel-frame {
  height: min(
    var(--host-reel-max, 82dvh),
    calc((100vw - 2 * var(--pad) - 4.2rem) * 9 / 16)
  );
}

html.is-lcd .hero,
html.is-lcd .manifesto {
  height: 100vh;
  height: 100dvh;
}

html.is-lcd .hero-sticky,
html.is-lcd .manifesto-sticky {
  height: 100%;
  min-height: 0;
}

html.is-lcd .manifesto-sticky {
  padding-top: 5.5rem;
  padding-bottom: 2rem;
  justify-content: center;
}

html.is-lcd .services,
html.is-lcd .contact,
html.is-lcd footer,
html.is-lcd .marquee {
  display: none !important;
}

html.is-lcd .reel-frame video,
html.is-lcd .reel-frame video.is-on {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

html.is-lcd .reel-layer--before {
  display: none;
}

html.is-lcd .reel-layer--after {
  clip-path: none !important;
  transform: none !important;
}

html.is-lcd .reel-layer--after video {
  transform: none !important;
}

.lcd-video-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  background: #111;
  opacity: 0;
  pointer-events: none;
}

.lcd-video-canvas.is-ready {
  opacity: 1;
}

html.is-lcd .reel-label {
  display: block;
}

html.is-lcd .reel-wipe {
  display: none;
}

html.is-lcd .reel-frame.is-canvas-video .reel-layer--after {
  visibility: hidden;
}

.vessel-vignette {
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 18%, rgba(5, 5, 5, 0.28) 62%, rgba(5, 5, 5, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, transparent 22%, transparent 58%, rgba(5, 5, 5, 0.72) 100%);
}

.vessel-kicker {
  position: absolute;
  top: max(5.6rem, calc(env(safe-area-inset-top) + 4.2rem));
  left: var(--pad);
  z-index: 4;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.vessel-chapters {
  position: absolute;
  left: var(--pad);
  right: auto;
  width: min(22rem, calc(100vw - 8rem));
  bottom: max(2.4rem, env(safe-area-inset-bottom));
  z-index: 4;
  min-height: 9.2rem;
}

.vessel-chapter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 18rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.vessel-chapter.is-on {
  opacity: 1;
  transform: none;
}

.vessel-chapter span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.vessel-chapter h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.6vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.vessel-chapter p {
  color: #c9c3b6;
  line-height: 1.45;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  max-width: 28ch;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.work {
  margin-top: -100vh;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

html:not(.is-lcd) .vessel:not(.is-handoff) ~ .work:not(.is-in-screen) {
  visibility: hidden;
  pointer-events: none;
}

body:has(.work.is-in-screen) > .nav {
  opacity: 1;
  pointer-events: auto;
}

.work-slot {
  height: 0;
  pointer-events: none;
}

body.is-reduced .work {
  margin-top: 0;
}

.vessel.is-handoff {
  pointer-events: none;
  z-index: 0;
}

.vessel.is-handoff .vessel-sticky {
  pointer-events: none;
  background: transparent;
  visibility: hidden;
}

.vessel.is-handoff .vessel-vignette {
  opacity: 0 !important;
  visibility: hidden;
}

.work.is-in-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  margin-top: 0;
  z-index: 8;
  overflow: hidden;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
}

.work.is-in-screen .reel-stage {
  visibility: visible;
  opacity: 0;
  pointer-events: none;
}

.work.is-in-screen .reel-frame video,
.work.is-in-screen .reel-frame video.is-on {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.work.is-live:not(.is-in-screen) .reel-frame video.is-on,
body.is-fs-video .reel-frame video.is-on {
  opacity: 1;
  visibility: visible;
}

.work.is-live .reel-stage {
  position: sticky;
  top: 4.6rem;
}

.work-intro {
  position: relative;
  padding: 5.5rem var(--pad) 1rem;
  border-top: 1px solid var(--line);
}

.work-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 12ch;
}

.work-intro p:last-child {
  margin-top: 1.2rem;
  color: var(--muted);
}

.reel {
  padding-bottom: 3.5rem;
}

.reel-sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.2rem var(--pad) 0;
}

.reel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.reel-item {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-width: 10rem;
  padding: 0.85rem 1.2rem 0.95rem 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: none;
  color: inherit;
  cursor: none;
  text-align: left;
  opacity: 0.28;
  transition: opacity 0.35s ease;
}

.reel-item:last-child {
  border-right: none;
  padding-right: 0;
}

.reel-item.is-active {
  opacity: 1;
}

.reel-item > span {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.reel-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.reel-name .word,
.reel-name .ch {
  font-size: inherit;
}

.reel-stage {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.reel-compare {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: stretch;
}

.reel-side {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  user-select: none;
}

.reel-side--after {
  transform: none;
}

.reel-frame {
  position: relative;
  width: 100%;
  height: min(82dvh, calc((100vw - 2 * var(--pad) - 4.2rem) * 9 / 16));
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  --wipe: 0.5;
}

.reel-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.reel-layer--before {
  z-index: 1;
}

.reel-layer--after {
  z-index: 2;
  transform: translate3d(calc(var(--wipe, 0.5) * 100%), 0, 0);
  will-change: transform;
}

.reel-layer--after video {
  transform: translate3d(calc(var(--wipe, 0.5) * -100%), 0, 0);
}

.reel-layer--after video.is-on {
  will-change: transform;
}

.reel-frame video {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center top;
  background: #111;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.reel-frame video.is-on {
  opacity: 0;
  visibility: hidden;
}

.reel-wipe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--wipe, 0.5) * 100%);
  z-index: 3;
  width: 44px;
  transform: translateX(-50%);
  pointer-events: none;
}

.reel-wipe-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(243, 239, 230, 0.92);
  box-shadow: 0 0 12px rgba(5, 5, 5, 0.45);
}

.reel-wipe-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(243, 239, 230, 0.55);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.62);
  color: var(--fg);
  transform: translate(-50%, -50%);
}

.reel-wipe-knob svg {
  width: 11px;
  height: 11px;
}

.reel-label {
  display: none;
  position: absolute;
  top: 0.85rem;
  z-index: 4;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(243, 239, 230, 0.18);
  background: rgba(5, 5, 5, 0.55);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.reel-label--before {
  left: 0.85rem;
}

.reel-label--after {
  right: 0.85rem;
}

.reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  inset: auto;
  border: 0;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 7;
  pointer-events: auto;
}

.reel-play[hidden] {
  display: none;
}

.reel-frame.is-fs .reel-play {
  z-index: 8;
}

.reel-fs {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 239, 230, 0.28);
  background: rgba(5, 5, 5, 0.55);
  color: var(--fg);
  cursor: none;
}

.reel-fs svg {
  width: 16px;
  height: 16px;
}

.reel-fs-close {
  display: none;
}

.reel-frame.is-fs {
  position: fixed !important;
  inset: 0 !important;
  z-index: 400 !important;
  width: 100vw !important;
  height: 100vh !important;
  width: 100dvw !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000;
  cursor: ew-resize;
  touch-action: none;
  isolation: isolate;
  overflow: hidden;
  transform: none !important;
}

.reel-frame.is-fs video {
  pointer-events: none !important;
}

.work.is-in-screen .reel-frame.is-fs video.is-on,
.reel-frame.is-fs video.is-on,
body.is-fs-video .reel-frame video.is-on {
  opacity: 1 !important;
  visibility: visible !important;
}

.reel-frame.is-fs .reel-layer,
.reel-frame.is-fs .reel-layer--before,
.reel-frame.is-fs .reel-layer--after {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.reel-frame.is-fs .reel-wipe {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 72px;
  z-index: 30 !important;
  pointer-events: none;
}

.reel-frame.is-fs .reel-wipe-line {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 2px;
  background: #f3efe6;
}

.reel-frame.is-fs .reel-wipe-knob {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 28px;
  height: 28px;
  z-index: 31;
}

.reel-frame.is-fs .reel-wipe-knob svg {
  width: 12px;
  height: 12px;
}

.reel-frame.is-fs .reel-fs,
.reel-frame:fullscreen .reel-fs,
.reel-frame:-webkit-full-screen .reel-fs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0.85rem 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #f3efe6;
  color: #050505;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}

.reel-frame.is-fs .reel-fs-open,
.reel-frame:fullscreen .reel-fs-open,
.reel-frame:-webkit-full-screen .reel-fs-open {
  display: none;
}

.reel-frame.is-fs .reel-fs-close,
.reel-frame:fullscreen .reel-fs-close,
.reel-frame:-webkit-full-screen .reel-fs-close {
  display: inline;
}

.reel-frame.is-fs .reel-label,
.reel-frame:fullscreen .reel-label,
.reel-frame:-webkit-full-screen .reel-label {
  display: inline-block;
}

.reel-meta {
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) 1fr;
  gap: 1rem;
  align-items: start;
}

.reel-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}

.reel-text {
  max-width: 38ch;
  color: #c9c3b6;
  line-height: 1.5;
}

.services {
  padding: 0 0 7rem;
  border-top: 1px solid var(--line);
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span {
  position: relative;
  padding-right: 2.4rem;
}

.marquee-track span::after {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--muted);
}

.services-head,
.contact,
.footer {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.services-head {
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
}

.services-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service-card {
  padding: 2rem var(--pad) 3rem;
  border-right: 1px solid var(--line);
  min-height: 22rem;
}

.service-card:last-child {
  border-right: none;
}

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-card p {
  color: #c4beb1;
  line-height: 1.55;
  max-width: 32ch;
}

.contact {
  padding-top: 7rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--line);
}

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(18rem, 1.2fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: 2.8rem;
}

.contact-lead {
  margin: 1.4rem 0 0;
  max-width: 40ch;
  color: #c9c3b6;
  font-size: 1.1rem;
  line-height: 1.55;
}

.contact-flow-kicker {
  margin: 0 0 1.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-flow {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  border-left: 1px solid var(--line);
}

.contact-flow li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.1rem;
  padding: 0 0 1.85rem;
}

.contact-flow li:last-child {
  padding-bottom: 0;
}

.contact-flow li::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border: 1px solid var(--fg);
  background: var(--bg);
  transform: translateX(-50%);
}

.contact-flow-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-top: 0.35rem;
}

.contact-flow h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}

.contact-flow p {
  margin: 0;
  color: #c4beb1;
  line-height: 1.55;
  max-width: none;
  font-size: 1.02rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.5rem;
  flex: 1 1 28rem;
  min-width: 0;
  max-width: 760px;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.fx3d--contact {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 min(17rem, 26vw);
  width: min(17rem, 26vw);
  height: min(17rem, 26vw);
  margin-left: auto;
  margin-right: 0;
  z-index: 1;
  background: transparent;
}

.fx3d--contact canvas {
  background: transparent !important;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0 0.85rem;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--fg);
}

.btn {
  justify-self: start;
  margin-top: 0.6rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  padding: 0.95rem 1.7rem;
  cursor: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.btn:hover {
  background: transparent;
  color: var(--fg);
}

.form-status {
  margin-top: 1.1rem;
  color: #c9c3b6;
}

.contact-links {
  display: flex;
  gap: 1.8rem;
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-links a {
  border-bottom: 1px solid var(--fg);
  padding-bottom: 0.15rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  :root {
    --pad: 1.15rem;
  }

  body {
    cursor: auto;
  }

  .cursor,
  .grain {
    display: none;
  }

  .btn,
  .reel-item,
  .reel-fs,
  a {
    cursor: pointer;
  }

  .nav {
    padding: max(0.95rem, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right))
      0.95rem max(var(--pad), env(safe-area-inset-left));
    gap: 0.75rem;
  }

  .nav-logo {
    flex: 0 0 auto;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.15rem;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .nav-links a {
    padding: 0.4rem 0.38rem;
  }

  #work,
  #services,
  #contact {
    scroll-margin-top: 4.6rem;
  }

  .services-grid,
  .contact-form,
  .contact-head {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: auto;
    padding: 1.5rem var(--pad) 1.8rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-num {
    margin-bottom: 1.4rem;
  }

  .hero {
    height: 280vh;
  }

  .manifesto {
    height: auto;
  }

  .fx3d {
    display: none !important;
  }

  .vessel {
    height: 250vh;
  }

  .vessel-kicker {
    top: max(4.8rem, calc(env(safe-area-inset-top) + 3.4rem));
  }

  .vessel-chapters {
    left: var(--pad);
    right: var(--pad);
    width: auto;
    min-height: 8rem;
  }

  .vessel-chapter {
    max-width: min(20rem, 100%);
  }

  .vessel-chapter h2 {
    font-size: clamp(1.28rem, 6vw, 1.7rem);
    line-height: 1.08;
  }

  .vessel-chapter p {
    font-size: 0.9rem;
    max-width: 34ch;
  }

  .work.is-in-screen .work-intro {
    padding-top: 4.6rem;
  }

  .hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    padding: 5.1rem max(var(--pad), env(safe-area-inset-right))
      max(1.2rem, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
    gap: 0.85rem;
  }

  .manifesto-sticky {
    position: relative;
    height: auto;
    min-height: auto;
    padding: 5.2rem max(var(--pad), env(safe-area-inset-right)) 2.8rem
      max(var(--pad), env(safe-area-inset-left));
    justify-content: flex-start;
  }

  .hero-bg-name {
    top: 15%;
    left: max(var(--pad), env(safe-area-inset-left));
    right: max(var(--pad), env(safe-area-inset-right));
    width: auto;
    max-width: 100%;
    font-size: min(19vw, 5.2rem);
    letter-spacing: -0.07em;
    overflow: hidden;
    white-space: nowrap;
  }

  .hero-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .hero-fx {
    display: block;
    position: absolute;
    left: 50%;
    top: 26%;
    width: min(88vw, 28rem);
    height: 38vh;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
    perspective: 600px;
  }

  .hero-fx-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
  }

  body:has(.vessel.is-zooming) .hero-fx,
  body:has(.vessel.is-zooming) .hero-fx-glow,
  body:has(.vessel.is-zooming) .hero-fx-orbit,
  body:has(.vessel.is-zooming) .hero-fx-spark {
    animation-play-state: paused;
  }

  body:has(.vessel.is-zooming) .hero-fx {
    visibility: hidden;
  }

  .services,
  .contact,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }

  html.is-yandex .services,
  html.is-yandex .contact,
  html.is-yandex footer {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  .hero-fx-glow--a {
    width: 58%;
    height: 70%;
    left: 8%;
    top: 8%;
    background: radial-gradient(circle, rgba(243, 239, 230, 0.22) 0%, transparent 68%);
    animation: hero-drift-a 7.5s ease-in-out infinite;
  }

  .hero-fx-glow--b {
    width: 46%;
    height: 56%;
    right: 4%;
    bottom: 4%;
    background: radial-gradient(circle, rgba(184, 168, 132, 0.18) 0%, transparent 70%);
    animation: hero-drift-b 9s ease-in-out infinite;
  }

  .hero-fx-orbit {
    position: absolute;
    left: 50%;
    top: 48%;
    border: 1px solid rgba(243, 239, 230, 0.28);
    border-radius: 50%;
    transform-style: preserve-3d;
  }

  .hero-fx-orbit--a {
    width: 72%;
    height: 72%;
    margin: -36% 0 0 -36%;
    animation: hero-spin 16s linear infinite;
  }

  .hero-fx-orbit--b {
    width: 48%;
    height: 48%;
    margin: -24% 0 0 -24%;
    border-color: rgba(243, 239, 230, 0.16);
    animation: hero-spin 22s linear infinite reverse;
  }

  .hero-fx-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #f3efe6;
    opacity: 0.35;
    box-shadow: 0 0 8px rgba(243, 239, 230, 0.7);
    animation: hero-spark 3.6s ease-in-out infinite;
  }

  .hero-fx-spark.s1 { left: 18%; top: 22%; animation-delay: 0s; }
  .hero-fx-spark.s2 { left: 72%; top: 18%; animation-delay: 0.7s; }
  .hero-fx-spark.s3 { left: 54%; top: 62%; animation-delay: 1.4s; }
  .hero-fx-spark.s4 { left: 28%; top: 70%; animation-delay: 2.1s; }
  .hero-fx-spark.s5 { left: 80%; top: 48%; animation-delay: 2.8s; }

  @keyframes hero-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8%, 6%) scale(1.08); }
  }

  @keyframes hero-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -8%) scale(1.12); }
  }

  @keyframes hero-spin {
    from { transform: rotateX(64deg) rotate(0deg); }
    to { transform: rotateX(64deg) rotate(360deg); }
  }

  @keyframes hero-spark {
    0%, 100% { opacity: 0.15; transform: translateY(0) scale(0.8); }
    50% { opacity: 0.8; transform: translateY(-10px) scale(1.15); }
  }

  .contact {
    padding-top: 4.4rem;
    padding-bottom: max(3.2rem, env(safe-area-inset-bottom));
  }

  .contact-lead {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .contact-head {
    gap: 1.8rem;
    margin-bottom: 1.8rem;
  }

  .contact-aside {
    padding-top: 0.4rem;
  }

  .contact-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 0.7rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 0.65rem 0 0.75rem;
  }

  .btn {
    cursor: pointer;
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .contact-links {
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
    font-size: 0.72rem;
  }

  .footer {
    flex-wrap: wrap;
    row-gap: 0.4rem;
    padding-bottom: max(1.4rem, env(safe-area-inset-bottom));
  }

  .hero-copy {
    min-height: 5.6rem;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-line {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: none;
    font-size: clamp(1.35rem, 6.6vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 100%;
    white-space: normal;
  }

  .hero-line.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero-line .ch {
    display: inline-block;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 22ch;
  }

  .hero-meta {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    gap: 0.6rem;
  }

  .manifesto-title,
  .work-intro h2,
  .services-head h2,
  .contact h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 2.15rem);
  }

  .manifesto-lead,
  .contact-lead,
  .service-card p {
    max-width: 100%;
  }

  .work-intro {
    padding-top: 4.8rem;
    padding-bottom: 0.7rem;
  }

  .work.is-live .reel-stage {
    position: relative;
    top: auto;
  }

  .work.is-live:not(.is-in-screen) .reel-frame video.is-on {
    opacity: 1;
    visibility: visible;
  }

  .reel-sticky {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
  }

  .reel-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    border-bottom: none;
  }

  .reel-item {
    cursor: pointer;
    flex: none;
    min-width: 0;
    width: 100%;
    padding: 0.75rem 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .reel-item:last-child {
    padding-right: 0;
  }

  .reel-fs {
    cursor: pointer;
  }

  .reel-name {
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .reel-name .word,
  .reel-name .ch {
    font-size: inherit;
  }

  .reel-compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .reel-side {
    display: none;
  }

  .reel-label {
    display: inline-block;
  }

  .reel-frame {
    height: min(52dvh, calc((100vw - 2 * var(--pad)) * 9 / 16));
    min-height: 11rem;
  }

  .reel-frame.is-fs .reel-wipe {
    width: 56px;
  }

  .reel-frame.is-fs .reel-wipe-knob {
    width: 28px;
    height: 28px;
  }

  .reel-frame.is-fs .reel-fs {
    padding: 0.8rem 1.15rem;
    font-size: 0.68rem;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .reel-meta {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .marquee {
    overflow: hidden;
  }

  .footer {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
}

@media (max-width: 420px) {
  :root {
    --pad: 1rem;
  }

  .nav-links {
    gap: 0;
    font-size: 0.56rem;
  }

  .nav-links a {
    padding: 0.4rem 0.32rem;
  }

  .hero-copy {
    min-height: 5.1rem;
  }

  .hero-line {
    font-size: clamp(1.28rem, 6.4vw, 1.7rem);
  }

  .contact-links {
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
  }
}

@media (max-width: 900px) and (max-height: 520px) {
  .hero-bg-name,
  .fx3d,
  .hero-fx,
  .vessel-stage,
  .vessel-sky {
    display: none;
  }

  .hero-sticky {
    padding-top: 4.2rem;
    gap: 0.55rem;
  }

  .hero-copy {
    min-height: 3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.is-yandex) * {
    animation: none !important;
    transition: none !important;
  }

  html:not(.is-yandex) .fx3d {
    display: none !important;
  }

  html:not(.is-yandex) .hero-fx {
    display: none !important;
  }

  html:not(.is-yandex) .hero,
  html:not(.is-yandex) .manifesto,
  html:not(.is-yandex) .vessel,
  html:not(.is-yandex) .reel {
    height: auto;
  }

  html:not(.is-yandex) .work {
    margin-top: 0;
  }

  html:not(.is-yandex) .work-slot {
    display: none;
  }

  html:not(.is-yandex) .work.is-in-screen {
    position: relative;
    height: auto;
    overflow: visible;
  }

  html:not(.is-yandex) .hero-sticky,
  html:not(.is-yandex) .manifesto-sticky,
  html:not(.is-yandex) .vessel-sticky,
  html:not(.is-yandex) .reel-sticky {
    position: relative;
  }

  html:not(.is-yandex) .vessel-stage,
  html:not(.is-yandex) .vessel-sky {
    display: none;
  }

  html:not(.is-yandex) .vessel-chapter:not(.is-on) {
    display: none;
  }
}
