:root {
  --ink: #20231f;
  --charcoal: #30342e;
  --orange: #e86b2d;
  --rust: #ad4c2a;
  --sand: #f2e8d5;
  --cream: #fbf7ef;
  --sage: #778e72;
  --pale-sage: #dce5d9;
  --blue: #486679;
  --gold: #d8a441;
  --white: #fffefa;
  --muted: #626b62;
  --line: #d8cfbf;
  --shadow: 0 20px 60px rgba(32, 35, 31, .13);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(216, 164, 65, .14), transparent 26rem),
    linear-gradient(180deg, var(--cream), #f6efe2);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  color: #fff;
  background: rgba(32, 35, 31, .95);
  backdrop-filter: blur(18px);
  border-bottom: 4px solid var(--orange);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .03em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: rgba(255,255,255,.83);
  text-decoration: none;
  font-weight: 700;
  font-size: .93rem;
}

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

.hero {
  min-height: 690px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 23, 20, .92) 0%, rgba(21, 23, 20, .72) 43%, rgba(21, 23, 20, .1) 75%),
    linear-gradient(0deg, rgba(21, 23, 20, .9), transparent 45%),
    url("./images/img_01_basecamp_hero.webp") center/cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 120px 0 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.025em;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 { font-size: clamp(2rem, 5vw, 3.8rem); }

h3 { font-size: 1.35rem; }

.hero-copy {
  max-width: 680px;
  margin: 22px 0 30px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.button.orange {
  border-color: var(--orange);
  background: var(--orange);
}

.button.outline {
  border-color: currentColor;
  background: transparent;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.stats {
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  min-height: 150px;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.stat:nth-child(2) { background: var(--orange); }
.stat:nth-child(3) { background: var(--sage); }

.stat strong {
  display: block;
  font-size: 2.5rem;
}

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

.card {
  overflow: hidden;
  border: 1px solid rgba(32,35,31,.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(32,35,31,.08);
}

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

.card-body { padding: 22px; }

.card-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  color: #fff;
  background: var(--ink);
}

.band .section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.band .section p { color: rgba(255,255,255,.76); }

.band img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.check {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}

.notice {
  padding: 24px;
  border-left: 6px solid var(--orange);
  border-radius: 12px;
  background: var(--sand);
}

.notice strong { display: block; margin-bottom: 6px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(32,35,31,.08);
}

.contact-card.dark {
  color: #fff;
  background: var(--ink);
}

.contact-card p { color: var(--muted); }
.contact-card.dark p { color: rgba(255,255,255,.76); }

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: auto;
  padding: 80px 0;
}

.legal-hero {
  padding: 42px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(32,35,31,.95), rgba(32,35,31,.6)),
    url("./images/img_06_buddy_trail_plan.webp") center/cover;
}

.legal-meta {
  margin-top: 16px;
  color: rgba(255,255,255,.72);
}

.toc {
  margin: 30px 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--sand);
}

.toc ol {
  columns: 2;
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.legal-section li { margin: 7px 0; }

footer {
  color: rgba(255,255,255,.76);
  background: var(--ink);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

footer h3 { color: #fff; }

footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.small { font-size: .88rem; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .hero { min-height: 610px; }
  .stats, .cards, .contact-grid, .band .section, .footer-inner { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .section { padding: 64px 0; }
  .legal-hero { padding: 28px; }
}
