/* ============================================================
   Colletta & Co. — Design System
   collettaandco.com
   ============================================================ */

/* ── Brand font — Epic Ride ──────────────────────────────── */
/* File: /fonts/EpicRide.ttf — copy from:
   "Colletta & Co./Email Signature/Epic Ride.ttf"           */
@font-face {
  font-family: 'Epic Ride';
  src: url('/fonts/EpicRide.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --cream:       #F7F2EE;
  --cream-dark:  #EDE6DF;
  --coral:       #F7775E;
  --coral-dark:  #e05e46;
  --ink:         #2A2725;
  --ink-mid:     #444444;
  --ink-light:   #6b6b6b;
  --white:       #FFFFFF;
  --border:      #E0D8D0;

  --font-sans:   'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:  'Lora', 'Georgia', 'Times New Roman', serif;
  --font-display: 'Epic Ride', 'Georgia', serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(218,203,192,0.30);
  --shadow-md:   0 4px 20px rgba(218,203,192,0.38);
  --shadow-lg:   0 8px 36px rgba(218,203,192,0.42);
  --shadow-hover: 0 12px 40px rgba(218,203,192,0.45);

  --coral-light: #fde8e3;
  --cream-warm:  #f0ebe6;
  --green:       #22c55e;
  --red:         #d44;
  --error-bg:    #fef2f2;
  --error-border:#fca5a5;
  --error-text:  #b91c1c;

  /* Social brand colors */
  --social-instagram: #F74486;
  --social-facebook:  #1877F2;
  --social-linkedin:  #0A66C2;

  /* Icon swatch backgrounds */
  --swatch-coral-bg:  #fde8e3;
  --swatch-amber-bg:  #fef3c7;
  --swatch-blue-bg:   #dbeafe;
  --swatch-purple-bg: #ede9fe;
  --swatch-green-bg:  #dcfce7;
  --swatch-teal-bg:   #ccfbf1;

  --max-w:       1140px;
  --nav-h:       68px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  overflow-x: hidden;
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Epic Ride display font usage ────────────────────────── */
/* Single source of truth for every element using Epic Ride.
   Add new selectors here — never redeclare in inline styles. */
.hero-text h1,
.page-hero h1,
.destinations-section h2,
.destination-name,
.lost-inner h1,
.carousel-heading,
.form-success__heading,
.policy-tl-dr strong,
.font-display {
  font-family: var(--font-display);
  font-weight: normal;
  letter-spacing: 0.01em;
}

/* ── Epic Ride decorative emdash ─────────────────────────── */
/* Use flanking or trailing emdashes on Epic Ride headings.
   HTML: <span class="epic-emdash">&mdash;</span>
   Renders in sans-serif at weight 300 so it complements
   rather than competes with the display font.
   Color inherits from context (coral on destinations grid,
   ink on homepage stats, etc.) — override with a class. */
.epic-emdash {
  font-weight: 300;
  font-family: var(--font-sans);
}

/* ── Epic Ride size tiers ────────────────────────────────── */
/* h1: clamp(2.9rem, 6vw, 4.5rem) — page titles, hero headings
   h2: clamp(2.4rem, 5vw, 3.9rem) — section titles
   h3: 3rem                       — card headings, labels
   Decorative/small uses get 0.04em letter-spacing to breathe. */

/* h3-tier elements */
.destination-name,
.carousel-heading,
.form-success__heading,
.policy-tl-dr strong {
  font-size: 3rem;
  letter-spacing: 0.04em;
}

/* ── Page hero — universal inner-page hero ──────────────── */
/* One pattern for all inner pages (about, blog, destinations,
   contact, shop). Homepage hero is a special layout.         */
.page-hero {
  background: var(--white);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  color: var(--ink);
}
.page-hero h1 {
  font-size: clamp(2.9rem, 6vw, 4.5rem);
  margin-bottom: 0.75rem;
}
.page-hero .lead {
  color: var(--ink-mid);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero .eyebrow {
  margin-bottom: 0.5rem;
}

/* ── Filter pills — universal category/filter pills ──────── */
/* Used inside .page-hero on blog + destinations.              */
.filter-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.filter-pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--ink-mid);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  text-decoration: none;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-mid);
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
  display: block;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section--sm  { padding: 3.5rem 0; }
.section--lg  { padding: 8rem 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark  { background: var(--cream-dark); color: var(--ink); }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active { color: var(--coral); }



/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a  {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--coral);
  border-color: var(--coral);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--coral);
  text-decoration: none;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--coral);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-light:hover {
  background: var(--coral-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-light svg {
  width: 16px;
  height: 16px;
}

/* ── Post cards (shared: blog archive, destination pages) ── */
.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.post-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-dark);
  min-height: 180px;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.post-card:hover .post-card-img img {
  transform: scale(1.06);
}

.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  text-decoration: none;
}

.post-card:hover .post-card-title { color: var(--coral); }

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.post-card-meta {
  font-size: 0.78rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
}

.post-card-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Search modal ──────────────────────────────────────── */
body.search-open {
  overflow-y: scroll;
  position: fixed;
  width: 100%;
}

.search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 39, 37, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.search-backdrop.open { opacity: 1; visibility: visible; }

.search-modal {
  position: fixed;
  top: 15vh;
  left: 50%;
  transform: translateX(-50%) scale(0.96);
  width: 92vw;
  max-width: 640px;
  max-height: 70vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  z-index: 201;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}

.search-modal.open { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

.search-modal-header { padding: 0; flex-shrink: 0; }

.search-input-wrap { position: relative; border-bottom: 1px solid var(--border); }

.search-input-wrap svg {
  position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-light); pointer-events: none;
}

#searchInput {
  width: 100%; padding: 1.1rem 3rem 1.1rem 3.25rem;
  font-family: var(--font-sans); font-size: 1.05rem;
  border: none; background: transparent; color: var(--ink); outline: none;
}

#searchInput::placeholder { color: var(--ink-light); }

.search-modal .modal-close {
  position: absolute; top: 0.7rem; right: 0.7rem; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: var(--cream); color: var(--ink-light);
  font-size: 1.1rem; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s, color 0.2s; z-index: 2;
}

.search-modal .modal-close:hover { background: var(--cream-dark); color: var(--ink); }

.search-modal .filter-pills {
  justify-content: flex-start; margin: 0; padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--border); gap: 0.4rem;
}

.search-modal .filter-pill { padding: 0.3rem 0.85rem; font-size: 0.78rem; }

.search-results-count {
  padding: 0.6rem 1.25rem; font-size: 0.75rem; color: var(--ink-light);
  font-weight: 600; flex-shrink: 0; min-height: 0;
}

.search-results-count:empty { display: none; }

.search-results { flex: 1; overflow-y: auto; padding: 0; }

.search-result-item {
  display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1.25rem;
  text-decoration: none; color: inherit; border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cream); text-decoration: none; }

.search-result-thumb {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0; background: var(--cream-dark);
}

.search-result-body { flex: 1; min-width: 0; }

.search-result-title {
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.search-result-item:hover .search-result-title { color: var(--coral); }

.search-result-meta {
  font-size: 0.75rem; color: var(--ink-light); margin-top: 0.15rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.search-result-type {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral);
  background: var(--coral-light); padding: 0.15rem 0.45rem; border-radius: 3px;
  margin-right: 0.4rem; flex-shrink: 0;
}

.search-empty, .search-initial {
  text-align: center; padding: 2.5rem 1.5rem; color: var(--ink-light); font-size: 0.88rem;
}

.search-empty a { color: var(--coral); }

.search-hint {
  font-size: 0.68rem; color: var(--ink-light); text-align: center;
  padding: 0.5rem 1rem; flex-shrink: 0; border-top: 1px solid var(--border);
  background: var(--cream);
}

.search-hint kbd {
  display: inline-block; padding: 0.1rem 0.35rem; border: 1px solid var(--border);
  border-radius: 3px; font-family: var(--font-sans); font-size: 0.65rem; background: var(--white);
}

.search-trigger-btn {
  background: none; border: none; cursor: pointer; color: var(--ink-light);
  padding: 0.45rem; display: inline-flex; align-items: center; transition: color 0.2s;
  border-radius: var(--radius-full); border: 1.5px solid var(--border);
}

.search-trigger-btn:hover { color: var(--coral); border-color: var(--coral); }

.search-trigger-btn svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .search-modal { top: 5vh; max-height: 90vh; width: 96vw; border-radius: var(--radius-md); }
}

.btn-ghost {
  background: transparent;
  color: var(--ink-mid);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--coral);
  color: var(--coral);
  text-decoration: none;
}

/* ── Icon swatches — colored backgrounds for icon badges ── */
.icon--coral   { background: var(--swatch-coral-bg); color: var(--coral); }
.icon--amber   { background: var(--swatch-amber-bg); color: #d97706; }
.icon--blue    { background: var(--swatch-blue-bg); color: #3b82f6; }
.icon--purple  { background: var(--swatch-purple-bg); color: #7c3aed; }
.icon--green   { background: var(--swatch-green-bg); color: #16a34a; }
.icon--teal    { background: var(--swatch-teal-bg); color: #0d9488; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-img--square {
  aspect-ratio: 1 / 1;
}

.card-body {
  padding: 1.5rem;
}

/* card-tag — see refined version below */

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 1rem;
}

/* ── Grid helpers ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section--lg { padding: 4.5rem 0; }
}

/* ── Section headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--ink-mid); max-width: 560px; margin: 0 auto; }

/* ── Badge / pill ────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--cream-dark);
  color: var(--ink-mid);
}

.badge--coral { background: var(--coral-light); color: var(--coral); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--white);
  color: var(--ink);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 70px;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ── Latest Blog column ── */
.footer-latest { text-align: left; }

.footer-latest h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-latest-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.footer-latest-link:hover {
  text-decoration: none;
}

.footer-latest-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: saturate(0);
  transition: filter 0.3s ease;
  margin-bottom: 0.75rem;
}

.footer-latest-link:hover .footer-latest-img {
  filter: saturate(1);
}

.footer-latest-title {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.3;
  transition: color 0.2s;
}

.footer-latest-link:hover .footer-latest-title {
  color: var(--ink);
}

.footer-latest-title svg { transition: fill 0.2s; }
.footer-latest-link:hover .footer-latest-title svg { fill: #BF0F23; }

/* ── Quick Links two-column grid ── */
.footer-quicklinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.footer-logo img { height: 36px; margin-bottom: 1rem; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: calc(0.75rem + 5px);
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-social-link:hover { text-decoration: none; }
.footer-social-link[aria-label="Instagram"]:hover { color: var(--social-instagram); }
.footer-social-link[aria-label="Facebook"]:hover { color: var(--social-facebook); }
.footer-social-link[aria-label="LinkedIn"]:hover { color: var(--social-linkedin); }
.footer-social-link[aria-label="Contact"]:hover { color: var(--ink-mid); }

.footer-social-link[aria-label="LinkedIn"] {
  margin: 0 2px;
}

.footer-social-link[aria-label="Contact"] {
  margin-left: 0.25rem;
}

.footer-col h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: var(--ink-mid);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--ink); text-decoration: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-light);
  background: var(--cream);
  /* Break out of .container to go full viewport width */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 1.25rem calc(50vw - 50%);
}

.footer-bottom a { color: var(--ink-light); }
.footer-bottom a:hover { color: var(--ink); text-decoration: none; }

.footer-hashtags {
  color: var(--coral);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-logo { display: flex; justify-content: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; max-width: 320px; }
  .footer-socials { justify-content: center; }
  .footer-col h3 { text-align: center; }
  .footer-col ul { display: flex; flex-direction: column; align-items: center; }
  .footer-quicklinks { text-align: center; }
  .footer-latest { text-align: center; }
  .footer-latest-img { max-width: 280px; margin-left: auto; margin-right: auto; }
  .footer-latest-title { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Location pill ───────────────────────────────────────── */
.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-mid);
  box-shadow: var(--shadow-sm);
}

.location-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Blog / Post styles ──────────────────────────────────── */
.post-content {
  max-width: 720px;
  margin: 0 auto;
}

.post-content h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.post-content h3 {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.post-content p  {
  margin-bottom: 1.5em;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--ink-mid);
}

.post-content blockquote {
  border-left: 3px solid var(--coral);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: var(--cream-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-mid);
  font-size: 1.1rem;
  line-height: 1.7;
}

.post-content ul, .post-content ol {
  margin: 0 0 1.5em 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--ink-mid);
}
.post-content li { margin-bottom: 0.5em; }

.post-hero {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
}

.post-header {
  margin-bottom: 2.5rem;
}

.post-header h1 { margin-bottom: 1rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-light);
}

.post-meta .sep { color: var(--border); }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-coral  { color: var(--coral); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ── Highlight link (coral background, white text) ─────────── */
.link-highlight {
  background: var(--coral);
  color: var(--white);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s;
}
.link-highlight:hover {
  background: var(--coral-dark);
  color: var(--white);
}

/* ── Skip link (a11y) ────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--coral);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── Newsletter / Contact Form ────────────────────────────── */
.newsletter {
  background: #fff url('/images/home/airstream-tile.jpg') center/cover no-repeat;
  padding: 5rem 0 4rem;
  text-align: center;
}

.newsletter h2 { color: var(--ink); margin-bottom: 0.75rem; }
.newsletter .lead { color: var(--ink-mid); margin-bottom: 2rem; }

.newsletter-form-area {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.newsletter-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* ── Form fields — static labels (default) ──────────────── */
/* Used by contact, checkout, and any standard form.
   Label sits above input. label → input HTML order.       */
.form-field {
  position: relative;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--coral); }

.form-field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.55;
}

.field-required { color: var(--coral); }

.form-field input.error,
.form-field select.error,
.form-field textarea.error { border-color: var(--red); }

.form-error {
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 0.25rem;
  display: none;
}
.form-field.has-error .form-error { display: block; }

/* Legacy error style (used by newsletter forms) */
.form-field__error {
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  margin-top: 0.2rem;
  min-height: 0;
  line-height: 1.3;
}
.form-field__error:empty { display: none; }

/* ── Form row — two-column grid ─────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.full { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Form fields — floating labels ──────────────────────── */
/* Used by newsletter signup forms only.
   Label floats up on focus. input → label HTML order.     */
.form-field--float input,
.form-field--float textarea {
  padding: 1.2rem 0.9rem 0.5rem;
  font-size: 0.88rem;
}

.form-field--float input::placeholder,
.form-field--float textarea::placeholder { color: transparent; }

.form-field--float label {
  position: absolute;
  top: 0.82rem;
  left: 0.9rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-light);
  margin-bottom: 0;
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
}

.form-field--float input:focus + label,
.form-field--float input:not(:placeholder-shown) + label,
.form-field--float textarea:focus + label,
.form-field--float textarea:not(:placeholder-shown) + label {
  top: 0.2rem;
  font-size: 0.6rem;
  color: var(--coral);
}

.form-status {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.4em;
  color: var(--ink-mid);
}

.form-status--error { color: var(--red); }

.newsletter-form-submit {
  display: flex;
  justify-content: center;
  margin-top: 0.3rem;
}

p.newsletter-fine,
.newsletter p.newsletter-fine,
.adventures-cta p.newsletter-fine {
  font-size: 0.78rem !important;
  color: var(--ink-light) !important;
  margin-top: 1rem;
  font-family: var(--font-sans) !important;
  font-style: normal;
  opacity: 1 !important;
  max-width: none;
}

.form-success[hidden] { display: none !important; }

.form-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.form-success__heading {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.form-success__body {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.form-success__body a {
  color: var(--coral);
  text-decoration: none;
}

@media (max-width: 640px) {
  .newsletter-form-row { grid-template-columns: 1fr; }
}

/* ── Scroll-reveal animations ────────────────────────────── */
@keyframes revealUp {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  will-change: opacity, transform;
}

.reveal.revealed {
  animation: revealUp 0.6s ease both;
}

.reveal-fade.revealed {
  animation: revealFade 0.8s ease both;
}

/* Stagger children */
.reveal-stagger .reveal:nth-child(1) { animation-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { animation-delay: 0.1s; }
.reveal-stagger .reveal:nth-child(3) { animation-delay: 0.2s; }
.reveal-stagger .reveal:nth-child(4) { animation-delay: 0.3s; }
.reveal-stagger .reveal:nth-child(5) { animation-delay: 0.4s; }
.reveal-stagger .reveal:nth-child(6) { animation-delay: 0.5s; }

/* ── Image hover effects ─────────────────────────────────── */
.card-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-img-wrap img {
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.card:hover .card-img-wrap img,
.destination-card:hover .card-img-wrap img,
.post-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

/* For destination / photo grids */
.photo-grid-item {
  overflow: hidden;
}

.photo-grid-item img {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.photo-grid-item:hover img {
  transform: scale(1.05);
}

/* ── Refined card-tag (Backpacker-inspired uppercase labels) ─ */
.card-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
  text-decoration: none;
}
a.card-tag:hover {
  text-decoration: underline;
}

/* post-meta — see refined version above */

/* ── Decorative section separator ────────────────────────── */
.section-sep {
  display: flex;
  justify-content: center;
  padding: 3.5rem 0;
}

.section-sep::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}

/* ── Author bio refinements ──────────────────────────────── */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 4rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.author-bio__avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--coral);
  flex-shrink: 0;
}

.author-bio__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio__name {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.author-bio__desc {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
}

/* Author avatar as image */
.post-meta__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* section spacing — see refined values above */

/* ── Link reset — remove decoration and inherit color ──── */
.link-reset { text-decoration: none; color: inherit; }
.link-reset:hover { text-decoration: none; color: inherit; }

/* ── Card link overlay (full-card clickable) ─────────────── */
.card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── Policy / legal pages ───────────────────────────────── */
/* Shared by privacy/index.html and legal/index.html        */
.policy-page { padding: 4rem 0 6rem; }
.policy-page .container { max-width: 720px; }

.policy-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.policy-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.policy-updated { font-size: 0.85rem; color: var(--ink-light); }

.policy-content h2 { font-size: 1.15rem; margin: 2.5rem 0 0.75rem; color: var(--ink); }
.policy-content h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; color: var(--ink); }
.policy-content p,
.policy-content li { color: var(--ink-mid); line-height: 1.75; margin-bottom: 0.85rem; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content a { color: var(--coral); }
.policy-content a:hover { text-decoration: underline; }

.policy-tl-dr {
  background: var(--cream);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.policy-tl-dr strong { display: block; margin-bottom: 0.5rem; color: var(--coral); }
.policy-tl-dr p { margin: 0; color: var(--ink-mid); }

/* ── Smooth page transitions ─────────────────────────────── */
a { transition: color 0.2s ease-out; }

/* btn transition — see refined value above */

/* card:hover — see refined version above */
