/* Outpost Travel — base styles for Journal and utility pages (v2).
   Extracted from index.html so new pages match the homepage exactly. */

/* =====================
       DESIGN TOKENS
    ===================== */
    :root {
      --cream:      #F6F1E8;
      --cream-mid:  #EDE4D4;
      --sand:       #DDD3BF;
      --navy:       #1C2533;
      --navy-mid:   #2A3347;
      --gold:       #B8956A;
      --gold-dark:  #a6824f;
      --text:       #1C2533;
      --text-mid:   #5C5248;
      --text-light: #9C8E82;
      --nav-h:      72px;
    }

    /* =====================
       RESET & BASE
    ===================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'Jost', sans-serif;
      background-color: var(--cream);
      color: var(--text);
      line-height: 1.7;
    }
    img { display: block; max-width: 100%; height: auto; }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }
    h1, h2, h3, h4 {
      font-family: 'Cormorant Garamond', serif;
      line-height: 1.15;
      font-weight: 400;
    }

    /* =====================
       SCROLL ANIMATIONS
    ===================== */
    [data-animate] {
      opacity: 0;
      transform: translateY(14px);
      transition: opacity 0.85s ease, transform 0.85s ease;
    }
    [data-animate].is-visible { opacity: 1; transform: translateY(0); }
    [data-animate].delay-1 { transition-delay: 0.12s; }
    [data-animate].delay-2 { transition-delay: 0.24s; }
    [data-animate].delay-3 { transition-delay: 0.36s; }
    [data-animate].fade-only {
      transform: none;
      transition: opacity 1s ease;
    }
    @media (prefers-reduced-motion: reduce) {
      [data-animate] { opacity: 1; transform: none; transition: none; }
      .marquee-track { animation: none; }
    }

    /* =====================
       SHARED HELPERS
    ===================== */
    .eyebrow {
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      font-size: 0.63rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 1rem;
    }
    .text-link {
      font-family: 'Jost', sans-serif;
      font-weight: 400;
      font-size: 0.84rem;
      letter-spacing: 0.04em;
      color: var(--gold);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: gap 0.2s ease, color 0.2s ease;
    }
    .text-link:hover { gap: 14px; color: var(--gold-dark); }
    .btn-gold {
      display: inline-block;
      background-color: var(--gold);
      color: var(--navy);
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      font-size: 0.82rem;
      letter-spacing: 0.07em;
      padding: 13px 28px;
      border-radius: 100px;
      transition: background-color 0.2s ease, transform 0.2s ease;
      white-space: nowrap;
    }
    .btn-gold:hover { background-color: var(--gold-dark); transform: translateY(-1px); }
    .btn-outline-light {
      display: inline-block;
      border: 1px solid rgba(246,241,232,0.38);
      color: rgba(246,241,232,0.88);
      font-family: 'Jost', sans-serif;
      font-weight: 400;
      font-size: 0.82rem;
      letter-spacing: 0.07em;
      padding: 13px 28px;
      border-radius: 100px;
      transition: border-color 0.2s ease, background-color 0.2s ease;
      white-space: nowrap;
    }
    .btn-outline-light:hover {
      border-color: rgba(246,241,232,0.8);
      background-color: rgba(246,241,232,0.08);
    }
    :focus-visible {
      outline: 2px solid var(--gold);
      outline-offset: 3px;
      border-radius: 2px;
    }

    /* =====================
       NAV — MASTHEAD 3-COLUMN
    ===================== */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      height: var(--nav-h);
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0 52px;
      background-color: transparent;
      transition: background-color 0.35s ease, box-shadow 0.35s ease;
    }
    .nav.nav--scrolled {
      background-color: var(--cream);
      box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    }
    .nav-left {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-left a {
      font-family: 'Jost', sans-serif;
      font-weight: 400;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      color: rgba(246,241,232,0.72);
      transition: color 0.2s ease;
    }
    .nav.nav--scrolled .nav-left a { color: var(--text-mid); }
    .nav-left a:hover { color: var(--gold); }
    .nav-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      line-height: 1;
      text-decoration: none;
      justify-self: center;
    }
    .nav-logo-outpost {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 400;
      font-size: 1.3rem;
      letter-spacing: 0.18em;
      color: var(--cream);
      transition: color 0.3s ease;
    }
    .nav.nav--scrolled .nav-logo-outpost { color: var(--text); }
    .nav-logo-travel {
      font-family: 'Jost', sans-serif;
      font-weight: 400;
      font-size: 0.84rem;
      letter-spacing: 0.4em;
      text-transform: uppercase;
      color: rgba(246,241,232,0.7);
      margin-top: 4px;
      transition: color 0.3s ease;
    }
    .nav.nav--scrolled .nav-logo-travel { color: var(--text-light); }
    .nav-right {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 20px;
    }
    .nav-wa {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: 'Jost', sans-serif;
      font-weight: 400;
      font-size: 0.72rem;
      letter-spacing: 0.04em;
      color: rgba(246,241,232,0.6);
      transition: color 0.2s ease;
      white-space: nowrap;
    }
    .nav-wa:hover { color: var(--gold); }
    .nav.nav--scrolled .nav-wa { color: var(--text-mid); }
    .nav-cta {
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      padding: 9px 20px;
      border-radius: 100px;
      background-color: var(--gold);
      color: var(--navy);
      transition: background-color 0.2s ease;
      white-space: nowrap;
    }
    .nav-cta:hover { background-color: var(--gold-dark); }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 1.5px;
      background-color: rgba(246,241,232,0.88);
      transition: background-color 0.3s ease;
    }
    .nav.nav--scrolled .hamburger span { background-color: var(--text); }

    /* =====================
       MOBILE NAV
    ===================== */
    .mobile-nav {
      position: fixed;
      inset: 0;
      background-color: var(--navy-mid);
      z-index: 2000;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .mobile-nav.open { opacity: 1; pointer-events: auto; }
    .mobile-nav a {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      font-weight: 300;
      color: rgba(246,241,232,0.82);
      letter-spacing: 0.06em;
      transition: color 0.2s ease;
    }
    .mobile-nav a:hover { color: var(--gold); }
    .mobile-nav-cta {
      margin-top: 8px;
      background-color: var(--gold) !important;
      color: var(--navy) !important;
      font-family: 'Jost', sans-serif !important;
      font-size: 0.85rem !important;
      padding: 13px 32px;
      border-radius: 100px;
    }
    .mobile-nav-close {
      position: absolute;
      top: 28px; right: 28px;
      font-size: 1.2rem;
      color: rgba(246,241,232,0.4);
      cursor: pointer;
      background: none; border: none;
      transition: color 0.2s ease;
    }
    .mobile-nav-close:hover { color: rgba(246,241,232,0.85); }

    /* =====================
       LEAD CAPTURE — FULL BLEED PARALLAX
    ===================== */
    .lead {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .lead-bg {
      position: absolute;
      inset: -10% 0;
      background-image: url('../images/amankora-gangtey-lodge.jpg');
      background-size: cover;
      background-position: center;
      will-change: transform;
    }
    .lead-overlay {
      position: absolute;
      inset: 0;
      background: rgba(18,24,36,0.64);
    }
    .lead-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 600px;
      padding: 88px 32px;
    }
    .lead-content .eyebrow {
      color: var(--gold);
      margin-bottom: 1.6rem;
    }
    .lead-content h2 {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
      font-weight: 300;
      color: var(--cream);
      margin-bottom: 16px;
    }
    .lead-sub {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.92rem;
      color: rgba(246,241,232,0.62);
      margin-bottom: 40px;
      line-height: 1.78;
    }
    .lead-ctas {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* =====================
       FOOTER
    ===================== */
    .footer {
      background-color: var(--navy);
      padding: 72px 52px 40px;
    }
    .footer-inner {
      max-width: 1100px;
      margin: 0 auto 48px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(246,241,232,0.07);
    }
    .footer-eyebrow {
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      font-size: 0.6rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 16px;
    }
    .footer-subscribe p {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.86rem;
      color: rgba(246,241,232,0.44);
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .footer-form {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .footer-form input {
      flex: 1;
      min-width: 180px;
      background: rgba(246,241,232,0.05);
      border: 1px solid rgba(246,241,232,0.1);
      border-radius: 100px;
      padding: 11px 20px;
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.82rem;
      color: var(--cream);
      outline: none;
      transition: border-color 0.2s ease;
    }
    .footer-form input::placeholder { color: rgba(246,241,232,0.24); }
    .footer-form input:focus { border-color: rgba(246,241,232,0.28); }
    .footer-form button {
      background-color: var(--gold);
      color: var(--navy);
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      font-size: 0.76rem;
      letter-spacing: 0.05em;
      padding: 11px 24px;
      border-radius: 100px;
      cursor: pointer;
      border: none;
      transition: background-color 0.2s ease;
      white-space: nowrap;
    }
    .footer-form button:hover { background-color: var(--gold-dark); }
    .footer-micro {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.67rem;
      color: rgba(246,241,232,0.2);
    }
    .footer-info {
      display: flex;
      flex-direction: column;
      gap: 24px;
      align-items: flex-end;
    }
    .footer-nav-inline {
      display: flex;
      gap: 24px;
      list-style: none;
      justify-content: flex-end;
      flex-wrap: wrap;
    }
    .footer-nav-inline a {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.78rem;
      letter-spacing: 0.04em;
      color: rgba(246,241,232,0.38);
      transition: color 0.2s ease;
    }
    .footer-nav-inline a:hover { color: var(--gold); }
    .footer-socials {
      display: flex;
      gap: 16px;
      align-items: center;
    }
    .footer-social-link {
      color: rgba(246,241,232,0.3);
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
    }
    .footer-social-link:hover { color: var(--gold); }
    .footer-email {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.84rem;
      letter-spacing: 0.02em;
      color: rgba(246,241,232,0.55);
      transition: color 0.2s ease;
    }
    .footer-email:hover { color: var(--gold); }
    .footer-affil,
    .footer-location {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.82rem;
      color: rgba(246,241,232,0.4);
      text-align: right;
      line-height: 1.7;
    }
    .footer-tagline {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 1rem;
      color: rgba(246,241,232,0.28);
    }
    .footer-bottom {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
    }
    .footer-bottom span,
    .footer-bottom a {
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 0.68rem;
      letter-spacing: 0.04em;
      color: rgba(246,241,232,0.2);
    }
    .footer-bottom a:hover { color: rgba(246,241,232,0.48); }


/* Solid nav for pages without a dark hero */
.nav.nav--solid { background-color: var(--cream); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav.nav--solid .nav-left a,
.nav.nav--solid .nav-wa { color: var(--text-mid); }
.nav.nav--solid .nav-logo-outpost { color: var(--text); }
.nav.nav--solid .nav-logo-travel { color: var(--text-light); }
.nav.nav--solid .hamburger span { background-color: var(--text); }
.nav-left a.active { color: var(--gold); }

@media (max-width: 1100px) {
  .nav { padding: 0 36px; }
  .footer { padding: 64px 40px 36px; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; grid-template-columns: auto 1fr auto; }
  .nav-left { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo { justify-self: start; }
  .lead-ctas { flex-direction: column; align-items: center; }
  .footer { padding: 56px 20px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-info { align-items: flex-start; }
  .footer-nav-inline { justify-content: flex-start; }
  .footer-affil, .footer-location { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
