/* ============================================================
   AURYN™ — DESIGN SYSTEM
   Rare Journeys, Reserved Lives · Ultra Luxury Travel Atelier
   Est. MMXXVI
   Palette: #0D1B2A · #C8A84B · #FAF6EE
   Fonts: Cormorant Garamond · Montserrat
============================================================ */

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

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #111f2e;
  --navy-light: #1a2f42;
  --gold:       #C8A84B;
  --gold-h:     #d4b45e;
  --gold-dim:   rgba(200,168,75,0.35);
  --gold-faint: rgba(200,168,75,0.08);
  --ivory:      #FAF6EE;
  --ivory-80:   rgba(250,246,238,0.80);
  --ivory-60:   rgba(250,246,238,0.60);
  --ivory-40:   rgba(250,246,238,0.40);
  --ivory-20:   rgba(250,246,238,0.20);
  --ivory-10:   rgba(250,246,238,0.10);
  --sidebar-w:  300px;
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --ease-out:   cubic-bezier(0,0,0.2,1);
  --dur:        0.35s;
}

html { scroll-behavior:smooth; font-size:16px; }

body {
  background: var(--navy);
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain */
body::after {
  content:'';
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events:none; z-index:9998; opacity:0.45;
}

a { color:inherit; text-decoration:none; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }
img { display:block; max-width:100%; }

/* ============================================================
   OVERLAY
============================================================ */
.sidebar-overlay {
  position:fixed; inset:0;
  background:rgba(13,27,42,0.72);
  z-index:149; opacity:0; pointer-events:none;
  transition:opacity 0.4s var(--ease);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.sidebar-overlay.visible { opacity:1; pointer-events:all; }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar {
  position:fixed; top:0; left:0;
  width:var(--sidebar-w); height:100vh;
  background:var(--navy-mid);
  border-right:0.5px solid var(--gold-dim);
  display:flex; flex-direction:column;
  z-index:150;
  overflow-y:auto; scrollbar-width:none;
  transform:translateX(calc(-1 * var(--sidebar-w)));
  transition:transform 0.45s var(--ease);
  will-change:transform;
}
.sidebar::-webkit-scrollbar { display:none; }
.sidebar.open { transform:translateX(0); }

/* Close button — inside sidebar, top-right */
.sidebar-close {
  position:absolute; top:1.25rem; right:1.25rem;
  width:36px; height:36px;
  border:0.5px solid var(--gold-dim);
  background:transparent;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:10; flex-shrink:0;
  transition:background var(--dur), border-color var(--dur);
}
.sidebar-close:hover { background:var(--gold-faint); border-color:var(--gold); }
.sidebar-close span {
  position:absolute; width:14px; height:0.5px;
  background:var(--gold); opacity:0.75;
}
.sidebar-close span:first-child { transform:rotate(45deg); }
.sidebar-close span:last-child  { transform:rotate(-45deg); }

/* Sidebar top */
.sidebar-top {
  padding:2.5rem 2rem 1.75rem;
  border-bottom:0.5px solid var(--gold-faint);
  flex-shrink:0;
}
.sidebar-logo {
  font-family:'Cormorant Garamond',serif;
  font-size:22px; font-weight:300;
  letter-spacing:0.5em; color:var(--gold);
  display:block; margin-bottom:0.25rem;
}
.sidebar-tagline {
  font-size:7px; letter-spacing:0.32em;
  text-transform:uppercase; color:var(--ivory-40);
  line-height:2; display:block;
}
.sidebar-sub {
  font-size:7px; letter-spacing:0.25em;
  text-transform:uppercase; color:rgba(200,168,75,0.4);
  display:block; margin-top:0.1rem;
}

/* Roster */
.roster-block {
  margin:1.25rem 1.5rem;
  padding:1rem 1rem 0.75rem;
  border:0.5px solid var(--gold-dim);
  background:var(--gold-faint); flex-shrink:0;
}
.roster-header {
  font-size:7px; letter-spacing:0.38em;
  text-transform:uppercase; color:var(--gold);
  opacity:0.85; margin-bottom:0.85rem;
}
.roster-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:0.38rem 0; border-bottom:0.5px solid var(--ivory-10);
}
.roster-row:last-child { border-bottom:none; }
.roster-label {
  font-size:8px; letter-spacing:0.1em;
  color:var(--ivory-60); display:flex; align-items:center; gap:6px;
}
.roster-value {
  font-family:'Cormorant Garamond',serif;
  font-size:14px; color:var(--ivory); font-weight:300;
}
.roster-dot {
  display:inline-block; width:5px; height:5px;
  border-radius:50%; background:var(--gold); flex-shrink:0;
  animation:pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:0.7; transform:scale(1); }
  50%      { opacity:0.3; transform:scale(0.7); }
}

/* Nav */
.sidebar-nav { flex:1; padding:0.5rem 0; overflow-y:auto; scrollbar-width:none; }
.sidebar-nav::-webkit-scrollbar { display:none; }
.nav-section-label {
  font-size:7px; letter-spacing:0.42em;
  text-transform:uppercase; color:var(--ivory-20);
  padding:1.25rem 2rem 0.5rem;
}
.nav-item {
  display:flex; align-items:center; justify-content:space-between;
  padding:0.75rem 2rem;
  font-size:9.5px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--ivory-40);
  cursor:pointer; width:100%; text-align:left;
  border-left:2px solid transparent;
  transition:color var(--dur), background var(--dur), border-color var(--dur);
}
.nav-item:hover { color:var(--ivory); background:var(--gold-faint); }
.nav-item.active { color:var(--gold); background:var(--gold-faint); border-left-color:var(--gold); }
.nav-arrow {
  font-size:11px; opacity:0.3;
  transition:transform 0.3s var(--ease), opacity var(--dur);
  display:inline-block;
}
.nav-item:hover .nav-arrow, .nav-item.active .nav-arrow { opacity:0.7; }
.nav-arrow.rotated { transform:rotate(90deg); }

/* Dest subnav */
.dest-subnav { overflow:hidden; max-height:0; transition:max-height 0.4s ease; }
.dest-subnav.open { max-height:500px; }
.dest-subnav-item {
  display:flex; align-items:center; gap:0.75rem;
  padding:0.48rem 2rem 0.48rem 2.75rem;
  font-size:8.5px; letter-spacing:0.15em;
  color:var(--ivory-40); cursor:pointer;
  text-transform:uppercase; width:100%; text-align:left;
  transition:color var(--dur);
}
.dest-subnav-item:hover { color:var(--gold); }
.dest-flag { font-size:14px; flex-shrink:0; }

/* ============================================================
   HAMBURGER TOGGLE
============================================================ */
.menu-toggle {
  position:fixed; top:1.5rem; left:1.5rem;
  z-index:200; width:44px; height:44px;
  border:0.5px solid var(--gold-dim);
  background:var(--navy-mid);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:5px;
  cursor:pointer;
  transition:background var(--dur), border-color var(--dur), opacity var(--dur);
}
.menu-toggle:hover { background:var(--gold-faint); border-color:var(--gold); }
.menu-toggle span {
  display:block; width:18px; height:0.5px;
  background:var(--gold);
  transition:all 0.3s ease; transform-origin:center;
}
/* Hide hamburger when sidebar open (close btn takes over) */
.sidebar.open ~ .menu-toggle,
body.nav-open .menu-toggle { opacity:0; pointer-events:none; }

/* ============================================================
   MAIN
============================================================ */
.main { min-height:100vh; display:flex; flex-direction:column; }

/* Pages */
.page { display:none; flex-direction:column; animation:pgIn 0.5s var(--ease-out) both; }
.page.active { display:flex; }
@keyframes pgIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position:relative; padding:5rem 5rem 5rem;
  min-height:100vh; display:flex;
  flex-direction:column; justify-content:center;
  overflow:hidden;
}

/* Ghost background — parallax via JS */
.hero-ghost {
  position:absolute; bottom:-4rem; right:-1rem;
  font-family:'Cormorant Garamond',serif;
  font-size:30vw; font-weight:300;
  color:rgba(200,168,75,0.028);
  letter-spacing:-0.02em;
  pointer-events:none; user-select:none;
  line-height:0.85; will-change:transform;
}

/* Logo lockup */
.hero-logo-lockup {
  display:flex; flex-direction:column; gap:0.4rem;
  margin-bottom:2.5rem;
}
.hero-logo-mark {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(56px,9vw,108px);
  font-weight:300; letter-spacing:0.45em;
  color:var(--gold); line-height:1; display:block;
  /* Entrance animation */
  animation:logoIn 1.4s var(--ease-out) both;
  animation-delay:0.1s;
}
@keyframes logoIn {
  from { opacity:0; letter-spacing:0.8em; }
  to   { opacity:1; letter-spacing:0.45em; }
}
.hero-logo-sub {
  font-size:9px; letter-spacing:0.45em;
  text-transform:uppercase; color:var(--ivory-40);
  font-family:'Montserrat',sans-serif; font-weight:300;
  display:block;
  animation:fadeUp 1.2s var(--ease-out) both; animation-delay:0.5s;
}

/* Headline */
.hero-headline {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(30px,4.5vw,58px);
  font-weight:300; line-height:1.08;
  color:var(--ivory-80); margin-bottom:1.5rem;
  max-width:600px;
  animation:fadeUp 1.2s var(--ease-out) both; animation-delay:0.65s;
}
.hero-headline em { font-style:italic; color:var(--gold); }

/* Tagline */
.hero-tagline-block {
  margin-bottom:2.25rem;
  animation:fadeUp 1.2s var(--ease-out) both; animation-delay:0.8s;
}
.hero-tagline {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(14px,1.8vw,19px);
  font-weight:300; font-style:italic;
  color:var(--ivory-60); letter-spacing:0.08em; margin-bottom:0.2rem;
}
.hero-sub-tagline {
  font-size:8.5px; letter-spacing:0.4em;
  text-transform:uppercase; color:rgba(200,168,75,0.5);
}

/* Body copy */
.hero-body {
  font-size:10.5px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--ivory-40);
  line-height:2.5; max-width:460px; margin-bottom:2.75rem;
  animation:fadeUp 1.2s var(--ease-out) both; animation-delay:0.9s;
}
.hero-body strong { color:var(--ivory-60); font-weight:400; }

/* CTA */
.hero-cta {
  display:flex; align-items:center; gap:2.5rem; margin-bottom:5rem;
  animation:fadeUp 1.2s var(--ease-out) both; animation-delay:1s;
}

/* Stat strip */
.hero-stats {
  display:flex; gap:0;
  border-top:0.5px solid var(--gold-faint); padding-top:2.5rem;
  animation:fadeUp 1.2s var(--ease-out) both; animation-delay:1.1s;
}
.hero-stat {
  flex:1; padding-right:2rem;
  border-right:0.5px solid var(--gold-faint); margin-right:2rem;
}
.hero-stat:last-child { border-right:none; margin-right:0; padding-right:0; }
.stat-num {
  font-family:'Cormorant Garamond',serif;
  font-size:36px; font-weight:300; color:var(--gold);
  line-height:1; margin-bottom:0.4rem;
}
.stat-label {
  font-size:8.5px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--ivory-40); line-height:2;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display:inline-block;
  padding:0.9rem 2.5rem;
  background:var(--gold); color:var(--navy);
  font-family:'Montserrat',sans-serif;
  font-size:8.5px; font-weight:500;
  letter-spacing:0.35em; text-transform:uppercase;
  border:none; position:relative; overflow:hidden;
  transition:background 0.3s, transform 0.3s;
}
.btn-primary:hover { background:var(--gold-h); transform:translateY(-2px); }
.btn-primary:active { transform:translateY(0); }

/* Ripple */
.btn-primary .ripple {
  position:absolute; border-radius:50%;
  background:rgba(255,255,255,0.18);
  transform:scale(0); animation:ripple 0.55s linear;
  pointer-events:none;
}
@keyframes ripple {
  to { transform:scale(4); opacity:0; }
}

.btn-ghost {
  display:inline-flex; align-items:center; gap:0.5rem;
  font-size:8.5px; letter-spacing:0.28em;
  text-transform:uppercase; color:var(--ivory-40);
  background:none; border:none;
  transition:color var(--dur);
}
.btn-ghost:hover { color:var(--ivory); }
.btn-ghost::after { content:'→'; transition:transform var(--dur); }
.btn-ghost:hover::after { transform:translateX(5px); }

.btn-back {
  display:inline-flex; align-items:center; gap:0.6rem;
  font-size:8.5px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--ivory-40);
  background:none; border:none; margin-bottom:2rem;
  transition:color var(--dur);
}
.btn-back::before { content:'←'; transition:transform var(--dur); }
.btn-back:hover { color:var(--gold); }
.btn-back:hover::before { transform:translateX(-4px); }

/* ============================================================
   DESTINATIONS — TILE GRID
============================================================ */
.dest-grid-view { padding:5rem; }
.dest-grid-header { margin-bottom:3rem; }

.dest-tiles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5px;
  background:var(--gold-dim);
}

.dest-tile {
  background:var(--navy);
  padding:2.25rem 2rem;
  cursor:pointer; position:relative; overflow:hidden;
  transition:background 0.3s var(--ease);
  min-height:220px; display:flex; flex-direction:column;
}
.dest-tile::before {
  content:'';
  position:absolute; top:0; left:0;
  width:100%; height:2px;
  background:var(--gold);
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.4s var(--ease);
}
.dest-tile:hover { background:var(--navy-light); }
.dest-tile:hover::before { transform:scaleX(1); }

/* Tile hover lift */
.dest-tile { transition:background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.dest-tile:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(0,0,0,0.35); }

.dest-tile-flag {
  font-size:28px; margin-bottom:1rem;
  transition:transform 0.3s var(--ease);
}
.dest-tile:hover .dest-tile-flag { transform:scale(1.1); }

.dest-tile-region {
  font-size:7.5px; letter-spacing:0.38em;
  text-transform:uppercase; color:var(--gold);
  opacity:0.65; margin-bottom:0.4rem;
}
.dest-tile-name {
  font-family:'Cormorant Garamond',serif;
  font-size:24px; font-weight:300;
  color:var(--ivory); line-height:1.1; margin-bottom:auto;
}
.dest-tile-nights {
  font-size:8px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--ivory-20);
  margin-top:1.25rem;
}

/* Coming soon tile */
.dest-tile.coming-soon {
  opacity:0.32; cursor:default;
  pointer-events:none;
}
.dest-tile.coming-soon:hover { transform:none; box-shadow:none; }
.dest-tile.coming-soon::before { display:none; }
.dest-coming-label {
  font-size:8px; letter-spacing:0.3em;
  text-transform:uppercase; color:var(--ivory-20);
  font-style:italic; margin-top:auto;
}

/* ============================================================
   DESTINATIONS — DETAIL VIEW
============================================================ */
.dest-detail-page { padding:5rem; }

.dest-detail-region {
  font-size:7.5px; letter-spacing:0.42em;
  text-transform:uppercase; color:var(--gold);
  opacity:0.75; margin-bottom:0.75rem;
}
.dest-detail-name {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(38px,6vw,72px);
  font-weight:300; line-height:1.05;
  color:var(--ivory); margin-bottom:0.5rem;
}
.dest-detail-name em { font-style:italic; color:var(--gold); }
.dest-detail-subtitle {
  font-family:'Cormorant Garamond',serif;
  font-size:17px; font-style:italic;
  color:var(--ivory-60); margin-bottom:2.5rem; letter-spacing:0.05em;
}
.dest-divider {
  height:0.5px;
  background:linear-gradient(90deg,var(--gold-dim),transparent);
  margin:2rem 0;
}
.dest-meta-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:0; margin-bottom:2.25rem;
  border:0.5px solid var(--gold-faint);
}
.dest-meta-item {
  padding:1.25rem; border-right:0.5px solid var(--gold-faint);
}
.dest-meta-item:last-child { border-right:none; }
.dest-meta-label {
  font-size:7.5px; letter-spacing:0.32em;
  text-transform:uppercase; color:var(--gold);
  opacity:0.65; margin-bottom:0.4rem;
}
.dest-meta-value {
  font-family:'Cormorant Garamond',serif;
  font-size:18px; color:var(--ivory); font-weight:300;
}
.dest-detail-body {
  font-size:11px; letter-spacing:0.1em;
  color:var(--ivory-60); line-height:2.4;
  max-width:600px; margin-bottom:2rem;
}
.dest-tags { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:2.25rem; }
.dest-tag {
  font-size:7.5px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--gold);
  border:0.5px solid var(--gold-dim); padding:0.28rem 0.7rem;
  transition:background var(--dur), color var(--dur);
}
.dest-tag:hover { background:var(--gold-faint); }
.dest-cta-row { display:flex; align-items:center; gap:1.5rem; }

/* ============================================================
   SECTION SHARED
============================================================ */
.section { padding:5rem; border-bottom:0.5px solid var(--gold-faint); }

.section-label {
  font-size:7.5px; letter-spacing:0.45em;
  text-transform:uppercase; color:var(--gold);
  opacity:0.8; margin-bottom:2.5rem;
  display:flex; align-items:center; gap:1rem;
}
.section-label::after {
  content:''; height:0.5px; width:36px; background:var(--gold-dim);
}
.section-headline {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(30px,4vw,56px);
  font-weight:300; line-height:1.1;
  color:var(--ivory); margin-bottom:1.75rem; max-width:580px;
}
.section-headline em { font-style:italic; color:var(--gold); }
.section-body {
  font-size:11.5px; letter-spacing:0.1em;
  color:var(--ivory-60); line-height:2.4;
  max-width:560px; margin-bottom:1.5rem;
}

/* ============================================================
   PILLARS
============================================================ */
.pillars {
  display:grid; grid-template-columns:1fr 1fr;
  gap:0.5px; background:var(--gold-dim); margin-top:3rem;
}
.pillar {
  background:var(--navy); padding:2.25rem 2rem;
  transition:background var(--dur);
}
.pillar:hover { background:var(--navy-light); }
.pillar-num {
  font-family:'Cormorant Garamond',serif;
  font-size:11px; color:var(--gold);
  letter-spacing:0.35em; margin-bottom:1rem; opacity:0.65;
}
.pillar-title {
  font-family:'Cormorant Garamond',serif;
  font-size:21px; font-weight:300;
  color:var(--ivory); margin-bottom:0.75rem; line-height:1.2;
}
.pillar-text {
  font-size:10.5px; letter-spacing:0.1em;
  color:var(--ivory-40); line-height:2.1;
}

/* ============================================================
   STANDARD GRID
============================================================ */
.standard-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:0; margin-top:2.5rem;
}
.standard-item {
  padding:2rem 1.75rem;
  border-right:0.5px solid var(--gold-faint);
  border-bottom:0.5px solid var(--gold-faint);
  transition:background var(--dur);
}
.standard-item:hover { background:var(--gold-faint); }
.standard-item:nth-child(3n) { border-right:none; }
.standard-roman {
  font-family:'Cormorant Garamond',serif;
  font-size:26px; color:var(--gold);
  opacity:0.45; margin-bottom:1rem;
  font-style:italic; font-weight:300;
}
.standard-title {
  font-family:'Cormorant Garamond',serif;
  font-size:17px; font-weight:300;
  color:var(--ivory); margin-bottom:0.6rem;
}
.standard-text {
  font-size:10px; letter-spacing:0.1em;
  color:var(--ivory-40); line-height:2.1;
}

/* ============================================================
   JOURNAL
============================================================ */
.journal-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:0; margin-top:2.5rem;
}
.journal-entry {
  padding:2rem 1.75rem;
  border-right:0.5px solid var(--gold-faint);
  cursor:pointer; transition:background var(--dur);
}
.journal-entry:last-child { border-right:none; }
.journal-entry:hover { background:var(--gold-faint); }
.journal-date {
  font-size:7.5px; letter-spacing:0.35em;
  text-transform:uppercase; color:var(--gold);
  opacity:0.6; margin-bottom:0.75rem;
}
.journal-title {
  font-family:'Cormorant Garamond',serif;
  font-size:22px; font-weight:300; font-style:italic;
  color:var(--ivory); line-height:1.2; margin-bottom:0.75rem;
}
.journal-excerpt {
  font-size:10px; letter-spacing:0.1em;
  color:var(--ivory-40); line-height:2.1; margin-bottom:1.25rem;
}
.journal-meta {
  font-size:7.5px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--ivory-20);
}

/* ============================================================
   COMMISSION FORM
============================================================ */
.commission-layout {
  display:grid; grid-template-columns:1fr 1fr;
  gap:0; align-items:start; margin-top:3rem;
}
.commission-left { padding-right:4rem; border-right:0.5px solid var(--gold-faint); }
.commission-right { padding-left:4rem; }

.form-field { margin-bottom:1.75rem; }
.form-label {
  display:block; font-size:7.5px;
  letter-spacing:0.38em; text-transform:uppercase;
  color:var(--gold); opacity:0.75; margin-bottom:0.5rem;
}
.form-input, .form-select, .form-textarea {
  width:100%; background:transparent;
  border:none; border-bottom:0.5px solid var(--gold-dim);
  color:var(--ivory); font-family:'Montserrat',sans-serif;
  font-size:11.5px; font-weight:300; letter-spacing:0.1em;
  padding:0.55rem 0; outline:none;
  transition:border-color var(--dur);
  -webkit-appearance:none; appearance:none;
}
.form-select {
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C8A84B' stroke-opacity='0.5' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 4px center; padding-right:20px;
}
.form-select option { background:#111f2e; color:var(--ivory); }
.form-textarea {
  resize:none; height:90px;
  border:0.5px solid var(--gold-dim); padding:0.75rem;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color:var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color:var(--ivory-20); font-style:italic; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.form-note {
  font-size:8.5px; letter-spacing:0.15em;
  color:var(--ivory-20); line-height:2.2;
  margin-bottom:2rem; font-style:italic;
}
.form-submit {
  width:100%; padding:1rem;
  background:var(--gold); color:var(--navy);
  font-family:'Montserrat',sans-serif;
  font-size:9px; font-weight:500;
  letter-spacing:0.35em; text-transform:uppercase;
  border:none; cursor:pointer; position:relative; overflow:hidden;
  transition:background var(--dur), transform var(--dur);
}
.form-submit:hover { background:var(--gold-h); transform:translateY(-1px); }
.form-submit:disabled { opacity:0.55; cursor:default; transform:none; }

.form-success {
  display:none; text-align:center;
  padding:3rem 2rem;
  border:0.5px solid var(--gold-dim); background:var(--gold-faint);
}
.form-success.show { display:block; animation:fadeUp 0.5s var(--ease-out); }
.form-success-icon {
  font-family:'Cormorant Garamond',serif;
  font-size:48px; color:var(--gold); opacity:0.7; margin-bottom:1.5rem;
}
.form-success-title {
  font-family:'Cormorant Garamond',serif;
  font-size:26px; font-weight:300; color:var(--ivory); margin-bottom:0.75rem;
}
.form-success-text {
  font-size:10px; letter-spacing:0.18em;
  color:var(--ivory-40); line-height:2.2; text-transform:uppercase;
}

.promise-item {
  display:flex; align-items:flex-start; gap:1.25rem;
  padding:1.1rem 0; border-bottom:0.5px solid var(--gold-faint);
}
.promise-item:last-child { border-bottom:none; }
.promise-num {
  font-family:'Cormorant Garamond',serif;
  font-size:20px; color:var(--gold); opacity:0.55;
  flex-shrink:0; line-height:1; margin-top:1px;
}
.promise-text {
  font-size:10px; letter-spacing:0.1em;
  color:var(--ivory-60); line-height:2.1;
}
.promise-text strong { color:var(--ivory); font-weight:400; }

.availability-box {
  padding:1.5rem; border:0.5px solid var(--gold-dim);
  background:var(--gold-faint); margin-top:2rem;
}
.availability-count {
  font-family:'Cormorant Garamond',serif;
  font-size:38px; color:var(--gold); font-weight:300;
  line-height:1; margin-bottom:0.35rem;
}
.availability-count sup { font-size:16px; opacity:0.6; }
.availability-label {
  font-size:8px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--ivory-40); line-height:2;
}

/* ============================================================
   LEGAL PAGES (Terms / Privacy)
============================================================ */
.legal-page { padding:5rem; max-width:800px; }
.legal-title {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(32px,4vw,52px); font-weight:300;
  color:var(--ivory); margin-bottom:0.5rem;
}
.legal-title em { font-style:italic; color:var(--gold); }
.legal-meta {
  font-size:8.5px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--ivory-20);
  margin-bottom:3rem; display:block;
}
.legal-section { margin-bottom:2.5rem; }
.legal-h {
  font-family:'Cormorant Garamond',serif;
  font-size:20px; font-weight:300;
  color:var(--gold); margin-bottom:0.75rem;
  letter-spacing:0.05em;
}
.legal-body {
  font-size:11px; letter-spacing:0.08em;
  color:var(--ivory-60); line-height:2.4;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 1.75rem 5rem;
  border-top: 0.5px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.footer-top {
  display:flex; align-items:center; justify-content:space-between;
}
.footer-logo {
  font-family:'Cormorant Garamond',serif;
  font-size:18px; font-weight:300;
  letter-spacing:0.5em; color:var(--gold); opacity:0.55;
}
.footer-tagline-block { text-align:center; }
.footer-tagline {
  font-family:'Cormorant Garamond',serif;
  font-size:13px; font-style:italic;
  color:var(--ivory-40); letter-spacing:0.08em; display:block; margin-bottom:0.2rem;
}
.footer-sub {
  font-size:7.5px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--ivory-20);
}

/* Social icons */
.footer-social { display:flex; align-items:center; gap:1rem; }
.social-icon {
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px;
  border:0.5px solid var(--gold-dim);
  color:var(--ivory-40);
  transition:border-color var(--dur), color var(--dur), background var(--dur);
}
.social-icon:hover {
  border-color:var(--gold); color:var(--gold); background:var(--gold-faint);
}
.social-icon svg { width:15px; height:15px; fill:currentColor; }

/* Footer bottom */
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:1.25rem; border-top:0.5px solid var(--gold-faint);
}
.footer-legal {
  font-size:7.5px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--ivory-20);
}
.footer-links { display:flex; gap:2rem; }
.footer-link {
  font-size:7.5px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--ivory-20);
  cursor:pointer; transition:color var(--dur);
  border:none; background:none;
}
.footer-link:hover { color:var(--gold); }

/* ============================================================
   REVEAL ANIMATION
============================================================ */
.reveal {
  opacity:0; transform:translateY(16px);
  transition:opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* Stagger children */
.reveal-group > * {
  opacity:0; transform:translateY(12px);
  transition:opacity 0.55s ease, transform 0.55s ease;
}
.reveal-group.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-group.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
.reveal-group.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
.reveal-group.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
.reveal-group.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
.reveal-group.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }
.reveal-group.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.48s; }
.reveal-group.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.56s; }
.reveal-group.visible > *:nth-child(9) { opacity:1; transform:none; transition-delay:0.64s; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width:1100px) {
  .hero, .section, .dest-grid-view, .dest-detail-page, .legal-page { padding:5rem 3rem 4rem; }
  .commission-layout { grid-template-columns:1fr; }
  .commission-left { padding-right:0; border-right:none; padding-bottom:3rem; border-bottom:0.5px solid var(--gold-faint); }
  .commission-right { padding-left:0; padding-top:3rem; }
  .dest-tiles { grid-template-columns:repeat(2,1fr); }
  .footer { padding:2rem 3rem; }
}

@media (max-width:768px) {
  :root { --sidebar-w:85vw; }
  .hero, .section, .dest-grid-view, .dest-detail-page, .legal-page { padding:5rem 1.75rem 3rem; }
  .hero-stats { flex-direction:column; gap:1.5rem; }
  .hero-stat { border-right:none; padding-right:0; border-bottom:0.5px solid var(--gold-faint); padding-bottom:1.5rem; margin-right:0; }
  .hero-stat:last-child { border-bottom:none; padding-bottom:0; }
  .dest-tiles { grid-template-columns:1fr 1fr; }
  .dest-meta-grid { grid-template-columns:1fr 1fr; }
  .dest-meta-item:nth-child(2n) { border-right:none; }
  .pillars { grid-template-columns:1fr; }
  .standard-grid { grid-template-columns:1fr 1fr; }
  .standard-item:nth-child(3n) { border-right:0.5px solid var(--gold-faint); }
  .standard-item:nth-child(2n) { border-right:none; }
  .journal-grid { grid-template-columns:1fr; }
  .journal-entry { border-right:none; border-bottom:0.5px solid var(--gold-faint); }
  .form-row { grid-template-columns:1fr; gap:0; }
  .footer { padding:2rem 1.75rem; }
  .footer-top { flex-direction:column; gap:1.25rem; text-align:center; }
  .footer-bottom { flex-direction:column; gap:0.75rem; text-align:center; }
  .footer-links { justify-content:center; }
}

@media (max-width:480px) {
  .dest-tiles { grid-template-columns:1fr; }
  .standard-grid { grid-template-columns:1fr; }
  .standard-item { border-right:none; }
}

@media (max-width: 768px) {
  .section { padding-top: 5.5rem; }
  .dest-page-header { padding-top: 5.5rem; }
  .legal-page { padding-top: 5.5rem; }
}
/* ---- Safari iOS Safe Area + Fixed Header Fix ---- */
@supports (-webkit-touch-callout: none) {
  
  /* Pushes ALL page content below the hamburger on Safari iOS */
  .page.active {
    padding-top: 80px;
  }

  /* But home page hero already has enough top padding — reset it */
  #page-home .hero {
    padding-top: 7rem;
  }
  #page-home.page.active {
    padding-top: 0;
  }

  /* Sidebar full height on Safari */
  .sidebar {
    height: -webkit-fill-available;
  }

  /* White bar fix — body background bleeds on Safari */
  body {
    background: #0D1B2A;
    min-height: -webkit-fill-available;
  }

  html {
    background: #0D1B2A;
  }
}
/* ---- Android Chrome 360px viewport fix ---- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 480px) {

  /* Hero */
  .hero {
    padding: 5.5rem 1.25rem 3rem;
  }

  .hero-ghost {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0;
  }

  .hero-stat {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 0.5px solid var(--gold-faint);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .hero-stat:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Sections */
  .section {
    padding: 5rem 1.25rem 2.5rem;
  }

  .dest-page-header {
    padding: 5rem 1.25rem 2rem;
  }

  .legal-page {
    padding: 5rem 1.25rem 3rem;
  }

  /* Grids — force single column */
  .standard-grid {
    grid-template-columns: 1fr;
  }

  .standard-item {
    border-right: none;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-entry {
    border-right: none;
    border-bottom: 0.5px solid var(--gold-faint);
  }

  /* Commission form */
  .commission-layout {
    grid-template-columns: 1fr;
  }

  .commission-left {
    padding-right: 0;
    border-right: none;
    padding-bottom: 2.5rem;
    border-bottom: 0.5px solid var(--gold-faint);
  }

  .commission-right {
    padding-left: 0;
    padding-top: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .footer {
    padding: 1.75rem 1.25rem;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Sidebar */
  :root {
    --sb-w: 92vw;
  }

  /* Modal */
  .modal-body {
    padding: 1.75rem 1.25rem;
  }

  .modal-meta {
    grid-template-columns: 1fr;
  }

  .modal-meta-item {
    border-right: none;
    border-bottom: 0.5px solid var(--gold-faint);
  }

  .modal-meta-item:last-child {
    border-bottom: none;
  }

  /* Destination tiles */
  .dest-tiles-grid {
    grid-template-columns: 1fr;
  }

  .dest-tile {
    border-right: none;
    border-bottom: 0.5px solid var(--gold-faint);
  }
}
@media (max-width: 480px) {
  .hero-logo-mark {
    font-size: clamp(36px, 11vw, 58px);
    letter-spacing: 0.2em;
  }
}
/* ============================================================
   DESTINATION HERO GALLERY — Vertical Parallax (Immersive)
============================================================ */
.dest-hero-gallery {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--navy);
  overflow: hidden;
}
.dest-hero-gallery .dgh-panel {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.dest-hero-gallery .dgh-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13,27,42,0.55) 0%,
      rgba(13,27,42,0.10) 35%,
      rgba(13,27,42,0.20) 65%,
      rgba(13,27,42,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.dest-hero-gallery .dgh-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 50%, rgba(13,27,42,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.dest-hero-gallery .dgh-caption {
  position: relative;
  z-index: 2;
  padding: 0 8vw 4.5rem 8vw;
  max-width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.dest-hero-gallery .dgh-panel.in-view .dgh-caption {
  opacity: 1;
  transform: translateY(0);
}
.dgh-eyebrow {
  font-size: 8px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.dgh-eyebrow::before {
  content: "";
  width: 32px;
  height: 0.5px;
  background: var(--gold);
  display: inline-block;
}
.dgh-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.05;
  color: var(--ivory);
  margin: 0;
  max-width: 18ch;
  letter-spacing: -0.005em;
}
.dgh-headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.dgh-counter {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  z-index: 3;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--ivory-60);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.dgh-counter .dgh-counter-num {
  color: var(--gold);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.2em;
  margin-right: 0.6rem;
}
/* Scroll indicator on first panel */
.dgh-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 8px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ivory-60);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: dghBob 2.6s ease-in-out infinite;
  pointer-events: none;
}
.dgh-scroll-hint .dgh-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--gold));
}
@keyframes dghBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
/* Subtle ken-burns via background-size (works with fixed attachment fallback) */
.dest-hero-gallery .dgh-panel {
  background-size: 110% auto;
  transition: background-size 8s ease-out;
}
.dest-hero-gallery .dgh-panel.in-view {
  background-size: 118% auto;
}
@media (max-width: 900px) {
  .dest-hero-gallery .dgh-panel,
  .dest-hero-gallery .dgh-panel.in-view {
    background-size: cover;
  }
/* Bottom seam fade into the dark content */
.dest-hero-gallery::after {
  content: "";
  display: block;
  height: 80px;
  width: 100%;
  background: linear-gradient(180deg, rgba(13,27,42,0) 0%, var(--navy) 100%);
  margin-top: -80px;
  position: relative;
  z-index: 4;
  pointer-events: none;
}
/* Mobile — disable fixed-attachment (iOS Safari bug) */
@media (max-width: 900px) {
  .dest-hero-gallery .dgh-panel {
    background-attachment: scroll;
    height: 72vh;
    min-height: 440px;
  }
  .dest-hero-gallery .dgh-caption {
    padding: 0 6vw 3rem 6vw;
  }
  .dgh-counter { top: 1.2rem; right: 1.2rem; }
}
@media (max-width: 480px) {
  .dest-hero-gallery .dgh-panel {
    height: 64vh;
    min-height: 380px;
  }
}