:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1f2933;
  --muted: #52606d;
  --line: rgba(82, 96, 109, 0.16);
  --accent: #9d6b2f;
  --accent-soft: #efe3d2;
  --shadow: 0 18px 50px rgba(31, 41, 51, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(157, 107, 47, 0.16), transparent 32%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
  color: var(--text);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(78, 52, 24, 0.9), rgba(157, 107, 47, 0.82)),
    #6f4c27;
  color: white;
  box-shadow: var(--shadow);
}

.hero__content {
  max-width: 760px;
}

.hero-media {
  position: relative;
  margin-top: 18px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-media__figure {
  position: relative;
  margin: 0;
}

.hero-media__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
}

.hero-media img {
  display: block;
  width: 100%;
  height: min(52vw, 500px);
  min-height: 280px;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 46px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dot.is-active {
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.95;
}

.hero__lede {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero__badges,
.pill-list,
.people-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__badges span,
.pill-list li,
.people-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.people-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.people-list a:hover {
  text-decoration: underline;
}

.content {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.accent-card {
  background: linear-gradient(180deg, #fff8ef, #f8ead7);
}

.stack {
  display: grid;
  gap: 12px;
}

.stack p,
.timeline__content p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.stay-figure {
  margin: 0 0 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.stay-figure img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.facts {
  display: grid;
  gap: 12px;
}

.route-card {
  overflow: hidden;
}

.route-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  align-items: center;
}

.route-map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7efe2;
}

.route-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.route-map--small {
  margin-bottom: 16px;
}

.map-label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 20px;
  fill: #6c5a45;
}

.map-label--strong {
  font-size: 22px;
  font-weight: 700;
  fill: #3d2d19;
}

.route-panel,
.route-copy {
  display: grid;
  gap: 16px;
}

.walk-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.walk-subcard {
  padding: 20px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.walk-legs,
.walk-stops {
  display: grid;
  gap: 12px;
}

.walk-leg,
.walk-stop {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fcfaf6;
  border: 1px solid var(--line);
}

.walk-leg__top,
.walk-stop__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.walk-leg__meta,
.walk-stop__meta {
  color: var(--accent);
  font-weight: 600;
}

.walk-leg p,
.walk-stop p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.route-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.route-stat {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.route-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.route-notes {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.village-copy {
  gap: 12px;
}

.village-card .route-layout {
  gap: 16px;
  align-items: start;
}

.village-media {
  display: grid;
  gap: 14px;
}

.village-card .route-panel,
.village-card .route-copy {
  gap: 12px;
}

.village-card .route-stat {
  padding: 12px 14px;
}

.village-card .route-notes {
  line-height: 1.55;
}

.village-sections {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.village-sections .walk-subcard {
  padding: 16px;
}

.village-sections .walk-stops {
  gap: 10px;
}

.stop-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.stop-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.stop-item__meta {
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 600;
}

.weather-card {
  padding: 16px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.weather-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.weather-card__header h3 {
  margin-bottom: 0;
}

.weather-card__status {
  margin-bottom: 0;
  color: var(--muted);
}

.weather-forecast {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.weather-day {
  padding: 12px;
  border-radius: 18px;
  background: #fcfaf6;
  border: 1px solid var(--line);
}

.weather-day__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.weather-day__icon {
  font-size: 1.2rem;
}

.weather-day__summary,
.weather-day__temp,
.weather-day__rain {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.weather-day__temp {
  margin-top: 6px;
  color: var(--text);
  font-weight: 700;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.button-link--secondary {
  background: var(--accent-soft);
  color: var(--text);
}

.fact {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
}

.articles-intro {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.7;
}

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

.article-card {
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.article-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.article-card__content {
  padding: 20px;
}

.article-card__lede,
.article-card__body p,
.article-card__sources {
  color: var(--muted);
  line-height: 1.7;
}

.article-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.article-card__facts li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.92rem;
}

.article-card__body {
  display: grid;
  gap: 12px;
}

.article-card__sources {
  margin-top: 14px;
  font-size: 0.92rem;
}

.article-card__sources a {
  color: var(--accent);
}

.crew-card .article-card__image {
  height: 280px;
}

.crew-story {
  margin-top: 22px;
}

.story-links,
.timeline__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.story-links {
  margin-top: 20px;
}

.timeline__actions {
  margin-top: 18px;
}

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

.timeline {
  display: grid;
  gap: 18px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline__date {
  padding-top: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.timeline__content {
  position: relative;
  padding: 18px 18px 18px 22px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.timeline__content::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(157, 107, 47, 0.12);
}

.timeline__content ul,
.check-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.check-list li::marker {
  color: var(--accent);
}

@media (max-width: 900px) {
  .grid--three,
  .grid--two,
  .articles-grid,
  .timeline__item,
  .route-layout,
  .route-stats,
  .walk-sections,
  .weather-forecast {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .timeline__date {
    padding-top: 0;
  }

  .timeline__content::before {
    left: 18px;
    top: -9px;
  }

  .hero-media figcaption {
    bottom: 40px;
    font-size: 0.92rem;
  }
}
