:root {
  color-scheme: light;
  --page: #faf7f0;
  --ink: #27271f;
  --accent: #325849;
  --muted: #545b4c;
  --line: #d7d5c9;
  font: 100%/1.65 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #946323; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, .brand { font-family: Georgia, serif; }
h1 { font-size: clamp(2.65rem, 8vw, 5rem); line-height: 1.03; margin: .4em 0 .32em; }
.skip { position: absolute; inset: 1rem auto auto 1rem; z-index: 2; background: var(--page); padding: .5rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header, .site-footer { margin-inline: auto; max-width: 80rem; padding: 1.1rem clamp(1.1rem, 4vw, 3rem); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--ink); font-weight: bold; font-size: 1.75rem; text-decoration: none; }
.site-footer { color: var(--muted); border-top: 1px solid var(--line); }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(43rem, 77svh); max-width: 80rem; margin: 0 auto 3rem; overflow: hidden; color: white; background: #2b4339; }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: center 48%; z-index: -2; }
.hero::after { content: ""; background: linear-gradient(0deg, #101c17eb, transparent 85%); z-index: -1; }
.hero-copy { padding: clamp(1.5rem, 6vw, 5.5rem); }
.hero-copy p { font-size: 1.25rem; margin: 0 0 1.3rem; }
.button { display: inline-block; background: var(--page); color: #263e34; padding: .7em 1.2em; text-decoration: none; font-weight: 650; }
.button:hover { background: #e6e9de; }
.content { max-width: 70rem; padding: clamp(1.4rem, 6vw, 4rem) clamp(1.1rem, 4vw, 3rem); margin: auto; }
.intro { font-size: 1.2rem; color: var(--muted); }
.entries { padding: 0; list-style: none; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.entries a { display: flex; gap: .35rem 2rem; flex-wrap: wrap; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.entries time { flex-basis: 9rem; }
time { color: var(--muted); }
.article-header { margin-top: 2rem; }
.story > p { max-width: 68ch; font-size: 1.09rem; }
.travel-post .story > p { max-width: none; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-block: 1.7rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.related { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }

.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1.15rem; }
.hero { margin-bottom: 0; }
.hero + .content { padding-bottom: 0; }
.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .65rem;
  list-style: none;
  padding: 0;
}
.destinations a {
  display: block;
  border: 1px solid var(--line);
  padding: .7rem .9rem;
  font-weight: 600;
}
.destinations a:hover { background: #e6e9de; }
.story-figure figure { margin: 1.7rem 0; }
.story-figure figcaption { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.hero { min-height: clamp(24rem, 62svh, 39rem); }
.hero img { object-position: center 50%; }

.cover-photo { border-radius: .35rem; }
.cover-link { display: table; max-width: 100%; margin: 1.5rem 0 2rem; }
.content > .cover-photo, .cover-link > .cover-photo {
  width: auto;
  max-height: 32rem;
  object-fit: contain;
}
.content > .cover-photo { margin: 1.5rem 0 2rem; }
.entries a { align-items: center; gap: .65rem 1.15rem; flex-wrap: nowrap; }
.entries .cover-photo { width: clamp(5rem, 16vw, 9rem); flex: none; aspect-ratio: 8/5; }
.entry-label { display: grid; min-width: 0; gap: .15rem; overflow-wrap: anywhere; }
.entry-label time { font-size: .9rem; }
.destinations { gap: 1rem; }
.destinations a { padding: 0; height: 100%; overflow: hidden; border-radius: .35rem; }
.destinations .cover-photo { width: 100%; aspect-ratio: 5/2; border-radius: 0; }
.destinations a span { display: block; padding: .65rem .9rem; }
