:root {
  --ink: #43291a;
  --red: #af3324;
  --red-dark: #84251a;
  --yellow: #ffdc83;
  --blue: #214970;
  --paper: #fff2d3;
  --serif: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
body { background: #8a2e22 }
.site-header {
  color: #fff3cf;
  height: 62px;
  border: 0;
}
.brand-mark { background: #ffe6a4; color: #8c2b1d; border-color: #e0ae5f; box-shadow: 2px 3px #5b2918 }
.motion-toggle { background: #70251d }
.hero { z-index: auto; background: #c9da9c url('images/morning.webp') center 52% / cover; min-height: 0; border-top: 3px solid #e3b561 }
.hero-inner { max-width: 1380px; min-height: clamp(485px,42vw,630px); padding: 35px clamp(28px,4.5vw,80px) 46px; grid-template-columns: 1fr 1.12fr; gap: 4%; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center }
.sign-shadow { width: 100%; max-width: 600px; filter: drop-shadow(0 5px 1px #5f3d29aa); }
.painted-sign {
  width: 100%; aspect-ratio: 250/136; position: relative; overflow: hidden;
  clip-path: polygon(0% 43%,4% 39%,7% 33%,9% 29%,16% 29%,19% 23%,23% 22%,24% 12%,30% 8%,37% 9%,46% 5%,49% 0%,53% 0%,56% 5%,64% 8%,75% 7%,78% 13%,80% 22%,84% 23%,85% 29%,90% 30%,94% 34%,96% 40%,99.8% 43%,99.8% 80%,96% 84%,93% 90%,88% 89%,84% 95%,82% 100%,73% 99%,63% 94%,53% 92%,43% 92%,32% 95%,23% 99%,15% 100%,13% 94%,10% 92%,6% 92%,4% 87%,0% 84%);
}
.painted-sign img { position: absolute; width: 100%; height: auto; left: 0; top: -16%; }
.semantic-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.hero-town { align-self: end; margin-bottom: 0; position: relative; z-index: 2 }
.town-illustration { width: 108%; margin-left: -4%; }
.town-cloud { display: none }
.hero-pathways {
  position: static; display: inline-flex; margin: 20px 0 18px; padding: 6px 14px;
  justify-content: center; background: #fff3d8f7; color: #532f1f; border: 1px solid #875331;
  border-radius: 4px; box-shadow: 0 2px 0 #8b613d85;
}
.hero-pathways a { color: inherit; }
.hero-pathways a+a { border-color: #c7a172; }
.button {
  color: #fff5d8; border: 2px solid #e5b850; border-radius: 28px;
  background: linear-gradient(#285b8a,#193e60); box-shadow: 0 0 0 2px #583819,0 5px 0 #663f23; 
}
.button:hover { background: #194669; box-shadow: 0 0 0 2px #583819,0 7px 0 #663f23 }
.hero-button { min-width: 0; width: min(90%, 365px); font-family: var(--serif); letter-spacing: .03em }
.map-land {
  border-top: 4px solid #795536; background-color: #e8d69d;
  background-image: url('images/meadow.webp'); background-size: 100% auto; background-repeat: repeat-y;
}
.map-land:before { height: 5px; background: #e8bb74; border-bottom: 1px solid #af7544 }
.road-shadow { stroke: #79593666 }
.road-edge { stroke: #976e44 }
.road-surface { stroke: url(#cobbles) }
.road-center { stroke: none }
.road-travelled { stroke: #91532f; opacity: .65; stroke-width: 3 }
.profile-strip>p, .map-intro { text-shadow: 0 1px 4px #fff2cf, 0 0 9px #fff2cf }
.profile-ticket, .stop-card, .mission, .mail-copy {
  background-color: #fff0c8;
  background-image: radial-gradient(ellipse at center,#fff8e8 12%,#fcedcd 79%,#e8c590);
  border-color: #75451f;
}
.profile-ticket { border-radius: 5px; box-shadow: inset 0 0 0 3px #fff2cb,inset 0 0 0 4px #bb924c,3px 4px 0 #865833; }
.map-intro h2,.mission h2,.consultation h2,.profile-ticket>strong,.stop-card h2 { font-family: var(--serif); font-weight: 900 }
.map-intro h2 {
  display: table; position: relative; padding: .18em .56em .25em; color: #52321b;
  border-block: 2px solid #aa753d; background: linear-gradient(95deg,#ebce8e,#fff2c9 28%,#ffe9b9 74%,#e8c68a);
  box-shadow: 0 3px 0 #93674042; letter-spacing: .05em;
}
.stop-card { border-radius: 7px; box-shadow: inset 0 0 0 4px #f5dfaa, 3px 5px #875b32, 7px 10px 0 #72522d38; }
.stop-card:before { border: 1px solid #b5935b; border-radius: 3px }
.stop-kicker>span { background: #8f3626; border-radius: 3px; color: #ffdfa0 }
.club-card .stop-kicker>span { background: #4b6334 }
.voice-card .stop-kicker>span { background: #315570 }
.card-stamp { background: #f9cd6d; color: #644022; border-color: #86522f; box-shadow: 2px 3px #82532f; }
.arrival-bubble { background: #fff3d4; border-color: #674523; }
.mission { color: #503220; max-width: 840px; margin-inline: auto; border-radius: 12px; box-shadow: inset 0 0 0 5px #ffe8b7,inset 0 0 0 6px #cda166, 4px 6px #79502d; }
.mission>.eyebrow,.mission-star { color: #8e3927 }
.mission h2 { color: #853322; text-shadow: 0 2px #f1c97d }
.consultation { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; gap: 0; padding: 0; border: 3px solid #774725; overflow: hidden; border-radius: 9px; box-shadow: 4px 6px #825733; }
.mail-copy { position: relative; padding: clamp(24px,4vw,62px); text-align: left; }
.mail-copy .eyebrow { color: #873b2a; font-size: 13px; letter-spacing: .08em; }
.mail-copy h2 { margin: 10px 0; }
.mail-copy .button { margin-top: 22px }
.mail-scene { min-height: 300px; background: #e7bc7e url('images/evening.webp') center/cover }
.site-footer { border-color: #a66d3d }
.journey-hud { background: #5b3924; border-color: #edcd8e }
@media (max-width:700px) {
  .site-header { height: 54px }
  .hero { background-position: 58% center }
  .hero-inner { min-height: 0; padding: 16px 16px 23px; display: grid; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents }
  .sign-shadow { position: relative; z-index: 2; width: 95%; max-width: 395px; margin: auto; grid-row: 1 }
  .hero-town { grid-row: 2; position: relative; top: auto; right: auto; width: 86%; max-width: 370px; margin: 0 auto; }
  .town-illustration { width: 100%; margin: 0 }
  .hero-pathways { grid-row: 3; z-index: 3; justify-self: start; margin: 8px 0 12px; padding: 5px 7px; }
  .hero-button { grid-row: 4; position: relative; inset: auto; margin: 0; width: min(85%,300px); min-height: 47px; font-size: 15px; }
  .map-land { background-size: max(450px,100%) auto; background-position: center top }
  .stop-card .button { border-radius: 20px }
  .consultation { display: flex; flex-direction: column; }
  .mail-copy { padding: 25px 20px 23px; text-align: center }
  .mail-copy .button { width: auto; max-width: 100%; padding-inline: 16px }
  .mail-scene { min-height: 0; aspect-ratio: 1.9; background-position: center 58% }
}

.profile-ticket {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 14px 25px;
  padding: 21px 26px;
  transform: rotate(-1deg);
}
.guide-identity { display: flex; align-items: center; gap: 13px }
.guide-portrait {
  width: 78px; height: 78px; border-radius: 50%; border: 3px solid #fff7de;
  outline: 1px solid #b18444; box-shadow: 0 2px 4px #78552d36;
}
.guide-identity h2 { font: 900 27px/1.4 var(--serif); white-space: nowrap }
.guide-stats { margin: 0; display: flex; gap: 22px }
.guide-stats dt { color: #70492d; font-size: 13px; font-weight: 800 }
.guide-stats dd { margin: 0; font-weight: 800; font-size: 15px; white-space: nowrap }
.guide-stats b { color: var(--red); font: 800 38px/1.25 Manrope,sans-serif; font-variant-numeric: tabular-nums; padding-right: 3px }
.profile-ticket p { grid-column: 1/-1; border-top: 1px solid #d7ba89; padding-top: 10px; font-size: 14px }
.profile-ticket p strong { display: inline-block }
.guide-enter .guide-portrait { animation: guide-hello .65s cubic-bezier(.22,.7,.25,1) both }
@keyframes guide-hello {
  from { opacity: 0; transform: translateY(9px) scale(.88) }
  to { opacity: 1; transform: translateY(0) scale(1) }
}
@media(max-width:700px) {
  .profile-strip { width: 73%; max-width: 320px }
  .profile-ticket { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .guide-portrait { width: 59px; height: 59px }
  .guide-identity { gap: 11px }
  .guide-identity h2 { font-size: 22px }
  .guide-stats { gap: 0; justify-content: space-around; border-top: 1px solid #d7ba89; padding-top: 9px }
  .guide-stats b { font-size: 30px }
  .profile-ticket p { font-size: 12px }
}
@media(prefers-reduced-motion:reduce) {
  .guide-enter .guide-portrait { animation: none }
}
