:root {
  color-scheme: light;
  --paper: #f9f7ef;
  --white: #fffef8;
  --blue: #14273e;
  --muted: #465669;
  --line: #dcdcd4;
  --yellow: #f7c34f;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--blue);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }

:focus-visible { outline: 3px solid #2a6ea2; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 1rem; left: 1rem; z-index: 2; padding: .65rem 1rem; background: var(--white); }

.masthead, .footer { background: var(--white); }
.masthead { border-bottom: 1px solid var(--line); }
.nav-row, .footer-row { display: flex; justify-content: space-between; align-items: center; min-height: 4.55rem; gap: .8rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.14rem; font-weight: 850; text-decoration: none; }
.brand em { font: italic 600 1.19rem var(--serif); }
.brand-icon { display: flex; gap: 2px; align-items: end; justify-content: center; width: 1.8rem; height: 1.8rem; padding-bottom: .45rem; border-radius: .3rem; color: var(--blue); background: var(--yellow); }
.brand-icon span { width: 3px; height: .45rem; background: currentColor; }
.brand-icon span:nth-child(2) { height: .78rem; }
.brand-icon span:nth-child(3) { height: .58rem; }
nav { display: flex; flex-wrap: wrap; gap: .55rem clamp(.85rem, 3vw, 1.75rem); }
nav a { font-size: .92rem; font-weight: 630; color: var(--muted); text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .26em; }
#saved-count { display: inline-flex; justify-content: center; min-width: 1.48rem; padding-inline: .3rem; border-radius: 2rem; color: var(--blue); background: var(--yellow); font-size: .875rem; }

.hero { display: grid; grid-template-columns: 41% 59%; margin-top: 1.4rem; overflow: hidden; min-height: 31rem; border-radius: .75rem; color: var(--white); background: var(--blue); }
.hero-copy { align-self: center; padding: clamp(2rem, 4.3vw, 3.65rem); }
.label { text-transform: uppercase; font-size: .875rem; font-weight: 740; letter-spacing: .075em; }
.hero .label { color: var(--yellow); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; }
h1 { margin-top: .85rem; font-size: clamp(3.15rem, 7vw, 6.25rem); letter-spacing: -.073em; }
.hero-copy > p:not(.label) { max-width: 22rem; margin-top: 1.15rem; color: #edf1f6; font-size: 1.05rem; }
.button { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 1.5rem; padding: .6rem 1rem; border-radius: .3rem; color: var(--blue); background: var(--yellow); font-weight: 750; text-decoration: none; }
.button:hover { background: #ffda75; }
.hero-view { position: relative; min-height: 100%; }
.hero-view img { height: 100%; object-fit: cover; object-position: 56% 53%; }
.hero-view figcaption { position: absolute; right: .85rem; bottom: .85rem; padding: .3rem .55rem; border-radius: .24rem; font-size: .875rem; color: white; background: rgb(20 39 62 / 88%); }

.places, .afternoon { margin-top: clamp(3.3rem, 7vw, 5.8rem); scroll-margin-top: .9rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: .9rem 1.5rem; margin-bottom: 1.35rem; }
h2 { font-size: clamp(2.25rem, 4.75vw, 4rem); letter-spacing: -.055em; }
.section-head p { margin-top: .45rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.filters button, .save { padding: .32rem .75rem; border: 1px solid var(--line); border-radius: .3rem; color: var(--blue); background: var(--white); font-size: .875rem; cursor: pointer; }
.filters button:hover, .save:hover { border-color: #818d9b; }
.filters [aria-pressed="true"] { color: white; border-color: var(--blue); background: var(--blue); }
.save[aria-pressed="true"] { border-color: #d59b10; background: #ffe6a3; }
.empty { padding: 2rem 1.3rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--muted); background: var(--white); }
.place-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }
.place { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: var(--white); scroll-margin-top: 1.1rem; }
.place > img { aspect-ratio: 1.68; object-fit: cover; }
.place-copy { display: flex; flex: 1; flex-direction: column; padding: 1.2rem; }
.place .label { color: #5c4b20; }
.place h3 { margin-top: .45rem; font-size: clamp(1.52rem, 2.52vw, 2.16rem); letter-spacing: -.047em; }
.place-copy > p:not(.label) { margin: .52rem 0 1rem; color: var(--muted); }
.place-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem .65rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line); }
.place-actions a { font-size: .875rem; font-weight: 700; text-underline-offset: .2em; }
.compact { border-top: 3px solid var(--yellow); }

.afternoon { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 1.2rem 3rem; margin-bottom: 4.25rem; padding: clamp(1.45rem, 4.3vw, 3.25rem); border-radius: .75rem; background: #ffe7a4; }
.afternoon h2 { margin-top: .45rem; font-size: clamp(2.05rem, 4.4vw, 3.3rem); }
.afternoon ol { margin: 0; padding-left: 1.6rem; }
.afternoon li + li { margin-top: .9rem; }
.afternoon li::marker { font-weight: 750; }
.afternoon li a { font-weight: 750; text-underline-offset: .2em; }
.afternoon li p { margin-top: .15rem; }
.footer { border-top: 1px solid var(--line); }
.footer p { color: var(--muted); font-size: .875rem; }

@media (max-width: 60rem) {
  .section-head { align-items: start; flex-direction: column; }
  .hero { min-height: 25rem; }
  .hero-copy { padding: 1.75rem; }
}

@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2rem); }
  .nav-row { flex-wrap: wrap; padding-block: .75rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: .85rem; }
  .hero-copy { padding: 1.75rem 1.35rem; }
  .hero-break { display: none; }
  .hero-view img { height: auto; aspect-ratio: 1.75; }
  .place-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .afternoon { grid-template-columns: 1fr; }
}

@media (max-width: 32rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .nav-row { align-items: start; flex-direction: column; justify-content: center; gap: .55rem; }
  .place-grid { grid-template-columns: 1fr; }
  .footer-row { padding-block: .75rem; align-items: start; flex-direction: column; justify-content: center; gap: .35rem; }
}
