@import url("./guide-pages.css");
@import url("./gateway-atlas.css");

:root {
  color-scheme: light;
  --paper: #f4f3eb;
  --sheet: #fffef7;
  --ink: #1b302e;
  --deep: #192d2d;
  --body: #33443f;
  --muted: #53645b;
  --rule: #b9c2b5;
  --wash: #e3e8db;
  --gold: #f7cb64;
  --rust: #964522;
  --sans: Barlow, "Helvetica Neue", Arial, sans-serif;
  --road: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { text-size-adjust: 100%; }
body { margin: 0; color: var(--body); background: var(--paper); font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
.wrap { width: min(1312px, 91.5%); margin-inline: auto; }
a { color: var(--ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid #b14c20; outline-offset: 4px; }
.mast :focus-visible, .cover :focus-visible, .site-foot :focus-visible, .intro :focus-visible { outline-color: #ffd576; }
main:focus { outline: 0; }
p, figure, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--road); color: var(--ink); line-height: 1.07; font-weight: 800; letter-spacing: -.035em; text-wrap: pretty; }
h1 { font-size: clamp(3.2rem, 5.8vw, 5.8rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.95rem, 3vw, 2.95rem); }
h3 { font-size: 1.5rem; }
p, li, h1, h2, h3, a { overflow-wrap: break-word; }
.icon { width: 1.12em; height: 1.12em; flex: none; vertical-align: -.17em; }
.icon-external { width: .83em; height: .83em; margin-left: .14em; vertical-align: -.02em; }
.link-arrow { font-family: var(--sans); margin-left: .28em; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; padding: 8px 16px; left: 12px; top: 12px; color: var(--ink); background: var(--sheet); }
.mast { background: #142626; color: var(--paper); border-bottom: 1px solid #55675e; }
.mast-inner { min-height: 68px; display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.68rem/1 var(--road); color: #fffdf1; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand .domain { color: var(--gold); }
.brand-icon { display: inline-flex; }
.atlas-mark { width: 35px; height: 35px; }
.brand:hover { color: #fff; }
.primary-nav { display: flex; gap: clamp(13px, 2.1vw, 32px); margin-left: auto; align-self: stretch; }
.primary-nav a { position: relative; display: flex; align-items: center; font-size: .88rem; font-weight: 600; text-decoration: none; color: #e2e8dd; }
.primary-nav a[aria-current], .primary-nav a.in-section, .mast a:hover { color: var(--gold); }
.primary-nav a[aria-current]::after, .primary-nav a.in-section::after { content: ""; position: absolute; bottom: 13px; left: 0; right: 0; height: 2px; background: var(--gold); }
.road-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 13px; border: 1px solid #8a9789; border-radius: 3px; color: #f4f3e6; text-decoration: none; font-weight: 650; font-size: .81rem; }
.road-link .icon-road { color: var(--gold); }
.mobile-menu { display: none; }
.micro, .eyebrow, .cover-kicker, .route-label, .sheet-kicker, .gateway-control label {
  display: flex; align-items: center; gap: .55rem;
  font: 700 .69rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .085em;
}
.micro { color: var(--muted); }
.micro .icon { width: 17px; height: 17px; }
.eyebrow { margin: 0 0 12px; color: var(--rust); }
.eyebrow > span:first-child, .cover-kicker > span { display: inline-block; flex: none; width: 22px; height: 9px; background: repeating-linear-gradient(116deg, transparent 0 3px, currentColor 3px 6px, transparent 6px 8px); }
.intro { position: relative; padding: clamp(35px, 4vw, 58px) 0; margin-bottom: 25px; background: var(--deep); box-shadow: 0 0 0 100vmax var(--deep); clip-path: inset(0 -100vmax); color: #dbe4d7; }
.intro h1, .intro h2 { color: #fcfcf2; }
.intro .eyebrow { color: var(--gold); }
.lede { margin-top: 13px; font-size: clamp(1rem, 1.26vw, 1.14rem); max-width: 70ch; }
.operator { font-weight: 700; font-size: .9rem; }
.topic-rows { margin-top: 18px; border-top: 2px solid var(--ink); }
.topic-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.row-icon { display: inline-grid; place-items: center; width: 35px; height: 35px; background: var(--wash); border: 1px solid var(--rule); border-radius: 3px; color: var(--ink); }
.topic-row strong, .city-row strong { display: block; font: 750 1.3rem/1.18 var(--road); letter-spacing: -.02em; }
.topic-row small { display: block; color: var(--muted); margin-top: 3px; font-size: .85rem; line-height: 1.4; }
.topic-row > .icon { color: var(--rust); }
.home-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 7.5%; padding: clamp(32px, 4vw, 58px) 0; }
.home-lower section { min-width: 0; }
.chip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; border-top: 2px solid var(--ink); margin-top: 18px; }
.town-chip { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-bottom: 1px solid var(--rule); padding: 10px 1px; min-height: 44px; text-decoration: none; font: 700 1.07rem var(--road); }
.town-chip .icon { width: 16px; height: 16px; }
.site-foot { background: #162929; color: #e3e9dd; margin-top: 32px; }
.foot-main { display: flex; align-items: center; gap: 24px; padding: 28px 0 22px; }
.foot-main p { font-size: .8rem; color: #d5dfd3; }
.foot-main nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot nav a, .colophon a { display: inline-flex; align-items: center; min-height: 44px; color: #fcfaec; font-size: .85rem; }
.colophon { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 8px; border-top: 1px solid #586c62; font: .75rem var(--mono); }
.site-foot a:hover { color: var(--gold); }
@media (max-width: 835px) {
  .mast-inner { min-height: 62px; justify-content: space-between; }
  .primary-nav, .road-link { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 5px 8px; cursor: pointer; list-style: none; font-size: .9rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; z-index: 8; right: 0; width: 215px; top: calc(100% + 4px); background: #172c2b; padding: 6px 16px; border: 1px solid #91a294; }
  .mobile-menu a { display: flex; align-items: center; min-height: 44px; color: #fcfaec; text-decoration: none; border-bottom: 1px solid #4c6257; }
  .mobile-menu a:last-child { border: none; }
  .foot-main { flex-wrap: wrap; }
  .foot-main nav { margin-left: 0; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .home-lower { grid-template-columns: 1fr; gap: 32px; }
  .foot-main { display: grid; gap: 12px; }
  .foot-main nav { gap: 0 16px; }
  .intro { padding: 29px 0; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
