:root {
  --ink: #17201f;
  --ink-soft: #45504e;
  --muted: #6b7370;
  --paper: #f7f5f0;
  --paper-deep: #e6e1d6;
  --line: #ded8cc;
  --sea: #17414f;
  --sea-light: #8fb3bd;
  --gold: #8a7c62;
  --white: #fff;
  --content: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.5;
}

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

a {
  color: var(--sea);
}

a:hover {
  color: #0c2a33;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(247 245 240 / 94%);
  backdrop-filter: blur(8px);
}

.header-inner,
.section-inner,
.hero,
.region-section,
.season-section,
.directory-section,
.footer-inner,
.footer-bottom {
  width: min(var(--content), calc(100% - 36px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 14px;
}

.brand {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.9rem;
}

.main-nav a {
  color: #4a4f4e;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--sea);
}

.hero {
  padding-top: clamp(42px, 8vw, 76px);
}

.eyebrow,
.region-number,
.season-months,
.destination-card span,
.footer-heading {
  margin: 0;
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.region-copy h3,
.topic-card h3,
.season-card h3,
.directory-heading h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 18ch;
  margin: 22px 0 20px;
  font-size: clamp(2.5rem, 7.2vw, 4.5rem);
  line-height: 1.03;
}

.hero-intro {
  max-width: 64ch;
  margin: 0 0 clamp(30px, 5vw, 46px);
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

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

.media-card,
.region-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.media-card {
  aspect-ratio: 4 / 3;
}

.media-card img,
.region-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card figcaption,
.region-media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 14px 12px;
  color: var(--white);
  background: linear-gradient(to top, rgb(0 0 0 / 65%), transparent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 clamp(62px, 10vw, 100px);
  border: 1px solid var(--line);
  background: var(--line);
}

.fact {
  padding: 20px;
  background: var(--paper);
}

.fact strong {
  display: block;
  color: var(--sea);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.section-title,
.directory-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.section-lead,
.directory-heading p {
  max-width: 64ch;
  margin: 0 0 54px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.65;
}

.region-article {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(34px, 6vw, 54px);
  border-top: 1px solid var(--line);
}

.region-article:last-of-type {
  border-bottom: 1px solid var(--line);
}

.region-media {
  aspect-ratio: 3 / 4;
}

.region-number {
  margin-top: 14px;
}

.region-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.region-copy p {
  max-width: 68ch;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.08rem);
  line-height: 1.72;
}

.place-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.place-links a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.88rem;
  text-decoration: none;
}

.place-links a:hover {
  border-color: var(--sea);
  color: var(--white);
  background: var(--sea);
}

.extra-destination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 26px;
  color: var(--muted);
}

.extra-destination p {
  margin: 0;
}

.extra-destination a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
}

.topics-section {
  margin-top: clamp(70px, 10vw, 104px);
  color: var(--white);
  background: var(--sea);
}

.section-inner {
  padding-block: clamp(58px, 9vw, 92px);
}

.topics-section .section-lead {
  color: #b3c7cd;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 16%);
}

.topic-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 30px 26px;
  color: var(--white);
  background: var(--sea);
  text-decoration: none;
}

.topic-card:hover {
  color: var(--white);
  background: #1d5364;
}

.topic-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.topic-card p {
  margin: 0 0 20px;
  color: #c4d3d7;
  font-size: 0.95rem;
  line-height: 1.65;
}

.topic-card small {
  margin-top: auto;
  color: var(--sea-light);
  font-family: "IBM Plex Mono", monospace;
}

.season-section {
  padding-top: clamp(60px, 9vw, 94px);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.season-card {
  padding-top: 18px;
  border-top: 2px solid var(--sea);
}

.season-card h3 {
  margin: 10px 0;
  font-size: 1.7rem;
}

.season-card p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.directory-section {
  padding-block: clamp(70px, 10vw, 108px);
}

.directory-top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.directory-heading p {
  margin-bottom: 0;
}

.search-field {
  display: grid;
  width: min(100%, 320px);
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.search-field input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--white);
}

.search-field input:focus {
  border-color: var(--sea);
  outline: 3px solid rgb(23 65 79 / 12%);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3a413f;
  background: var(--white);
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--sea);
  color: var(--white);
  background: var(--sea);
}

.filter-button span {
  margin-left: 6px;
  opacity: 0.65;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.destination-card {
  display: flex;
  min-width: 0;
  min-height: 136px;
  flex-direction: column;
  gap: 8px;
  padding: 19px 20px 17px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.destination-card:hover {
  color: var(--ink);
  background: #eef3f3;
}

.destination-card strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
}

.destination-card small {
  margin-top: auto;
  overflow-wrap: anywhere;
  color: var(--sea);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
}

.empty-state {
  margin: 32px 0 0;
  color: var(--muted);
}

.site-footer {
  color: #aeb7b5;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding-block: 54px 34px;
}

.footer-brand {
  margin: 0 0 12px;
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
}

.footer-copy {
  max-width: 48ch;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-heading {
  margin-bottom: 14px;
  color: #77817f;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-bottom a {
  color: #d0d7d5;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px 38px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.82rem;
}

.legal-links {
  display: flex;
  gap: 22px;
}

@media (max-width: 920px) {
  .facts,
  .season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    gap: 8px 16px;
  }

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

  .media-card {
    aspect-ratio: 16 / 10;
  }

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

  .region-media {
    aspect-ratio: 16 / 10;
  }

  .directory-top {
    align-items: stretch;
  }

  .search-field {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .facts,
  .season-grid,
  .topic-grid,
  .destination-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }

  .destination-card {
    min-height: 120px;
  }
}

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