:root {
  color-scheme: light;
  --page: #f7f5ec;
  --paper: #faf8f0;
  --ink: #252d27;
  --muted: #586057;
  --stroke: #dcded0;
  --accent: #845138;
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #50746a; outline-offset: 4px; }
button svg, .orbit-hint svg { width: 18px; height: 18px; display: block; }
[hidden] { display: none !important; }

.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.site-header { background: #faf8f1; border-bottom: 1px solid #e5e4d9; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #293e32; font-family: var(--display); font-weight: 700; font-size: 1.22rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; }
.brand-mark svg { width: 29px; height: 29px; }
.source-link { font-size: .86rem; font-weight: 600; color: #47574c; text-decoration-color: #94a398; }

.intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-block: 30px 25px; }
.intro h1 { margin: 0; font-family: var(--display); font-size: clamp(2.65rem, 5.4vw, 4.65rem); font-weight: 500; line-height: .99; letter-spacing: -.067em; }
.intro em { color: #536c5c; font-weight: 500; }
.intro p { max-width: 290px; margin: 0 4px 3px 0; color: #535f55; font-size: 1rem; line-height: 1.52; }

.explorer { --accent: #89503a; --wash: #edddc6; --pale: #f8ecda; --stage-edge: #d6b996; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid #deddd0; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 9px 27px #5c57300a, 0 1px 2px #5c57300a; }
.explorer[data-city='interlaken'] { --accent: #366852; --wash: #e7ddc7; --pale: #fff0d1; --stage-edge: #bfcdbd; }
.explorer[data-city='amsterdam'] { --accent: #346273; --wash: #e4d6cd; --pale: #f9e5ce; --stage-edge: #bdc9cb; }
.explorer[data-city='munich'] { --accent: #87566c; --wash: #ebd0ca; --pale: #ffead6; --stage-edge: #d1b9c5; }
.explorer[data-city='giethoorn'] { --accent: #466c53; --wash: #dce2d3; --pale: #f9ead6; --stage-edge: #b6c9bf; }
.explorer[data-book='closed'] { --wash: #ede0b9; --pale: #f9edd0; --stage-edge: #d6c393; }
.explorer[data-book='closed'] .city-panel { display: none; }
.city-panel { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #e2d9c9; padding: 14px 23px 16px; }
.country { margin: 0 0 5px; display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: .84rem; font-weight: 700; }
.country-dot { width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.city-copy > p:not(.country) { margin: 0; color: #51574c; font-size: 1rem; line-height: 1.45; max-width: 63ch; }
.landmarks { margin: 5px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; color: #545c51; font-size: .82rem; }
.landmarks li { display: flex; align-items: start; gap: 8px; }
.landmarks li::before { flex: none; content: ''; width: 5px; height: 5px; margin-top: .52em; border-radius: 1px; transform: rotate(45deg); background: var(--accent); }
.primary-action { appearance: none; border: 0; border-radius: 9px; background: #344f40; color: #fffef3; display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 9px 15px; font-size: .91rem; font-weight: 650; text-align: left; transition: background .18s, transform .18s; }
.primary-action:hover { background: #263d31; }
.primary-action:active { transform: translateY(1px); }
.primary-action .action-icon { flex: none; }
.city-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; }
.city-tool { appearance: none; border: 0; padding: 5px 2px; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; background: none; border-radius: 5px; color: #435e4d; font-size: .89rem; font-weight: 650; text-align: left; white-space: nowrap; }
.city-tool:hover { text-decoration: underline; text-underline-offset: .24em; }

.stage { isolation: isolate; grid-row: 1; position: relative; overflow: hidden; min-width: 0; min-height: clamp(435px, 59vh, 620px); background-color: var(--wash); background-image: radial-gradient(ellipse at 48% 39%, var(--pale) 4%, var(--wash) 51%, var(--stage-edge) 106%); }
.stage-light { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .22; background-image: radial-gradient(#69463033 .44px, transparent .82px), radial-gradient(#fffdf28c .52px, transparent .85px); background-size: 5px 5px, 7px 7px; background-position: 0 0, 2px 1px; }
.stage canvas { position: absolute; width: 100%; height: 100%; inset: 0; display: block; }
#scene { cursor: grab; touch-action: pan-y; outline-offset: -4px; }
#scene.is-dragging { cursor: grabbing; }
.playback { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; }
.cover-cta { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 3px 13px #263d312e; }
.cover-cta:active { transform: translate(-50%, 1px); }
.stage[data-book='closed'] .stage-bottom { visibility: hidden; }
.stage[data-book='closed'] #scene { cursor: pointer; }
.stage[data-book='closed'] #sound, .stage[data-book='closed'] #playback { display: none; }
.stage[data-book='closed'] #city-name, .stage[data-book='closed'] .fold-nav, .stage[data-book='closed'] .ride-control { visibility: hidden; }
.ride-control { position: absolute; top: 16px; left: 16px; display: grid; gap: 4px; width: 111px; }
.ride-control button { appearance: none; border: 1px solid #695b4628; background: #fffcf3c4; border-radius: 8px; padding: 6px 8px; min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 4px; color: #354c3d; font-size: .81rem; font-weight: 650; white-space: nowrap; }
.ride-control button:hover { background: #fffdf5; }
.ride-control button svg { width: 15px; height: 15px; }
.ride-control progress { appearance: none; width: 100%; height: 4px; display: block; border: 0; border-radius: 6px; overflow: hidden; background: #fcf9eab8; accent-color: #557360; }
.ride-control progress::-webkit-progress-bar { background: #fcf9eab8; }
.ride-control progress::-webkit-progress-value { background: #557360; }
.ride-control progress::-moz-progress-bar { background: #557360; }
.fold-nav { appearance: none; position: absolute; top: 49%; display: grid; place-items: center; width: 42px; height: 45px; border: 0; border-radius: 8px; background: transparent; color: #435b4b; transform: translateY(-50%); }
.fold-nav:hover { background: #fffaf1a8; }
.fold-nav:disabled { opacity: .28; cursor: default; background: transparent; }
.fold-nav svg { width: 22px; height: 22px; }
.fold-previous { left: 6%; }
.fold-next { right: 6%; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #695b4622; background: #fffcf389; color: #394739; border-radius: 8px; transition: background .18s; }
.icon-button:hover { background: #fffdf8; }
.icon-button:disabled { opacity: .50; cursor: default; }
.stage-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; position: absolute; bottom: 15px; left: 16px; right: 16px; pointer-events: none; }
.stage-bottom > * { pointer-events: auto; }
.orbit-hint { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 8px; border-radius: 5px; color: #443f32; background: #fcf6e675; font-size: .77rem; font-weight: 600; }
.orbit-hint svg { width: 17px; height: 17px; }
.camera-controls { display: flex; gap: 5px; }
.stage-error { position: absolute; inset: 45% 10% auto; text-align: center; }

.route { margin-top: 25px; }
.route > h2 { margin: 0 0 12px; font-size: 1.25rem; font-family: var(--display); font-weight: 600; }
.destinations { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.destination { appearance: none; width: 100%; display: grid; grid-template-columns: minmax(73px, 42%) minmax(0, 1fr); align-items: center; min-height: 96px; gap: 11px; border: 1px solid #deded2; border-radius: 13px; padding: 6px 10px 6px 6px; background: #faf8f0; text-align: left; transition: background .18s, border-color .18s; }
.destination:hover { background: #fffdf6; border-color: #899c8c; }
.destination[aria-current='location'] { border-color: #557360; background: #ecf0e5; box-shadow: inset 0 0 0 1px #557360; }
.thumbnail { align-self: stretch; min-width: 0; min-height: 81px; border-radius: 8px; display: grid; overflow: hidden; background: radial-gradient(ellipse at 43% 25%, var(--thumb-light), var(--thumb-dark)); }
.thumbnail canvas { display: block; width: 100%; height: 100%; grid-area: 1 / 1; }
.destination strong { display: block; font: 600 clamp(1rem, 1.65vw, 1.28rem)/1.1 var(--display); letter-spacing: -.03em; }
.destination small { display: block; margin-top: 5px; color: #515d51; font-size: .79rem; line-height: 1.25; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 22px; color: #626960; font-size: .78rem; }
.site-footer a { text-decoration-color: #9ba49a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 48px); }
  .intro h1 { font-size: clamp(2.65rem, 6.4vw, 4.4rem); }
  .city-panel { padding: 15px 20px; }
  .destination { gap: 7px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 56px; }
  .intro { align-items: start; flex-direction: column; gap: 10px; margin-block: 25px 20px; }
  .intro h1 { font-size: clamp(2.5rem, 8.35vw, 4rem); }
  .intro p { max-width: 100%; }
  .explorer { grid-template-columns: 1fr; border-radius: 16px; }
  .stage { min-height: clamp(323px, 65vw, 435px); }
  .city-panel { padding: 14px 15px 16px; gap: 12px; flex-direction: column; align-items: start; }
  .city-actions { flex: none; }
  .city-copy > p:not(.country) { max-width: 42ch; }
  .landmarks { gap: 3px 13px; margin: 8px 0 0; }
  .primary-action { flex: none; }
  .orbit-hint { visibility: hidden; }
  .fold-previous { left: 1%; }
  .fold-next { right: 1%; }
  .destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .destination { min-height: 84px; }
  .thumbnail { min-height: 70px; }
}

@media (max-width: 480px) {
  .city-panel { flex-direction: column; align-items: start; }
  .city-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 15px; }
  .site-footer { align-items: start; }
  .playback { top: 10px; right: 10px; }
  .ride-control { top: 10px; left: 10px; }
  .stage-bottom { bottom: 10px; left: 10px; right: 10px; }
  .fold-nav { width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
