:root {
  --ink: #14201d;
  --muted: #62736d;
  --paper: #f5f2e9;
  --snow: #fbfaf5;
  --line: #d9d8cc;
  --green: #103d35;
  --green-2: #2f675c;
  --orange: #c65f27;
  --blue: #dfe9e6;
  --shadow: 0 24px 80px rgba(20, 32, 29, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 61, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 61, 53, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 242, 233, 0.9);
  border-bottom: 1px solid rgba(20, 32, 29, 0.12);
  backdrop-filter: blur(16px);
}

.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  color: var(--snow);
  padding-top: 18px;
  background: linear-gradient(rgba(7, 22, 20, 0.68), rgba(7, 22, 20, 0));
  border-bottom: 0;
  backdrop-filter: none;
}

.home .nav {
  justify-content: flex-end;
}

.home .nav a {
  color: rgba(251, 250, 245, 0.84);
}

.home .nav a:first-child {
  color: var(--snow);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 8px;
}

.brand,
.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  color: inherit;
  text-decoration: none;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  color: currentColor;
  flex: 0 0 auto;
}

.brand-lockup {
  display: grid;
  gap: 3px;
  line-height: 0.96;
}

.brand-text {
  max-width: 160px;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a,
.site-footer a {
  color: rgba(20, 32, 29, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: end;
  padding: 110px clamp(30px, 5.4vw, 88px) 0;
  overflow: visible;
  background: #10211d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 17, 0.88) 0%, rgba(8, 20, 17, 0.55) 44%, rgba(8, 20, 17, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 20, 17, 0.84) 0%, rgba(8, 20, 17, 0.04) 44%),
    url("/images/alpine-hero.png") center 47% / cover;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(54vw, 760px);
  height: 360px;
  opacity: 0.22;
  background:
    repeating-radial-gradient(ellipse at 70% 28%, transparent 0 18px, rgba(251, 250, 245, 0.5) 19px 20px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1410px, 100%);
  margin: 0 auto;
  color: var(--snow);
}

.eyebrow,
.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: #d9e9df;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 620px;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(5.2rem, 7.4vw, 7.9rem);
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 520px;
  color: rgba(251, 250, 245, 0.82);
  font-size: clamp(1.06rem, 1.25vw, 1.34rem);
}

.finder {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(150px, 0.78fr)) 146px;
  gap: 0;
  align-items: stretch;
  margin: 48px 0 16px;
  padding: 0;
  overflow: hidden;
  background: rgba(14, 27, 25, 0.88);
  border: 1px solid rgba(251, 250, 245, 0.28);
  border-radius: 6px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.field label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.finder .field {
  padding: 12px 14px 13px;
  border-right: 1px solid rgba(251, 250, 245, 0.24);
}

.finder .field label {
  color: rgba(251, 250, 245, 0.5);
  height: 0;
  margin: 0;
  overflow: hidden;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.finder .field input,
.finder .field select {
  min-height: 38px;
  color: var(--snow);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(251, 250, 245, 0.24);
  border-radius: 2px;
}

.finder .field input::placeholder {
  color: rgba(251, 250, 245, 0.68);
}

.finder .field select option {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--snow);
  background: var(--green);
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.finder .btn {
  align-self: stretch;
  min-height: 100%;
  padding: 0 24px;
  background: var(--orange);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-finder-section {
  padding: 24px 30px 0;
  background: var(--snow);
}

.home-wide {
  width: min(1510px, 100%);
  margin: 0 auto;
}

.home-finder-section .section-head {
  margin-bottom: 10px;
}

.home-finder-section h2 {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-sort {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-atlas-grid {
  display: grid;
  grid-template-columns: 40.5% 1fr;
  gap: 24px;
  align-items: stretch;
}

.home-map-panel {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #d8e7e9;
  border-radius: 8px;
  border: 1px solid #cbd4d1;
}

.home-map-shape {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(216, 232, 234, 0.08), rgba(216, 232, 234, 0.08)),
    url("/images/nz-atlas-map.webp") center / cover no-repeat;
}

.home-map-shape::before {
  content: none;
}

.map-controls {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  display: grid;
  width: 30px;
  overflow: hidden;
  border: 1px solid #b8c1be;
  border-radius: 3px;
}

.map-controls span {
  display: grid;
  place-items: center;
  height: 30px;
  background: var(--snow);
  border-bottom: 1px solid #b8c1be;
  font-weight: 800;
}

.map-controls span:last-child {
  border-bottom: 0;
  font-size: 0.72rem;
}

.map-label {
  display: block;
  position: absolute;
  z-index: 2;
  padding: 8px 10px;
  color: var(--snow);
  background: rgba(44, 58, 33, 0.86);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-label small {
  font-size: 0.72rem;
  font-weight: 500;
}

.nelson { left: 40%; top: 11%; }
.west { left: 18%; top: 56%; }
.alps { right: 24%; top: 39%; }
.otago { right: 29%; bottom: 22%; }

.map-scale {
  position: absolute;
  left: 14px;
  bottom: 16px;
  z-index: 2;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
}

.map-scale::before {
  content: "";
  display: block;
  width: 126px;
  height: 6px;
  margin-bottom: 4px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.map-full {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(251, 250, 245, 0.88);
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-routes {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.home-routes > .mono {
  margin: 4px 0 12px;
  color: var(--ink);
}

.home-route-row {
  display: grid;
  grid-template-columns: 150px minmax(190px, 1.5fr) repeat(4, minmax(92px, 0.72fr)) 28px;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  margin-bottom: 10px;
  padding: 10px 12px 10px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #d8d8cf;
  border-radius: 8px;
  text-decoration: none;
}

.home-route-row span {
  display: grid;
  gap: 2px;
}

.home-route-row strong {
  font-size: 0.86rem;
}

.home-route-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

.home-route-row .route-main strong {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.home-route-row em {
  color: var(--ink);
  font-size: 0.74rem;
  font-style: normal;
}

.route-thumb {
  width: 150px;
  height: 62px;
  background-image: var(--image);
  background-position: center var(--pos);
  background-size: cover;
  border-radius: 5px;
  clip-path: polygon(0 0, 88% 0, 100% 18%, 100% 100%, 0 100%);
}

.save-mark {
  width: 16px;
  height: 24px;
  border: 2px solid #39443f;
  border-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
}

.view-all {
  display: block;
  margin: 14px 0 0;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 20px;
  padding: 26px 7vw 22px;
  border-top: 1px solid var(--line);
}

.feature-rail div {
  min-height: 44px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.feature-rail strong,
.feature-rail span {
  display: block;
}

.feature-rail strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-rail span {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.btn.secondary {
  color: var(--green);
  background: var(--blue);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
}

.section.tight {
  padding-top: 42px;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.section-head p {
  max-width: 520px;
  margin: 0;
}

.atlas-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) 1.12fr;
  gap: 24px;
}

.map-panel,
.surface,
.route-card,
.fact-panel,
.notice,
.resource-card {
  background: rgba(251, 250, 245, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-panel {
  min-height: 520px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.nz-map {
  position: relative;
  height: 430px;
  margin-top: 14px;
  background:
    radial-gradient(circle at 55% 58%, rgba(47, 103, 92, 0.25), transparent 28%),
    linear-gradient(145deg, rgba(47, 103, 92, 0.08), rgba(198, 95, 39, 0.05));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nz-map::before,
.nz-map::after {
  content: "";
  position: absolute;
  background: #d8e4dd;
  border: 2px solid var(--green-2);
  transform: rotate(22deg);
}

.nz-map::before {
  width: 92px;
  height: 235px;
  left: 45%;
  top: 8%;
  border-radius: 48% 52% 45% 55%;
}

.nz-map::after {
  width: 106px;
  height: 280px;
  left: 31%;
  top: 37%;
  border-radius: 42% 58% 50% 50%;
}

.pin {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 3px solid var(--snow);
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(198, 95, 39, 0.24);
}

.pin span {
  position: absolute;
  left: 16px;
  top: -6px;
  min-width: 130px;
  font-size: 0.76rem;
  font-weight: 800;
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 20px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 61, 53, 0.35);
  box-shadow: 0 14px 36px rgba(20, 32, 29, 0.1);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--green);
  background: #e8eee9;
  border: 1px solid rgba(16, 61, 53, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.chip.warn {
  color: #763512;
  background: #f8e8dc;
  border-color: rgba(198, 95, 39, 0.18);
}

.stat {
  text-align: right;
}

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

.band {
  background: var(--green);
  color: var(--snow);
}

.band p {
  color: rgba(251, 250, 245, 0.76);
}

.region-grid,
.resource-grid,
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.region-card,
.resource-card {
  min-height: 190px;
  padding: 20px;
  text-decoration: none;
}

.route-hero {
  padding: clamp(72px, 8vw, 124px) clamp(18px, 4vw, 56px) 34px;
  color: var(--snow);
  background:
    linear-gradient(90deg, rgba(8, 20, 17, 0.92), rgba(8, 20, 17, 0.42)),
    var(--route-image, url("/images/alpine-hero.png")) center / cover;
}

.route-hero-modern {
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 4vw, 56px) 54px;
  background:
    linear-gradient(90deg, rgba(7, 19, 17, 0.94) 0%, rgba(7, 19, 17, 0.7) 40%, rgba(7, 19, 17, 0.1) 100%),
    linear-gradient(0deg, rgba(7, 19, 17, 0.9) 0%, rgba(7, 19, 17, 0.08) 42%),
    var(--route-image, url("/images/alpine-hero.png")) center / cover;
}

.route-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.route-hero-copy {
  max-width: 820px;
}

.route-hero-modern h1 {
  max-width: 980px;
  font-size: clamp(4.2rem, 7.4vw, 8.6rem);
}

.route-deck {
  max-width: 700px;
  color: rgba(251, 250, 245, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.5rem);
}

.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 22px 0 20px;
  color: rgba(251, 250, 245, 0.74);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-hero-chips .chip {
  background: rgba(251, 250, 245, 0.9);
}

.chip.dark {
  color: var(--snow);
  background: rgba(11, 48, 43, 0.9);
  border-color: rgba(251, 250, 245, 0.22);
}

.route-facts-strip {
  background: #0f201d;
  border-top: 1px solid rgba(251, 250, 245, 0.14);
  border-bottom: 1px solid rgba(251, 250, 245, 0.14);
}

.facts-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.facts-strip-grid div {
  min-height: 108px;
  padding: 20px 18px;
  border-right: 1px solid rgba(251, 250, 245, 0.12);
}

.facts-strip-grid div:first-child {
  border-left: 1px solid rgba(251, 250, 245, 0.12);
}

.facts-strip-grid span,
.route-map-card .eyebrow,
.route-prose > .eyebrow {
  color: #9fb7ae;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-strip-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--snow);
  font-size: 0.98rem;
  line-height: 1.25;
}

.route-main-section {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(rgba(16, 61, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 61, 53, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.route-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.route-prose {
  max-width: 820px;
  font-size: 1.12rem;
}

.route-prose h2 {
  max-width: 760px;
  margin-top: 28px;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(2.15rem, 4vw, 4.4rem);
  letter-spacing: 0.01em;
}

.route-prose p {
  max-width: 760px;
  color: #455650;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  line-height: 1.78;
}

.route-notice {
  max-width: 820px;
  margin-bottom: 42px;
  background: #fffaf0;
}

.story-section {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.story-section h2 {
  position: relative;
  padding-left: 56px;
}

.story-section h2::before {
  content: "§";
  position: absolute;
  left: 0;
  top: 0.08em;
  color: var(--orange);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.7rem;
}

.route-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.route-map-card,
.route-side-card {
  padding: 20px;
  background: rgba(251, 250, 245, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-map-card h3,
.route-side-card h3 {
  margin: 4px 0 10px;
  font-size: 1.28rem;
}

.route-mini-map {
  position: relative;
  min-height: 180px;
  margin: 16px 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(216, 232, 234, 0.08), rgba(216, 232, 234, 0.08)),
    url("/images/nz-atlas-map.webp") center / cover no-repeat;
  border: 1px solid #cbd4d1;
  border-radius: 6px;
}

.route-mini-map span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 9px;
  color: var(--snow);
  background: rgba(44, 58, 33, 0.88);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
}

.route-resources {
  background: var(--snow);
}

.route-hero .container {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 28px;
  align-items: end;
}

.route-hero p {
  max-width: 680px;
  color: rgba(251, 250, 245, 0.82);
  font-size: 1.15rem;
}

.fact-panel {
  padding: 18px;
  color: var(--ink);
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: 0;
}

.fact span:first-child {
  color: var(--muted);
  font-weight: 800;
}

.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}

.prose {
  font-size: 1.06rem;
}

.story-section {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.story-section h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.8rem);
}

.surface {
  padding: 22px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: #10201c;
  color: var(--snow);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(251, 250, 245, 0.64);
}

.site-footer a {
  color: rgba(251, 250, 245, 0.72);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 880px) {
  .site-header,
  .site-footer,
  .section-head,
  .route-hero .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .home .site-header {
    position: absolute;
    display: flex;
    color: var(--snow);
    background: linear-gradient(rgba(7, 22, 20, 0.82), rgba(7, 22, 20, 0));
  }

  .home .nav a,
  .home .nav a:first-child {
    color: rgba(251, 250, 245, 0.84);
    border-bottom: 0;
    padding-bottom: 0;
  }

  .home .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-top: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    max-width: 148px;
    font-size: 1rem;
  }

  .finder,
  .atlas-grid,
  .content-grid,
  .filter-panel,
  .route-hero .container,
  .region-grid,
  .resource-grid,
  .facts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 168px;
    padding-bottom: 22px;
  }

  .finder {
    gap: 0;
    margin-bottom: 0;
    background: rgba(14, 27, 25, 0.88);
    border-color: rgba(251, 250, 245, 0.26);
    overflow: visible;
  }

  .finder .field {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 250, 245, 0.18);
  }

  .finder .field label {
    color: rgba(251, 250, 245, 0.68);
  }

  .finder .field input,
  .finder .field select {
    color: var(--snow);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(251, 250, 245, 0.24);
  }

  .finder .field input::placeholder {
    color: rgba(251, 250, 245, 0.68);
  }

  .finder .btn {
    min-height: 54px;
    border-radius: 0 0 8px 8px;
  }

  .home-finder-section {
    padding: 54px 18px 0;
  }

  .home-atlas-grid,
  .feature-rail,
  .route-detail-grid,
  .facts-strip-grid {
    grid-template-columns: 1fr;
  }

  .route-hero-modern {
    min-height: 620px;
    padding: 150px 18px 38px;
  }

  .route-hero-modern h1 {
    font-size: clamp(3.4rem, 14vw, 5.6rem);
  }

  .facts-strip-grid div,
  .facts-strip-grid div:first-child {
    min-height: auto;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(251, 250, 245, 0.12);
  }

  .route-sidebar {
    position: static;
    order: -1;
  }

  .story-section h2 {
    padding-left: 38px;
  }

  .home-routes {
    padding-left: 0;
    border-left: 0;
  }

  .home-route-row {
    grid-template-columns: 96px 1fr;
  }

  .home-route-row > span:not(.route-thumb):not(.route-main) {
    display: none;
  }

  .route-thumb {
    width: 96px;
  }

  .section.tight {
    padding-top: 54px;
  }

  .map-panel {
    min-height: auto;
  }

  .nz-map {
    height: 330px;
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .stat {
    text-align: left;
  }
}
