/* =================================================================
   TOKENS
   ================================================================= */
:root {
  /* palette — dark */
  --ink-950: #07070a;
  --ink-900: #0b0b0f;
  --ink-850: #101015;
  --ink-800: #15151c;
  --ink-700: #1d1d26;
  --ink-600: #2a2a36;
  --ink-500: #3e3e4e;
  --line:        rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --fog:         rgba(255,255,255,.55);
  --fog-2:       rgba(255,255,255,.72);
  --paper: #ffffff;

  /* palette — light editorial */
  --cream-50:  #faf6ef;
  --cream-100: #f3ecdd;
  --cream-200: #e9dfc8;
  --cream-300: #d8c8a3;
  --clay:   #2b2417;
  --clay-2: #4a3f2c;

  /* accents */
  --lilac:  #b8a8ff;
  --lilac-2: #8a74ff;
  --mint:   #c6f59a;
  --mint-2: #88e46a;
  --peach:  #ffb997;
  --signal: #ff5b3a;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --f-display: "Fraunces", ui-serif, Georgia, serif;
  --f-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono:    "Geist Mono", ui-monospace, monospace;

  --dur-1: .24s;
  --dur-2: .5s;
  --dur-3: .9s;
  --ease:  cubic-bezier(.2,.7,.1,1);
}

/* =================================================================
   RESET
   ================================================================= */
* { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: var(--f-body);
  background: var(--ink-900);
  color: var(--fog-2);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: 72px;
}
::selection { background: var(--lilac); color: #0b0b0f; }

a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }

/* =================================================================
   LAYOUT
   ================================================================= */
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 48px);
}

/* =================================================================
   GRAIN OVERLAY
   ================================================================= */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =================================================================
   KEYFRAMES
   ================================================================= */
@keyframes float1 {
  0%, 100% { transform: translate(0,0) }
  50%       { transform: translate(40px,-30px) }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) }
  50%       { transform: translate(-30px,20px) }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) }
  50%       { transform: translateY(-10px) }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(136,228,106,.7) }
  100% { box-shadow: 0 0 0 14px rgba(136,228,106,0)  }
}
@keyframes scroll {
  from { transform: translateX(0) }
  to   { transform: translateX(-50%) }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0) }
}

/* =================================================================
   PAGE TRANSITIONS (View Transitions API)
   ================================================================= */
@keyframes page-out {
  to { opacity: 0; transform: translateY(-12px) }
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(12px) }
}
::view-transition-old(root) {
  animation: page-out var(--dur-2) var(--ease) forwards;
}
::view-transition-new(root) {
  animation: page-in var(--dur-2) var(--ease) 80ms both;
}

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none }
[data-reveal-delay="1"].in { transition-delay: .1s }
[data-reveal-delay="2"].in { transition-delay: .2s }
[data-reveal-delay="3"].in { transition-delay: .3s }
[data-reveal-delay="4"].in { transition-delay: .4s }

/* =================================================================
   SECTION SHELL
   ================================================================= */
section.page {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fog);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6;
}
h1.section-title,
h2.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--paper);
  margin: 0;
}
h1.section-title em,
h2.section-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--lilac);
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 48px; margin-bottom: 64px;
}
.section-head p.lead {
  max-width: 440px; color: var(--fog);
  font-size: 16px; margin: 0;
}

/* =================================================================
   BUTTONS
   ================================================================= */
/* CTA row — flex container used on hero + final-cta blocks across pages */
.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Official Apple "Download on the App Store" badge.
   Apple Marketing Guidelines:
   - Use the official artwork only, do not modify.
   - Minimum height 40px on screen.
   - Maintain clear space ≥ 1/10 of badge height around the badge.
   - No drop shadows, no recoloring, no rotation. */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  outline-offset: 4px;
  transition: opacity var(--dur-1) var(--ease);
}
.app-store-badge:hover  { opacity: .85; }
.app-store-badge:active { opacity: .7; }
.app-store-badge:focus-visible { outline: 2px solid var(--lilac); }
.app-store-badge img {
  display: block;
  height: 48px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-size: 14.5px;
  transition: background var(--dur-1) var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,.05); }
.btn-ghost .play {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lilac);
  color: #0b0b0f;
}
.btn-ghost .play svg { width: 10px; height: 10px; margin-left: 1px; }

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important }
  .float-card { animation: none !important }
  .badge .dot { animation: none !important }
  .bk-tag .dot { animation: none !important }
  .bk-marquee { animation: none !important }
  .booking-teaser .dot { animation: none !important }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
