/* ============================================================
   MAREFORGE — luxury maritime cinema
   navy #060B16 · champagne #C9A96A · foam #F1ECE2 · sea #5E8B99
   ============================================================ */

:root {
  --navy: #060b16;
  --navy-2: #0a1322;
  --gold: #c9a96a;
  --gold-soft: #d8be8b;
  --foam: #f1ece2;
  --foam-dim: rgba(241, 236, 226, 0.62);
  --sea: #5e8b99;
  --line: rgba(201, 169, 106, 0.28);
  --line-soft: rgba(241, 236, 226, 0.12);
  --serif: "Prata", Georgia, serif;
  --sans: "Golos Text", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
  overflow-anchor: none;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--navy);
  color: var(--foam);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--gold);
  color: var(--navy);
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.mono {
  font-family: var(--mono);
  font-size: clamp(10px, 1.05vw, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
}
h2 {
  font-size: clamp(34px, 5.6vw, 72px);
}
h2 em,
h3 em,
.hero-sub em {
  font-style: italic;
  color: var(--gold);
}
h3 {
  font-size: clamp(30px, 4.6vw, 58px);
}

/* ---------- texture & chrome ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 70;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-38px, 22px);
  }
  50% {
    transform: translate(24px, -30px);
  }
  75% {
    transform: translate(-16px, -14px);
  }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.loader-word {
  display: flex;
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 58px);
  letter-spacing: 0.16em;
  padding-left: 0.16em;
}
.loader-word i {
  font-style: normal;
  opacity: 0;
  transform: translateY(0.6em);
  display: inline-block;
}
.loader-line {
  width: min(320px, 60vw);
  height: 1px;
  background: var(--line-soft);
  overflow: hidden;
}
.loader-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.loader-tag {
  color: var(--foam-dim);
  opacity: 0;
}

/* ---------- header ---------- */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.4vw, 26px) var(--pad);
  mix-blend-mode: normal;
  transition: transform 0.5s var(--ease);
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 11, 22, 0.82),
    rgba(6, 11, 22, 0)
  );
  pointer-events: none;
}
.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  letter-spacing: 0.2em;
  font-size: 15px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--gold);
}
.hdr-tag {
  position: relative;
  color: var(--foam-dim);
  display: none;
}
@media (min-width: 860px) {
  .hdr-tag {
    display: block;
  }
}
.menu-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.menu-btn-label {
  letter-spacing: 0.26em;
}
.menu-btn-ico {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.menu-btn-ico i {
  height: 1px;
  background: var(--gold);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease);
}
.menu-btn-ico i:last-child {
  width: 70%;
  align-self: flex-end;
}
.menu-open .menu-btn-ico i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-open .menu-btn-ico i:last-child {
  width: 100%;
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- fullscreen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--navy-2);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--pad);
  align-items: center;
  padding: calc(var(--pad) + 40px) var(--pad) var(--pad);
}
.menu-list li {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.menu-list a {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 26px);
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 64px);
  padding: clamp(10px, 1.6vw, 18px) 0;
  transform: translateY(110%);
  transition: color 0.3s;
}
.menu-list a em {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.menu-list a:hover {
  color: var(--gold);
}
.menu-side {
  display: none;
  flex-direction: column;
  gap: 22px;
}
@media (min-width: 860px) {
  .menu-side {
    display: flex;
  }
}
.menu-preview {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #0d1830, #091120);
}
.menu-preview img {
  transition:
    transform 0.8s var(--ease),
    opacity 0.3s;
}
.menu-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--foam-dim);
}

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.btn-solid {
  background: var(--gold);
  color: var(--navy);
}
.btn-solid::before {
  background: var(--foam);
}
.btn-ghost {
  color: var(--gold);
}
.btn-ghost:hover {
  color: var(--navy);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1px solid var(--line);
  padding: 9px 14px;
  color: var(--gold-soft);
  background: rgba(6, 11, 22, 0.5);
  backdrop-filter: blur(6px);
}
.chip-row-center {
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* ---------- media fallback ---------- */
.media-fallback {
  background: radial-gradient(
    120% 120% at 70% 20%,
    #12203a 0%,
    #091223 45%,
    #050a14 100%
  );
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 320svh;
}
.no-motion .hero {
  height: 100svh;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video,
.hero-seq {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video.is-live,
.hero-seq.is-live {
  opacity: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  animation: kenburns 26s var(--ease) infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.14) translateY(-2%);
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 11, 22, 0.55) 0%,
      rgba(6, 11, 22, 0.15) 40%,
      rgba(6, 11, 22, 0.82) 100%
    ),
    radial-gradient(90% 60% at 50% 100%, rgba(6, 11, 22, 0.75), transparent 70%);
}
#spray {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 1200px;
}
.kicker {
  color: var(--gold-soft);
  margin-bottom: clamp(18px, 3vh, 30px);
}
.hero-title {
  font-size: clamp(52px, 12.5vw, 168px);
  letter-spacing: 0.06em;
  line-height: 1;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
.hero-title i {
  font-style: normal;
  display: inline-block;
  will-change: transform, opacity;
}
.hero-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: clamp(18px, 3vh, 28px) auto;
}
.hero-sub {
  font-size: clamp(17px, 2.4vw, 24px);
  color: var(--foam);
  font-weight: 400;
}
.hero-sub em {
  font-family: var(--serif);
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(26px, 4.5vh, 44px);
  flex-wrap: wrap;
}
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--foam-dim);
  z-index: 2;
}
.scroll-hint i {
  width: 1px;
  height: 52px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  display: block;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: drip 1.9s var(--ease) infinite;
}
@keyframes drip {
  to {
    top: 110%;
  }
}

/* ---------- manifest ---------- */
.manifest {
  position: relative;
  padding: clamp(120px, 20vh, 220px) var(--pad);
  overflow: hidden;
}
.manifest-bg {
  position: absolute;
  inset: -12% 0;
}
.manifest-bg img {
  opacity: 0.34;
}
.manifest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--navy) 0%,
    transparent 26%,
    transparent 70%,
    var(--navy) 100%
  );
}
.manifest-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}
.manifest-line {
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(32px, 6.4vw, 84px);
  line-height: 1.14;
}
.manifest-line span {
  display: inline-block;
  transform: translateY(112%);
}
.manifest-line.accent span {
  color: var(--gold);
  font-style: italic;
}
.manifest-note {
  margin-top: clamp(34px, 6vh, 60px);
  max-width: 560px;
}
.manifest-note p {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--foam-dim);
  margin-bottom: 22px;
}

/* ---------- sections common ---------- */
.sec-head {
  padding: clamp(90px, 14vh, 160px) var(--pad) clamp(40px, 7vh, 80px);
  max-width: 1400px;
  margin: 0 auto;
}
.sec-label {
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sec-label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

/* ---------- chapters ---------- */
.chapter {
  position: relative;
}
.chapter-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--pad) + 30px) var(--pad);
}
.chapter {
  height: 170svh;
}
.chapter-media {
  position: absolute;
  inset: 0;
}
.chapter-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 11, 22, 0.88) 0%,
      rgba(6, 11, 22, 0.45) 55%,
      rgba(6, 11, 22, 0.25) 100%
    ),
    linear-gradient(
      0deg,
      rgba(6, 11, 22, 0.9) 0%,
      transparent 30%,
      transparent 78%,
      rgba(6, 11, 22, 0.85) 100%
    );
}
.chapter-media img {
  transform: scale(1.12);
  will-change: transform;
}
.ghost-num {
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(180px, 34vw, 520px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 106, 0.2);
  pointer-events: none;
  user-select: none;
}
.chapter-body {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.chapter-body-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ch-label {
  color: var(--gold);
  margin-bottom: 16px;
}
.chapter h3 {
  margin-bottom: 18px;
}
.ch-text {
  color: var(--foam-dim);
  font-size: clamp(15px, 1.8vw, 19px);
  max-width: 520px;
  margin-bottom: 26px;
}
.chapter-body-center .ch-text {
  margin-left: auto;
  margin-right: auto;
}

/* mocks shared */
.mock {
  position: relative;
  z-index: 2;
  background: rgba(9, 17, 32, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.mock-title {
  color: var(--foam-dim);
  letter-spacing: 0.24em;
}
@media (min-width: 1020px) {
  .chapter-stage {
    gap: 40px;
  }
  .chapter:not(.chapter-stats) .mock {
    position: absolute;
    right: var(--pad);
    top: 50%;
    transform: translateY(-50%);
  }
}

/* demo devices (ch 03) */
.chapter-demo .chapter-stage {
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vh, 44px);
}
.demo-devices {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  width: 100%;
}
.device {
  border: 1px solid var(--line);
  background: #050a14;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.device .device-screen {
  position: relative;
  overflow: hidden;
}
.device .device-screen > figure {
  position: absolute;
  inset: 0;
}
.device .device-screen > figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(6, 11, 22, 0.85),
    rgba(6, 11, 22, 0.15) 60%
  );
}
.device-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 8%;
}
.device-hero .mono {
  color: var(--gold-soft);
  font-size: 9px;
  margin-bottom: 6px;
}
.device-hero strong {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.05em;
}
.browser {
  width: min(620px, 62vw);
}
.browser .device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.browser .device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.browser .device-bar .mono {
  margin-left: 12px;
  color: var(--foam-dim);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.browser .device-screen {
  aspect-ratio: 16/9.4;
}
.browser strong {
  font-size: clamp(26px, 3.4vw, 44px);
}
.mini-book {
  display: flex;
  gap: 0;
  margin-top: 14px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.mini-book span {
  padding: 9px 12px;
  border-right: 1px solid var(--line);
  color: var(--foam-dim);
}
.mini-book b {
  padding: 9px 14px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.phone {
  width: min(190px, 26vw);
  border-radius: 26px;
  position: relative;
}
.phone .device-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 9px;
  border-radius: 9px;
  background: #0b1526;
  z-index: 3;
}
.phone .device-screen {
  aspect-ratio: 9/18.6;
  border-radius: 26px;
}
.phone strong {
  font-size: 14px;
  line-height: 1.25;
}
.mini-cal {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.mini-cal i {
  flex: 1;
  height: 14px;
  border: 1px solid var(--line-soft);
}
.mini-cal i.on {
  background: var(--gold);
  border-color: var(--gold);
}

/* booking mock (ch 04) */
.booking-mock {
  width: min(360px, 86vw);
  padding: 22px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 16px 0 18px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--foam-dim);
  border: 1px solid var(--line-soft);
  opacity: 0;
  transform: scale(0.6);
}
.cal-day.busy {
  background: rgba(201, 169, 106, 0.16);
  border-color: var(--gold);
  color: var(--gold-soft);
}
.mock-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--foam-dim);
}
.mock-cta b {
  color: var(--foam);
}
.mock-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  background: var(--gold);
  color: var(--navy);
  padding: 11px 16px;
  font-weight: 600;
}

/* ad mock (ch 05) */
.ad-mock {
  width: min(320px, 84vw);
  padding: 14px 14px 16px;
}
.ad-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
}
.ad-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, var(--gold), var(--sea), var(--gold));
}
.ad-top b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ad-top .mono {
  color: var(--foam-dim);
  font-size: 8px;
}
.ad-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ad-caption {
  font-size: 12.5px;
  color: var(--foam-dim);
  padding: 12px 2px;
}
.ad-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--gold);
  padding: 11px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* dashboard mock (ch 06) */
.chapter-stats .chapter-stage {
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 4vh, 46px);
}
.dash-mock {
  width: min(760px, 92vw);
  padding: clamp(20px, 3vw, 34px);
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.6vw, 18px);
  margin: 20px 0 8px;
}
.stat {
  border: 1px solid var(--line-soft);
  padding: clamp(12px, 1.8vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 40px);
  color: var(--gold-soft);
}
.stat .mono {
  color: var(--foam-dim);
  font-size: 8.5px;
}
.dash-chart {
  width: 100%;
  height: 84px;
  margin-top: 14px;
}
.dash-chart path {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

/* ---------- packages ---------- */
.packages {
  position: relative;
  padding-bottom: clamp(90px, 14vh, 170px);
}
.pack-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding: 0 var(--pad);
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}
.pack {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(
    180deg,
    rgba(18, 28, 48, 0.55),
    rgba(7, 12, 24, 0.85)
  );
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s;
}
.pack:hover {
  transform: translateY(-10px);
  border-color: var(--line);
}
.pack::before {
  content: attr(data-ghost);
  position: absolute;
  top: -2%;
  right: -3%;
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 106, 0.16);
  pointer-events: none;
}
.pack-tier {
  color: var(--gold);
  font-size: 9.5px;
}
.pack h3 {
  font-size: clamp(30px, 3.4vw, 46px);
}
.pack-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--foam-dim);
  margin-top: -8px;
}
.pack ul {
  display: flex;
  flex-direction: column;
  margin: 10px 0 8px;
}
.pack li {
  padding: 11px 0 11px 24px;
  position: relative;
  color: var(--foam-dim);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.pack li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--gold);
}
.pack li b {
  color: var(--foam);
  font-weight: 500;
}
.pack-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 14px;
}
.pack-foot .mono {
  color: var(--foam-dim);
  font-size: 9.5px;
}
.pack-hot {
  border-color: var(--gold);
  background: linear-gradient(
    180deg,
    rgba(201, 169, 106, 0.12),
    rgba(7, 12, 24, 0.9)
  );
}
.pack-hot .pack-tier {
  color: var(--gold-soft);
}

/* ---------- partner ---------- */
.partner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  padding: clamp(60px, 10vh, 130px) var(--pad);
  max-width: 1400px;
  margin: 0 auto;
}
.partner-media {
  aspect-ratio: 4/3.4;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.partner-body p:not(.mono) {
  color: var(--foam-dim);
  max-width: 480px;
  font-size: clamp(15px, 1.8vw, 18px);
}
.partner-body h2 {
  margin-bottom: 20px;
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  padding: clamp(100px, 16vh, 190px) var(--pad);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
}
.contact-bg img {
  opacity: 0.3;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--navy),
    rgba(6, 11, 22, 0.4) 30%,
    rgba(6, 11, 22, 0.72)
  );
  z-index: 1;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-copy h2 {
  margin-bottom: 20px;
}
.contact-copy p:not(.mono) {
  color: var(--foam-dim);
  max-width: 400px;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
  color: var(--gold-soft);
}
.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  background: rgba(9, 17, 32, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  padding: clamp(24px, 3vw, 38px);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.field-wide {
  grid-column: 1/-1;
}
.field label {
  color: var(--gold-soft);
  font-size: 9.5px;
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--foam);
  font: inherit;
  font-size: 15px;
  padding: 8px 2px 12px;
  transition: border-color 0.3s;
  resize: none;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--gold);
}
.btn-submit {
  grid-column: 1/-1;
  margin-top: 6px;
}
.form-done {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 11, 22, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.form-done b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--gold);
}
.form-done span {
  color: var(--foam-dim);
  font-size: 14px;
}
.contact-form.is-done .form-done {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: clamp(26px, 4vh, 44px) var(--pad);
  border-top: 1px solid var(--line-soft);
}
.footer .mono {
  color: var(--foam-dim);
  font-size: 9px;
}

/* ---------- reveal base ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
}
.no-motion .reveal,
.no-motion .manifest-line span,
.no-motion .menu-list a {
  opacity: 1 !important;
  transform: none !important;
}

/* ============ MOBILE ============ */
@media (max-width: 1019px) {
  .chapter {
    height: 150svh;
  }
  .chapter-stage {
    flex-direction: column;
    justify-content: flex-end;
    gap: 26px;
    padding-bottom: clamp(40px, 7vh, 70px);
  }
  .chapter .mock {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    align-self: center;
  }
  .chapter-media::after {
    background: linear-gradient(
      0deg,
      rgba(6, 11, 22, 0.94) 8%,
      rgba(6, 11, 22, 0.5) 45%,
      rgba(6, 11, 22, 0.35) 100%
    );
  }
  .chapter-body {
    max-width: none;
  }
  .ghost-num {
    font-size: clamp(160px, 44vw, 300px);
    bottom: auto;
    top: -4%;
    right: -4%;
  }
  .demo-devices {
    align-items: center;
  }
  .browser {
    width: min(560px, 88vw);
  }
  .phone {
    display: none;
  }
}
@media (max-width: 760px) {
  .pack-row {
    grid-template-columns: 1fr;
  }
  .partner {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .menu-inner {
    grid-template-columns: 1fr;
  }
  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    letter-spacing: 0.03em;
    font-size: clamp(36px, 11vw, 60px);
  }
  .hdr-tag {
    display: none;
  }
  .phone {
    display: block;
    width: min(170px, 44vw);
  }
  .demo-devices {
    flex-direction: column;
    align-items: center;
  }
  .browser {
    width: min(560px, 92vw);
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grain,
  .scroll-hint i::after {
    animation: none;
  }
  .hero-bg img {
    animation: none;
  }
}

/* ============================================================
   THE FILM — one continuous scrubbed sequence
   ============================================================ */
.film {
  position: relative;
  /* height set by JS from segment weights */
  height: 1500vh;
  height: 1500svh;
}
.film-stage {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.film-poster {
  position: absolute;
  inset: 0;
}
.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#filmCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#filmCanvas.is-live {
  opacity: 1;
}
.film-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 22, 0.5) 0%, rgba(6, 11, 22, 0.08) 34%, rgba(6, 11, 22, 0.12) 62%, rgba(6, 11, 22, 0.66) 100%),
    radial-gradient(120% 70% at 50% 108%, rgba(6, 11, 22, 0.6), transparent 62%);
  pointer-events: none;
}

/* overlays */
.ov {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--pad) + 30px) var(--pad);
  visibility: hidden;
  pointer-events: none;
}
.ov .btn,
.ov .mini-book b {
  pointer-events: auto;
}
.ov-center {
  align-items: center;
  text-align: center;
}
.ov-left {
  align-items: flex-start;
  text-align: left;
}
.ov-left > * {
  max-width: 620px;
}
.ov-right {
  align-items: flex-end;
  text-align: left;
}
.ov-right > * {
  max-width: 600px;
}
.ov h3 {
  margin: 14px 0 16px;
}
.ov .ch-text {
  margin-bottom: 24px;
}
.ov-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 30px;
}
.manifest-line {
  font-family: var(--serif);
  font-size: clamp(30px, 5.6vw, 74px);
  line-height: 1.16;
}
.manifest-line.accent {
  color: var(--gold);
  font-style: italic;
}

/* split overlays (text + mock) */
.ov-split {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
}
.ov-split .ov-col {
  max-width: 560px;
}
.ov-demo .demo-devices {
  margin: clamp(14px, 2.5vh, 30px) 0;
}
.ov .dash-mock {
  margin-top: clamp(16px, 3vh, 30px);
}

/* film chrome */
.film-marker {
  position: absolute;
  left: var(--pad);
  bottom: booked;
  bottom: 74px;
  z-index: 6;
  color: var(--gold-soft);
  font-size: 10px;
  letter-spacing: 0.26em;
  opacity: 0;
  transition: opacity 0.4s;
}
.film-marker.on {
  opacity: 1;
}
.film-line {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 58px;
  height: 1px;
  background: rgba(241, 236, 226, 0.14);
  z-index: 6;
}
.film-line .playhead {
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 44px;
  height: 4px;
  margin-left: -22px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(201, 169, 106, 0.7);
}
.film .scroll-hint {
  bottom: 84px;
}

/* mobile film */
@media (max-width: 1019px) {
  .ov-split {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-bottom: 12svh;
  }
  .ov-split .mock {
    align-self: center;
  }
  .ov-right {
    align-items: flex-start;
  }
  .ov-demo .phone {
    display: none;
  }
}
@media (max-width: 760px) {
  .ov {
    justify-content: flex-end;
    padding-bottom: 14svh;
  }
  .ov-center {
    justify-content: center;
    padding-bottom: 0;
  }
  .ov-demo .browser {
    width: min(560px, 90vw);
  }
  .ov-demo .phone {
    display: none;
  }
  .film-line {
    bottom: 44px;
  }
  .film-marker {
    bottom: 58px;
  }
  .film .scroll-hint {
    display: none;
  }

}

/* static / reduced-motion: collapse film to a poster + hero overlay */
.no-motion .film {
  height: 100vh;
  height: 100svh;
}
.no-motion .ov {
  display: none;
}
.no-motion #ovHero {
  display: flex;
  visibility: visible;
}
.no-motion #ovHero .ov-i {
  opacity: 1;
  transform: none;
}
.no-motion .film-marker,
.no-motion .film-line {
  display: none;
}

/* ============================================================
   FILM TEXT READABILITY — local scrims + cinema shadows
   ============================================================ */
.ov::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.ov-left::before {
  background: linear-gradient(
    100deg,
    rgba(4, 8, 17, 0.82) 0%,
    rgba(4, 8, 17, 0.5) 34%,
    rgba(4, 8, 17, 0.14) 56%,
    transparent 70%
  );
}
.ov-right::before {
  background: linear-gradient(
    -100deg,
    rgba(4, 8, 17, 0.82) 0%,
    rgba(4, 8, 17, 0.5) 34%,
    rgba(4, 8, 17, 0.14) 56%,
    transparent 70%
  );
}
.ov-center::before {
  background: radial-gradient(
    74% 68% at 50% 48%,
    rgba(4, 8, 17, 0.72) 0%,
    rgba(4, 8, 17, 0.4) 50%,
    rgba(4, 8, 17, 0.1) 72%,
    transparent 82%
  );
}
.ov-split::before {
  background: linear-gradient(
      100deg,
      rgba(4, 8, 17, 0.82) 0%,
      rgba(4, 8, 17, 0.48) 36%,
      transparent 62%
    ),
    linear-gradient(-100deg, rgba(4, 8, 17, 0.5) 0%, transparent 38%);
}

.ov .hero-title,
.ov h3,
.ov .manifest-line {
  text-shadow:
    0 2px 8px rgba(3, 6, 13, 0.7),
    0 10px 46px rgba(3, 6, 13, 0.6);
}
.ov .ch-text,
.ov .kicker,
.ov .hero-sub,
.ov .ov-note,
.ov .ch-label {
  text-shadow:
    0 1px 4px rgba(3, 6, 13, 0.85),
    0 5px 22px rgba(3, 6, 13, 0.6);
}
.ov .ch-text {
  color: rgba(241, 236, 226, 0.86);
}
.ov .chip {
  background: rgba(4, 8, 17, 0.72);
  border-color: rgba(201, 169, 106, 0.5);
}
.film-marker,
.film .scroll-hint {
  text-shadow: 0 1px 4px rgba(3, 6, 13, 0.9);
}

/* contact links */
.menu-contact a,
.contact-lines a {
  transition: color 0.3s;
}
.menu-contact a:hover,
.contact-lines a:hover {
  color: var(--gold);
}

/* ============ MOBILE FILM OVERLAYS — compact so nothing clips ============ */
@media (max-width: 760px) {
  .ov h3 {
    font-size: clamp(25px, 7.2vw, 32px);
  }
  .ov .ch-text {
    font-size: 14px;
    margin-bottom: 12px;
    max-width: 92vw;
  }
  .ov .ch-label {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .ov .chip {
    padding: 6px 9px;
    font-size: 8.5px;
  }
  .chip-row {
    gap: 7px;
  }
  .ov-split {
    padding-bottom: 9svh;
    gap: 12px;
  }
  .booking-mock {
    width: min(300px, 86vw);
    padding: 14px;
  }
  .cal-grid {
    gap: 4px;
    margin: 10px 0 12px;
  }
  .cal-day {
    font-size: 8.5px;
  }
  .mock-cta {
    font-size: 11.5px;
  }
  .mock-btn {
    padding: 8px 12px;
    font-size: 9px;
  }
  .ad-mock {
    width: min(270px, 80vw);
    padding: 10px 10px 12px;
  }
  .ad-img {
    aspect-ratio: 16/10;
  }
  .ov .dash-mock {
    width: min(400px, 92vw);
    padding: 14px;
    margin-top: 10px;
  }
  .dash-grid {
    gap: 8px;
    margin: 12px 0 4px;
  }
  .stat {
    padding: 10px;
  }
  .stat b {
    font-size: 22px;
  }
  .dash-chart {
    height: 52px;
    margin-top: 8px;
  }
  .manifest-line {
    font-size: clamp(25px, 7vw, 32px);
  }
  .ov-note {
    font-size: 9.5px;
    margin-top: 18px;
  }
  .ov-demo .browser {
    width: min(480px, 90vw);
  }
  .device-hero strong {
    font-size: clamp(20px, 5.5vw, 30px);
  }
}


/* JS sticky fallback (iOS edge cases) */
.js-pin .film-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.js-pin .film-stage.is-fixed {
  position: fixed;
}
.js-pin .film-stage.is-bottom {
  position: absolute;
  top: auto;
  bottom: 0;
}

/* debug beacon */
#filmDebug {
  position: fixed;
  left: 8px;
  top: 8px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.8);
  color: #0f0;
  font: 10px/1.5 monospace;
  padding: 6px 8px;
  pointer-events: none;
  white-space: pre;
}
