@font-face {
  font-family: 'Golos Text';
  src: url('assets/GolosText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Golos Text';
  src: url('assets/GolosText-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-size: 18px;
  --canvas: #f6f8fc;
  --surface: #fff;
  --soft: #eaf1fc;
  --ink: #172f51;
  --text: #263b51;
  --muted: #4a6078;
  --blue: #204eb3;
  --blue-dark: #193d90;
  --line: #cfdaea;
  --photo-background: #d7e2ee;
  --radius: 14px;
  --wrap: 1272px;
  --gutter: clamp(18px, 4.3vw, 64px);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root.large-text { font-size: 21px; }

:root.high-contrast {
  --canvas: #fff;
  --soft: #eef4ff;
  --ink: #091a2c;
  --text: #102238;
  --muted: #263b51;
  --blue: #153c96;
  --blue-dark: #102e77;
  --line: #718198;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; min-height: 45vh; }

img, svg { display: block; }

img { max-width: 100%; }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

button:disabled, input:disabled { cursor: default; }

a { color: var(--blue); text-underline-offset: .17em; }

a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid #134fbd; outline-offset: 4px; }

:where(main, h1, h2)[tabindex="-1"]:focus { outline: none; }

::selection { color: #0a2141; background: #d8e9ff; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  text-wrap: pretty;
  margin: 0;
}

h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.026em; }

h1 { font-size: clamp(2.15rem, 1.68rem + 2.8vw, 3.8rem); }

h2 { font-size: clamp(1.7rem, 1.55rem + .9vw, 2.5rem); }

h3 { font-size: 1.22rem; letter-spacing: -.017em; }

p { margin: 0; }

[hidden], .site-header [hidden] { display: none; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.icon { display: inline-block; flex: none; width: 1.18em; height: 1.18em; vertical-align: middle; }

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: .65rem .95rem;
  background: var(--surface);
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--surface); }

.masthead {
  min-height: 99px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .66rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand:hover { color: var(--blue); }
.brand img { width: 3.15rem; height: 3.15rem; }
.brand-name { display: block; font: 700 clamp(1.55rem, 1.35rem + 1vw, 2.18rem)/.99 var(--serif); letter-spacing: -.055em; }
.brand-description { display: block; color: var(--muted); font-size: .73rem; font-weight: 550; margin-top: .33rem; }

.header-actions { display: flex; align-items: center; gap: clamp(.55rem, 2.5vw, 1.9rem); }
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .43rem;
  min-height: 46px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: .87rem;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}
.header-action .icon { color: var(--blue); width: 1.36em; height: 1.36em; }
.header-action:hover, .header-action:focus-visible { color: var(--blue); }
.header-action:hover span { text-decoration: underline; text-underline-offset: .22em; }
.header-action:has(#saved-count:not([hidden])) { gap: .35rem; }
#saved-count { font-size: .73rem; font-weight: 700; color: var(--blue); line-height: 1; }
.menu-toggle { display: none; }

.nav-band { border-block: 1px solid var(--line); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem clamp(.75rem, 2.14vw, 1.8rem);
  align-items: stretch;
}
.site-nav a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 51px;
  padding: .4rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); }
.site-nav a[aria-current]::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  background: var(--blue);
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.site-nav .mobile-option { display: none; }

.breadcrumbs { margin-block: 1.05rem 1.45rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .22rem .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: .45rem; }
.breadcrumbs .icon { width: .83em; height: .83em; }
.breadcrumbs a { text-decoration: underline; }

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 65ch; }
.flow > * + * { margin-top: 1.12rem; }
.btn, .secondary, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.23;
}
.btn {
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: #fff;
  padding: .78rem 1.16rem;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn[disabled] { opacity: .63; }
.secondary, .btn.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  padding: .78rem 1.16rem;
}
.secondary:hover, .btn.secondary:hover { background: var(--soft); border-color: var(--blue); color: var(--blue-dark); }
.text-link { white-space: nowrap; padding-block: .3rem; }
.text-link:hover { text-decoration: underline; }

.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.panel { padding: clamp(1rem, 2.9vw, 1.75rem); }
.panel h2 { font-size: clamp(1.35rem, 1.25rem + .42vw, 1.66rem); }
.article { max-width: 71ch; margin-inline: auto; }
.article :where(p, ul, ol) { max-width: 68ch; }
.article :where(p, ul, ol, figure, h2, h3) + :where(p, ul, ol, figure, h2, h3) { margin-top: 1.15rem; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.chips :where(a, button, .chip), .chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 44px;
  padding: .35rem .7rem;
  color: var(--blue);
  font-weight: 650;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}
.chips :where(a, button):hover { border-color: var(--blue); background: var(--soft); }
.photo { background: var(--photo-background); object-fit: cover; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }

.home-content { padding-bottom: clamp(2rem, 5vw, 4.25rem); }
.edition-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding-block: .54rem;
  min-height: 66px;
  color: var(--muted);
  font-size: .86rem;
}
.edition-line > p, .edition-line > a { display: flex; align-items: center; gap: .52rem; }
.edition-line > p strong { color: var(--ink); }
.edition-line > p > span { border-left: 1px solid var(--line); padding-left: .55rem; margin-left: .13rem; }
.edition-line .icon { color: var(--blue); }
.edition-line > a { min-height: 44px; font-weight: 650; text-decoration: none; }
.edition-line > a:hover { text-decoration: underline; }

.season-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.33fr);
  border: 1px solid #d5e0ee;
  border-radius: var(--radius);
  background: var(--soft);
  min-height: 428px;
  overflow: hidden;
}

.season-copy {
  align-self: center;
  padding: clamp(1.7rem, 4.25vw, 3.6rem) clamp(1.35rem, 3.4vw, 3rem);
}
.season-copy > h1 { margin-top: .35rem; font-size: clamp(2.25rem, 2.1rem + 1.48vw, 3.58rem); line-height: 1.03; }
.season-copy > p:not(.eyebrow) { margin-top: .9rem; max-width: 31ch; font-size: 1.03rem; line-height: 1.52; }
.season-copy .btn { margin-top: 1.23rem; min-width: 172px; justify-content: space-between; }
.hero-photo { width: 100%; height: 100%; position: absolute; inset: 0 0 0 auto; width: 60.45%; object-position: center; z-index: -1; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  padding: .44rem 0;
}
.quick-link {
  min-height: 91px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .53rem;
  position: relative;
  color: var(--ink);
  padding: .5rem .75rem;
  text-decoration: none;
}
.quick-link:first-child { padding-left: 0; }
.quick-link:last-child { padding-right: 0; }
.quick-link + .quick-link::before { content: ''; position: absolute; inset: 18px auto 18px 0; border-left: 1px solid var(--line); }
.quick-link .quick-icon { display: inline-flex; color: var(--blue); }
.quick-link .quick-icon .icon { width: 1.38rem; height: 1.38rem; }
.quick-link strong, .quick-link small { display: block; }
.quick-link strong { font-weight: 730; font-size: .93rem; line-height: 1.22; }
.quick-link small { color: var(--muted); font-size: .82rem; margin-top: .2rem; }
.quick-link:hover strong { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }

.home-section { margin-top: clamp(2rem, 5vw, 3.65rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: .7rem 1.5rem; margin-bottom: 1.1rem; }
.section-head .eyebrow { margin-bottom: .12rem; }
.section-head .text-link { font-size: .9rem; min-height: 42px; }
.image-grid { gap: clamp(.85rem, 2.1vw, 1.45rem); }
.image-card { position: relative; overflow: hidden; }
.image-card > a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.image-card > a:focus-visible { outline-offset: -5px; }
.image-card img { width: 100%; height: auto; aspect-ratio: 1.7; }
.image-card-body { padding: .87rem 1.05rem 1.15rem; }
.image-card-body .eyebrow { font-size: .8rem; margin-bottom: .34rem; }
.image-card-body h3 { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .65vw, 1.7rem); max-width: 27ch; }
.image-card-body > p:not(.eyebrow) { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.image-card > a:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }

.atlas-home {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.45rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(0, 1.8fr);
  gap: 1rem 2rem;
}
.atlas-home .section-head { flex-direction: column; align-items: start; justify-content: start; margin: 0; max-width: 14ch; }
.atlas-home .section-head .text-link { justify-content: start; }
.atlas-home .image-grid { grid-template-columns: 1fr; gap: .6rem; }
.atlas-home .image-card > a { display: grid; grid-template-columns: minmax(100px, 28%) 1fr; }
.atlas-home .image-card img { height: 100%; min-height: 104px; }
.atlas-home .image-card-body { align-self: center; padding: .8rem 1rem; }

.search-page, .map-page, .not-found { padding-bottom: clamp(2rem, 5vw, 4.25rem); }
.search-form, .search-output { max-width: 780px; }
.search-form label { display: block; font-weight: 650; margin-bottom: .35rem; }
.search-input-row { display: flex; gap: .55rem; }
.search-input {
  position: relative;
  flex: 1;
  background: var(--surface);
  color: var(--blue);
  min-width: 0;
  border-radius: 8px;
}
.search-input .icon { position: absolute; top: 50%; left: .72rem; transform: translateY(-50%); pointer-events: none; }
.search-input input {
  width: 100%;
  min-height: 51px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: inherit;
  padding: .55rem .65rem .55rem 2.35rem;
}
.search-input input::placeholder { color: var(--muted); opacity: 1; }
.search-output { margin-top: 1.8rem; }
.search-output h2 { font-size: 1.5rem; margin-bottom: .65rem; }
.search-output .result-count { color: var(--muted); font: 650 .85rem var(--sans); margin-left: .2rem; }
.search-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.search-results li { border-bottom: 1px solid var(--line); }
.search-results a { display: flex; min-height: 58px; gap: 1rem; justify-content: space-between; align-items: center; padding: .68rem .1rem; text-decoration: none; }
.search-results a:hover strong { text-decoration: underline; }
.search-results a p { color: var(--muted); font-size: .9rem; }
.map-grid section ul { margin: .65rem 0 0; padding-left: 1.15rem; }
.map-grid section li + li { margin-top: .37rem; }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 1.25rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; }
.site-footer .brand img { width: 2.35rem; height: 2.35rem; }
.site-footer .brand-name { font-size: 1.36rem; }
.site-footer .brand-description { display: none; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-nav a, .to-top { font-size: .85rem; font-weight: 650; text-decoration: none; padding-block: .25rem; }
.footer-nav a:hover, .to-top:hover { text-decoration: underline; }

.settings-dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: min(94vw, 540px);
  padding: 0;
  box-shadow: 0 18px 48px #13294720;
}
.settings-dialog::backdrop { background: #172f5170; }
.settings-content { padding: clamp(1rem, 4vw, 1.66rem); }
.settings-heading { display: flex; justify-content: space-between; gap: .7rem; align-items: start; }
.settings-heading h2 { font-size: clamp(1.4rem, 1.18rem + 1vw, 1.92rem); }
.close-settings { margin-top: -.25rem; min-width: 44px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 64px; padding-block: .55rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting-row > span { display: flex; flex-direction: column; align-items: start; }
.setting-row small { color: var(--muted); }
.setting-row input { accent-color: var(--blue); width: 1.2rem; height: 1.2rem; cursor: pointer; }
.settings-content > .btn { margin-top: 1rem; }
button[data-bookmark][aria-pressed="true"] .icon { fill: currentColor; }

@media (max-width: 1020px) {
  .quick-link { padding-inline: .5rem; }
}

@media (max-width: 880px) {
  .masthead { min-height: 78px; justify-content: space-between; }
  .menu-toggle { display: inline-flex; }
  .header-saved, .header-settings { display: none; }
  .site-nav { display: none; padding-block: .25rem .55rem; }
  .site-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.15rem; }
  .site-nav a { min-height: 46px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current]::after { width: 40px; }
  .site-nav .mobile-option {
    display: flex;
    align-items: center;
    margin: 0;
    min-height: 46px;
    padding: .4rem 0;
    background: transparent;
    color: var(--text);
    border: 0;
    border-bottom: 1px solid var(--line);
    font-weight: 650;
    font-size: .88rem;
    text-align: left;
  }
  .site-nav .mobile-option:hover { color: var(--blue); }
  .season-hero { min-height: 367px; }
  .season-copy { padding: 1.3rem; }
  .season-copy > h1 { font-size: clamp(2rem, 1.49rem + 1.7vw, 2.6rem); }
  .quick-link small { line-height: 1.2; }
}

@media (max-width: 640px) {
  .masthead { align-items: center; flex-wrap: wrap; gap: .2rem .42rem; min-height: 73px; }
  .brand { gap: .36rem; }
  .brand img { width: 2.31rem; height: 2.31rem; }
  .brand-name { font-size: 1.4rem; }
  .brand-description { display: none; }
  .header-actions { gap: clamp(.3rem, 2.45vw, .65rem); margin-left: auto; }
  .header-action { min-width: 44px; padding-inline: .08rem; }
  .edition-line { padding-block: .22rem; min-height: 56px; gap: .15rem; font-size: .77rem; }
  .edition-line > a .icon:last-child { display: none; }
  .edition-line > p > span { border: 0; padding-left: 0; margin-left: 0; }
  .edition-line > p, .edition-line > a { gap: .3rem; }
  .edition-line > p > span { display: none; }
  .season-hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-photo { position: static; order: -1; width: 100%; height: auto; aspect-ratio: 1.63; }
  .season-copy { padding: 1.1rem 1.14rem 1.28rem; width: 100%; }
  .season-copy > h1 { max-width: 19ch; font-size: clamp(2rem, 1.79rem + 1.36vw, 2.55rem); }
  .season-copy > p:not(.eyebrow) { margin-top: .6rem; }
  .season-copy .btn { margin-top: .9rem; }
  .grid, .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-link { min-height: 70px; padding-block: .4rem; }
  .quick-link:nth-child(odd) { padding-left: 0; }
  .quick-link:nth-child(odd)::before { display: none; }
  .quick-link:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick-link strong { font-size: .85rem; }
  .quick-link small { font-size: .74rem; }
  .quick-link .quick-icon .icon { width: 1.12rem; height: 1.12rem; }
  .image-card-body { padding: .65rem .7rem .78rem; }
  .image-card-body h3 { font-size: 1.15rem; }
  .image-card-body > p:not(.eyebrow) { font-size: .84rem; }
  .atlas-home { grid-template-columns: 1fr; gap: .72rem; }
  .atlas-home .section-head { flex-direction: row; align-items: end; justify-content: space-between; max-width: none; }
  .search-form, .search-output { max-width: none; }
}

@media (max-width: 430px) {
  .large-text .header-actions .header-action .icon { display: none; }
}

@media (max-width: 390px) {
  .header-actions { gap: .2rem; }
  .header-actions .header-action { gap: .22rem; }
  .section-head, .atlas-home .section-head { flex-wrap: wrap; }
  .image-grid { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .brand-name { font-size: 1.18rem; }
  .brand img { width: 1.85rem; height: 1.85rem; }
  .header-actions { gap: .08rem; }
  .header-actions .header-action .icon { display: none; }
  .map-grid { grid-template-columns: 1fr; }
}
