:root {
  --ink: #151312;
  --paper: #f0ebe4;
  --muted: #b6aaa0;
  --coral: #ff5a46;
  --font: "Manrope", Arial, sans-serif;
  --font-display: "Zalando Sans", "Manrope", Arial, sans-serif;
  --page-padding: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --space-unit: 4px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-synthesis: none;
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 5px;
}

.site-shell {
  overflow: clip;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(96px, 13vh, 160px) var(--page-padding) clamp(56px, 8vh, 96px);
  background:
    radial-gradient(circle at 70% 35%, rgba(216, 89, 42, 0.26), transparent 28%),
    radial-gradient(circle at 20% 75%, rgba(216, 130, 85, 0.14), transparent 25%),
    var(--ink);
}

.hero__video,
.hero__grain,
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__video {
  --hero-motion-x: 0px;
  --hero-motion-y: 0px;
  --hero-scroll-y: 0px;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.9);
  transform: scale(1.045);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__grain {
  z-index: 4;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero__topline {
  position: absolute;
  z-index: 5;
  top: 40px;
  right: var(--page-padding);
  left: var(--page-padding);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.wordmark__mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.wordmark__separator {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0;
}

.wordmark__name {
  font-size: 1em;
  letter-spacing: -0.04em;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  align-items: start;
  position: relative;
  z-index: 5;
  width: calc(100vw - (var(--page-padding) * 2));
}

.hero__entry {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 420ms cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 420ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition-delay: var(--hero-entry-delay, 0ms);
  will-change: opacity, transform;
}

.hero.is-entrance-ready .hero__entry {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero__title {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(3.4rem, 9.2vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.87;
  text-wrap: balance;
}

.hero__subtitle {
  width: min(100%, 320px);
  max-width: 320px;
  margin: 0;
  color: rgb(255 255 255 / 100%);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  font-family: var(--font);
  text-transform: uppercase;
}

.hero__subtitle--primary {
  grid-column: 1;
  width: min(100%, 320px);
  max-width: 320px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.hero__subtitle--secondary {
  grid-column: 2;
  width: min(100%, 350px);
  max-width: 350px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.button {
  min-height: 65px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 19px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.975rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.button span {
  font-size: 1.15em;
  font-weight: 500;
}

.button--primary {
  background: var(--paper);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(240, 235, 228, 0.28);
  background: transparent;
  color: var(--paper);
}

.hero__quick-actions {
  grid-column: 3 / -1;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-top: 0;
}

.hero__quick-actions .button {
  width: auto;
  flex: 0 0 auto;
}

.hero__quick-actions .hero__sound-toggle {
  flex: 0 0 60px;
}

.hero__quick-actions.is-floating {
  position: fixed;
  z-index: 12;
  top: 24px;
  right: var(--page-padding);
  width: auto;
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 420ms cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 420ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero__quick-actions.is-floating.is-floating-ready {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero__quick-actions.is-floating .hero__sound-toggle {
  display: none;
}

.button--quick {
  --quick-fill-scale: 1;
  --quick-circle-size: 40px;
  --quick-circle-inset: 10px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 60px;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(240, 235, 228, 0.14);
  color: rgb(255 255 255 / 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: background-color 490ms var(--ease-out);
}

.button--quick::before {
  position: absolute;
  top: 50%;
  right: var(--quick-circle-inset);
  z-index: 0;
  width: var(--quick-circle-size);
  height: var(--quick-circle-size);
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translate3d(0, -50%, 0) scale(1);
  transform-origin: center;
  transition: transform 490ms var(--ease-out);
  will-change: transform;
}

.button--quick:hover,
.button--quick:focus-visible {
  background: rgba(240, 235, 228, 0.18);
}

.button--quick:hover::before,
.button--quick:focus-visible::before {
  transform: translate3d(0, -50%, 0) scale(var(--quick-fill-scale));
  transition-duration: 2520ms;
}

.button--quick > * {
  position: relative;
  z-index: 1;
}

.button--quick .button__content {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--quick-circle-size);
  align-items: center;
  gap: 18px;
  padding: 9px var(--quick-circle-inset) 9px 23px;
}

.button--quick .button__label {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 210ms linear;
}

.button--quick:hover .button__label,
.button--quick:focus-visible .button__label {
  color: var(--ink);
  transition-duration: 980ms;
}

.button--quick .button__arrow {
  width: var(--quick-circle-size);
  height: var(--quick-circle-size);
  flex: 0 0 var(--quick-circle-size);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.button--quick .button__icon {
  width: 20px;
  height: 20px;
}

.button--quick:active {
  transform: scale(0.985);
}

.hero__sound-toggle {
  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(240, 235, 228, 0.14);
  color: var(--paper);
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

.hero__sound-icon {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.hero__sound-toggle:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.hero__title {
  grid-column: 1 / 3;
  grid-row: 3;
  margin-top: 80px;
  max-width: 100%;
  font-size: 172px;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.narrative {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #183b34;
}

.narrative__video,
.narrative__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.narrative__video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.88) brightness(0.76);
  transition: opacity 360ms var(--ease-out);
}

.narrative__video.is-switching {
  opacity: 0;
}

.narrative__veil {
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(8 23 20 / 0.56) 0%, rgb(8 23 20 / 0.05) 42%, rgb(8 23 20 / 0.38) 100%);
}

.narrative__content {
  position: relative;
  min-height: 100svh;
  padding: clamp(84px, 11vh, 122px) var(--page-padding) 76px;
}

.narrative__intro {
  position: relative;
  z-index: 1;
  max-width: min(100%, 1280px);
}

.narrative__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.05vw, 6.15rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.narrative__subtitle {
  max-width: 1110px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 0.96);
  font-size: clamp(0.86rem, 1.22vw, 1.24rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.narrative__navigation {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: var(--page-padding);
  left: var(--page-padding);
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.narrative__nav {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(236 248 237 / 0.18);
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.narrative__nav[hidden] {
  display: none;
}

.narrative__nav:hover {
  background: rgb(236 248 237 / 0.31);
  transform: scale(1.06);
}

.narrative__nav:focus-visible,
.narrative__zone:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.narrative__nav img {
  width: 7px;
  height: 11px;
}

.narrative__nav--previous img {
  transform: rotate(180deg);
}

.narrative__nav--next {
  margin-left: auto;
}

.narrative__video-mode {
  position: absolute;
  right: var(--page-padding);
  bottom: 112px;
  z-index: 3;
  cursor: pointer;
}

.narrative__inspector {
  position: absolute;
  z-index: 2;
  bottom: 122px;
  left: clamp(24px, calc(var(--page-padding) + var(--inspector-x, 0px)), calc(100% - 330px));
  width: min(306px, calc(100vw - 48px));
  min-height: 248px;
  padding: 24px 23px;
  border-radius: 18px;
  background: rgb(35 36 11 / 0.76);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  transition: opacity 180ms ease, transform 180ms ease;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.narrative__inspector.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}


.narrative__time {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
}

.narrative__prompt {
  margin: 26px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.narrative__timeline-wrap {
  position: absolute;
  right: var(--page-padding);
  bottom: 76px;
  left: var(--page-padding);
  z-index: 3;
}

.narrative__timeline {
  position: relative;
  height: 12px;
}

.narrative__progress {
  display: none;
}

.narrative__zones {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  gap: 5px;
  height: 12px;
}

.narrative__zone {
  position: relative;
  flex: var(--zone-duration) 1 0;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.narrative__zone::before,
.narrative__zone::after {
  position: absolute;
  top: 5px;
  left: 0;
  height: 2px;
  content: "";
}

.narrative__zone::before {
  width: 100%;
  background: rgb(255 255 255 / 0.34);
}

.narrative__zone::after {
  width: var(--zone-progress, 0%);
  background: #fff;
  /* Value is updated on every animation frame while the video plays. */
  transition: none;
}

.narrative__zone:hover::after,
.narrative__zone:focus-visible::after,
.narrative__zone.is-active::after {
  box-shadow: 0 0 8px rgb(255 255 255 / 0.6);
}

.cinematic {
  background: #171b22;
}

.cinematic__video {
  filter: saturate(0.82) contrast(0.94) brightness(0.72);
}

.cinematic__veil {
  background: linear-gradient(180deg, rgb(8 10 15 / 0.62) 0%, rgb(8 10 15 / 0.06) 44%, rgb(8 10 15 / 0.48) 100%);
}

.cinematic__timeline {
  min-height: 12px;
}

.cinematic__track {
  position: relative;
  display: block;
  height: 12px;
}

.cinematic__track::before,
.cinematic__track::after {
  position: absolute;
  top: 5px;
  left: 0;
  height: 2px;
  content: "";
}

.cinematic__track::before {
  width: 100%;
  background: rgb(255 255 255 / 0.34);
}

.cinematic__track::after {
  width: var(--cinematic-progress, 0%);
  background: #fff;
}

.cinematic-modal .cinematic__timeline {
  cursor: pointer;
}

.community-reviews {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  column-gap: clamp(24px, 3vw, 52px);
  padding: clamp(84px, 11vh, 122px) var(--page-padding) clamp(64px, 9vh, 112px);
  background: var(--ink);
  color: var(--paper);
}

.community-reviews__header {
  grid-column: 1 / 4;
  max-width: 1050px;
}

.community-reviews__title {
  max-width: 11ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.05vw, 6.15rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.062em;
}

.community-reviews__subtitle {
  max-width: 54ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.22vw, 1.24rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.community-reviews__summary {
  grid-column: 1 / 3;
  align-self: start;
  justify-self: start;
  width: min(100%, 670px);
  min-height: clamp(320px, 42vh, 390px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: clamp(54px, 7vh, 84px);
  padding: clamp(36px, 4vw, 64px);
}

.community-reviews__metric {
  display: grid;
  justify-items: start;
}

.community-reviews__metric strong {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5vw, 5.8rem);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.community-reviews__signals {
  display: flex;
  gap: 7px;
  margin-top: 24px;
}

.community-reviews__signals i {
  display: block;
  color: #ffc103;
  font-size: 1.45rem;
  font-style: normal;
  line-height: 1;
}

.community-reviews__summary > p {
  max-width: 31ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.community-reviews__viewport {
  grid-column: 3 / -1;
  justify-self: end;
  width: min(100%, 640px);
  margin-top: clamp(54px, 7vh, 84px);
  overflow: hidden;
  touch-action: pan-y;
}

.community-reviews__viewport:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
}

.community-reviews__track {
  --review-offset: 0%;
  display: flex;
  align-items: stretch;
  transform: translate3d(var(--review-offset), 0, 0);
  transition: transform 520ms var(--ease-out);
}

.community-review {
  flex: 0 0 100%;
  min-width: 0;
  min-height: clamp(440px, 54vh, 580px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: clamp(36px, 4vw, 64px);
}

.community-review__quote {
  max-width: 100%;
  margin: 0;
}

.community-review__quote-mark {
  display: block;
  height: 52px;
  font-family: Arial, sans-serif;
  font-size: 5.25rem;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.community-review__quote p {
  max-width: 30ch;
  margin: 22px 0 0;
  font-size: clamp(1.24rem, 1.7vw, 1.68rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.community-review__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(38px, 5vh, 58px);
}

.community-review__avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 3px;
  background: oklch(28% 0.014 55);
  object-fit: cover;
}

.community-review__identity {
  display: grid;
  gap: 7px;
  font-size: 1rem;
  line-height: 1;
}

.community-review__identity strong {
  font-weight: 700;
}

.community-review__identity span {
  color: var(--muted);
  font-weight: 500;
}

.community-reviews__controls {
  grid-column: 3 / -1;
  justify-self: end;
  width: min(100%, 640px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}

.community-reviews__nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(240 235 228 / 0.14);
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.community-reviews__nav:hover:not(:disabled) {
  background: rgb(240 235 228 / 0.25);
}

.community-reviews__nav:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.community-reviews__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.community-reviews__nav img {
  width: 7px;
  height: 11px;
}

.community-reviews__nav--previous img {
  transform: rotate(180deg);
}

.community-reviews__counter {
  min-width: 64px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.final-cta {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.final-cta__video,
.final-cta__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta__video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98) brightness(0.72);
}

.final-cta__veil {
  z-index: -2;
  background: linear-gradient(180deg, rgb(21 19 18 / 0.34) 0%, rgb(21 19 18 / 0.1) 38%, rgb(21 19 18 / 0.76) 100%);
  pointer-events: none;
}

.final-cta__grain {
  z-index: 1;
}

.final-cta__content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: end;
  column-gap: clamp(24px, 3vw, 52px);
  padding: clamp(92px, 12vh, 142px) var(--page-padding) clamp(56px, 8vh, 92px);
}

.final-cta__eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.final-cta__title {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: end;
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 8.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.final-cta__subtitle {
  grid-column: 1 / 3;
  max-width: 42ch;
  margin: 28px 0 0;
  font-size: clamp(0.9rem, 1.2vw, 1.18rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.final-cta__actions {
  grid-column: 3 / -1;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 0;
}

.hero__quick-actions.is-floating.is-final-cta-visible {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -10px, 0);
}

body.narrative-modal-open {
  overflow: hidden;
}

.narrative-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  overflow: hidden;
  background: #050606;
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}

.narrative-modal.is-open {
  opacity: 1;
}

.narrative-modal:fullscreen {
  width: 100%;
  height: 100%;
}

.narrative-modal__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.narrative-modal .narrative__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.narrative-modal .narrative__inspector {
  z-index: 2;
  bottom: 212px;
}


.narrative-modal .narrative__timeline-wrap {
  z-index: 2;
  right: clamp(24px, 4vw, 64px);
  bottom: 64px;
  left: clamp(24px, 4vw, 64px);
}

.narrative-modal__controls {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 64px);
  bottom: 16px;
  left: clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  color: #fff;
}

.narrative-modal__control-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.narrative-modal__control {
  display: grid;
  place-items: center;
  width: 18px;
  min-width: 18px;
  height: 26px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.narrative-modal__control:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.narrative-modal__control img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.narrative-modal__speed {
  width: auto;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.narrative-modal__volume {
  width: 72px;
  height: 18px;
  margin: 0;
  accent-color: var(--paper);
  cursor: pointer;
}

.narrative-modal__time {
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.narrative-modal__close {
  position: absolute;
  z-index: 3;
  bottom: 96px;
  right: clamp(18px, 3vw, 42px);
}

@keyframes hero-drift {
  from { transform: scale(1.045) translate3d(calc(-0.6% + var(--hero-motion-x)), calc(-0.3% + var(--hero-motion-y) + var(--hero-scroll-y)), 0); }
  to { transform: scale(1.085) translate3d(calc(0.7% + var(--hero-motion-x)), calc(0.4% + var(--hero-motion-y) + var(--hero-scroll-y)), 0); }
}

@media (min-width: 761px) and (max-width: 1280px) {
  .hero__quick-actions {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-padding: 24px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .hero__topline {
    top: 26px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    column-gap: 0;
    width: 100%;
  }

  .hero__subtitle--primary,
  .hero__subtitle--secondary,
  .hero__title {
    grid-column: 1;
  }

  .hero__subtitle--primary {
    margin-top: 0;
  }

  .hero__subtitle--secondary {
    margin-top: 20px;
  }

  .hero__title {
    max-width: 11ch;
    grid-row: auto;
    margin-top: 56px;
    font-size: clamp(3.1rem, 15vw, 5.8rem);
  }

  .hero__subtitle {
    max-width: 31ch;
    margin-top: 28px;
  }

  .hero__quick-actions {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 340px);
    margin-top: 28px;
  }

  .hero__quick-actions.is-floating {
    top: 12px;
    right: 16px;
    width: min(264px, calc(100vw - 32px));
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    margin: 0;
  }

  .hero__quick-actions.is-floating .button {
    width: 100%;
    min-height: 48px;
  }

  .hero__quick-actions.is-floating .button__content {
    gap: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 18px;
  }

  .hero__quick-actions.is-floating .button--quick {
    --quick-circle-size: 34px;
    --quick-circle-inset: 8px;
  }

  .hero__quick-actions.is-floating .button__label {
    font-size: 11px;
  }

  body.has-floating-cta .narrative__content {
    padding-top: 190px;
  }

  .button {
    width: 100%;
    min-height: 70px;
  }

  .narrative__content {
    min-height: 760px;
    padding-top: 126px;
    padding-bottom: 46px;
  }

  .cinematic__content {
    min-height: 100svh;
  }

  .community-reviews {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding-top: 190px;
    padding-bottom: 32px;
  }

  .community-reviews__header,
  .community-reviews__summary,
  .community-reviews__viewport,
  .community-reviews__controls {
    grid-column: 1;
  }

  .community-reviews__title {
    max-width: 9ch;
    font-size: clamp(2.5rem, 12vw, 4.6rem);
  }

  .community-reviews__subtitle {
    max-width: 31ch;
    margin-top: 18px;
    font-size: 0.78rem;
  }

  .community-reviews__viewport {
    width: 100%;
    margin-top: 18px;
  }

  .community-reviews__summary {
    width: min(100%, 320px);
    min-height: 260px;
    margin-top: 44px;
    padding: 32px 28px;
  }

  .community-review {
    min-height: 410px;
    padding: 32px 28px;
  }

  .community-reviews__controls {
    width: 100%;
  }

  .community-review__quote p {
    font-size: 1.2rem;
  }

  .final-cta__content {
    grid-template-columns: 1fr;
    padding: 126px 24px calc(32px + env(safe-area-inset-bottom));
  }

  .final-cta__eyebrow,
  .final-cta__title,
  .final-cta__subtitle,
  .final-cta__actions {
    grid-column: 1;
  }

  .final-cta__title {
    max-width: 8ch;
    font-size: clamp(3.1rem, 15vw, 5.8rem);
  }

  .final-cta__subtitle {
    max-width: 31ch;
    margin-top: 24px;
    font-size: 0.78rem;
  }

  .final-cta__actions {
    grid-row: auto;
    justify-self: start;
    flex-direction: column;
    width: min(100%, 340px);
    margin-top: 36px;
  }

  .narrative__title {
    max-width: 11ch;
    font-size: clamp(2.5rem, 12vw, 4.6rem);
  }

  .cinematic .narrative__title {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .narrative__subtitle {
    max-width: 30ch;
    margin-top: 18px;
    font-size: 0.78rem;
    letter-spacing: -0.025em;
  }

  .narrative__navigation {
    top: calc(60% + 42px);
    right: 18px;
    left: 18px;
  }

  .narrative__nav {
    width: 54px;
    height: 54px;
  }

  .narrative__inspector {
    bottom: 96px;
    min-height: 170px;
    padding: 18px;
    border-radius: 14px;
  }

  .narrative__prompt {
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .narrative__timeline-wrap {
    right: 24px;
    bottom: 20px;
    left: 24px;
  }

  .narrative__video-mode {
    width: auto;
    min-height: 56px;
    bottom: 76px;
  }

  .narrative-modal__close {
    width: auto;
    min-height: 56px;
    right: 24px;
    bottom: 86px;
  }

  .narrative-modal__controls {
    right: 24px;
    left: 24px;
  }

  .narrative-modal__control-group {
    gap: 10px;
  }

  .narrative-modal__volume {
    width: 64px;
  }

}

/* Десктопный сценарий (опорный — 1920×1080): каждый блок ровно во весь экран,
   скролл останавливается на границе блока и не даёт проскочить соседний. */
@media (min-width: 761px) {
  /* Нативный снап — для случаев, когда инерционный скроллер из script.js не
     работает (тач-устройства, prefers-reduced-motion). Когда он работает,
     постраничный ход берёт на себя он: два механизма гасят друг друга. */
  html:not(.has-inertia-scroll),
  html:not(.has-inertia-scroll) body {
    scroll-snap-type: y mandatory;
  }

  .site-shell > section {
    height: 100svh;
    scroll-snap-align: start;
    /* Инерция трекпада иначе пролистывает блок насквозь */
    scroll-snap-stop: always;
  }

  .narrative__content,
  .final-cta__content {
    min-height: 0;
    height: 100%;
  }

  /* Отзывы — единственный блок выше экрана (1190px при 1080): карточка отзыва
     занимала фиксированные 580px. Теперь правая колонка тянется по остатку
     высоты, а вертикальные отступы блока считаются от высоты экрана. */
  .community-reviews {
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    padding-block: clamp(72px, 9.8vh, 122px) clamp(48px, 6.4vh, 112px);
  }

  .community-reviews__header {
    grid-row: 1;
  }

  .community-reviews__summary,
  .community-reviews__viewport {
    grid-row: 2;
    margin-top: clamp(28px, 5.2vh, 84px);
  }

  .community-reviews__viewport {
    align-self: stretch;
    min-height: 0;
  }

  .community-reviews__controls {
    grid-row: 3;
  }

  .community-reviews__track {
    height: 100%;
  }

  .community-review {
    min-height: 0;
  }
}

/* Невысокие десктопные экраны (ноутбуки 1440×900 и ниже): блок отзывов
   ужимается по вертикали, иначе карточка не влезает в экран целиком. */
@media (min-width: 761px) and (max-height: 900px) {
  .community-reviews__title {
    font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  }

  .community-reviews__subtitle {
    margin-top: 16px;
    font-size: 0.92rem;
  }

  .community-reviews__summary {
    min-height: clamp(220px, 30vh, 320px);
    padding: clamp(28px, 3vw, 44px);
  }

  .community-review {
    padding: clamp(28px, 3vw, 44px);
  }

  .community-review__quote-mark {
    height: 40px;
    font-size: 4rem;
  }

  .community-review__quote p {
    margin-top: 16px;
    font-size: 1.24rem;
  }

  .community-review__author {
    margin-top: clamp(22px, 3.2vh, 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .narrative__video,
  .narrative__inspector,
  .narrative__progress,
  .community-reviews__track {
    transition: none;
  }
}
