@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-cyr-700.woff2?v=20261111b") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-latx-700.woff2?v=20261111b") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-lat-700.woff2?v=20261111b") 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: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-cyr-400.woff2?v=20261111b") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-lat-400.woff2?v=20261111b") 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: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-latx-400.woff2?v=20261111b") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20BD, U+20C0;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/golos-cyr-600.woff2?v=20261111b") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/golos-lat-600.woff2?v=20261111b") 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: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/golos-latx-600.woff2?v=20261111b") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+20BD, U+20C0;
}

:root {
  --navy: #081526;
  --navy-deep: #050d18;
  --cream: #f3ead4;
  --cream-dim: #d7cbb0;
  --gold: #d4b15a;
  --gold-hi: #f0d78c;
  --gold-lo: #b8912c;
  --ink: #1a1830;
  --nav-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-snappy: 200ms;
  --motion-smooth: 350ms;
  --bound: 0.48;
  --logo-w: min(560px, 36vw);
  --logo-w: min(560px, 36vw, 40svh);
  --carpet-w: min(1220px, 64vw);
  --carpet-w: min(1220px, 64vw, 110svh);
  --copy-w: min(34rem, 36vw);
  --max: 1680px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--navy-deep); }
body {
  font-family: "Golos Text", "PT Sans", sans-serif;
  color: var(--cream);
  background: var(--navy-deep);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 0.8rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 4px;
}
.skip:focus { top: 0.6rem; }

/* ——— nav ——— */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: max(1.25rem, 7vw, env(safe-area-inset-left)) max(1.25rem, 7vw, env(safe-area-inset-right));
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(212, 177, 90, 0.45) 18%, rgba(240, 215, 140, 0.7) 50%, rgba(212, 177, 90, 0.45) 82%, transparent) 1;
}
.nav-bar {
  width: min(100%, var(--max));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.98rem;
  color: var(--cream);
}
.nav-links a {
  text-decoration: none;
  opacity: 0.92;
  transition: opacity var(--motion-snappy) ease, color var(--motion-snappy) ease;
}
.nav-links a:hover { opacity: 1; color: var(--gold-hi); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.4rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, var(--gold-lo) 100%);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: filter var(--motion-snappy) ease, transform var(--motion-snappy) var(--ease-out);
}
.nav-cta:active { transform: scale(0.97); }
.nav-cta:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}
.tel {
  text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.01em;
  color: var(--cream);
  font-size: 0.98rem;
  white-space: nowrap;
}
.tel:hover { color: var(--gold-hi); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--motion-snappy) ease, background-color var(--motion-snappy) ease, transform var(--motion-snappy) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}
.btn-outline {
  border: 1.4px solid var(--gold);
  color: var(--gold-hi);
  background: transparent;
  border-radius: 999px;
  padding: 0.42rem 1.15rem;
  font-size: 0.92rem;
  white-space: nowrap;
}
@media (hover: hover) {
  .btn-outline:hover { background: rgba(212, 177, 90, 0.12); }
  .nav-cta:hover { filter: brightness(1.06); }
}
.btn-gold {
  position: relative;
  overflow: hidden;
  min-height: 3.25rem;
  min-width: min(100%, 19rem);
  padding: 0.85rem 2.2rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, var(--gold-lo) 100%);
  color: var(--ink);
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}
@media (hover: hover) {
  .btn-gold:hover { filter: brightness(1.06); }
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.has-motion .btn-gold::after {
  animation: glint 0.7s 1.48s ease-in-out both;
}
@keyframes glint {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

/* ——— hero ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  overflow-x: clip;
  background: var(--navy-deep);
}
.velvet {
  position: absolute;
  inset: -4%;
  z-index: 0;
}
.velvet-img {
  width: 100%;
  height: 100%;
  background: var(--navy) url("../assets/bg_velvet.webp?v=20261111b") center / cover no-repeat;
}
.vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 62% at 40% 48%, transparent 42%, rgba(4, 8, 18, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.28) 0%, transparent 16%, transparent 82%, rgba(5, 10, 20, 0.35) 100%);
}
.hero-art { display: contents; }
.hero-scene {
  position: relative;
  z-index: 3;
  height: 100dvh;
  height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  position: absolute;
  left: 37.8%;
  top: 44%;
  width: var(--logo-w);
  transform: translate(-50%, -56%);
  z-index: 2;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
}
.logo-inner { position: relative; }
.logo-vid,
.logo-webp,
.logo-still {
  width: 100%;
  height: auto;
  background: transparent;
}
.logo-vid,
.logo-webp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-still { position: relative; z-index: 0; }
.logo-vid, .logo-webp { z-index: 1; }
.logo-webp[hidden] { display: none; }

.carpet {
  --bound: 0.48;
  --skew-x: 6.4%;
  position: absolute;
  left: 0.4%;
  bottom: 0.4%;
  width: var(--carpet-w);
  z-index: 5;
  touch-action: none;
  user-select: none;
  cursor: grab;
  outline: none;
}
.carpet:active { cursor: grabbing; }
.carpet:focus-visible { filter: drop-shadow(0 0 0 2px var(--gold-hi)); }
.carpet-unroll { position: relative; }
.wipe-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  -webkit-mask-image: url("../assets/carpet_mask.webp?v=20261111b");
  mask-image: url("../assets/carpet_mask.webp?v=20261111b");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: alpha;
  -webkit-mask-source-type: alpha;
}
.carpet-layer {
  width: 100%;
  height: auto;
  pointer-events: none;
}
.carpet picture { display: block; }
.carpet-layer.dirty { position: relative; }
.clean-clip {
  position: absolute;
  inset: 0;
  clip-path: polygon(
    calc(var(--bound) * 100% - var(--skew-x)) 0%,
    100% 0%,
    100% 100%,
    calc(var(--bound) * 100% + var(--skew-x)) 100%
  );
}
.clean-clip .carpet-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.wipe-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    180deg,
    transparent 7%,
    rgba(240, 215, 140, 0.18) 20%,
    rgba(255, 244, 200, 0.92) 50%,
    rgba(240, 215, 140, 0.18) 80%,
    transparent 93%
  );
  clip-path: polygon(
    calc(var(--bound) * 100% - var(--skew-x) - 1.4px) 8%,
    calc(var(--bound) * 100% - var(--skew-x) + 1.4px) 8%,
    calc(var(--bound) * 100% + var(--skew-x) + 1.4px) 92%,
    calc(var(--bound) * 100% + var(--skew-x) - 1.4px) 92%
  );
  filter:
    drop-shadow(0 0 5px rgba(240, 215, 140, 0.88))
    drop-shadow(0 0 14px rgba(232, 201, 106, 0.38));
}
.spark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.copy {

  position: absolute;
  right: 4.4%;
  top: 46%;
  transform: translateY(-48%);
  width: var(--copy-w);
  z-index: 6;
}
.copy h1 {
  margin: 0 0 1.15rem;
  font-family: "Playfair Display", "Noto Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.95rem, 2.4vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--cream);
  hyphens: manual;
}
.copy .line { display: block; overflow: hidden; white-space: nowrap; }
.copy .line span { display: block; }
.lead {
  margin: 0 0 1.6rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 38ch;
}
.cta-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.facts {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gold);
  font-variant-numeric: lining-nums tabular-nums;
}
.hero-more {
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 177, 90, 0.55);
  font-size: 0.95rem;
  line-height: 1.35;
  padding-bottom: 0.08em;
}
.hero-more:hover { border-bottom-color: var(--gold-hi); }
.nowrap { white-space: nowrap; }

/* curtains */
.curtains {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}
.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  background: #081018 url("../assets/bg_velvet.webp?v=20261111b") center / cover no-repeat;
}
.curtain-l { left: 0; background-position: left center; }
.curtain-r { right: 0; background-position: right center; }
html:not(.has-motion) .curtains { display: none; }

/* intro */
.has-motion .velvet-img { animation: velvetIn 0.85s var(--ease-out) both; }
.has-motion .curtain-l { animation: partL 0.9s 0.06s var(--ease-out) both; }
.has-motion .curtain-r { animation: partR 0.9s 0.06s var(--ease-out) both; }
.has-motion .carpet-unroll { animation: unroll 1s 0.22s var(--ease-out) both; }
.has-motion .logo-inner { animation: rise 0.78s 0.42s var(--ease-out) both; }
.has-motion .copy .line:nth-child(1) span { animation: maskUp 0.72s 0.68s var(--ease-out) both; }
.has-motion .copy .line:nth-child(2) span { animation: maskUp 0.72s 0.76s var(--ease-out) both; }
.has-motion .copy .line:nth-child(3) span { animation: maskUp 0.72s 0.84s var(--ease-out) both; }
.has-motion .lead { animation: fadeUp 0.55s 1.08s var(--ease-out) both; }
.has-motion .cta-block { animation: fadeUp 0.55s 1.2s var(--ease-out) both; }

@keyframes velvetIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes partL { to { transform: translateX(-102%); } }
@keyframes partR { to { transform: translateX(102%); } }
@keyframes unroll {
  from { clip-path: inset(0 78% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes maskUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— next ——— */
.next {
  position: relative;
  overflow: hidden;
  background: #071018;
}
.next-rail {
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 calc(1.6rem + env(safe-area-inset-bottom));
}
.next-media {
  position: relative;
  width: 100%;
  height: min(50svh, 28rem);
  flex: 0 0 auto;
  order: -1;
}
.next-poster,
.next-vid,
.next-grade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.next-poster,
.next-vid {
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.92) contrast(1.04) brightness(0.96);
}
.next-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2 * max(1.25rem, 7vw)), var(--max));
  margin-inline: auto;
  padding-top: 1rem;
  max-width: 38rem;
}
.next-copy h2 {
  margin: 0 0 0.55rem;
  font-family: "Playfair Display", "Noto Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3.05vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: 0;
}
.next-copy p { margin: 0 0 0.55rem; color: var(--cream-dim); max-width: 42ch; }
.next-facts { color: var(--gold) !important; font-variant-numeric: lining-nums tabular-nums; }
.next-copy .btn-gold { margin-top: 0.6rem; }

/* carousel */
.how-carousel {
  isolation: isolate;
}
.how-track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.how-track::-webkit-scrollbar { display: none; }
.how-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.how-slide picture {
  display: block;
  position: absolute;
  inset: 0;
}
.how-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  filter: saturate(0.92) contrast(1.04) brightness(0.96);
}
.how-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 2.6rem 1.15rem 2.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 13, 24, 0.55) 48%, rgba(5, 10, 18, 0.88) 100%);
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.how-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(212, 177, 90, 0.45);
  border-radius: 999px;
  background: rgba(8, 21, 38, 0.55);
  color: var(--gold);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.how-nav:hover { background: rgba(8, 21, 38, 0.78); color: var(--gold-hi); }
.how-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.how-prev { left: 0.85rem; }
.how-next { right: 0.85rem; }
.how-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  pointer-events: none;
}
.how-dots button {
  pointer-events: auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.how-dots button::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
}
.how-dots button[aria-current="true"]::after {
  background: var(--gold);
}
.how-dots button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.how-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .how-track { scroll-behavior: auto; }
}

@media (min-width: 800px) and (max-height: 520px) {
  .next { min-height: 100svh; }
  .next-rail {
    width: min(calc(100% - 2 * max(1rem, 4vw)), var(--max));
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(16rem, 38%) minmax(0, 1fr);
    align-items: start;
    gap: 4%;
    padding: 1rem 0;
  }
  .next-media {
    order: 0;
    height: calc(100svh - 2rem);
    max-height: 24rem;
    border: 1px solid rgba(212, 177, 90, 0.34);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }
  .next-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 0;
    align-self: start;
  }
  .next-copy h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 0.55rem; }
  .next-copy p { font-size: 0.92rem; margin-bottom: 0.55rem; max-width: none; }
  .how-slide img { object-position: 50% 46%; }
  .how-nav { display: inline-flex; }
  .how-slide figcaption { padding: 2rem 1.1rem 2.15rem; font-size: 0.9rem; }
  /* keep dots/caption out from under the fixed «Написать» pill */
  .how-dots {
    justify-content: flex-start;
    padding: 0 9rem 0.55rem 1.15rem;
  }
  .how-slide figcaption {
    padding-right: 9rem;
  }
}

@media (min-width: 1101px) and (min-height: 521px) {
  .next {
    min-height: 0;
  }
  .next-rail {
    width: min(calc(100% - 2 * max(1.25rem, 7vw)), var(--max));
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(20rem, min(46rem, 40%)) minmax(0, 1fr);
    align-items: start;
    gap: 4.5%;
    padding: clamp(4.5rem, 7vh, 7.2rem) 0;
  }
  .next-media {
    order: 0;
    position: relative;
    inset: auto;
    width: 100%;
    height: min(78vh, 900px);
    max-height: none;
    aspect-ratio: auto;
    justify-self: stretch;
    border: 1px solid rgba(212, 177, 90, 0.34);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(8, 21, 38, 0.45);
  }
  .next-poster,
  .next-vid,
  .how-slide img {
    object-position: 50% 46%;
  }
  .next-copy { max-width: none; width: 100%; margin: 0; padding-top: 0; align-self: start; }
  .next-copy h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(2.15rem, 2.45vw, 3.15rem);
  }
  .next-copy p { margin: 0 0 0.9rem; max-width: none; font-size: clamp(1.08rem, 1.05vw, 1.25rem); line-height: 1.5; }
  .how-nav { display: inline-flex; }
  .how-slide figcaption {
    padding: 2.8rem 1.4rem 2.45rem;
    font-size: 1.05rem;
  }
}

@media (min-width: 2000px) and (min-height: 521px) {
  .next-copy { max-width: none; }
  .next-copy h2 { font-size: clamp(2.75rem, 2.2vw, 4.15rem); }
  .next-copy p { font-size: 1.35rem; max-width: none; line-height: 1.5; }
}
@media (min-width: 2400px) and (min-height: 521px) {
  .next-copy h2 { font-size: clamp(3.5rem, 2.6vw, 4.65rem); }
  .next-copy p { font-size: 1.6875rem; max-width: none; line-height: 1.5; }
  .next-facts { font-size: 1.375rem; }
  .how-slide figcaption { font-size: 1.2rem; }
}

.foot {
  padding: 2rem 7vw calc(2rem + env(safe-area-inset-bottom));
  background: #050d18;
  color: #b9ad94;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
}
.foot p { margin: 0; }
.foot a { color: var(--gold); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ——— breakpoints ——— */
@media (min-width: 1600px) {
  :root {
    --max: 1760px;
    --logo-w: min(600px, 32vw);
    --logo-w: min(600px, 32vw, 42svh);
    --carpet-w: min(1280px, 58vw);
    --carpet-w: min(1280px, 58vw, 112svh);
  }
}
@media (max-width: 1600px) and (min-width: 1281px) {
  :root {
    --logo-w: min(480px, 34vw);
    --logo-w: min(480px, 34vw, 38svh);
    --carpet-w: min(960px, 60vw);
    --carpet-w: min(960px, 60vw, 100svh);
  }
}

@media (min-width: 2400px) {
  :root {
    --max: 2240px;
    --logo-w: min(580px, 24vw);
    --logo-w: min(580px, 24vw, 42svh);
    --carpet-w: min(1240px, 48vw);
    --carpet-w: min(1240px, 48vw, 112svh);
    --copy-w: min(34rem, 26vw);
  }
}

@media (min-width: 3200px) {
  :root {
    --max: 2880px;
    --logo-w: min(560px, 18vw);
    --logo-w: min(560px, 18vw, 40svh);
    --carpet-w: min(1220px, 38vw);
    --carpet-w: min(1220px, 38vw, 110svh);
    --copy-w: min(34rem, 22vw);
  }
}

@media (max-width: 1280px) and (min-width: 761px) and (min-height: 521px) {
  :root {
    --logo-w: min(380px, 32vw);
    --logo-w: min(380px, 32vw, 36svh);
    --carpet-w: min(52vw, 720px);
    --carpet-w: min(52vw, 720px, 100svh);
    --copy-w: min(21rem, 36vw);
  }
  .copy h1 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); }
  .nav-links { gap: 1.05rem; font-size: 0.92rem; }
}

/* stacked phones / narrow portrait */
@media (max-width: 760px) {
  :root { --nav-h: 3.6rem; }
  .nav-links { display: none; }
  .hero-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: calc(100dvh - 0px);
    min-height: calc(100svh - 0px);
    padding: calc(var(--nav-h) + 0.6rem) 1.15rem 1.3rem;
    padding-bottom: max(1.3rem, env(safe-area-inset-bottom));
  }
  .logo,
  .carpet,
  .copy {

    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
  }
  .copy {
 display: contents; }
  .copy h1 {
    order: 1;
    text-align: center;
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
    margin: 0 0 0.35rem;
    width: 100%;
  }
  .lead {
    order: 2;
    display: none;
  }
  .logo {
    order: 3;
    width: min(250px, 62vw);
    margin: 0.15rem auto 0;
  }
  .carpet {
    order: 4;
    width: min(100%, 560px);
    margin: 0.15rem auto 0;
  }
  .cta-block {
    order: 5;
    align-items: center;
    width: 100%;
    margin-top: 0.35rem;
  }
  .cta-block .btn-gold { min-width: min(100%, 20rem); }
  .facts { text-align: center; }
  .hero-more { text-align: center; }
  .next-rail {
    width: 100%;
    margin-inline: 0;
    padding-bottom: calc(1.35rem + env(safe-area-inset-bottom));
  }
  .next-copy h2 { font-size: 1.85rem; }
}

@media (max-width: 380px) {
  .copy h1 { font-size: 1.42rem; }
  .logo { width: min(176px, 54vw); }
  .btn-outline { padding-inline: 0.75rem; font-size: 0.82rem; }
  .tel { font-size: 0.82rem; }
  .facts, .hero-more { padding-right: 3.6rem; box-sizing: border-box; }
}

/* short landscape (phones / flip open sideways) */
@media (max-height: 520px) and (min-width: 640px) {
  :root { --nav-h: 3.1rem; --logo-w: min(210px, 24vw); --carpet-w: min(44vw, 420px); --copy-w: min(300px, 36vw); }
  .nav-links { display: none; }
  .copy {
 top: 52%; transform: translateY(-50%); }
  .copy h1 { font-size: 1.45rem; margin-bottom: 0.5rem; }
  .lead { display: none; }
  .btn-gold { min-height: 2.6rem; min-width: 14rem; padding: 0.55rem 1.4rem; }
  .logo { top: 38%; }
  .carpet { bottom: 0; }
  .facts { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .has-motion .velvet-img,
  .has-motion .curtain-l,
  .has-motion .curtain-r,
  .has-motion .carpet-unroll,
  .has-motion .logo-inner,
  .has-motion .copy .line span,
  .has-motion .lead,
  .has-motion .cta-block,
  .has-motion .btn-gold::after {
    animation: none !important;
  }
  .curtains { display: none; }
  .btn:active { transform: none; }
}

@media (max-width: 1100px) and (min-width: 761px) and (min-height: 880px) {
  :root {
    --carpet-w: min(58vw, 640px);
    --carpet-w: min(58vw, 640px, 90svh);
    --logo-w: min(300px, 32vw);
    --logo-w: min(300px, 32vw, 32svh);
  }
}

/* Desktop / laptop: scale by viewport height, center art+copy as one cluster.
   Does not apply to stacked phones (≤760) or short landscape (≤520). */
@media (min-width: 761px) and (min-height: 521px) {
  .hero-scene {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(1.4rem, 2.8vw, 5rem);
    width: 100%;
    max-width: none;
    height: 100svh;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--nav-h) + 0.85rem) clamp(1.2rem, 3.5vw, 4.5rem) 2.2rem;
    box-sizing: border-box;
  }
  .hero-art {
    display: block;
    position: relative;
    width: var(--carpet-w);
    max-width: calc(100% - var(--copy-w) - 2rem);
    flex: 0 1 auto;
    padding-top: calc(var(--logo-w) * 0.80);
  }
  .logo,
  .carpet,
  .copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }
  .logo {
    position: absolute;
    left: 57%;
    top: 0;
    width: min(var(--logo-w), 62%);
    transform: translateX(-50%);
    z-index: 2;
  }
  .carpet {
    width: 100%;
    z-index: 5;
  }
  .copy {
    width: var(--copy-w);
    flex: 0 0 auto;
    z-index: 6;
  }
}
