:root {
  color-scheme: light;
  --ink: #3b2113;
  --paper: #f7f0e6;
  --gold: #f6c65b;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0, #e7d4ba80, transparent 750px), var(--paper); color: var(--ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
header { max-width: 1280px; margin: 24px auto 0; border: 1px solid #b58b614d; border-radius: 50px; background: linear-gradient(120deg, #3b2113, #241209); color: #fff8ed; box-shadow: 0 12px 32px #3b211324; }
.site-nav { margin: auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.brand span { display: block; margin-top: 6px; font: 700 .62rem Inter, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #ddc5af; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .82rem; font-weight: 700; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; border: 1px solid #bfa48c; border-radius: 8px; padding: 12px 20px; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 800; cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.button-booking { border-color: #cba783; background: linear-gradient(135deg, #875538, #643b25); color: white; box-shadow: inset 0 1px 0 #ffffff1a; }
.button:disabled { opacity: .4; cursor: default; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b97623; outline-offset: 5px; }
main { max-width: 1328px; margin: auto; padding: 60px 24px 32px; }
.intro { text-align: center; margin-bottom: 38px; }
.intro > .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.intro > .eyebrow::before, .intro > .eyebrow::after { content: ''; display: block; height: 1px; width: 30px; background: #a8754499; }
.eyebrow { margin: 0 0 8px; font-size: .68rem; line-height: 1.4; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a532d; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; }
h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.14; font-weight: 800; }
h1 em { font-style: normal; color: #8a532d; }
.intro > p:last-child { max-width: 620px; margin: 18px auto 0; font-size: .95rem; line-height: 1.8; color: #765b48; }
.tour { border: 1px solid #a87b565c; border-radius: 24px; padding: 10px; overflow: hidden; background: linear-gradient(145deg, #5a3a28, #3b2314 45%, #29170e); box-shadow: 0 2px 4px #3b231426, 0 12px 24px #3b23143b, 0 32px 64px #3b23142e; }
.tour-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 24px; color: #fffaf3; }
.tour-heading .eyebrow { display: flex; align-items: center; gap: 7px; font-size: .59rem; margin-bottom: 7px; color: #e8c699; }
.tour-heading .eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px #f6c65b18; }
h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.75rem); line-height: 1.25; }
.button-back { flex-shrink: 0; border-color: #caa88577; background: #ffffff09; color: #fffaf3; }
.tour-stage { position: relative; width: 100%; height: clamp(360px, 70svh, 800px); border: 1px solid #fff2; border-radius: 16px; background: radial-gradient(ellipse at 50% 50%, #35271d, #170f0b 80%); overflow: hidden; isolation: isolate; }
.tour-stage:focus-visible { outline: 3px solid var(--gold); outline-offset: -5px; }
.tour-scene { position: absolute; left: 50%; top: 50%; margin: 0; width: 100%; height: 100%; transform: translate(-50%, -50%); opacity: 0; transition: opacity 350ms ease; pointer-events: none; }
.tour-scene.is-current { opacity: 1; pointer-events: auto; }
.tour-scene.is-leaving { opacity: 0; pointer-events: none; }
.scene-picture { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.025); transition: transform 350ms ease; }
.is-current .scene-picture { transform: scale(1); }
.is-leaving .scene-picture { transform: scale(1.025); }
.scene-hotspots { position: absolute; inset: 0; }
.hotspot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; transform: translate(-50%, -50%); border: 1px solid #fff7e7; border-radius: 50%; padding: 0; display: grid; place-items: center; background: #fff4dfed; color: #452610; box-shadow: 0 3px 18px #0007, 0 0 0 5px #fff2; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background 180ms ease, box-shadow 180ms ease; }
.hotspot svg { width: 25px; height: 25px; transform: rotate(var(--angle, 0deg)); }
.hotspot-label { position: absolute; top: 49px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 108px; padding: 5px 8px; border-radius: 5px; background: #2c180fec; color: #fff9ed; font-size: .65rem; line-height: 1.35; font-weight: 700; text-align: center; box-shadow: 0 3px 12px #0003; pointer-events: none; }
.hotspot:focus-visible { outline-color: var(--gold); }
.hotspot-near-right .hotspot-label { left: auto; right: -8px; transform: none; }
.hotspot-near-left .hotspot-label { left: -8px; transform: none; }
.hotspot-near-bottom .hotspot-label { top: auto; bottom: 49px; }
.hotspot:disabled { cursor: wait; }
.tour-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding: 18px 18px 8px; font-size: .75rem; line-height: 1.6; }
.tour-footer p { margin: 0; color: #e0ccba; }
.scene-counter { border: 1px solid #d0ac7252; border-radius: 30px; padding: 6px 12px; background: #f6c65b0c; color: #f6d9a4; font-size: .65rem; white-space: nowrap; font-weight: 800; }
.tour-error { margin-top: 16px; border: 1px solid #d6a48c; border-radius: 12px; padding: 16px 24px; background: #fff0e5; }
.tour-error p { margin: 0 0 12px; font-size: .85rem; line-height: 1.6; }
.tour-help { margin: 20px auto 28px; max-width: 720px; text-align: center; color: #7b6351; font-size: .76rem; line-height: 1.8; }
.tour-help a { text-decoration: underline; }
.places { padding: 0 24px; border: 1px solid #d5c2aeaa; border-radius: 20px; background: #fffaf3b3; box-shadow: 0 8px 28px #3b211305; }
.places summary { min-height: 84px; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; list-style: none; cursor: pointer; font-weight: 800; font-size: .95rem; }
.places summary::-webkit-details-marker { display: none; }
.places-summary-note { color: #8a6245; font-size: .75rem; font-weight: 700; }
.places-summary-note > span { display: inline-block; margin-left: 12px; font-size: 1.2rem; }
.places[open] .places-summary-note > span { transform: rotate(180deg); }
.places-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 0 24px; }
.place-button { display: flex; align-items: center; gap: 12px; min-height: 68px; width: 100%; padding: 12px; border: 1px solid #d9c8b6; border-radius: 12px; background: #fffaf3; color: var(--ink); text-align: left; font-size: .76rem; line-height: 1.4; font-weight: 700; cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.place-number { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #3b21130a; font-size: .63rem; color: #987a61; }
.place-button[aria-current="location"] { background: #3b2113; border-color: #3b2113; color: white; }
.place-button[aria-current="location"] .place-number { background: #f6c65b16; color: var(--gold); }
.page-footer { padding-top: 28px; text-align: center; font-size: .8rem; font-weight: 700; }
.page-footer a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; }
@media (hover: hover) and (pointer: fine) {
  .hotspot:hover { background: var(--gold); box-shadow: 0 4px 20px #0006, 0 0 0 7px #f6c65b33; }
  .button:not(:disabled):hover { background: #eadac6; }
  .button-back:not(:disabled):hover { background: #ffffff1a; border-color: #dcb889; }
  .button-booking:hover { background: #8a5837 !important; }
  .place-button:not([aria-current]):hover { background: #eee0cd; }
  .page-footer a:hover, .nav-links > a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (max-width: 800px) { .places-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1328px) { header { margin-inline: 24px; } }
@media (max-width: 600px) {
  header { margin: 12px 12px 0; border-radius: 20px; }
  .site-nav { padding: 16px; gap: 18px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; font-size: .74rem; }
  main { padding: 34px 12px 20px; }
  .intro { margin-bottom: 24px; padding-inline: 4px; }
  h1 em { display: block; }
  .intro > p:last-child { font-size: .83rem; margin-top: 14px; }
  .tour { border-radius: 18px; padding: 7px; }
  .tour-heading { padding: 14px 8px 20px; }
  .tour-heading h2 { max-width: 220px; }
  .button-back { padding-inline: 12px; font-size: .78rem; }
  .tour-stage { height: clamp(240px, var(--photo-height, 68svh), min(68svh, 620px)); border-radius: 12px; }
  .tour-footer { padding: 14px 8px 8px; font-size: .7rem; }
  .hotspot-label { font-size: .6rem; max-width: 86px; padding: 4px 6px; }
  .places { padding-inline: 16px; border-radius: 16px; }
  .places summary { font-size: .85rem; }
  .places-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-button { gap: 8px; padding: 10px; font-size: .72rem; }
  .keyboard-help { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) { .tour-stage { height: 84svh; min-height: 240px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
