/* Footer "Site map" button + panel (shared by every page) */
.sm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid rgba(183, 191, 123, 0.5); border-radius: 999px; background: var(--sage, #b7bf7b); color: var(--forest, #17231a); font: 700 14px/1 var(--sans, system-ui, sans-serif); letter-spacing: 0.04em; cursor: var(--cursor-butterfly), pointer; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s; }
.sm-btn:hover, .sm-btn:focus-visible { background: var(--butter, #f3f59c); transform: translateY(-3px); }

.sm-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(10, 14, 10, 0.88); backdrop-filter: blur(8px); animation: sm-fade 0.3s ease both; }
.sm-modal[hidden] { display: none; }
.sm-panel { position: relative; width: min(100%, 880px); max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: clamp(28px, 5vw, 56px); border-radius: 24px; background: radial-gradient(120% 80% at 80% 0%, #24412c 0%, var(--forest, #17231a) 60%); color: var(--cream, #f5f2d8); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55); animation: sm-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; scrollbar-width: thin; scrollbar-color: var(--sage, #b7bf7b) transparent; }
.sm-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream, #f5f2d8); color: var(--forest, #17231a); font-size: 26px; line-height: 1; cursor: var(--cursor-butterfly), pointer; }
.sm-kicker { margin: 0 0 10px; font: 700 12px/1 var(--sans, system-ui, sans-serif); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.sm-title { margin: 0 0 clamp(22px, 4vw, 38px); font: 400 clamp(36px, 6vw, 64px)/1 var(--display, var(--sans, system-ui, sans-serif)); text-transform: uppercase; }
.sm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4vw, 40px) clamp(20px, 4vw, 48px); }
.sm-col { animation: sm-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
.sm-col ul { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid rgba(245, 242, 216, 0.18); }
.sm-col li a { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid rgba(245, 242, 216, 0.12); color: inherit; text-decoration: none; font: 500 16px/1.2 var(--sans, system-ui, sans-serif); transition: padding 0.3s, color 0.3s; }
.sm-col li a::after { content: "\2192"; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.sm-col li a:hover, .sm-col li a:focus-visible { padding-left: 10px; color: var(--butter, #f3f59c); }
.sm-col li a:hover::after, .sm-col li a:focus-visible::after { opacity: 1; transform: none; }
.sm-page { display: block; color: var(--butter, #f3f59c); text-decoration: none; font: 400 clamp(24px, 3vw, 32px)/1.1 var(--display, var(--sans, system-ui, sans-serif)); text-transform: uppercase; }
.sm-page small { display: block; margin-top: 6px; color: var(--cream, #f5f2d8); font: 500 13px/1.3 var(--sans, system-ui, sans-serif); letter-spacing: 0.02em; text-transform: none; opacity: 0.65; }
.sm-page.is-here::after { content: "You are here"; display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: #1f9d4d; color: #fff; font: 700 10px/1.4 var(--sans, system-ui, sans-serif); letter-spacing: 0.1em; vertical-align: middle; }
.sm-tickets { display: inline-flex; margin-top: clamp(26px, 4vw, 40px); padding: 14px 26px; border-radius: 999px; background: var(--butter, #f3f59c); color: var(--forest, #17231a); font: 700 14px/1 var(--sans, system-ui, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
@keyframes sm-fade { from { opacity: 0; } }
@keyframes sm-pop { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes sm-up { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 560px) {
  .sm-grid { grid-template-columns: 1fr; }
  .sm-panel { padding-top: 64px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .sm-modal, .sm-panel, .sm-col { animation: none; } }

/* ── Pages that open only from the Site map (home page: Eden, New Dawn, Venue, TTI) ──
   They are hidden on the home page and shown full-screen when chosen in the Site map. */
#eden, #story, #stages, #venue, #tti { display: none; }
.gate-open { display: block !important; position: fixed; inset: 0; z-index: 110; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; animation: gate-in 0.4s ease both; }
.gate-close { position: fixed; top: 14px; right: 16px; z-index: 5; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--cream, #f5f2d8); color: var(--forest, #17231a); font-size: 28px; line-height: 1; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); cursor: var(--cursor-butterfly), pointer; }
.gate-close:hover { background: #fff; }
.cursor-fx { z-index: 130; }
@keyframes gate-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gate-open { animation: none; } }
