@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/assets/fonts/work-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --pine: #173f35;
  --pine-deep: #0d2c25;
  --sky: #dceaf0;
  --blue: #326a84;
  --ember: #d55c24;
  --paper: #f5f0e7;
  --paper-bright: #fffdf8;
  --ink: #1d2925;
  --muted: #69736d;
  --line: rgba(23, 63, 53, 0.18);
  --measure: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 3%, rgba(50, 106, 132, 0.08), transparent 26rem),
    linear-gradient(90deg, rgba(23, 63, 53, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 72px 72px, auto;
  font-family: "Work Sans", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-radial-gradient(ellipse at 15% 0%, transparent 0 38px, rgba(50, 106, 132, 0.13) 39px 40px, transparent 41px 67px),
    repeating-radial-gradient(ellipse at 84% 74%, transparent 0 50px, rgba(23, 63, 53, 0.1) 51px 52px, transparent 53px 86px);
  mask-image: linear-gradient(to bottom, #000, transparent 44rem);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration-color: rgba(213, 92, 36, 0.6);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ember);
}

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

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  color: white;
  background: var(--pine-deep);
  z-index: 99;
}

.skip-link:focus {
  transform: none;
}

.ridge-head {
  width: min(calc(100% - 2rem), var(--measure));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.ridge-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: var(--pine);
  text-decoration: none;
  line-height: 1;
}

.ridge-brand > span:last-child {
  display: grid;
}

.ridge-brand strong {
  font-family: "Newsreader", serif;
  font-size: 1.6rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.ridge-brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.wing-sign {
  position: relative;
  width: 47px;
  height: 24px;
  display: inline-block;
  border-top: 7px solid var(--ember);
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
}

.wing-sign::before,
.wing-sign::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 27px;
  background: var(--pine);
  opacity: 0.45;
}

.wing-sign::before {
  left: 11px;
  transform: rotate(17deg);
}

.wing-sign::after {
  right: 11px;
  transform: rotate(-17deg);
}

.ridge-head nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.ridge-head nav a {
  position: relative;
  color: var(--pine-deep);
  font-size: 0.79rem;
  font-weight: 660;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.ridge-head nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.ridge-head nav a:hover::after,
.ridge-head nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-trigger {
  display: none;
  border: 1px solid var(--pine);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--pine);
  background: transparent;
  font: inherit;
  font-weight: 650;
}

main {
  min-height: 62vh;
}

.page-ascent {
  width: min(calc(100% - 2rem), 920px);
  margin: 5.5rem auto 3rem;
}

.page-ascent h1 {
  max-width: 850px;
  margin: 0.65rem 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.contour-label,
.route-kicker {
  margin: 0;
  color: var(--ember);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contour-label::before {
  content: "";
  width: 42px;
  height: 1px;
  margin-right: 0.7rem;
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
}

.flight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.flight-meta > * + *::before {
  content: "•";
  margin-right: 1.5rem;
  color: var(--ember);
}

.paper-grid {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 0 auto 7rem;
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(180px, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.main-copy {
  min-width: 0;
}

.article-lead {
  margin: 0 0 2.4rem;
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.35;
}

.main-copy p {
  font-size: 1.03rem;
}

.terrain-card {
  margin: 2rem 0 4rem;
  padding: 1.2rem 1.35rem;
  display: grid;
  gap: 0.35rem;
  border-left: 5px solid var(--ember);
  background: rgba(255, 253, 248, 0.72);
}

.terrain-card span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.terrain-card strong {
  font-family: "Newsreader", serif;
  font-size: 1.34rem;
}

.route-section {
  padding: 2.7rem 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.section-number {
  padding-top: 0.35rem;
  color: var(--ember);
  font-family: "Newsreader", serif;
  font-size: 1.15rem;
  font-style: italic;
}

.route-section h2,
.note-panel h2,
.next-routes h2,
.author-note h2 {
  margin: 0 0 1rem;
  color: var(--pine-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 570;
  line-height: 1.05;
}

.route-section p {
  margin: 0 0 1.1rem;
}

.field-photo {
  margin: 2rem 0 4rem;
}

.field-photo img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  clip-path: polygon(0 2.5%, 98% 0, 100% 95%, 3% 100%);
}

.field-photo figcaption {
  margin: 0.65rem 0 0 1rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.note-panel {
  margin: 3rem 0;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  color: var(--paper-bright);
  background: var(--pine);
}

.note-panel h2 {
  color: white;
}

.note-panel a {
  color: white;
}

.note-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.note-panel li + li {
  margin-top: 0.45rem;
}

.ridge-index {
  position: sticky;
  top: 2rem;
  padding-top: 1rem;
  display: grid;
  border-top: 3px solid var(--pine);
}

.ridge-index a {
  padding: 0.9rem 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 640;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.author-note {
  margin: 4rem 0;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.64);
}

.author-mark {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: none;
  color: white;
  background: var(--ember);
  border-radius: 50% 47% 53% 45%;
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.author-mark.large {
  width: 120px;
  font-size: 2.5rem;
}

.author-note h2 {
  margin-top: 0.25rem;
  font-size: 1.8rem;
}

.author-note h2 a {
  text-decoration: none;
}

.author-note p:last-child {
  margin-bottom: 0;
}

.author-profile {
  margin: 2rem 0 4rem;
  padding: 2.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--sky);
}

.author-profile h2 {
  margin: 0.4rem 0 0.7rem;
  font-family: "Newsreader", serif;
  font-size: 2rem;
}

.next-routes {
  margin-top: 5rem;
}

.next-routes h2 {
  max-width: 600px;
}

.route-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.route-links a {
  min-height: 180px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ink);
  background: var(--paper-bright);
  text-decoration: none;
}

.route-links a:hover {
  background: var(--sky);
}

.route-links span {
  color: var(--ember);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-links strong {
  font-family: "Newsreader", serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.launch-board {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 3rem auto 7rem;
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  align-items: end;
}

.launch-words {
  position: relative;
  padding: 3rem clamp(1.5rem, 4vw, 4.5rem) 3.8rem 0;
  z-index: 2;
}

.launch-words h1 {
  width: 125%;
  margin: 0.9rem 0 1.5rem;
  color: var(--pine-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(3.8rem, 8vw, 8.4rem);
  font-weight: 520;
  line-height: 0.83;
  letter-spacing: -0.055em;
}

.launch-words > p:not(.contour-label) {
  max-width: 580px;
  font-size: 1.05rem;
}

.launch-board > .field-photo {
  margin: 0;
}

.launch-board > .field-photo img {
  min-height: 610px;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 3%, 96% 100%, 0 94%);
}

.launch-board > .field-photo figcaption {
  text-align: right;
}

.launch-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}

.route-button {
  display: inline-block;
  padding: 0.78rem 1.05rem;
  color: white;
  background: var(--ember);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 720;
}

.route-button:hover {
  color: white;
  background: var(--pine-deep);
}

.route-button.pale {
  color: var(--pine-deep);
  background: var(--paper);
}

.altitude-strip {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.altitude-strip span {
  color: var(--ember);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.altitude-strip strong {
  font-family: "Newsreader", serif;
  font-size: 1.2rem;
  font-weight: 560;
}

.route-shelf {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.shelf-heading h2,
.story-band h2,
.local-window h2,
.safety-ribbon h2 {
  margin: 0.5rem 0 1rem;
  color: var(--pine-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 540;
  line-height: 0.98;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.guide-card {
  min-height: 270px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper-bright);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.guide-card:hover {
  position: relative;
  color: var(--ink);
  background: var(--sky);
  transform: translate(-4px, -4px);
}

.guide-card > span {
  color: var(--ember);
  font-family: "Newsreader", serif;
  font-style: italic;
}

.guide-card h3 {
  margin: auto 0 0.7rem;
  font-family: "Newsreader", serif;
  font-size: 1.7rem;
  font-weight: 580;
  line-height: 1.05;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.story-band {
  padding: 6rem max(1rem, calc((100% - var(--measure)) / 2));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 8vw, 8rem);
  color: white;
  background: var(--pine);
}

.story-band h2 {
  color: white;
}

.story-list {
  display: grid;
}

.story-list a {
  padding: 1.1rem 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  text-decoration: none;
}

.story-list time {
  color: #a9c6d0;
  font-family: "Newsreader", serif;
}

.story-list span {
  display: grid;
  gap: 0.15rem;
}

.story-list small {
  color: #f18d61;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-list strong {
  font-family: "Newsreader", serif;
  font-size: 1.17rem;
  font-weight: 530;
  line-height: 1.2;
}

.local-window {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 8rem auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.local-window .field-photo {
  margin: 0;
}

.home-method {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.home-method h2 {
  margin: 0.5rem 0 0;
  color: var(--pine-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 540;
  line-height: 0.98;
}

.home-method > div {
  padding-top: 1.4rem;
  border-top: 3px solid var(--pine);
}

.home-method > div p:first-child {
  margin-top: 0;
}

.deep-shelf {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.deep-shelf > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.deep-shelf > div:last-child a {
  min-height: 220px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper-bright);
  text-decoration: none;
}

.deep-shelf > div:last-child a:hover {
  background: var(--sky);
}

.deep-shelf span {
  color: var(--ember);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.deep-shelf strong {
  margin: auto 0 0.55rem;
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.deep-shelf a p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.editorial-snapshot {
  margin: 2rem 0 4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-top: 5px solid var(--ember);
  background: var(--sky);
}

.editorial-snapshot > p:last-child {
  margin: 0.7rem 0 0;
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
  line-height: 1.35;
}

.scenario-block,
.source-board {
  margin: 4rem 0;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scenario-block h2,
.field-heading h2,
.mistake-ledger h2,
.question-bank h2,
.source-board h2 {
  margin: 0.5rem 0 0;
  color: var(--pine-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 560;
  line-height: 1;
}

.scenario-block > p {
  margin: 0;
  font-size: 1.12rem;
}

.field-checks {
  margin: 5rem 0;
}

.field-heading {
  max-width: 620px;
  margin-bottom: 2rem;
}

.field-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.field-check {
  min-height: 230px;
  padding: 1.5rem;
  background: var(--paper-bright);
}

.field-check > span {
  color: var(--ember);
  font-family: "Newsreader", serif;
  font-style: italic;
}

.field-check h3 {
  margin: 2.5rem 0 0.6rem;
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.field-check p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mistake-ledger {
  margin: 5rem 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  color: white;
  background: var(--pine);
}

.mistake-ledger h2 {
  color: white;
}

.mistake-ledger ol {
  margin: 0;
  padding-left: 1.4rem;
}

.mistake-ledger li {
  padding: 0.8rem 0 1rem 0.5rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mistake-ledger li p {
  margin: 0.4rem 0 0;
  color: #cfe0da;
  font-size: 0.86rem;
  font-weight: 400;
}

.question-bank {
  margin: 5rem 0;
}

.question-bank h2 {
  margin-bottom: 2rem;
}

.question-bank details {
  border-top: 1px solid var(--line);
}

.question-bank details:last-child {
  border-bottom: 1px solid var(--line);
}

.question-bank summary {
  padding: 1.2rem 2.5rem 1.2rem 0;
  cursor: pointer;
  font-family: "Newsreader", serif;
  font-size: 1.3rem;
  font-weight: 580;
}

.question-bank details p {
  max-width: 650px;
  margin: 0 0 1.3rem;
  color: var(--muted);
}

.source-board ul {
  margin: 0;
  padding-left: 1.2rem;
}

.source-board li + li {
  margin-top: 0.45rem;
}

.compact-sources {
  margin: 4rem 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.64);
}

.compact-sources > p:nth-child(2) {
  margin-bottom: 0.7rem;
}

.compact-sources ul {
  margin: 0;
  padding-left: 1.2rem;
}

.compact-sources li + li {
  margin-top: 0.3rem;
}

.practice-opening,
.archive-chapter {
  margin: 3rem 0 4rem;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-opening h2,
.archive-chapter h2,
.practice-steps h2,
.decision-table h2,
.debrief-card h2 {
  margin: 0.5rem 0 0;
  color: var(--pine-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 560;
  line-height: 1;
}

.practice-opening > p {
  margin: 0;
  font-size: 1.08rem;
}

.practice-steps {
  margin: 5rem 0;
}

.practice-step {
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.practice-step:last-child {
  border-bottom: 1px solid var(--line);
}

.practice-step span {
  color: var(--ember);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.practice-step p {
  margin: 0;
}

.decision-table {
  margin: 5rem 0;
}

.decision-table > div {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.decision-table article {
  min-height: 220px;
  padding: 1.4rem;
  background: var(--paper-bright);
}

.decision-table strong {
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.decision-table p {
  color: var(--muted);
  font-size: 0.85rem;
}

.debrief-card {
  margin: 5rem 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 6px solid var(--blue);
  background: var(--sky);
}

.archive-stamp {
  margin: 2rem 0 4rem;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.2rem;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.archive-stamp span {
  grid-row: 1 / 3;
  color: var(--ember);
  font-family: "Newsreader", serif;
  font-size: 3.5rem;
  line-height: 1;
}

.archive-stamp p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.archive-stamp strong {
  font-family: "Newsreader", serif;
  font-size: 1.25rem;
}

.archive-chapter > div p:first-child {
  margin-top: 0;
}

.archive-mosaic {
  margin: 5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.archive-mosaic article {
  min-height: 230px;
  padding: 1.4rem;
  background: var(--paper-bright);
}

.archive-mosaic span {
  color: var(--ember);
  font-family: "Newsreader", serif;
  font-style: italic;
}

.archive-mosaic h3 {
  margin: 3rem 0 0.6rem;
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
}

.archive-mosaic p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.link-atlas {
  margin: 5rem 0;
}

.link-atlas h2 {
  margin: 0.5rem 0 1.5rem;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 560;
  line-height: 1;
}

.link-atlas > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.link-atlas a {
  min-height: 120px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--paper-bright);
  text-decoration: none;
}

.link-atlas a:hover {
  background: var(--sky);
}

.link-atlas strong {
  font-family: "Newsreader", serif;
  font-size: 1.15rem;
  line-height: 1.1;
}

.link-atlas span {
  margin-top: 0.8rem;
  color: var(--ember);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.safety-ribbon {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 0 auto 8rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  background: var(--sky);
}

.safety-ribbon div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.safety-ribbon div a {
  font-size: 0.82rem;
  font-weight: 680;
}

.valley-foot {
  padding: 4rem max(1rem, calc((100% - var(--measure)) / 2));
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  color: #d8e7e1;
  background: var(--pine-deep);
}

.footer-brand {
  color: white;
}

.valley-foot > div:nth-child(2) {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.valley-foot a {
  color: inherit;
}

.safety-line {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 1.25rem;
  line-height: 1.35;
}

@media (max-width: 920px) {
  .ridge-head {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .nav-trigger {
    display: block;
  }

  .ridge-head nav {
    width: 100%;
    padding: 1rem 0;
    display: none;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
  }

  .ridge-head nav.is-open {
    display: flex;
  }

  .paper-grid,
  .route-shelf,
  .deep-shelf,
  .story-band,
  .local-window,
  .home-method,
  .valley-foot {
    grid-template-columns: 1fr;
  }

  .deep-shelf > div:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .ridge-index {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1rem;
  }

  .launch-board {
    grid-template-columns: 1fr;
  }

  .launch-words {
    padding-right: 0;
  }

  .launch-words h1 {
    width: auto;
  }

  .launch-board > .field-photo img {
    min-height: 420px;
  }

  .altitude-strip {
    grid-column: auto;
  }

  .story-band {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 620px) {
  .page-ascent {
    margin-top: 3.5rem;
  }

  .page-ascent h1 {
    font-size: 3rem;
  }

  .flight-meta {
    display: grid;
    gap: 0.25rem;
  }

  .flight-meta > * + *::before {
    display: none;
  }

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

  .section-number {
    padding: 0;
  }

  .route-links,
  .guide-grid,
  .deep-shelf > div:last-child,
  .field-check-grid,
  .link-atlas > div {
    grid-template-columns: 1fr;
  }

  .scenario-block,
  .source-board,
  .mistake-ledger,
  .practice-opening,
  .archive-chapter {
    grid-template-columns: 1fr;
  }

  .decision-table > div,
  .archive-mosaic {
    grid-template-columns: 1fr;
  }

  .author-note,
  .author-profile {
    grid-template-columns: 1fr;
  }

  .practice-step {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .altitude-strip {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
