:root {
  --spruce: #0e2b27;
  --spruce-2: #17453f;
  --snow: #f0f5f4;
  --ice: #dbe8e5;
  --ink: #10201e;
  --muted: #4c625e;
  --line: #bcd0cc;
  --glacier: #7fb5aa;
  --flare: #ff5a1f;
  --flare-dark: #e64712;
  --white: #ffffff;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--flare);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.95em 1.5em;
  background: var(--flare);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid var(--flare);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--flare-dark); border-color: var(--flare-dark); }

.btn-ghost { background: transparent; color: var(--snow); border-color: rgba(240, 245, 244, 0.55); }
.btn-ghost:hover { background: var(--snow); border-color: var(--snow); color: var(--ink); }

.btn-small { padding: 0.6em 1.05em; font-size: 0.9375rem; }

/* ---------- Altimeter ---------- */

.gauge-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: rgba(127, 181, 170, 0.28);
  z-index: 30;
}
.gauge-fill {
  display: block;
  width: 100%;
  height: 0;
  background: var(--flare);
}

.gauge-read {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 16px;
  background: var(--spruce);
  color: var(--snow);
  border: 1px solid rgba(127, 181, 170, 0.5);
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1.2;
  box-shadow: 0 8px 24px -8px rgba(14, 43, 39, 0.6);
}
.gauge-read strong {
  min-width: 4.4em;
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 75%;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.gauge-read span { color: var(--glacier); }

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

.hero {
  position: relative;
  background: var(--spruce) url("topo.svg") center / cover no-repeat;
  color: var(--snow);
  padding-bottom: clamp(72px, 12vw, 152px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.logo svg { color: var(--flare); }

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(240, 245, 244, 0.78);
  text-decoration: none;
}
.nav a:hover { color: var(--white); }

.hero-body { padding-top: clamp(56px, 10vw, 128px); }

h1 {
  max-width: 13em;
  font-size: clamp(2.75rem, 7.6vw, 6.5rem);
  font-weight: 850;
  font-stretch: 62%;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  max-width: 34em;
  margin: 32px 0 34px;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  color: rgba(240, 245, 244, 0.86);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 0.9375rem; color: var(--glacier); }

/* ---------- Sections ---------- */

.section { padding: clamp(60px, 9vw, 116px) 0; }
.section-ice { background: var(--ice); }

h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-stretch: 75%;
  line-height: 1;
  text-wrap: balance;
}
h2.wide { max-width: 16em; }

h3 { font-size: 1.3125rem; font-stretch: 90%; line-height: 1.2; }

.intro { max-width: 34em; margin: 22px 0 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* Why */

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 56px;
}
.trio > div { padding-left: 20px; border-left: 4px solid var(--spruce); }
.trio h3 { margin-bottom: 10px; }
.trio p { margin: 0; color: var(--muted); }

/* Route */

.route {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  position: relative;
}
.route::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 178px;
  width: 2px;
  background: var(--spruce);
  opacity: 0.35;
}

.route li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 60px;
  padding: 0 0 44px;
}
.route li:last-child { padding-bottom: 0; }
.route li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 172px;
  width: 14px;
  height: 14px;
  background: var(--ice);
  border: 3px solid var(--spruce);
  border-radius: 50%;
}

.alt {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 850;
  font-stretch: 62%;
  line-height: 1;
  text-align: right;
  color: var(--spruce);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.route h3 { margin-bottom: 8px; }
.route p { margin: 0; max-width: 38em; color: var(--muted); }

.route .summit::before { background: var(--flare); border-color: var(--flare); }
.route .summit .alt { color: var(--flare-dark); }

/* What's included */

.lists { display: grid; gap: 40px; }
.lists h3 { margin-bottom: 12px; }
.lists ul { list-style: none; margin: 0; padding: 0; }
.lists li {
  padding: 12px 0 12px 22px;
  position: relative;
  border-top: 1px solid var(--line);
}
.lists li:last-child { border-bottom: 1px solid var(--line); }
.lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 8px;
  height: 8px;
  background: var(--flare);
  transform: rotate(45deg);
}

/* CTA */

.cta {
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--spruce) url("topo.svg") left bottom / cover no-repeat;
  color: var(--snow);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.cta h2 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-stretch: 62%; text-transform: uppercase; }
.cta-copy p { margin: 24px 0 0; font-size: 1.1875rem; max-width: 30em; color: rgba(240, 245, 244, 0.86); }
.cta-copy .cta-mail { margin-top: 28px; font-size: 1rem; }
.cta-mail a { font-weight: 700; color: var(--white); }

.form-card {
  padding: clamp(22px, 3vw, 32px);
  background: var(--snow);
  color: var(--ink);
  border-radius: 10px;
}

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 6px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--spruce); }
.form-card .btn { width: 100%; }

/* Footer */

.site-footer { padding: 28px 0 84px; font-size: 0.9375rem; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* ---------- Legal page ---------- */

.legal { max-width: 720px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 {
  max-width: none;
  margin-bottom: 32px;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  color: var(--ink);
}
.legal h2 { font-size: 1.5rem; font-stretch: 85%; margin: 32px 0 8px; text-transform: none; }
.legal .todo { color: var(--muted); }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .gauge-fill { transition: height 0.12s linear; }
}

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

@media (max-width: 900px) {
  .nav { display: none; }
  .trio, .split, .cta-grid { grid-template-columns: 1fr; }
  .trio { margin-top: 40px; }
}

@media (max-width: 640px) {
  .route::before { left: 8px; }
  .route li { grid-template-columns: 1fr; gap: 6px; padding: 0 0 36px 36px; }
  .route li::before { left: 1px; }
  .alt { text-align: left; padding-top: 0; }
  .actions .btn { width: 100%; text-align: center; }
  .logo { font-size: 0.9375rem; white-space: nowrap; }
  .bar { gap: 12px; }
  .btn-small { white-space: nowrap; }
  .gauge-read { right: 14px; bottom: 14px; padding: 7px 13px; }
}
