/* Landing page — full-bleed art sections with smooth dark transitions,
   fixed glass nav, black pill CTAs, Press Start 2P throughout */

:root {
  --cream: #f4e7d0;
  --wood: #3a2731;
  --ink: #0d0d0d;
  --gold: #f3b340;
  --fade: #0c1710;          /* shared dark tone where sections blend */
  --radius: 14px;
  --font-pixel: 'Press Start 2P', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--fade);
  color: var(--cream);
  font-family: var(--font-pixel);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Shared ---------- */

.eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(16px, 2.4vw, 26px);
  line-height: 1.6;
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
  margin-bottom: 26px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 18px 36px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.btn-pill:active { transform: translateY(1px); }

/* Full-bleed sections share this base; gradients blend them into --fade
   at the top and bottom so one flows smoothly into the next */
.features,
.story,
.hero-full {
  position: relative;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.features::before,
.story::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(to bottom, var(--fade), transparent);
  pointer-events: none;
}

.hero-full::after,
.features::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to top, var(--fade), transparent);
  pointer-events: none;
}

/* Sections 2 & 3 match the hero's full-viewport height */
.features,
.story {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 110px 24px;
  text-align: center;
}

/* ---------- Fixed glass nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(24px, 4vw, 56px);
}

/* Progressive blur: strongest at the top edge, fading to none at the
   nav's bottom. Two masked backdrop layers approximate the gradient. */
.nav::before,
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.nav::before {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
}

.nav::after {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
}

.nav-logo img { height: 48px; }

.btn-outline {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: #fff;
  text-decoration: none;
  border: 3px solid #fff;
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.12s, color 0.12s;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero-full {
  min-height: 100vh;
  background-image: url('assets/landing/hero.png');
  display: flex;
  flex-direction: column;
}

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 10vh;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: clamp(300px, 36vw, 520px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
  margin-bottom: 28px;
}

.hero-tagline {
  font-size: clamp(10px, 1.3vw, 13px);
  color: #fff;
  text-shadow: 2px 2px 0 rgba(20, 40, 24, 0.75);
  margin-bottom: 36px;
}

/* ---------- Features ---------- */

.features {
  background-image: url('assets/landing/forest.png');
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}

.card {
  background: var(--cream);
  border: 6px solid var(--wood);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
  padding: 28px 24px;
}

.card h3 {
  font-size: 12px;
  line-height: 1.7;
  color: var(--wood);
  margin-bottom: 14px;
}

.card p {
  font-size: 9px;
  line-height: 2;
  color: #6d5440;
}

/* ---------- Story ---------- */

.story {
  background-image: url('assets/landing/camp.png');
}

.story-inner {
  max-width: 720px;
}

.story-copy {
  font-size: 10px;
  line-height: 2.2;
  color: rgba(244, 231, 208, 0.92);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
}

.story-copy em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- Footer ---------- */

.footer {
  background: #000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 8px;
  color: rgba(244, 231, 208, 0.65);
}

.footer a { color: var(--gold); }

.footer .x-link {
  display: inline-flex;
  color: rgba(244, 231, 208, 0.65);
  transition: color 0.12s;
}

.footer .x-link:hover { color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 110px 24px; }
  .nav-logo img { height: 38px; }
}
