@font-face {
  font-family: Inter;
  src: url("/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Patua One";
  src: url("/fonts/PatuaOne.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #22312a;
  --muted: #526058;
  --line: #d9d9cc;
  --ochre: #9d4e37;
  --white: #fffdf8;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
img { display: block; width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: 1rem; left: 1rem; translate: 0 -200%; background: var(--white); padding: .7rem 1rem; }
.skip:focus { translate: 0; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 83px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.wordmark { width: max-content; font: 42px/.9 "Patua One", Georgia, serif; letter-spacing: -.045em; text-decoration: none; }
.wordmark span { color: var(--ochre); }
.header-row nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.3rem); }
.header-row nav a, .site-footer nav a { font-weight: 600; font-size: .9rem; text-decoration: none; }
.header-row nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.search-toggle { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 43px; padding: .5rem .95rem; font-size: .88rem; font-weight: 650; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 5rem; }
.search-toggle:hover { background: var(--white); }
.search-icon { display: inline-block; width: .83rem; height: .83rem; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; right: -.28rem; bottom: -.1rem; width: .34rem; height: 1.6px; background: currentColor; rotate: 45deg; }

.home { padding-top: 30px; }
.front-page { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; min-height: clamp(480px, 46vw, 640px); }
.hero, .dispatch { position: relative; display: flex; isolation: isolate; align-items: end; overflow: hidden; background: #3d4b43; color: var(--white); text-decoration: none; }
.hero img, .dispatch img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hero:hover img, .dispatch:hover img, .guide-card a:hover img { transform: scale(1.035); }
.hero::after, .dispatch::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #101b17ed 0%, #101b1770 42%, transparent 83%); }
.hero-content { padding: clamp(1.5rem, 4.2vw, 4rem); max-width: 54rem; }
.eyebrow { font-size: .78rem; font-weight: 770; letter-spacing: .10em; text-transform: uppercase; }
.eyebrow span { opacity: .66; margin-inline: .22em; }
.hero h1 { font: 500 clamp(3rem, 5.6vw, 6.1rem)/.96 var(--display); letter-spacing: -.055em; text-wrap: balance; margin: .65rem 0 1rem; }
.hero-summary { max-width: 39ch; font-size: clamp(.96rem, 1.3vw, 1.15rem); color: #f4f0e5; }
.hero-action { display: inline-block; padding: .65rem 1.05rem; margin-top: 1.3rem; background: var(--white); color: var(--ink); border-radius: 2px; font-weight: 700; font-size: .88rem; }
.dispatches { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.dispatch > div { padding: clamp(1.1rem, 2.2vw, 2rem); }
.dispatch h2 { font: 500 clamp(1.55rem, 2.6vw, 2.75rem)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; margin-top: .45rem; }

.destinations { margin: clamp(3.1rem, 7vw, 6rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 1.55rem; }
.section-head h2, .related > h2 { font: 500 clamp(2.25rem, 4.5vw, 4rem)/1 var(--display); letter-spacing: -.05em; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { border: 1px solid var(--line); border-radius: 2rem; padding: .47rem .8rem; background: transparent; color: var(--ink); font-weight: 650; font-size: .81rem; min-height: 38px; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters button:hover:not([aria-pressed="true"]) { border-color: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.guide-card { min-width: 0; }
.guide-card > a { display: block; height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: var(--white); border: 1px solid var(--line); }
.guide-card img { object-fit: cover; aspect-ratio: 4/3; height: auto; background: #acb0a1; transition: transform .45s ease; }
.card-copy { position: relative; background: var(--white); padding: 1.15rem clamp(.95rem, 2vw, 1.55rem) 1.45rem; }
.card-copy .eyebrow, .article-header .eyebrow, .about .eyebrow { color: var(--ochre); }
.card-copy h3 { font: 500 clamp(1.5rem, 2.5vw, 2.25rem)/1.06 var(--display); letter-spacing: -.04em; margin: .45rem 0 .6rem; }
.guide-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.card-summary { color: var(--muted); font-size: .91rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .86rem; padding-top: 2rem; }
.breadcrumb a { text-underline-offset: .2em; }
.article-header { max-width: 910px; margin: clamp(2.5rem, 5vw, 5rem) auto 2.15rem; text-align: center; }
.article-header h1, .about h1 { font: 500 clamp(2.65rem, 6.5vw, 6.1rem)/.98 var(--display); letter-spacing: -.055em; text-wrap: balance; margin: .6rem 0 1rem; }
.lede { max-width: 54ch; margin-inline: auto; font-size: clamp(1.04rem, 1.8vw, 1.27rem); color: var(--muted); }
.byline { margin-top: 1.05rem; font-weight: 700; font-size: .92rem; }
.archive-credit { margin-top: .25rem; color: var(--muted); font-size: .86rem; }
.article-photo { max-width: 980px; margin-inline: auto; }
.article-photo img { aspect-ratio: 16/9; object-fit: cover; height: auto; background: #acb0a1; }
.article-body { max-width: 690px; margin: 2.6rem auto clamp(3rem, 7vw, 5.5rem); }
.article-body h2 { font: 500 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--display); letter-spacing: -.035em; margin-bottom: .65rem; }
.article-body p { line-height: 1.75; }
.article-body > p + p, .article-body > ul + p, .article-body > ol + p { margin-top: 1rem; }
.article-body section + section, .article-body > h2, .about h2 { margin-top: 2rem; }
.article-body a { text-underline-offset: .2em; }
.planning { border: 1px solid var(--line); background: var(--white); padding: 1.2rem 1.4rem; margin-top: 2rem; }
.planning h2 { font-size: 1.58rem; }
.related { border-top: 1px solid var(--line); margin: 0 auto 4rem; padding-top: 1.5rem; }
.related > h2 { margin-bottom: 1.3rem; }
.related .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; }
.about { min-height: 54vh; margin-top: clamp(3.5rem, 10vw, 8rem); }
.about h1 { font-size: clamp(2.75rem, 6vw, 5.2rem); }
.about p + p { margin-top: 1rem; }

.site-footer { background: var(--ink); color: var(--white); }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 2.2rem; }
.footer-row .wordmark { font-size: 38px; }
.footer-row .wordmark span { color: #e38a69; }
.footer-row p { margin-top: .45rem; font-size: .9rem; color: #e2e3d7; }

.search-dialog { position: fixed; top: min(12vh, 7rem); width: min(620px, calc(100% - 32px)); max-height: 77vh; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 2rem) 1.3rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: .4rem; }
.search-dialog::backdrop { background: #14231ec2; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .65rem; }
.dialog-head h2 { font: 500 2rem var(--display); }
.icon-close {
  display: grid;
  place-items: center;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}
.icon-close::before, .icon-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.icon-close::before { rotate: 45deg; }
.icon-close::after { rotate: -45deg; }
.icon-close:hover { background: var(--line); }
.search-dialog input { width: 100%; padding: .76rem .85rem; color: var(--ink); border: 1px solid #8d978a; border-radius: .25rem; background: var(--white); }
.search-status { color: var(--muted); padding-top: .8rem; font-size: .86rem; }
.search-results { list-style: none; padding: 0; margin: .45rem 0 0; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: block; padding: .65rem .25rem; text-decoration: none; font-weight: 650; }
.search-results a:hover { text-decoration: underline; }
.search-results small { display: block; color: var(--muted); font-weight: 500; margin-top: .15rem; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .front-page { grid-template-columns: 1.65fr 1fr; min-height: 460px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { min-height: 69px; gap: .55rem; grid-template-columns: auto 1fr auto; }
  .header-row nav { justify-content: center; gap: .65rem; }
  .header-row nav a { font-size: .8rem; }
  .wordmark { font-size: 33px; }
  .search-toggle { min-height: 40px; gap: .45rem; padding: .4rem .65rem; font-size: .76rem; }
  .home { padding-top: 16px; }
  .front-page { display: block; }
  .hero { min-height: 440px; }
  .hero h1 { font-size: clamp(2.65rem, 8.5vw, 3.65rem); text-wrap: initial; }
  .dispatches { grid-template: auto / 1fr 1fr; gap: 8px; margin-top: 8px; }
  .dispatch { min-height: 210px; }
  .dispatch h2 { font-size: clamp(1.25rem, 5vw, 1.65rem); text-wrap: initial; }
  .dispatch > div { padding: .85rem; }
  .dispatch .eyebrow { font-size: .66rem; }
  .guide-grid { gap: .8rem; }
  .card-copy h3 { font-size: 1.47rem; }
  .card-copy .eyebrow { font-size: .67rem; letter-spacing: .06em; }
  .card-summary { font-size: .85rem; }
  .article-photo img { aspect-ratio: 4/3; }
}

@media (max-width: 395px) {
  .guide-grid, .related .guide-grid { grid-template-columns: 1fr; }
  .search-toggle span:last-child { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .search-toggle { width: 41px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.header-row nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .28em; }
.site-footer .footer-row { align-items: start; gap: 2rem 3rem; padding-block: 2.8rem; }
.site-footer .footer-nav { align-items: start; gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap; }
.footer-nav > div { display: grid; gap: .45rem; }
.footer-nav h2 { font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: #dedfce; margin-bottom: .22rem; }
.byline a { text-underline-offset: .2em; }
.collection-page { padding-block: clamp(2.5rem, 6vw, 5rem); }
.collection-page > h1 { font: 500 clamp(2.8rem, 6vw, 5.4rem)/1 var(--display); letter-spacing: -.05em; margin-top: .4rem; }
.collection-intro { max-width: 68ch; }
.collection-intro > p { margin-top: 1rem; }
.team-section { margin-top: 2.3rem; }
.team-section > h2 { font: 500 clamp(1.9rem, 3vw, 2.65rem)/1.1 var(--display); letter-spacing: -.035em; margin-bottom: .9rem; }
.founders, .writer-list { list-style: none; padding: 0; margin-top: 1rem; }
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.founders li { background: var(--white); border: 1px solid var(--line); padding: 1.15rem; }
.founders h3 { font: 500 1.5rem/1.1 var(--display); margin-bottom: .6rem; }
.founders a, .writer-list a { text-underline-offset: .18em; }
.founders p { color: var(--muted); }
.writer-list { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.historical-note { color: var(--muted); }
.archive-policy { border: 1px solid var(--line); background: var(--white); padding: 1rem 1.2rem; margin-top: 1.25rem; }
.archive-policy summary { cursor: pointer; font-weight: 700; }
.archive-policy h2 { font-size: 1.6rem; }

@media (max-width: 700px) {
  .founders { grid-template-columns: 1fr; }
}

@media (max-width: 395px) {
  .header-row { grid-template-columns: 1fr auto; gap: .65rem; padding-block: .7rem; }
  .header-row nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: 1.1rem; }
  .header-row .search-toggle { grid-row: 1; grid-column: 2; }
}

.archive-welcome {
  position: fixed;
  z-index: 5;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  width: min(26rem, calc(100% - 2rem));
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ochre);
  border-radius: .5rem;
  background: var(--white);
  box-shadow: 0 .75rem 2.5rem #14231e30;
}
.archive-dismiss { position: absolute; inset-inline-end: .7rem; inset-block-start: .7rem; }
.archive-welcome h2 { margin: 0 3rem .45rem 0; font: 500 1.5rem/1.12 var(--display); }
.archive-welcome p { color: var(--muted); font-size: .9rem; }
.archive-welcome a { display: inline-block; margin-top: .65rem; font-size: .88rem; font-weight: 650; text-underline-offset: .2em; }
