:root {
  color-scheme: light;
  --ink: #243d32;
  --muted: #59665d;
  --green: #234638;
  --paper: #f6f4ed;
  --line: #dedfd5;
  --amber: #8b470a;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
a { color: var(--green); text-underline-offset: 4px; }
button, input { font: inherit; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 13px 21px; border: 1px solid var(--green);
  border-radius: 10px; background: var(--green); color: white;
  cursor: pointer; text-decoration: none; font-weight: 650; line-height: 1.45;
}
button:hover:not(:disabled), .button:hover { background: #153326; color: white; }
button:disabled { cursor: not-allowed; opacity: .55; }
.secondary { background: transparent; color: var(--green); }
:focus-visible { outline: 3px solid #b4641f; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.08rem; line-height: 1.45; margin-bottom: 8px; }
p { margin-bottom: 16px; }
.hero { min-height: 410px; position: relative; isolation: isolate; background: var(--green); color: white; }
.cover-link { position: absolute; inset: 0; z-index: -1; }
.cover-link img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #102d22e8, #102d2240); }
.hero-content { max-width: 1000px; margin: auto; padding: 64px 28px; pointer-events: none; }
.hero-content a { pointer-events: auto; }
#carousel-caption { font-size: .8rem; margin: 24px 0 0; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); margin-bottom: 16px; }
.hero .eyebrow { color: #edf0df; }
.instagram { color: white; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.instagram-label { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.instagram-label svg { flex-shrink: 0; }
.instagram-links { display: grid; gap: 4px; }
.instagram-profiles { display: flex; flex-wrap: wrap; gap: 0 24px; padding-left: 28px; }
.instagram span { overflow-wrap: anywhere; }
.instagram { min-width: 0; max-width: 100%; }
.eyebrow, .step-label { text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 750; margin-bottom: 10px; }
.container { max-width: 960px; margin: 0 auto; padding: 44px 24px 60px; }
.intro { max-width: 650px; margin-bottom: 28px; }
.intro > p:last-child { color: var(--muted); }
.notice { display: flex; gap: 16px; padding: 23px; border-radius: 12px; margin: 24px 0; border: 1px solid; }
.notice p:last-child { margin-bottom: 0; }
.warning { background: #fff2d9; border-color: #c49140; color: #67380c; }
.notice-icon { flex-shrink: 0; font-size: 1.25rem; border: 2px solid currentColor; border-radius: 50%; width: 30px; height: 30px; text-align: center; line-height: 26px; font-weight: 800; }
.main-warning h3 { font-size: 1.12rem; }
.compact { padding: 18px; }
.park { background: #fff0e7; color: #692d15; border: 2px solid #aa5429; }
#park-alternative { font-weight: 750; font-size: 1.1rem; padding: 16px; margin-top: 24px; background: #fffefa; border-left: 4px solid #aa5429; border-radius: 6px; }
.park button { background: #773c22; border-color: #773c22; }
.park button.secondary { background: transparent; color: #692d15; }
.park button:hover:not(:disabled) { background: #56250f; color: white; }
.neutral { background: #eef2e9; color: var(--ink); border-color: #cbd4c5; }
.return-notice { border-left: 4px solid var(--green); }
.return-notice h3 { font-size: 1.15rem; }
.return-highlight { font-size: 1.05rem; font-weight: 650; }
.guide-toolbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 20px; padding: 12px 0; margin: 24px 0 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.progress { flex: 1; min-width: 0; }
.progress-summary { margin-bottom: 2px; font-size: .85rem; font-weight: 750; }
#progress-help { margin-bottom: 10px; color: var(--muted); font-size: .73rem; }
#restart { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 10; border-radius: 999px; box-shadow: 0 4px 18px #102d2240; }
.progress ol { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; }
.progress li { flex: 1; min-width: 0; color: var(--muted); display: flex; flex-direction: column; gap: 2px; padding-top: 5px; border-top: 3px solid var(--line); font-size: .78rem; cursor: default; }
.progress li span { font-size: .7rem; }
.progress li[aria-current] { color: var(--green); font-weight: 750; }
.progress li.complete, .progress li[aria-current] { border-top-color: var(--green); }
.card { background: #fffefa; border: 1px solid var(--line); border-radius: 18px; padding: 32px; margin-bottom: 24px; box-shadow: 0 6px 25px #243d3205; scroll-margin-top: 150px; }
.step-label { color: #637255; }
.helper { color: var(--muted); font-size: .88rem; }
label { display: block; font-weight: 650; margin-bottom: 8px; }
input { width: 100%; min-height: 54px; padding: 13px 16px; background: white; border: 1px solid #859688; border-radius: 9px; color: var(--ink); }
input:disabled { background: #eeeee7; }
.search-wrap { position: relative; }
.suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 3; max-height: 280px; overflow-y: auto; list-style: none; padding: 5px; margin: 6px 0 0; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 8px 24px #243d3220; }
.suggestions li { padding: 12px; border-radius: 6px; cursor: pointer; line-height: 1.5; }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: #e8eee4; }
.attribution { text-align: right; font-family: Arial, sans-serif; font-size: .78rem; color: #555; }
.status { font-size: .9rem; margin: 12px 0; }
.status:empty { display: none; }
.status.error { color: #9a2a16; background: #fff0e7; border-left: 3px solid #9a2a16; padding: 12px; }
.actions { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: 18px; }
.route-summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; }
.route-summary h3 { font-family: Georgia, serif; font-size: 1.6rem; font-weight: 400; }
.distance { text-align: right; margin-bottom: 0; flex-shrink: 0; }
.distance strong { display: block; font-size: 1.6rem; }
.distance span { font-size: .78rem; color: var(--muted); }
.route-map { height: 320px; border-radius: 12px; background: #e8eee4; overflow: hidden; }
.resource { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.resource p:last-child { margin-bottom: 0; }
.restrictions { padding-left: 22px; }
.restrictions li { margin-bottom: 12px; }
.accepted { margin: 18px 0 0; font-weight: 700; }
.device-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 25px 0; }
.device-choices button { display: block; text-align: left; font-size: 1.1rem; padding: 20px; }
.device-choices span { display: block; font-weight: 400; font-size: .85rem; margin-top: 4px; }
.device-choices button[aria-pressed="true"] { background: var(--green); color: white; }
.instructions { border-top: 1px solid var(--line); padding-top: 24px; }
.instructions ol { padding-left: 24px; }
.instructions li { padding-left: 6px; margin-bottom: 16px; }
.host { display: flex; gap: 20px; margin-top: 30px; }
.host-initial { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: #e5ebdf; font-family: Georgia, serif; font-size: 1.5rem; }
.trip-recap { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.closing { font-family: Georgia, serif; font-size: 1.3rem; color: var(--green); margin: 24px 0 0; }
.preparation { padding: 16px; border: 1px dashed #9b713c; color: #744511; background: #fff6e6; border-radius: 10px; font-size: .85rem; }
footer { text-align: center; padding: 28px 24px; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
footer p { margin-bottom: 6px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; background: white; padding: 12px; z-index: 10; }
@media (max-width: 600px) {
  .instagram-profiles { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 355px; }
  .hero-content { padding: 48px 22px; }
  .container { padding: 30px 16px 40px; }
  .card { padding: 24px 19px; border-radius: 14px; }
  .notice { padding: 18px; gap: 12px; }
  .progress ol { gap: 4px; }
  .guide-toolbar { gap: 10px; }
  #restart { right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .progress li { font-size: .68rem; }
  .route-summary, .resource { align-items: flex-start; flex-direction: column; }
  .distance { text-align: left; }
  .actions { flex-direction: column; }
  .actions > *, .resource .button { width: 100%; }
  .route-map { height: 265px; }
  .host { gap: 12px; }
  .host-initial { width: 40px; height: 40px; font-size: 1.2rem; }
}
