/* ==========================================================================
   Awaken Destinations — base: tokens, reset, typography, layout utilities
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #061224;
  --navy-900: #0a1a31;
  --navy-800: #0f2442;
  --navy-700: #16335c;
  --blue-800: #082b63;
  --blue-700: #0c3d85;
  --blue-600: #1450a3;
  --gold-600: #b3863a;
  --gold-500: #c99a4b;
  --gold-400: #d9b06a;
  --gold-100: #f6ecd9;
  --cream: #faf6f0;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f5f6f8;
  --gray-100: #eceff3;
  --gray-200: #dfe3ea;
  --gray-400: #9aa3b2;
  --text: #1b2536;
  --text-muted: #5b6577;
  --text-on-dark: rgba(255, 255, 255, 0.82);

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Allura', cursive;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 104px);
  --header-h: 76px;

  /* Surfaces */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 49, 0.06), 0 2px 8px rgba(10, 26, 49, 0.05);
  --shadow: 0 10px 30px -12px rgba(10, 26, 49, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(10, 26, 49, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

/* Typography ------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.script { font-family: var(--font-script); font-weight: 400; line-height: 1; }
.lead { font-size: clamp(15px, 1.4vw, 17px); color: var(--text-muted); }

/* Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.7); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}
.section-title--line { display: flex; align-items: center; gap: 18px; }
.section-title--line::after { content: ''; width: 64px; height: 2px; background: var(--gold-500); flex: none; }
.section-sub { margin-top: 8px; color: var(--gold-600); font-size: 14px; }
.section-sub--muted { color: var(--text-muted); }
.section-head--center .section-sub { color: var(--text-muted); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* Utilities -------------------------------------------------------------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.stretched-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Reveal on scroll (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.grid > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.grid > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.grid > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.section--flush-top { padding-top: 0; }
