:root {
  --ink: #132a31;
  --foam: #eef4f5;
  --teal: #0f6e66;
  --cream: #f7fbfb;
  --font-brand: 'Fraunces', Georgia, serif;
  --font-ui: 'Outfit', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  background: #0b1a1f;
  overflow-x: hidden;
}

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

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

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

/* —— Nav —— */
.nav {
  position: fixed;
  inset: 22px 28px auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  pointer-events: none;
  transition: color 0.35s ease;
}

.nav > * {
  pointer-events: auto;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-right {
  justify-content: flex-end;
}

.nav-brand {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f7fcfc;
  text-shadow: 0 1px 18px rgba(8, 24, 30, 0.35);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 252, 252, 0.78);
  transition: color 0.35s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f7fcfc;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(8, 24, 30, 0.18);
  transition: transform 0.2s ease, background 0.35s ease, color 0.35s ease;
}

.nav-pill:hover {
  transform: translateY(-1px);
  background: #fff;
}

.nav-pill-dark {
  background: var(--teal);
  color: #f7fcfc;
  width: fit-content;
}

/* Light sections: keep brand readable */
.nav.on-light .nav-brand {
  color: var(--ink);
  text-shadow: none;
}
.nav.on-light .nav-link {
  color: rgba(19, 42, 49, 0.62);
}
.nav.on-light .nav-link:hover {
  color: var(--ink);
}
.nav.on-light .nav-pill {
  background: var(--ink);
  color: #f7fcfc;
}

/* —— Cinematic scroll scene —— */
.cine {
  position: relative;
  height: 420vh;
}

.cine-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  /* Avoid flex+aspect-ratio: iOS Safari stretches the phone to full sticky height */
  display: block;
}

.cine-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cine-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.cine-glow {
  position: absolute;
  inset: 12% 18% auto;
  height: 48%;
  background: radial-gradient(ellipse at center, rgba(190, 220, 230, 0.32), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.cine-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 26, 31, 0.28) 0%, rgba(11, 26, 31, 0.06) 38%, rgba(11, 26, 31, 0.72) 100%);
}

.cine-sweep {
  position: absolute;
  inset: -20% auto -20% -40%;
  width: 40%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 70%
  );
  transform: translate3d(-40%, 0, 0) skewX(-12deg);
  opacity: 0;
  pointer-events: none;
}

.cine-sweep.is-run {
  animation: sweepRun 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sweepRun {
  0% {
    opacity: 0;
    transform: translate3d(-40%, 0, 0) skewX(-12deg);
  }
  18% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate3d(280%, 0, 0) skewX(-12deg);
  }
}

.cine-product {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 7vh;
  width: min(300px, 68vw);
  max-width: 320px;
  margin: 0 auto;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  /* Static shadow — animated filters stutter with scroll scrub */
  filter: drop-shadow(0 40px 70px rgba(6, 18, 24, 0.48));
}

.cine-stack {
  position: relative;
  width: 100%;
  /* Padding-bottom ratio hack — reliable on iOS where aspect-ratio + absolute kids fail */
  height: 0;
  padding-bottom: 201.315789%; /* 1836 / 912 */
  overflow: hidden;
  /* Shape comes from the PNG alpha — CSS must not re-round into a capsule */
  border-radius: 0;
  background: transparent;
}

.cine-shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* box is forced to phone ratio, so fill == correct */
  object-position: center top;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s;
  backface-visibility: hidden;
}

.cine-shot.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.cine-brand {
  display: none;
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #f7fcfc;
  text-shadow: 0 12px 40px rgba(6, 18, 24, 0.4);
}

.cine-cta {
  display: none;
  pointer-events: auto;
  margin-top: 10px;
  width: fit-content;
}

.cine-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(56px, env(safe-area-inset-bottom, 0px) + 40px);
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.cine-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 6px;
}

.cine-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(247, 252, 252, 0.28);
  transition: width 0.35s ease, background 0.35s ease;
}

.cine-dots span.is-on {
  width: 18px;
  background: rgba(247, 252, 252, 0.95);
}

.cine-chapter {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 252, 252, 0.72);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cine-line {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 480;
  letter-spacing: -0.02em;
  color: rgba(247, 252, 252, 0.96);
  text-shadow: 0 8px 28px rgba(6, 18, 24, 0.35);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cine-chapter.is-swap,
.cine-line.is-swap {
  opacity: 0;
  transform: translate3d(0, var(--swap-y, 8px), 0);
}

/* Float is driven in motion.js (same transform as scrub) — CSS keyframes fought JS and felt jerky. */

.cine-hint {
  position: absolute;
  bottom: max(14px, env(safe-area-inset-bottom, 0px) + 8px);
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 252, 252, 0.5);
  animation: hintPulse 2.4s ease-in-out infinite;
}

.cine-hint-chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.85;
}

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.85;
    transform: translateX(-50%) translateY(5px);
  }
}

/* —— Quiet: white band expands, Morning + Evening appear —— */
.quiet {
  position: relative;
  height: 260vh;
  background: #0a1519;
}

.quiet-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.quiet-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  /* Full viewport; JS scales with scaleY (GPU) — never animates height/top */
  height: 100vh;
  height: 100dvh;
  transform: translate3d(0, -50%, 0) scaleY(0.52);
  transform-origin: center center;
  background: var(--cream);
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
}

.quiet-layout {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 28px;
  pointer-events: none;
}

.quiet-copy {
  text-align: center;
  max-width: 22ch;
}

.quiet-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

.quiet-title {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-brand);
  font-weight: 480;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.quiet-phone {
  margin: 0;
  width: min(168px, 38vw);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  will-change: transform, opacity;
  filter: drop-shadow(0 22px 36px rgba(10, 28, 34, 0.2));
}

.quiet-phone .orbit-frame {
  border-radius: 0;
  background: transparent;
}

.quiet-phone figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(19, 42, 49, 0.5);
}

@media (max-width: 900px) {
  .quiet-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'copy copy'
      'left right';
    gap: 20px 16px;
    width: min(420px, calc(100% - 28px));
  }

  .quiet-copy {
    grid-area: copy;
    max-width: 20ch;
  }

  .quiet-phone-l {
    grid-area: left;
    justify-self: end;
  }

  .quiet-phone-r {
    grid-area: right;
    justify-self: start;
  }

  .quiet-phone {
    width: min(148px, 42vw);
  }

  .quiet-title {
    font-size: clamp(26px, 7vw, 36px);
  }
}

@media (min-width: 901px) {
  .quiet {
    height: 240vh;
  }

  .quiet-layout {
    grid-template-columns: minmax(180px, 220px) minmax(280px, 1fr) minmax(180px, 220px);
    gap: clamp(28px, 4vw, 56px);
    width: min(1080px, calc(100% - 64px));
  }

  .quiet-copy {
    max-width: 22ch;
  }

  .quiet-title {
    font-size: clamp(32px, 3.6vw, 48px);
    max-width: 22ch;
  }

  .quiet-phone {
    width: 100%;
    max-width: 220px;
  }

  .quiet-phone-l {
    justify-self: end;
  }

  .quiet-phone-r {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiet {
    height: auto;
    background: var(--cream);
  }
  .quiet-sticky {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding: 72px 20px;
  }
  .quiet-band {
    inset: 0;
    top: 0;
    height: 100% !important;
    transform: none !important;
  }
  .quiet-phone {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Converge: many tasks → one phone → Wahrly lights —— */
.converge {
  position: relative;
  height: 320vh;
  background: #0a1519;
}

.converge-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.converge-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.converge-mist {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(0.85) brightness(0.72);
}

.converge-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(18, 48, 54, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(8, 20, 24, 0.55) 0%, rgba(8, 20, 24, 0.2) 40%, rgba(8, 20, 24, 0.78) 100%);
}

.converge-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.converge-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: 42vw;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(247, 252, 252, 0.88);
  color: var(--ink);
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(6, 18, 24, 0.28);
  will-change: transform, opacity;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
}

.converge-core {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  width: min(280px, 58vw);
  pointer-events: none;
}

.converge-phone {
  position: relative;
  width: 100%;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 28px 48px rgba(4, 16, 20, 0.5));
  opacity: 0.22;
  transform: scale(0.78);
}

.converge-aura {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 140%;
  height: 70%;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(170, 230, 220, 0.55) 0%,
    rgba(80, 160, 150, 0.22) 38%,
    transparent 70%
  );
  filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
}

.converge-phone .orbit-frame {
  position: relative;
  z-index: 1;
}

.converge-brand {
  position: relative;
  z-index: 2;
  margin: 4px 0 0;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(36px, 8vw, 56px);
  letter-spacing: -0.04em;
  color: rgba(247, 252, 252, 0.18);
  text-shadow: none;
  will-change: color, text-shadow, opacity, transform;
  opacity: 0;
  transform: translateY(12px);
}

.converge-brand.is-lit {
  color: #f7fcfc;
  text-shadow:
    0 0 12px rgba(220, 245, 240, 0.95),
    0 0 28px rgba(160, 230, 220, 0.85),
    0 0 64px rgba(70, 170, 155, 0.65),
    0 0 110px rgba(30, 110, 100, 0.45);
  /* No filter keyframes — filter animations stutter on mobile GPUs */
}

.converge-tag {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(230, 240, 238, 0.72);
  opacity: 0;
  transform: translateY(8px);
  will-change: opacity, transform;
}

@media (min-width: 901px) {
  .converge {
    height: 280vh;
  }

  .converge-core {
    width: min(320px, 28vw);
    gap: 22px;
  }

  .converge-chip {
    font-size: 13px;
    padding: 11px 18px;
    max-width: none;
  }

  .converge-brand {
    font-size: clamp(48px, 5vw, 64px);
  }

  .converge-tag {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .converge {
    height: auto;
  }
  .converge-sticky {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding: 72px 20px;
  }
  .converge-field {
    display: none;
  }
  .converge-phone {
    opacity: 1 !important;
    transform: none !important;
    filter: drop-shadow(0 28px 48px rgba(4, 16, 20, 0.5));
  }
  .converge-aura {
    opacity: 0.7 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }
  .converge-brand {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    color: #f4fbfa;
    text-shadow:
      0 0 18px rgba(180, 230, 220, 0.75),
      0 0 48px rgba(90, 180, 170, 0.55);
  }
  .converge-tag {
    opacity: 0.85 !important;
    transform: none !important;
  }
}

/* —— Showcase rail —— */
.orbit {
  position: relative;
  background: linear-gradient(180deg, var(--cream), #e4eef0);
  padding: 40px 0 72px;
  overflow: hidden;
}

.orbit-head {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 4px;
  text-align: center;
}

.orbit-title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 480;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.orbit-fade {
  display: none;
}

.orbit-block {
  margin-top: 28px;
}

.orbit-tier {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}

.orbit-tier span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(15, 110, 102, 0.12);
  color: var(--teal);
}

.orbit-tier-pro span {
  background: var(--ink);
  color: #f7fcfc;
}

.orbit-tier p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: rgba(19, 42, 49, 0.62);
}

.orbit-track {
  display: flex;
  gap: 22px;
  width: auto;
  max-width: 100%;
  padding: 28px max(20px, calc(50vw - 140px)) 16px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc(50vw - 140px));
  scrollbar-width: none;
  transform: none !important;
}

.orbit-track::-webkit-scrollbar {
  display: none;
}

.orbit-card {
  margin: 0;
  width: min(280px, 72vw);
  flex: 0 0 auto;
  scroll-snap-align: center;
  transform: none !important;
  transition: opacity 0.35s ease;
  opacity: 0.72;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  filter: drop-shadow(0 24px 36px rgba(10, 28, 34, 0.18));
}

.orbit-card.is-near {
  opacity: 1;
}

.orbit-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 201.315789%; /* 1836 / 912 — locks ratio on iOS */
  overflow: hidden;
  /* PNG owns the silhouette; zero CSS radius so small cards stay rectangular */
  border-radius: 0;
  background: transparent;
}

.orbit-frame img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.orbit-card figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(19, 42, 49, 0.55);
}

.orbit-hint {
  display: block;
  margin: 4px auto 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(19, 42, 49, 0.4);
}

/* —— Strip / finale / foot —— */
.strip {
  background: #0f242a;
  color: #f4fafa;
}

.strip-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.strip-copy {
  padding: clamp(64px, 8vw, 96px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(15, 110, 102, 0.28), transparent 55%),
    #10262d;
}

.strip-copy .quiet-kicker {
  color: #9fd5cf;
}

.strip-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 480;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.strip-body {
  margin: 0;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244, 250, 250, 0.78);
  font-weight: 300;
}

.strip-pills {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 42ch;
}

.strip-pills li {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(247, 252, 252, 0.08);
  color: rgba(244, 250, 250, 0.82);
  border: 1px solid rgba(247, 252, 252, 0.1);
}

.strip-pills li.is-pro {
  background: rgba(15, 110, 102, 0.28);
  border-color: rgba(159, 213, 207, 0.28);
  color: #c8ebe6;
}

.strip-visual {
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background:
    linear-gradient(180deg, rgba(12, 32, 38, 0.72), rgba(10, 26, 32, 0.88)),
    url('./media/mist.jpg') center / cover;
}

.strip-phone {
  width: min(290px, 64vw);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
  animation: softFloat 5.5s ease-in-out infinite;
}

.strip-phone .orbit-frame {
  width: 100%;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.finale {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.finale-bg {
  position: absolute;
  inset: 0;
}

.finale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: mistDrift 18s ease-in-out infinite alternate;
}

@keyframes mistDrift {
  from {
    transform: scale(1.08) translateY(0);
  }
  to {
    transform: scale(1.14) translateY(-2%);
  }
}

.finale-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(11, 26, 31, 0.15), rgba(11, 26, 31, 0.72) 70%),
    linear-gradient(180deg, rgba(11, 26, 31, 0.35), rgba(11, 26, 31, 0.78));
}

.finale-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 40px 24px;
}

.finale-brand {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(42px, 8vw, 72px);
  color: #f7fcfc;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 40px rgba(6, 18, 24, 0.45);
}

.finale-line {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(247, 252, 252, 0.82);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 28px 32px;
  background: #081418;
  color: rgba(244, 250, 250, 0.65);
  font-size: 13px;
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
    inset: 14px 14px auto;
  }
  .nav-left .nav-link,
  .nav-right {
    display: none;
  }
  .cine {
    height: 300vh;
  }
  .cine-sticky {
    height: 100vh;
    height: 100dvh;
  }
  .cine-product {
    width: min(260px, 66vw);
    top: 6vh;
  }
  .cine-copy {
    bottom: max(42px, env(safe-area-inset-bottom, 0px) + 28px);
  }
  .cine-line {
    font-size: clamp(20px, 6.2vw, 28px);
  }
  .orbit {
    overflow: hidden;
    padding: 64px 0 56px;
  }
  .orbit-head {
    margin-bottom: 8px;
    padding-top: 8px;
  }
  .orbit-tier {
    width: calc(100% - 32px);
    padding: 0 16px;
    margin-bottom: 4px;
  }
  .orbit-tier p {
    font-size: 13px;
  }
  .orbit-fade {
    display: block;
    position: absolute;
    inset: 90px 0 70px;
    pointer-events: none;
    z-index: 2;
    background:
      linear-gradient(90deg, #eef5f6 0%, transparent 8%),
      linear-gradient(270deg, #e6eff1 0%, transparent 8%);
  }
  .orbit-block .orbit-fade {
    display: none;
  }
  .orbit-track {
    padding: 12px max(16px, calc(50vw - 124px)) 8px;
    gap: 18px;
    scroll-padding-inline: max(16px, calc(50vw - 124px));
  }
  .orbit-card {
    width: min(248px, 68vw);
  }
  .strip-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0;
  }
  .strip-copy {
    order: 1;
    padding: 96px 24px 28px;
    text-align: center;
    align-items: center;
    gap: 14px;
  }
  .strip-body {
    max-width: 34ch;
    font-size: 15px;
  }
  .strip-pills {
    justify-content: center;
    max-width: 36ch;
  }
  .strip-visual {
    order: 2;
    min-height: 0;
    padding: 4px 24px 72px;
    background: #10262d;
    display: grid;
    place-items: center;
  }
  .strip-phone {
    width: min(200px, 52vw);
  }
  .finale {
    min-height: 72svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cine {
    height: auto;
  }
  .cine-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 100px 0 60px;
  }
  .cine-hint,
  .cine-sweep,
  .strip-phone,
  .finale-bg img {
    animation: none;
  }
  .cine-product {
    transform: none !important;
  }
  .cine-shot {
    position: absolute;
  }
  .cine-shot:not(.is-active) {
    display: none;
  }
}

/* Hard belt: never allow 3D phone transforms (iOS Safari desktop-site / bugs) */
.cine-product,
.cine-stack,
.orbit-track,
.orbit-card,
.converge-phone,
.converge-chip,
.quiet-phone {
  transform-style: flat !important;
  perspective: none !important;
}

/* —— Desktop composition (mobile stays as-is above) —— */
@media (min-width: 901px) {
  .nav {
    top: 24px;
    left: max(28px, calc(50vw - 560px));
    right: max(28px, calc(50vw - 560px));
    width: auto;
  }

  .cine-sticky {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(360px, 400px);
    justify-content: center;
    align-items: center;
    column-gap: clamp(36px, 4vw, 64px);
    padding: 0 48px;
  }

  .cine-product {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(400px, 100%);
    max-width: 420px;
    margin: 0;
    justify-self: center;
    grid-column: 2;
    grid-row: 1;
  }

  .cine-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    justify-items: start;
    align-content: center;
    gap: 14px;
    padding: 0;
    max-width: 18ch;
    pointer-events: auto;
    justify-self: end;
  }

  .cine-brand {
    display: block;
  }

  .cine-cta {
    display: inline-flex;
  }

  .cine-line {
    font-size: clamp(28px, 3.2vw, 44px);
    max-width: 14ch;
  }

  .cine-chapter {
    font-size: 12px;
  }

  .cine-hint {
    bottom: 28px;
  }

  .orbit {
    padding: 56px 0 88px;
  }

  .orbit-block {
    margin-top: 40px;
  }

  .orbit-tier {
    width: min(1100px, calc(100% - 96px));
    margin-bottom: 16px;
  }

  .orbit-track {
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 24px;
    padding: 12px 48px 8px;
    overflow-x: visible;
    scroll-snap-type: none;
    max-width: 1200px;
    margin: 0 auto;
  }

  .orbit-card {
    width: 200px;
    opacity: 1;
  }

  .orbit-card.is-near {
    opacity: 1;
  }

  .orbit-hint {
    display: none;
  }

  .strip {
    min-height: 0;
    padding: 80px 48px;
    display: flex;
    justify-content: center;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(15, 110, 102, 0.18), transparent 50%),
      #0c1e24;
  }

  .strip-copy,
  .strip-visual {
    border-radius: 0;
  }

  .strip-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    width: min(980px, 100%);
    border-radius: 28px;
    overflow: hidden;
    background: #10262d;
  }

  .strip-copy {
    padding: 56px 48px;
    background:
      radial-gradient(ellipse at 10% 0%, rgba(15, 110, 102, 0.28), transparent 55%),
      #10262d;
  }

  .strip-visual {
    min-height: 480px;
    background:
      linear-gradient(180deg, rgba(12, 32, 38, 0.55), rgba(10, 26, 32, 0.82)),
      url('./media/mist.jpg') center / cover;
  }

  .strip-phone {
    width: min(280px, 26vw);
  }

  .strip-title {
    font-size: clamp(36px, 3.6vw, 48px);
  }

  .finale {
    min-height: 72vh;
  }

  .finale-brand {
    font-size: clamp(56px, 7vw, 84px);
  }

  .foot {
    padding: 22px max(28px, calc(50vw - 560px)) 32px;
  }
}

