@font-face {
  font-family: "Journey Avenir";
  src: local("Avenir LT Std 55 Roman"), local("Avenir LT Std"), local("AvenirLTStd-Roman");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --font: "Journey Avenir", Avenir, "Helvetica Neue", Arial, sans-serif;
  --ink: #293737;
  --blue: #3f819a;
  --accent: #3f819a;
  --ease: cubic-bezier(.22, .72, .24, 1);
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
svg { display: block; }
button svg, .search-field svg, .workshop-link svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-stage { display: grid; grid-template-columns: clamp(260px, 21vw, 320px) minmax(0, 1fr); grid-template-rows: 76px minmax(0, 1fr); gap: 16px 28px; height: 100dvh; min-height: 600px; padding: clamp(18px, 2vw, 32px); background: #fff; }
.sidebar { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 24px; min-height: 0; position: relative; z-index: 4; }
.journey-brand { display: block; width: 100%; max-width: 310px; flex-shrink: 0; }
.journey-brand svg { width: 100%; height: auto; }
.map-header { grid-column: 2; grid-row: 1; display: flex; align-items: flex-start; justify-content: flex-end; gap: 32px; min-width: 0; }
.brand-logo { width: 132px; height: 74px; object-fit: contain; object-position: right top; flex-shrink: 0; }
.brand-logo-link { display: block; flex-shrink: 0; }
.search-field { position: fixed; z-index: 6; top: clamp(21px, 2vw, 34px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: min(620px, 42vw); min-height: 46px; margin: 0; padding: 0 14px; border: 1px solid #728080; border-radius: 28px; color: #637777; background: #ffffffe8; backdrop-filter: blur(5px); transition: border-color 160ms, box-shadow 160ms; }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #3f819a12; }
.search-field > svg { width: 19px; height: 19px; }
.search-field input { border: 0; outline: 0; background: transparent; color: var(--ink); width: 100%; min-width: 0; font-size: 15px; height: 44px; }
.search-field input::placeholder { color: #6f7d7d; }
.search-field input::-webkit-search-cancel-button { display: none; }
#clear-search { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--blue); background: transparent; }
.map-area { grid-column: 2; grid-row: 2; display: grid; place-items: center; position: relative; z-index: 1; min-width: 0; min-height: 0; }
.map-canvas { position: relative; flex-shrink: 0; opacity: 0; transition: opacity 220ms ease; }
.map-canvas.is-ready { opacity: 1; }
.map { display: block; width: 100%; height: 100%; border: 0; mix-blend-mode: multiply; }
.map-hotspots { position: absolute; inset: 0; pointer-events: none; }
.map-hotspot { position: absolute; padding: 0; border: 0; background: transparent; color: var(--blue); pointer-events: auto; }
.map-hotspot:focus-visible { outline-offset: 1px; border-radius: 6px; }
.map-loading { position: absolute; color: #6f7d7d; font-size: 15px; }
.empty-state { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 16px 22px; text-align: center; border: 1px solid #cfdbdb; border-radius: 16px; background: #fff; }
.empty-state p { margin: 0 0 10px; line-height: 1.4; font-size: 15px; }
.empty-state button, #show-all { border: 0; padding: 6px 0; color: var(--blue); background: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.side-panel { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c2d1d1 transparent; padding: 16px; border: 1px solid var(--accent); border-radius: 22px; background: #fff; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 220ms var(--ease), visibility 0s linear 220ms; }
.side-panel:not(.open) { position: relative; }
.side-panel.open { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.side-panel:focus { outline: none; }
.panel-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -4px -4px 12px 0; }
#panel-category { font-size: 12px; color: var(--accent-ink, var(--accent)); line-height: 1.4; }
.close { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; padding: 6px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: background 160ms; }
.side-panel h2 { margin: 0 0 14px; color: var(--accent-ink, var(--accent)); font-size: clamp(21px, 1.6vw, 25px); font-weight: 400; line-height: 1.2; overflow-wrap: break-word; }
.description { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #465655; }
.panel-image { flex-shrink: 0; width: 100%; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 34%, #dce8e8); border-radius: 12px; background: #edf3f3; }
.panel-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease); }
.workshop-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; min-height: 46px; margin-top: 16px; padding: 10px 13px; color: var(--accent-ink, var(--accent)); border: 1px solid var(--accent); border-radius: 10px; text-decoration: none; font-size: 14px; line-height: 1.3; transition: background 160ms, color 160ms; }
.workshop-link svg { width: 22px; height: 22px; transition: transform 180ms var(--ease); }
.filter-menu { position: relative; flex-shrink: 0; margin-top: auto; }
.filter-menu-toggle { display: grid; grid-template-columns: 26px minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 32px; color: var(--blue); background: #fff; text-align: left; font-size: 15px; line-height: 1.3; transition: background 160ms; }
.filter-menu-toggle small { display: block; margin-top: 3px; color: #687e85; font-size: 12px; }
.filter-symbol circle { fill: #fff; }
.chevron { transition: transform 220ms var(--ease); }
.filter-menu.is-open .chevron { transform: rotate(180deg); }
.left-glossary { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); padding: 12px; border: 1px solid #8c9c9d; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px #2937370c; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity 160ms ease, transform 200ms var(--ease), visibility 0s linear 200ms; }
.filter-menu.is-open .left-glossary { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 7px 8px; font-size: 12px; color: #667676; }
.left-glossary > button { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 9px 7px; border: 0; border-radius: 10px; background: transparent; color: var(--category-color); text-align: left; font-size: 13px; line-height: 1.3; transition: opacity 160ms ease, background 160ms ease; }
.left-glossary > button.is-filtered { opacity: .36; }
.left-glossary img { display: block; width: 36px; height: 39px; object-fit: contain; }
.left-glossary small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.35; }
.mobile-workshops { display: none; }
.pillar-rail { position: fixed; z-index: 5; top: 52%; right: max(8px, env(safe-area-inset-right)); transform: translateY(-50%); display: grid; gap: 4px; }
.pillar-jump { position: relative; display: grid; place-items: center end; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--pillar-ink); }
.pillar-rail-segment { display: block; width: 14px; height: 4px; border-radius: 1px; background: var(--pillar-color); opacity: .55; box-shadow: inset 0 0 0 1px #2937370d; transition: width 180ms var(--ease), opacity 160ms ease; }
.pillar-jump:not(.is-selected) .pillar-rail-segment { opacity: .22; }
.pillar-jump.is-current .pillar-rail-segment { width: 22px; opacity: 1; }
.pillar-rail-label { position: absolute; top: 50%; right: calc(100% + 8px); width: max-content; max-width: min(270px, calc(100vw - 70px)); padding: 9px 11px; border: 1px solid #ffffff1c; border-radius: 8px; color: #fff; background: #252b2bf0; box-shadow: 0 8px 24px #29373721; text-align: left; font-size: 13px; line-height: 1.3; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(7px, -50%); transition: opacity 150ms ease, transform 180ms var(--ease), visibility 0s linear 180ms; }
.pillar-jump:hover .pillar-rail-label, .pillar-jump:focus-visible .pillar-rail-label { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.left-glossary > button.is-spotlight { animation: pillar-focus-pulse 700ms var(--ease); }
@keyframes pillar-focus-pulse {
  0%, 100% { box-shadow: inset 0 0 0 0 transparent; }
  40% { box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 42%, transparent); background: #f4f7f7; }
}
.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 (hover: hover) {
  .close:hover, #clear-search:hover { background: #eff4f4; }
  .filter-menu-toggle:hover { background: #f5f9fa; }
  .left-glossary > button:hover { background: #f4f7f7; }
  .left-glossary > button.is-filtered:hover { opacity: .65; }
  .pillar-jump:hover .pillar-rail-segment { width: 22px; opacity: 1; }
  .workshop-link:hover { background: color-mix(in srgb, var(--accent) 9%, white); }
  .side-panel.open:hover .panel-image img { transform: scale(1.025); }
  .workshop-link:hover svg { transform: translateX(3px); }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .map-stage { grid-template-columns: 240px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .side-panel { padding: 14px; }
  .description { font-size: 14px; }
  .brand-logo { width: 110px; }
  .map-header { gap: 16px; }
}
@media (max-width: 900px) {
  .map-stage { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 18px; height: auto; min-height: 100dvh; padding: 18px 16px 104px; }
  .sidebar { display: contents; }
  .journey-brand { position: absolute; top: 18px; left: 16px; width: 168px; }
  .map-header { grid-row: 1; grid-column: 1; display: grid; grid-template-columns: 1fr 100px; gap: 22px; padding-top: 0; }
  .brand-logo { grid-column: 2; grid-row: 1; width: 100px; height: 85px; }
  .search-field { position: relative; z-index: 1; top: auto; left: auto; transform: none; grid-row: 2; grid-column: 1 / 3; width: 100%; margin: 0; background: #fff; backdrop-filter: none; }
  .search-field input { font-size: 16px; }
  .map-area { grid-row: 2; grid-column: 1; width: 100%; min-height: 0; aspect-ratio: 1.53; }
  .filter-menu { position: fixed; z-index: 7; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: min(320px, calc(100vw - 32px)); }
  .filter-menu-toggle { box-shadow: 0 4px 20px #29373712; }
  .left-glossary { max-height: calc(100dvh - 110px); overflow-y: auto; }
  .side-panel, .side-panel:not(.open), .side-panel.open { position: fixed; z-index: 8; top: auto; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: min(76dvh, 650px); padding: 18px; border-radius: 22px; box-shadow: 0 8px 40px #29373726; }
  .side-panel:not(.open) { transform: translateY(18px); }
  .side-panel.open { transform: translateY(0); }
  .side-panel h2 { font-size: 24px; }
  .description { font-size: 15px; }
  .mobile-workshops { display: block; grid-column: 1; grid-row: 3; }
  .pillar-rail { display: none; }
  .mobile-workshops h2 { margin: 16px 0 8px; font-size: 18px; font-weight: 400; }
  #workshop-list > button { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; align-items: center; gap: 13px; width: 100%; min-height: 68px; padding: 15px 0; border: 0; border-bottom: 1px solid #e4eaea; background: transparent; text-align: left; color: var(--ink); font-size: 15px; line-height: 1.4; }
  #workshop-list img { width: 32px; height: 36px; object-fit: contain; }
  #workshop-list svg { width: 20px; height: 20px; color: var(--blue); }
  .empty-state { bottom: 0; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
