:root {
  --ink: #15191b;
  --ink-2: #4b5457;
  --ink-3: #737c80;
  --paper: #fbfaf7;
  --panel: #f1efe9;
  --rule: #dad7cf;
  --rule-strong: #15191b;
  --accent: #0d5b58;
  --accent-hover: #083d3b;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Literata", Georgia, Cambria, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  font-synthesis: none;
  line-height: 1.5;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 20rem; background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 650; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1rem; }

.shell { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .6rem .9rem; color: #fff; background: var(--ink); }
.skip-link:focus { top: 1rem; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.5rem; }
.brand { display: inline-flex; }
.header-logo { width: auto; height: 2.1rem; }
[id] { scroll-margin-top: 4.5rem; }
.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a { padding-block: .4rem; color: var(--ink); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); }
.index--explore .site-nav__explore,
.index--travel .site-nav__travel,
.content--article .site-nav__travel,
.content--destination .site-nav__explore,
.content--place .site-nav__explore,
.content--experience .site-nav__explore { border-bottom-color: var(--ink); }

.site-footer { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule-strong); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; padding-block: 2.5rem 3rem; }
.footer-identity { display: flex; align-items: center; gap: 1rem; }
.footer-logo img { width: 4.5rem; }
.footer-identity p { max-width: 22rem; margin: 0; color: var(--ink-2); font-size: .9375rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: center; gap: .5rem 1.75rem; }
.footer-nav a { color: var(--ink); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

/* Shared type */
.kicker { margin: 0 0 .75rem; color: var(--ink-3); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.kicker a { color: var(--ink); text-decoration: none; }
.kicker a:hover { color: var(--accent); text-decoration: underline; }
.standfirst { max-width: 40rem; margin: 0; color: var(--ink-2); font-family: var(--serif); font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.5; }
.rule-heading { padding-top: .75rem; border-top: 1px solid var(--rule-strong); font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

/* Page heads */
.page-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: .75rem 4rem; padding-block: clamp(1.5rem, 2.5vw, 2.25rem) 0; }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.page-head .standfirst { font-size: 1.0625rem; }
.hero { position: relative; margin-top: clamp(1rem, 2vw, 1.5rem); overflow: hidden; background: var(--ink); }
.hero > img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hero__text { position: absolute; inset: auto 0 0; padding: clamp(4rem, 10vw, 9rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); color: #fff; background: linear-gradient(to top, rgb(8 12 14 / 78%), rgb(8 12 14 / 40%) 55%, rgb(8 12 14 / 0%)); }
.hero h1 { max-width: 22ch; font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem); text-shadow: 0 1px 12px rgb(0 0 0 / 25%); }
.hero .kicker, .hero .kicker a { color: rgb(255 255 255 / 88%); }
.hero .kicker a { color: #fff; }
.hero--home > img { aspect-ratio: 5 / 2; }
.hero--home h1 { max-width: 16ch; font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4.25rem); line-height: 1.02; letter-spacing: -.03em; }
.hero__deck { max-width: 36rem; margin: .9rem 0 0; color: rgb(255 255 255 / 90%); font-family: var(--serif); font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); }
.hero__links, .text-links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin: 1.25rem 0 0; }
.hero__links a, .text-links a { color: inherit; font-size: .875rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; }
.hero__links a { color: #fff; }
.text-links a { color: var(--ink); }
.hero__links a::after, .text-links a::after { content: " →"; }
.hero__links a:hover { color: #fff; border-bottom-width: 2px; }
.text-links a:hover { color: var(--accent); }

/* Sections and cards */
.section { padding-top: clamp(2.5rem, 4.5vw, 4rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule-strong); }
.section-head .rule-heading { border-top: 0; }
.section-head a { color: var(--ink-2); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.section-head a::after { content: " →"; }
.section-head a:hover { color: var(--accent); }
.section-head + .grid, .rule-heading + .grid { margin-top: 1.5rem; }

.grid { display: grid; gap: 2.5rem var(--gutter); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: .9rem; background: var(--panel); }
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__meta { display: block; margin-bottom: .35rem; color: var(--ink-3); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card__title { display: block; margin-bottom: .45rem; font-size: 1.1875rem; font-weight: 650; line-height: 1.2; letter-spacing: -.015em; }
.card__excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; color: var(--ink-2); font-family: var(--serif); font-size: .9375rem; line-height: 1.5; }
.card__link:hover .card__title { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.card__link:hover .card__image img { opacity: .92; }
.grid--3 .card__title { font-size: 1.375rem; }

.jump-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.jump-links + .section { padding-top: 2rem; }
.jump-links a { padding: .45rem .8rem; border: 1px solid var(--rule); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.jump-links a span { margin-left: .3rem; color: var(--ink-3); font-weight: 500; }
.jump-links a:hover { border-color: var(--ink); }

/* Content pages */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2.5rem, 6vw, 6rem); padding-top: clamp(2rem, 3.5vw, 3rem); }
.prose { max-width: 42rem; font-family: var(--serif); font-size: 1.125rem; line-height: 1.7; }
.prose p { margin-bottom: 1.15em; }
.prose h2 { margin: 2.5rem 0 1rem; font-family: var(--sans); font-size: 1.5rem; }
.prose > .standfirst { max-width: none; margin-bottom: 1.25rem; color: var(--ink); }
.prose .standfirst + .content-section h2, .prose .intro + .content-section h2 { margin-top: 2rem; }
.prose .intro { font-size: 1.1875rem; }
.section-image { width: 100%; margin: 1.5rem 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 1.5rem 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }
.see-also { margin: 1.75rem 0 0; padding: 1rem 0; border-block: 1px solid var(--rule); font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.see-also span { display: block; margin-bottom: .2rem; color: var(--ink-3); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.see-also a { color: var(--ink); text-decoration: none; }
.see-also a::after { content: " →"; }
.see-also a:hover { color: var(--accent); }
.back-link { margin-top: 2.5rem; font-family: var(--sans); font-size: .875rem; font-weight: 650; }
.back-link a { color: var(--ink); }
.back-link a::before { content: "← "; }

.facts { align-self: start; position: sticky; top: 5rem; border-top: 1px solid var(--rule-strong); }
.facts h2 { padding-block: .75rem; font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.facts ul { margin: 0; padding: 0; list-style: none; }
.facts li { padding-block: .85rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }

.inline-photo { margin: 2rem 0; }
.inline-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }
.related { padding-top: clamp(3rem, 6vw, 5rem); }

/* Utility pages */
.static-page { max-width: 80rem; padding-block: clamp(1.5rem, 2.5vw, 2.25rem) 0; }
.static-page h1 { max-width: 20ch; margin-bottom: 1rem; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.static-page > * { max-width: 42rem; }
.static-page > h1 { max-width: 20ch; }
.static-page .lede { margin-bottom: 2rem; color: var(--ink-2); font-family: var(--serif); font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); }
.static-page h2 { margin: 2.25rem 0 .5rem; font-size: 1.125rem; letter-spacing: -.01em; }
.static-page p { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; }
.preview-bar { margin: 0; padding: .6rem var(--gutter); color: #fff; font-size: .875rem; text-align: center; background: var(--accent); }
.preview-bar a, .preview-bar a:hover { color: #fff; }
.notice { margin-block: 1.5rem 2rem; padding: 1rem 1.25rem; border-left: 2px solid var(--ink); background: var(--panel); }
.not-found { padding-block: clamp(2rem, 5vw, 4rem) 0; }
.not-found h1 { max-width: 16ch; margin-bottom: 1rem; font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); }

@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 16rem; }
}

@media (max-width: 860px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { grid-template-columns: 1fr; }
  .hero { width: 100%; margin-top: 0; }
  .hero > img, .hero--home > img { aspect-ratio: 4 / 3; }
  .article-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header__inner { min-height: 3.25rem; }
  .header-logo { height: 1.9rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .75rem; letter-spacing: .06em; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; gap: 2rem; }
  .prose { font-size: 1.0625rem; }
}
