:root {
  --gold: #f5c800;
  --black: #1a1a1a;
  --gray: #4a4a4a;
  --light: #f8f7f2;
  --white: #ffffff;
  --accent: #c8392b;
  --font-body: 'Georgia', serif;
  --font-ui: system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
}

/* NAV */
nav {
  background: var(--black);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

nav .logo {
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

nav ul a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

nav ul a:hover, nav ul a.active {
  background: rgba(245,200,0,0.15);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(44,44,44,0.5) 100%);
  z-index: 1;
}

.hero-inner { z-index: 2; }

.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }

.hero-label {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

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

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.btn-primary { background: var(--gold); color: var(--black); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* SECTIONS */
section { padding: 4rem 2rem; }
section:nth-child(even) { background: var(--light); }

.container { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.card-img {
  height: 180px;
  background: #ddd;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

/* Section image blocks */
.section-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 2rem 0;
}

.img-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.img-two-col img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

@media (max-width: 640px) {
  .img-two-col { grid-template-columns: 1fr; }
}

.card-body { padding: 1.25rem; flex: 1; }
.card-tag {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.card-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card-body p { font-size: 0.9rem; color: var(--gray); }
.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* STAT BAR */
.stats-bar {
  background: var(--gold);
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-ui);
  color: var(--black);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.6);
  margin-top: 0.25rem;
}

/* FEATURED LISTING */
.listing {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.listing:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.listing-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-body h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.listing-body p { font-size: 0.9rem; color: var(--gray); margin-bottom: 0.5rem; }
.listing-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: #999;
  display: flex;
  gap: 1rem;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* PROSE */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--gray); }
.prose p { margin-bottom: 1.25rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

/* CLIMB STATS BOX */
.climb-stats {
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.climb-stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}

.climb-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-ui);
  color: var(--gold);
}

.climb-stat-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ROUTE CARD */
.route-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border-left: 4px solid var(--gold);
  margin-bottom: 1rem;
}

.route-card h3 { margin-bottom: 0.4rem; }
.route-meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}
.route-meta span::before { content: '· '; }
.route-meta span:first-child::before { content: ''; }

/* FOOTER */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo { color: var(--gold); font-weight: 700; font-size: 1rem; }
.footer-brand p { margin-top: 0.75rem; line-height: 1.6; }

footer h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.4rem; }
footer ul a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul { display: none; }
  nav ul.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--black); padding: 1rem; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
