@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cream: #f7f3eb;
  --blue: #1b49c8;
  --blue-deep: #17367a;
  --red: #ac2529;
  --gold: #c99a45;
  --ink: #23313f;
  --ink-muted: #4e5b68;
  --milk: #f7f3eb;
  --cobalt: #1b49c8;
  --white: #fff;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #dce7ed;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #dce7ed; }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ffbd4b; outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .75rem 1rem; border-radius: 999px; background: white; color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; z-index: 30; inset: 1rem 1.25rem auto;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.site-header::before { content: ""; position: absolute; inset: -.55rem -.6rem; z-index: -1; border-radius: 999px; background: rgb(248 242 228 / .76); box-shadow: 0 10px 35px rgb(35 56 69 / .12); backdrop-filter: blur(18px) saturate(1.15); }
.site-header a { pointer-events: auto; color: var(--ink); text-decoration: none; }
.wordmark { display: flex; gap: .7rem; align-items: baseline; font-weight: 850; letter-spacing: -.03em; font-size: 1.18rem; }
.wordmark small { color: var(--blue-deep); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav { display: flex; gap: .25rem; }
.site-header nav a { padding: .65rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.site-header nav a:hover { background: rgb(255 255 255 / .6); }

.flight { position: relative; height: 600svh; background: #dce7ed; }
.scene { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.ambient { position: absolute; inset: -10%; z-index: -3; background: radial-gradient(circle at 76% 20%, rgb(246 209 157 / .7), transparent 30%), linear-gradient(160deg, #91b6d7 0%, #dce7ed 54%, #d4b07a 115%); filter: saturate(.8); }
.media-frame { position: relative; width: min(100vw, calc(100svh * 16 / 9)); aspect-ratio: 16/9; overflow: hidden; background: #a4bfd7; box-shadow: 0 30px 90px rgb(14 42 68 / .22); }
.media-frame video, .media-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.media-frame video { z-index: 2; }
.poster { z-index: 1; }
.poster-end { z-index: 3; opacity: 0; transition: opacity .4s ease; }
.video-failed .poster-end, .reduced-motion .poster-end { opacity: 1; }
.video-ready .poster-start { opacity: 0; }
.film-shade { position: absolute; z-index: 4; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(9 29 50 / .42), transparent 45%), linear-gradient(0deg, rgb(11 28 43 / .35), transparent 35%); opacity: .5; }

.overlays { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.overlay { position: absolute; left: clamp(1.25rem, 5vw, 5rem); top: clamp(6.5rem, 15vh, 9rem); width: min(42vw, 37rem); color: white; text-shadow: 0 2px 20px rgb(0 24 48 / .28); opacity: 0; transform: translateY(18px); transition: opacity .08s linear, transform .22s var(--ease); pointer-events: none; }
.overlay.is-visible { pointer-events: auto; }
.overlay h1, .overlay h2 { margin: .35rem 0 .75rem; max-width: 15ch; font-size: clamp(2.2rem, 4.4vw, 4.9rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.overlay h2 { font-size: clamp(2.05rem, 4vw, 4.2rem); }
.overlay p:not(.eyebrow) { margin: 0; max-width: 31rem; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.5; font-weight: 650; }
.eyebrow { margin: 0; color: #ffe6ad; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; line-height: 1.4; font-weight: 850; }
.overlay-arrive { top: auto; bottom: clamp(7.4rem, 15vh, 9rem); padding: 1.1rem 1.25rem; width: min(35rem, 44vw); border: 1px solid rgb(255 255 255 / .34); border-radius: 1.25rem; background: rgb(18 43 65 / .7); backdrop-filter: blur(16px); }
.primary-action, .skip-flight, .text-action { border: 0; cursor: pointer; }
.primary-action { margin-top: 1.3rem; padding: .9rem 1.15rem; border-radius: 999px; background: var(--cream); box-shadow: 0 12px 30px rgb(0 27 58 / .18); color: var(--ink); font-weight: 800; }
.primary-action span { margin-left: .65rem; color: var(--red); }

.skip-flight { position: absolute; z-index: 12; right: 1.25rem; bottom: 1.25rem; padding: .75rem 1rem; border-radius: 999px; background: rgb(246 235 212 / .84); backdrop-filter: blur(14px); color: var(--ink); font-size: .8rem; font-weight: 800; }
.skip-flight span { margin-left: .4rem; color: var(--red); }
.progress-rail { position: absolute; z-index: 12; bottom: 0; left: 0; width: 100%; height: 4px; background: rgb(255 255 255 / .25); }
.progress-rail span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--gold), var(--red)); }
.loading-state { position: absolute; z-index: 9; left: 50%; bottom: 1.5rem; display: flex; align-items: center; gap: .55rem; transform: translateX(-50%); padding: .6rem .85rem; border-radius: 999px; background: rgb(255 255 255 / .74); color: var(--ink); font-size: .75rem; font-weight: 750; backdrop-filter: blur(12px); transition: opacity .2s; }
.video-ready .loading-state, .video-failed .loading-state { opacity: 0; pointer-events: none; }
.loader { width: .8rem; height: .8rem; border: 2px solid rgb(32 46 59 / .25); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.floor-controls { position: absolute; z-index: 11; right: clamp(1rem, 4vw, 4rem); bottom: clamp(4.5rem, 9vh, 6rem); width: min(27rem, 38vw); padding: 1.1rem; border: 1px solid rgb(255 255 255 / .4); border-radius: 1.4rem; background: rgb(246 235 212 / .9); box-shadow: 0 22px 80px rgb(10 35 56 / .22); backdrop-filter: blur(18px); opacity: 0; transform: translateY(18px); pointer-events: none; transition: .35s var(--ease); }
.scene.floors-ready .floor-controls { opacity: 1; transform: none; pointer-events: auto; }
.floor-kicker { margin: 0 0 .2rem; color: var(--red); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 850; }
.floor-controls h2 { margin: 0 0 .8rem; font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.floor-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.floor-buttons button { min-height: 4.2rem; border: 1px solid rgb(32 46 59 / .18); border-radius: 1rem; background: rgb(255 255 255 / .56); cursor: pointer; transition: .2s var(--ease); }
.floor-buttons button:hover, .floor-buttons button[aria-pressed="true"] { transform: translateY(-2px); border-color: var(--blue); background: var(--blue); color: white; box-shadow: 0 10px 24px rgb(18 94 195 / .22); }
.floor-buttons strong, .floor-buttons span { display: block; }
.floor-buttons strong { font-size: 1.35rem; }
.floor-buttons span { font-size: .67rem; font-weight: 750; }

.floor-hotspots { position: absolute; z-index: 6; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scene.floors-ready .floor-hotspots { opacity: 1; pointer-events: auto; }
.hotspot { position: absolute; top: var(--top); left: 12%; width: 76%; height: var(--height); border: 0; border-radius: .3rem; background: transparent; cursor: pointer; }
.hotspot::before { content: ""; position: absolute; inset: 0; opacity: 0; border: 2px solid rgb(255 203 92 / .9); border-left: 0; border-right: 0; background: linear-gradient(90deg, transparent, rgb(18 94 195 / .25) 20%, rgb(18 94 195 / .25) 80%, transparent); transition: opacity .2s; }
.hotspot:hover::before, .hotspot:focus-visible::before { opacity: 1; }
.hotspot span { position: absolute; left: 2%; top: 50%; transform: translateY(-50%); padding: .42rem .66rem; border-radius: 999px; background: rgb(15 49 81 / .86); color: white; font-size: .7rem; font-weight: 800; opacity: 0; transition: opacity .2s; }
.hotspot:hover span, .hotspot:focus-visible span { opacity: 1; }

.afterword { min-height: 72svh; display: grid; align-content: center; justify-items: center; padding: 7rem 1.5rem; text-align: center; background: var(--cream); }
.afterword .eyebrow { color: var(--red); }
.afterword h2 { margin: .7rem 0 .8rem; max-width: 13ch; font-size: clamp(2.5rem, 6vw, 6rem); line-height: .98; letter-spacing: -.06em; text-wrap: balance; }
.afterword > p:not(.eyebrow) { margin: 0; font-size: clamp(1rem, 1.8vw, 1.35rem); }
.text-action { margin-top: 2rem; padding: .85rem 1rem; border-radius: 999px; background: transparent; color: var(--blue-deep); font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }

.plan-dialog { width: min(42rem, 42vw); max-width: none; height: calc(100dvh - 2rem); max-height: none; margin: 1rem 1rem 1rem auto; padding: 0; border: 0; border-radius: 1.7rem; background: var(--cream); color: var(--ink); box-shadow: 0 30px 120px rgb(0 21 45 / .4); opacity: 0; transform: translateX(2rem); transition: opacity .25s, transform .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
.plan-dialog[open] { opacity: 1; transform: none; }
@starting-style { .plan-dialog[open] { opacity: 0; transform: translateX(2rem); } }
.plan-dialog::backdrop { background: rgb(4 20 35 / .52); backdrop-filter: blur(5px); }
.plan-shell { position: relative; height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: .8rem; padding: clamp(1rem, 2.5vw, 1.6rem); }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.plan-head .eyebrow { color: var(--red); }
.plan-head h2 { margin: .25rem 0 0; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.045em; }
.icon-button { width: 2.8rem; height: 2.8rem; flex: 0 0 auto; border: 1px solid rgb(32 46 59 / .2); border-radius: 50%; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dialog-floor-tabs { display: flex; gap: .45rem; }
.dialog-floor-tabs[hidden] { display: none; }
.dialog-floor-tabs button { flex: 1; min-height: 2.75rem; border: 1px solid rgb(32 46 59 / .17); border-radius: 999px; background: transparent; cursor: pointer; font-size: .78rem; font-weight: 800; }
.dialog-floor-tabs button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.plan-viewport { position: relative; min-height: 0; overflow: hidden; display: grid; place-items: center; border: 1px solid rgb(32 46 59 / .12); border-radius: 1.2rem; background: #fffdf8; cursor: grab; touch-action: none; }
.plan-viewport.is-dragging { cursor: grabbing; }
.plan-viewport img { width: min(92%, 46rem); height: 92%; object-fit: contain; user-select: none; transform-origin: center; will-change: transform; }
.plan-toolbar { display: grid; grid-template-columns: 2.8rem 4.2rem 2.8rem 1fr; gap: .45rem; align-items: center; }
.plan-toolbar button { min-height: 2.8rem; border: 1px solid rgb(32 46 59 / .18); border-radius: .8rem; background: white; cursor: pointer; font-weight: 800; }
.plan-toolbar output { text-align: center; font-size: .76rem; font-weight: 800; }
.plan-toolbar .fit-button { background: var(--ink); color: white; }
.plan-toolbar { position: absolute; z-index: 2; left: clamp(1rem, 2.5vw, 1.6rem); right: clamp(1rem, 2.5vw, 1.6rem); bottom: 5.2rem; min-height: 2.8rem; }
.plan-note { position: absolute; left: clamp(1rem, 2.5vw, 1.6rem); right: clamp(1rem, 2.5vw, 1.6rem); bottom: 1.25rem; min-height: 2rem; margin: 0; color: rgb(32 46 59 / .7); font-size: .72rem; line-height: 1.4; }
.noscript { position: fixed; z-index: 100; inset: auto 1rem 1rem; padding: 1rem; background: var(--red); color: white; }

@media (max-width: 760px) {
  .site-header { inset: .75rem .75rem auto; }
  .site-header::before { inset: -.35rem; }
  .wordmark small, .site-header nav a:first-child { display: none; }
  .site-header nav a { padding: .55rem .75rem; }
  .flight { height: 480svh; }
  .scene { align-items: center; }
  .media-frame { width: 100vw; }
  .film-shade { opacity: .18; background: linear-gradient(0deg, rgb(10 31 51 / .4), transparent 38%); }
  .overlay { left: .9rem; right: .9rem; top: 5.2rem; width: auto; max-width: none; padding: .85rem 1rem; border: 1px solid rgb(255 255 255 / .28); border-radius: 1rem; background: rgb(15 47 75 / .68); backdrop-filter: blur(12px); }
  .overlay h1, .overlay h2 { font-size: clamp(1.65rem, 8vw, 2.45rem); max-width: 13ch; margin-bottom: .5rem; }
  .overlay p:not(.eyebrow) { font-size: .88rem; }
  .overlay-arrive { top: auto; bottom: 11.4rem; width: auto; }
  .primary-action { margin-top: .8rem; padding: .75rem .9rem; }
  .skip-flight { right: .7rem; bottom: .7rem; }
  .loading-state { bottom: .75rem; }
  .floor-controls { left: .7rem; right: .7rem; bottom: 3.8rem; width: auto; padding: .8rem; border-radius: 1.1rem; }
  .floor-controls h2, .floor-kicker { display: none; }
  .floor-buttons button { min-height: 3.4rem; border-radius: .8rem; }
  .hotspot span { display: none; }
  .plan-dialog { width: calc(100vw - .75rem); height: min(86dvh, 48rem); margin: auto .375rem .375rem; border-radius: 1.5rem 1.5rem 1rem 1rem; transform: translateY(2rem); }
  @starting-style { .plan-dialog[open] { opacity: 0; transform: translateY(2rem); } }
  .plan-shell { padding: 1rem; gap: .65rem; }
  .plan-head h2 { font-size: 1.55rem; }
  .plan-viewport { min-height: 15rem; }
  .plan-toolbar { grid-template-columns: 2.8rem 3.7rem 2.8rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flight { height: 100svh; }
  .overlay:not(.overlay-arrive) { display: none; }
}

@media (max-height: 680px) and (min-width: 761px) {
  .site-header { top: .65rem; }
  .overlay { top: 5rem; }
  .overlay-arrive { top: auto; bottom: 4.2rem; }
  .floor-controls { bottom: 3rem; }
}

/* Multi-site journey and catalog */
.scene {
  display: block;
}
.media-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  box-shadow: none;
}
.media-frame video,
.media-frame .poster {
  object-fit: cover;
  object-position: var(--media-position, center center);
}
.flight-primary { --media-position: 60% center; }
.flight-second { --media-position: center center; }
.flight-third { --media-position: center center; }
.scene.video-ready .poster-start { opacity: 0; }
.scene.video-ready .loading-state,
.scene.video-failed .loading-state { opacity: 0; pointer-events: none; }
.scene.video-failed .poster-end,
.scene.reduced-motion .poster-end { opacity: 1; }
.flight-second { height: 520svh; }
.flight-third { height: 520svh; }
.ambient-warm { background: radial-gradient(circle at 20% 18%, rgb(255 220 162 / .78), transparent 32%), linear-gradient(155deg, #9dbad0 0%, #e9dfca 58%, #b9a072 120%); }
.ambient-third { background: radial-gradient(circle at 76% 18%, rgb(255 194 117 / .68), transparent 32%), linear-gradient(155deg, #92b7d0 0%, #e2ddcb 58%, #a97c4d 120%); }
.overlay-journey { top: clamp(7rem, 18vh, 11rem); }

.journey-bridge {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(6rem, 11vw, 10rem) clamp(1.25rem, 7vw, 7rem);
  background: var(--cream);
}
.journey-bridge .eyebrow, .catalog .eyebrow { color: var(--red); }
.journey-copy h2 { margin: .6rem 0 1rem; max-width: 11ch; font-size: clamp(3rem, 7vw, 7.2rem); line-height: .92; letter-spacing: -.065em; text-wrap: balance; }
.journey-copy > p:not(.eyebrow) { max-width: 43rem; color: rgb(32 46 59 / .75); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; }
.journey-action { display: inline-flex; gap: .8rem; align-items: center; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 999px; background: var(--blue); color: white; text-decoration: none; font-weight: 850; box-shadow: 0 14px 34px rgb(18 94 195 / .2); }
.journey-bridge-compact { min-height: 68svh; grid-template-columns: minmax(0, 1fr); }
.journey-bridge-compact .journey-copy { max-width: 70rem; }
.site-facts { padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 1.7rem; background: white; box-shadow: 0 25px 70px rgb(42 49 55 / .1); }
.site-facts p { margin: 0 0 1rem; font-weight: 800; line-height: 1.45; }
.site-facts ul { margin: 0; padding: 0; list-style: none; }
.site-facts li { padding: .9rem 0 .9rem 1.5rem; border-top: 1px solid rgb(32 46 59 / .1); position: relative; }
.site-facts li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }

.second-controls { position: absolute; z-index: 11; right: clamp(1rem, 4vw, 4rem); bottom: clamp(4.5rem, 9vh, 6rem); width: min(27rem, 38vw); padding: 1.2rem; border: 1px solid rgb(255 255 255 / .45); border-radius: 1.4rem; background: rgb(246 235 212 / .92); box-shadow: 0 22px 80px rgb(10 35 56 / .22); backdrop-filter: blur(18px); opacity: 0; transform: translateY(18px); pointer-events: none; transition: .35s var(--ease); }
.third-controls { position: absolute; z-index: 11; right: clamp(1rem, 4vw, 4rem); bottom: clamp(4.5rem, 9vh, 6rem); width: min(29rem, 40vw); padding: 1.2rem; border: 1px solid rgb(255 255 255 / .45); border-radius: 1.4rem; background: rgb(246 235 212 / .92); box-shadow: 0 22px 80px rgb(10 35 56 / .22); backdrop-filter: blur(18px); opacity: 0; transform: translateY(18px); pointer-events: none; transition: .35s var(--ease); }
.scene.second-ready .second-controls { opacity: 1; transform: none; pointer-events: auto; }
.scene.third-ready .third-controls { opacity: 1; transform: none; pointer-events: auto; }
.second-controls h2 { margin: .2rem 0 .35rem; font-size: clamp(1.55rem, 2.4vw, 2.4rem); letter-spacing: -.045em; }
.third-controls h2 { margin: .2rem 0 .35rem; font-size: clamp(1.55rem, 2.4vw, 2.4rem); letter-spacing: -.045em; }
.second-controls > p:not(.floor-kicker) { margin: 0 0 .9rem; color: rgb(32 46 59 / .72); font-size: .86rem; line-height: 1.45; }
.third-controls > p:not(.floor-kicker) { margin: 0 0 .9rem; color: rgb(32 46 59 / .72); font-size: .86rem; line-height: 1.45; }
.second-controls .primary-action { margin-top: 0; background: var(--blue); color: white; }
.third-controls .primary-action { margin-top: 0; background: var(--blue); color: white; }
.stop-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.site-programs-link { min-height: 2.75rem; border: 1px solid rgb(32 46 59 / .18); border-radius: 999px; background: white; color: var(--blue-deep); padding: .65rem .9rem; cursor: pointer; font-weight: 850; }
.floor-controls > .site-programs-link { width: 100%; margin-top: .65rem; }

.catalog { padding: clamp(6rem, 10vw, 9rem) clamp(1.2rem, 5vw, 5rem); background: #f7f2e7; }
.catalog-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; max-width: 92rem; margin: 0 auto 2.3rem; }
.catalog-head h2 { margin: .45rem 0 .7rem; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .9; letter-spacing: -.07em; }
.catalog-head > div:first-child > p:not(.eyebrow) { margin: 0; font-size: 1.05rem; color: rgb(32 46 59 / .72); }
.catalog-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.catalog-stats span { min-width: 7.4rem; padding: .9rem 1rem; border-radius: 1.1rem; background: white; color: rgb(32 46 59 / .75); font-size: .72rem; }
.catalog-stats strong { display: block; color: var(--blue-deep); font-size: 1.6rem; letter-spacing: -.04em; }
.catalog-filters { position: sticky; z-index: 18; top: 4.6rem; display: grid; grid-template-columns: minmax(16rem, 1.5fr) minmax(13rem, 1fr) minmax(10rem, .7fr) auto; gap: .7rem; max-width: 92rem; margin: 0 auto 1.5rem; padding: .8rem; border: 1px solid rgb(32 46 59 / .1); border-radius: 1.35rem; background: rgb(255 255 255 / .86); box-shadow: 0 14px 40px rgb(32 46 59 / .09); backdrop-filter: blur(18px); }
.catalog-filters label { display: grid; gap: .25rem; }
.catalog-filters label > span { padding-left: .25rem; color: rgb(32 46 59 / .65); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.catalog-filters input, .catalog-filters select { width: 100%; min-height: 2.9rem; border: 1px solid rgb(32 46 59 / .15); border-radius: .8rem; background: white; color: var(--ink); padding: 0 .85rem; }
.reset-filters { align-self: end; min-height: 2.9rem; border: 0; border-radius: .8rem; background: var(--ink); color: white; padding: 0 1rem; cursor: pointer; font-weight: 800; }
.catalog-status { max-width: 92rem; margin: 0 auto 1rem; color: rgb(32 46 59 / .7); font-size: .84rem; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 92rem; margin: 0 auto; }
.program-card { min-width: 0; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid rgb(32 46 59 / .1); border-radius: 1.35rem; background: white; box-shadow: 0 10px 30px rgb(36 44 51 / .06); }
.program-card h3 { margin: .6rem 0 .55rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.08; letter-spacing: -.035em; }
.program-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.program-badge { display: inline-flex; align-items: center; padding: .35rem .55rem; border-radius: 999px; background: #eef4fc; color: var(--blue-deep); font-size: .64rem; font-weight: 850; }
.program-badge.paid { background: #fff1d8; color: #80520f; }
.program-address { margin: 0 0 .7rem; color: rgb(32 46 59 / .7); font-size: .78rem; line-height: 1.42; }
.program-teachers { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid rgb(32 46 59 / .08); font-size: .8rem; line-height: 1.45; }
.program-teachers strong { display: block; color: var(--red); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.program-card details { margin-top: .9rem; }
.program-card summary { cursor: pointer; color: var(--blue-deep); font-size: .76rem; font-weight: 850; }
.group-list { margin: .7rem 0 0; padding: 0 0 0 1rem; color: rgb(32 46 59 / .75); font-size: .72rem; line-height: 1.45; }
.group-list li + li { margin-top: .35rem; }
.program-price { margin: .75rem 0 0; padding: .7rem .8rem; border-radius: .85rem; background: #fff1d8; color: #6e450d; font-size: .76rem; line-height: 1.4; font-weight: 750; }
.schedule-block { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgb(32 46 59 / .09); }
.schedule-block h4 { margin: 0 0 .45rem; font-size: .72rem; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.schedule-entry + .schedule-entry { margin-top: .65rem; padding-top: .65rem; border-top: 1px dashed rgb(32 46 59 / .12); }
.schedule-entry p { margin: 0 0 .35rem; color: rgb(32 46 59 / .72); font-size: .7rem; line-height: 1.4; }
.event-list { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.event-list li { padding: .28rem .42rem; border-radius: .5rem; background: #eef4fc; color: var(--blue-deep); font-size: .65rem; font-weight: 750; }
.schedule-pending { margin: .7rem 0 0; color: rgb(32 46 59 / .58); font-size: .7rem; }
.load-more { display: block; margin: 2rem auto 0; min-height: 3.1rem; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--blue); color: white; cursor: pointer; font-weight: 850; }
.load-more[hidden] { display: none; }
.catalog-note { max-width: 54rem; margin: 3rem auto 0; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: rgb(255 255 255 / .56); color: rgb(32 46 59 / .68); font-size: .8rem; line-height: 1.55; }
.empty-catalog { grid-column: 1 / -1; padding: 3rem; border: 1px dashed rgb(32 46 59 / .25); border-radius: 1.5rem; text-align: center; color: rgb(32 46 59 / .7); }
.plan-dialog.plan-wide { width: min(76rem, 78vw); }
.plan-dialog.plan-wide .plan-viewport img { width: 96%; height: 94%; }

@media (max-width: 960px) {
  .journey-bridge { grid-template-columns: 1fr; }
  .catalog-head { grid-template-columns: 1fr; }
  .catalog-stats { justify-content: flex-start; }
  .catalog-filters { grid-template-columns: 1fr 1fr; top: 4.2rem; }
  .reset-filters { align-self: end; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header nav { gap: 0; }
  .site-header nav a { padding: .52rem .58rem; font-size: .72rem; }
  .site-header nav a:first-child { display: none; }
  .flight-primary { --media-position: 62% center; }
  .flight-second { --media-position: 50% center; height: 460svh; }
  .flight-third { --media-position: 48% center; }
  .flight-third { height: 460svh; }
  .journey-bridge { min-height: auto; padding: 7rem 1rem 5rem; gap: 2.5rem; }
  .journey-copy h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .second-controls { left: .7rem; right: .7rem; bottom: 3.8rem; width: auto; padding: .85rem; border-radius: 1.1rem; }
  .third-controls { left: .7rem; right: .7rem; bottom: 3.8rem; width: auto; padding: .85rem; border-radius: 1.1rem; }
  .second-controls h2 { font-size: 1.35rem; }
  .third-controls h2 { font-size: 1.35rem; }
  .second-controls > p:not(.floor-kicker) { display: none; }
  .third-controls > p:not(.floor-kicker) { display: none; }
  .second-controls .primary-action { width: 100%; }
  .third-controls .primary-action { width: 100%; }
  .catalog { padding: 6rem .8rem; }
  .catalog-head h2 { font-size: clamp(3.5rem, 18vw, 5.6rem); }
  .catalog-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .catalog-stats span { min-width: 0; padding: .7rem; }
  .catalog-stats strong { font-size: 1.3rem; }
  .catalog-filters { position: relative; top: auto; grid-template-columns: 1fr; border-radius: 1.1rem; }
  .program-grid { grid-template-columns: 1fr; }
  .plan-dialog.plan-wide { width: calc(100vw - .75rem); }
}

@media (prefers-reduced-motion: reduce) {
  .flight-primary,
  .flight-second,
  .flight-third { height: 100svh; }
}

/* One continuous scroll-controlled journey */
.journey {
  position: relative;
  height: 15000svh;
  background: #dce7ed;
}

.journey-anchor {
  position: absolute;
  top: var(--anchor);
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.journey-scene {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #a4bfd7;
}

.journey-scene .ambient {
  inset: 0;
  z-index: -1;
  filter: none;
}

.journey-media,
.journey-media-layer,
.journey-media-layer video,
.journey-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.journey-media {
  z-index: 0;
  overflow: hidden;
  background: #a4bfd7;
}

.journey-media-layer {
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.journey-media-layer video,
.journey-poster {
  object-fit: cover;
  object-position: var(--journey-position, center center);
}

.journey-media-layer video {
  z-index: 2;
  opacity: 0;
  transition: opacity .14s linear;
}

.journey-media-layer.is-ready video { opacity: 1; }
.journey-poster-start { z-index: 1; }
.journey-poster-end { z-index: 3; opacity: 0; }
.journey-media-primary { --journey-position: 60% center; }
.journey-media-second { --journey-position: center center; }
.journey-media-third { --journey-position: center center; }
.journey-media-board,
.journey-media-classroom,
.journey-media-green { --journey-position: center center; }

.journey-media > .film-shade {
  z-index: 5;
}

.journey-scene .overlays { z-index: 8; }
.journey-scene .loading-state { z-index: 13; }
.journey-scene.is-loaded .journey-loading { opacity: 0; pointer-events: none; }

.journey-scene .floor-controls,
.journey-scene .second-controls,
.journey-scene .third-controls {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.journey-scene.stop-palace .floor-controls,
.journey-scene.stop-second .second-controls,
.journey-scene.stop-third .third-controls {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.journey-scene .floor-hotspots { opacity: 0; pointer-events: none; }
.journey-scene.stop-palace .floor-hotspots { opacity: 0; pointer-events: none; }
.journey-scene.palace-floor-open .floor-hotspots { opacity: 1; pointer-events: auto; }

body.dialog-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .journey { height: 15400svh; }
  .journey-media-primary { --journey-position: 62% center; }
  .journey-media-second { --journey-position: 50% center; }
  .journey-media-third { --journey-position: 48% center; }
  .journey-media-board,
  .journey-media-classroom,
  .journey-media-green { --journey-position: center center; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-media-layer video { transition: none; }
}

/* Palace presentation */
.palace-presentation {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  color: white;
}

.palace-presentation.is-visible { pointer-events: auto; }

.palace-glass {
  position: absolute;
  top: clamp(6.5rem, 14vh, 8.5rem);
  left: clamp(1.5rem, 4vw, 4rem);
  width: min(68rem, calc(100vw - 8rem));
  max-height: calc(100svh - 11rem);
  padding: clamp(1.35rem, 2.6vw, 2.2rem);
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 1.25rem;
  background: rgb(7 20 32 / .58);
  backdrop-filter: blur(16px) saturate(.92);
  box-shadow: none;
  overflow: hidden;
}

.palace-presentation.is-principle .palace-glass {
  width: min(62rem, calc(100vw - 8rem));
  background: rgb(7 20 32 / .34);
  backdrop-filter: blur(9px) saturate(.9);
}

.palace-presentation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.1rem, 2.4vh, 1.8rem);
}

.palace-scene-count,
.palace-kicker,
.palace-address {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.palace-scene-count { color: rgb(255 255 255 / .72); }
.palace-scene-count span { color: white; font-variant-numeric: tabular-nums; }

.palace-presentation-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.palace-presentation-nav button,
.palace-actions button {
  min-height: 2.55rem;
  border: 1px solid rgb(255 255 255 / .26);
  border-radius: .7rem;
  background: rgb(255 255 255 / .08);
  color: white;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
}

.palace-presentation-nav > button:not(.palace-skip) { width: 2.55rem; padding: 0; font-size: 1rem; }
.palace-presentation-nav button:disabled { opacity: .32; cursor: default; }
.palace-presentation-nav .palace-skip { margin-left: .35rem; padding: 0 .85rem; background: transparent; }

.palace-scenes { position: relative; }
.palace-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.palace-scene.is-current { position: relative; pointer-events: auto; }

.palace-kicker { margin-bottom: .7rem; color: #ffe2a3; }
.palace-scene h2 {
  margin: 0 0 clamp(1rem, 2.4vh, 1.7rem);
  max-width: 18ch;
  font-size: clamp(3rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}

.palace-scene p,
.palace-scene li,
.palace-directions dd {
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
}

.palace-lead-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3.5rem); max-width: 62rem; }
.palace-lead-copy p,
.palace-two-column-copy p,
.palace-stat-note,
.palace-footnote { margin: 0; }

.palace-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 58rem;
  border-top: 1px solid rgb(255 255 255 / .2);
  border-bottom: 1px solid rgb(255 255 255 / .2);
}
.palace-stats p { margin: 0; padding: 1rem 1.4rem 1rem 0; }
.palace-stats strong { display: block; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.palace-stats span { display: block; margin-top: .4rem; color: rgb(255 255 255 / .75); font-size: .86rem; line-height: 1.3; }
.palace-stat-note { padding: .8rem 0 1rem; color: #ffe2a3; font-size: .92rem !important; }
.palace-two-column-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); max-width: 62rem; }

.palace-list {
  display: grid;
  gap: .65rem;
  max-width: 64rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.palace-list li { position: relative; padding-left: 1.5rem; }
.palace-list li::before { content: "—"; position: absolute; left: 0; color: #ffe2a3; }
.palace-list strong { font-weight: 600; }
.palace-list-dense li { line-height: 1.38; }

.palace-scene-principle { padding: clamp(1rem, 4vh, 3rem) 0; }
.palace-scene-principle h2 { max-width: 22ch; margin-bottom: 0; font-size: clamp(3.3rem, 5vw, 4rem); line-height: 1.04; }
.palace-scene-principle h2 span { display: block; }

.palace-directions {
  display: grid;
  gap: 0;
  max-width: 64rem;
  margin: 0;
}
.palace-directions > div { display: grid; grid-template-columns: minmax(15rem, .9fr) minmax(0, 1.5fr); gap: 1.5rem; padding: .58rem 0; border-top: 1px solid rgb(255 255 255 / .15); }
.palace-directions dt { font-size: 1.125rem; font-weight: 600; }
.palace-directions dd { margin: 0; color: rgb(255 255 255 / .76); font-size: 1.125rem; }
.palace-footnote { margin-top: .85rem; color: #ffe2a3; font-size: .92rem !important; }

.palace-list-result { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.palace-list-result { gap: .38rem; }
.palace-list-result li { font-size: 1.125rem; line-height: 1.35; }
.palace-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.palace-actions button { padding: 0 .9rem; }
.palace-actions button:last-child { border-color: transparent; background: white; color: #142a3c; }

.palace-floor-buttons {
  max-width: 24rem;
  margin-top: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.palace-floor-buttons[hidden] { display: none !important; }
.palace-floor-buttons button { min-height: 3.3rem; border-color: rgb(255 255 255 / .26); border-radius: .7rem; background: rgb(255 255 255 / .1); color: white; }

.palace-address {
  position: absolute;
  left: clamp(1.5rem, 4vw, 4rem);
  bottom: 1.45rem;
  padding: .25rem 0;
  color: white;
  text-shadow: 0 1px 12px rgb(0 15 28 / .7);
}

.journey-scene.stop-palace .film-shade { opacity: .18; }

@media (max-width: 760px) {
  .palace-glass {
    top: 4.8rem;
    left: .65rem;
    width: calc(100vw - 1.3rem);
    max-height: calc(100svh - 8.1rem);
    padding: .95rem 1rem 1.05rem;
    border-radius: 1rem;
    backdrop-filter: blur(14px) saturate(.9);
  }
  .palace-presentation.is-principle .palace-glass { width: calc(100vw - 1.3rem); }
  .palace-presentation-head { margin-bottom: .75rem; }
  .palace-scene-count, .palace-kicker, .palace-address { font-size: .67rem; }
  .palace-presentation-nav button { min-height: 2.2rem; font-size: .68rem; }
  .palace-presentation-nav > button:not(.palace-skip) { width: 2.2rem; }
  .palace-presentation-nav .palace-skip { padding: 0 .55rem; }
  .palace-scene h2 { margin-bottom: .75rem; font-size: clamp(1.95rem, 9vw, 2.7rem); line-height: 1.04; }
  .palace-scene p, .palace-scene li, .palace-directions dd { font-size: 1rem; line-height: 1.4; }
  .palace-lead-copy, .palace-two-column-copy { grid-template-columns: 1fr; gap: .75rem; }
  .palace-stats strong { font-size: clamp(1.8rem, 9vw, 2.8rem); }
  .palace-stats p { padding: .7rem .45rem .7rem 0; }
  .palace-stats span { font-size: .7rem; }
  .palace-stat-note { padding: .55rem 0 .7rem; font-size: .75rem !important; }
  .palace-list { gap: .42rem; }
  .palace-list li { padding-left: 1.1rem; }
  .palace-list-dense li, .palace-list-result li { font-size: .96rem; line-height: 1.32; }
  .palace-scene-principle { padding: 1rem 0; }
  .palace-scene-principle h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .palace-directions > div { grid-template-columns: 1fr; gap: .08rem; padding: .36rem 0; }
  .palace-directions dt { font-size: .9rem; }
  .palace-directions dd { font-size: .78rem; line-height: 1.3; }
  .palace-footnote { margin-top: .5rem; font-size: .72rem !important; }
  .palace-list-result { grid-template-columns: 1fr; gap: .3rem; }
  .palace-actions { gap: .35rem; margin-top: .65rem; }
  .palace-actions button { min-height: 2.3rem; padding: 0 .65rem; font-size: .78rem; }
  .palace-floor-buttons { margin-top: .5rem; }
  .palace-floor-buttons button { min-height: 2.7rem; }
  .palace-address { left: .8rem; bottom: .75rem; }
}

@media (max-height: 700px) and (min-width: 761px) {
  .palace-glass { top: 5.2rem; max-height: calc(100svh - 8rem); padding: 1.2rem 1.5rem; }
  .palace-presentation-head { margin-bottom: .75rem; }
  .palace-scene h2 { margin-bottom: .8rem; font-size: clamp(2.5rem, 4vw, 3.35rem); }
  .palace-scene p, .palace-scene li { font-size: 1rem; line-height: 1.38; }
  .palace-list { gap: .42rem; }
  .palace-address { bottom: .8rem; }
}

/* Local presentations — Sosnovaya and Shkolnaya */
.location-presentation {
  position: absolute;
  inset: 0;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  color: #243441;
}

.location-presentation.is-visible { pointer-events: auto; }

.location-glass {
  position: absolute;
  top: clamp(5.1rem, 8svh, 6.7rem);
  left: 50%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(.55rem, 1.4vh, .9rem);
  width: min(64rem, calc(100vw - clamp(5rem, 13vw, 11rem)));
  height: min(72svh, 40rem);
  max-height: calc(100svh - 8.7rem);
  padding: clamp(1rem, 1.8vw, 1.45rem) clamp(1.3rem, 2.5vw, 2.25rem) clamp(1rem, 1.7vw, 1.35rem);
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / .84);
  border-radius: 1.35rem;
  background: rgb(250 248 240 / .82);
  box-shadow: 0 1.2rem 3.7rem rgb(28 45 57 / .14), inset 0 1px 0 rgb(255 255 255 / .92);
  backdrop-filter: blur(22px) saturate(.94);
  overflow: hidden;
}

.location-presentation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.location-scene-count,
.location-stage,
.location-label {
  margin: 0;
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.location-scene-count { color: rgb(36 52 65 / .58); }
.location-scene-count span { color: #123b61; font-weight: 700; font-variant-numeric: tabular-nums; }
.location-stage { margin-top: .25rem; color: #1b6296; font-weight: 650; }

.location-presentation-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.location-presentation-nav button,
.location-footer button {
  min-height: 2.55rem;
  padding: 0 .85rem;
  border: 1px solid rgb(20 65 98 / .2);
  border-radius: .7rem;
  background: rgb(255 255 255 / .55);
  color: #173e5d;
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}

.location-presentation-nav button:hover,
.location-footer button:hover {
  transform: translateY(-1px);
  border-color: rgb(20 65 98 / .38);
  background: rgb(255 255 255 / .84);
}

.location-presentation-nav button:disabled { opacity: .3; cursor: default; transform: none; }
.location-presentation-nav > button:not(.location-skip) { width: 2.55rem; padding: 0; font-size: 1rem; }
.location-presentation-nav .location-skip { margin-left: .2rem; background: transparent; }

.location-slides {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.location-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.location-slide.is-current { pointer-events: auto; }

.location-slide h2 {
  max-width: 18ch;
  margin: 0 auto clamp(.65rem, 1.5vh, 1rem);
  color: #173d59;
  font-size: clamp(2.35rem, 4.2vw, 3.7rem);
  line-height: .98;
  font-weight: 620;
  letter-spacing: -.055em;
  text-align: center;
  text-wrap: balance;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  min-height: 0;
}

.location-copy {
  min-width: 0;
  align-self: center;
}

.location-copy > p,
.location-copy li {
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.38;
}

.location-copy > p { margin: 0; }
.location-copy ul { display: grid; gap: .42rem; margin: 0; padding: 0; list-style: none; }
.location-copy li { position: relative; padding-left: 1.1rem; }
.location-copy li::before { content: "—"; position: absolute; left: 0; color: #2875a8; }

.location-copy .location-thesis {
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 1px solid rgb(29 85 124 / .18);
  color: #164f77;
  font-weight: 650;
}

.location-note {
  margin-top: .75rem;
  padding-left: .75rem;
  border-left: 2px solid #c89b42;
  color: rgb(36 52 65 / .72);
  font-size: .72rem;
  line-height: 1.42;
}

.location-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: .8rem;
  min-width: 0;
  min-height: 0;
  color: #174d73;
}

.location-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.location-metrics p {
  min-width: 0;
  margin: 0;
  padding: .65rem 0;
  border-top: 1px solid rgb(29 85 124 / .2);
}

.location-metrics strong {
  display: block;
  color: #0c5f92;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: .95;
  font-weight: 650;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}

.location-metrics span {
  display: block;
  margin-top: .3rem;
  color: rgb(36 52 65 / .72);
  font-size: .72rem;
  line-height: 1.25;
}

.location-visual--sosnovaya-04 .location-metrics,
.location-visual--shkolnaya-04 .location-metrics { grid-template-columns: 1fr; }

.location-visual--sosnovaya-04 .location-metrics strong,
.location-visual--shkolnaya-04 .location-metrics p:first-child strong { font-size: clamp(2.6rem, 4.2vw, 4.2rem); }

.location-visual--shkolnaya-04 .location-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.location-visual--shkolnaya-04 .location-metrics p:first-child { grid-column: 1 / -1; }

.location-composition > div {
  display: grid;
  grid-template-columns: var(--free-share) 1fr;
  height: .7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(25 95 140 / .12);
}

.location-composition span { background: #1f6f9f; }
.location-composition i { background: #d5a850; }
.location-composition p { margin: .38rem 0 0; color: rgb(36 52 65 / .68); font-size: .72rem; }

.location-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1rem;
}

.location-diagram > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .2rem .5rem;
  min-height: 4.2rem;
  padding: .5rem 0;
  border-top: 1px solid rgb(29 85 124 / .2);
}

.location-diagram .concept-icon { grid-row: 1 / 3; width: 1.45rem; height: 1.45rem; }
.location-diagram span { color: rgb(21 83 124 / .48); font-size: .62rem; letter-spacing: .12em; }
.location-diagram strong { align-self: start; font-size: .84rem; line-height: 1.2; font-weight: 650; }

.location-diagram.is-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.location-diagram.is-flow > div { grid-template-columns: 1fr; align-content: center; text-align: center; }
.location-diagram.is-flow .concept-icon { grid-row: auto; margin: 0 auto; }

.location-visual > img {
  display: block;
  width: 100%;
  max-height: 16rem;
  object-fit: contain;
}

.location-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem;
}

.location-footer[hidden] { display: none !important; }
.location-footer .location-continue { border-color: transparent; background: #175d8d; color: white; }

.location-label {
  position: absolute;
  left: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(.85rem, 2vh, 1.5rem);
  color: rgb(255 255 255 / .92);
  text-shadow: 0 2px 12px rgb(10 27 40 / .5);
}

.journey-scene.stop-sosnovaya .film-shade,
.journey-scene.stop-shkolnaya .film-shade { opacity: .16; }

@media (max-width: 760px) {
  .location-glass {
    top: 4.4rem;
    width: calc(100vw - 1.15rem);
    height: calc(100svh - 6.6rem);
    max-height: none;
    padding: .8rem .9rem .85rem;
    border-radius: 1.05rem;
  }

  .location-presentation-head { gap: .45rem; }
  .location-scene-count, .location-stage, .location-label { font-size: .62rem; }
  .location-presentation-nav { gap: .2rem; }
  .location-presentation-nav button { min-height: 2.15rem; padding: 0 .48rem; font-size: .66rem; }
  .location-presentation-nav > button:not(.location-skip) { width: 2.15rem; }
  .location-presentation-nav .location-skip { margin-left: 0; }

  .location-slide h2 {
    max-width: 20ch;
    margin-bottom: .55rem;
    font-size: clamp(1.65rem, 7.2vw, 2.2rem);
    line-height: 1.02;
  }

  .location-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: start;
    gap: .55rem;
  }

  .location-copy > p,
  .location-copy li { font-size: .78rem; line-height: 1.3; }
  .location-copy ul { gap: .22rem; }
  .location-copy li { padding-left: .85rem; }
  .location-copy .location-thesis { margin-top: .4rem; padding-top: .38rem; }
  .location-note { margin-top: .4rem; padding-left: .5rem; font-size: .59rem; line-height: 1.3; }
  .location-visual { align-self: start; gap: .35rem; }
  .location-metrics { gap: 0 .55rem; }
  .location-metrics p { padding: .32rem 0; }
  .location-metrics strong { font-size: clamp(1.45rem, 7vw, 2rem); }
  .location-metrics span { margin-top: .16rem; font-size: .56rem; }
  .location-visual--sosnovaya-04 .location-metrics strong,
  .location-visual--shkolnaya-04 .location-metrics p:first-child strong { font-size: 2rem; }
  .location-composition > div { height: .45rem; }
  .location-composition p { margin-top: .2rem; font-size: .56rem; }
  .location-diagram { gap: .25rem .55rem; }
  .location-diagram > div { min-height: 2.7rem; padding: .22rem 0; gap: .08rem .3rem; }
  .location-diagram .concept-icon { width: 1rem; height: 1rem; }
  .location-diagram span { font-size: .48rem; }
  .location-diagram strong { font-size: .64rem; }
  .location-diagram.is-flow { gap: .2rem; }
  .location-visual > img { max-height: 7rem; }
  .location-footer { gap: .25rem; }
  .location-footer button { min-height: 2.15rem; padding: 0 .55rem; font-size: .64rem; }
  .location-label { left: .8rem; bottom: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .location-slide,
  .location-presentation-nav button,
  .location-footer button { transition: none !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .palace-scene { transform: none !important; }
}

/* First location — light matte presentation */
.palace-presentation {
  color: #243441;
}

.palace-icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.palace-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.palace-glass,
.palace-floor-state {
  position: absolute;
  top: clamp(5.1rem, 8svh, 6.7rem);
  left: 50%;
  width: min(82.5rem, calc(100vw - clamp(4rem, 7vw, 6rem)));
  height: min(72svh, 40rem);
  max-height: calc(100svh - 8.7rem);
  padding: clamp(1rem, 1.8vw, 1.5rem) clamp(1.35rem, 2.7vw, 2.5rem) clamp(1.15rem, 2vw, 1.7rem);
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / .82);
  border-radius: 1.4rem;
  background: rgb(250 248 240 / .82);
  color: #243441;
  box-shadow: 0 1.2rem 3.7rem rgb(28 45 57 / .14), inset 0 1px 0 rgb(255 255 255 / .9);
  backdrop-filter: blur(22px) saturate(.94);
  overflow: hidden;
}

.palace-glass {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(.5rem, 1.4vh, .9rem);
  transition: opacity .24s, transform .24s;
}

.palace-presentation.is-floor-mode .palace-glass {
  opacity: 0;
  pointer-events: none;
}

.palace-presentation.is-principle .palace-glass {
  width: min(82.5rem, calc(100vw - clamp(4rem, 7vw, 6rem)));
  background: rgb(250 248 240 / .76);
  backdrop-filter: blur(18px) saturate(.94);
}

.palace-presentation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.7rem;
  margin: 0;
  padding-bottom: .65rem;
  border-bottom: 1px solid rgb(36 52 65 / .12);
}

.palace-scene-count,
.palace-address {
  margin: 0;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.palace-scene-count {
  color: rgb(36 52 65 / .58);
}

.palace-scene-count span {
  color: #155c8a;
  font-variant-numeric: tabular-nums;
}

.palace-presentation-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.palace-presentation-nav button,
.palace-actions button,
.palace-floor-state button {
  min-height: 2.55rem;
  border: 1px solid rgb(36 52 65 / .17);
  border-radius: .75rem;
  background: rgb(255 255 255 / .46);
  color: #243441;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 650;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s;
}

.palace-presentation-nav button:hover,
.palace-actions button:hover,
.palace-floor-state button:hover {
  border-color: rgb(21 92 138 / .55);
  background: rgb(255 255 255 / .8);
}

.palace-presentation-nav > button:not(.palace-skip) {
  width: 2.55rem;
  padding: 0;
  font-size: 1rem;
}

.palace-presentation-nav button:disabled {
  opacity: .34;
  cursor: default;
}

.palace-presentation-nav .palace-skip {
  margin-left: .2rem;
  padding: 0 .85rem;
  background: transparent;
}

.palace-scenes {
  position: relative;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(36 52 65 / .24) transparent;
}

.palace-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  padding: .15rem .2rem .4rem;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.palace-scene.is-current {
  position: relative;
  min-height: 0;
  pointer-events: auto;
}

.palace-scene[aria-hidden="true"] {
  display: none;
}

.palace-scene h2 {
  max-width: 26ch;
  margin: 0 auto clamp(.8rem, 1.7vh, 1.25rem);
  color: #243441;
  font-size: clamp(2.75rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.palace-scene p,
.palace-scene li,
.palace-directions dd {
  color: #243441;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
}

.palace-scene strong,
.palace-directions dt {
  font-weight: 650;
}

.palace-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(27rem, 1.1fr);
  gap: clamp(1.5rem, 3.5vw, 3.7rem);
  align-items: center;
}

.palace-source-copy {
  margin: 0;
  max-width: 40rem;
}

.palace-source-copy strong {
  color: #155c8a;
}

.palace-visual-cluster {
  display: grid;
  grid-template-columns: minmax(12rem, .82fr) minmax(15rem, 1.18fr);
  gap: .7rem;
  align-items: stretch;
}

.palace-visual-cluster > img,
.palace-building-accent img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(.98);
}

.palace-accent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.palace-accent-grid span {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .55rem;
  min-height: 5.1rem;
  padding: .85rem;
  border: 1px solid rgb(36 52 65 / .11);
  border-radius: .8rem;
  color: #155c8a;
  background: rgb(255 255 255 / .28);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.25;
}

.palace-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  border-top: 1px solid rgb(36 52 65 / .14);
  border-bottom: 1px solid rgb(36 52 65 / .14);
}

.palace-stats p {
  margin: 0;
  padding: .65rem 1rem .75rem;
  text-align: center;
}

.palace-stats p + p {
  border-left: 1px solid rgb(36 52 65 / .12);
}

.palace-stats strong {
  display: block;
  color: #155c8a;
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.palace-stats span {
  display: block;
  margin-top: .35rem;
  color: rgb(36 52 65 / .7);
  font-size: .82rem;
  line-height: 1.3;
}

.palace-enrollment {
  display: grid;
  grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1rem;
  margin: .7rem 0 .9rem;
}

.palace-enrollment p {
  margin: 0;
  font-size: .9rem;
}

.palace-enrollment-bar {
  display: flex;
  height: .7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(36 52 65 / .1);
}

.palace-enrollment-bar .is-free {
  flex: 866;
  background: #2c7ba6;
}

.palace-enrollment-bar .is-paid {
  flex: 157;
  background: #c99239;
}

.palace-two-column-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: none;
}

.palace-two-column-copy p {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin: 0;
  padding: .85rem 1rem;
  border-top: 1px solid rgb(36 52 65 / .13);
}

.palace-two-column-copy .palace-icon {
  color: #c18125;
}

.palace-problem-grid,
.palace-space-grid,
.palace-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.palace-problem-grid li,
.palace-space-grid li,
.palace-result-grid li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-content: start;
  padding: .85rem 1.1rem;
  border-top: 1px solid rgb(36 52 65 / .13);
}

.palace-problem-grid li:nth-child(odd),
.palace-space-grid li:nth-child(odd) {
  border-right: 1px solid rgb(36 52 65 / .13);
}

.palace-problem-grid .palace-icon,
.palace-space-grid .palace-icon {
  width: 1.45rem;
  height: 1.45rem;
  color: #155c8a;
}

.palace-problem-grid li,
.palace-space-grid li {
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.42;
}

.palace-scene-principle {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: 0;
}

.palace-scene-principle h2 {
  max-width: none;
  margin-bottom: 1.6rem;
  font-size: clamp(2.75rem, 3.6vw, 3.5rem);
  line-height: 1.14;
}

.palace-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgb(36 52 65 / .13);
  border-radius: 1rem;
  background: rgb(36 52 65 / .13);
}

.palace-principles p {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .8rem;
  min-height: 10rem;
  margin: 0;
  padding: 1.25rem;
  background: rgb(255 255 255 / .34);
  text-align: center;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
}

.palace-principles p:nth-child(2) {
  color: #8b5d1e;
}

.palace-intro-line {
  margin: -.35rem 0 .6rem;
  color: rgb(36 52 65 / .67) !important;
  text-align: center;
  font-size: .86rem !important;
  font-weight: 650 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.palace-directions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  max-width: none;
  margin: 0;
}

.palace-directions > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: .45rem .6rem;
  align-content: start;
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgb(36 52 65 / .12);
  border-radius: .85rem;
  background: rgb(255 255 255 / .26);
}

.palace-directions .palace-icon {
  grid-row: 1 / span 2;
  width: 1.4rem;
  height: 1.4rem;
  color: #155c8a;
}

.palace-directions dt {
  font-size: .91rem;
  line-height: 1.3;
}

.palace-directions dd {
  margin: 0;
  color: rgb(36 52 65 / .7);
  font-size: .8rem;
  line-height: 1.36;
}

.palace-footnote {
  margin: .75rem 0 0;
  padding-top: .65rem;
  border-top: 1px solid rgb(36 52 65 / .12);
  color: #805615 !important;
  text-align: center;
  font-size: .88rem !important;
  font-weight: 550 !important;
}

.palace-space-layout {
  display: grid;
  grid-template-columns: minmax(16rem, .58fr) minmax(0, 1.42fr);
  gap: 1rem;
  align-items: stretch;
}

.palace-building-accent {
  position: relative;
  min-height: 16rem;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.palace-building-accent img {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.palace-building-accent figcaption {
  position: absolute;
  inset: auto .7rem .7rem;
  padding: .6rem .7rem;
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: .65rem;
  background: rgb(250 248 240 / .78);
  color: #243441;
  backdrop-filter: blur(8px);
  font-size: .72rem;
  font-weight: 650;
}

.palace-result-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  counter-reset: result;
}

.palace-result-grid li {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 7rem;
  padding: .85rem;
  border: 1px solid rgb(36 52 65 / .12);
  border-radius: .85rem;
  background: rgb(255 255 255 / .26);
  font-size: .9rem;
  line-height: 1.38;
}

.palace-result-grid .palace-result-number {
  position: absolute;
  top: .55rem;
  right: .65rem;
  color: rgb(36 52 65 / .32);
  font-size: .65rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.palace-result-grid .palace-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: #c18125;
}

.palace-presentation-footer {
  min-height: 2.65rem;
  padding-top: .65rem;
  border-top: 1px solid rgb(36 52 65 / .12);
}

.palace-actions {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(.35rem);
  transition: opacity .2s, transform .2s;
}

.palace-scene-final .palace-actions {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.palace-actions button {
  padding: 0 1rem;
}

.palace-actions button:first-child,
.palace-actions button:last-child {
  border-color: #155c8a;
  background: #155c8a;
  color: white;
}

.palace-floor-state {
  z-index: 2;
  display: grid;
  height: min(66svh, 36rem);
  align-content: center;
  justify-items: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s, transform .24s;
}

.palace-floor-state[hidden] {
  display: none !important;
}

.palace-floor-state.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.palace-floor-state-head {
  position: absolute;
  top: 1.2rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.palace-floor-state-head p {
  margin: 0;
  color: rgb(36 52 65 / .58);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.palace-floor-back {
  padding: 0 .9rem;
}

.palace-floor-state h2 {
  margin: 0;
  font-size: clamp(2.75rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.14;
  text-align: center;
}

.palace-floor-intro {
  max-width: 42rem;
  margin: 0;
  color: rgb(36 52 65 / .7);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.palace-floor-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(48rem, 100%);
  max-width: none;
  margin: .5rem 0 0;
  gap: .75rem;
}

.palace-floor-buttons button {
  min-height: 7.2rem;
  padding: 1rem;
  border-color: rgb(36 52 65 / .15);
  border-radius: 1rem;
  background: rgb(255 255 255 / .38);
  color: #243441;
}

.palace-floor-buttons button:hover,
.palace-floor-buttons button[aria-pressed="true"] {
  transform: translateY(-2px);
  border-color: #155c8a;
  background: #155c8a;
  color: white;
  box-shadow: none;
}

.palace-floor-buttons strong {
  color: #c18125;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.palace-floor-buttons span {
  margin-top: .55rem;
  font-size: .8rem;
}

.palace-address {
  position: absolute;
  left: clamp(1.5rem, 4vw, 4rem);
  bottom: 1.2rem;
  padding: .35rem .55rem;
  border-radius: .45rem;
  color: white;
  background: rgb(20 40 55 / .26);
  text-shadow: 0 1px 12px rgb(0 15 28 / .58);
  backdrop-filter: blur(8px);
}

.journey-scene.stop-palace .film-shade {
  opacity: 0;
}

.site-header::before {
  background: rgb(250 248 240 / .72);
  box-shadow: 0 .55rem 2.2rem rgb(35 56 69 / .1), inset 0 1px 0 rgb(255 255 255 / .74);
  backdrop-filter: blur(20px) saturate(.96);
}

@media (max-width: 1050px) and (min-width: 761px) {
  .palace-directions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .palace-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .palace-lead-layout {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, .9fr);
  }
  .palace-visual-cluster {
    grid-template-columns: 1fr;
  }
  .palace-visual-cluster > img {
    min-height: 8rem;
  }
}

/* Design direction V2 — approved-material samples before the 57-slide rollout. */
.palace-glass,
.location-glass,
.concept-glass {
  isolation: isolate;
  border-color: rgb(255 255 255 / .72);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgb(255 255 255 / .5), rgb(255 255 255 / .08) 38%, transparent 64%),
    rgb(247 243 235 / .68);
  box-shadow:
    0 1.9rem 3.5rem rgb(35 49 63 / .11),
    inset 0 1px 0 rgb(255 255 255 / .92);
  backdrop-filter: blur(28px) saturate(1.15);
}

.palace-glass::before,
.location-glass::before,
.concept-glass::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -32%;
  left: -8%;
  width: 62%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(255 255 255 / .34), transparent 68%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.palace-glass::after,
.location-glass::after,
.concept-glass::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / .55);
  pointer-events: none;
}

.palace-glass > *,
.location-glass > *,
.concept-glass > * {
  position: relative;
  z-index: 1;
}

/* Sample 01: Palace today — exact source copy, treated as editorial infographics. */
.journey-scene[data-palace-scene="2"] .palace-glass {
  width: min(78rem, calc(100vw - clamp(4rem, 9vw, 8rem)));
  background:
    linear-gradient(135deg, rgb(255 255 255 / .48), rgb(255 255 255 / .06) 40%, transparent 66%),
    rgb(247 243 235 / .7);
}

.journey-scene[data-palace-scene="2"] .palace-scene h2 {
  max-width: 20ch;
  margin-bottom: clamp(.55rem, 1.2vh, .9rem);
  font-size: clamp(3.1rem, 4.4vw, 4rem);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.045em;
}

.journey-scene[data-palace-scene="2"] .palace-stats {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr));
  align-items: end;
  border-color: rgb(35 49 63 / .12);
}

.journey-scene[data-palace-scene="2"] .palace-stats p {
  display: grid;
  align-content: end;
  min-height: 7.2rem;
  padding: .2rem clamp(.8rem, 1.8vw, 1.4rem) .65rem;
  text-align: left;
}

.journey-scene[data-palace-scene="2"] .palace-stats p:first-child {
  padding-left: 0;
}

.journey-scene[data-palace-scene="2"] .palace-stats strong {
  color: var(--cobalt);
  font-size: clamp(4.7rem, 6.5vw, 6.4rem);
  font-weight: 650;
  line-height: .76;
  letter-spacing: -.075em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.journey-scene[data-palace-scene="2"] .palace-stats p:first-child strong {
  font-size: clamp(6.4rem, 8.4vw, 8.3rem);
}

.journey-scene[data-palace-scene="2"] .palace-stats span {
  max-width: 18ch;
  margin-top: .6rem;
  color: var(--ink-muted);
  font-size: clamp(.9rem, 1.15vw, 1.05rem);
  line-height: 1.25;
}

.journey-scene[data-palace-scene="2"] .palace-enrollment {
  grid-template-columns: minmax(18rem, .9fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  margin: .55rem 0 .7rem;
}

.journey-scene[data-palace-scene="2"] .palace-enrollment p {
  color: var(--ink-muted);
  font-size: clamp(.88rem, 1.05vw, 1rem);
}

.journey-scene[data-palace-scene="2"] .palace-enrollment-bar {
  height: .85rem;
  background: rgb(35 49 63 / .08);
}

.journey-scene[data-palace-scene="2"] .palace-enrollment-bar .is-free {
  background: var(--cobalt);
}

.journey-scene[data-palace-scene="2"] .palace-enrollment-bar .is-paid {
  background: var(--gold);
}

.journey-scene[data-palace-scene="2"] .palace-two-column-copy p {
  padding: .65rem .8rem .25rem 0;
  border-color: rgb(35 49 63 / .12);
  color: var(--ink-muted);
  font-size: clamp(.92rem, 1.05vw, 1.02rem);
  line-height: 1.4;
}

/* Sample 02: implementation stages are held by one continuous cobalt thread. */
.concept-slide--sample-route h2 {
  max-width: 18ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(3.35rem, 5.1vw, 4.9rem);
  text-align: center;
}

.concept-slide--sample-route .concept-layout {
  grid-template-columns: minmax(14rem, .68fr) minmax(27rem, 1.32fr);
}

.concept-slide--sample-route .concept-visual {
  min-height: 16rem;
  overflow: visible;
}

.concept-thread {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  transform: translateY(-50%);
  pointer-events: none;
}

.concept-thread path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.concept-thread-line {
  stroke: var(--cobalt);
  stroke-width: 4;
  stroke-dasharray: 900;
  stroke-dashoffset: 0;
}

.concept-thread-shadow {
  stroke: rgb(27 73 200 / .13);
  stroke-width: 13;
}

.concept-thread circle {
  fill: var(--milk);
  stroke: var(--cobalt);
  stroke-width: 4;
}

.concept-slide--sample-route .concept-diagram {
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: center;
}

.concept-slide--sample-route .concept-diagram::before,
.concept-slide--sample-cultural .concept-diagram::before {
  display: none;
}

.concept-slide--sample-route .concept-diagram-item {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 8rem;
  padding: .75rem .35rem;
  border: 0;
  background: transparent;
  text-align: center;
}

.concept-slide--sample-route .concept-diagram-item:nth-child(2) {
  transform: translateY(-1.2rem);
}

.concept-slide--sample-route .concept-diagram-item .concept-icon {
  grid-row: auto;
  width: 2rem;
  height: 2rem;
  color: var(--cobalt);
}

.concept-slide--sample-route .concept-diagram-number {
  color: var(--cobalt);
  font-size: .72rem;
}

.concept-slide--sample-route .concept-diagram-item strong {
  max-width: 15ch;
  color: var(--ink);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.22;
}

/* Sample 03: cultural code stays directly on the board, drawn as warm chalk. */
.concept-presentation.is-chalk .concept-glass {
  isolation: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.concept-presentation.is-chalk .concept-glass::before,
.concept-presentation.is-chalk .concept-glass::after {
  display: none;
}

.concept-slide--sample-cultural h2 {
  max-width: 18ch !important;
  font-size: clamp(3.5rem, 5.3vw, 5.1rem) !important;
}

.concept-slide--sample-cultural .concept-visual {
  min-height: 15rem;
  overflow: visible;
}

.concept-thread--chalk .concept-thread-line,
.concept-thread--chalk .concept-thread-sketch,
.concept-thread--chalk circle {
  stroke: #fff8df;
  filter: drop-shadow(0 0 3px rgb(255 248 223 / .16));
}

.concept-thread--chalk .concept-thread-line {
  stroke-width: 3;
  stroke-dasharray: 10 5 2 4;
}

.concept-thread--chalk .concept-thread-sketch {
  stroke-width: 2.2;
  stroke-dasharray: 4 3;
}

.concept-thread--chalk circle {
  fill: #315b43;
  stroke-width: 3;
}

.concept-slide--sample-cultural .concept-diagram {
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1.1rem;
}

.concept-presentation.is-chalk .concept-slide--sample-cultural .concept-diagram-item {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 7rem;
  padding: .5rem;
  border: 0;
  background: transparent;
  text-align: center;
}

.concept-slide--sample-cultural .concept-diagram-item:nth-child(2) {
  transform: translateY(-1rem);
}

/* Grant check: the target dominates, while the caveat remains adjacent and legible. */
.concept-slide--sample-grant .chalk-metrics {
  align-items: end;
  gap: clamp(1.2rem, 3vw, 3rem);
}

.concept-slide--sample-grant .chalk-metrics p {
  justify-items: start;
  padding: 0;
  border: 0;
  text-align: left;
}

.concept-slide--sample-grant .chalk-metrics strong {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  font-weight: 650;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.concept-slide--sample-grant .chalk-metrics p + p strong {
  font-size: clamp(2rem, 3.1vw, 3rem);
  letter-spacing: -.035em;
}

.concept-slide--sample-grant .chalk-metrics span {
  margin-top: .35rem;
  font-size: clamp(.72rem, .9vw, .85rem);
  text-align: left;
}

.concept-slide--sample-grant .concept-thesis {
  max-width: 34ch;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .palace-glass,
  .location-glass,
  .concept-glass {
    background: rgb(247 243 235 / .94);
  }

  .concept-presentation.is-chalk .concept-glass {
    background: transparent;
  }
}

/* Short landscape/mobile windows: change composition instead of shrinking body copy. */
@media (max-width: 760px) and (max-height: 620px) {
  .concept-slide--sample-route h2,
  .concept-slide--sample-cultural h2,
  .concept-slide--sample-grant h2 {
    margin-bottom: .55rem;
    font-size: clamp(1.8rem, 6.5vw, 2.35rem) !important;
  }

  .concept-slide--sample-route .concept-layout,
  .concept-presentation.is-chalk .concept-slide--sample-cultural .concept-layout,
  .concept-presentation.is-chalk .concept-slide--sample-grant .concept-layout {
    grid-template-columns: minmax(12rem, .82fr) minmax(0, 1.18fr);
    gap: .9rem;
    align-items: center;
  }

  .concept-slide--sample-route .concept-copy,
  .concept-slide--sample-cultural .concept-copy,
  .concept-slide--sample-grant .concept-copy {
    gap: .55rem;
  }

  .concept-slide--sample-route .concept-copy p,
  .concept-slide--sample-cultural .concept-copy p,
  .concept-slide--sample-grant .concept-copy p {
    font-size: .9rem;
    line-height: 1.32;
  }

  .concept-slide--sample-route .concept-visual,
  .concept-slide--sample-cultural .concept-visual,
  .concept-slide--sample-grant .concept-visual {
    min-height: 8rem;
  }

  .concept-slide--sample-route .concept-diagram-item,
  .concept-presentation.is-chalk .concept-slide--sample-cultural .concept-diagram-item {
    min-height: 5.2rem;
  }

  .concept-slide--sample-grant .chalk-metrics {
    gap: .6rem;
  }

  .concept-slide--sample-grant .chalk-metrics strong {
    font-size: clamp(2.7rem, 8vw, 3.6rem);
  }

  .concept-slide--sample-grant .chalk-metrics p + p strong {
    font-size: clamp(1.45rem, 4.5vw, 2rem);
  }

  .concept-slide--sample-grant .concept-diagram {
    margin-top: .25rem;
  }

  .concept-presentation.is-chalk .concept-slide--sample-grant .concept-diagram-item {
    min-height: 3.25rem;
    padding: .25rem;
  }
}

/* Production cascade: keep the full-kit geometry after legacy presentation rules. */
.location-glass {
  top: clamp(.85rem, 2.3svh, 1.5rem);
  width: min(82rem, calc(100vw - clamp(2rem, 6vw, 6rem)));
  height: min(88svh, 48rem);
  max-height: calc(100svh - 4.2rem);
}

.location-slides,
.concept-slides {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(27 73 200 / .28) transparent;
}

.concept-glass,
.journey-scene[data-concept-scene="5"] .concept-glass {
  top: clamp(.85rem, 2.3svh, 1.5rem);
  width: min(76rem, calc(100vw - clamp(3rem, 10vw, 9rem)));
  height: min(86svh, 44rem);
  max-height: calc(100svh - 4.2rem);
}

.concept-presentation.is-chalk .concept-glass {
  top: clamp(.35rem, 1.2svh, .8rem);
  width: min(82rem, calc(100vw - clamp(2rem, 6vw, 5rem)));
  height: calc(100svh - clamp(1.1rem, 3svh, 2rem));
  max-height: none;
  padding: clamp(.7rem, 1.3vw, 1rem) clamp(1.1rem, 2.6vw, 2.2rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 760px) {
  .location-glass,
  .concept-glass,
  .journey-scene[data-concept-scene="5"] .concept-glass {
    top: .55rem;
    width: calc(100vw - 1rem);
    height: calc(100svh - 4.4rem);
    max-height: none;
    padding: .75rem .8rem .85rem;
    border-radius: 1.3rem;
  }

  .concept-presentation.is-chalk .concept-glass {
    top: .25rem;
    width: calc(100vw - .7rem);
    height: calc(100svh - .8rem);
    padding: .6rem .65rem .75rem;
    border-radius: 0;
    backdrop-filter: none;
  }

  .concept-presentation:not(.is-chalk) .concept-artwork {
    max-height: 9.5rem;
  }

  .concept-presentation:not(.is-chalk) .concept-diagram-item {
    min-height: 2.75rem;
    padding-block: .25rem;
  }
}

/* Full artwork kit — final presentation system. */
.concept-thread,
.concept-diagram::before,
.location-diagram::before,
.location-diagram.is-flow::before,
.concept-slide::before {
  display: none !important;
}

.palace-glass,
.palace-floor-state,
.location-glass,
.concept-glass {
  top: clamp(.85rem, 2.3svh, 1.5rem);
  width: min(82rem, calc(100vw - clamp(2rem, 6vw, 6rem)));
  height: min(84svh, 44rem);
  max-height: calc(100svh - 3.2rem);
  border: 1px solid rgb(255 255 255 / .76);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse at 12% 0%, rgb(255 255 255 / .5), transparent 38%),
    rgb(247 243 235 / .68);
  box-shadow: 0 2rem 3.5rem rgb(35 49 63 / .12), inset 0 1px 0 rgb(255 255 255 / .92);
  backdrop-filter: blur(28px) saturate(1.16);
}

.journey-scene[data-palace-scene="2"] .palace-glass {
  height: min(72svh, 36rem);
}

.palace-presentation-head,
.location-presentation-head,
.concept-presentation-head {
  min-height: 3rem;
  padding-bottom: .6rem;
}

.palace-presentation-nav button,
.location-presentation-nav button,
.concept-presentation-nav button,
.palace-actions button,
.location-footer button,
.concept-catalog-action {
  min-height: 2.75rem;
  border-radius: .85rem;
}

.palace-address,
.location-label,
.concept-label {
  bottom: .65rem;
}

.palace-scene h2,
.location-slide h2,
.concept-slide h2 {
  max-width: 23ch;
  margin: 0 auto clamp(.75rem, 1.7vh, 1.15rem);
  color: var(--ink);
  font-size: clamp(2.85rem, 4vw, 4rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
}

.palace-scene p,
.palace-scene li,
.palace-directions dd,
.location-copy p,
.location-copy li,
.concept-copy p,
.concept-copy li {
  color: var(--ink);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.46;
}

.palace-scenes,
.location-slides,
.concept-slides {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(27 73 200 / .28) transparent;
}

.presentation-artwork,
.palace-scene-artwork {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1.15rem 1.5rem rgb(35 49 63 / .14));
}

.palace-scene-artwork {
  position: absolute;
  z-index: 0;
  right: .4rem;
  width: clamp(8.5rem, 12vw, 11.5rem);
  max-height: 11.5rem;
}

.palace-problems-artwork,
.palace-model-artwork,
.palace-result-artwork {
  top: clamp(3.6rem, 8vh, 5.4rem);
}

.palace-scene-problems .palace-problem-grid,
.palace-scene-model .palace-directions,
.palace-scene-result .palace-result-grid {
  padding-right: clamp(9.5rem, 14vw, 13rem);
}

.palace-stats,
.palace-two-column-copy,
.palace-two-column-copy p,
.palace-stats p + p {
  border: 0;
}

.palace-stats {
  gap: clamp(.65rem, 2vw, 1.6rem);
}

.palace-stats p {
  padding-bottom: .3rem;
  border-bottom: 1px solid rgb(35 49 63 / .12);
}

.palace-two-column-copy {
  gap: clamp(1rem, 2.4vw, 2rem);
}

.palace-two-column-copy p {
  padding: .45rem 0 0;
}

.palace-problem-grid,
.palace-space-grid,
.palace-result-grid {
  gap: .2rem 1.1rem;
}

.palace-problem-grid li,
.palace-space-grid li,
.palace-result-grid li {
  border-top-color: rgb(35 49 63 / .1);
}

.location-layout {
  grid-template-columns: minmax(17rem, .88fr) minmax(25rem, 1.12fr);
  gap: clamp(1.5rem, 3.4vw, 3.2rem);
}

.location-copy {
  gap: .8rem;
}

.location-copy ul,
.concept-body-list {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-copy li,
.concept-body-list li {
  position: relative;
  padding-left: 1rem;
}

.location-copy li::before,
.concept-body-list li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--cobalt);
}

.location-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
  align-content: center;
  min-height: 14rem;
}

.location-artwork {
  justify-self: center;
  max-height: clamp(10rem, 24vh, 15rem);
  max-width: min(23rem, 100%);
}

.location-metrics {
  gap: .7rem;
}

.location-metrics p {
  min-height: 6.8rem;
  border: 0;
  border-bottom: 1px solid rgb(35 49 63 / .13);
  border-radius: 0;
  background: transparent;
}

.location-metrics strong {
  color: var(--cobalt);
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -.055em;
  white-space: nowrap;
}

.location-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1rem;
}

.location-diagram > div,
.location-diagram.is-flow > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .6rem;
  min-height: 3.6rem;
  padding: .55rem 0;
  border: 0;
  border-top: 1px solid rgb(35 49 63 / .14);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.location-diagram > div .concept-icon {
  color: var(--cobalt);
}

.location-diagram > div strong {
  font-size: .88rem;
  line-height: 1.25;
}

.concept-glass {
  width: min(76rem, calc(100vw - clamp(3rem, 10vw, 9rem)));
  height: min(82svh, 43.5rem);
}

.concept-presentation.is-board .concept-glass,
.concept-presentation.is-classroom .concept-glass {
  background:
    radial-gradient(ellipse at 12% 0%, rgb(255 255 255 / .48), transparent 38%),
    rgb(247 243 235 / .66);
  backdrop-filter: blur(28px) saturate(1.16);
}

.concept-slide {
  padding: .15rem .25rem .45rem;
}

.concept-layout {
  grid-template-columns: minmax(17rem, .86fr) minmax(25rem, 1.14fr);
  gap: clamp(1.45rem, 3vw, 3rem);
  align-items: center;
}

.concept-copy {
  gap: .75rem;
  align-content: center;
}

.concept-body-list {
  gap: .48rem;
}

.concept-slide--dense .concept-body-list {
  gap: .36rem;
}

.concept-slide--dense .concept-copy li {
  font-size: clamp(.94rem, 1.08vw, 1.05rem);
  line-height: 1.38;
}

.concept-thesis {
  max-width: 38ch;
  padding: .1rem 0 .1rem 1rem;
  border-left: 2px solid var(--cobalt);
  color: var(--cobalt) !important;
  font-size: clamp(1rem, 1.16vw, 1.1rem) !important;
  font-weight: 650 !important;
}

.concept-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  align-content: center;
  min-height: 13rem;
}

.concept-artwork {
  justify-self: center;
  width: auto;
  max-width: min(25rem, 100%);
  max-height: clamp(12rem, 31vh, 19rem);
}

.concept-visual-01 .concept-artwork,
.concept-visual-12 .concept-artwork {
  max-width: min(34rem, 100%);
}

.concept-visual-03 .concept-artwork,
.concept-visual-04 .concept-artwork {
  width: 100%;
  max-width: 29rem;
  max-height: 17rem;
  border: 1px solid rgb(35 49 63 / .12);
  border-radius: 1.15rem;
  object-fit: cover;
}

.concept-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1rem;
}

.concept-diagram--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-diagram--5,
.concept-diagram--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-diagram-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem .55rem;
  align-content: center;
  min-height: 3.8rem;
  padding: .55rem 0;
  border: 0;
  border-top: 1px solid rgb(35 49 63 / .14);
  border-radius: 0;
  background: transparent;
}

.concept-diagram-item .concept-icon {
  grid-row: 1 / span 2;
  color: var(--cobalt);
}

.concept-diagram-number {
  color: var(--cobalt);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.concept-diagram-item strong {
  font-size: clamp(.78rem, .95vw, .9rem);
  line-height: 1.24;
}

.concept-progress {
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(35 49 63 / .12);
}

.concept-progress .concept-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(.025);
  transform-origin: left center;
  background: var(--cobalt);
  transition: transform .22s var(--ease);
}

.concept-presentation.is-chalk .concept-glass {
  top: clamp(.35rem, 1.2svh, .8rem);
  width: min(82rem, calc(100vw - clamp(2rem, 6vw, 5rem)));
  height: calc(100svh - clamp(1.1rem, 3svh, 2rem));
  max-height: none;
  padding: clamp(.7rem, 1.3vw, 1rem) clamp(1.1rem, 2.6vw, 2.2rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.concept-presentation.is-chalk .concept-slide h2 {
  max-width: 20ch;
  margin-bottom: clamp(.65rem, 1.7vh, 1rem);
  color: #fff8df;
  font-size: clamp(3rem, 4.6vw, 4.6rem);
  letter-spacing: -.025em;
}

.concept-presentation.is-chalk .concept-layout {
  grid-template-columns: minmax(17rem, .86fr) minmax(24rem, 1.14fr);
  gap: clamp(1.4rem, 3.5vw, 3.6rem);
}

.concept-presentation.is-chalk .concept-copy p,
.concept-presentation.is-chalk .concept-copy li {
  color: #fff8df;
  text-shadow: 0 1px 0 rgb(255 255 255 / .14), 0 0 8px rgb(255 248 223 / .08);
}

.concept-presentation.is-chalk .concept-body-list li::before {
  background: #fff8df;
}

.concept-presentation.is-chalk .concept-thesis {
  border-left: 2px solid #fff8df;
  color: #fff8df !important;
}

.concept-presentation.is-chalk .concept-visual {
  min-height: 12rem;
}

.chalk-object {
  display: block;
  justify-self: center;
  width: min(24rem, 100%);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #fff8df;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgb(255 248 223 / .13));
}

.concept-presentation.is-chalk .concept-diagram {
  gap: .4rem 1rem;
}

.concept-presentation.is-chalk .concept-diagram-item {
  min-height: 3.2rem;
  padding: .35rem 0;
  border: 0;
  border-top: 1px dashed rgb(255 248 223 / .38);
  background: transparent;
}

.concept-presentation.is-chalk .concept-diagram-item .concept-icon,
.concept-presentation.is-chalk .concept-diagram-item strong,
.concept-presentation.is-chalk .concept-diagram-number {
  color: #fff8df;
}

.concept-slide--23 .concept-diagram,
.concept-slide--26 .chalk-object {
  display: none;
}

.concept-presentation.is-chalk .concept-progress {
  background: rgb(255 248 223 / .14);
}

.concept-presentation.is-chalk .concept-progress .concept-progress-fill {
  background: #fff8df;
}

.concept-slide--sample-grant .chalk-metrics p {
  border: 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .palace-glass,
  .palace-floor-state,
  .location-glass,
  .concept-glass {
    background: rgb(247 243 235 / .94);
  }

  .concept-presentation.is-chalk .concept-glass {
    background: transparent;
  }
}

@media (max-width: 760px) {
  .palace-glass,
  .palace-floor-state,
  .location-glass,
  .concept-glass {
    top: .55rem;
    width: calc(100vw - 1rem);
    height: calc(100svh - 3.1rem);
    max-height: none;
    padding: .75rem .8rem .85rem;
    border-radius: 1.3rem;
    backdrop-filter: blur(22px) saturate(1.12);
  }

  .journey-scene[data-palace-scene="2"] .palace-glass {
    height: min(40rem, calc(100svh - 3.1rem));
  }

  .palace-address,
  .location-label,
  .concept-label {
    bottom: .3rem;
  }

  .palace-scene h2,
  .location-slide h2,
  .concept-slide h2,
  .concept-presentation.is-chalk .concept-slide h2 {
    max-width: 18ch;
    margin-bottom: .7rem;
    font-size: clamp(1.95rem, 8.4vw, 2.55rem);
    line-height: 1.04;
  }

  .palace-scene p,
  .palace-scene li,
  .palace-directions dd,
  .location-copy p,
  .location-copy li,
  .concept-copy p,
  .concept-copy li,
  .concept-slide--dense .concept-copy li {
    font-size: clamp(.94rem, 4vw, 1.04rem);
    line-height: 1.4;
  }

  .palace-scene-problems .palace-problem-grid,
  .palace-scene-model .palace-directions,
  .palace-scene-result .palace-result-grid {
    padding-right: 0;
  }

  .palace-scene-artwork {
    display: none;
  }

  .location-layout,
  .concept-layout,
  .concept-presentation.is-chalk .concept-layout {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .location-artwork,
  .concept-artwork {
    max-width: min(18rem, 88%);
    max-height: 11rem;
  }

  .concept-visual-01 .concept-artwork,
  .concept-visual-12 .concept-artwork {
    max-width: 100%;
  }

  .location-visual,
  .concept-visual,
  .concept-presentation.is-chalk .concept-visual {
    min-height: 0;
  }

  .location-diagram,
  .concept-diagram,
  .concept-diagram--3,
  .concept-diagram--5,
  .concept-diagram--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-diagram > div,
  .location-diagram.is-flow > div,
  .concept-diagram-item,
  .concept-presentation.is-chalk .concept-diagram-item {
    min-height: 3rem;
    padding: .35rem 0;
  }

  .concept-diagram-item strong,
  .location-diagram > div strong {
    font-size: .75rem;
  }

  .concept-presentation.is-chalk .concept-glass {
    top: .25rem;
    width: calc(100vw - .7rem);
    height: calc(100svh - .8rem);
    padding: .6rem .65rem .75rem;
    border-radius: 0;
    backdrop-filter: none;
  }

  .chalk-object {
    width: min(17rem, 88%);
    max-height: 10.5rem;
  }

  .concept-slide--sample-grant .chalk-metrics strong {
    font-size: clamp(2.5rem, 12vw, 3.75rem);
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .palace-glass,
  .palace-floor-state,
  .location-glass,
  .concept-glass {
    top: .6rem;
    height: calc(100svh - 2.7rem);
    max-height: none;
  }

  .palace-scene h2,
  .location-slide h2,
  .concept-slide h2,
  .concept-presentation.is-chalk .concept-slide h2 {
    font-size: clamp(2.25rem, 3.2vw, 3rem);
  }

  .presentation-artwork,
  .concept-artwork,
  .location-artwork {
    max-height: 11rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-progress .concept-progress-fill {
    transition: none;
  }
}

@keyframes sample-copy-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sample-thread-in {
  from { stroke-dashoffset: 900; }
  to { stroke-dashoffset: 0; }
}

.palace-scene-today.is-current > *,
.concept-slide--sample-route.is-current > *,
.concept-slide--sample-cultural.is-current > *,
.concept-slide--sample-grant.is-current > * {
  animation: sample-copy-in .36s var(--ease) both;
}

.concept-slide--sample-route.is-current .concept-thread-line,
.concept-slide--sample-cultural.is-current .concept-thread-line {
  animation: sample-thread-in .75s var(--ease) both;
}

@media (max-width: 760px) {
  .palace-glass,
  .location-glass,
  .concept-glass {
    border-radius: 1.35rem;
    backdrop-filter: blur(22px) saturate(1.1);
  }

  .journey-scene[data-palace-scene="2"] .palace-glass {
    width: calc(100vw - 1.2rem);
  }

  .journey-scene[data-palace-scene="2"] .palace-scene h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .journey-scene[data-palace-scene="2"] .palace-stats {
    grid-template-columns: 1.3fr repeat(2, .85fr);
  }

  .journey-scene[data-palace-scene="2"] .palace-stats p {
    min-height: 5rem;
    padding: .2rem .45rem .5rem;
  }

  .journey-scene[data-palace-scene="2"] .palace-stats p:first-child strong {
    font-size: clamp(3.55rem, 16vw, 4.7rem);
  }

  .journey-scene[data-palace-scene="2"] .palace-stats strong {
    font-size: clamp(2.75rem, 12vw, 3.55rem);
  }

  .journey-scene[data-palace-scene="2"] .palace-stats span {
    font-size: .72rem;
  }

  .journey-scene[data-palace-scene="2"] .palace-enrollment {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .journey-scene[data-palace-scene="2"] .palace-two-column-copy {
    grid-template-columns: 1fr;
    gap: .2rem;
  }

  .journey-scene[data-palace-scene="2"] .palace-two-column-copy p {
    font-size: .88rem;
  }

  .concept-slide--sample-route h2,
  .concept-slide--sample-cultural h2 {
    font-size: clamp(2rem, 8.8vw, 2.55rem) !important;
  }

  .concept-slide--sample-route .concept-layout,
  .concept-presentation.is-chalk .concept-slide--sample-cultural .concept-layout {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .concept-slide--sample-route .concept-visual,
  .concept-slide--sample-cultural .concept-visual {
    min-height: 9rem;
  }

  .concept-slide--sample-route .concept-diagram,
  .concept-slide--sample-cultural .concept-diagram {
    gap: .35rem;
  }

  .concept-slide--sample-route .concept-diagram-item,
  .concept-presentation.is-chalk .concept-slide--sample-cultural .concept-diagram-item {
    min-height: 5.8rem;
    padding: .3rem .15rem;
  }

  .concept-slide--sample-route .concept-diagram-item strong,
  .concept-slide--sample-cultural .concept-diagram-item strong {
    font-size: .72rem;
  }

  .concept-slide--sample-grant .chalk-metrics strong {
    font-size: clamp(2.5rem, 11vw, 3.7rem);
  }

  .concept-slide--sample-grant .chalk-metrics p + p strong {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .palace-scene-today.is-current > *,
  .concept-slide--sample-route.is-current > *,
  .concept-slide--sample-cultural.is-current > *,
  .concept-slide--sample-grant.is-current > *,
  .concept-slide--sample-route.is-current .concept-thread-line,
  .concept-slide--sample-cultural.is-current .concept-thread-line {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .palace-glass,
  .palace-floor-state,
  .palace-presentation.is-principle .palace-glass {
    top: 4.55rem;
    left: 50%;
    width: calc(100vw - 1rem);
    height: calc(100svh - 7.1rem);
    max-height: none;
    padding: .8rem .85rem .9rem;
    transform: translateX(-50%);
    border-radius: 1.15rem;
    backdrop-filter: blur(20px) saturate(.94);
  }

  .palace-glass {
    gap: .45rem;
  }

  .palace-presentation-head {
    min-height: 2.3rem;
    padding-bottom: .45rem;
  }

  .palace-scene-count,
  .palace-address {
    font-size: .64rem;
  }

  .palace-presentation-nav {
    gap: .25rem;
  }

  .palace-presentation-nav button {
    min-height: 2.15rem;
    font-size: .7rem;
  }

  .palace-presentation-nav > button:not(.palace-skip) {
    width: 2.15rem;
  }

  .palace-presentation-nav .palace-skip {
    padding: 0 .55rem;
  }

  .palace-scene {
    padding: .1rem .1rem .35rem;
  }

  .palace-scene h2,
  .palace-scene-principle h2,
  .palace-floor-state h2 {
    margin-bottom: .75rem;
    font-size: clamp(1.75rem, 8vw, 2.125rem);
    line-height: 1.18;
  }

  .palace-scene p,
  .palace-scene li,
  .palace-directions dd {
    font-size: clamp(1rem, 4.3vw, 1.1rem);
    line-height: 1.48;
  }

  .palace-lead-layout,
  .palace-visual-cluster,
  .palace-space-layout {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .palace-source-copy {
    max-width: none;
  }

  .palace-visual-cluster > img {
    min-height: 7rem;
    max-height: 9rem;
  }

  .palace-accent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .palace-accent-grid span {
    min-height: 4.2rem;
    padding: .65rem;
    font-size: .72rem;
  }

  .palace-stats strong {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .palace-stats p {
    padding: .55rem .25rem .65rem;
  }

  .palace-stats span {
    font-size: .65rem;
  }

  .palace-enrollment {
    grid-template-columns: 1fr;
    gap: .45rem;
    margin: .55rem 0 .7rem;
  }

  .palace-enrollment p {
    font-size: .78rem;
  }

  .palace-two-column-copy,
  .palace-problem-grid,
  .palace-space-grid,
  .palace-result-grid {
    grid-template-columns: 1fr;
  }

  .palace-two-column-copy {
    gap: .2rem;
  }

  .palace-two-column-copy p,
  .palace-problem-grid li,
  .palace-space-grid li,
  .palace-result-grid li {
    padding: .65rem .45rem;
  }

  .palace-problem-grid li:nth-child(odd),
  .palace-space-grid li:nth-child(odd) {
    border-right: 0;
  }

  .palace-problem-grid li,
  .palace-space-grid li {
    font-size: 1rem;
    line-height: 1.44;
  }

  .palace-principles {
    grid-template-columns: 1fr;
  }

  .palace-principles p {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    min-height: 4.7rem;
    padding: .85rem 1rem;
    text-align: left;
    font-size: 1.2rem;
  }

  .palace-directions {
    grid-template-columns: 1fr;
  }

  .palace-directions > div {
    grid-template-columns: auto minmax(0, 1fr);
    padding: .7rem;
  }

  .palace-directions dt {
    font-size: 1rem;
  }

  .palace-directions dd {
    font-size: .9rem;
  }

  .palace-footnote {
    font-size: .82rem !important;
    text-align: left;
  }

  .palace-building-accent {
    min-height: 8rem;
  }

  .palace-result-grid li {
    min-height: 4.2rem;
    font-size: .95rem;
  }

  .palace-presentation-footer {
    min-height: 2.55rem;
    padding-top: .45rem;
  }

  .palace-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .3rem;
  }

  .palace-actions button {
    min-height: 2.25rem;
    padding: .35rem;
    font-size: .65rem;
    line-height: 1.15;
  }

  .palace-floor-state {
    align-content: center;
    gap: .75rem;
  }

  .palace-floor-state-head {
    top: .8rem;
    left: .85rem;
    right: .85rem;
  }

  .palace-floor-state-head p {
    display: none;
  }

  .palace-floor-back {
    min-height: 2.25rem !important;
    font-size: .72rem !important;
  }

  .palace-floor-intro {
    font-size: .9rem;
  }

  .palace-floor-buttons {
    grid-template-columns: 1fr;
    width: 100%;
    gap: .5rem;
  }

  .palace-floor-buttons button {
    min-height: 4.5rem;
    text-align: left;
  }

  .palace-floor-buttons strong,
  .palace-floor-buttons span {
    display: inline-block;
    margin: 0;
  }

  .palace-floor-buttons strong {
    width: 3.1rem;
    font-size: 1.55rem;
  }

  .palace-address {
    left: .65rem;
    bottom: .55rem;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .palace-glass,
  .palace-floor-state,
  .palace-presentation.is-principle .palace-glass {
    top: 4.65rem;
    width: min(82.5rem, calc(100vw - 3rem));
    height: calc(100svh - 7rem);
    max-height: none;
    padding: .8rem 1.3rem .9rem;
  }

  .palace-glass {
    gap: .4rem;
  }

  .palace-presentation-head {
    min-height: 2.15rem;
    padding-bottom: .35rem;
  }

  .palace-scene h2,
  .palace-scene-principle h2,
  .palace-floor-state h2 {
    margin-bottom: .55rem;
    font-size: clamp(2rem, 3vw, 2.65rem);
  }

  .palace-scene p,
  .palace-scene li {
    font-size: .95rem;
    line-height: 1.38;
  }

  .palace-problem-grid li,
  .palace-space-grid li {
    padding: .48rem .75rem;
    font-size: .86rem;
  }

  .palace-directions > div {
    padding: .55rem;
  }

  .palace-result-grid li {
    min-height: 5.25rem;
    padding: .6rem;
    font-size: .78rem;
  }

  .palace-presentation-footer {
    min-height: 2.25rem;
    padding-top: .35rem;
  }

  .palace-actions button {
    min-height: 2.05rem;
  }

  .palace-address {
    bottom: .45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .palace-scene,
  .palace-actions,
  .palace-floor-state {
    transform: none !important;
    transition: none !important;
  }
}

/* General concept — 40 slides across the milk board, classroom and green board */
.concept-presentation {
  position: absolute;
  inset: 0;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  color: #243441;
}

.concept-presentation.is-visible {
  pointer-events: auto;
}

.concept-glass {
  position: absolute;
  top: clamp(5.2rem, 9svh, 6.8rem);
  left: 50%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(.5rem, 1.35vh, .9rem);
  width: min(70rem, calc(100vw - clamp(5rem, 12vw, 10rem)));
  height: min(72svh, 40rem);
  max-height: calc(100svh - 9rem);
  padding: clamp(1rem, 1.7vw, 1.35rem) clamp(1.35rem, 2.5vw, 2.15rem) clamp(1rem, 1.7vw, 1.3rem);
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .86);
  border-radius: 1.05rem;
  background: rgb(250 248 240 / .8);
  box-shadow: 0 1.2rem 3.7rem rgb(28 45 57 / .13), inset 0 1px 0 rgb(255 255 255 / .92);
  backdrop-filter: blur(22px) saturate(.94);
}

.concept-presentation.is-board .concept-glass {
  background: rgb(250 248 240 / .7);
  backdrop-filter: blur(16px) saturate(.94);
}

.concept-presentation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.7rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid rgb(36 52 65 / .12);
}

.concept-counter-block {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.concept-scene-count,
.concept-stage,
.concept-label {
  margin: 0;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.concept-scene-count {
  color: rgb(36 52 65 / .58);
}

.concept-scene-count span {
  color: #17429a;
  font-variant-numeric: tabular-nums;
}

.concept-stage {
  color: #95651f;
}

.concept-presentation-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.concept-presentation-nav button,
.concept-catalog-action {
  min-height: 2.65rem;
  border: 1px solid rgb(36 52 65 / .17);
  border-radius: .75rem;
  background: rgb(255 255 255 / .48);
  color: #243441;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 650;
}

.concept-presentation-nav > button:not(.concept-skip) {
  width: 2.65rem;
  padding: 0;
  font-size: 1rem;
}

.concept-presentation-nav .concept-skip {
  margin-left: .2rem;
  padding: 0 .9rem;
  background: transparent;
}

.concept-presentation-nav button:hover,
.concept-catalog-action:hover {
  border-color: rgb(23 66 154 / .55);
  background: rgb(255 255 255 / .82);
}

.concept-presentation-nav button:disabled {
  opacity: .34;
  cursor: default;
}

.concept-slides {
  position: relative;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(36 52 65 / .24) transparent;
}

.concept-loading {
  display: grid;
  min-height: 100%;
  margin: 0;
  place-items: center;
  color: rgb(36 52 65 / .64);
  font-size: 1rem;
}

.concept-error {
  color: #8b382e;
}

.concept-slide {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: .1rem .2rem .3rem;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.concept-slide::before {
  content: var(--concept-slide-number);
  position: absolute;
  top: -.9rem;
  right: .35rem;
  z-index: -1;
  color: rgb(23 66 154 / .06);
  font-size: clamp(5rem, 8.8vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.08em;
}

.concept-slide.is-current {
  position: relative;
  pointer-events: auto;
}

.concept-slide[aria-hidden="true"] {
  display: none;
}

.concept-slide h2 {
  max-width: 20ch;
  margin: 0 0 clamp(1rem, 2.1vh, 1.45rem);
  color: #243441;
  font-size: clamp(2.65rem, 4.1vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-align: left;
  text-wrap: balance;
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(15rem, .78fr) minmax(24rem, 1.22fr);
  gap: clamp(1.6rem, 3.5vw, 3.4rem);
  align-items: center;
}

.concept-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.concept-copy p {
  margin: 0;
  color: #243441;
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.42;
}

.concept-summary {
  max-width: 34ch;
  text-wrap: pretty;
}

.concept-thesis {
  max-width: 30ch;
  padding: .08rem 0 .08rem 1rem;
  border-left: 2px solid #17429a;
  color: #17429a !important;
  font-size: clamp(1rem, 1.25vw, 1.16rem) !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}

.concept-visual {
  position: relative;
  display: grid;
  align-content: center;
  gap: .8rem;
  min-width: 0;
  min-height: 15rem;
}

.concept-visual > img {
  display: block;
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
}

.concept-visual-02 > img {
  max-height: 18rem;
}

.concept-visual-03 > img,
.concept-visual-04 > img {
  max-height: 15.5rem;
  border: 1px solid rgb(36 52 65 / .12);
  border-radius: 1rem;
  object-fit: cover;
}

.concept-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.concept-diagram::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: -1;
  height: 2px;
  background: #17429a;
  opacity: .38;
}

.concept-diagram-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem .65rem;
  align-content: center;
  min-height: 5.7rem;
  padding: .85rem .75rem .75rem;
  border: 0;
  border-top: 2px solid rgb(23 66 154 / .27);
  border-radius: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / .52), rgb(255 255 255 / .12));
}

.concept-diagram-item .concept-icon {
  grid-row: 1 / span 2;
  width: 1.45rem;
  height: 1.45rem;
  color: #17429a;
}

.concept-diagram-number {
  color: #a16e25;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.concept-diagram-item strong {
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.28;
}

.concept-diagram--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-diagram--flow .concept-diagram-number {
  color: #17429a;
}

.concept-callouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
}

.concept-callouts span {
  padding: .4rem .6rem;
  border: 1px solid rgb(23 66 154 / .2);
  border-radius: .35rem;
  background: rgb(255 255 255 / .56);
  color: #17429a;
  font-size: .68rem;
  font-weight: 650;
}

.concept-visual-01,
.concept-visual-12 {
  min-height: 13rem;
}

.concept-visual-01 > img,
.concept-visual-12 > img {
  max-height: 15rem;
}

.concept-visual-12 > img {
  max-height: 14rem;
}

.concept-visual-12 .concept-diagram {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-visual-17 .concept-diagram,
.concept-visual-18 .concept-diagram,
.concept-visual-19 .concept-diagram,
.concept-visual-22 .concept-diagram {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.concept-visual-21 .concept-diagram {
  grid-template-columns: 1fr;
}

.concept-visual-21 .concept-diagram::before {
  top: 8%;
  bottom: 8%;
  left: 1.55rem;
  right: auto;
  width: 2px;
  height: auto;
}

.concept-visual-21 .concept-diagram-item {
  min-height: 4.2rem;
}

.concept-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.35rem;
  padding-top: .55rem;
  border-top: 1px solid rgb(36 52 65 / .12);
}

.concept-progress {
  display: grid;
  grid-template-columns: repeat(40, minmax(.12rem, 1fr));
  gap: .22rem;
  width: 100%;
}

.concept-progress span {
  height: .24rem;
  border-radius: 999px;
  background: rgb(36 52 65 / .13);
}

.concept-progress span.is-complete {
  background: rgb(23 66 154 / .42);
}

.concept-progress span.is-active {
  background: #17429a;
}

.concept-catalog-action {
  flex: 0 0 auto;
  padding: 0 1rem;
  border-color: #17429a;
  background: #17429a;
  color: white;
}

.concept-catalog-action[hidden] {
  display: none !important;
}

.concept-label {
  position: absolute;
  left: clamp(1.5rem, 4vw, 4rem);
  bottom: 1.2rem;
  padding: .35rem .55rem;
  border-radius: .45rem;
  background: rgb(20 40 55 / .28);
  color: white;
  text-shadow: 0 1px 12px rgb(0 15 28 / .58);
  backdrop-filter: blur(8px);
}

.journey-scene[data-active-layer="board"] .film-shade,
.journey-scene[data-active-layer="classroom"] .film-shade,
.journey-scene[data-active-layer="green"] .film-shade {
  opacity: 0;
}

@media (max-width: 1050px) and (min-width: 761px) {
  .concept-layout {
    grid-template-columns: minmax(0, .8fr) minmax(18rem, 1.2fr);
    gap: 1.2rem;
  }
  .concept-copy p {
    font-size: .95rem;
  }
  .concept-visual {
    min-height: 12rem;
  }
}

@media (max-width: 760px) {
  .concept-glass {
    top: 4.55rem;
    width: calc(100vw - 1rem);
    height: calc(100svh - 7.1rem);
    max-height: none;
    padding: .8rem .85rem .9rem;
    border-radius: 1.15rem;
    backdrop-filter: blur(20px) saturate(.94);
  }

  .concept-presentation-head {
    min-height: 2.3rem;
    padding-bottom: .45rem;
  }

  .concept-counter-block {
    display: block;
  }

  .concept-stage {
    margin-top: .12rem;
    font-size: .54rem;
    letter-spacing: .07em;
  }

  .concept-scene-count,
  .concept-label {
    font-size: .64rem;
  }

  .concept-presentation-nav {
    gap: .25rem;
  }

  .concept-presentation-nav button {
    min-height: 2.2rem;
    font-size: .68rem;
  }

  .concept-presentation-nav > button:not(.concept-skip) {
    width: 2.2rem;
  }

  .concept-presentation-nav .concept-skip {
    max-width: 6.1rem;
    padding: 0 .5rem;
    line-height: 1.15;
  }

  .concept-slide h2 {
    margin-bottom: .75rem;
    font-size: clamp(1.75rem, 8vw, 2.125rem);
    line-height: 1.08;
  }

  .concept-layout {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .concept-copy {
    gap: .55rem;
  }

  .concept-copy p {
    font-size: clamp(1rem, 4.25vw, 1.08rem);
    line-height: 1.47;
  }

  .concept-thesis {
    padding: .05rem 0 .05rem .75rem;
  }

  .concept-visual {
    min-height: 0;
  }

  .concept-visual > img {
    max-height: 13rem;
  }

  .concept-visual-03 > img,
  .concept-visual-04 > img {
    max-height: 12rem;
  }

  .concept-diagram-item {
    min-height: 4.8rem;
    padding: .65rem;
  }

  .concept-diagram-item strong {
    font-size: .78rem;
  }

  .concept-footer {
    gap: .5rem;
    min-height: 2.15rem;
    padding-top: .4rem;
  }

  .concept-progress {
    gap: .1rem;
  }

  .concept-catalog-action {
    min-height: 2.1rem;
    padding: 0 .65rem;
    font-size: .67rem;
  }

  .concept-label {
    left: .65rem;
    bottom: .55rem;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .concept-glass {
    top: 4.65rem;
    width: min(70rem, calc(100vw - 5rem));
    height: calc(100svh - 7rem);
    max-height: none;
    padding: .8rem 1.3rem .9rem;
    gap: .4rem;
  }

  .concept-presentation-head {
    min-height: 2.15rem;
    padding-bottom: .35rem;
  }

  .concept-slide h2 {
    margin-bottom: .55rem;
    font-size: clamp(2rem, 3vw, 2.65rem);
  }

  .concept-copy {
    gap: .4rem;
  }

  .concept-copy p {
    font-size: .88rem;
    line-height: 1.36;
  }

  .concept-visual {
    min-height: 10rem;
  }

  .concept-visual > img {
    max-height: 12rem;
  }

  .concept-diagram-item {
    min-height: 4.4rem;
    padding: .55rem;
  }

  .concept-footer {
    min-height: 2rem;
    padding-top: .35rem;
  }

  .concept-label {
    bottom: .45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-slide {
    transform: none !important;
    transition: none !important;
  }
}

/* Slides 23–40: real HTML and SVG drawn directly on the green board. */
.concept-presentation.is-chalk .concept-glass {
  top: clamp(5.35rem, 9.8svh, 6.7rem);
  width: min(78rem, calc(100vw - clamp(4rem, 8vw, 7rem)));
  height: min(73svh, 41rem);
  max-height: calc(100svh - 8.4rem);
  padding: clamp(.75rem, 1.4vw, 1.1rem) clamp(1.15rem, 2.4vw, 2.2rem) clamp(.75rem, 1.4vw, 1rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff8df;
  backdrop-filter: none;
}

.concept-presentation.is-chalk .concept-presentation-head,
.concept-presentation.is-chalk .concept-footer {
  border-color: rgb(255 248 223 / .28);
}

.concept-presentation.is-chalk .concept-scene-count,
.concept-presentation.is-chalk .concept-stage,
.concept-presentation.is-chalk .concept-presentation-nav button,
.concept-presentation.is-chalk .concept-catalog-action {
  color: #fff8df;
  text-shadow: 0 1px 0 rgb(255 255 255 / .18), 0 0 9px rgb(255 248 223 / .16);
}

.concept-presentation.is-chalk .concept-scene-count span {
  color: #fff8df;
}

.concept-presentation.is-chalk .concept-stage {
  color: #f8df9b;
}

.concept-presentation.is-chalk .concept-presentation-nav button,
.concept-presentation.is-chalk .concept-catalog-action {
  border: 1px dashed rgb(255 248 223 / .64);
  background: transparent;
}

.concept-presentation.is-chalk .concept-presentation-nav button:hover,
.concept-presentation.is-chalk .concept-catalog-action:hover {
  border-color: #fff8df;
  background: rgb(255 255 255 / .08);
}

.concept-presentation.is-chalk .concept-slide::before {
  color: rgb(255 248 223 / .08);
}

.concept-presentation.is-chalk .concept-slide h2 {
  max-width: 25ch;
  margin-right: auto;
  margin-left: auto;
  color: #fff8df;
  font-size: clamp(2.65rem, 4.25vw, 4.15rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-align: center;
  text-shadow: 0 1px 0 rgb(255 255 255 / .22), 0 0 11px rgb(255 248 223 / .14);
}

.concept-presentation.is-chalk .concept-layout {
  grid-template-columns: minmax(14rem, .74fr) minmax(25rem, 1.26fr);
  gap: clamp(1.5rem, 3.8vw, 3.8rem);
}

.concept-presentation.is-chalk .concept-copy p {
  color: #fff8df;
  text-shadow: 0 1px 0 rgb(255 255 255 / .16), 0 0 8px rgb(255 248 223 / .1);
}

.concept-presentation.is-chalk .concept-thesis {
  border-left: 2px dashed rgb(255 248 223 / .82);
  color: #fff8df !important;
}

.concept-presentation.is-chalk .concept-visual {
  min-height: 12rem;
  color: #fff8df;
}

.concept-presentation.is-chalk .concept-diagram::before {
  height: 1px;
  background: #fff8df;
  opacity: .46;
}

.concept-presentation.is-chalk .concept-diagram-item {
  min-height: 4.9rem;
  padding: .75rem .65rem .65rem;
  border-top: 1px dashed rgb(255 248 223 / .62);
  background: transparent;
  color: #fff8df;
}

.concept-presentation.is-chalk .concept-diagram-item .concept-icon,
.concept-presentation.is-chalk .concept-diagram-number {
  color: #fff8df;
}

.concept-presentation.is-chalk .concept-diagram-number {
  opacity: .7;
}

.concept-presentation.is-chalk .concept-diagram-item strong {
  font-weight: 600;
  text-shadow: 0 0 7px rgb(255 248 223 / .11);
}

.concept-diagram--5,
.concept-diagram--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chalk-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.chalk-metrics p {
  display: grid;
  gap: .18rem;
  margin: 0;
  padding: .8rem;
  border: 2px dashed rgb(255 248 223 / .66);
  color: #fff8df;
  text-align: center;
}

.chalk-metrics strong {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1;
}

.chalk-metrics span {
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chalk-age {
  margin: 0;
  color: #fff8df;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: .85;
  text-align: right;
  text-shadow: 0 1px 0 rgb(255 255 255 / .2), 0 0 12px rgb(255 248 223 / .13);
}

.concept-presentation.is-chalk .concept-progress span {
  background: rgb(255 248 223 / .16);
}

.concept-presentation.is-chalk .concept-progress span.is-complete {
  background: rgb(255 248 223 / .45);
}

.concept-presentation.is-chalk .concept-progress span.is-active {
  background: #fff8df;
}

.concept-presentation.is-chalk .concept-label {
  display: none;
}

@media (max-width: 760px) {
  .concept-presentation.is-chalk .concept-glass {
    top: 4.55rem;
    width: calc(100vw - 1.2rem);
    height: min(72svh, 38rem);
    max-height: calc(100svh - 7.1rem);
    padding: .7rem .75rem .8rem;
  }

  .concept-presentation.is-chalk .concept-slide h2 {
    max-width: 18ch;
    margin-bottom: .7rem;
    font-size: clamp(1.75rem, 7.8vw, 2.05rem);
    line-height: 1.06;
  }

  .concept-presentation.is-chalk .concept-layout {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .concept-presentation.is-chalk .concept-copy {
    gap: .55rem;
  }

  .concept-presentation.is-chalk .concept-copy p {
    font-size: clamp(.98rem, 4.05vw, 1.05rem);
    line-height: 1.38;
  }

  .concept-presentation.is-chalk .concept-thesis {
    font-size: clamp(.92rem, 3.85vw, 1rem) !important;
  }

  .concept-presentation.is-chalk .concept-visual {
    min-height: 0;
  }

  .concept-presentation.is-chalk .concept-diagram-item {
    min-height: 3.8rem;
    padding: .5rem .42rem;
  }

  .concept-presentation.is-chalk .concept-diagram-item strong {
    font-size: .76rem;
  }

  .concept-presentation.is-chalk .concept-diagram--5,
  .concept-presentation.is-chalk .concept-diagram--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chalk-metrics {
    gap: .45rem;
  }

  .chalk-metrics p {
    padding: .55rem .35rem;
  }

  .chalk-age {
    position: absolute;
    top: -2.75rem;
    right: 0;
    font-size: 3.5rem;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .concept-presentation.is-chalk .concept-glass {
    top: 4.5rem;
    width: min(76rem, calc(100vw - 5rem));
    height: calc(100svh - 6.6rem);
    max-height: none;
  }

  .concept-presentation.is-chalk .concept-slide h2 {
    font-size: clamp(2rem, 3.1vw, 2.8rem);
  }

  .concept-presentation.is-chalk .concept-diagram-item {
    min-height: 3.8rem;
    padding: .5rem;
  }
}

/* Final cascade guard for the V2 milk-glass material. */
.palace-glass,
.location-glass,
.concept-glass {
  isolation: isolate;
  border-color: rgb(255 255 255 / .72);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgb(255 255 255 / .5), rgb(255 255 255 / .08) 38%, transparent 64%),
    rgb(247 243 235 / .68);
  box-shadow: 0 1.9rem 3.5rem rgb(35 49 63 / .11), inset 0 1px 0 rgb(255 255 255 / .92);
  backdrop-filter: blur(28px) saturate(1.15);
}

.palace-glass::before,
.location-glass::before,
.concept-glass::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -32%;
  left: -8%;
  width: 62%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(255 255 255 / .34), transparent 68%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.palace-glass::after,
.location-glass::after,
.concept-glass::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / .55);
  pointer-events: none;
}

.palace-glass > *,
.location-glass > *,
.concept-glass > * {
  position: relative;
  z-index: 1;
}

.concept-presentation.is-chalk .concept-glass {
  isolation: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.concept-presentation.is-chalk .concept-glass::before,
.concept-presentation.is-chalk .concept-glass::after {
  display: none;
}

.concept-presentation.is-board .concept-glass,
.concept-presentation.is-classroom .concept-glass {
  background:
    linear-gradient(135deg, rgb(255 255 255 / .5), rgb(255 255 255 / .08) 38%, transparent 64%),
    rgb(247 243 235 / .68);
  box-shadow: 0 1.9rem 3.5rem rgb(35 49 63 / .11), inset 0 1px 0 rgb(255 255 255 / .92);
  backdrop-filter: blur(28px) saturate(1.15);
}

.journey-scene[data-palace-scene="2"] .palace-glass {
  height: min(72svh, 36rem);
}

.journey-scene[data-concept-scene="5"] .concept-glass {
  height: min(70svh, 35rem);
}

@media (max-width: 760px) {
  .palace-glass,
  .location-glass,
  .concept-glass {
    border-radius: 1.35rem;
    backdrop-filter: blur(22px) saturate(1.1);
  }

  .concept-presentation.is-chalk .concept-glass {
    border-radius: 0;
    backdrop-filter: none;
  }

  .journey-scene[data-palace-scene="2"] .palace-glass,
  .journey-scene[data-concept-scene="5"] .concept-glass {
    height: min(40rem, calc(100svh - 7.1rem));
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .palace-glass,
  .location-glass,
  .concept-glass {
    background: rgb(247 243 235 / .94);
  }

  .concept-presentation.is-chalk .concept-glass {
    background: transparent;
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  .concept-slide--sample-route h2,
  .concept-slide--sample-cultural h2,
  .concept-slide--sample-grant h2 {
    margin-bottom: .55rem;
    font-size: clamp(1.8rem, 6.5vw, 2.35rem) !important;
  }

  .concept-slide--sample-route .concept-layout,
  .concept-presentation.is-chalk .concept-slide--sample-cultural .concept-layout,
  .concept-presentation.is-chalk .concept-slide--sample-grant .concept-layout {
    grid-template-columns: minmax(12rem, .82fr) minmax(0, 1.18fr);
    gap: .9rem;
    align-items: center;
  }

  .concept-slide--sample-route .concept-copy,
  .concept-slide--sample-cultural .concept-copy,
  .concept-slide--sample-grant .concept-copy {
    gap: .55rem;
  }

  .concept-slide--sample-route .concept-copy p,
  .concept-slide--sample-cultural .concept-copy p,
  .concept-slide--sample-grant .concept-copy p {
    font-size: .9rem;
    line-height: 1.32;
  }

  .concept-slide--sample-route .concept-visual,
  .concept-slide--sample-cultural .concept-visual,
  .concept-slide--sample-grant .concept-visual {
    min-height: 8rem;
  }

  .concept-slide--sample-route .concept-diagram-item,
  .concept-presentation.is-chalk .concept-slide--sample-cultural .concept-diagram-item {
    min-height: 5.2rem;
  }

  .concept-slide--sample-grant .chalk-metrics {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: .35rem;
  }

  .concept-slide--sample-grant .chalk-metrics strong {
    font-size: 2.6rem;
  }

  .concept-slide--sample-grant .chalk-metrics p + p strong {
    font-size: 1.25rem;
  }

  .concept-slide--sample-grant .concept-diagram {
    margin-top: .25rem;
  }

  .concept-presentation.is-chalk .concept-slide--sample-grant .concept-diagram-item {
    min-height: 3.25rem;
    padding: .25rem;
  }
}

/* Final production guard: this must remain the last presentation cascade. */
.location-glass {
  top: clamp(.85rem, 2.3svh, 1.5rem);
  width: min(82rem, calc(100vw - clamp(2rem, 6vw, 6rem)));
  height: min(88svh, 48rem);
  max-height: calc(100svh - 4.2rem);
}

.location-slides,
.concept-slides {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(27 73 200 / .28) transparent;
}

.concept-glass,
.journey-scene[data-concept-scene="5"] .concept-glass {
  top: clamp(.85rem, 2.3svh, 1.5rem);
  width: min(76rem, calc(100vw - clamp(3rem, 10vw, 9rem)));
  height: min(86svh, 44rem);
  max-height: calc(100svh - 4.2rem);
}

.concept-presentation.is-chalk .concept-glass {
  top: clamp(.35rem, 1.2svh, .8rem);
  width: min(82rem, calc(100vw - clamp(2rem, 6vw, 5rem)));
  height: calc(100svh - clamp(1.1rem, 3svh, 2rem));
  max-height: none;
  padding: clamp(.7rem, 1.3vw, 1rem) clamp(1.1rem, 2.6vw, 2.2rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 760px) {
  .location-glass,
  .concept-glass,
  .journey-scene[data-concept-scene="5"] .concept-glass {
    top: .55rem;
    width: calc(100vw - 1rem);
    height: calc(100svh - 4.4rem);
    max-height: none;
    padding: .75rem .8rem .85rem;
    border-radius: 1.3rem;
  }

  .concept-presentation.is-chalk .concept-glass {
    top: .25rem;
    width: calc(100vw - .7rem);
    height: calc(100svh - .8rem);
    padding: .6rem .65rem .75rem;
    border-radius: 0;
    backdrop-filter: none;
  }

  .concept-presentation:not(.is-chalk) .concept-artwork {
    max-height: 9.5rem;
  }

  .concept-presentation:not(.is-chalk) .concept-diagram-item {
    min-height: 2.75rem;
    padding-block: .25rem;
  }
}

/* Review addendum — 19-frame editorial system, 14 November 2026. */
.palace-scenes,
.location-slides,
.concept-slides {
  overflow: hidden !important;
  overscroll-behavior: none;
  scrollbar-width: none;
}

.palace-scenes::-webkit-scrollbar,
.location-slides::-webkit-scrollbar,
.concept-slides::-webkit-scrollbar {
  display: none;
}

.concept-glass,
.journey-scene[data-concept-scene="5"] .concept-glass {
  width: min(74rem, calc(100vw - clamp(3rem, 10vw, 9rem)));
  height: min(84svh, 43rem);
}

.concept-slide {
  padding: .1rem .2rem .35rem;
}

.concept-slide h2 {
  max-width: 22ch;
  margin-bottom: clamp(.65rem, 1.5vh, 1rem);
  font-size: clamp(2.7rem, 3.75vw, 3.75rem);
}

.concept-layout {
  grid-template-columns: minmax(17rem, .82fr) minmax(24rem, 1.18fr);
  gap: clamp(1.2rem, 2.7vw, 2.6rem);
}

.concept-copy {
  gap: .65rem;
}

.concept-copy p,
.concept-copy li {
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  line-height: 1.42;
}

.concept-note {
  margin: .1rem 0 0;
  padding: .65rem .75rem;
  border-left: 2px solid var(--ochre);
  color: var(--muted) !important;
  font-size: clamp(.82rem, .92vw, .95rem) !important;
  line-height: 1.38 !important;
}

.concept-visual {
  min-height: 12.5rem;
  gap: .55rem;
}

.concept-artwork {
  max-width: min(23rem, 100%);
  max-height: clamp(10.5rem, 27vh, 16.5rem);
}

.concept-visual--programs .concept-artwork,
.concept-visual--editorial .concept-artwork,
.concept-visual--portfolio .concept-artwork,
.concept-visual--ages .concept-artwork,
.concept-visual--priorities .concept-artwork {
  width: min(29rem, 100%);
  max-width: 100%;
  max-height: clamp(11rem, 29vh, 18rem);
}

.concept-diagram {
  gap: .45rem .7rem;
}

.concept-diagram-item {
  min-height: 3.25rem;
  padding: .4rem 0;
}

.concept-diagram-item strong {
  font-size: clamp(.76rem, .9vw, .88rem);
}

.concept-slide--trust .concept-layout {
  grid-template-columns: minmax(22rem, 1fr);
  max-width: 56rem;
  margin-inline: auto;
}

.concept-slide--trust .concept-copy {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.concept-slide--trust .concept-thesis {
  max-width: none;
  border-left: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
}

.concept-slide--trust .concept-diagram {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-age-stages {
  position: absolute;
  inset: 8% 5% 7%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7% 8%;
  pointer-events: none;
}

.concept-visual--ages {
  position: relative;
}

.concept-age-stages > div {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 1rem;
  text-align: center;
}

.concept-age-stages strong {
  color: var(--cobalt);
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.concept-age-stages span {
  margin-top: .35rem;
  color: var(--ink);
  font-size: clamp(.72rem, .9vw, .9rem);
  font-weight: 650;
}

.concept-presentation.is-chalk .concept-glass {
  inset-block-start: .35rem;
  width: min(84rem, calc(100vw - 3rem));
  height: calc(100svh - .7rem);
}

.concept-presentation.is-chalk .concept-slide h2 {
  max-width: 24ch;
  font-size: clamp(2.9rem, 4.2vw, 4.25rem);
}

.concept-presentation.is-chalk .concept-layout {
  grid-template-columns: minmax(18rem, .78fr) minmax(28rem, 1.22fr);
}

.concept-presentation.is-chalk .concept-copy p,
.concept-presentation.is-chalk .concept-copy li {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
}

.concept-presentation.is-chalk .concept-visual {
  min-height: 18rem;
}

.concept-presentation.is-chalk .chalk-object {
  width: min(27rem, 100%);
  max-height: 17rem;
}

.concept-presentation.is-chalk .concept-diagram {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-presentation.is-chalk .concept-diagram-item {
  min-height: 3.5rem;
}

.concept-presentation.is-chalk .concept-note {
  border-left-color: #fff8df;
  color: #fff8df !important;
}

.concept-slide--cultural .concept-diagram {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.concept-slide--workshops .concept-diagram {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concept-slide--grant .chalk-metrics {
  grid-template-columns: 1.05fr .95fr;
}

.concept-slide--grant .chalk-metrics strong {
  font-size: clamp(2.6rem, 4.7vw, 4.8rem);
}

.concept-slide--grant .chalk-metrics p + p strong {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

.location-composition {
  display: grid;
  gap: .55rem;
}

.location-composition-track {
  display: grid;
  grid-template-columns: var(--free-share) 1fr;
  height: .7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(35 49 63 / .09);
}

.location-composition-track span {
  background: var(--cobalt);
}

.location-composition-track i {
  background: var(--ochre);
}

.location-composition-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.location-composition-values p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: .5rem;
  margin: 0;
  padding: .45rem 0;
  border-top: 1px solid rgb(35 49 63 / .14);
}

.location-composition-values p:last-child {
  border-top-color: rgb(191 126 25 / .45);
}

.location-composition-values strong {
  color: var(--cobalt);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.location-composition-values p:last-child strong {
  color: #a86615;
}

.location-composition-values span {
  font-size: .78rem;
  line-height: 1.25;
}

.location-economy-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr);
  align-items: center;
  gap: .55rem;
}

.location-economy-comparison p {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: .65rem .35rem;
  border-top: 1px solid rgb(35 49 63 / .14);
}

.location-economy-comparison span {
  color: var(--muted);
  font-size: .72rem;
}

.location-economy-comparison strong {
  color: var(--cobalt);
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  line-height: 1.05;
}

.location-economy-comparison .is-total strong {
  color: #a86615;
}

.location-economy-plus,
.location-economy-equals {
  color: var(--ink) !important;
  font-size: 1.2rem !important;
  font-weight: 750;
}

.palace-enrollment {
  display: grid;
  grid-template-columns: minmax(12rem, .75fr) minmax(18rem, 1.25fr);
  align-items: center;
}

.palace-enrollment-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.palace-enrollment-values p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: .45rem;
  margin: 0;
  padding: .35rem .55rem;
  border-left: 3px solid var(--cobalt);
}

.palace-enrollment-values p:last-child {
  border-left-color: var(--ochre);
}

.palace-enrollment-values strong {
  color: var(--cobalt);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.palace-enrollment-values p:last-child strong {
  color: #a86615;
}

.palace-enrollment-values span,
.palace-enrollment-note {
  font-size: .78rem !important;
  line-height: 1.25 !important;
}

.palace-enrollment-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted) !important;
}

.palace-principles {
  grid-template-columns: .82fr 1.26fr .92fr;
  align-items: stretch;
}

.palace-principles p:nth-child(2) {
  min-height: 12rem;
  transform: translateY(-.35rem);
}

.palace-directions--principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  padding-right: clamp(8.5rem, 12vw, 11rem);
}

.palace-directions--principles > div {
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
}

.palace-result-artwork {
  width: clamp(11rem, 16vw, 15rem);
  max-height: 15rem;
}

.palace-scene-result .palace-result-grid {
  padding-right: clamp(12rem, 18vw, 16.5rem);
}

@media (max-width: 760px) {
  .concept-glass,
  .journey-scene[data-concept-scene="5"] .concept-glass {
    top: .4rem;
    height: calc(100svh - 3.4rem);
  }

  .concept-slide h2,
  .concept-presentation.is-chalk .concept-slide h2 {
    max-width: 19ch;
    margin-bottom: .55rem;
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }

  .concept-layout,
  .concept-presentation.is-chalk .concept-layout {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .concept-copy {
    gap: .45rem;
  }

  .concept-copy p,
  .concept-copy li,
  .concept-presentation.is-chalk .concept-copy p,
  .concept-presentation.is-chalk .concept-copy li {
    font-size: clamp(.86rem, 3.65vw, .98rem);
    line-height: 1.35;
  }

  .concept-thesis {
    padding-left: .65rem;
    font-size: .9rem !important;
  }

  .concept-note {
    padding: .4rem .55rem;
    font-size: .72rem !important;
  }

  .concept-visual,
  .concept-presentation.is-chalk .concept-visual {
    min-height: 0;
  }

  .concept-artwork,
  .concept-presentation:not(.is-chalk) .concept-artwork,
  .concept-visual--programs .concept-artwork,
  .concept-visual--editorial .concept-artwork,
  .concept-visual--portfolio .concept-artwork,
  .concept-visual--ages .concept-artwork,
  .concept-visual--priorities .concept-artwork {
    max-height: 8.5rem;
  }

  .concept-diagram,
  .concept-slide--trust .concept-diagram,
  .concept-presentation.is-chalk .concept-diagram,
  .concept-slide--cultural .concept-diagram,
  .concept-slide--workshops .concept-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem .5rem;
  }

  .concept-diagram-item,
  .concept-presentation.is-chalk .concept-diagram-item {
    min-height: 2.45rem;
    padding: .2rem 0;
  }

  .concept-diagram-item strong {
    font-size: .68rem;
  }

  .concept-age-stages {
    inset: 7% 4% 5%;
  }

  .concept-age-stages > div {
    padding: .45rem;
  }

  .concept-age-stages strong {
    font-size: 1.45rem;
  }

  .concept-age-stages span {
    margin-top: .15rem;
    font-size: .62rem;
  }

  .concept-presentation.is-chalk .concept-glass {
    top: .2rem;
    width: calc(100vw - .4rem);
    height: calc(100svh - .4rem);
  }

  .concept-presentation.is-chalk .chalk-object {
    width: min(16rem, 76%);
    max-height: 8.5rem;
  }

  .concept-slide--grant .chalk-metrics strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .concept-slide--grant .chalk-metrics p + p strong {
    font-size: clamp(1.35rem, 6.5vw, 2rem);
  }

  .location-economy-comparison {
    grid-template-columns: 1fr auto 1fr;
  }

  .location-economy-comparison .is-total {
    grid-column: 1 / -1;
  }

  .location-economy-equals {
    display: none;
  }

  .palace-enrollment {
    grid-template-columns: 1fr;
  }

  .palace-enrollment-values strong {
    font-size: 1.45rem;
  }

  .palace-principles,
  .palace-directions--principles {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .palace-principles p:nth-child(2) {
    min-height: 0;
    transform: none;
  }

  .palace-directions--principles > div {
    padding: .45rem .55rem;
  }
}

/* Fit pass: no presentation uses an internal scrollbar. */
.journey-scene[data-palace-scene="2"] .palace-glass {
  height: min(86svh, 42rem);
  max-height: calc(100svh - 4.2rem);
}

.concept-slide h2 {
  font-size: clamp(2.45rem, 3.55vw, 3.55rem);
}

.concept-layout {
  gap: clamp(1rem, 2.35vw, 2.2rem);
}

.location-slide h2 {
  margin-bottom: .65rem;
  font-size: clamp(2.4rem, 3.45vw, 3.45rem);
}

.location-layout {
  gap: clamp(1rem, 2.7vw, 2.5rem);
}

.location-copy {
  gap: .55rem;
}

.location-copy p,
.location-copy li {
  font-size: clamp(.92rem, 1.08vw, 1.05rem);
  line-height: 1.38;
}

.location-note {
  padding-block: .45rem;
  font-size: clamp(.72rem, .82vw, .82rem);
  line-height: 1.32;
}

.location-artwork {
  max-height: clamp(8.5rem, 20vh, 12.5rem);
}

.location-diagram > div,
.location-diagram.is-flow > div {
  min-height: 3rem;
  padding: .35rem 0;
}

@media (max-width: 760px) {
  .journey-scene[data-palace-scene="2"] .palace-glass {
    height: calc(100svh - 7.1rem);
  }

  .palace-scene-result .palace-result-grid,
  .palace-scene-problems .palace-problem-grid,
  .palace-scene-space .palace-space-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem;
    padding-right: 0;
  }

  .palace-result-grid li,
  .palace-problem-grid li,
  .palace-space-grid li {
    min-height: 0;
    padding: .45rem .4rem;
    font-size: .74rem;
    line-height: 1.3;
  }

  .palace-result-grid li:last-child,
  .palace-problem-grid li:last-child,
  .palace-space-grid li:last-child {
    grid-column: 1 / -1;
  }

  .palace-result-number {
    font-size: .55rem;
  }

  .palace-space-layout {
    gap: .45rem;
  }

  .palace-building-accent {
    min-height: 5.2rem;
  }

  .palace-building-accent img {
    max-height: 5rem;
  }

  .palace-enrollment-values span,
  .palace-enrollment-note {
    font-size: .68rem !important;
  }

  .location-slide h2 {
    margin-bottom: .45rem;
    font-size: clamp(1.65rem, 7.3vw, 2.05rem);
  }

  .location-layout {
    gap: .45rem;
  }

  .location-copy {
    gap: .35rem;
  }

  .location-copy p,
  .location-copy li {
    font-size: clamp(.82rem, 3.55vw, .94rem);
    line-height: 1.32;
  }

  .location-note {
    padding: .35rem .5rem;
    font-size: .66rem;
    line-height: 1.25;
  }

  .location-artwork {
    max-height: 7rem;
  }

  .location-metrics p {
    min-height: 4.4rem;
  }

  .location-metrics strong {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .location-composition-values strong {
    font-size: 1.55rem;
  }

  .location-composition-values span {
    font-size: .68rem;
  }

  .location-diagram > div,
  .location-diagram.is-flow > div {
    min-height: 2.35rem;
    padding: .2rem 0;
  }

  .location-diagram > div strong {
    font-size: .66rem;
  }

  .concept-slide h2,
  .concept-presentation.is-chalk .concept-slide h2 {
    font-size: clamp(1.65rem, 7.1vw, 2.1rem);
  }
}

@media (max-height: 790px) and (min-width: 761px) {
  .location-slide h2,
  .concept-slide h2 {
    font-size: clamp(2.1rem, 3vw, 2.85rem);
  }

  .location-copy p,
  .location-copy li,
  .concept-copy p,
  .concept-copy li {
    font-size: .9rem;
    line-height: 1.32;
  }

  .location-artwork,
  .concept-artwork {
    max-height: 9rem;
  }

  .location-visual--sosnovaya-04 .location-artwork {
    max-height: 7.75rem;
  }

  .concept-visual--technology,
  .concept-visual--spaces {
    min-height: 11.1rem;
  }

  .concept-visual--technology > .concept-artwork,
  .concept-visual--spaces > .concept-artwork {
    max-height: 16.75rem;
  }
}

@media (min-width: 761px) {
  .concept-slide--trust .concept-visual {
    min-height: 11.6rem;
  }
}

/* QA refinement: readable hierarchy for the location presentations. */
:root {
  --presentation-body: clamp(1rem, 1.2vw, 1.28rem);
  --presentation-heading: clamp(1.9rem, 3.1vw, 3.15rem);
  --presentation-blue: #0c5f92;
  --presentation-muted: rgb(36 52 65 / .68);
}

.accent-phrase,
.palace-scene strong,
.location-slide strong {
  color: var(--presentation-blue);
  font-weight: 800;
}

.palace-scene h2,
.location-slide h2 {
  font-size: var(--presentation-heading);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.palace-source-copy,
.location-copy p,
.location-copy li {
  font-size: var(--presentation-body);
  line-height: 1.42;
}

.palace-scene-lead .palace-lead-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.palace-scene-lead .palace-source-copy {
  max-width: 34rem;
  font-size: clamp(1.2rem, 1.65vw, 1.75rem);
  line-height: 1.35;
}

.palace-scene-lead .palace-visual-cluster {
  display: block;
}

.palace-scene-lead .palace-visual-cluster > img {
  max-height: 15rem;
  object-fit: contain;
}

.palace-enrollment-bar .is-paid { background: #a96268; }
.palace-enrollment-values strong { color: var(--presentation-blue); }
.palace-enrollment-note,
.location-note,
.palace-footnote {
  color: var(--presentation-muted);
  font-size: .86rem;
  line-height: 1.45;
}

.palace-two-column-copy {
  gap: clamp(1rem, 2vw, 2rem);
}

.palace-two-column-copy p {
  padding: 1rem 0;
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  line-height: 1.45;
}

.palace-principles {
  gap: .85rem;
  align-items: stretch;
  min-height: 11rem;
}

.palace-principles p {
  min-height: 9rem;
  padding: 1.25rem;
  font-size: clamp(1.25rem, 1.65vw, 1.8rem);
  line-height: 1.15;
}

.palace-principles .palace-icon { width: 1.6rem; height: 1.6rem; }

.palace-scene-model .palace-directions {
  margin-top: 1.25rem;
  gap: .8rem 1rem;
}

.palace-scene-model .palace-directions > div {
  padding: 1rem;
}

.palace-scene-model .palace-directions dt {
  font-size: 1.05rem;
}

.palace-scene-model .palace-directions dd {
  font-size: .93rem;
  line-height: 1.4;
}

.palace-space-grid li {
  font-size: 1rem;
  line-height: 1.35;
}

.palace-space-grid li:last-child {
  border-color: rgb(169 98 104 / .55);
  background: rgb(169 98 104 / .08);
}

.palace-result-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}

.palace-result-grid li {
  min-height: 5.25rem;
  padding: 1.8rem .8rem .7rem;
  font-size: .9rem;
  line-height: 1.27;
}

.palace-result-grid .palace-icon { display: none; }

.location-layout {
  align-items: center;
}

.location-copy {
  align-content: center;
  gap: 1rem;
}

.location-copy ul {
  gap: .75rem;
}

.location-copy li {
  padding: .85rem 0;
}

.location-thesis {
  max-width: 32rem;
  color: var(--presentation-blue);
  font-size: clamp(1.15rem, 1.45vw, 1.55rem) !important;
  line-height: 1.3 !important;
  font-weight: 750;
}

.location-metrics strong {
  font-size: clamp(3.4rem, 6vw, 5.8rem);
}

.location-metrics span,
.location-composition-values span {
  font-size: .9rem;
  line-height: 1.25;
}

.location-visual--sosnovaya-01 .location-metrics,
.location-visual--shkolnaya-01 .location-metrics {
  gap: 1.2rem;
}

.location-visual--sosnovaya-01 .location-metrics p,
.location-visual--shkolnaya-01 .location-metrics p {
  min-height: 8rem;
}

.location-visual--shkolnaya-01::after {
  content: 'Показатели предварительные; считаются записи реестра, а не уникальные дети.';
  display: block;
  margin-top: auto;
  color: var(--presentation-muted);
  font-size: .82rem;
  line-height: 1.4;
}

.location-visual--shkolnaya-01::after { content: '69 записей — это записи на обучение, а не число уникальных детей.'; }

.location-economy-comparison {
  grid-template-columns: 1fr auto 1fr auto 1.1fr;
  gap: .55rem;
  align-items: end;
}

.location-economy-comparison p { min-width: 0; }
.location-economy-comparison strong { white-space: nowrap; }

.location-footer button {
  min-height: 2.75rem;
}

@media (max-width: 760px) {
  .palace-scene-lead .palace-lead-layout { grid-template-columns: 1fr; }
  .palace-scene-lead .palace-visual-cluster > img { max-height: 8rem; }
  .palace-principles { min-height: 0; }
  .palace-principles p { min-height: 5rem; padding: .75rem; }
  .palace-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .palace-result-grid li { min-height: 4.7rem; font-size: .78rem; }
  .location-metrics strong { font-size: clamp(2.6rem, 13vw, 4rem); }
  .location-metrics span,
  .location-composition-values span { font-size: .72rem; }
  .location-economy-comparison { grid-template-columns: 1fr auto 1fr; }
  .location-economy-comparison p:last-child { grid-column: 1 / -1; }
}
