:root {
  --ink: #182123;
  --text: #263336;
  --muted: #667478;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #d8e0dc;
  --forest: #1f5d4b;
  --sea: #286f8a;
  --rust: #a9583b;
  --gold: #c89b3c;
  --night: #121a1d;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 720;
  line-height: 1.12;
}

.site-shell {
  width: min(1180px, calc(100% - 76px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
}

.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
  background: transparent;
  border-bottom: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.site-brand {
  display: grid;
  min-width: 180px;
  text-decoration: none;
}

.site-brand__title {
  color: inherit;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.1;
}

.site-brand__tagline {
  color: currentColor;
  max-width: 360px;
  opacity: .76;
  font-size: 13px;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 8px 10px;
  font: inherit;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 580px;
  color: #fff;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 24, 26, .82), rgba(13, 24, 26, .42) 58%, rgba(13, 24, 26, .22)),
    linear-gradient(0deg, rgba(13, 24, 26, .5), rgba(13, 24, 26, 0) 38%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 76px));
  min-height: 580px;
  margin: 0 auto;
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.hub-hero .eyebrow,
.author-strip .eyebrow {
  color: #f1c96c;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.02;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .92);
  font-size: 24px;
  line-height: 1.32;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__actions a,
.trip-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 760;
  text-decoration: none;
}

.hero__actions a:last-child {
  background: transparent;
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

.section {
  padding: 48px 0;
}

.section--tight {
  padding-top: 38px;
}

.section--white {
  background: var(--surface);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 32px;
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.text-link {
  color: var(--forest);
  font-weight: 800;
}

.text-link--light {
  color: #fff;
}

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

.hub-grid--tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-tile,
.hub-card {
  border-radius: var(--radius);
  text-decoration: none;
}

.hub-tile {
  display: grid;
  align-content: space-between;
  min-height: 150px;
  padding: 18px;
  color: #fff;
}

.hub-tile span,
.hub-card span {
  font-size: 21px;
  font-weight: 720;
  line-height: 1.18;
}

.hub-tile small {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.hub-tile--forest {
  background: var(--forest);
}

.hub-tile--sea {
  background: var(--sea);
}

.hub-tile--rust {
  background: var(--rust);
}

.hub-tile--gold {
  background: #8b6a1f;
}

.hub-card,
.post-card,
.content-card,
.author-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hub-card {
  padding: 22px;
}

.hub-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

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

.post-card {
  overflow: hidden;
}

.post-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #dfe7df;
  text-decoration: none;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__fallback {
  background-size: cover;
  background-position: center;
}

.post-card__fallback--sea {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=82");
}

.post-card__fallback--road,
.wide-story__media {
  background-image: url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1200&q=82");
}

.post-card__fallback--mountain {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=82");
}

.post-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--forest);
  font-weight: 800;
}

.post-card__body {
  padding: 18px;
}

.post-card__meta,
.post-card__category {
  color: var(--sea);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.post-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.post-card--story {
  border-color: rgba(169, 88, 59, .45);
}

.content-layout {
  display: grid;
  gap: 22px;
  padding: 36px 0 64px;
}

.content-card,
.article,
.hub-hero {
  padding: clamp(24px, 4vw, 44px);
}

.content-card--wide {
  max-width: 880px;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--forest);
}

.article {
  background: #fff;
}

.article__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 34px;
  align-items: start;
}

.article h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.6vw, 56px);
}

.article__lead {
  max-width: 740px;
  color: #455256;
  font-size: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-cover,
.entry-content figure,
.entry-content .wp-block-image,
.inline-photo {
  margin: 0;
}

.cover-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px;
}

.cover-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  object-fit: cover;
}

figcaption,
.wp-caption-text,
.wp-element-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.quick-answer,
.story-format {
  max-width: 860px;
  margin: 28px 0;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff8df;
  padding: 16px 18px;
}

.quick-answer p,
.story-format {
  margin-bottom: 0;
}

.article-body,
.entry-content {
  max-width: 760px;
}

.entry-content h2,
.entry-content h3,
.article-body h2,
.article-body h3 {
  line-height: 1.2;
  margin: 34px 0 10px;
}

.entry-content h2,
.article-body h2 {
  font-size: 28px;
}

.entry-content p,
.entry-content li,
.article-body p,
.article-body li {
  font-size: 18px;
}

.entry-content img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption {
  margin: 28px 0;
  border-top: 3px solid var(--forest);
  background: var(--paper);
  padding: 10px;
}

.entry-content figure img,
.entry-content .wp-block-image img,
.entry-content .wp-caption img {
  aspect-ratio: 16 / 9;
}

.trip-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 860px;
  margin-top: 34px;
  border: 1px solid rgba(169, 88, 59, .36);
  border-radius: var(--radius);
  background: #fbf4ec;
  padding: 22px;
}

.trip-box h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.trip-box p {
  margin-bottom: 0;
}

.trip-box a {
  background: var(--rust);
  color: #fff;
  white-space: nowrap;
}

.commercial-box__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: center;
  background: var(--night);
  color: #fff;
}

.hub-hero h1 {
  color: #fff;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 56px);
}

.hub-hero p,
.hub-hero .archive-description {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
}

.hub-map {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

.hub-map span {
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  padding: 9px 12px;
  color: #fff;
  font-weight: 750;
}

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

.topic-list a {
  display: grid;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  text-decoration: none;
}

.topic-list span {
  color: var(--ink);
  font-size: 21px;
  font-weight: 720;
  line-height: 1.18;
}

.topic-list small {
  color: var(--muted);
  font-size: 14px;
}

.wide-story {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.wide-story__media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.wide-story div {
  padding: 26px 26px 26px 0;
}

.wide-story h3 {
  margin: 8px 0 10px;
  font-size: 30px;
}

.wide-story p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.author-box,
.related-posts {
  padding: 24px;
}

.author-strip {
  background: var(--ink);
  color: #fff;
  padding: 48px 0;
}

.author-strip__inner {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.author-strip__photo {
  display: block;
  min-height: 300px;
  border-radius: var(--radius);
  background: url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1200&q=82") center / cover;
}

.author-strip h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 34px;
}

.author-strip p {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.site-footer {
  background: #17201f;
  color: #fff;
  padding: 34px 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
}

.wpcf7-form {
  display: grid;
  gap: 14px;
}

.wpcf7-form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
}

.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}

.wpcf7-submit {
  min-height: 44px;
  background: var(--forest);
  color: #fff;
  font-weight: 760;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 44px, 1180px);
  }

  .site-header__inner {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    padding: 18px 0;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 22px;
    top: 20px;
  }

  .primary-nav {
    display: none;
    width: 100%;
  }

  .nav-open .primary-nav {
    display: block;
  }

  .nav-open.home .site-header {
    background: rgba(18, 26, 29, .96);
  }

  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    padding: 8px 0 0;
  }

  .hero {
    min-height: 540px;
  }

  .hero__content {
    width: min(100% - 44px, 1180px);
    min-height: 540px;
    margin: 0 auto;
    padding-top: 128px;
  }

  .hero__lead {
    font-size: 21px;
  }

  .hub-grid,
  .hub-grid--tiles,
  .post-grid,
  .post-grid--compact,
  .article__top,
  .hub-hero,
  .topic-list,
  .wide-story,
  .trip-box,
  .author-strip__inner,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .cover-figure img {
    aspect-ratio: 16 / 10;
  }

  .wide-story div {
    padding: 0 20px 22px;
  }
}

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

  .section-heading--split {
    align-items: start;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__content {
    width: min(100% - 28px, 1180px);
  }

  .hero__lead,
  .article__lead,
  .hub-hero p {
    font-size: 18px;
  }

  .article h1 {
    font-size: 34px;
  }
}
