:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --white: #fffdf7;
  --ink: #172a23;
  --green: #203a31;
  --muted: #46534a;
  --line: #d6d7cb;
  --accent: #efa479;
  --accent-hover: #f5b58f;
  --display: Georgia, "Times New Roman", serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 76rem;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--text); }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .13em; }
img { display: block; width: 100%; height: auto; }
p { margin: 0 0 1.15rem; }
form { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.03;
  margin: 0 0 1.125rem;
}
h1 { font-size: clamp(2.75rem, 6vw, 5.65rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.shell { width: min(calc(100% - 4.5rem), var(--shell)); margin-inline: auto; }
:focus-visible { outline: 3px solid #a44121; outline-offset: 4px; }
.skip-link { position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .65rem; background: var(--white); }
.skip-link:not(:focus) { clip-path: inset(50%); }

.site-header { border-bottom: 1px solid var(--line); }
.site-nav, .nav-links, .nav-actions, .footer-inner, .footer-inner nav { display: flex; align-items: center; }
.site-nav { min-height: 5rem; justify-content: space-between; gap: 1.25rem; }
.nav-links { gap: clamp(1rem, 2.75vw, 2.5rem); }
.nav-actions { gap: 1.2rem; }
.site-nav a, .footer-inner a { text-decoration: none; }
.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; width: 9.5rem; min-width: 0; }
.wordmark img { filter: brightness(0); }

.eyebrow { margin: 0 0 1.05rem; color: var(--muted); font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.location-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .4rem; border-radius: 50%; background: #be542f; vertical-align: .1em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.3rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 3.05rem; padding: .68rem 1.1rem;
  border: 1px solid var(--green); border-radius: .35rem; background: var(--green);
  color: white; font: inherit; font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer;
}
.button:hover { background: #335547; text-decoration: none; }
.button-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: #eaece2; }
.button-small { min-height: 2.7rem; font-size: .95rem; }
.button-full { width: 100%; }
.text-button { min-height: 2.6rem; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.plain-link { font-weight: 720; }

.landing { padding-block: clamp(1.75rem, 4.5vw, 4rem) 4.5rem; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: var(--green);
  color: var(--white); border-radius: .6rem; overflow: clip;
}
.hero-copy { align-self: center; padding: clamp(1.5rem, 4vw, 4rem); }
.hero .eyebrow { color: #e6e7d5; }
.hero .location-dot { background: var(--accent); }
.hero h1 { font-size: clamp(3.15rem, 6.15vw, 5.55rem); line-height: .93; margin-bottom: 1.6rem; }
.hero h1 em { color: var(--accent); font-weight: 500; }
.hero-description { max-width: 32ch; color: #f1f0e4; font-size: clamp(1.0625rem, 1.6vw, 1.24rem); margin-bottom: 1.6rem; }
.hero .plain-link { color: var(--white); }
.hero :focus-visible { outline-color: #ffbd95; }
.hero-picture { position: relative; min-height: 29rem; margin: 0; }
.hero-picture img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 68% 50%; }

.home-route {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem;
  padding-block: clamp(2.6rem, 6vw, 5rem); border-bottom: 1px solid var(--line);
}
.home-route p:not(.eyebrow) { max-width: 41ch; color: var(--muted); }
.route-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 0; padding: 1.1rem 0; }
.route-facts div { padding: .25rem .75rem .25rem .9rem; border-left: 2px solid #b56547; }
.route-facts dt, .route-stops dt { color: var(--muted); font-size: .875rem; font-weight: 700; }
.route-facts dd, .route-stops dd { margin: .25rem 0 0; font-weight: 750; }
.how-section { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.walking-steps { display: grid; gap: 1.4rem; list-style: none; padding: 0; margin: 1.75rem 0 2rem; }
.how-section .walking-steps { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.walking-steps li { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.15rem; }
.walking-steps h3 { margin-bottom: .5rem; }
.walking-steps p { margin-bottom: 0; color: var(--muted); }
.step-index {
  flex: 0 0 2rem; display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid #ad725b; border-radius: 50%; color: #693b2b; font-weight: 750;
}

.interior, .wide-interior, .account-layout, .play-layout { padding-block: clamp(2.5rem, 6vw, 5.5rem); min-height: 66vh; }
.interior { max-width: 52rem; }
.intro { max-width: 46ch; color: var(--muted); font-size: 1.135rem; }
.feature-grid { display: grid; grid-template-columns: 1fr minmax(0, .95fr); align-items: center; gap: clamp(1.5rem, 6vw, 5.5rem); }
.feature-photo { border-radius: .5rem; max-height: 33rem; object-fit: cover; aspect-ratio: 4 / 3; }
.feature-grid .actions { margin-top: 1rem; }
.booking-price { margin-block: 1.1rem .4rem; }
.booking-price strong { font-size: 1.4rem; }
.booking-note { margin-block: 1.1rem .4rem; color: var(--muted); font-size: .95rem; }
.route-details { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.route-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin: 1rem 0 0; }
.route-stops div { padding-left: 1.15rem; border-left: 2px solid #b56547; }

.account-layout { max-width: 36rem; }
.account-card, .clue-card, .score-board {
  padding: clamp(1.25rem, 4vw, 2.65rem); border: 1px solid var(--line); border-radius: .55rem; background: var(--white);
}
.account-card h1 { font-size: clamp(2.5rem, 5.7vw, 3.7rem); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 750; }
.field input {
  min-height: 3.15rem; width: 100%; min-width: 0; padding: .55rem .7rem; border: 1px solid #8c978e;
  border-radius: .35rem; background: #fff; color: var(--ink); font: inherit;
}
.field-note { margin: 0 0 .6rem; color: var(--muted); font-size: .925rem; }
.field .field-note { margin-bottom: 0; }
.account-switch { border-top: 1px solid var(--line); padding-top: 1.1rem; margin: 1.4rem 0 0; }
.feedback { padding: .65rem .9rem; margin: 1rem 0; border-left: 3px solid #49765e; background: #edf1e9; }
.feedback p:last-child { margin-bottom: 0; }
.feedback-error { border-left-color: #9f422b; background: #f9eae1; color: #682d20; }
.play-layout { max-width: 48rem; }
.clue-card h1 { font-size: clamp(2.55rem, 6vw, 4.25rem); }
.clue-card progress {
  display: block; width: 100%; height: .55rem; margin: 0 0 1.45rem; border: 0; border-radius: 1rem;
  overflow: hidden; background: #e6e8dd; accent-color: var(--green);
}
.clue-card progress::-webkit-progress-bar { background: #e6e8dd; }
.clue-card progress::-webkit-progress-value { background: var(--green); }
.clue-text { margin-bottom: 1.55rem; }
.clue-text p { overflow-wrap: anywhere; }
.clue-help { padding: 1.4rem 0 0; }
.clue-help h2 { font-size: 1.85rem; }
.score-time { font-weight: 750; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.score-board p:last-child { margin-bottom: 0; }
.score-board table { width: 100%; border-collapse: collapse; }
.score-board th, .score-board td { padding: .55rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.score-board th:last-child, .score-board td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5.5rem; justify-content: space-between; gap: 1rem; }
.footer-inner nav { gap: 1.3rem; flex-wrap: wrap; }

@media (max-width: 56rem) {
  .shell { width: calc(100% - 3rem); }
  .hero-picture { min-height: 24rem; }
  .hero .actions { align-items: start; flex-direction: column; }
  .desktop-break { display: none; }
  .how-section .walking-steps { gap: 1rem; }
  .how-section .walking-steps li { display: block; }
  .how-section .step-index { margin-bottom: .65rem; }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .site-nav { display: grid; grid-template-columns: 1fr auto; gap: .5rem .7rem; padding-block: .8rem; }
  .nav-links { grid-row: 2; grid-column: 1 / -1; font-size: .925rem; gap: 1.2rem; }
  .nav-actions { justify-content: end; gap: .65rem; font-size: .925rem; }
  .button-small { padding-inline: .6rem; }
  .wordmark { width: 6.65rem; }
  .hero, .home-route, .feature-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.6rem 1.25rem 1.75rem; }
  .hero h1 { max-width: 9ch; font-size: clamp(3rem, 11vw, 4.65rem); margin-bottom: 1.2rem; }
  .hero-picture { min-height: 14rem; aspect-ratio: 1.55; }
  .home-route { gap: .9rem; }
  .route-facts { gap: .4rem; }
  .route-facts div { padding-left: .55rem; padding-right: 0; }
  .route-facts dd { font-size: .925rem; }
  .how-section .walking-steps { grid-template-columns: 1fr; }
  .how-section .walking-steps li { display: flex; }
  .how-section .step-index { margin-bottom: 0; }
  .feature-photo { max-height: 20rem; }
  .footer-inner { padding-block: 1.15rem; flex-wrap: wrap; }
}
@media (max-width: 22rem) {
  .site-nav { grid-template-columns: 1fr; }
  .nav-actions { grid-row: 3; justify-content: start; }
}
