:root {
  color-scheme: dark;
  --page: #061633;
  --page-deep: #030d21;
  --surface: #0a214b;
  --surface-soft: #102b5b;
  --ink: #f5f7fb;
  --ink-soft: #acb9d0;
  --blue: #1e66d0;
  --blue-bright: #4f8be3;
  --gold: #d8ae57;
  --gold-bright: #f0cf83;
  --line: rgba(214, 226, 248, 0.16);
  --line-gold: rgba(216, 174, 87, 0.42);
  --glass: rgba(5, 20, 48, 0.62);
  --shadow: 0 32px 100px rgba(0, 7, 26, 0.42);
  --radius: 22px;
  --nav-height: 76px;
  --shell: 1280px;
  --hero-base: #071a3d;
  --hero-ink: #f5f7fb;
  --hero-ink-soft: #c3d0e5;
  --hero-gold: #f0cf83;
  --hero-overlay: linear-gradient(180deg, rgba(5, 19, 45, 0.8), rgba(5, 19, 45, 0) 28%), linear-gradient(100deg, rgba(7, 26, 61, 0.98) 3%, rgba(9, 39, 83, 0.91) 34%, rgba(12, 48, 94, 0.58) 63%, rgba(7, 26, 61, 0.18) 100%);
  --display: "Aptos Display", "Avenir Next", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --page: #f5f8fc;
  --page-deep: #eaf1f9;
  --surface: #fcfdff;
  --surface-soft: #e5eef9;
  --ink: #071a3d;
  --ink-soft: #4e607d;
  --blue: #0b4fa8;
  --blue-bright: #1e66d0;
  --gold: #89601c;
  --gold-bright: #dfba68;
  --line: rgba(7, 26, 61, 0.14);
  --line-gold: rgba(168, 120, 34, 0.42);
  --glass: rgba(237, 243, 251, 0.74);
  --shadow: 0 18px 60px rgba(8, 37, 83, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-color: var(--gold) var(--page-deep);
  scrollbar-width: thin;
}
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: var(--page-deep); }
*::-webkit-scrollbar-thumb { border: 3px solid var(--page-deep); border-radius: 99px; background: var(--gold); }
::selection { background: var(--gold); color: #071a3d; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 5.7vw, 6.3rem); font-weight: 760; }
h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 4.5vw, 4.8rem); font-weight: 740; }
h3 { margin-bottom: 10px; font-size: clamp(1.35rem, 2.2vw, 2rem); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(88px, 9vw, 128px); }
.section-tight { padding-block: clamp(76px, 9vw, 128px); }
.skip-link { position: fixed; top: 14px; left: 18px; z-index: 100; transform: translateY(-160%); border-radius: 999px; background: var(--gold); color: #071a3d; padding: 12px 18px; font-weight: 800; transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.eyebrow { margin: 0 0 22px; color: var(--gold); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.19em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 999px; padding: 14px 24px; font-weight: 800; line-height: 1; white-space: nowrap; transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(-1px) scale(0.98); }
.button-gold { background: var(--gold-bright); color: #071a3d; box-shadow: 0 14px 44px rgba(216, 174, 87, 0.24); }
.button-gold:hover { background: #f8dfa4; }
.button-glass { border-color: var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.button-glass:hover { border-color: var(--gold-bright); background: rgba(216, 174, 87, 0.12); }
.button-outline { border-color: var(--line-gold); color: var(--gold); }
.button-outline:hover { background: var(--gold-bright); color: #071a3d; }
.play-mark { font-size: 0.8rem; }

.site-header {
  --nav-ink: var(--hero-ink);
  --nav-accent: var(--hero-gold);
  --nav-line: rgba(214, 226, 248, 0.35);
  --nav-hover: rgba(214, 226, 248, 0.12);
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  isolation: isolate;
  background: transparent;
}
/* Only the surface enters on scroll; the navigation never shifts position. */
.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 96%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.site-header.is-scrolled, html:not(.has-js) .site-header {
  --nav-ink: var(--ink);
  --nav-accent: var(--gold);
  --nav-line: var(--line);
  --nav-hover: var(--surface-soft);
}
.site-header.is-scrolled::before, html:not(.has-js) .site-header::before { opacity: 1; transform: none; }
.nav { position: relative; display: flex; height: var(--nav-height); align-items: center; justify-content: space-between; gap: 24px; color: var(--nav-ink); }
.nav :focus-visible { outline-color: var(--nav-accent); }
.nav .brand small { color: var(--nav-accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 13px; line-height: 1.1; }
.brand-mark { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(216, 174, 87, 0.42); border-radius: 16px; background: rgba(255, 255, 255, 0.96); padding: 5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: 0.97rem; letter-spacing: -0.015em; }
.brand small { display: block; margin-top: 5px; color: var(--gold); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.16em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); font-size: 0.82rem; font-weight: 720; }
.desktop-nav > a:not(.nav-cta) { position: relative; padding-block: 10px; }
.desktop-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; transform: scaleX(0); transform-origin: right; background: var(--gold-bright); transition: transform 220ms ease; }
.desktop-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.theme-button { display: grid; flex-shrink: 0; width: 44px; height: 44px; place-items: center; border: 1px solid var(--nav-line); border-radius: 50%; background: transparent; padding: 0; }
.theme-button:hover, .menu-button:hover { background: var(--nav-hover); color: var(--nav-accent); }
.theme-button svg { grid-area: 1 / 1; }
.theme-sun { display: none; }
html[data-theme="dark"] .theme-sun { display: block; }
html[data-theme="dark"] .theme-moon { display: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 16px; border: 1px solid var(--line-gold); border-radius: 999px; padding: 10px 17px; color: var(--nav-ink); font-size: 0.8rem; font-weight: 750; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-bright); color: #071a3d; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--nav-line); border-radius: 50%; background: transparent; }
.menu-button span { position: absolute; width: 18px; height: 1px; background: currentColor; transition: transform 180ms ease; }
.menu-button span:first-child { transform: translateY(-4px); }
.menu-button span:last-child { transform: translateY(4px); }
.menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: absolute; top: calc(100% + 12px); right: 0; left: 0; display: grid; gap: 4px; max-height: calc(100dvh - 100px); overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px; box-shadow: var(--shadow); }
.mobile-menu a { min-height: 48px; border: 0; border-radius: 13px; background: transparent; color: var(--ink); padding: 12px 14px; text-align: left; font-weight: 760; }
.mobile-menu a:hover { background: rgba(216, 174, 87, 0.12); color: var(--gold); }
.mobile-menu .mobile-cta { background: var(--gold-bright); color: #071a3d; }
.mobile-menu :focus-visible { outline-color: var(--gold); }

/* The blue photographic treatment stays consistent in both page themes. */
.hero {
  --ink: var(--hero-ink);
  --ink-soft: var(--hero-ink-soft);
  --gold: var(--hero-gold);
  --gold-bright: var(--hero-gold);
  --line: rgba(214, 226, 248, 0.35);
  --surface: #0a214b;
  position: relative;
  min-height: 100dvh;
  overflow: clip;
  background: var(--hero-base);
  color: var(--ink);
  isolation: isolate;
}
.header-sentinel { position: absolute; top: 24px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media { z-index: -4; inset: -26px; overflow: hidden; transform: translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0); transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.hero-media img { width: 100%; height: 112%; object-fit: cover; object-position: center; transform: scale(1.04); will-change: transform; }
.hero-scrim { z-index: -3; background: var(--hero-overlay); }
.hero-scrim::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--hero-base)); }
.hero-orbit { position: absolute; z-index: -2; border: 1px solid rgba(216, 174, 87, 0.3); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 13%; right: -13vw; width: 46vw; aspect-ratio: 1; }
.hero-content { display: flex; min-height: 100dvh; align-items: center; padding-top: var(--nav-height); }
.hero-copy { max-width: 1000px; padding-block: 70px 54px; }
.hero h1 span { color: var(--gold); }
.hero-lede { max-width: 560px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-assurance { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; color: var(--hero-ink-soft); font-size: 0.78rem; font-weight: 720; }
.hero-assurance > span { position: relative; padding-left: 15px; }
.hero-assurance > span::before { content: ""; position: absolute; top: 0.68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--hero-gold); transform: translateY(-50%); }
.hero-assurance button { border: 0; border-bottom: 1px solid rgba(240, 207, 131, 0.58); background: transparent; color: var(--hero-gold); padding: 3px 0; font-size: inherit; font-weight: 800; }
.hero-assurance button:hover { border-bottom-color: var(--hero-gold); color: #fff3d3; }

.identity-strip { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--page); }
.identity-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.identity-grid > div { min-height: 144px; border-right: 1px solid var(--line); padding: 34px 28px; }
.identity-grid > div:first-child { border-left: 1px solid var(--line); }
.identity-grid strong, .identity-grid span { display: block; }
.identity-grid strong { margin-bottom: 7px; color: var(--ink); font-size: 0.93rem; }
.identity-grid span { color: var(--ink-soft); font-size: 0.83rem; }

.intro { position: relative; overflow: clip; }
.intro::before { content: ""; position: absolute; top: 12%; left: -16vw; width: 42vw; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.intro-visual { position: relative; }
.intro-frame { overflow: hidden; min-height: 570px; border-radius: 45% 45% var(--radius) var(--radius); box-shadow: var(--shadow); }
.intro-frame img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; transform: scale(1.1); }
.intro-copy > p:not(.eyebrow) { max-width: 59ch; color: var(--ink-soft); font-size: 1.06rem; }
.principles { margin-top: 42px; }
.principles article { border-top: 1px solid var(--line); padding: 22px 0; }
.principles article > span { color: var(--gold); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.14em; }
.principles h3 { margin-bottom: 6px; font-family: var(--body); font-size: 1.05rem; letter-spacing: -0.02em; }
.principles p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.program-section { background: linear-gradient(180deg, var(--page), var(--page-deep)); }
.section-heading { max-width: 800px; margin-bottom: clamp(50px, 7vw, 86px); }
.section-heading p { max-width: 62ch; color: var(--ink-soft); font-size: 1.03rem; }
.program-stage { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 28px; }
.program-panels { display: grid; }
.program-panel { grid-area: 1 / 1; }
.program-panels, .program-panel, .program-panel > div { min-width: 0; }
.program-tabs { display: grid; align-content: start; gap: 10px; }
.program-tab { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 18px; background: transparent; padding: 20px 22px; text-align: left; font-size: 1.02rem; font-weight: 800; transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease; }
.program-tab span { color: var(--ink-soft); font-size: 1.2rem; }
.program-tab .program-tab-label { min-width: 0; color: inherit; font-size: inherit; line-height: 1.25; }
.program-tab .program-tab-icon { display: none; }
.program-tab .program-tab-arrow { flex-shrink: 0; }
.program-tab svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.program-tab:hover { border-color: var(--line-gold); transform: translateX(5px); }
.program-tab[aria-selected="true"] { border-color: var(--gold-bright); background: var(--gold-bright); color: #071a3d; box-shadow: 0 18px 60px rgba(216, 174, 87, 0.1); }
.program-tab[aria-selected="true"] span { color: rgba(7, 26, 61, 0.68); }
.program-panel { display: grid; min-height: 420px; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: end; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-soft), var(--surface)); padding: clamp(38px, 6vw, 76px); box-shadow: var(--shadow); }
.program-panel > div > p { margin-bottom: 16px; color: var(--gold); font-size: 0.85rem; font-weight: 750; }
.program-panel h3 { margin: 0; font-size: clamp(2.35rem, 4vw, 4.4rem); }
.program-panel ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.program-panel li { position: relative; border-bottom: 1px solid var(--line); padding: 0 0 13px 20px; color: var(--ink-soft); font-size: 0.9rem; }
.program-panel li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.section-note { max-width: 78ch; margin: 26px 0 0; color: var(--ink-soft); font-size: 0.78rem; }

.education-level-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 42px); margin-bottom: 40px; border-block: 1px solid var(--line-gold); padding-block: 22px; }
.education-level-label { display: grid; width: 62px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line-gold); border-radius: 50%; color: var(--gold); font-family: var(--display); font-size: 1rem; font-weight: 800; letter-spacing: 0.08em; }
.education-level-copy strong { display: block; margin-bottom: 5px; color: var(--ink); font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; }
.education-level-copy p { max-width: 62ch; margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.education-level-note { color: var(--gold); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.12em; text-align: right; text-transform: uppercase; }

.collection-tab-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.collection-tab-label { color: var(--gold); font-size: .68rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.collection-tab-help { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .73rem; }
.collection-tab-help::before { content: "↗"; display: inline-grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line-gold); border-radius: 50%; color: var(--gold); font-size: .75rem; }
.facility-atlas { border-top: 1px solid var(--line-gold); }
.facility-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.facility-tab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: 4px 13px; min-height: 104px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 18px clamp(10px, 1.8vw, 25px); text-align: left; color: var(--ink); transition: background-color 240ms ease, border-color 240ms ease; }
.facility-tab + .facility-tab { border-left: 1px solid var(--line); }
.facility-tab:hover, .facility-tab[aria-selected="true"] { background: var(--surface-soft); }
.facility-tab[aria-selected="true"] { border-bottom-color: var(--gold); }
.facility-tab > span:first-child { grid-row: 1 / 4; padding-top: 4px; color: var(--gold); font-size: 0.72rem; font-weight: 800; }
.facility-tab strong { font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.38rem); font-weight: 650; line-height: 1.2; }
.facility-tab small { color: var(--ink-soft); font-size: 0.7rem; }
.collection-tab-action { display: flex; grid-column: 2; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; color: var(--gold); font-size: .61rem; font-weight: 820; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.collection-tab-action::before { content: "Lihat foto"; }
.collection-tab-action > span { font-size: .92rem; line-height: 1; transition: transform 180ms ease; }
.facility-tab:hover .collection-tab-action > span, .facility-tab:focus-visible .collection-tab-action > span, .gallery-category:hover .collection-tab-action > span, .gallery-category:focus-visible .collection-tab-action > span, .showcase-tab:hover .collection-tab-action > span, .showcase-tab:focus-visible .collection-tab-action > span { transform: translateX(3px); }
.facility-tab[aria-selected="true"] .collection-tab-action::before, .gallery-category[aria-selected="true"] .collection-tab-action::before, .showcase-tab[aria-selected="true"] .collection-tab-action::before { content: "Sedang dilihat"; color: var(--ink-soft); }
.facility-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr); gap: clamp(28px, 4.6vw, 66px); padding-top: clamp(25px, 4vw, 48px); }
.facility-main { min-width: 0; margin: 0; }
.facility-image-frame { position: relative; height: clamp(410px, 44vw, 570px); overflow: hidden; border-radius: 42px 4px 42px 4px; background: var(--page-deep); isolation: isolate; }
.facility-image-frame::before, .gallery-stage::before, .showcase-stage::before { content: ""; position: absolute; z-index: 4; top: 50%; left: 50%; width: 38px; height: 38px; border: 2px solid rgba(240, 207, 131, 0.24); border-top-color: var(--gold-bright); border-radius: 50%; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); }
.facility-image-frame.is-loading::before, .gallery-stage.is-loading::before, .showcase-stage.is-loading::before { opacity: 1; animation: collection-spin 850ms linear infinite; }
@keyframes collection-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.facility-image-frame.is-loading .facility-image-backdrop, .facility-image-frame.is-loading .facility-image-open, .gallery-stage.is-loading img, .showcase-stage.is-loading img { opacity: 0; }
.facility-image-frame.is-loading::after, .gallery-stage.is-loading::after, .showcase-stage.is-loading::after { opacity: 0; }
.gallery-stage.is-loading .gallery-stage-action, .gallery-stage.is-loading .gallery-swipe-hint, .showcase-stage.is-loading .photo-interaction-hint, .showcase-stage.is-loading figcaption { opacity: 0; }
.facility-image-backdrop { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(24px); opacity: 0.36; transform: scale(1.05); transition: opacity 220ms ease; }
.facility-image-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-gold); border-radius: inherit; pointer-events: none; }
.facility-image-open { position: absolute; inset: 0; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border: 0; background: transparent; padding: 12px; cursor: zoom-in; touch-action: pan-y; transition: opacity 180ms ease; }
.facility-image-open img { display: block; flex: none; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.facility-zoom-hint { position: absolute; right: 16px; top: 16px; border-radius: 12px 2px 12px 2px; background: rgba(7, 26, 61, 0.86); padding: 8px 11px; color: #fff; font-size: 0.72rem; opacity: 0; transform: translateY(-4px); transition: opacity 200ms ease, transform 200ms ease; }
.facility-image-open:hover .facility-zoom-hint, .facility-image-open:focus-visible .facility-zoom-hint { opacity: 1; transform: none; }
.facility-main figcaption { display: flex; align-items: start; gap: 18px; min-height: 45px; padding: 14px 1px 0; color: var(--ink-soft); font-size: 0.79rem; line-height: 1.45; }
.facility-main figcaption span:first-child { flex: none; color: var(--gold); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; }
.facility-side { display: flex; min-width: 0; flex-direction: column; }
.facility-side-head { border-bottom: 1px solid var(--line-gold); padding-bottom: 18px; }
.facility-side-eyebrow { color: var(--gold); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.facility-side-head h3 { margin: 9px 0 12px; font-size: clamp(1.85rem, 2.6vw, 2.7rem); line-height: 1.08; }
.facility-side-head p { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; }
.facility-photo-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 17px 13px; max-height: 355px; overflow-y: auto; margin-block: 22px 16px; padding-right: 5px; scrollbar-color: var(--line-gold) transparent; }
.facility-photo-choice { min-width: 0; border: 0; background: transparent; padding: 0; text-align: left; color: var(--ink-soft); }
.facility-photo-choice img { width: 100%; height: 105px; object-fit: contain; border: 2px solid transparent; border-radius: 17px 3px 17px 3px; background: var(--page-deep); opacity: 0.75; transition: opacity 220ms ease, border-color 220ms ease, transform 220ms ease; }
.facility-photo-choice:hover img, .facility-photo-choice[aria-pressed="true"] img { border-color: var(--gold); opacity: 1; }
.facility-photo-choice:hover img { transform: translateY(-2px); }
.facility-photo-choice span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 7px; font-size: 0.7rem; line-height: 1.45; }
.facility-photo-choice[aria-pressed="true"] span { color: var(--ink); }
.facility-controls { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.facility-controls button { width: 39px; height: 39px; border: 1px solid var(--line-gold); border-radius: 50%; background: transparent; color: var(--gold); }
.facility-controls button:hover { background: var(--gold-bright); color: #071a3d; }
.facility-controls button:disabled { opacity: 0.38; cursor: not-allowed; }
.facility-controls span { color: var(--ink-soft); font-size: 0.75rem; font-weight: 750; }
.facility-dialog { width: min(1280px, calc(100% - 30px)); max-width: none; max-height: 94dvh; border: 1px solid var(--line-gold); border-radius: 34px 3px 34px 3px; background: #030d21; padding: 0; color: #f5f7fb; box-shadow: 0 38px 130px rgba(0, 0, 0, 0.6); }
.facility-dialog::backdrop { background: rgba(1, 6, 17, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.facility-dialog-shell { position: relative; padding: 18px; }
.facility-dialog-close { position: absolute; z-index: 2; top: 30px; right: 30px; min-height: 0; margin: 0; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(3, 13, 33, 0.78); padding: 9px 15px; color: #f5f7fb; font-size: 0.78rem; font-weight: 800; }
.facility-dialog-close:hover { border-color: var(--gold); color: var(--gold-bright); }
.facility-dialog-viewport { display: flex; align-items: center; justify-content: center; height: min(78dvh, 760px); overflow: auto; overscroll-behavior: contain; border-radius: 14px; background: #020713; }
.facility-dialog-image-button { display: flex; align-items: center; justify-content: center; flex: none; width: 100%; height: 100%; border: 0; background: transparent; padding: 0; cursor: zoom-in; touch-action: pan-y; }
.facility-dialog-image-button img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.facility-dialog.is-zoomed .facility-dialog-viewport { display: block; }
.facility-dialog.is-zoomed .facility-dialog-image-button { width: max-content; min-width: 100%; height: max-content; min-height: 100%; cursor: zoom-out; }
.facility-dialog.is-zoomed .facility-dialog-image-button { touch-action: none; cursor: grab; }
.facility-dialog.is-zoomed .facility-dialog-image-button:active { cursor: grabbing; }
.facility-dialog.is-zoomed .facility-dialog-image-button img { width: var(--facility-zoom-width); max-width: none; max-height: none; height: auto; }
.facility-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 4px 0; }
.facility-dialog-footer p { max-width: 70ch; margin: 0; color: #d8e1f0; font-size: 0.88rem; font-weight: 720; }
.facility-dialog-tools { display: flex; flex: none; align-items: center; gap: 18px; }
.facility-dialog-zoom { display: flex; flex: none; align-items: center; gap: 9px; }
.facility-dialog-zoom button { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: transparent; color: #f0cf83; font-size: 1.25rem; }
.facility-dialog-zoom button:hover { background: #f0cf83; color: #071a3d; }
.facility-dialog-zoom button:disabled { opacity: 0.4; cursor: not-allowed; }
.facility-dialog-zoom span { min-width: 45px; color: #d8e1f0; font-size: 0.76rem; text-align: center; }

.video-section { position: relative; min-height: 82dvh; display: grid; place-items: center; overflow: clip; background: #030d21; color: #f5f7fb; isolation: isolate; }
.video-backdrop, .video-overlay { position: absolute; inset: 0; }
.video-backdrop { z-index: -3; }
.video-backdrop img { width: 100%; height: 120%; object-fit: cover; transform: scale(1.08); }
.video-overlay { z-index: -2; background: linear-gradient(90deg, rgba(3, 13, 33, 0.92), rgba(3, 13, 33, 0.48)), linear-gradient(0deg, rgba(3, 13, 33, 0.72), transparent 55%); }
.video-content { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 44px; }
.video-content .eyebrow { grid-column: 1 / 3; margin-bottom: 0; }
.video-content .eyebrow { color: #f0cf83; }
.video-content h2 { max-width: 890px; margin: 0; }
.video-play { display: grid; width: 150px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 50%; background: rgba(3, 13, 33, 0.32); color: #f5f7fb; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform 250ms ease, background-color 250ms ease, color 250ms ease; }
.video-play span { display: block; font-size: 1.8rem; }
.video-play strong { font-size: 0.78rem; }
.video-play:hover { transform: scale(1.06); background: var(--gold-bright); color: #071a3d; }

.gallery-section { overflow: clip; }
.gallery-experience { display: grid; grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1.52fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.gallery-experience > .collection-tab-intro, .showcase-experience > .collection-tab-intro { grid-column: 1; }
.gallery-experience > .gallery-panel, .showcase-experience > .showcase-panel { grid-column: 2; grid-row: 1 / span 2; }
.gallery-categories { border-top: 1px solid var(--line-gold); }
.gallery-category { display: grid; width: 100%; min-height: 126px; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 21px 15px; text-align: left; transition: background-color 220ms ease, border-color 220ms ease; }
.gallery-category:hover { background: var(--surface-soft); }
.gallery-category[aria-selected="true"] { border-left: 2px solid var(--gold); background: var(--surface-soft); padding-left: 13px; }
.gallery-category-number { grid-row: 1 / 4; padding-top: 5px; color: var(--gold); font-size: 0.73rem; font-weight: 800; }
.gallery-category-name { font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.65rem); font-weight: 740; line-height: 1.18; letter-spacing: -0.035em; }
.gallery-category-count { color: var(--ink-soft); font-size: 0.73rem; }
.gallery-panel { min-width: 0; }
.gallery-stage { position: relative; display: block; width: 100%; height: clamp(340px, 41vw, 570px); overflow: hidden; border: 0; border-radius: 34px 3px 34px 3px; background: var(--page-deep); padding: 0; color: #f5f7fb; touch-action: pan-y; }
.gallery-stage::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(3, 13, 33, 0.58)); pointer-events: none; }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; user-select: none; transition: opacity 180ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-stage:hover img { transform: scale(1.04); }
.gallery-stage-action { position: absolute; z-index: 1; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(240, 207, 131, 0.65); border-radius: 15px 3px 15px 3px; background: rgba(7, 26, 61, 0.88); padding: 10px 16px; font-size: 0.78rem; font-weight: 800; }
.gallery-stage-action span { color: #f0cf83; }
.photo-interaction-hint { position: absolute; z-index: 3; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 36px); border: 1px solid rgba(240, 207, 131, 0.48); border-radius: 999px; background: rgba(7, 26, 61, 0.68); padding: 7px 11px; color: rgba(255, 255, 255, 0.92); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; pointer-events: none; }
.photo-interaction-hint span { color: var(--gold-bright); font-size: 0.88rem; line-height: 1; }
.gallery-stage-action.photo-interaction-hint { top: 18px; right: 18px; bottom: auto; left: auto; border-color: rgba(240, 207, 131, 0.48); background: rgba(7, 26, 61, 0.68); padding: 7px 11px; font-size: 0.66rem; font-weight: 700; }
.carousel-swipe-hint { display: none; position: absolute; z-index: 2; left: 14px; bottom: 14px; align-items: center; gap: 8px; border: 1px solid rgba(240, 207, 131, 0.5); border-radius: 11px 2px 11px 2px; background: rgba(7, 26, 61, 0.82); padding: 7px 11px; color: #f5f7fb; font-size: 0.68rem; font-weight: 730; letter-spacing: 0.02em; pointer-events: none; }
.carousel-swipe-hint span { color: #f0cf83; font-size: 1rem; line-height: 1; }
.carousel-swipe-hint[hidden] { display: none; }
.gallery-panel-meta { display: flex; justify-content: space-between; align-items: end; gap: 16px; border-bottom: 1px solid var(--line); padding-block: 21px 17px; }
.gallery-photo-caption { min-height: 2.6em; margin: 13px 0 0; color: var(--ink-soft); font-size: 0.79rem; line-height: 1.5; }
.gallery-panel-eyebrow { color: var(--gold); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.gallery-panel-meta h3 { margin: 5px 0 0; font-size: clamp(1.45rem, 2.3vw, 2.25rem); }
.gallery-inline-controls { display: flex; flex-shrink: 0; align-items: center; gap: 11px; }
.gallery-inline-controls button { width: 39px; height: 39px; border: 1px solid var(--line-gold); border-radius: 50%; background: transparent; color: var(--gold); }
.gallery-inline-controls button:hover { background: var(--gold-bright); color: #071a3d; }
.gallery-inline-controls span { min-width: 50px; color: var(--ink-soft); font-size: 0.77rem; font-weight: 750; text-align: center; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 11px; padding-top: 17px; }
.gallery-thumbnail { height: 76px; overflow: hidden; border: 2px solid transparent; border-radius: 14px 3px 14px 3px; background: var(--page-deep); padding: 0; opacity: 0.64; transition: opacity 220ms ease, border-color 220ms ease; }
.gallery-thumbnail[aria-pressed="true"], .gallery-thumbnail:hover { border-color: var(--gold); opacity: 1; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.showcase-section { background: var(--surface); }
.showcase-experience { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1.58fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.showcase-tabs { border-top: 1px solid var(--line-gold); }
.showcase-tab { display: grid; width: 100%; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; min-height: 120px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 21px 15px; color: var(--ink); text-align: left; transition: background-color 220ms ease, border-color 220ms ease; }
.showcase-tab:hover, .showcase-tab[aria-selected="true"] { background: var(--surface-soft); }
.showcase-tab[aria-selected="true"] { border-left: 2px solid var(--gold); padding-left: 13px; }
.showcase-tab > span:first-child { grid-row: 1 / 4; color: var(--gold); font-size: .73rem; font-weight: 800; }
.showcase-tab strong { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.15; }
.showcase-tab small { color: var(--ink-soft); font-size: .73rem; }
.showcase-panel { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(220px, .82fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.showcase-stage { position: relative; min-width: 0; height: clamp(370px, 38vw, 530px); margin: 0; overflow: hidden; border-radius: 36px 4px 36px 4px; background: var(--page-deep); touch-action: pan-y; }
.showcase-stage img { width: 100%; height: 100%; object-fit: cover; user-select: none; transition: opacity 180ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.showcase-stage::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3,13,33,.82)); pointer-events: none; }
.showcase-stage-action { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; padding: 0; cursor: zoom-in; }
.showcase-stage figcaption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; display: grid; gap: 7px; color: #fff; }
.showcase-stage figcaption span, .showcase-eyebrow { color: var(--gold-bright); font-size: .68rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.showcase-stage figcaption strong { max-width: 38ch; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.14; }
.showcase-side { display: flex; min-width: 0; flex-direction: column; gap: 22px; }
.showcase-side h3 { margin: 7px 0 11px; font-size: clamp(1.8rem, 2.6vw, 2.55rem); line-height: 1.08; }
.showcase-side p { max-width: 38ch; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.showcase-thumbnails { display: flex; max-width: 100%; gap: 11px; overflow-x: auto; overscroll-behavior-inline: contain; overscroll-behavior-x: contain; touch-action: pan-x; border-top: 1px solid var(--line); padding: 18px 2px 6px; scroll-snap-type: x proximity; scrollbar-color: var(--line-gold) transparent; }
.showcase-thumbnails button { flex: 0 0 clamp(88px, 9vw, 118px); height: 84px; overflow: hidden; border: 2px solid transparent; border-radius: 15px 3px 15px 3px; background: var(--page-deep); padding: 0; opacity: .62; scroll-snap-align: start; transition: border-color 200ms ease, opacity 200ms ease, transform 200ms ease; }
.showcase-thumbnails button:hover { transform: translateY(-2px); }
.showcase-thumbnails button[aria-pressed="true"] { border-color: var(--gold); opacity: 1; }
.showcase-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.showcase-controls { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.showcase-controls button { width: 39px; height: 39px; border: 1px solid var(--line-gold); border-radius: 50%; background: transparent; color: var(--gold); }
.showcase-controls button:hover { background: var(--gold-bright); color: #071a3d; }
.showcase-controls span { color: var(--ink-soft); font-size: .76rem; font-weight: 750; }

.life-section { position: relative; overflow: clip; background: linear-gradient(155deg, var(--page-deep), var(--surface)); }
.life-section::after { content: ""; position: absolute; right: -12vw; bottom: -23vw; width: 50vw; aspect-ratio: 1; border: 1px solid var(--line-gold); border-radius: 50%; opacity: 0.45; }
.life-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(60px, 9vw, 140px); }
.life-copy { position: sticky; top: calc(var(--nav-height) + 50px); align-self: start; }
.life-copy p:not(.eyebrow) { max-width: 52ch; color: var(--ink-soft); }
.life-steps { display: grid; gap: 22px; }
.life-steps article { position: relative; min-height: 230px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 78%, transparent); padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow); }
.life-steps article:nth-child(even) { margin-left: 9%; }
.life-steps article > span { color: var(--gold); font-size: 0.76rem; font-weight: 840; letter-spacing: 0.16em; text-transform: uppercase; }
.life-steps h3 { margin-top: 28px; font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.life-steps p { max-width: 46ch; margin-bottom: 0; color: var(--ink-soft); }

.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border: 0; background: transparent; padding: 0; color: var(--gold); font-weight: 800; }
.text-link:hover { color: var(--ink); }

.faq-grid { display: grid; grid-template-columns: 0.7fr 1fr; gap: clamp(60px, 9vw, 140px); }
.faq-copy p { max-width: 45ch; color: var(--ink-soft); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; padding-block: 24px; list-style: none; font-weight: 750; line-height: 1.45; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex-shrink: 0; color: var(--gold); font-size: 1.7rem; font-weight: 400; transition: transform 200ms ease; }
.faq-list summary:hover { color: var(--gold); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 42px 24px 0; color: var(--ink-soft); font-size: 0.94rem; }
.faq-answer p { margin: 0; }
.faq-list details[open] .faq-answer { animation: answer-in 250ms ease; }

.social-section { border-block: 1px solid var(--line); background: var(--page-deep); }
.social-heading { max-width: 760px; margin-bottom: 50px; }
.social-heading p { color: var(--ink-soft); }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-right: 1px solid var(--line); padding: 16px 34px; transition: background-color 200ms ease; }
.social-link:first-child { padding-left: 0; }
.social-link:last-child { border-right: 0; padding-right: 0; }
.social-link strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.035em; }
.social-link small { color: var(--ink-soft); font-size: 0.8rem; overflow-wrap: anywhere; }
.social-link > span:last-child { color: var(--gold); font-size: 1.8rem; transition: transform 200ms ease; }
.social-link:hover > span:last-child { transform: translate(4px, -4px); }
.social-link:hover strong { color: var(--gold); }
.contact { background: var(--surface); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 30px; }
.contact-email-link { border-bottom: 1px solid var(--line-gold); color: var(--gold); padding: 7px 0 5px; font-size: 0.86rem; font-weight: 800; }
.contact-email-link:hover { border-bottom-color: currentColor; color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact-copy p { max-width: 53ch; color: var(--ink-soft); font-size: 1.04rem; }
.contact-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--elevated); box-shadow: 0 24px 60px rgba(7, 26, 61, 0.08); }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0; padding: 8px clamp(20px, 3vw, 36px); font-style: normal; }
.contact-list > div { min-width: 0; border-bottom: 1px solid var(--line); padding: 22px 18px; }
.contact-list > div:nth-last-child(-n + 2) { border-bottom: 0; }
.contact-list > div:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.contact-list > div:nth-child(even) { padding-right: 0; }
.contact-list span { display: block; margin-bottom: 5px; color: var(--gold); font-size: 0.72rem; font-weight: 840; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-list p { margin: 0; overflow-wrap: anywhere; }
.contact-list a:not(.button) { font-weight: 760; }
.contact-list a:not(.button):hover { color: var(--gold); }
.contact-map { position: relative; min-height: 390px; overflow: hidden; border-top: 1px solid var(--line); background: var(--page-deep); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 390px; border: 0; filter: saturate(0.82) contrast(0.96); }
.map-link { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid rgba(240, 207, 131, 0.46); border-radius: 999px; background: rgba(7, 26, 61, 0.92); color: #f5f7fb; padding: 10px 17px; box-shadow: 0 12px 30px rgba(3, 13, 33, 0.2); font-size: 0.78rem; font-weight: 800; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.map-link span { color: #f0cf83; transition: transform 200ms ease; }
.map-link:hover { border-color: #f0cf83; color: #fff; }
.map-link:hover span { transform: translate(3px, -3px); }

.site-footer { border-top: 1px solid var(--line); background: var(--page-deep); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.7fr 0.7fr; gap: 70px; padding-block: 76px; }
.footer-grid > div { display: grid; align-content: start; gap: 11px; }
.footer-grid > div:first-child p { max-width: 48ch; margin: 22px 0 0; color: var(--ink-soft); }
.footer-grid > div > strong { margin-bottom: 8px; color: var(--gold); }
.footer-grid > div > a:not(.brand) { width: fit-content; color: var(--ink-soft); font-size: 0.88rem; }
.footer-grid > div > a:not(.brand):hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 22px; color: var(--ink-soft); font-size: 0.76rem; }

.media-dialog, .gallery-dialog { width: min(1100px, calc(100% - 30px)); border: 1px solid var(--line-gold); border-radius: var(--radius); background: #030d21; color: #f5f7fb; padding: 0; box-shadow: 0 38px 130px rgba(0, 0, 0, 0.6); }
.media-dialog::backdrop, .gallery-dialog::backdrop { background: rgba(1, 6, 17, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dialog-shell { padding: 20px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 4px 18px; }
.dialog-head h2 { margin: 0; font-size: 1rem; font-family: var(--body); letter-spacing: 0; }
.dialog-head button, .gallery-close { border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: transparent; color: #f5f7fb; padding: 9px 15px; font-size: 0.78rem; font-weight: 800; }
.dialog-head button:hover, .gallery-close:hover { border-color: var(--gold); color: var(--gold-bright); }
.dialog-shell video { width: 100%; max-height: 72dvh; border-radius: 14px; background: #020713; }
.video-status { position: relative; display: grid; min-height: 400px; max-height: 65dvh; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; border-radius: 14px; background: #061633; }
.video-status-copy { display: none; max-width: 650px; padding: clamp(24px, 5vw, 56px); }
.video-status.is-error { place-items: end; }
.video-status.is-error .video-status-copy { display: block; }
.video-status.is-error .video-loading-spinner { display: none; }
.video-loading-spinner { width: 44px; height: 44px; border: 2px solid rgba(240, 207, 131, 0.28); border-top-color: #f0cf83; border-radius: 50%; animation: video-spin 900ms linear infinite; }
@keyframes video-spin { to { transform: rotate(360deg); } }
.video-status-copy h3 { font-size: clamp(1.8rem, 3.5vw, 3.4rem); }
.video-status-copy p { color: #c3cee0; }
.gallery-dialog { width: min(1280px, calc(100% - 30px)); }
.gallery-dialog-shell { position: relative; padding: 18px; }
.gallery-dialog-shell img { width: 100%; max-height: 78dvh; border-radius: 14px; object-fit: contain; background: #020713; touch-action: pan-y; transform: translate3d(var(--gallery-modal-x, 0px), var(--gallery-modal-y, 0px), 0) scale(var(--gallery-modal-scale, 1)); transform-origin: center; transition: transform 180ms ease; }
.gallery-dialog.is-gallery-zoomed .gallery-dialog-image-button { width: 100%; min-width: 100%; height: 100%; min-height: 100%; touch-action: none; cursor: grab; }
.gallery-dialog.is-gallery-zoomed .gallery-dialog-image-button:active { cursor: grabbing; }
.gallery-dialog.is-gallery-zoomed .gallery-dialog-image-button img { width: 100%; max-width: 100%; max-height: 78dvh; }
.gallery-close { position: absolute; z-index: 2; top: 30px; right: 30px; background: rgba(3, 13, 33, 0.78); }
.gallery-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 4px 0; }
.gallery-dialog-shell p { margin: 0; color: #d8e1f0; font-size: 0.88rem; font-weight: 720; }
.gallery-controls { display: flex; flex-shrink: 0; align-items: center; gap: 14px; }
.gallery-controls button { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: transparent; color: #f0cf83; font-size: 1.2rem; }
.gallery-controls button:hover { background: #f0cf83; color: #071a3d; }
.gallery-controls span { min-width: 36px; color: #d8e1f0; font-size: 0.8rem; text-align: center; }
.facility-dialog-navigation button:disabled { opacity: 0.4; cursor: not-allowed; }
.media-dialog :focus-visible, .gallery-dialog :focus-visible, .video-section :focus-visible { outline-color: #f0cf83; }

/* Fallback layer for browsers that do not implement HTMLDialogElement.showModal. */
body.dialog-open { overflow: hidden; }
body.dialog-open::before { content: ""; position: fixed; z-index: 1190; inset: 0; background: rgba(1, 6, 17, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.is-open { display: block; position: fixed; z-index: 1200; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; }
dialog.is-open.facility-dialog { max-height: 94dvh; }
dialog.is-open.media-dialog, dialog.is-open.gallery-dialog { max-height: 94dvh; overflow: auto; }

/* Layers: page content 0, header 40, splash 90, skip link 100; dialogs use the native top layer. */
.splash { position: fixed; inset: 0; z-index: 90; display: none; width: 100%; height: 100%; min-height: 100vh; min-height: 100svh; isolation: isolate; place-items: center; overflow: hidden; background: radial-gradient(circle at 4% 96%, rgba(240, 207, 131, 0.1), transparent 36%), radial-gradient(circle at 96% 4%, rgba(79, 139, 227, 0.15), transparent 34%), linear-gradient(145deg, var(--hero-base), #0c2c59 58%, #061633); color: var(--hero-ink); transition: opacity 740ms ease, transform 740ms cubic-bezier(0.16, 1, 0.3, 1); }
.splash-active .splash { display: grid; }
html.splash-active { background: var(--hero-base); }
.splash-active body { overflow: hidden; }
.splash-leaving .splash { opacity: 0; transform: translateY(-6px) scale(1.008); pointer-events: none; }
.splash-botanical { position: absolute; z-index: 1; width: clamp(360px, 39vw, 570px); height: min(94vh, 860px); height: min(94dvh, 860px); overflow: visible; color: var(--hero-gold); opacity: 0.84; filter: drop-shadow(0 12px 28px rgba(5, 20, 48, 0.14)); pointer-events: none; will-change: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.splash-botanical-left { bottom: -92px; left: -82px; animation: botanical-frame-left 2.5s cubic-bezier(0.16, 1, 0.3, 1) both, botanical-frame-drift-left 4.6s ease-in-out 2.5s infinite alternate; }
.splash-botanical-right { top: -82px; right: -72px; width: clamp(330px, 36vw, 520px); opacity: 0.72; animation: botanical-frame-right 2.5s cubic-bezier(0.16, 1, 0.3, 1) both, botanical-frame-drift-right 5s ease-in-out 2.5s infinite alternate; }
.botanical-stem { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; animation: botanical-grow 1450ms cubic-bezier(0.2, 0.82, 0.28, 1) forwards; }
.botanical-stem-branch { stroke-width: 1.2; }
.botanical-delay-1 { animation-delay: 180ms; }
.botanical-delay-2 { animation-delay: 370ms; }
.botanical-delay-3 { animation-delay: 560ms; }
.botanical-leaf { fill: rgba(240, 207, 131, 0.24); stroke: rgba(240, 207, 131, 0.98); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform-box: fill-box; transform-origin: 50% 88%; vector-effect: non-scaling-stroke; animation: botanical-leaf-open 660ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.botanical-leaf-1 { animation-delay: 330ms; }
.botanical-leaf-2 { animation-delay: 500ms; }
.botanical-leaf-3 { animation-delay: 680ms; }
.botanical-leaf-4 { animation-delay: 840ms; }
.botanical-leaf-5 { animation-delay: 990ms; }
.botanical-leaf-6 { animation-delay: 1120ms; }
.botanical-flower { opacity: 0; transform-box: fill-box; transform-origin: center; animation: botanical-flower-bloom 760ms cubic-bezier(0.16, 1, 0.3, 1) 1050ms forwards; }
.botanical-flower-small { animation-delay: 910ms; }
.botanical-petal { fill: rgba(240, 207, 131, 0.28); stroke: rgba(240, 207, 131, 0.98); stroke-width: 1.2; opacity: 0; vector-effect: non-scaling-stroke; animation: botanical-petal-reveal 330ms ease forwards; }
.botanical-flower .petal-1 { animation-delay: 1060ms; }
.botanical-flower .petal-2 { animation-delay: 1120ms; }
.botanical-flower .petal-3 { animation-delay: 1180ms; }
.botanical-flower .petal-4 { animation-delay: 1240ms; }
.botanical-flower .petal-5 { animation-delay: 1300ms; }
.botanical-center { fill: var(--hero-gold); stroke: rgba(252, 253, 255, 0.58); stroke-width: 1; opacity: 0; animation: botanical-petal-reveal 360ms ease 1330ms forwards; }
.botanical-sway { transform-box: fill-box; will-change: transform; }
.botanical-sway-left { transform-origin: 10% 92%; animation: botanical-sway-left 3.8s ease-in-out 1250ms infinite alternate; }
.botanical-sway-right { transform-origin: 90% 8%; animation: botanical-sway-right 4.2s ease-in-out 1340ms infinite alternate; }
.splash-petals { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.splash-petals span { position: absolute; display: block; width: 9px; height: 15px; border: 1px solid rgba(240, 207, 131, 0.84); border-radius: 78% 12% 74% 18%; background: rgba(240, 207, 131, 0.26); opacity: 0; animation: botanical-petal-float 5.4s ease-in-out 1250ms infinite; }
.splash-petals span:nth-child(1) { top: 24%; left: 18%; animation-duration: 5.8s; }
.splash-petals span:nth-child(2) { top: 17%; left: 34%; width: 7px; height: 12px; animation-delay: 1500ms; animation-duration: 6.2s; }
.splash-petals span:nth-child(3) { top: 34%; right: 18%; animation-delay: 1380ms; animation-duration: 5.2s; }
.splash-petals span:nth-child(4) { top: 63%; right: 26%; width: 7px; height: 12px; animation-delay: 1620ms; animation-duration: 6s; }
.splash-petals span:nth-child(5) { top: 70%; left: 27%; animation-delay: 1460ms; animation-duration: 5.6s; }
.splash-petals span:nth-child(6) { top: 47%; right: 9%; width: 6px; height: 10px; animation-delay: 1740ms; animation-duration: 6.4s; }
.splash-identity { position: relative; z-index: 2; display: grid; justify-items: center; padding: 40px 24px; text-align: center; }
.splash-logo { position: relative; display: grid; width: 164px; height: 164px; place-items: center; margin-bottom: 42px; border: 1px solid rgba(240, 207, 131, 0.75); border-radius: 50%; background: #fcfdff; animation: logo-arrive 820ms cubic-bezier(0.16, 1, 0.3, 1) 1300ms both; }
.splash-logo::before { content: ""; position: absolute; inset: -15px; border: 1px solid rgba(240, 207, 131, 0.18); border-radius: 50%; }
.splash-logo::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(240, 207, 131, 0.42); border-radius: 50%; animation: logo-halo 940ms ease 1420ms both; }
.splash-logo img { width: 112px; height: 112px; object-fit: contain; border-radius: 16px; background: #fcfdff; padding: 6px; }
.splash-identity strong { opacity: 0; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.025em; animation: splash-copy-in 680ms ease 1560ms forwards; }
.splash-identity p { opacity: 0; margin: 8px 0 28px; color: var(--hero-gold); font-size: 0.8rem; letter-spacing: 0.13em; animation: splash-copy-in 680ms ease 1740ms forwards; }
.splash-line { width: 84px; height: 2px; border-radius: 2px; background: var(--hero-gold); transform-origin: center; animation: line-arrive 780ms cubic-bezier(0.22, 1, 0.36, 1) 1920ms both; }

.has-js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
.page-ready .hero-copy > * { animation: answer-in 700ms both; }
.page-ready .hero-copy > :nth-child(2) { animation-delay: 80ms; }
.page-ready .hero-copy > :nth-child(3) { animation-delay: 160ms; }
.page-ready .hero-copy > :nth-child(4) { animation-delay: 240ms; }

@keyframes hero-depth { from { transform: scale(1.04) translateY(-2%); } to { transform: scale(1.14) translateY(12%); } }
@keyframes image-depth { from { transform: scale(1.08) translateY(-4%); } to { transform: scale(1.08) translateY(4%); } }
@keyframes orbit-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-5vw, 9vh, 0); } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes logo-arrive { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes logo-halo { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes splash-copy-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes line-arrive { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes botanical-grow { to { stroke-dashoffset: 0; } }
@keyframes botanical-frame-left { from { opacity: 0; transform: translate3d(-22px, 24px, 0) rotate(-1.5deg); } to { opacity: 0.84; transform: translate3d(0, 0, 0) rotate(0); } }
@keyframes botanical-frame-right { from { opacity: 0; transform: translate3d(22px, -24px, 0) rotate(1.5deg); } to { opacity: 0.72; transform: translate3d(0, 0, 0) rotate(0); } }
@keyframes botanical-frame-drift-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(5px, -4px, 0); } }
@keyframes botanical-frame-drift-right { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-5px, 4px, 0); } }
@keyframes botanical-leaf-open { from { opacity: 0; transform: scale(0.12) rotate(-16deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes botanical-flower-bloom { from { opacity: 0; transform: scale(0.18) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes botanical-petal-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes botanical-sway-left { from { transform: rotate(-0.5deg) translate3d(0, 0, 0); } to { transform: rotate(1.8deg) translate3d(7px, -4px, 0); } }
@keyframes botanical-sway-right { from { transform: rotate(0.45deg) translate3d(0, 0, 0); } to { transform: rotate(-1.6deg) translate3d(-6px, 4px, 0); } }
@keyframes botanical-petal-float { 0% { opacity: 0; transform: translate3d(0, -10px, 0) rotate(-14deg); } 22% { opacity: 0.7; } 72% { opacity: 0.5; } 100% { opacity: 0; transform: translate3d(20px, 34px, 0) rotate(58deg); } }

@supports (animation-timeline: scroll()) {
  .hero-media img { animation: hero-depth linear both; animation-timeline: scroll(root block); animation-range: 0 100dvh; }
  .orbit-one { animation: orbit-drift linear both; animation-timeline: scroll(root block); animation-range: 0 120dvh; }
}

@supports (animation-timeline: view()) {
  .parallax-view img, img.parallax-view { animation: image-depth linear both; animation-timeline: view(); animation-range: entry -20% exit 120%; }
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .nav-actions .nav-cta { display: none; }
  .intro-grid, .life-grid { grid-template-columns: 1fr; }
  .intro-copy { max-width: 760px; }
  .life-copy { position: static; max-width: 760px; }
  .program-stage { grid-template-columns: 1fr; }
  .program-tabs { grid-template-columns: repeat(3, 1fr); }
  .program-tab { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-content: stretch; }
  .video-content { grid-template-columns: 1fr; }
  .video-content .eyebrow { grid-column: auto; }
  .gallery-experience { grid-template-columns: 1fr; gap: 26px; }
  .showcase-experience, .showcase-panel { grid-template-columns: 1fr; gap: 26px; }
  .gallery-experience > .gallery-panel, .showcase-experience > .showcase-panel { grid-column: auto; grid-row: auto; }
  .showcase-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; border-top: 0; }
  .showcase-tab { min-height: 112px; }
  .gallery-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; border-top: 0; }
  .gallery-category { min-height: 102px; padding: 13px 12px; }
  .gallery-category[aria-selected="true"] { padding-left: 10px; }
  .gallery-category-name { font-size: 1.22rem; }
  .facility-layout { grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr); gap: 28px; }
  .facility-image-frame { height: 500px; }
  .faq-grid { gap: 48px; }
}

@media (max-width: 760px) {
  :root { --nav-height: 68px; }
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .section { padding-block: 92px; }
  h1 { font-size: clamp(2.6rem, 11vw, 4.7rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .brand-mark { width: 44px; height: 44px; border-radius: 13px; }
  .brand strong { font-size: 0.84rem; }
  .brand small { font-size: 0.5rem; }
  .nav { gap: 12px; }
  .nav-actions { gap: 8px; }
  .collection-tab-intro { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 10px; }
  .collection-tab-help { font-size: .69rem; }
  .hero { min-height: 100dvh; }
  .hero-media img { height: 100%; object-position: 62% center; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5, 19, 45, 0.76), transparent 30%), linear-gradient(100deg, rgba(7, 26, 61, 0.93), rgba(10, 40, 82, 0.76) 65%, rgba(7, 26, 61, 0.56)); }
  .hero-content { min-height: 0; align-items: flex-start; }
  .hero-copy { padding-block: calc(var(--nav-height) + 48px) 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-assurance { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 22px; }
  .education-level-band { grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; margin-bottom: 30px; padding-block: 18px; }
  .education-level-note { grid-column: 2; text-align: left; }
  .identity-grid { grid-template-columns: repeat(2, 1fr); }
  .identity-grid > div { min-height: 132px; border-bottom: 1px solid var(--line); padding: 27px 20px; }
  .intro-grid { gap: 64px; }
  .intro-frame, .intro-frame img { min-height: 500px; }
  .program-stage { gap: 14px; }
  .program-tabs { display: grid; grid-template-columns: 1fr; gap: 8px; overflow: visible; padding: 0; scroll-snap-type: none; }
  .program-tab { width: 100%; min-width: 0; min-height: 66px; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; border-radius: 15px; background: color-mix(in srgb, var(--surface) 76%, transparent); padding: 12px 15px; font-size: 0.9rem; }
  .program-tab:hover { transform: none; }
  .program-tab .program-tab-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--gold); }
  .program-tab .program-tab-label { color: var(--ink); font-size: 0.9rem; }
  .program-tab .program-tab-arrow { color: var(--gold); font-size: 1rem; }
  .program-tab[aria-selected="true"] .program-tab-icon { background: rgba(7, 26, 61, 0.12); color: #071a3d; }
  .program-tab[aria-selected="true"] .program-tab-label, .program-tab[aria-selected="true"] .program-tab-arrow { color: #071a3d; }
  .program-panel { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding: 27px 24px 24px; }
  .program-panel h3 { font-size: clamp(1.75rem, 7.4vw, 2.35rem); overflow-wrap: break-word; }
  .program-panel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .program-panel li { min-height: 88px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--surface) 70%, transparent); padding: 39px 13px 13px; font-size: 0.76rem; line-height: 1.45; }
  .program-panel li::before { top: 20px; left: 13px; width: 18px; height: 1px; border-radius: 0; }
  .facility-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility-tab { min-height: 98px; padding: 13px 10px; }
  .facility-tab:nth-child(3) { border-left: 0; }
  .facility-tab:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facility-layout, .faq-grid { grid-template-columns: 1fr; }
  .facility-layout { gap: 21px; padding-top: 22px; }
  .facility-image-frame { height: auto; aspect-ratio: 1.15; }
  .facility-side-head { padding-bottom: 15px; }
  .facility-side-head h3 { font-size: 2rem; }
  .facility-photo-selector { display: flex; gap: 12px; max-height: none; overflow-x: auto; overflow-y: hidden; margin-block: 15px 10px; padding: 0 0 9px; scroll-snap-type: x proximity; }
  .facility-photo-choice { flex: 0 0 136px; scroll-snap-align: start; }
  .facility-photo-choice img { height: 94px; }
  .facility-controls { padding-top: 2px; }
  .facility-dialog { width: min(100vw - 20px, 1120px); max-height: 94dvh; }
  .facility-dialog-viewport { height: min(68dvh, 620px); }
  .facility-dialog-footer { align-items: start; }
  .social-links { grid-template-columns: 1fr; }
  .social-link, .social-link:first-child, .social-link:last-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .social-link:last-child { border-bottom: 0; }
  .video-section { min-height: 75dvh; }
  .video-content { gap: 34px; }
  .video-play { width: 124px; }
  .gallery-category { min-height: 104px; grid-template-columns: 22px minmax(0, 1fr); gap: 3px 6px; padding: 11px 8px; }
  .gallery-category[aria-selected="true"] { padding-left: 6px; }
  .gallery-category-name { font-size: 1.02rem; }
  .showcase-tabs { grid-template-columns: 1fr; gap: 0; }
  .showcase-tab { min-height: 104px; padding: 17px 12px; }
  .gallery-stage { height: auto; aspect-ratio: 1.18; }
  .showcase-stage { height: auto; aspect-ratio: 1.08; }
  .showcase-stage figcaption { right: 15px; bottom: 15px; left: 15px; }
  .showcase-stage figcaption strong { font-size: 1.15rem; }
  .photo-interaction-hint { top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 6px 9px; font-size: 0.6rem; }
  .gallery-stage-action.photo-interaction-hint { top: 12px; right: 12px; left: auto; padding: 6px 9px; font-size: 0.6rem; }
  .carousel-swipe-hint:not([hidden]) { display: inline-flex; }
  .gallery-stage-action { right: 14px; bottom: 14px; gap: 8px; padding: 7px 10px; font-size: 0.68rem; }
  .gallery-panel-meta { align-items: center; }
  .gallery-panel-meta h3 { font-size: 1.45rem; }
  .gallery-inline-controls { gap: 5px; }
  .gallery-inline-controls button { width: 34px; height: 34px; }
  .gallery-inline-controls span { min-width: 43px; }
  .gallery-thumbnails { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
  .gallery-thumbnail { height: 62px; }
  .gallery-dialog-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .gallery-controls { align-self: center; }
  .gallery-dialog-shell img { max-height: 63dvh; }
  .video-status { min-height: 440px; aspect-ratio: auto; }
  .life-grid { gap: 48px; }
  .life-steps article, .life-steps article:nth-child(even) { min-height: 240px; margin-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .footer-grid > div:first-child { grid-column: 1 / 3; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .splash-botanical { width: min(86vw, 340px); height: min(80vh, 660px); height: min(80dvh, 660px); opacity: 0.84; filter: none; }
  .splash-botanical-left { bottom: -132px; left: -108px; }
  .splash-botanical-right { top: -126px; right: -106px; width: min(82vw, 320px); opacity: 0.7; }
  .splash-logo { width: 150px; height: 150px; margin-bottom: 36px; }
  .splash-logo img { width: 102px; height: 102px; }
  .splash-petals span:nth-child(2), .splash-petals span:nth-child(6) { display: none; }
}

@media (max-width: 340px) {
  .program-panel ul { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .facility-tab { grid-template-columns: 18px minmax(0, 1fr); gap: 3px 6px; min-height: 74px; }
  .facility-tab strong { font-size: 0.98rem; }
  .facility-image-frame { aspect-ratio: 0.98; border-radius: 29px 3px 29px 3px; }
  .facility-image-open { padding: 8px; }
  .facility-main figcaption { gap: 10px; font-size: 0.74rem; }
  .facility-zoom-hint { display: none; }
  .facility-dialog-shell { padding: 10px; }
  .facility-dialog-viewport { height: min(65dvh, 570px); }
  .facility-dialog-footer { flex-wrap: wrap; gap: 10px; }
  .facility-dialog-tools { width: 100%; justify-content: space-between; gap: 10px; }
  .brand small { display: none; }
  .brand { gap: 9px; }
  .brand strong { font-size: 0.76rem; }
  .education-level-label { width: 52px; }
  .contact-actions .button { width: 100%; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-grid > div { min-height: 0; border-right: 0; }
  .identity-grid > div:first-child { border-left: 0; }
  .intro-frame, .intro-frame img { min-height: 430px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .contact-list { grid-template-columns: 1fr; padding: 6px 20px; }
  .contact-list > div, .contact-list > div:nth-child(odd), .contact-list > div:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); padding: 19px 0; }
  .contact-list > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .contact-list > div:last-child { border-bottom: 0; }
  .contact-map, .contact-map iframe { min-height: 330px; }
  .map-link { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; }
  .has-js .reveal { opacity: 1; transform: none; }
  .hero-media img, .parallax-view img, img.parallax-view, .orbit-one { animation: none; transform: none; }
  .hero-media { transform: none; transition: none; }
  .site-header::before { transition: none; transform: none; }
  .splash-active .splash { display: none; }
  .splash-active body { overflow: auto; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { --nav-ink: var(--ink); --nav-accent: var(--gold); --nav-line: var(--line); --nav-hover: var(--surface-soft); }
  .site-header::before { opacity: 1; transform: none; }
  .site-header::before, .button-glass { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .video-play { background: #071a3d; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (forced-colors: active) {
  .button, .program-tab, .gallery-stage, .gallery-thumbnail, .life-steps article, .brand-mark { border: 1px solid ButtonText; }
}

[hidden] { display: none; }
/* Keep the tab stage's intrinsic height stable while hiding inactive content. */
.program-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
