.frederick-page {
  --city-ink: #17382d;
  --city-dark: #11362b;
  --city-cream: #fcf3df;
  --city-gold: #f6c13d;
  --city-rust: #803b2b;
  margin: 0;
  color: var(--city-ink);
  background: var(--city-cream);
}
.frederick-page main { max-width: none; padding: 0; margin: 0; }
.frederick-page main :is(h1, h2, h3) { color: inherit; }
.frederick-page main h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; margin: 0 0 20px; }
.frederick-page main h3 { font-size: 1.4rem; line-height: 1.2; margin: 24px 0 8px; }
.frederick-page p { line-height: 1.65; }
.frederick-page :where(p, aside) a { color: inherit; text-underline-offset: .18em; }
.frederick-page :focus-visible { outline: 3px solid #bf6d1e; outline-offset: 4px; }
.frederick-page :where(.city-hero,.city-topic-dark,.city-topic-rust) :focus-visible { outline-color: #ffdc77; }
.city-shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.city-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
  min-height: 100px;
  color: var(--city-ink);
}
.city-header img { display: block; width: 157px; height: auto; }
.city-header span { font-size: .78rem; letter-spacing: .13em; font-weight: 600; text-transform: uppercase; }
.city-header .header-visit { font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.city-hero {
  position: relative;
  isolation: isolate;
  background: var(--city-dark);
  color: var(--city-cream);
}
.city-hero-photo {
  position: absolute;
  height: 100%;
  width: 69%;
  inset: 0 0 0 auto;
  object-fit: cover;
  z-index: -2;
}
.city-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #11362b 24%, #11362bf5 43%, #11362b40 82%);
  z-index: -1;
}
.city-hero-inner {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
  padding-block: clamp(68px, 8vw, 110px);
}
.city-hero .script-accent { display: block; color: var(--city-gold); font-size: clamp(1.55rem, 3vw, 2.75rem); margin-bottom: 19px; }
.city-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.5vw, 6.05rem);
  line-height: 1.035;
  margin: 0 0 24px;
  letter-spacing: -.018em;
}
.city-hero p { max-width: 53ch; font-size: 1.05rem; }
.city-hero .city-address { margin: 23px 0 0; font-size: .84rem; color: #fff6e4; }
.city-address a { white-space: nowrap; }
.city-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 12px; }
.city-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: .94rem;
}
.city-button-gold { color: #17382d; background: var(--city-gold); }
.city-button-gold:hover { color: #17382d; background: #ffdc77; }
.city-button-outline { color: var(--city-cream); background: #17382d; border-color: #f8e4ae; }
.city-button-outline:hover { color: var(--city-dark); background: var(--city-cream); }
.city-button-green { color: #fff8e9; background: var(--city-dark); }
.city-button-green:hover { color: #fff8e9; background: #235240; }
.city-button-bordered { color: var(--city-dark); background: transparent; border-color: var(--city-dark); }
.city-button-bordered:hover { color: var(--city-dark); background: #dce8d7; }
.city-contents { background: var(--city-gold); color: var(--city-ink); }
.city-contents ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  padding: 10px 0;
  margin: 0 auto;
  width: min(1160px, calc(100% - 96px));
  gap: 5px;
}
.city-contents a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  text-decoration: none;
  color: #17382d;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 5px;
}
.city-contents a:hover { background: #ffe288; text-decoration: underline; }
.city-topic, .city-visit, .city-answers { scroll-margin-top: 18px; padding-block: clamp(52px, 7vw, 92px); }
.city-topic-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5vw, 84px); }
.city-topic-reverse .city-film { grid-column: 1; grid-row: 1; }
.city-topic-reverse .city-copy { grid-column: 2; grid-row: 1; }
.city-topic-cream { background: var(--city-cream); }
.city-topic-rust { background: var(--city-rust); color: #fff5e4; }
.city-topic-pale { background: #edf1e4; }
.city-topic-dark { background: var(--city-dark); color: #fff5e4; }
.city-kicker { display: block; text-transform: uppercase; letter-spacing: .12em; color: #803b2b; font-size: .77rem; font-weight: 700; margin-bottom: 12px; }
.city-topic-rust .city-kicker, .city-topic-dark .city-kicker { color: #ffdf87; }
.city-copy p { margin: 0 0 14px; }
.city-copy h3 { margin-bottom: 10px; }
.city-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: inherit;
  text-underline-offset: .2em;
  font-weight: 600;
}
.city-text-link:hover { color: #943d23; }
.city-topic-rust .city-text-link:hover, .city-topic-dark .city-text-link:hover { color: #ffdf87; }
.city-film {
  padding: 14px;
  margin: 0;
  background: #fff9ea;
  color: var(--city-ink);
  border: 1px solid #bfb38f;
  box-shadow: 0 14px 32px #142e2520;
  border-radius: 10px;
}
.city-film figcaption { margin: 3px 5px 11px; font-size: .95rem; line-height: 1.38; font-weight: 600; }
.city-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #12352a;
  border-radius: 5px;
  object-fit: contain;
}
.city-transcript { margin: 8px 0 0; padding: 0 5px; font-size: .87rem; }
.city-transcript summary { cursor: pointer; min-height: 44px; padding-block: 11px; text-decoration: underline; text-underline-offset: .19em; }
.city-transcript p { margin: 0 0 12px; }
.choice-list { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid #aebca7; }
.choice-list li { padding: 9px 0; display: grid; gap: 2px; border-bottom: 1px solid #aebca7; }
.choice-list li span { font-size: .9rem; }
.city-checklist { padding-left: 1.3rem; margin: 0 0 16px; }
.city-checklist li { margin-bottom: 6px; }
.city-visit { background: #e7efdd; }
.city-visit-grid, .city-answers-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 6vw, 90px); }
.city-travel { border-left: 4px solid #a36135; padding: 18px 22px; background: #f9f6e9; }
.city-travel h3 { margin-top: 0; }
.city-travel p:last-child { margin-bottom: 0; }
.city-answers { background: var(--city-cream); }
.city-answers details { padding: 0 3px; border-bottom: 1px solid #9b9e88; }
.city-answers details:first-child { border-top: 1px solid #9b9e88; }
.city-answers summary { cursor: pointer; min-height: 48px; padding-block: 12px; font-weight: 600; }
.city-answers details p { margin: 0 0 14px; }
.city-credits { background: #ebdfc0; color: #17382d; padding: 16px 0; font-size: .85rem; }
.frederick-page footer a { overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .city-shell, .city-header, .city-hero-inner, .city-contents ul { width: calc(100% - 48px); }
  .city-hero-photo { position: static; width: 100%; height: clamp(195px, 46vw, 320px); display: block; }
  .city-hero::after { display: none; }
  .city-hero-inner { padding-block: 32px 42px; }
  .city-hero h1 { font-size: clamp(2.6rem, 9.9vw, 4.4rem); max-width: 16ch; }
  .city-contents ul { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .city-topic-grid, .city-visit-grid, .city-answers-grid { grid-template-columns: minmax(0,1fr); }
  .city-topic-reverse :is(.city-copy,.city-film) { grid-column: auto; grid-row: auto; }
  .city-header { min-height: 78px; }
  .city-header img { width: 130px; }
  .city-header > span { display: none; }
}
@media (max-width: 370px) {
  .city-shell, .city-header, .city-hero-inner, .city-contents ul { width: calc(100% - 36px); }
  .city-contents a { font-size: .78rem; }
}

/* The original guide sections sit below each chapter's direct answer. */
.city-chapter, .chapter-contents, .chapter-reading .guide-section, .chapter-faq {
  scroll-margin-top: 20px;
}
.city-chapter .city-topic {
  padding-block: clamp(42px, 5.2vw, 72px);
}
.chapter-answer {
  max-width: 58ch;
  font-size: 1.04rem;
}
.chapter-contents {
  background: #e9dfc1;
  color: var(--city-ink);
  border-block: 1px solid #c8b88f;
}
.chapter-contents .city-shell {
  display: grid;
  grid-template-columns: minmax(125px, 175px) minmax(0, 1fr);
  align-items: start;
  gap: 12px 22px;
  padding-block: 13px;
}
.chapter-contents .city-shell > span {
  align-self: center;
  font-weight: 600;
  font-size: .9rem;
}
.chapter-contents ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.chapter-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #b5aa8d;
  border-radius: 5px;
  color: #17382d;
  background: #faf3e0;
  font-size: .85rem;
  line-height: 1.25;
  text-decoration: none;
}
.chapter-contents a:hover {
  background: #fff9ed;
  text-decoration: underline;
}
.chapter-reading {
  background: #f9f2e1;
}
.chapter-reading .guide-section {
  padding-block: 38px;
  padding-inline: 0;
  margin: 0;
  color: var(--city-ink);
  background: transparent;
}
.chapter-reading .guide-section:nth-child(even) {
  background: #f1ead6;
}
.chapter-reading .section-inner {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
  column-gap: clamp(30px, 5.2vw, 76px);
}
.chapter-reading .section-heading h3,
.frederick-page .chapter-faq h3 {
  font-size: clamp(1.55rem, 2.9vw, 2.65rem);
  margin: 0 0 10px;
  line-height: 1.12;
}
.chapter-reading .section-copy {
  font-size: 1rem;
}
.chapter-reading .section-copy > p:last-child {
  margin-bottom: 0;
}
.chapter-reading .section-tool {
  margin-top: 14px;
}
.chapter-reading .section-tool h4 {
  font-size: 1.18rem;
  margin-block: 0 12px;
}
.chapter-reading .section-tool .source-note {
  color: #17382d;
  background: #e5eddd;
}
.chapter-reading .section-tool .source-note a {
  color: inherit;
}
.chapter-reading .section-tool .planner h4 {
  color: #fff5df;
}
.chapter-reading .section-tool .drink-description h3 {
  margin: 0 0 8px;
}
.chapter-reading .story-photo img {
  border-radius: 6px;
  box-shadow: none;
}
.chapter-reading .table-scroll {
  margin-inline: 0;
}
.chapter-reading .decision-path span {
  display: none;
}
.frederick-page .chapter-faq {
  padding-block: 42px;
  background: #e6eedc;
}
.frederick-page .chapter-faq .city-answers-grid {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
}
.local-resources {
  padding: 0;
  margin: 0;
  list-style: none;
}
.local-resources > li + li {
  border-top: 1px solid #c1c6ae;
  padding-top: 14px;
}
.local-resources > li {
  padding-bottom: 14px;
}
.local-resources > li:last-child {
  padding-bottom: 0;
}
.local-resources li > span {
  display: block;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .7rem;
}
.local-resources li > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
}
.local-resources li > p {
  margin: 0;
  font-size: .94rem;
}

@media (max-width: 780px) {
  .chapter-contents .city-shell, .frederick-page .chapter-faq .city-answers-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .chapter-contents .city-shell { gap: 8px; }
  .chapter-reading .section-inner { width: calc(100% - 48px); }
  .chapter-reading .guide-section { padding-block: 30px; }
  .chapter-reading .section-tool { margin-top: 12px; }
}
@media (max-width: 370px) {
  .chapter-reading .section-inner { width: calc(100% - 36px); }
}
@media (max-width: 600px) {
  .chapter-reading .table-scroll table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }
  .chapter-reading .table-scroll :is(th, td) {
    min-width: 0;
    padding: 10px 7px;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}
