@font-face {
  font-family: "Manrope";
  src: url("./fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("./fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --basalt: #17211f;
  --basalt-soft: #23302d;
  --limestone: #f4efe4;
  --paper: #fbf8f1;
  --terracotta: #d8653b;
  --terracotta-dark: #a63e25;
  --pine: #315c4f;
  --water: #47a9a5;
  --sand: #d8c9ad;
  --ink: #18201e;
  --muted: #67706c;
  --line: rgba(24, 32, 30, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--terracotta-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  color: white;
  background: var(--basalt);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  line-height: 1.1;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: var(--terracotta);
}

.brand-mark i {
  position: absolute;
  left: -6px;
  width: 55px;
  height: 17px;
  border: 3px solid var(--basalt);
  border-color: var(--basalt) transparent transparent transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.brand-mark i:nth-child(1) {
  top: 11px;
}

.brand-mark i:nth-child(2) {
  top: 20px;
}

.brand-mark i:nth-child(3) {
  top: 29px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: white;
}

.desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: var(--terracotta);
  content: "";
}

.mobile-nav {
  display: none;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  padding-block: 13px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 16%, rgba(71, 169, 165, 0.18), transparent 25%),
    linear-gradient(135deg, var(--basalt) 0%, #1e302c 65%, #253c36 100%);
}

.topography {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    repeating-radial-gradient(
      ellipse at 84% 45%,
      transparent 0 24px,
      rgba(255, 255, 255, 0.33) 25px 26px,
      transparent 27px 42px
    );
  transform: scale(1.25) rotate(-8deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 80px;
  align-items: center;
  min-height: 500px;
  padding-block: 78px 100px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7.2vw, 6.8rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-intro {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.03rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 31px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.7rem;
  font-weight: 730;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span:not(:last-child)::after {
  margin-left: 22px;
  color: var(--terracotta);
  content: "•";
}

.hero-emblem {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.19);
}

.emblem-ring {
  position: absolute;
  inset: 26px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.emblem-ring::before,
.emblem-ring::after {
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  content: "";
}

.emblem-ring::before {
  top: 50%;
  right: -22px;
  left: -22px;
  height: 1px;
}

.emblem-ring::after {
  top: -22px;
  bottom: -22px;
  left: 50%;
  width: 1px;
}

.emblem-river {
  z-index: 1;
  width: 58px;
  height: 95px;
  border: 8px solid var(--terracotta);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(24deg);
}

.hero-emblem b {
  position: absolute;
  top: 56px;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
}

.hero-emblem small {
  position: absolute;
  bottom: 52px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.fact-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -48px 0 0;
  color: var(--ink);
  background: var(--limestone);
  box-shadow: var(--shadow);
}

.fact-strip div {
  min-height: 112px;
  padding: 25px 30px;
  border-right: 1px solid var(--line);
}

.fact-strip div:last-child {
  border: 0;
}

.fact-strip dt {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 630;
  line-height: 1.15;
}

.fact-strip dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 650;
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 750px);
  gap: 90px;
  justify-content: center;
  padding-block: 105px 120px;
}

.article-rail {
  position: sticky;
  top: 25px;
  align-self: start;
  padding-top: 8px;
}

.rail-label {
  display: block;
  margin-bottom: 16px;
  color: var(--terracotta-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.article-rail li {
  border-bottom: 1px solid var(--line);
}

.article-rail a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}

.article-rail a:hover {
  color: var(--terracotta-dark);
}

.rail-note {
  margin-top: 28px;
  padding: 22px;
  color: white;
  background: var(--pine);
}

.rail-note strong {
  font-family: var(--serif);
  font-size: 1.08rem;
}

.rail-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  line-height: 1.55;
}

.content-section {
  scroll-margin-top: 25px;
  margin-bottom: 78px;
}

.section-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 25px;
}

.section-heading > span {
  padding-top: 8px;
  color: var(--terracotta-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-top: 2px solid var(--terracotta);
}

.content-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 570;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.content-section > p {
  margin: 0 0 21px;
  color: #36403d;
  font-size: 1.01rem;
}

.content-section > p:first-of-type::first-letter {
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: 3.7rem;
  font-weight: 600;
  line-height: 0.72;
  float: left;
  margin: 13px 8px 0 0;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 14px 12px 14px 34px;
  color: #33413d;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 19px;
  left: 5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  content: "";
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.route-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  color: white;
  background: var(--basalt-soft);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.route-card::after {
  position: absolute;
  width: 170px;
  height: 170px;
  right: -65px;
  bottom: -80px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 15px rgba(255, 255, 255, 0.04),
    0 0 0 30px rgba(255, 255, 255, 0.03);
  content: "";
}

.route-card:hover {
  background: var(--pine);
  transform: translateY(-4px);
}

.card-index {
  color: var(--terracotta);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.route-card h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 570;
  line-height: 1.1;
}

.route-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.82rem;
  line-height: 1.55;
}

.card-link {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 28px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-link b {
  color: var(--terracotta);
  font-size: 1rem;
}

.source-box {
  margin-top: 34px;
  padding: 27px 30px;
  border-left: 4px solid var(--water);
  background: #e8f1ed;
}

.source-box strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.source-box ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.source-box a {
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.landscape-grid {
  display: grid;
  gap: 20px;
  margin-top: 33px;
}

.landscape-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}

.landscape-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, transparent 40%, rgba(255, 255, 255, 0.26) 41% 43%, transparent 44%),
    linear-gradient(35deg, var(--terracotta) 0 30%, var(--sand) 31% 55%, var(--pine) 56%);
}

.landscape-art::before,
.landscape-art::after,
.landscape-art span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 48%;
  content: "";
}

.landscape-art::before {
  inset: 22px -60px 50px 20px;
  transform: rotate(18deg);
}

.landscape-art::after {
  inset: 54px -30px 17px -55px;
  transform: rotate(-14deg);
}

.landscape-art span {
  inset: 86px 25px -45px 45px;
}

.landscape-2 .landscape-art {
  background:
    linear-gradient(150deg, transparent 45%, rgba(255, 255, 255, 0.35) 46% 47%, transparent 48%),
    linear-gradient(20deg, var(--pine) 0 35%, var(--water) 36% 62%, var(--basalt-soft) 63%);
}

.landscape-3 .landscape-art {
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.3) 46% 47%, transparent 48%),
    linear-gradient(40deg, var(--sand) 0 30%, var(--terracotta) 31% 51%, var(--basalt) 52%);
}

.landscape-4 .landscape-art {
  background:
    linear-gradient(155deg, transparent 44%, rgba(255, 255, 255, 0.3) 45% 46%, transparent 47%),
    linear-gradient(35deg, var(--water) 0 28%, var(--pine) 29% 59%, #b8a480 60%);
}

.landscape-card > div:last-child {
  padding: 28px 30px;
}

.landscape-card p {
  margin: 0 0 8px;
  color: var(--terracotta-dark);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landscape-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.landscape-card div div {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.related {
  padding-block: 90px;
  background: var(--limestone);
  border-top: 1px solid var(--line);
}

.related h2 {
  margin: 0 0 35px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 560;
  line-height: 1;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.related-grid a {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.related-grid a:hover {
  color: white;
  background: var(--pine);
}

.related-grid span {
  color: var(--terracotta-dark);
  font-size: 0.67rem;
  font-weight: 800;
}

.related-grid small {
  margin-top: auto;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-grid strong {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 580;
  line-height: 1.15;
}

.site-footer {
  padding-block: 70px 25px;
  color: white;
  background: var(--basalt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 70px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid p {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.footer-grid > div > strong {
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.brand) {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-grid > div > a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 65px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.error-content {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 90px;
}

.error-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.error-content > p:not(.eyebrow) {
  max-width: 640px;
  margin: 30px 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  padding: 13px 20px;
  color: white;
  background: var(--terracotta-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    padding: 9px 14px;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    list-style: none;
    text-transform: uppercase;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    right: 0;
    top: 48px;
    min-width: 220px;
    padding: 10px;
    background: var(--basalt-soft);
    box-shadow: var(--shadow);
  }

  .mobile-nav a {
    display: block;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    text-decoration: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px 100px;
  }

  .hero-emblem {
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .article-rail {
    position: static;
  }

  .article-rail ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .article-rail li:nth-child(odd) {
    padding-right: 20px;
  }

  .rail-note {
    display: none;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 75px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.56rem;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .breadcrumbs {
    white-space: nowrap;
    overflow: hidden;
  }

  .hero-grid {
    padding-block: 58px 83px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-meta {
    display: grid;
  }

  .hero-meta span::after {
    display: none;
  }

  .fact-strip {
    grid-template-columns: 1fr;
    margin-top: -35px;
  }

  .fact-strip div {
    min-height: auto;
    padding: 19px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-layout {
    padding-block: 72px 75px;
  }

  .article-rail ol {
    grid-template-columns: 1fr;
  }

  .article-rail li:nth-child(odd) {
    padding-right: 0;
  }

  .content-section {
    margin-bottom: 60px;
  }

  .section-heading {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 12px;
  }

  .content-section h2 {
    font-size: 2rem;
  }

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

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

  .landscape-art {
    min-height: 180px;
  }

  .related {
    padding-block: 70px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
