:root {
  --bg: #070c14;
  --bg-2: #0b1320;
  --panel: rgba(14, 21, 34, 0.70);
  --panel-strong: rgba(16, 24, 40, 0.88);
  --line: rgba(255, 255, 255, 0.105);
  --line-soft: rgba(255, 255, 255, 0.065);
  --line-strong: rgba(232, 192, 109, 0.34);
  --text: #f6f7f4;
  --muted: rgba(246, 247, 244, 0.72);
  --soft: rgba(246, 247, 244, 0.54);
  --accent: #e8c06d;
  --accent-deep: #c89636;
  --accent-2: #8fd9ff;
  --glow-blue: rgba(143, 217, 255, 0.15);
  --glow-gold: rgba(232, 192, 109, 0.18);
  --shadow: 0 30px 92px rgba(0, 0, 0, 0.46);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font: "IBM Plex Sans", "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-feature-settings: "kern" 1, "liga" 1;
  background:
    radial-gradient(circle at 72% 18%, rgba(232, 192, 109, 0.115), transparent 28%),
    radial-gradient(circle at 22% 8%, rgba(143, 217, 255, 0.12), transparent 30%),
    linear-gradient(145deg, #08101d 0%, #0b1220 46%, #060a11 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.019) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 36vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 10, 0.76));
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* INTRO V6.3.4 — MUSEUM PORTAL RESET */
#liquidCursorCanvas { display: none !important; }

#premiumCursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(50vw, 50vh, 0);
  transition: opacity .18s ease;
  mix-blend-mode: normal;
}

body.has-premium-cursor #premiumCursor { opacity: 1; }
body.has-premium-cursor,
body.has-premium-cursor a,
body.has-premium-cursor button { cursor: none; }
#premiumCursor.is-hidden { opacity: 0; }

.cursor-dot,
.cursor-ring {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 246, 222, .82);
  box-shadow: 0 0 10px rgba(232, 192, 109, .22);
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 246, 222, .48);
  background: radial-gradient(circle, rgba(255,255,255,.045), transparent 64%);
  box-shadow: inset 0 0 12px rgba(143,217,255,.055), 0 0 14px rgba(232,192,109,.07);
  transition: width .22s ease, height .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

body.is-cursor-active .cursor-ring {
  width: 36px;
  height: 36px;
  border-color: rgba(232, 192, 109, .58);
  background: radial-gradient(circle, rgba(232,192,109,.075), transparent 66%);
}

body.is-cursor-video .cursor-ring {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 246, 222, .62);
  background: radial-gradient(circle, rgba(143,217,255,.075), rgba(232,192,109,.035) 46%, transparent 70%);
}

#premiumCursorTrail {
  position: fixed;
  inset: 0;
  z-index: 79;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}

body.has-premium-cursor #premiumCursorTrail { opacity: .72; }
body.is-entering-gallery #premiumCursorTrail { opacity: .24; }

.portal-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  isolation: isolate;
  transition: opacity .12s ease;
}

.portal-transition > * {
  position: absolute;
  pointer-events: none;
}

.portal-backdrop {
  inset: 0;
  background:
    radial-gradient(circle at 62% 48%, rgba(232,192,109,.11), transparent 34%),
    rgba(5, 10, 18, 0);
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
}

.portal-frame {
  left: 50%;
  top: 50%;
  width: min(68vw, 860px);
  height: min(58vh, 520px);
  opacity: 0;
  border: 1px solid rgba(232,192,109,.38);
  border-radius: 32px;
  transform: translate(-50%, -50%) scale(.58, .82);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 64px rgba(143,217,255,.05),
    0 0 80px rgba(232,192,109,.12);
}

.portal-frame::before,
.portal-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  opacity: .58;
  background:
    linear-gradient(90deg, rgba(232,192,109,.26), transparent 16%, transparent 84%, rgba(232,192,109,.26)),
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 14%, transparent 86%, rgba(255,255,255,.12));
  mask-image: linear-gradient(#000 0 0);
  pointer-events: none;
}

.portal-frame::after {
  inset: 48px 16%;
  border-radius: 999px 999px 20px 20px;
  border: 1px solid rgba(232,192,109,.20);
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0 44%, rgba(232,192,109,.18) 45%, transparent 48%),
    linear-gradient(90deg, transparent, rgba(143,217,255,.10), transparent);
}

.portal-slit {
  left: 50%;
  top: 50%;
  width: 2px;
  height: 70vh;
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(.16);
  transform-origin: 50% 50%;
  background: linear-gradient(180deg, transparent, rgba(255,250,232,.96) 18%, rgba(232,192,109,.96) 50%, rgba(143,217,255,.54) 76%, transparent);
  box-shadow:
    0 0 18px rgba(255,246,222,.56),
    0 0 48px rgba(232,192,109,.32),
    0 0 120px rgba(143,217,255,.12);
}

.portal-grid {
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(rgba(232,192,109,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,192,109,.04) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 52%, transparent 0 38%, rgba(232,192,109,.085) 39%, transparent 41%);
  background-size: 70px 70px, 70px 70px, 820px 460px;
  mask-image: radial-gradient(ellipse at center, black 0 54%, transparent 78%);
}

.portal-scan {
  left: -28vw;
  top: 43%;
  width: 42vw;
  height: 16vh;
  opacity: 0;
  transform: rotate(-8deg) translateX(0);
  background: linear-gradient(90deg, transparent, rgba(255,250,232,.16), rgba(232,192,109,.22), transparent);
  filter: blur(10px);
  mix-blend-mode: screen;
}

body.is-entering-gallery { cursor: progress; }
body.is-entering-gallery .portal-transition { opacity: 1; }
body.is-entering-gallery .portal-backdrop { animation: portalBackdrop 1.16s cubic-bezier(.16,.84,.24,1) both; }
body.is-entering-gallery .portal-frame { animation: portalFrame 1.16s cubic-bezier(.16,.84,.24,1) both; }
body.is-entering-gallery .portal-slit { animation: portalSlit 1.16s cubic-bezier(.16,.84,.24,1) both; }
body.is-entering-gallery .portal-grid { animation: portalGrid 1.16s cubic-bezier(.16,.84,.24,1) both; }
body.is-entering-gallery .portal-scan { animation: portalScan 1.16s cubic-bezier(.16,.84,.24,1) both; }
body.is-entering-gallery .hero-video-card { animation: portalVideoPulse .52s cubic-bezier(.16,.84,.24,1) both; }

@keyframes portalBackdrop {
  0% { background: rgba(5,10,18,0); backdrop-filter: blur(0px) saturate(100%); -webkit-backdrop-filter: blur(0px) saturate(100%); }
  42% { background: rgba(6,11,18,.20); backdrop-filter: blur(3px) saturate(112%); -webkit-backdrop-filter: blur(3px) saturate(112%); }
  100% { background: rgba(6,11,18,.30); backdrop-filter: blur(5px) saturate(118%); -webkit-backdrop-filter: blur(5px) saturate(118%); }
}

@keyframes portalFrame {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.46, .82); filter: blur(2px); }
  24% { opacity: .82; transform: translate(-50%, -50%) scale(.72, .96); filter: blur(0px); }
  62% { opacity: .70; transform: translate(-50%, -50%) scale(1.10, 1.04); }
  100% { opacity: .16; transform: translate(-50%, -50%) scale(1.56, 1.12); filter: blur(1px); }
}

@keyframes portalSlit {
  0% { opacity: 0; width: 1px; transform: translate(-50%, -50%) scaleY(.10); }
  18% { opacity: 1; width: 2px; transform: translate(-50%, -50%) scaleY(.96); }
  52% { opacity: .95; width: min(18vw, 260px); transform: translate(-50%, -50%) scaleY(1.04); }
  100% { opacity: .0; width: 118vw; transform: translate(-50%, -50%) scaleY(1.15); }
}

@keyframes portalGrid {
  0% { opacity: 0; transform: scale(.98); }
  36% { opacity: .42; transform: scale(1); }
  100% { opacity: .10; transform: scale(1.04); }
}

@keyframes portalScan {
  0% { opacity: 0; transform: rotate(-8deg) translateX(0); }
  20% { opacity: .9; }
  78% { opacity: .42; transform: rotate(-8deg) translateX(158vw); }
  100% { opacity: 0; transform: rotate(-8deg) translateX(190vw); }
}

@keyframes portalVideoPulse {
  0% { filter: brightness(1); }
  55% { filter: brightness(1.14) saturate(1.08); box-shadow: var(--shadow), 0 0 52px rgba(232,192,109,.20); }
  100% { filter: brightness(.92) saturate(.98); }
}

.page-shell {
  position: relative;
  z-index: 6;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  margin: 18px 0 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 12, 20, 0.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(232, 192, 109, .24);
  box-shadow: 0 12px 34px rgba(232,192,109,.12);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-copy strong {
  font-size: 15px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.034);
}

.site-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255,255,255,.085);
  outline: none;
}

.site-nav .nav-cta {
  color: #1d1608;
  background: linear-gradient(135deg, #f0cc7a, #c89932);
  box-shadow: 0 10px 28px rgba(232,192,109,.20);
}

.hero {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
  padding: 24px 0 72px;
}

.museum-gate { position: relative; }

.museum-gate::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 7%;
  width: 38%;
  height: 74%;
  border: 1px solid rgba(232, 192, 109, 0.16);
  border-radius: 42px;
  transform: perspective(900px) rotateY(-10deg);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 0 90px rgba(143, 217, 255, .07);
  pointer-events: none;
  opacity: .72;
}

.museum-gate::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 20%;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,192,109,.36), transparent);
  transform: rotate(-18deg);
  pointer-events: none;
  opacity: .6;
}

.eyebrow,
.section-kicker,
.room-status,
.guide-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(232, 192, 109, 0.10);
  border: 1px solid rgba(232, 192, 109, 0.22);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 24px 0 20px;
  font-size: clamp(39px, 5.4vw, 66px);
  line-height: 1.125;
  letter-spacing: -0.004em;
  font-weight: 700;
  text-wrap: balance;
}

.hero-lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.82;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #1d1608;
  background: linear-gradient(135deg, #f4d485 0%, #c99b39 100%);
  border-color: rgba(232,192,109,.36);
  box-shadow: 0 18px 46px rgba(232, 192, 109, .20);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,.052);
}

.btn-secondary:hover { background: rgba(255,255,255,.09); }

.btn::after,
.room-link::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: scale(.96);
  border: 1px solid rgba(255, 244, 212, .34);
  transition: opacity .25s ease, transform .25s ease;
}

.btn:active::after,
.room-link:active::after {
  opacity: .85;
  transform: scale(1.08);
}


.experience-note {
  margin-top: 22px;
  width: min(620px, 100%);
  padding: 15px 18px;
  border-radius: 18px;
  color: var(--muted);
  line-height: 1.7;
  background: rgba(255,255,255,.034);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-visual { position: relative; }

.hero-video-card {
  position: relative;
  display: block;
  padding: 18px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
    rgba(14,20,32,.68);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232,192,109,.08);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 50%;
  --liquid-x: 50%;
  --liquid-y: 50%;
  transform: perspective(1100px) rotateY(calc(-2.2deg + var(--tilt-y))) rotateX(calc(0.7deg + var(--tilt-x)));
  transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}

.hero-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(232,192,109,.075), transparent 20%),
    linear-gradient(115deg, transparent 24%, rgba(255,255,255,.045) 46%, transparent 61%);
  transform: translateX(-135%);
  transition: transform .82s cubic-bezier(.2,.8,.2,1);
}

.hero-video-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 5;
  pointer-events: none;
  border-radius: 24px;
  opacity: 0;
  background:
    radial-gradient(circle at var(--liquid-x) var(--liquid-y), rgba(255, 250, 228, .18) 0 5%, rgba(232,192,109,.14) 7%, rgba(143,217,255,.095) 14%, transparent 24%),
    radial-gradient(circle at var(--liquid-x) var(--liquid-y), transparent 0 9%, rgba(255,255,255,.18) 10%, transparent 18%);
  mix-blend-mode: screen;
  filter: blur(.2px) saturate(112%);
  transition: opacity .28s ease;
}

.hero-video-card.is-liquid-surface::after,
.hero-video-card:hover::after,
.hero-video-card:focus-visible::after {
  opacity: .82;
}

.hero-video-card:hover,
.hero-video-card:focus-visible {
  transform: perspective(1100px) rotateY(var(--tilt-y)) rotateX(var(--tilt-x)) translateY(-2px) scale(1.006);
  border-color: rgba(232,192,109,.30);
  box-shadow: var(--shadow), 0 0 44px rgba(232,192,109,.075), 0 0 68px rgba(143,217,255,.055);
  outline: none;
}

.hero-video-card:hover::before,
.hero-video-card:focus-visible::before {
  transform: translateX(130%);
}

.gate-frame {
  position: absolute;
  inset: 12px;
  z-index: 2;
  border-radius: 26px;
  border: 1px solid rgba(232,192,109,.26);
  pointer-events: none;
  box-shadow: inset 0 0 42px rgba(143,217,255,.07);
}

.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 292px;
  border-radius: 24px;
  object-fit: cover;
  background: #101620;
  border: 1px solid rgba(255,255,255,.10);
}

.video-fallback {
  position: absolute;
  inset: 18px;
  display: none;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(143,217,255,.15), transparent 32%),
    linear-gradient(135deg, #111827, #0b1018);
  color: var(--muted);
  font-weight: 800;
}

.hero-video-card.is-video-missing .hero-video { opacity: 0; }
.hero-video-card.is-video-missing .video-fallback { display: grid; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 44px;
}

.feature-card {
  min-height: 196px;
  padding: 23px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.034);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(232,192,109,.24);
  background: rgba(255,255,255,.055);
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(232,192,109,.10);
  border: 1px solid rgba(232,192,109,.18);
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: -0.006em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.visit-panel,
.site-footer {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,18,30,.48);
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}

.visit-panel {
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(280px, 1.03fr) minmax(320px, 1.15fr);
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  margin: 0 0 48px;
  scroll-margin-top: 110px;
}

.visit-copy {
  padding: 8px 6px;
}

.visit-copy h2,
.guide-heading h3 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.13;
  letter-spacing: -0.014em;
}

.visit-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.room-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(232,192,109,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border: 1px solid rgba(232,192,109,.22);
  transition: transform .22s ease, border-color .22s ease;
}

.room-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232,192,109,.36);
}

.room-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  pointer-events: none;
}

.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 22%, rgba(255,244,212,.10) 45%, transparent 66%);
  transform: translateX(-120%);
  transition: opacity .3s ease, transform .82s cubic-bezier(.2,.8,.2,1);
}

.room-card:hover::after,
.room-card:focus-within::after {
  opacity: 1;
  transform: translateX(120%);
}

.room-card small {
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.room-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.room-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 600px;
}

.room-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  color: #1d1608;
  font-weight: 800;
  background: linear-gradient(135deg, #f4d485, #c99b39);
  transition: transform .2s ease, box-shadow .2s ease;
}

.room-link:hover,
.room-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(232,192,109,.16);
  outline: none;
}

.guide-compact {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.032);
  border: 1px solid rgba(255,255,255,.08);
}

.guide-heading h3 {
  font-size: clamp(24px, 2.6vw, 36px);
}

.guide-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.034);
  border: 1px solid rgba(255,255,255,.075);
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease;
}

.guide-item:hover {
  background: rgba(255,255,255,.052);
  border-color: rgba(232,192,109,.18);
}

kbd {
  min-width: 32px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 9px;
  color: var(--text);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  padding: 24px 28px;
  border-radius: 28px 28px 0 0;
  margin-bottom: 0;
}

.site-footer strong { display: block; margin-bottom: 8px; }
.site-footer p { margin: 0; color: var(--muted); line-height: 1.65; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* INTRO V6.3.2 — CINEMATIC GATE + CONTEXTUAL LIQUID */
body.is-entering-gallery { cursor: progress; }

.hero-content,
.visit-panel,
.feature-grid {
  isolation: isolate;
}

.hero h1 strong { font-weight: inherit; }

.room-card:hover::before,
.room-card:focus-within::before {
  border-color: rgba(232,192,109,.16);
}

@media (max-width: 820px), (pointer: coarse) {
  #liquidCursorCanvas { display: none !important; }
}


/* INTRO V6.3 — LIQUID GATE INTERACTION */
.site-nav a.is-active:not(.nav-cta) {
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(232,192,109,.12);
}

.hero-video-card.is-magnetic {
  will-change: transform;
}

.room-card,
.feature-card,
.guide-item,
.btn {
  will-change: transform;
}

.room-card:hover .room-link,
.room-card:focus-within .room-link {
  box-shadow: 0 14px 36px rgba(232,192,109,.18);
}

.guide-item:hover kbd {
  color: #251b09;
  background: linear-gradient(135deg, rgba(244,212,133,.96), rgba(200,155,57,.92));
  border-color: rgba(232,192,109,.34);
  box-shadow: 0 8px 24px rgba(232,192,109,.12);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(2) { transition-delay: .05s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .1s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  #liquidCursorCanvas { display: none !important; }
}

@media (max-width: 1160px) {
  .visit-panel {
    grid-template-columns: 1fr 1fr;
  }

  .visit-copy { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .museum-gate::before,
  .museum-gate::after { display: none; }
  .hero-video-card { transform: none !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 1180px); }

  .site-header {
    position: relative;
    top: auto;
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .brand-copy small { white-space: normal; }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 1 0 auto;
    text-align: center;
    padding-inline: 12px;
  }

  .hero { padding-bottom: 44px; }
  .hero h1 { font-size: clamp(39px, 11vw, 58px); }
  .hero-actions .btn { width: 100%; }
  .hero-video-card { padding: 12px; border-radius: 24px; }
  .hero-video { min-height: 220px; border-radius: 18px; }
  .gate-frame { inset: 8px; border-radius: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .visit-panel { grid-template-columns: 1fr; }
  .guide-item { align-items: flex-start; flex-wrap: wrap; }
}


@media (prefers-reduced-motion: reduce) {
  .gate-transition,
  .gate-panel,
  .gate-light,
  .gate-line,
  .gate-dim,
  .hero-video-card,
  .room-card,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}


/* INTRO V6.3.4 — HERO PORTAL PREVIEW + CONTEXTUAL LENS */
.hero-video-card {
  --portal-depth: rgba(9, 15, 25, .58);
  border-color: rgba(232,192,109,.18);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(232,192,109,.10),
    inset 0 0 42px rgba(143,217,255,.035);
}

.hero-video-card::before {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,250,232,.10), transparent 17%),
    linear-gradient(115deg, transparent 22%, rgba(255,255,255,.040) 44%, transparent 60%);
}

.hero-video-card::after {
  inset: 18px;
  border-radius: 24px;
  opacity: 0;
  background:
    radial-gradient(circle at var(--liquid-x) var(--liquid-y), rgba(255,250,232,.20) 0 3%, rgba(232,192,109,.12) 7%, rgba(143,217,255,.065) 14%, transparent 22%),
    radial-gradient(circle at var(--liquid-x) var(--liquid-y), transparent 0 8%, rgba(255,255,255,.12) 9%, transparent 17%),
    linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px;
  mix-blend-mode: screen;
  filter: blur(.15px) saturate(106%);
}

.hero-video-card.is-liquid-surface::after,
.hero-video-card:hover::after,
.hero-video-card:focus-visible::after {
  opacity: .46;
}

.hero-video-card:hover,
.hero-video-card:focus-visible {
  border-color: rgba(232,192,109,.34);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(232,192,109,.18),
    0 0 46px rgba(232,192,109,.080),
    inset 0 0 54px rgba(143,217,255,.045);
}

.gate-frame {
  border-color: rgba(232,192,109,.30);
  box-shadow:
    inset 0 0 42px rgba(143,217,255,.07),
    inset 0 0 0 1px rgba(255,255,255,.05);
}

.btn.is-click-pulsing,
.room-link.is-click-pulsing,
.nav-cta.is-click-pulsing,
.hero-video-card.is-click-pulsing {
  animation: ctaPortalPulse .22s ease both;
}

@keyframes ctaPortalPulse {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-1px) scale(.985); }
}

@media (max-width: 820px), (pointer: coarse) {
  #premiumCursor { display: none !important; }
  body.has-premium-cursor,
  body.has-premium-cursor a,
  body.has-premium-cursor button { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-transition,
  .portal-transition *,
  #premiumCursor,
  .hero-video-card::after {
    animation: none !important;
    transition: none !important;
  }
}


/* INTRO V6.3.5 — CURSOR TRAIL + INTRO VIDEO MODAL + SLOWER PORTAL */
.intro-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.intro-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-video-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(232,192,109,.08), transparent 38%),
    linear-gradient(180deg, rgba(2,5,10,.88), rgba(2,5,10,.92));
  backdrop-filter: blur(12px) saturate(108%);
  -webkit-backdrop-filter: blur(12px) saturate(108%);
}

.intro-video-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 92vw);
  max-height: min(86vh, 820px);
  overflow: visible;
  border-radius: 30px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.038)),
    rgba(8, 13, 23, .94);
  border: 1px solid rgba(232,192,109,.22);
  box-shadow: 0 38px 125px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.055) inset;
  transform: translateY(14px) scale(.985);
  transition: transform .30s cubic-bezier(.16,.84,.24,1), opacity .30s ease;
}

.intro-video-modal.is-open .intro-video-dialog {
  transform: translateY(0) scale(1);
}

.intro-video-close {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.065);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.intro-video-close:hover,
.intro-video-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(232,192,109,.42);
  background: rgba(232,192,109,.12);
  outline: none;
}


.intro-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  border-radius: 22px;
  object-fit: contain;
  background: #05080e;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}


body.is-video-modal-open {
  overflow: hidden;
}

.hero-video-card[data-intro-video-open] { cursor: pointer; }

body.is-entering-gallery .portal-backdrop,
body.is-entering-gallery .portal-frame,
body.is-entering-gallery .portal-slit,
body.is-entering-gallery .portal-grid,
body.is-entering-gallery .portal-scan {
  animation-duration: 1.16s;
}


/* INTRO V6.3.6 — CLEAN VIDEO MODAL + STABLE CURSOR */
body.is-video-modal-open,
body.is-video-modal-open * {
  cursor: auto !important;
}

body.is-video-modal-open #premiumCursor,
body.is-video-modal-open #premiumCursorTrail {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.is-video-modal-open .intro-video-modal {
  cursor: auto !important;
}

@media (max-width: 760px) {
  .intro-video-modal { padding: 14px; }
  .intro-video-dialog { border-radius: 22px; padding: 16px; }
  .intro-video-player { border-radius: 16px; }
}

@media (max-width: 820px), (pointer: coarse) {
  #premiumCursorTrail { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  #premiumCursorTrail,
  .intro-video-modal,
  .intro-video-dialog {
    animation: none !important;
    transition: none !important;
  }
}

/* INTRO V6.4 — MOBILE PORTRAIT FIT */
html,
body {
  min-height: 100svh;
}

@supports (min-height: 100dvh) {
  body { min-height: 100dvh; }
}

@media (pointer: coarse), (max-width: 760px) {
  body.has-premium-cursor,
  body.has-premium-cursor a,
  body.has-premium-cursor button {
    cursor: auto;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .site-header {
    margin-top: max(12px, env(safe-area-inset-top));
    padding: 12px;
    gap: 14px;
  }

  .brand-logo-wrap {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 11px; line-height: 1.35; }

  .site-nav {
    gap: 6px;
    padding: 3px;
    border-radius: 18px;
  }

  .site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav .nav-cta {
    min-width: 116px;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 10px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.13;
    margin-top: 18px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.72;
  }

  .btn,
  .room-link {
    min-height: 46px;
    align-items: center;
    justify-content: center;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .experience-note {
    font-size: 13px;
    line-height: 1.6;
  }

  .feature-card {
    min-height: auto;
    padding: 20px;
  }

  .visit-panel {
    padding: 20px;
    border-radius: 26px;
  }

  .room-card,
  .guide-compact {
    border-radius: 24px;
    padding: 20px;
  }

  .guide-list {
    gap: 8px;
  }

  .guide-item {
    min-height: 44px;
    font-size: 13px;
  }

  .site-footer {
    margin-bottom: env(safe-area-inset-bottom);
  }

  .intro-video-modal {
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .intro-video-dialog {
    width: min(92vw, 720px);
    max-height: calc(100svh - 28px);
  }

  @supports (height: 100dvh) {
    .intro-video-dialog { max-height: calc(100dvh - 28px); }
  }

  .intro-video-player {
    max-height: calc(100svh - 74px);
  }

  @supports (height: 100dvh) {
    .intro-video-player { max-height: calc(100dvh - 74px); }
  }

  .intro-video-close {
    width: 44px;
    height: 44px;
    right: 12px;
    top: 12px;
  }
}

/* HOTFIX V6.4.2 — mobile video preview resilience */
.hero-video-card.is-video-loading .video-fallback {
  display: grid;
  opacity: .55;
  background: rgba(5, 9, 16, .42);
}

.hero-video-card:not(.is-video-missing) .hero-video {
  opacity: 1;
}

@media (pointer: coarse), (max-width: 760px) {
  .hero-video-card {
    min-height: 0;
  }

  .hero-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    object-fit: cover;
  }

  .intro-video-modal {
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }

  .intro-video-dialog {
    width: min(96vw, 720px);
    max-height: calc(100dvh - 24px);
    padding: 12px;
  }

  .intro-video-player {
    max-height: calc(100dvh - 62px);
  }
}
