/* Vacation Soundtrack — shared design tokens & base
   Aesthetic: cinematic sunset-on-dark. Warm ink, coral→amber sunset
   gradients, ocean-teal accent. Fraunces display / Instrument Sans body. */

:root {
  --ink: #16111c;
  --ink-2: #1f1826;
  --ink-3: #2a2133;
  --cream: #f7efe3;
  --cream-dim: #cfc4b4;
  --coral: #ff5a3c;
  --amber: #ffb648;
  --peach: #ff8c5f;
  --teal: #35c7b4;
  --sunset: linear-gradient(100deg, var(--coral) 0%, var(--peach) 45%, var(--amber) 100%);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', -apple-system, sans-serif;
  --radius: 18px;
  --shadow-card: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--coral); color: var(--ink); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }

a { color: inherit; }

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

/* --- grain overlay for atmosphere --- */
.grain::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* --- text helpers --- */
.grad-text {
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s;
}

.btn-primary {
  background: var(--sunset);
  color: #221008;
  box-shadow: 0 12px 34px -10px rgba(255, 90, 60, 0.65);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 44px -10px rgba(255, 122, 60, 0.8);
}
.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(247, 239, 227, 0.28);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* --- scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
