:root {
  --editorial-ink: #18231d;
  --editorial-muted: #627069;
  --editorial-paper: #f4f0e7;
  --editorial-surface: #fffdf8;
  --editorial-forest: #214b39;
  --editorial-forest-deep: #102d23;
  --editorial-sage: #dce6da;
  --editorial-sage-light: #edf2e9;
  --editorial-gold: #c9974d;
  --editorial-rule: #d8d1c4;
}

html {
  scroll-padding-top: 2rem;
}

.editorial-page {
  background: var(--editorial-paper);
  color: var(--editorial-ink);
}

.editorial-page h1,
.editorial-page h2,
.editorial-page h3,
.editorial-page blockquote {
  font-family: 'DM Sans', sans-serif;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--editorial-gold);
  box-shadow: 0 0 12px rgba(201, 151, 77, 0.45);
  transform-origin: left center;
}

.editorial-header {
  position: relative;
  margin: 1rem;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 12%, rgba(151, 187, 159, 0.18), transparent 32%),
    linear-gradient(135deg, var(--editorial-forest-deep), var(--editorial-forest));
  color: #fff;
}

.editorial-navbar {
  max-width: 1480px;
  margin: 0 auto;
}

.editorial-page .navbar .nav-links {
  gap: 0.25rem;
  margin-left: auto;
  margin-right: 1.25rem;
  padding: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.editorial-page .navbar .nav-links a {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1;
  white-space: nowrap;
}

.editorial-masthead {
  display: grid;
  max-width: 1420px;
  min-height: 700px;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem) clamp(5rem, 8vw, 7.5rem);
}

.editorial-masthead-copy {
  max-width: 720px;
}

.article-kicker,
.section-label {
  color: var(--editorial-gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.editorial-masthead h1 {
  max-width: 760px;
  margin: 1rem 0 1.25rem;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3.35rem, 6.4vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.article-deck {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.65;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.65rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.masthead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 2rem;
}

.editorial-primary-cta {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.78rem 1.3rem 0.78rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--editorial-forest-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.editorial-primary-cta:hover {
  background: #f7f4ec;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.editorial-primary-cta:focus-visible,
.editorial-text-link:focus-visible,
.route-tabs button:focus-visible,
.article-more a:focus-visible {
  outline: 3px solid rgba(201, 151, 77, 0.65);
  outline-offset: 3px;
}

.editorial-text-link {
  padding: 0.45rem 0.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
}

.photo-slot {
  margin: 0;
}

.editorial-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot-hero .editorial-photo {
  min-height: 540px;
  border-radius: 2px;
  box-shadow: 0 28px 65px rgba(5, 19, 14, 0.28);
}

.photo-placeholder {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  overflow: hidden;
  border: 1px dashed rgba(26, 35, 29, 0.28);
  border-radius: 3px;
  background: #d9ded7;
  color: #34433a;
}

.photo-slot-hero .photo-placeholder {
  min-height: 540px;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  background: rgba(244, 240, 231, 0.9);
  color: var(--editorial-forest-deep);
  box-shadow: 0 32px 75px rgba(5, 19, 14, 0.34);
}

.photo-placeholder-label {
  margin-bottom: auto;
  padding: 0.28rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.64;
  text-transform: uppercase;
}

.photo-placeholder strong {
  max-width: 26rem;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}

.photo-placeholder small {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  opacity: 0.62;
}

.photo-slot figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.55;
}

main {
  position: relative;
}

article {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem) 5rem;
}

.article-opening {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.article-opening > p,
.story-copy > p,
.conclusion-copy > p {
  color: #39463f;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.92;
}

.article-opening > p + p {
  margin-top: 1.45rem;
}

.article-inline-link {
  color: #2f694c;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(47, 105, 76, 0.55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.article-inline-link::after {
  display: inline-block;
  margin-left: 0.16em;
  content: '\2197';
  font-size: 0.72em;
  line-height: 1;
  text-decoration: none;
}

.article-inline-link:hover {
  color: var(--editorial-forest-deep);
  text-decoration-color: currentColor;
}

.article-inline-link:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(47, 105, 76, 0.25);
  outline-offset: 3px;
}

.article-dropcap::first-letter {
  float: left;
  margin: 0.04em 0.12em 0 0;
  color: var(--editorial-forest);
  font-family: 'DM Sans', sans-serif;
  font-size: 4.3rem;
  font-weight: 700;
  line-height: 0.84;
}

.guided-callout {
  position: relative;
  margin: 3.25rem -5rem;
  padding: 2.8rem 5rem 2.65rem;
  border-top: 1px solid var(--editorial-rule);
  border-bottom: 1px solid var(--editorial-rule);
  color: var(--editorial-forest-deep);
  text-align: center;
}

.guided-callout > span {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--editorial-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.guided-callout p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
  text-wrap: balance;
}

.route-explorer {
  margin-bottom: clamp(5rem, 9vw, 9rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 18px;
  background: var(--editorial-forest-deep);
  color: #fff;
  box-shadow: 0 28px 65px rgba(22, 45, 35, 0.18);
}

.route-explorer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.6fr);
  gap: 0 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.route-explorer-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0.7rem;
}

.route-explorer-heading h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.route-explorer-heading > p:last-child {
  align-self: end;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
}

.route-explorer-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.route-select {
  display: none;
}

.route-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.route-tabs button {
  position: relative;
  width: 100%;
  padding: 0.9rem 2rem 0.9rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  font: 600 0.93rem/1.35 'DM Sans', sans-serif;
  text-align: left;
  transition: color 0.2s, padding-left 0.2s;
}

.route-tabs button:hover {
  color: rgba(255, 255, 255, 0.86);
}

.route-tabs button[aria-selected='true'] {
  padding-left: 0.65rem;
  color: #fff;
}

@media (min-width: 961px) {
  .route-tabs {
    align-self: start;
    gap: 0.5rem;
  }

  .route-tabs button {
    display: flex;
    min-height: 3.6rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
  }

  .route-tabs button::before {
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 0.5rem;
    border-radius: 50%;
    background: var(--editorial-gold);
    content: '';
    opacity: 0;
    transition: opacity 0.2s;
  }

  .route-tabs button:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .route-tabs button[aria-selected='true'] {
    padding-left: 1rem;
    border-color: rgba(201, 151, 77, 0.65);
    background: rgba(201, 151, 77, 0.1);
    color: #fff;
  }

  .route-tabs button[aria-selected='true']::before {
    opacity: 1;
  }
}

.route-panel {
  position: relative;
  min-height: 22rem;
  padding: 2.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.route-panel-eyebrow {
  position: relative;
  margin-bottom: 0.8rem;
  color: var(--editorial-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-panel h3 {
  position: relative;
  max-width: 34rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
}

.route-panel > p:not(.route-panel-eyebrow) {
  position: relative;
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
}

.route-panel ul {
  position: relative;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}

.route-panel li {
  display: flex;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.83rem;
  line-height: 1.45;
}

.route-panel li::before {
  color: var(--editorial-gold);
  content: '\2022';
}

.article-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem;
  color: var(--editorial-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.article-rule::before,
.article-rule::after {
  height: 1px;
  flex: 1;
  background: var(--editorial-rule);
  content: '';
}

.article-rule::before {
  flex: 0 0 2.5rem;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  border-bottom: 1px solid var(--editorial-rule);
}

.story-band-reverse .photo-slot {
  order: 2;
}

.story-band-reverse .story-copy {
  order: 1;
}

.story-band .photo-slot figcaption {
  color: var(--editorial-muted);
}

.story-band:nth-of-type(odd) .photo-placeholder {
  background: #d9dfd4;
}

.story-band:nth-of-type(even) .photo-placeholder {
  background: #ded8cd;
}

.photo-slot-landscape .photo-placeholder {
  aspect-ratio: 4 / 3;
}

.photo-slot-landscape .editorial-photo {
  aspect-ratio: 4 / 3;
}

.photo-slot-portrait .photo-placeholder {
  max-width: 34rem;
  min-height: 40rem;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}

.photo-slot-portrait .editorial-photo {
  max-width: 34rem;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}

.photo-slot-wide .photo-placeholder {
  aspect-ratio: 16 / 10;
}

.photo-slot-wide .editorial-photo {
  aspect-ratio: 16 / 10;
}

.story-copy {
  max-width: 560px;
}

.story-copy h2,
.article-conclusion h2 {
  margin: 0.75rem 0 1.4rem;
  color: var(--editorial-forest-deep);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.16;
  text-wrap: balance;
}

.story-copy > p + p {
  margin-top: 1rem;
}

.story-copy details {
  margin-top: 1.6rem;
  border-top: 1px solid var(--editorial-rule);
  border-bottom: 1px solid var(--editorial-rule);
}

.story-copy summary {
  position: relative;
  padding: 1rem 2.2rem 1rem 0;
  color: var(--editorial-forest);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.story-copy summary::-webkit-details-marker {
  display: none;
}

.story-copy summary::after {
  position: absolute;
  top: 50%;
  right: 0.2rem;
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.story-copy details[open] summary::after {
  content: '\2212';
}

.story-copy details p {
  padding: 0 1.5rem 1.2rem 0;
  color: var(--editorial-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  line-height: 1.75;
}

.other-routes {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  margin: 5rem 0;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(16, 45, 35, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 151, 77, 0.16), transparent 30%),
    linear-gradient(135deg, #0d2d23 0%, #174334 100%);
  box-shadow: 0 24px 60px rgba(16, 45, 35, 0.16);
}

.other-routes .section-label {
  color: #d9ab66;
}

.other-routes h2 {
  max-width: 10ch;
  margin-top: 0.75rem;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.other-routes-copy p {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.other-route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  margin-top: 1.6rem;
  list-style: none;
}

.other-route-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
}

.other-route-list li::before {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: #d9ab66;
  content: '';
}

.other-routes-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.35rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(217, 171, 102, 0.55);
  color: #e8c48d;
  font-size: 0.82rem;
  font-weight: 700;
}

.other-routes-link:hover {
  border-color: #fff;
  color: #fff;
}

.other-routes-link:focus-visible {
  outline: 3px solid rgba(217, 171, 102, 0.65);
  outline-offset: 4px;
}

.article-conclusion {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  margin: clamp(5rem, 10vw, 9rem) 0 0;
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: 18px;
  background: #e1e8dc;
}

.conclusion-copy {
  max-width: 690px;
}

.discovery-steps {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.discovery-steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(33, 75, 57, 0.17);
}

.discovery-steps li > span {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 75, 57, 0.25);
  border-radius: 50%;
  color: var(--editorial-forest);
  font-size: 0.75rem;
  font-weight: 700;
}

.discovery-steps div {
  display: grid;
  gap: 0.2rem;
}

.discovery-steps strong {
  color: var(--editorial-forest-deep);
  font-size: 0.92rem;
}

.discovery-steps small {
  color: #657269;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
}

.conclusion-card {
  align-self: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 10px;
  background: var(--editorial-forest-deep);
  color: #fff;
  box-shadow: 0 24px 55px rgba(16, 45, 35, 0.2);
}

.conclusion-card > p {
  color: var(--editorial-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conclusion-card h3 {
  margin: 0.75rem 0 1.8rem;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.3;
}

.editorial-primary-cta-dark {
  width: 100%;
  background: #fff;
  color: var(--editorial-forest-deep);
}

.conclusion-card > small {
  display: block;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  line-height: 1.5;
}

.article-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 2rem 0;
  border-top: 1px solid var(--editorial-rule);
  border-bottom: 1px solid var(--editorial-rule);
}

.article-more div {
  display: grid;
  gap: 0.3rem;
}

.article-more div span {
  color: var(--editorial-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-more div strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.article-more a {
  flex: 0 0 auto;
  color: var(--editorial-forest);
  font-size: 0.86rem;
  font-weight: 700;
}

.editorial-footer {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .editorial-masthead {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 2.5rem;
    padding-top: 5rem;
  }

  .photo-slot-hero .photo-placeholder {
    min-height: 460px;
  }

  .photo-slot-hero .editorial-photo {
    min-height: 460px;
  }

  .story-band {
    gap: 3.5rem;
  }
}

@media (max-width: 960px) {
  .editorial-masthead {
    grid-template-columns: 1fr;
  }

  .editorial-masthead-copy {
    max-width: 780px;
  }

  .photo-slot-hero {
    max-width: 780px;
  }

  .photo-slot-hero .photo-placeholder {
    min-height: 420px;
  }

  .photo-slot-hero .editorial-photo {
    min-height: 420px;
  }

  .route-explorer-heading,
  .route-explorer-layout,
  .article-conclusion {
    grid-template-columns: 1fr;
  }

  .route-explorer-heading > p:last-child {
    margin-top: 1rem;
  }

  .route-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .route-tabs button {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
  }

  .route-tabs button[aria-selected='true'] {
    padding-left: 0.8rem;
    border-color: rgba(201, 151, 77, 0.65);
    background: rgba(201, 151, 77, 0.1);
  }

  .story-band {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-band .editorial-photo {
    object-position: center top;
  }

  .story-band-reverse .photo-slot,
  .story-band-reverse .story-copy {
    order: initial;
  }

  .story-copy {
    max-width: 760px;
  }

  .photo-slot-portrait .photo-placeholder {
    max-width: none;
    min-height: 32rem;
    aspect-ratio: 16 / 10;
  }

  .photo-slot-portrait .editorial-photo {
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  .other-routes {
    grid-template-columns: 1fr;
  }

  .other-routes h2 {
    max-width: 16ch;
  }

  .conclusion-card {
    max-width: 620px;
  }
}

@media (max-width: 880px) {
  .editorial-header {
    margin: 0.75rem;
    border-radius: 14px;
  }

  .editorial-page .navbar .nav-links {
    gap: 0;
    margin: 0;
    padding: 0 4.5rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(to bottom, rgba(16, 45, 35, 0.96), rgba(16, 45, 35, 0.98));
  }

  .editorial-page .navbar .nav-links.open {
    padding: 5rem 4.5rem 2rem;
  }

  .editorial-page .navbar .nav-links a {
    min-height: 0;
    padding: 0.55rem 0;
    font-size: 0.95rem;
  }

  .editorial-masthead {
    padding: 3.8rem 1.25rem 3rem;
  }

  .editorial-masthead h1 {
    font-size: clamp(2.9rem, 13vw, 5rem);
  }

  article {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .guided-callout {
    margin-right: -1rem;
    margin-left: -1rem;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .route-explorer {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
    border-radius: 12px;
  }

  .article-conclusion {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .editorial-masthead {
    gap: 2.75rem;
  }

  .article-deck {
    font-size: 1rem;
  }

  .article-byline {
    font-size: 0.68rem;
  }

  .masthead-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-primary-cta {
    width: 100%;
  }

  .editorial-text-link {
    align-self: center;
  }

  .photo-slot-hero .photo-placeholder,
  .photo-slot-hero .editorial-photo,
  .photo-placeholder,
  .photo-slot-portrait .photo-placeholder {
    min-height: 24rem;
    aspect-ratio: auto;
  }

  .photo-placeholder strong {
    font-size: 1.35rem;
  }

  .article-opening {
    padding-top: 4rem;
  }

  .article-opening > p,
  .story-copy > p,
  .conclusion-copy > p {
    font-size: 0.96rem;
    line-height: 1.82;
  }

  .guided-callout {
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
    padding: 2.4rem 1.6rem;
  }

  .route-explorer {
    padding: 1.35rem;
  }

  .route-explorer-heading {
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .route-tabs {
    display: none;
  }

  .route-explorer-layout {
    gap: 1rem;
  }

  .route-select {
    --route-select-background: #233e35;
    display: grid;
    gap: 0.55rem;
  }

  .route-select-label {
    color: var(--editorial-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .route-select-control {
    position: relative;
  }

  .route-select-trigger::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--editorial-gold);
    border-bottom: 2px solid var(--editorial-gold);
    content: '';
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s;
  }

  .route-select-trigger {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 3.5rem;
    align-items: center;
    padding: 0.85rem 3rem 0.85rem 1rem;
    border: 1px solid rgba(201, 151, 77, 0.75);
    border-radius: 8px;
    outline: none;
    background: var(--route-select-background);
    color: #fff;
    cursor: pointer;
    font: 600 1rem/1.35 'DM Sans', sans-serif;
    text-align: left;
  }

  .route-select-trigger[aria-expanded='true']::after {
    transform: translateY(-30%) rotate(225deg);
  }

  .route-select-trigger:focus-visible {
    border-color: var(--editorial-gold);
    box-shadow: 0 0 0 3px rgba(201, 151, 77, 0.22);
  }

  .route-select-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    z-index: 20;
    display: grid;
    gap: 0.25rem;
    padding: 0.4rem;
    border: 1px solid rgba(201, 151, 77, 0.55);
    border-radius: 10px;
    background: var(--route-select-background);
    box-shadow: 0 18px 40px rgba(2, 13, 9, 0.38);
  }

  .route-select-options[hidden] {
    display: none;
  }

  .route-select-options button {
    position: relative;
    min-height: 3rem;
    padding: 0.7rem 2.6rem 0.7rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 6px;
    outline: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font: 600 0.94rem/1.35 'DM Sans', sans-serif;
    text-align: left;
  }

  .route-select-options button::after {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    color: var(--editorial-gold);
    content: '\2713';
    opacity: 0;
    transform: translateY(-50%);
  }

  .route-select-options button:hover,
  .route-select-options button:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .route-select-options button:focus-visible {
    border-color: rgba(201, 151, 77, 0.65);
  }

  .route-select-options button[aria-selected='true'] {
    background: rgba(201, 151, 77, 0.12);
    color: #fff;
  }

  .route-select-options button[aria-selected='true']::after {
    opacity: 1;
  }

  .route-panel {
    min-height: 0;
    padding: 1.4rem;
  }

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

  .story-band {
    padding: 4.5rem 0;
  }

  .other-routes {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
    padding: 1.5rem;
  }

  .article-conclusion {
    padding: 2rem 1.35rem;
  }

  .conclusion-card {
    padding: 1.5rem;
  }

  .article-more {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-primary-cta,
  .route-tabs button,
  .route-tabs button::before,
  .route-select-trigger::after {
    transition: none;
  }
}
