/* ========== BRAVE OUTDOORS ========== */
/* Brand: Eastern Sierra granite + Mojave sand + veteran gold */

:root {
  --navy: #1a2332;
  --navy-deep: #0f1620;
  --sand: #c4a484;
  --sand-light: #e8d5b7;
  --sage: #6b8e6b;
  --granite: #4a5568;
  --gold: #d4a017;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text: #1a2332;
  --muted: #5a6577;
  --radius: 8px;
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background .3s, box-shadow .3s;
}

.site-header.scrolled {
  background: rgba(15, 22, 32, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--white);
}

.logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .08em;
}

.logo-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .28em;
  color: var(--sand);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: rgba(255,255,255,.88);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: color .2s;
}

.main-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: .5rem 1.1rem !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--sand-light) !important;
  color: var(--navy-deep) !important;
}

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

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

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, #1a2332 0%, #2c3e50 35%, #3d5a4c 70%, #5c4a32 100%);
  background-size: cover;
  z-index: 0;
}

/* Stylized mountain silhouette via CSS */
.hero-bg::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background:
    linear-gradient(to top, rgba(15,22,32,.9) 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath fill='%230f1620' d='M0 400 L0 220 L80 160 L160 200 L280 80 L360 140 L480 40 L560 100 L680 20 L760 90 L880 50 L960 120 L1080 60 L1200 140 L1200 400 Z'/%3E%3Cpath fill='%231a2332' opacity='.85' d='M0 400 L0 280 L100 220 L200 260 L320 160 L420 210 L550 100 L650 170 L800 90 L920 160 L1050 110 L1200 180 L1200 400 Z'/%3E%3C/svg%3E") no-repeat bottom center / 100% 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(15,22,32,.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: .9rem;
  color: var(--sand);
  letter-spacing: .04em;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--sand-light);
  border-color: var(--sand-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-lg {
  padding: .9rem 1.75rem;
  font-size: 1.05rem;
}

/* ========== SECTIONS COMMON ========== */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .5rem;
}

.section-eyebrow.light { color: var(--gold); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .75rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.15;
}

/* ========== MISSION ========== */
.mission {
  padding: 5rem 0;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.mission-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.mission-text p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.mission-points {
  margin-top: 1.75rem;
  display: grid;
  gap: .65rem;
}

.mission-points li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  color: var(--navy);
}

.mission-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
}

.mission-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mission-card {
  background: var(--navy);
  color: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
}

.mission-card-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: .6rem;
}

.mission-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: .5rem;
  letter-spacing: .03em;
}

.mission-card p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}

/* ========== ADVENTURES ========== */
.adventures {
  padding: 5rem 0;
  background: var(--cream);
}

.adventure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.adventure-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26,35,50,.06);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(26,35,50,.06);
}

.adventure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26,35,50,.1);
}

.adventure-icon {
  width: 48px;
  height: 48px;
  color: var(--sage);
  margin-bottom: 1rem;
}

.adventure-icon svg {
  width: 100%;
  height: 100%;
}

.adventure-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .04em;
  margin-bottom: .5rem;
  color: var(--navy);
}

.adventure-card p {
  color: var(--muted);
  font-size: .95rem;
}

/* ========== TRIPS ========== */
.trips {
  padding: 4.5rem 0;
  background: var(--navy);
  color: var(--white);
}

.trips-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.trips h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.trips p {
  color: rgba(255,255,255,.8);
  margin-bottom: .75rem;
}

.trips-note {
  color: var(--sand) !important;
  font-size: .95rem;
}

.trips-cta {
  text-align: center;
}

.trips-location {
  margin-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ========== LOCATION ========== */
.location {
  padding: 5rem 0;
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: .25rem;
}

.location-zip {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.location p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.location-list {
  display: grid;
  gap: .7rem;
}

.location-list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--navy);
  font-size: .98rem;
}

.location-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: .85rem;
}

.location-map {
  background: linear-gradient(145deg, #1a2332 0%, #2d3a4a 50%, #3d4f3a 100%);
  border-radius: 16px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.location-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cpath fill='none' stroke='%23c4a484' stroke-width='1' opacity='.25' d='M0 200 Q100 150 200 180 T400 160'/%3E%3Cpath fill='none' stroke='%236b8e6b' stroke-width='1' opacity='.2' d='M0 220 Q150 190 300 210 T400 200'/%3E%3C/svg%3E") center/cover;
}

.map-placeholder {
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.map-pin { font-size: 2.5rem; margin-bottom: .5rem; }

.map-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .08em;
}

.map-sub {
  color: var(--sand);
  font-size: .95rem;
  margin: .25rem 0 .5rem;
}

.map-coords {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}

/* ========== JOIN / FORM ========== */
.join {
  padding: 5rem 0;
  background: var(--navy-deep);
  color: var(--white);
}

.join-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.join-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.join-text p {
  color: rgba(255,255,255,.75);
}

.join-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.75rem;
}

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

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sand);
  margin-bottom: .35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem .9rem;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  transition: border .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c4a484' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2rem;
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}

.check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.form-note {
  margin-top: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0a0f16;
  color: rgba(255,255,255,.65);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin-top: .75rem;
  font-size: .9rem;
  max-width: 280px;
}

.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: var(--sand); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  font-size: .95rem;
  transition: color .2s;
}

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

.footer-meta p { font-size: .9rem; margin-bottom: .35rem; }
.footer-copy { color: rgba(255,255,255,.4); font-size: .8rem !important; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .mission-grid,
  .location-grid,
  .trips-inner,
  .join-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
    text-align: left;
  }

  .main-nav .nav-cta {
    margin-top: .75rem;
    text-align: center !important;
  }

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

  .form-row,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p { max-width: none; }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 420px) {
  .container { padding: 0 1rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .join-form { padding: 1.25rem; }
}
