/* Goodnight Trail — landing page
   Light sunset theme drawn from the brand sticker:
   sky blue, sunset orange, golden sand, navy mountains, gold moon */

:root {
  --cream: #fffaf0;
  --sand: #fdeecd;
  --sky: #cfe8f7;
  --sky-deep: #9fd0ee;
  --sunset: #d95b25;
  --sunset-deep: #b5461a;
  --gold: #f2b13c;
  --navy: #23446e;
  --navy-deep: #17304f;
  --ink: #2c3a4d;
  --ink-soft: #5d6b7d;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(35, 68, 110, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
}

h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

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

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sunset);
  margin-bottom: 10px;
}

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(20px, 5vw, 48px);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(35, 68, 110, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img { border-radius: 50%; }

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--sunset);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 70% 110%, rgba(242, 177, 60, 0.5), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, #e8f4fb 45%, var(--sand) 100%);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px) 110px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}

.hero h1 em {
  color: var(--sunset);
  font-style: italic;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.lede strong { color: var(--navy); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-art img {
  width: min(360px, 80vw);
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(181, 70, 26, 0.25);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.hero-art img:hover { transform: rotate(0deg) scale(1.02); }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn svg { width: 20px; height: 20px; }

.btn-primary {
  background: var(--sunset);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 91, 37, 0.35);
}

.btn-primary:hover {
  background: var(--sunset-deep);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ============ Stats strip ============ */

.stats {
  max-width: 900px;
  margin: -64px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(35, 68, 110, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat {
  background: #fff;
  padding: 22px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--sunset);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ============ Sections ============ */

.section {
  padding: clamp(56px, 9vw, 96px) clamp(20px, 5vw, 48px);
}

.section-warm {
  background: linear-gradient(180deg, var(--cream), var(--sand));
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(32px, 5vw, 52px);
}

.section-sub {
  margin-top: 12px;
  color: var(--ink-soft);
}

/* ============ About ============ */

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about h2 { margin-bottom: 18px; }

.about p + p { margin-top: 14px; }

.about p { color: var(--ink-soft); }

.about p strong { color: var(--navy); }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sunset) !important;
  margin-top: 18px !important;
}

.about-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(35, 68, 110, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(35, 68, 110, 0.06);
}

.about-highlights li span { font-size: 1.4rem; }

/* ============ Adventure cards ============ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid rgba(35, 68, 110, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(35, 68, 110, 0.16);
}

.card-emoji { font-size: 2.2rem; }

.card h3 { font-size: 1.25rem; }

.card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex-grow: 1;
}

.card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ Crew ============ */

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.crew-card {
  text-align: center;
  background: linear-gradient(180deg, #fff, var(--cream));
  border: 1px solid rgba(35, 68, 110, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.crew-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  font-size: 2rem;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--gold);
  margin-bottom: 14px;
}

.crew-role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sunset);
  margin: 4px 0 10px;
}

.crew-card p:last-child {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ============ Callout ============ */

.callout {
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px);
}

.callout-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--navy);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 20px 50px rgba(23, 48, 79, 0.3);
}

.callout-inner h2,
.callout-inner p { color: var(--cream); }

.callout-inner .eyebrow { color: var(--gold); }

.callout-inner p { max-width: 52ch; opacity: 0.85; }

.callout-inner .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(242, 177, 60, 0.35);
}

.callout-inner .btn-primary:hover { background: #e0a02e; }

/* ============ Follow / socials ============ */

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(35, 68, 110, 0.08);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(35, 68, 110, 0.16);
}

.social-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.social-icon svg { width: 26px; height: 26px; }

.social-icon.youtube   { background: #fde8e8; color: #e02f2f; }
.social-icon.instagram { background: #fce7f1; color: #d62976; }
.social-icon.tiktok    { background: #e6f7f8; color: #0e1a1b; }
.social-icon.facebook  { background: #e7f0fd; color: #1877f2; }

.social-name { font-weight: 700; color: var(--navy); }

.social-handle { font-size: 0.85rem; color: var(--ink-soft); }

/* ============ Footer ============ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 250, 240, 0.85);
  text-align: center;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-footer img { border-radius: 50%; }

.footer-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  max-width: 40ch;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============ Reveal on scroll ============ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ============ Mobile ============ */

@media (max-width: 800px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-art { order: -1; }

  .hero-art img { width: min(240px, 60vw); }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin: -48px 20px 0;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(35, 68, 110, 0.1);
    padding: 8px 20px 16px;
    display: none;
  }

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

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(35, 68, 110, 0.06);
  }

  .callout-inner { justify-content: center; text-align: center; }
}
