.skip-link {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }
.wordmark { text-decoration: none; }
.hero-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.6vw, 3.8rem); }

.hero-nav a {
  padding-block: .65rem;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}

.hero-nav a:hover, .mobile-nav a:hover { color: var(--rust); text-decoration: underline; }
.mobile-nav { display: none; }

.section-shell {
  max-width: 100rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.guide-section { background: #f4ecdf; color: var(--ink); }
.places-section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(15rem, .52fr); align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.6rem); }

.section-label {
  margin-bottom: clamp(.8rem, 2vw, 1.4rem);
  font-size: .73rem;
  font-weight: 720;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #84351d;
}

.guide-section h2, .route-section h2 {
  font: 800 clamp(4rem, 9.6vw, 9.2rem)/.78 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.guide-section h2 span { color: var(--rust); }

.intro-note {
  max-width: 33ch;
  padding-bottom: .35rem;
  color: #43392f;
  font-size: clamp(1rem, 1.66vw, 1.28rem);
  line-height: 1.55;
}

.place-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 3.3vw, 3.35rem);
  row-gap: clamp(1.8rem, 4vw, 3.2rem);
}

.place { min-width: 0; }
.place-featured { display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-row: span 2; }

.place img {
  display: block;
  width: 100%;
  aspect-ratio: 2.3;
  object-fit: cover;
  background: #cfbc9f;
}

.place-featured img {
  height: 100%;
  min-height: clamp(20rem, 37vw, 40rem);
  aspect-ratio: auto;
  object-position: 45% center;
}

.place-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .8rem;
  padding-top: .25rem;
}

.place-caption h3 {
  margin: 0 0 .45rem;
  font: 800 clamp(1.65rem, 3vw, 2.55rem)/.96 var(--display);
  text-transform: uppercase;
}

.place-featured h3 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.place-caption p { max-width: 42ch; color: #534438; font-size: clamp(.88rem, 1.22vw, 1rem); line-height: 1.5; }

.map-link {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 50%;
  border: 1px solid #ad9984;
  text-decoration: none;
  font-size: 1.15rem;
}

.map-link:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }

.route-section {
  padding-block: clamp(4.3rem, 9vw, 8.5rem);
  color: var(--paper);
  background: #282019;
}

.route-layout, .practical-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(2.2rem, 8vw, 8rem);
  align-items: start;
}

.route-section .section-label { color: #e19b71; }
.route-section h2 span { color: #dfa078; }
.route-intro > p:not(.section-label), .practical-intro > p:not(.section-label) {
  max-width: 33ch;
  margin-top: 1.5rem;
  font-size: clamp(.98rem, 1.42vw, 1.12rem);
  line-height: 1.55;
}

.route-intro > p:not(.section-label) { color: #e3d0bc; }
.route-switch:not([hidden]) { display: inline-flex; }

.route-switch {
  gap: .3rem;
  margin-top: 1.4rem;
  padding: .3rem;
  border: 1px solid #826b58;
  border-radius: 999px;
}

.route-switch button, .route-actions button {
  cursor: pointer;
  min-height: 2.75rem;
  padding: .6rem 1.2rem;
  color: var(--paper);
  font: 680 .9rem/1.2 system-ui, sans-serif;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.route-switch button:hover { background: #514033; }
.route-switch button[aria-pressed="true"] { background: #eac2a5; color: #2b2119; }
.route-plan + .route-plan { margin-top: 2rem; }
.route-plan[hidden] + .route-plan { margin-top: 0; }

.route-plan h3 {
  margin: 0 0 clamp(1rem, 2.4vw, 1.75rem);
  font: 800 clamp(2.15rem, 4.3vw, 4.65rem)/.94 var(--display);
  text-transform: uppercase;
}

.route-plan ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-bottom: 1px solid #695544;
}

.route-plan li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: clamp(.65rem, 2vw, 1.3rem);
  padding-block: clamp(1rem, 2.1vw, 1.45rem);
  border-top: 1px solid #695544;
  color: #eadbca;
  line-height: 1.5;
}

.route-plan li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  align-self: start;
  color: #e4a780;
  font: 800 1.95rem/.9 var(--display);
}

.route-plan li strong { color: var(--paper); font-size: 1.02rem; }
.route-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; align-items: center; margin-top: 1.45rem; }
.route-actions p { color: #f0c4a3; font-size: .85rem; }
.route-actions button { background: #a8452c; }
.route-actions button:hover { background: #bf5838; }
.route-actions button span { margin-left: .6rem; }
.route-section button:focus-visible { outline-color: #f1c1a1; }
.route-copy-text { width: 100%; padding: 1rem; border: 1px solid #e4a780; background: #3b2e24; color: var(--paper); font: inherit; }
.route-disclaimer { margin-top: 1.15rem; color: #d0b9a3; font-size: .82rem; line-height: 1.4; }

.practical-section { padding-block: clamp(4.3rem, 9vw, 8.5rem); }
.practical-intro > p:not(.section-label) { color: #4e4033; }

.text-link {
  display: inline-block;
  padding-block: .45rem;
  margin-top: .95rem;
  font-size: .88rem;
  font-weight: 740;
  text-decoration-thickness: .07em;
  text-underline-offset: .22em;
}

.text-link:hover { color: var(--rust); }
.practical-questions { border-bottom: 1px solid #c7b29a; }
.practical-questions details { border-top: 1px solid #c7b29a; padding-block: clamp(.95rem, 2.2vw, 1.4rem); }

.practical-questions summary, .mobile-nav summary {
  list-style: none;
  cursor: pointer;
}

.practical-questions summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }

.practical-questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.15rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 730;
}

.practical-questions summary::after { content: "+"; color: var(--rust); font-size: 1.65rem; font-weight: 450; line-height: .9; }
.practical-questions details[open] summary::after { content: "−"; }
.practical-questions details p { margin-top: .75rem; max-width: 59ch; color: #4e4033; line-height: 1.55; }
.practical-questions details a { text-underline-offset: .16em; }
.practical-questions summary:focus-visible, .mobile-nav summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }

.guide-footer { padding-block: clamp(3rem, 7vw, 6.2rem) 1.8rem; color: var(--paper); background: #211914; }
.guide-footer-top, .guide-footer-bottom { display: flex; justify-content: space-between; align-items: start; gap: 1.5rem; }
.guide-footer-top { align-items: end; padding-bottom: clamp(1.7rem, 4.2vw, 3.4rem); border-bottom: 1px solid #695544; }
.guide-footer-top .wordmark { display: inline-block; color: var(--paper); font-size: clamp(4.2rem, 10.5vw, 10rem); }
.guide-footer-top .wordmark span { color: #e19b71; }
.guide-footer-top p { margin-top: .55rem; color: #e4ceb8; font-size: .92rem; }
.guide-footer-bottom { padding-top: 1rem; color: #e2cbb3; font-size: .82rem; line-height: 1.5; }
.guide-footer-bottom summary { cursor: pointer; }
.guide-footer-bottom > a { white-space: nowrap; text-decoration: none; }
.guide-footer-bottom > a:hover { text-decoration: underline; }
.guide-footer-bottom ul { margin: .6rem 0 0; padding-left: 1.25rem; }

@media (max-width: 820px) {
  .section-intro { grid-template-columns: 1fr minmax(12rem, .6fr); gap: 1.2rem; }
  .route-layout, .practical-layout { gap: 2rem; }
  .place-featured img { min-height: 20rem; }
}

@media (max-width: 660px) {
  .hero-nav, .hero-header .photo-credit { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.75rem;
    font-size: .85rem;
    font-weight: 720;
  }
  .mobile-nav summary::after { content: "+"; color: var(--rust); font-size: 1.3rem; }
  .mobile-nav[open] summary::after { content: "−"; }
  .mobile-nav nav {
    position: absolute;
    z-index: 3;
    top: 100%;
    right: 0;
    min-width: 10.5rem;
    padding: .32rem;
    border: 1px solid #c7b29a;
    background: var(--paper);
  }
  .mobile-nav a { display: block; padding: .72rem .85rem; font-size: .92rem; font-weight: 650; text-decoration: none; }
  .section-intro, .route-layout, .practical-layout { grid-template-columns: 1fr; }
  .guide-section h2, .route-section h2 { font-size: clamp(3.8rem, 13.5vw, 6.5rem); }
  .place-grid { grid-template-columns: 1fr; }
  .place-featured { display: block; grid-row: auto; }
  .place-featured img { min-height: 0; aspect-ratio: 1.25; height: auto; }
  .place-featured h3 { font-size: clamp(1.65rem, 6vw, 2.55rem); }
  .route-intro > p:not(.section-label), .practical-intro > p:not(.section-label) { margin-top: 1.15rem; }
  .route-plan li { font-size: .93rem; }
  .guide-footer-top { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  [data-reveal].reveal-pending:not(:focus-within) { opacity: 0; }

  [data-reveal].reveal-enter:not(:focus-within) {
    animation: var(--reveal-name, guide-rise) var(--reveal-duration, .78s)
      cubic-bezier(.24, .08, .2, 1) var(--reveal-delay, 0ms) backwards;
  }

  [data-reveal="heading"] {
    --reveal-name: guide-heading;
    --reveal-duration: 1.08s;
  }

  .place-grid > :nth-child(2) { --reveal-delay: 100ms; }
  .place-grid > :nth-child(3) { --reveal-delay: 150ms; }
  .route-content, .practical-questions { --reveal-delay: 90ms; }

  @keyframes guide-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes guide-heading {
    from {
      opacity: 0;
      clip-path: inset(-.2em 84% -.2em -.18em);
      transform: translateY(.09em);
    }
    25% { opacity: .85; }
    to {
      opacity: 1;
      clip-path: inset(-.2em -.18em -.2em -.18em);
      transform: translateY(0);
    }
  }
}
