:root {
  --obsidian: #080706;
  --charcoal: #15120f;
  --charcoal-soft: #201a15;
  --gold: #c89b3c;
  --soft-gold: #f3d27a;
  --stone: #b9a889;
  --ivory: #f6f1e8;
  --sand: #a89b84;
  --emerald: #2e7d66;
  --line: rgba(243, 210, 122, 0.18);
  --panel: rgba(21, 18, 15, 0.82);
  --panel-strong: rgba(8, 7, 6, 0.92);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(200, 155, 60, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 26%, rgba(46, 125, 102, 0.16), transparent 24rem),
    linear-gradient(180deg, #080706 0%, #15120f 46%, #080706 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(246, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 58% 18%, transparent 0 32px, rgba(200, 155, 60, 0.08) 33px 34px, transparent 35px 64px),
    repeating-radial-gradient(ellipse at 16% 74%, transparent 0 42px, rgba(185, 168, 137, 0.06) 43px 44px, transparent 45px 80px);
  opacity: 0.58;
  animation: driftContours 28s linear infinite;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--soft-gold);
}

:focus-visible {
  outline: 2px solid var(--soft-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--soft-gold);
  color: var(--obsidian);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem;
}

.nav-shell {
  width: min(var(--max), calc(100vw - 1.5rem));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(243, 210, 122, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 7, 6, 0.76);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-sigil {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 210, 122, 0.42);
  border-radius: 50%;
  color: var(--soft-gold);
  background: linear-gradient(145deg, rgba(200, 155, 60, 0.2), rgba(46, 125, 102, 0.12));
}

.nav-links {
  display: none;
}

.nav-links a,
.site-footer nav a {
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  gap: 5px;
  justify-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 210, 122, 0.28);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--soft-gold);
}

.nav-shell.is-open {
  grid-template-columns: 1fr auto;
}

.nav-shell.is-open .nav-links {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.4rem;
  padding: 0.7rem 0.15rem 0.2rem;
}

.nav-shell.is-open .nav-links a {
  padding: 0.75rem;
  border: 1px solid rgba(243, 210, 122, 0.16);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.04);
}

.nav-links a.is-active {
  color: var(--soft-gold);
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(2.8rem, 7vw, 7rem) 1rem 4rem;
  overflow: clip;
}

.ambient-contours {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.95) 0%, rgba(8, 7, 6, 0.62) 58%, rgba(8, 7, 6, 0.8) 100%),
    url("../images/topography-bg.webp") center / cover no-repeat;
  opacity: 0.28;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--soft-gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: min(680px, 100%);
  margin-bottom: 1.15rem;
  font-size: clamp(2.35rem, 5.4vw, 4.8rem);
  line-height: 0.94;
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6.5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  color: var(--ivory);
  font-size: 1.05rem;
}

p {
  color: rgba(246, 241, 232, 0.78);
  line-height: 1.75;
}

.hero-lead {
  max-width: min(690px, 100%);
  margin-bottom: 1.45rem;
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  max-width: 100%;
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #1a1208;
  background: linear-gradient(135deg, var(--soft-gold), var(--gold));
  box-shadow: 0 18px 48px rgba(200, 155, 60, 0.24);
}

.button-primary:hover {
  color: #1a1208;
}

.button-secondary {
  border: 1px solid rgba(243, 210, 122, 0.34);
  color: var(--ivory);
  background: rgba(246, 241, 232, 0.05);
}

.route-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.route-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.route-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--soft-gold);
  box-shadow: 0 0 0 5px rgba(243, 210, 122, 0.12);
}

.hero-map {
  position: relative;
  min-height: clamp(360px, 58vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(243, 210, 122, 0.2);
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-map img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: sepia(0.42) saturate(0.82) brightness(0.7) contrast(1.08);
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.08), rgba(8, 7, 6, 0.82)),
    repeating-radial-gradient(ellipse at 62% 28%, transparent 0 22px, rgba(243, 210, 122, 0.12) 23px 24px, transparent 25px 44px);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.trail-line {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.trail-line path {
  fill: none;
  stroke: var(--soft-gold);
  stroke-width: 3;
  stroke-dasharray: 10 12;
  opacity: 0.82;
  filter: drop-shadow(0 0 10px rgba(243, 210, 122, 0.5));
  animation: trailDash 16s linear infinite;
}

.marker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 180px;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(243, 210, 122, 0.3);
  border-radius: var(--radius);
  color: var(--ivory);
  background: rgba(8, 7, 6, 0.78);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
}

.marker::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--soft-gold);
  box-shadow: 0 0 0 7px rgba(243, 210, 122, 0.12), 0 0 22px rgba(243, 210, 122, 0.9);
}

.marker-a {
  left: 8%;
  bottom: 17%;
}

.marker-b {
  right: 10%;
  top: 20%;
}

.marker-c {
  left: 46%;
  top: 52%;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  font-size: 1.04rem;
}

.trail-board {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  border: 1px solid rgba(243, 210, 122, 0.2);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.trail-board > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.6) sepia(0.6) contrast(1.1);
}

.trail-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(200, 155, 60, 0.2), transparent 18rem),
    radial-gradient(circle at 72% 72%, rgba(46, 125, 102, 0.2), transparent 20rem),
    linear-gradient(135deg, rgba(8, 7, 6, 0.48), rgba(8, 7, 6, 0.84));
}

.trail-route {
  position: absolute;
  inset: 9% 9%;
  border: 2px dashed rgba(243, 210, 122, 0.35);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 16px rgba(243, 210, 122, 0.18));
}

.hotspot-card,
.benefit-card,
.featured-card,
.closing-panel,
.faq-item {
  border: 1px solid rgba(243, 210, 122, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(32, 26, 21, 0.88), rgba(8, 7, 6, 0.88));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.hotspot-card {
  position: absolute;
  z-index: 2;
  width: min(320px, calc(100% - 2rem));
  padding: 1.05rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.hotspot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 210, 122, 0.42);
}

.hotspot-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  color: #160f08;
  background: var(--soft-gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.card-one {
  left: 6%;
  top: 8%;
}

.card-two {
  right: 8%;
  top: 18%;
}

.card-three {
  left: 12%;
  top: 42%;
}

.card-four {
  right: 10%;
  bottom: 18%;
}

.card-five {
  left: 30%;
  bottom: 8%;
}

.featured-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.featured-media {
  position: relative;
  min-height: 300px;
  background: var(--charcoal);
}

.featured-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: sepia(0.35) saturate(0.9) brightness(0.62);
}

.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.72));
}

.floating-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(243, 210, 122, 0.34);
  border-radius: var(--radius);
  color: var(--soft-gold);
  background: rgba(8, 7, 6, 0.76);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-copy {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.featured-copy p {
  max-width: 620px;
}

.why-section {
  position: relative;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 3rem 50% auto auto;
  width: min(640px, 74vw);
  height: 520px;
  z-index: -1;
  background: url("../images/stone-texture.webp") center / cover no-repeat;
  opacity: 0.1;
  mask-image: radial-gradient(circle, #000, transparent 70%);
}

.benefit-grid {
  display: grid;
  gap: 0.9rem;
}

.benefit-card {
  padding: 1.15rem;
}

.benefit-card p {
  margin-bottom: 0;
}

.article-section {
  width: min(1240px, calc(100% - 2rem));
}

.article-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(243, 210, 122, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 7, 6, 0.6);
}

.article-aside a {
  color: rgba(246, 241, 232, 0.78);
  font-weight: 800;
}

.article-content {
  padding: clamp(1.2rem, 4vw, 3.2rem);
  border: 1px solid rgba(243, 210, 122, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 7, 6, 0.62);
}

.article-content h2 {
  margin-top: 2.35rem;
  font-size: clamp(1.8rem, 4.5vw, 3.35rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content a {
  color: var(--soft-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem;
  color: var(--ivory);
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.closing-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 clamp(4rem, 8vw, 7rem);
}

.closing-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.closing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.9), rgba(8, 7, 6, 0.58)),
    url("../images/topography-bg.webp") center / cover no-repeat;
  opacity: 0.65;
}

.closing-panel h2 {
  max-width: 850px;
}

.closing-panel p:not(.eyebrow) {
  max-width: 640px;
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(243, 210, 122, 0.16);
}

.site-footer p {
  max-width: 620px;
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes trailDash {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes driftContours {
  to {
    transform: translate3d(-24px, -18px, 0);
  }
}

@media (min-width: 720px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    padding-inline: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav-cta {
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius);
    color: #1a1208;
    background: var(--soft-gold);
    font-size: 0.82rem;
    font-weight: 900;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
    align-items: center;
  }

  .featured-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .article-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (max-width: 719px) {
  h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.55rem);
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 0.4rem);
    padding-inline: 0.85rem;
  }

  .hero-map {
    min-height: 430px;
  }

  .marker {
    font-size: 0.72rem;
  }

  .marker-a {
    left: 5%;
    bottom: 12%;
  }

  .marker-b {
    right: 4%;
    top: 16%;
  }

  .marker-c {
    left: 28%;
    top: 50%;
  }

  .trail-board {
    min-height: auto;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
  }

  .trail-route {
    display: none;
  }

  .hotspot-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .hero-grid,
  .section,
  .closing-section,
  .site-footer {
    width: min(358px, calc(100vw - 2rem));
  }

  .nav-shell,
  .hero-grid {
    margin-left: 0;
    margin-right: auto;
  }

  .section,
  .closing-section,
  .site-footer {
    margin-left: 1rem;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
