* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1114;
  --bg-soft: #111a1f;
  --text: #f4f2ed;
  --muted: #a8b0b3;
  --accent: #2f91b5;
  --accent-light: #55b7d5;
  --line: rgba(255,255,255,.14);
  --max: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 13, 16, .78);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: .9rem;
}

.brand-mark {
  color: var(--accent-light);
  font-size: 1.08rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: .92rem;
}

.main-nav a {
  opacity: .82;
  transition: opacity .2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  background: white;
  margin: 6px 0;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center 47%;
  transform: scale(1.035);
  animation: heroZoom 16s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,11,.76) 0%, rgba(5,9,11,.38) 47%, rgba(5,9,11,.10) 72%),
    linear-gradient(0deg, rgba(5,9,11,.64) 0%, rgba(5,9,11,0) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 180px 0 12vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--accent-light);
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(4rem, 8.8vw, 8.6rem);
  line-height: .87;
  letter-spacing: -.065em;
  font-weight: 770;
}

.hero h1 span {
  font-weight: 300;
  color: #dfe4e5;
}

.hero-copy {
  max-width: 590px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.83);
  font-size: clamp(1.03rem, 1.4vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.05);
}

.scroll-cue {
  position: absolute;
  right: 5vw;
  bottom: 7vh;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-size: .64rem;
  letter-spacing: .2em;
  opacity: .8;
}

.scroll-cue i {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.55);
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 24px;
  background: white;
  animation: scrollLine 1.8s infinite ease-in-out;
}

@keyframes scrollLine {
  from { top: -24px; }
  to { top: 56px; }
}

.section {
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 130px 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10vw;
  align-items: start;
}

.manifesto h2,
.section-heading h2,
.cta-content h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.manifesto-copy {
  max-width: 530px;
  color: #c2c9cb;
  font-size: 1.15rem;
}

.manifesto-copy p + p {
  margin-top: 28px;
}

.image-break {
  height: min(78vh, 820px);
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,8,10,.55), transparent 60%);
}

.image-break-lakes {
  background-image: url("assets/lakes.webp");
}

.image-break-caption {
  position: absolute;
  z-index: 2;
  bottom: 5vw;
  left: 5vw;
  display: flex;
  flex-direction: column;
}

.image-break-caption span {
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  letter-spacing: .25em;
}

.image-break-caption strong {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: -.045em;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading > p {
  max-width: 470px;
  color: var(--muted);
  margin: 0;
}

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

.adventure-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: 4px;
  background: #172027;
}

.adventure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .75s cubic-bezier(.2,.75,.2,1);
}

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,7,9,.88), rgba(3,7,9,.05) 66%);
}

.card-content {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 28px;
}

.card-content span {
  color: var(--accent-light);
  font-size: .72rem;
  letter-spacing: .2em;
}

.card-content h3 {
  font-size: 2rem;
  margin: 8px 0 8px;
  letter-spacing: -.035em;
}

.card-content p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.quote-section {
  padding: 145px 5vw;
  background: #d8dcda;
  color: #111619;
}

.quote-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.quote-section .section-kicker {
  color: #2c6f86;
}

blockquote {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(2.8rem, 5.8vw, 6.3rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 690;
}

blockquote em {
  color: #2c7893;
  font-style: normal;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: repeat(2, 310px);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  min-height: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.gallery-large {
  grid-row: 1 / 3;
}

.cta-section {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  padding: 120px 5vw;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(4,8,10,.68), rgba(4,8,10,.82)),
    url("assets/rock.webp");
  background-size: cover;
  background-position: center;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.cta-content p:not(.section-kicker) {
  color: rgba(255,255,255,.74);
  margin: 28px 0;
  font-size: 1.1rem;
}

footer {
  min-height: 220px;
  padding: 55px 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

.footer-brand {
  color: var(--text);
}

.copyright {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1);
}

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

@media (max-width: 900px) {
  .site-header {
    height: 72px;
    padding: 0 22px;
  }

  .menu-toggle {
    display: block;
    z-index: 60;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    padding: 110px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    background: rgba(7,11,14,.97);
    transform: translateX(100%);
    transition: transform .32s ease;
    font-size: 1.55rem;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero-content {
    padding-bottom: 12vh;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 18vw, 6.4rem);
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5,9,11,.82) 0%, rgba(5,9,11,.26) 78%),
      linear-gradient(90deg, rgba(5,9,11,.5), rgba(5,9,11,.02));
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 90px 0;
  }

  .manifesto-grid,
  .section-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .adventure-card {
    min-height: 500px;
  }

  .image-break {
    min-height: 560px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 450px 300px 300px;
  }

  .gallery-large {
    grid-row: auto;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
  }

  .btn {
    width: 100%;
  }

  .hero-copy {
    max-width: 95%;
  }

  .gallery-grid {
    grid-template-rows: 320px 240px 240px;
  }
}
