:root {
  color-scheme: light;
  --paper: #f8f5ec;
  --sheet: #fffdf7;
  --stone: #ede7da;
  --ink: #253644;
  --wine: #672e3d;
  --green: #264b43;
  --muted: #565953;
  --rule: #c8c0ad;
  --gold: #dec78f;
  --serif: "DM Serif Text", Georgia, "Times New Roman", serif;
  --sans: "News Cycle", "Arial Narrow", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.58 var(--sans); }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, h4 { text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 6vw, 6rem); line-height: 1.03; letter-spacing: -.055em; }
h2 { font-size: clamp(2.15rem, 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.045em; }
h3 { font-size: clamp(1.45rem, 2.15vw, 2.1rem); line-height: 1.12; letter-spacing: -.025em; }
a { color: var(--wine); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #217777; outline-offset: 4px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: clamp(1.1rem, 5.7vw, 5.3rem); }
.skip { position: absolute; top: -8rem; left: 1rem; z-index: 4; background: white; padding: .6rem 1rem; }
.skip:focus { top: .3rem; }
.mast { border-top: 5px solid var(--wine); border-bottom: 1px solid var(--rule); }
.top { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); white-space: nowrap; font: 600 clamp(1.25rem, 2vw, 1.75rem)/1 var(--serif); letter-spacing: -.06em; }
.brand i { color: var(--wine); font-weight: 400; }
.bookmark { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--wine); }
.bookmark svg { width: 23px; height: 23px; }
.navlinks, .smallnav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.3rem); }
.navlinks a, .smallnav a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; font-size: .91rem; }
.navlinks a:hover, .smallnav a:hover, [aria-current="page"] { text-decoration: underline !important; text-underline-offset: .4em; }
.mobile-nav { display: none; }
.eyebrow, .label, dt, .crumb, .meta { font: 600 .72rem/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { color: var(--wine); display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; flex: none; }
.label, .meta { color: var(--muted); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.4rem, 4.9vw, 4.7rem); }
.hero h1 { font-size: clamp(4rem, 7.6vw, 7.15rem); line-height: .93; margin-block: 1.3rem 1.25rem; }
.hero h1 em { color: var(--wine); font-weight: 400; }
.intro { max-width: 58ch; font: 1.16rem/1.55 var(--serif); }
.hero .intro { max-width: 39ch; }
.lookup { display: flex; margin-top: 1.7rem; align-items: stretch; max-width: 38rem; border: 1px solid #948b7c; background: var(--sheet); }
.lookup:focus-within { outline: 2px solid #217777; outline-offset: 2px; }
.lookup input { width: 100%; min-width: 0; border: 0; padding: .85rem .65rem; background: transparent; color: var(--ink); }
.lookup input:focus { outline: none; }
.lookup .lens { display: grid; place-items: center; padding-left: .9rem; color: var(--muted); }
.lens svg { width: 20px; height: 20px; }
.lookup button, .button { display: inline-flex; justify-content: center; align-items: center; gap: .6rem; background: var(--wine); color: white; border: 0; font-size: .92rem; font-weight: 600; padding: .8rem 1.3rem; text-decoration: none; white-space: nowrap; }
.lookup button:hover, .button:hover { background: #50222e; color: white; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; font-size: .8rem; color: var(--muted); }
.examples a, .textlink { display: inline-flex; align-items: center; min-height: 44px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section { padding-block: clamp(2.4rem,4.3vw,4.2rem); }
.ruled { border-top: 1px solid var(--rule); }
.section-head { display: flex; justify-content: space-between; gap: 1.3rem; align-items: end; margin-bottom: 1.6rem; }
.section-head h2, .section-head h3 { margin-top: .45rem; }
.textlink { gap: .7rem; font-weight: 600; font-size: .9rem; }
.paper-band { background: var(--stone); border-block: 1px solid var(--rule); }
.collection { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.8rem,2vw,1.8rem); }
.catalog-card { position: relative; border: 1px solid var(--rule); border-top: 4px solid var(--accent,var(--wine)); background: var(--sheet); padding: 1.3rem 1.45rem 1rem; display: flex; flex-direction: column; align-items: start; gap: .65rem; }
.catalog-card p { font-size: .95rem; margin-bottom: .2rem; }
.catalog-card .textlink { margin-top: auto; color: var(--accent,var(--wine)); }
.catalog-card .label { color: var(--accent,var(--wine)); }
.green { --accent: var(--green); }
.ochre { --accent: #735025; }
.split { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(2rem,6vw,6rem); align-items: start; }
.split h2 { margin-block: .65rem 1rem; }
.index-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding: .95rem .1rem; text-decoration: none; color: inherit; }
.row:hover { color: var(--wine); background: #ede6d761; text-decoration: none; }
.row strong { font: 400 1.35rem/1.25 var(--serif); }
.row small { display: block; color: var(--muted); font-size: .87rem; margin-top: .2rem; }
.arrow { color: var(--wine); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-weight: 400; letter-spacing: .04em; padding-top: 1rem; }
.crumb a { display: inline-flex; align-items: center; min-height: 36px; }
.page-heading { padding-block: 2rem 2.65rem; max-width: 59rem; }
.page-heading h1 { margin-block: .65rem 1rem; }
.page-heading .intro { max-width: 60ch; }
.city-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(15rem,.48fr); gap: clamp(2rem,6vw,5rem); align-items: center; }
.city-index { background: var(--stone); border-block: 3px double var(--rule); padding: .8rem 1.4rem; margin-bottom: 1.6rem; }
.city-index a { padding-block: .55rem; color: inherit; display: flex; justify-content: space-between; align-items: center; text-decoration: none; border-bottom: 1px solid var(--rule); }
.city-index a:last-child { border: 0; }
.entry-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(2rem,6vw,6rem); }
.entry-grid > *, .split > *, .city-heading > * { min-width: 0; }
.copy h2 { margin-bottom: .9rem; }
.copy h3 { margin-block: 1.4rem .55rem; }
.copy p { margin-bottom: .85rem; max-width: 69ch; }
.copy .eyebrow { margin-bottom: .8rem; }
.copy section + section { border-top: 1px solid var(--rule); padding-top: 2rem; margin-top: 2rem; }
.desk-note { background: #e7ebe0; border-top: 4px solid var(--green); padding: clamp(1.4rem,3vw,2.4rem); align-self: start; }
.desk-note h2 { font-size: clamp(1.85rem,3vw,2.55rem); }
.desk-note .eyebrow, .desk-note a { color: var(--green); }
.source-note { padding-block: 1.1rem; margin-top: 1.8rem; border-top: 1px dashed var(--rule); font-size: .87rem; color: var(--muted); }
.source-note time { font-weight: 700; }
.two-lists { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.5rem; }
.directory-tools { background: var(--stone); border-block: 1px solid var(--rule); padding-block: 1.2rem; }
.filters { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.filters label { display: grid; gap: .3rem; font-weight: 600; font-size: .85rem; flex: 1 1 12rem; }
.filters input, .filters select { min-width: 0; width: 100%; border: 1px solid #938d80; padding: .7rem; min-height: 46px; background: var(--sheet); color: var(--ink); }
.filters button { background: transparent; border: 1px solid var(--ink); min-height: 46px; padding: .5rem 1rem; color: var(--ink); }
.count { margin-block: .8rem 0; font-size: .9rem; }
.catalogue { margin-top: .8rem; display: grid; column-gap: 2.3rem; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 0; }
.catalogue li { border-top: 1px solid var(--rule); border-bottom: 0; }
.topic-body { padding-block: 2.4rem; border-top: 1px solid var(--rule); }
.topic-body .copy { max-width: 47rem; }
.topic-body aside { border-left: 3px solid var(--rule); padding-left: 1.5rem; }
.related { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.footer { margin-top: 1rem; background: #24383b; color: #fffaf0; padding-block: 2.3rem; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer .brand { color: #fffaf0; }
.footer .brand i { color: #e5c891; }
.footer p { font-size: .86rem; margin-top: .5rem; color: #e2ded2; }
.footer nav { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.footer nav a { color: #fffaf0; font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; }
iframe { width: 100%; border: 1px solid var(--rule); background: var(--sheet); }
@media (max-width: 850px) {
  .top { gap: .7rem; }
  .navlinks { gap: .8rem; }
  .hero { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 1.4rem; }
  .catalog-card { padding: 1rem; }
  .entry-grid, .split { gap: 2rem; }
}
@media (max-width: 700px) {
  .navlinks { display: none; }
  .top { display: block; position: relative; padding-block: 1rem; min-height: 64px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { position: absolute; top: .55rem; right: 0; min-height: 44px; display: flex; align-items: center; gap: .4rem; cursor: pointer; padding: .4rem .6rem; border: 1px solid var(--rule); font-size: .88rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .smallnav { align-items: stretch; margin-top: 1rem; display: grid; gap: 0; border-top: 1px solid var(--rule); }
  .smallnav a { border-bottom: 1px solid var(--rule); }
  .hero, .city-heading, .entry-grid, .split, .two-lists, .catalogue { grid-template-columns: minmax(0,1fr); }
  .hero { gap: 1.6rem; }
  .hero h1 { font-size: clamp(3.7rem,12vw,5.4rem); }
  .hero .intro { font-size: 1.08rem; }
  .collection { grid-template-columns: 1fr; }
  .section-head { flex-wrap: wrap; gap: .15rem 1rem; align-items: center; }
  .city-heading { gap: 0; }
  .page-heading { padding-block: 1.4rem 1.8rem; }
  .page-heading h1 { overflow-wrap: break-word; }
  .city-index { margin-bottom: 1.7rem; }
  .filters { gap: .6rem; }
  .filters label { flex: 1 1 10rem; }
  .footer .wrap { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
