@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --black: #0f1112;
  --graphite: #202426;
  --snow: #f3f0e8;
  --orange: #ff5a1f;
  --blue: #8dd7e8;
  --line: rgba(243, 240, 232, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--snow);
  font-family: 'IBM Plex Sans', sans-serif;
}

header {
  padding: 20px clamp(20px, 5vw, 70px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--orange);
  font-family: 'Archivo Black', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

header ul,
footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

header a,
footer a {
  color: inherit;
  text-decoration: none;
}

header a[aria-current='page'],
header nav a:hover {
  color: var(--blue);
}

.hero {
  min-height: 78vh;
  position: relative;
}

.hero img {
  width: 100%;
  height: 78vh;
  min-height: 620px;
  object-fit: cover;
  filter: brightness(0.58);
}

.hero-copy {
  width: min(1000px, calc(100% - 44px));
  position: absolute;
  left: clamp(22px, 6vw, 90px);
  bottom: clamp(42px, 8vw, 100px);
}

.coordinate {
  margin: 0 0 16px;
  color: var(--orange);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.hero-copy > p:last-child {
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.route-list,
.planner,
.expedition-story,
.ethic {
  width: min(1220px, calc(100% - 42px));
  margin: 100px auto;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2,
.planner h2,
.ethic h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
}

.routes {
  border-top: 1px solid var(--line);
}

.routes article {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.routes article > span,
.routes article > strong {
  color: var(--blue);
  font-family: 'IBM Plex Mono', monospace;
}

.routes h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.routes p {
  margin: 0;
  color: #b6c0c4;
}

.planner {
  padding: clamp(30px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  background: var(--graphite);
  border-radius: 28px;
}

.planner-copy > p {
  color: #b6c0c4;
  line-height: 1.75;
}

.conditions {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.conditions label {
  padding: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.conditions input {
  margin-right: 10px;
  accent-color: var(--orange);
}

.packing-output {
  padding: 30px;
  background: var(--snow);
  color: var(--black);
}

.packing-output > span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.packing-output ul {
  margin: 30px 0;
  padding-left: 20px;
}

.packing-output li {
  margin: 0 0 16px;
  line-height: 1.55;
}

#reset-planner {
  padding: 12px 18px;
  border: 0;
  background: var(--orange);
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.expedition-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.expedition-story article {
  padding: 34px;
  background: var(--black);
}

.expedition-story h2 {
  margin: 45px 0 20px;
  font-size: 2.6rem;
  line-height: 0.9;
}

.expedition-story p:not(.coordinate),
.ethic p:last-child {
  color: #b6c0c4;
  line-height: 1.8;
}

.ethic {
  max-width: 980px;
  text-align: center;
}

footer {
  padding: 38px;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 850px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  .planner,
  .expedition-story {
    grid-template-columns: 1fr;
  }

  .routes article {
    grid-template-columns: 55px 1fr;
  }

  .routes article > strong {
    grid-column: 2;
  }
}
