@font-face {
  font-family: "Velune Sans";
  src: local("Inter"), local("Helvetica Neue");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f7f5ef;
  --muted: rgba(247, 245, 239, 0.68);
  --night: #030712;
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(7, 12, 24, 0.42);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: "Velune Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #071019;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem clamp(1rem, 2.5vw, 3rem);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -2rem;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 5, 13, .7), transparent);
  pointer-events: none;
}
.site-header[data-calm="true"] { opacity: .72; transform: translateY(-4px); }
.site-header:hover, .site-header:focus-within { opacity: 1; transform: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  width: max-content;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .18em;
}
.brand img { width: 1.8rem; height: 1.8rem; }
.site-header .brand img { filter: invert(1) drop-shadow(0 2px 10px rgba(255,255,255,.12)); }

.nav-pill {
  display: flex;
  align-items: center;
  gap: .15rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 10, 21, .42);
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 8px 32px rgba(0,0,0,.12);
  backdrop-filter: blur(16px) saturate(1.2);
}
.nav-pill a {
  min-height: 2.4rem;
  display: grid;
  place-items: center;
  padding: 0 1.05rem;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  font-size: .76rem;
  transition: background .25s, color .25s;
}
.nav-pill a:hover, .nav-pill a.is-current { background: rgba(255,255,255,.12); color: #fff; }

.menu-trigger, .menu-close {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-trigger {
  justify-self: end;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 0;
  font-size: .76rem;
}
.menu-trigger svg, .menu-close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.25; }

.menu-backdrop {
  position: fixed;
  z-index: 48;
  inset: 0;
  background: rgba(1, 4, 10, .62);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.menu-backdrop.is-open { opacity: 1; }
.menu-panel {
  position: fixed;
  z-index: 50;
  right: 0;
  top: 0;
  width: min(31rem, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem clamp(1.4rem, 4vw, 3.5rem) 2.5rem;
  background: #f1efe8;
  color: #10131a;
  transform: translateX(105%);
  transition: transform .58s var(--ease);
}
.menu-panel.is-open { transform: translateX(0); }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; letter-spacing: .14em; }
.menu-close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.18); border-radius: 50%; }
.menu-panel nav { margin: auto 0; display: grid; }
.menu-panel nav a { display: flex; align-items: baseline; gap: 1.3rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.15); font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.05em; }
.menu-panel nav a span { font-size: .75rem; letter-spacing: .12em; opacity: .45; }
.menu-panel > p { max-width: 20rem; color: rgba(16,19,26,.65); line-height: 1.55; }

.sequence-stage { height: 660dvh; background: var(--night); }
.sequence-viewport {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 38rem;
  overflow: clip;
  isolation: isolate;
}
.sequence-poster, .sequence-canvas {
  position: absolute;
  z-index: -5;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sequence-canvas { display: block; }
html[data-enhanced="true"] .sequence-poster { opacity: 0; }
.media-scrim {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 47%, transparent 28%, rgba(1,4,12,.05) 66%, rgba(1,4,12,.4) 100%),
    linear-gradient(180deg, rgba(2,5,13,.18), transparent 30%, transparent 70%, rgba(2,5,13,.38));
  pointer-events: none;
}
.sequence-grain {
  position: absolute;
  z-index: 12;
  inset: -20%;
  opacity: .045;
  pointer-events: none;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.loading-status {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 2rem;
  display: grid;
  gap: .65rem;
  width: min(12rem, 45vw);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity .5s;
}
.loading-status.is-ready { opacity: 0; pointer-events: none; }
.loading-status__track { height: 1px; background: rgba(255,255,255,.22); }
.loading-status__track span { display: block; height: 100%; width: 0; background: #fff; transition: width .18s; }

.chapter {
  position: absolute;
  z-index: 5;
  width: min(35rem, calc(100% - 2rem));
  text-wrap: balance;
}
html[data-enhanced="true"] .chapter { opacity: 0; visibility: hidden; will-change: opacity, transform; }
.chapter::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5rem -7rem;
  background: radial-gradient(ellipse, rgba(1,5,14,.58), transparent 67%);
  filter: blur(8px);
  pointer-events: none;
}
.chapter--hero { top: 50%; left: 50%; text-align: center; transform: translate(-50%, -52%); }
.chapter--left { left: clamp(1.3rem, 6vw, 7rem); top: 37%; }
.chapter--cloud { left: clamp(1.3rem, 6vw, 7rem); top: 34%; }
.chapter--right { right: clamp(1.3rem, 7vw, 8rem); top: 34%; width: min(28rem, calc(100% - 2rem)); text-align: right; }
.chapter--arrival { left: clamp(1.3rem, 6vw, 7rem); top: 33%; }
.eyebrow { margin: 0 0 1.1rem; color: rgba(255,255,255,.72); font-size: .75rem; font-weight: 650; letter-spacing: .16em; }
.chapter h1, .chapter h2, .concierge h2, .proof-card h3, .final-cta h2 { margin: 0; font-weight: 420; letter-spacing: -.055em; line-height: .94; }
.chapter h1 { font-size: clamp(3.2rem, 5.5vw, 6.8rem); }
.chapter h2 { font-size: clamp(3rem, 6.5vw, 7.5rem); }
.chapter__body { max-width: 29rem; margin: 1.5rem auto 1.8rem; color: rgba(255,255,255,.74); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.55; }
.chapter--left .chapter__body, .chapter--cloud .chapter__body, .chapter--arrival .chapter__body { margin-left: 0; }

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  min-height: 3.25rem;
  padding: .25rem .3rem .25rem 1.25rem;
  border-radius: 999px;
  background: #f8f7f2;
  color: #0a0d14;
  font-size: .76rem;
  font-weight: 650;
  transition: transform .25s var(--ease), background .25s;
}
.primary-cta:hover { transform: translateY(-2px); background: #fff; }
.primary-cta__icon { width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: 50%; background: #0a0d14; color: #fff; font-size: 1rem; }

.sequence-meta {
  position: absolute;
  z-index: 9;
  left: clamp(1rem, 2.5vw, 3rem);
  right: clamp(1rem, 2.5vw, 3rem);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  letter-spacing: .1em;
}
.sequence-meta__line { flex: 1; height: 1px; background: rgba(255,255,255,.22); }
.sequence-meta__line span { display: block; width: 0; height: 100%; background: rgba(255,255,255,.8); }
.scroll-cue { position: absolute; z-index: 8; right: 2.5rem; bottom: 3.2rem; display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 2.5rem; background: linear-gradient(#fff, transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(.4rem); opacity: .45; } }

.concierge { padding: clamp(6rem, 12vw, 12rem) clamp(1.2rem, 5vw, 6rem) 3rem; background: #ece9e1; color: #10131a; }
.concierge .eyebrow { color: rgba(16,19,26,.55); }
.concierge__intro { display: grid; grid-template-columns: .65fr 1.55fr .75fr; align-items: start; gap: 3rem; }
.concierge__intro h2 { font-size: clamp(3rem, 6.2vw, 7rem); }
.concierge__intro > p:last-child { margin: .4rem 0 0; color: rgba(16,19,26,.64); line-height: 1.65; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(5rem, 10vw, 10rem); }
.proof-card { position: relative; min-height: 28rem; display: flex; flex-direction: column; justify-content: end; padding: 2rem; overflow: clip; border-radius: 1.25rem; background: #111b29; color: #fff; }
.proof-card:nth-child(2) { background: #d5d8d5; color: #0d1218; }
.proof-card:nth-child(2) .eyebrow { color: rgba(13,18,24,.52); }
.proof-card::before { content: ""; position: absolute; inset: -30% 10% 35%; border-radius: 50%; background: radial-gradient(circle, rgba(93,137,194,.5), transparent 65%); filter: blur(35px); }
.proof-card:nth-child(2)::before { background: radial-gradient(circle, rgba(255,255,255,.85), transparent 65%); }
.proof-card__icon { position: absolute; right: 2rem; top: 2rem; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.proof-card h3 { max-width: 25rem; font-size: clamp(2.4rem, 4vw, 4.8rem); }
.proof-card > p:last-child { max-width: 30rem; margin: 1.5rem 0 0; color: rgba(255,255,255,.66); line-height: 1.6; }
.proof-card:nth-child(2) > p:last-child { color: rgba(13,18,24,.62); }
.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-top: 1rem; padding: clamp(3rem, 8vw, 7rem); min-height: 36rem; border-radius: 1.25rem; background: #cbd4da; }
.final-cta h2 { font-size: clamp(3rem, 6vw, 6.8rem); }
.primary-cta--dark { flex: none; background: #10131a; color: #fff; }
.primary-cta--dark .primary-cta__icon { background: #fff; color: #10131a; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.2rem, 5vw, 6rem); background: #ece9e1; color: #10131a; border-top: 1px solid rgba(16,19,26,.14); font-size: .75rem; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-pill { display: none; }
  .sequence-stage { height: 590dvh; }
  .chapter--hero, .chapter--left, .chapter--cloud, .chapter--right, .chapter--arrival { left: 1.25rem; right: auto; top: auto; bottom: 15vh; width: calc(100% - 2.5rem); text-align: left; transform: none; }
  .chapter h1 { font-size: clamp(3.4rem, 15vw, 5.5rem); }
  .chapter h2 { font-size: clamp(3rem, 14vw, 5.25rem); }
  .chapter--hero .chapter__body { margin-left: 0; }
  .chapter::before { inset: -4rem -2rem; background: radial-gradient(ellipse at 10% 60%, rgba(1,5,14,.76), transparent 72%); }
  .scroll-cue { display: none; }
  .concierge__intro { grid-template-columns: 1fr; gap: 1.4rem; }
  .concierge__intro > p:last-child { max-width: 30rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { min-height: 24rem; }
  .final-cta { min-height: 34rem; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 2rem; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 480px) {
  .site-header { padding: 1rem; }
  .menu-trigger span { display: none; }
  .sequence-viewport { min-height: 34rem; }
  .chapter { bottom: 12vh !important; }
  .chapter h1, .chapter h2 { letter-spacing: -.065em; }
  .chapter__body { max-width: 22rem; font-size: .92rem; }
  .eyebrow { font-size: .75rem; }
  .sequence-meta { bottom: 1rem; }
  .concierge { padding-inline: 1rem; }
  .proof-card, .final-cta { border-radius: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sequence-stage { height: auto; }
  .sequence-viewport { position: relative; height: auto; min-height: 100dvh; display: grid; align-content: end; padding: 9rem 0 3rem; }
  .sequence-canvas, .loading-status, .scroll-cue, .sequence-meta { display: none; }
  html[data-enhanced="true"] .sequence-poster { opacity: 1; }
  .sequence-poster { object-position: 58% center; }
  html[data-enhanced="true"] .chapter, .chapter { position: relative; left: auto; right: auto; top: auto; bottom: auto !important; width: min(38rem, calc(100% - 2rem)); margin: 0 1rem 1rem; padding: 1.4rem; visibility: visible; opacity: 1; transform: none; border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; background: rgba(2,5,13,.62); backdrop-filter: blur(14px); text-align: left; }
  .chapter::before { display: none; }
  .chapter:not(.chapter--arrival) { display: none; }
}
