/* =========================================================
   Nikavi Labs — The City of Digital Possibilities
   ========================================================= */
:root {
  --ink: #0a0c1c;
  --ivory: #f6f1e7;
  --accent: #ff8a3d;
  --accent-2: #ffc76b;
  --cyan: #7fe7ff;
  --violet: #a58bff;
  --glass: rgba(14, 16, 38, 0.55);
  --glass-line: rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; font-family: var(--body); color: var(--ivory); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only button:focus { position: fixed; left: 16px; bottom: 16px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--ivory); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layers ---------- */
.stage, .css3d, .holo2d, .vignette, .flash { position: fixed; inset: 0; }
.stage { z-index: 0; }
.stage canvas { display: block; width: 100%; height: 100%; }
.css3d { z-index: 2; pointer-events: none; }
.css3d > div { pointer-events: none; }
.holo2d { z-index: 3; pointer-events: none; display: grid; place-items: center; padding: 70px 12px 250px; }
.vignette { z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5, 6, 18, 0.55) 100%); }
.flash { z-index: 40; pointer-events: none; background: radial-gradient(circle at 50% 55%, #fff 0%, #ffd9b0 25%, rgba(255, 138, 61, 0) 70%); opacity: 0; }
.journey { position: relative; z-index: -1; height: 1500vh; pointer-events: none; }
body.locked .journey { height: 0; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1b1a4a, #07081a 70%); transition: opacity .9s var(--ease), visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; width: min(320px, 80vw); }
.loader-mark { width: 64px; height: 64px; margin: 0 auto 22px; display: block; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(255, 138, 61, .6)); } }
.loader-text { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 241, 231, .7); }
.loader-bar { height: 2px; background: rgba(255, 255, 255, .1); margin: 18px 0 26px; border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s var(--ease); }
.loader-skip { font-size: 13px; color: rgba(246, 241, 231, .55); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nav ---------- */
.w-nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); pointer-events: none; }
.w-nav > * { pointer-events: auto; }
.w-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.w-brand svg { width: 34px; height: 34px; }
.w-brand em { color: var(--accent); font-style: italic; margin-left: 1px; }
.w-links { display: none; list-style: none; margin: 0; padding: 5px; gap: 2px; border-radius: 99px; background: rgba(10, 12, 30, .45); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.w-links a, .w-links button { display: block; padding: 8px 15px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: rgba(246, 241, 231, .85); transition: background .25s, color .25s; }
.w-links a:hover, .w-links button:hover { background: var(--ivory); color: var(--ink); }
@media (min-width: 1000px) { .w-links { display: flex; } }
.w-tools { display: flex; align-items: center; gap: 8px; }
.w-sound, .w-skip, .w-menu { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 99px; background: rgba(10, 12, 30, .45); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; font-weight: 700; transition: background .25s, border-color .25s; }
.w-sound:hover, .w-skip:hover { border-color: rgba(255, 199, 107, .6); }
.w-sound .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.w-sound .bars i { width: 2.5px; height: 4px; background: currentColor; border-radius: 2px; transition: height .3s; }
.w-sound[aria-pressed="true"] { border-color: var(--accent); }
.w-sound[aria-pressed="true"] .bars i { animation: eq 1s ease-in-out infinite; }
.w-sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; } .w-sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; } .w-sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.w-skip { display: none; }
@media (min-width: 640px) { .w-skip { display: inline-flex; } }
.w-menu { width: 40px; padding: 0; justify-content: center; flex-direction: column; gap: 5px; }
.w-menu span { width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.w-menu[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.w-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1000px) { .w-menu { display: none; } }
.w-mobile { position: fixed; z-index: 31; top: 70px; left: 12px; right: 12px; padding: 10px; border-radius: 22px; background: rgba(10, 12, 30, .9); border: 1px solid var(--glass-line); backdrop-filter: blur(16px); display: grid; }
.w-mobile a, .w-mobile button { text-align: left; padding: 14px 12px; font-family: var(--display); font-size: 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.w-mobile .w-skip-m { font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--accent-2); border: 0; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; text-align: center; padding: 90px 20px 60px; }
.portal-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-inner { position: relative; max-width: 980px; }
.intro-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(246, 241, 231, .75); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 138, 61, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0); } }
.intro-title { font-family: var(--display); font-weight: 350; font-size: clamp(42px, 8.4vw, 118px); line-height: .94; letter-spacing: -.035em; margin: 22px 0 22px; text-transform: uppercase; text-shadow: 0 10px 60px rgba(10, 12, 40, .6); }
.intro-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.intro-title .ln > span { display: inline-block; }
.intro-title em { font-style: italic; text-transform: none; background: linear-gradient(90deg, #ffd29a, #ff8a3d 40%, #ffb36b 70%, #ffe5c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-sub { font-size: clamp(16px, 1.6vw, 20px); color: rgba(246, 241, 231, .88); max-width: 600px; margin: 0 auto; line-height: 1.55; }
.intro-what { margin: 12px auto 0; font-size: 14px; color: rgba(246, 241, 231, .6); max-width: 560px; }
.intro-alt { margin-top: 26px; display: flex; gap: 12px; justify-content: center; align-items: center; font-size: 14px; color: rgba(246, 241, 231, .65); }
.intro-alt a, .intro-alt button { text-decoration: underline; text-underline-offset: 4px; }
.intro-alt a:hover, .intro-alt button:hover { color: var(--ivory); }
.intro-hint { position: absolute; bottom: 22px; left: 0; right: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 231, .45); }

/* The portal button */
.portal-btn { position: relative; margin-top: 38px; padding: 0; isolation: isolate; }
.pb-core { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 24px clamp(26px, 4vw, 46px); border-radius: 999px; font-family: var(--mono); font-size: clamp(14px, 1.6vw, 18px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: radial-gradient(120% 160% at 50% 0%, rgba(255, 199, 107, .35), rgba(255, 138, 61, .12) 45%, rgba(20, 16, 50, .6) 80%);
  border: 1px solid rgba(255, 199, 107, .55);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, .15) inset, 0 0 40px rgba(255, 138, 61, .35), 0 0 120px rgba(255, 138, 61, .15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s; }
.pb-core::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, #ffe1b0 80%, #ff8a3d 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 3.5s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --ang: 360deg; } }
.pb-bracket { color: var(--accent-2); font-size: 1.3em; transition: transform .5s var(--ease); }
.pb-arrow { transition: transform .5s var(--ease); }
.pb-ring { position: absolute; inset: -14px; border-radius: 999px; border: 1px solid rgba(255, 199, 107, .25); z-index: -1; transition: inset .6s var(--ease), opacity .6s, border-color .6s; animation: ringPulse 3s ease-in-out infinite; }
.pb-ring.r2 { inset: -30px; border-color: rgba(127, 231, 255, .12); animation-delay: -1.5s; }
@keyframes ringPulse { 50% { opacity: .35; } }
.portal-btn:hover .pb-core, .portal-btn:focus-visible .pb-core { transform: scale(1.04); background: radial-gradient(120% 160% at 50% 0%, rgba(255, 220, 150, .6), rgba(255, 138, 61, .35) 45%, rgba(40, 20, 60, .6) 85%); box-shadow: 0 0 0 1px rgba(255, 199, 107, .4) inset, 0 0 70px rgba(255, 138, 61, .7), 0 0 200px rgba(255, 138, 61, .35); }
.portal-btn:hover .pb-bracket:first-child { transform: translateX(-6px); }
.portal-btn:hover .pb-bracket:last-child { transform: translateX(6px); }
.portal-btn:hover .pb-arrow { transform: translateX(6px); }
.portal-btn:hover .pb-ring { inset: -22px; border-color: rgba(255, 199, 107, .6); }
.portal-btn:hover .pb-ring.r2 { inset: -46px; border-color: rgba(127, 231, 255, .35); }
.portal-btn.firing .pb-core { transform: scale(.9); }

/* ---------- HUD ---------- */
.hud { position: fixed; z-index: 15; left: 50%; bottom: 18px; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .6s; }
.hud.on { opacity: 1; pointer-events: auto; }
.hud-track { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; border-radius: 99px; background: rgba(10, 12, 30, .5); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hud-track li { position: relative; cursor: pointer; padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; color: rgba(246, 241, 231, .55); transition: color .3s, background .3s; white-space: nowrap; }
.hud-track li:hover { color: var(--ivory); }
.hud-track li.active { background: var(--ivory); color: var(--ink); }
.hud-progress { height: 2px; margin: 8px 24px 0; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.hud-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
@media (max-width: 860px) {
  .hud { bottom: 12px; width: calc(100% - 24px); }
  .hud-track { justify-content: space-between; }
  .hud-track li { padding: 8px; font-size: 0; width: 34px; height: 34px; }
  .hud-track li::before { content: attr(data-n); font-size: 12px; position: absolute; inset: 0; display: grid; place-items: center; }
}
.scroll-hint { position: fixed; z-index: 14; left: 50%; bottom: 92px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 241, 231, .8); opacity: 0; transition: opacity .6s; pointer-events: none; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.scroll-hint.on { opacity: 1; }
.scroll-hint .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(246, 241, 231, .7); border-radius: 12px; position: relative; }
.scroll-hint .mouse i { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ivory); animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Chapter titles ---------- */
.titles { position: fixed; z-index: 12; inset: 0; pointer-events: none; display: grid; place-items: center; }
.ch-title { position: absolute; text-align: center; padding: 0 20px; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); text-shadow: 0 6px 40px rgba(5, 6, 20, .7); }
.ch-title.on { opacity: 1; transform: none; }
.ch-title p { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-2); }
.ch-title h2 { font-family: var(--display); font-weight: 350; font-size: clamp(40px, 7vw, 96px); letter-spacing: -.035em; line-height: 1; margin: 10px 0 12px; }
.ch-title span { font-size: clamp(15px, 1.6vw, 19px); color: rgba(246, 241, 231, .85); }

/* ---------- Chapter cards ---------- */
.cards { position: fixed; z-index: 13; inset: 0; pointer-events: none; }
.ch-card { position: absolute; left: clamp(14px, 3vw, 36px); bottom: 86px; width: min(380px, calc(100% - 28px)); padding: 22px 22px 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.ch-card.on { opacity: 1; transform: none; pointer-events: auto; }
.cc-k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.ch-card h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.15; margin: 10px 0 8px; }
.ch-card p:not(.cc-k) { font-size: 14px; line-height: 1.55; color: rgba(246, 241, 231, .75); }
.cc-cta { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 99px; background: linear-gradient(135deg, var(--accent), #ff6a3d); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(255, 106, 61, .8); transition: transform .3s var(--ease), box-shadow .3s; }
.cc-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 106, 61, .9); }
@media (max-width: 860px) {
  .ch-card { left: 12px; right: 12px; width: auto; bottom: 64px; padding: 16px; }
  .ch-card h3 { font-size: 18px; }
  .ch-card p:not(.cc-k) { display: none; }
  .cc-cta { margin-top: 10px; padding: 10px 14px; font-size: 13px; }
}

/* ---------- Hologram website panels ---------- */
.panel-bank { position: fixed; left: -99999px; top: 0; }
.holo { width: 1200px; border-radius: 22px; overflow: hidden; color: #1a1a1a; background: #fff; pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 60px rgba(127, 231, 255, .35), 0 0 160px rgba(255, 138, 61, .25), 0 60px 120px -40px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; font-family: var(--body); position: relative; }
.holo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(127, 231, 255, .06) 0 1px, transparent 1px 4px); mix-blend-mode: overlay; opacity: var(--scan, 0); transition: opacity .6s; }
.holo.is-on { visibility: visible; }
.holo-chrome { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: #f1ede6; border-bottom: 1px solid rgba(0, 0, 0, .08); font-family: var(--mono); font-size: 13px; color: #6b6457; }
.holo-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #e7836b; } .holo-chrome i:nth-child(2) { background: #e9bd5c; } .holo-chrome i:nth-child(3) { background: #8dc07a; }
.holo-chrome span { margin: 0 auto; background: #fff; padding: 5px 18px; border-radius: 8px; }
.holo-chrome b { font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: #16140f; color: #f6f1e7; padding: 4px 9px; border-radius: 6px; }
.holo-foot { display: flex; align-items: center; gap: 18px; padding: 16px 22px; background: #16140f; color: #f6f1e7; font-size: 15px; }
.holo-foot span { margin-right: auto; color: rgba(246, 241, 231, .75); }
.holo-foot a { font-weight: 700; color: var(--accent-2); }
.holo-foot button { padding: 12px 20px; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; transition: background .25s; }
.holo-foot button:hover { background: #ff6a3d; }
.site { height: 600px; position: relative; overflow: hidden; }

/* Restaurant site */
.site-resto { background: radial-gradient(800px 400px at 85% 10%, rgba(240, 160, 75, .2), transparent 60%), #1c0f0d; color: #f5e6d3; }
.site-resto header { display: flex; align-items: center; gap: 30px; padding: 26px 40px; }
.site-resto header strong { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 30px; margin-right: auto; }
.site-resto header em { color: #f0a04b; }
.site-resto nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; opacity: .8; }
.r-btn { padding: 12px 22px; border-radius: 99px; background: #b83a26; font-weight: 800; font-size: 15px; }
.r-main { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 20px 40px; }
.r-k { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #f0a04b; }
.r-hero h3 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 84px; line-height: .92; margin: 14px 0 18px; }
.r-hero h3 em { color: #f0a04b; }
.r-hero > p:not(.r-k) { font-size: 17px; line-height: 1.6; color: rgba(245, 230, 211, .75); max-width: 440px; }
.r-hours { display: flex; gap: 26px; margin-top: 30px; font-size: 13px; color: rgba(245, 230, 211, .6); }
.r-hours b { display: block; color: #f5e6d3; font-size: 15px; }
.r-menu { background: #f5e6d3; color: #1c0f0d; border-radius: 20px; padding: 24px; align-self: start; }
.r-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.r-tabs button { padding: 9px 16px; border-radius: 99px; border: 1.5px solid #d9c3a5; font-weight: 700; font-size: 14px; }
.r-tabs button[aria-selected="true"] { background: #1c0f0d; color: #f5e6d3; border-color: #1c0f0d; }
.r-menu ul { list-style: none; padding: 0; margin: 0; }
.r-menu li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed #d9c3a5; }
.r-menu li i { width: 14px; height: 14px; border: 1.5px solid #a62c1e; border-radius: 3px; position: relative; flex: none; }
.r-menu li i::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: #a62c1e; }
.r-menu li i.v { border-color: #2c8a3f; } .r-menu li i.v::after { background: #2c8a3f; }
.r-menu li b { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 21px; margin-right: auto; }
.r-menu li span { font-weight: 800; }
.r-reserve { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 14px; background: #fff; font-weight: 700; font-size: 14px; }
.r-reserve button { padding: 11px 20px; border-radius: 10px; background: #f0a04b; font-weight: 800; }

/* Hotel site */
.site-hotel { background: linear-gradient(180deg, rgba(18, 34, 25, .1), rgba(18, 34, 25, .92) 75%), radial-gradient(700px 360px at 75% 20%, rgba(201, 164, 92, .45), transparent 60%), linear-gradient(150deg, #2c4a3b, #0d1912); color: #f1ead9; }
.site-hotel header { display: flex; align-items: center; gap: 30px; padding: 26px 40px; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.site-hotel header strong { font-size: 17px; letter-spacing: .4em; margin-right: auto; }
.site-hotel header strong small { display: block; font-size: 9px; font-weight: 400; opacity: .7; letter-spacing: .5em; }
.site-hotel nav { display: flex; gap: 26px; opacity: .8; }
.site-hotel header a { border: 1px solid #c9a45c; color: #c9a45c; padding: 10px 20px; }
.h-hero { padding: 30px 40px 0; }
.h-hero h3 { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 82px; line-height: .95; max-width: 720px; }
.h-hero h3 em { color: #d8b56c; }
.h-book { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1px; margin-top: 28px; max-width: 860px; background: rgba(241, 234, 217, .2); border: 1px solid rgba(241, 234, 217, .25); backdrop-filter: blur(6px); }
.h-book label { padding: 12px 18px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(241, 234, 217, .6); background: rgba(18, 34, 25, .55); }
.h-book label span { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: #f1ead9; }
.h-book button { background: #c9a45c; color: #122219; padding: 0 26px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.h-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px 40px 0; }
.h-room { background: rgba(241, 234, 217, .08); border: 1px solid rgba(241, 234, 217, .14); padding: 12px; display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; transition: transform .4s var(--ease), background .3s; }
.h-room:hover { transform: translateY(-4px); background: rgba(241, 234, 217, .16); }
.h-img { grid-row: 1 / 4; border-radius: 4px; background: linear-gradient(140deg, #6c5434, #2b2215); }
.r2 .h-img { background: linear-gradient(140deg, #3d6b5b, #16271e); } .r3 .h-img { background: linear-gradient(140deg, #8b7b5e, #3b3224); }
.h-room b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 22px; }
.h-room span { font-size: 12px; opacity: .7; } .h-room em { font-style: normal; color: #d8b56c; font-weight: 700; font-size: 14px; }
.h-direct { padding: 20px 40px; font-size: 13px; letter-spacing: .06em; color: rgba(241, 234, 217, .7); }

/* Health site */
.site-health { background: linear-gradient(180deg, #eaf2ff, #fff 60%); color: #20314a; font-family: "Plus Jakarta Sans", sans-serif; }
.c-top { display: flex; justify-content: space-between; padding: 9px 40px; background: #0b2545; color: #fff; font-size: 13px; }
.c-top .em { color: #ffb4a8; font-weight: 700; }
.site-health header { display: flex; align-items: center; gap: 28px; padding: 20px 40px; }
.site-health header strong { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; color: #0b2545; margin-right: auto; }
.site-health header strong i { width: 34px; height: 34px; border-radius: 10px; background: #0e5fd8; position: relative; }
.site-health header strong i::before, .site-health header strong i::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 2px; }
.site-health header strong i::before { width: 16px; height: 5px; } .site-health header strong i::after { width: 5px; height: 16px; }
.site-health nav { display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
.site-health header a { padding: 12px 20px; border-radius: 12px; background: #0e5fd8; color: #fff; font-weight: 700; font-size: 15px; }
.c-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; padding: 10px 40px; }
.c-hero h3 { font-size: 54px; line-height: 1.05; letter-spacing: -.03em; color: #0b2545; font-weight: 800; }
.c-hero h3 span { color: #0e5fd8; }
.c-search { margin: 24px 0 18px; padding: 16px 20px; border-radius: 14px; border: 1.5px solid #d4e1f5; background: #fff; color: #8aa0bf; font-size: 16px; }
.c-depts { display: flex; flex-wrap: wrap; gap: 8px; }
.c-depts span { padding: 9px 14px; border-radius: 12px; background: #eaf2ff; color: #0b2545; font-weight: 700; font-size: 14px; }
.c-docs { display: grid; gap: 12px; align-content: start; }
.c-doc { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e3ecf9; box-shadow: 0 16px 30px -24px rgba(11, 37, 69, .5); }
.c-doc i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #0e5fd8; color: #fff; font-style: normal; font-weight: 800; }
.c-doc b { display: block; color: #0b2545; } .c-doc span { font-size: 13px; color: #16a37f; font-weight: 700; }
.c-slots { padding: 16px; border-radius: 16px; background: #0b2545; color: #fff; display: flex; flex-wrap: wrap; gap: 8px; }
.c-slots p { width: 100%; font-size: 13px; opacity: .7; margin-bottom: 2px; }
.c-slots button { padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: 14px; transition: background .2s; }
.c-slots button[aria-pressed="true"] { background: #16a37f; }
.c-slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.c-slots .c-confirm { width: 100%; background: #0e5fd8; padding: 12px; }

/* Jewellery site */
.site-jewel { background: #fffdf8; color: #2a2418; font-family: var(--body); }
.site-jewel header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 40px; border-bottom: 1px solid #efe5cf; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.site-jewel nav { display: flex; gap: 22px; }
.site-jewel header strong { font-family: "Bodoni Moda", serif; font-weight: 400; font-size: 30px; letter-spacing: .32em; color: #a8853e; }
.j-bag { justify-self: end; font-weight: 700; }
.j-bag b { color: #a8853e; }
.j-hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; padding: 26px 40px 10px; background: linear-gradient(90deg, #fbf3e2, #fffdf8); }
.j-hero p { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #a8853e; }
.j-hero h3 { font-family: "Bodoni Moda", serif; font-weight: 400; font-size: 56px; line-height: 1.02; margin: 12px 0 18px; }
.j-hero h3 em { color: #a8853e; }
.j-hero a { display: inline-block; padding: 13px 24px; background: #2a2418; color: #fffdf8; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.j-ring { width: 170px; height: 170px; justify-self: center; border-radius: 50%; border: 12px solid #d4af61; box-shadow: 0 0 50px rgba(212, 175, 97, .45), inset 0 0 20px rgba(255, 230, 170, .6); position: relative; animation: jspin 8s linear infinite; }
.j-ring span { position: absolute; top: -40px; left: 50%; width: 44px; height: 44px; transform: translateX(-50%) rotate(45deg); background: conic-gradient(#fff, #cfe8ff, #fff, #e8f4ff, #fff); border-radius: 5px; box-shadow: 0 0 30px #fff; }
@keyframes jspin { 0% { transform: rotateY(0) rotateZ(-8deg); } 100% { transform: rotateY(360deg) rotateZ(-8deg); } }
.j-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 40px; }
.j-p { border: 1px solid #efe5cf; padding: 12px; background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.j-p:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -24px rgba(168, 133, 62, .6); }
.j-img { height: 96px; display: grid; place-items: center; background: radial-gradient(circle, #fbf3e2, #f2e6cb); margin-bottom: 10px; }
.g { display: block; border: 5px solid #d4af61; box-shadow: 0 0 16px rgba(212, 175, 97, .5); }
.g.neck { width: 70px; height: 38px; border-top: 0; border-radius: 0 0 40px 40px; } .g.ring { width: 46px; height: 46px; border-radius: 50%; } .g.ear { width: 22px; height: 36px; border-radius: 50% / 35% 35% 65% 65%; } .g.bang { width: 60px; height: 60px; border-radius: 50%; border-width: 7px; }
.j-p b { display: block; font-family: "Bodoni Moda", serif; font-weight: 400; font-size: 18px; } .j-p small { color: #8a7a5a; font-size: 12px; letter-spacing: .08em; }
.j-p button { display: block; width: 100%; margin-top: 10px; padding: 9px; border: 1px solid #a8853e; color: #a8853e; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; transition: background .2s, color .2s; }
.j-p button:hover, .j-p button.added { background: #a8853e; color: #fff; }

/* Local site */
.site-local { background: linear-gradient(160deg, #1a1d3a, #0e1025); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px; }
.l-tile { border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.l-tile:hover { transform: translateY(-4px) scale(1.01); }
.l-bar { font-family: var(--mono); font-size: 12px; color: #6b6457; background: #f1ede6; padding: 8px 14px; }
.l-body { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.l-body b { font-size: 30px; letter-spacing: -.02em; }
.l-body p { font-size: 15px; opacity: .75; }
.l-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.l-chips span { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgba(0, 0, 0, .06); }
.l-body a { margin-top: auto; align-self: flex-start; padding: 10px 18px; border-radius: 99px; color: #fff; font-weight: 800; font-size: 14px; }
.l-grocery .l-body { background: #fffaf0; } .l-grocery b { font-family: "Bricolage Grotesque", var(--body); color: #1f5c3a; } .l-grocery a { background: #1f5c3a; } .l-grocery .l-chips span { background: #d6e86a; }
.l-salon .l-body { background: #f4e4de; } .l-salon b { font-family: "Fraunces", serif; font-weight: 400; color: #2e2724; } .l-salon a { background: #c97b6c; }
.l-cloth .l-body { background: #2a1f3d; color: #f3e8ff; } .l-cloth b { font-family: "Fraunces", serif; font-style: italic; font-weight: 400; } .l-cloth a { background: #b07cff; } .l-cloth .l-chips span { background: rgba(255, 255, 255, .12); }
.l-elec .l-body { background: #0f1b2d; color: #e6f2ff; } .l-elec b { font-family: var(--mono); color: #57c8ff; font-size: 26px; } .l-elec a { background: #1f8fff; } .l-elec .l-chips span { background: rgba(87, 200, 255, .15); }

/* 2D (mobile) hologram mode */
.holo2d .holo-scaler { transform-origin: 50% 50%; }
.holo2d .holo { transition: none; }

/* ---------- Finale ---------- */
.finale { position: fixed; z-index: 16; left: 50%; top: 50%; transform: translate(-50%, -42%); width: min(980px, calc(100% - 32px)); text-align: center; opacity: 0; pointer-events: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.finale.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.fin-k { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-2); }
.finale h2 { font-family: var(--display); font-weight: 350; font-size: clamp(36px, 6vw, 82px); line-height: .98; letter-spacing: -.035em; margin: 16px 0 16px; text-transform: uppercase; text-shadow: 0 10px 50px rgba(5, 6, 20, .8); }
.finale h2 em { font-style: italic; text-transform: none; color: var(--accent-2); }
.fin-sub { font-size: clamp(16px, 1.6vw, 20px); color: rgba(246, 241, 231, .88); max-width: 620px; margin: 0 auto; text-shadow: 0 4px 20px rgba(5, 6, 20, .8); }
.fin-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.fin-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 26px; border-radius: 99px; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; background: rgba(10, 12, 30, .5); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.fin-btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .12); }
.fin-btn.primary { background: linear-gradient(135deg, var(--accent), #ff6a3d); border-color: transparent; color: #fff; box-shadow: 0 0 40px rgba(255, 138, 61, .5); }
.fin-btn.primary:hover { box-shadow: 0 0 70px rgba(255, 138, 61, .8); }
.fin-note { margin-top: 22px; font-size: 12px; color: rgba(246, 241, 231, .5); }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal-scrim { position: absolute; inset: 0; background: rgba(5, 6, 18, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 28px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(160deg, rgba(30, 28, 70, .92), rgba(12, 12, 32, .95)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 1px rgba(255, 138, 61, .1) inset, 0 0 80px rgba(127, 231, 255, .12), 0 60px 120px -40px rgba(0, 0, 0, .9); }
.modal-box::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px 200px at 20% 0%, rgba(255, 138, 61, .18), transparent 70%), radial-gradient(500px 200px at 100% 100%, rgba(127, 231, 255, .12), transparent 70%); }
.modal-x { position: absolute; right: 16px; top: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); font-size: 24px; line-height: 1; z-index: 2; }
.modal-x:hover { background: rgba(255, 255, 255, .1); }
.m-k { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-2); position: relative; }
.modal-box h2 { font-family: var(--display); font-weight: 350; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 24px; position: relative; }
.modal-box h2 em { color: var(--accent-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.plan { position: relative; padding: 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); display: flex; flex-direction: column; }
.plan.hot { border-color: rgba(255, 138, 61, .6); background: rgba(255, 138, 61, .08); }
.plan .tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 4px 8px; border-radius: 99px; }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 26px; }
.pr { font-family: var(--display); font-size: 44px; margin: 12px 0 14px; line-height: 1; }
.pr small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 231, .55); margin-bottom: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; color: rgba(246, 241, 231, .8); flex: 1; }
.plan li::before { content: "✦ "; color: var(--accent-2); }
.plan button { padding: 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); font-weight: 800; transition: background .25s; }
.plan button:hover, .plan.hot button { background: var(--accent); border-color: var(--accent); color: #fff; }
.m-note { position: relative; margin-top: 18px; font-size: 13px; color: rgba(246, 241, 231, .6); line-height: 1.6; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Form */
.form-box { width: min(860px, 100%); }
#worldForm { position: relative; }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wf { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: rgba(246, 241, 231, .8); border: 0; padding: 0; margin: 0; min-width: 0; }
.wf.full { grid-column: 1 / -1; }
.wf .opt { font-weight: 500; color: rgba(246, 241, 231, .5); }
.wf legend { padding: 0; margin-bottom: 8px; }
.wf input, .wf select, .wf textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: var(--ivory); font: inherit; font-weight: 500; font-size: 15px; transition: border-color .25s, box-shadow .25s; color-scheme: dark; }
.wf select option { color: #111; }
.wf input:focus, .wf select:focus, .wf textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(255, 138, 61, .2); }
.wf.bad input, .wf.bad select { border-color: #ff7a6b; }
.wf .err { color: #ff9c8f; font-weight: 600; font-size: 12px; }
.wf .err:empty { display: none; }
.wf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-chips label { position: relative; }
.wf-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wf-chips span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.wf-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.wf-chips input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.wf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.wf-submit { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 99px; background: linear-gradient(135deg, var(--accent), #ff6a3d); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 0 40px rgba(255, 138, 61, .45); }
.wf-submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.wf-submit.loading .spin { display: inline-block; }
.wf-submit:disabled { opacity: .85; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.wf-alt { font-size: 14px; font-weight: 700; color: var(--accent-2); text-decoration: underline; text-underline-offset: 4px; }
.wf-status { margin-top: 12px; font-weight: 600; font-size: 14px; color: #ff9c8f; }
.wf-status a { text-decoration: underline; }
.wf-success { text-align: center; padding: 30px 0 10px; }
.wf-success:focus { outline: none; }
.wf-success .ok { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: var(--accent); box-shadow: 0 0 60px rgba(255, 138, 61, .6); }
.wf-success p { color: rgba(246, 241, 231, .8); margin-bottom: 24px; }
@media (max-width: 640px) { .wf-grid { grid-template-columns: 1fr; } }

/* ---------- Toast & WhatsApp ---------- */
.w-toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translate(-50%, 140%); max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: rgba(10, 12, 30, .9); border: 1px solid rgba(255, 255, 255, .15); font-weight: 600; font-size: 14px; transition: transform .5s var(--ease); backdrop-filter: blur(10px); }
.w-toast.on { transform: translate(-50%, 0); }
.w-wa { position: fixed; z-index: 25; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.w-wa:hover { transform: scale(1.08); }
.w-wa svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .w-wa { bottom: 70px; width: 48px; height: 48px; } }

/* ---------- Fallbacks ---------- */
.nogl, .nojs { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 16px; text-align: center; padding: 24px; background: radial-gradient(circle at 50% 40%, #1b1a4a, #07081a 70%); }
.nogl h2 { font-family: var(--display); font-weight: 400; font-size: 34px; }
.nogl p { color: rgba(246, 241, 231, .75); max-width: 520px; margin: 0 auto 10px; }
.nojs a { color: var(--accent-2); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}

/* ---------- Mobile hologram layout (2D overlay mode) ---------- */
.holo-scaler { pointer-events: none; perspective: 900px; }
.holo-scaler .holo { pointer-events: auto; transform: scale(var(--fit, 1)); transform-origin: 50% 50%; }
.holo2d .holo { width: min(calc(100vw - 24px), 560px); border-radius: 16px; }
.holo2d .holo-chrome { height: 34px; font-size: 11px; padding: 0 12px; }
.holo2d .holo-chrome span { padding: 3px 10px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holo2d .holo-chrome b { font-size: 9px; }
.holo2d .holo-foot { padding: 10px 12px; gap: 10px; font-size: 13px; }
.holo2d .holo-foot span { display: none; }
.holo2d .holo-foot a { margin-right: auto; }
.holo2d .holo-foot button { padding: 10px 14px; font-size: 13px; }
.holo2d .site { height: auto; }
/* restaurant */
.holo2d .site-resto header { padding: 14px 16px; gap: 12px; }
.holo2d .site-resto header strong { font-size: 20px; }
.holo2d .site-resto nav, .holo2d .r-hero > p:not(.r-k), .holo2d .r-hours { display: none; }
.holo2d .r-btn { padding: 8px 14px; font-size: 13px; }
.holo2d .r-main { grid-template-columns: 1fr; gap: 12px; padding: 0 16px 16px; }
.holo2d .r-hero h3 { font-size: 40px; margin: 6px 0 0; }
.holo2d .r-menu { padding: 14px; }
.holo2d .r-menu li { padding: 8px 0; }
.holo2d .r-menu li b { font-size: 17px; }
.holo2d .r-reserve { margin-top: 10px; font-size: 12px; }
/* hotel */
.holo2d .site-hotel header { padding: 14px 16px; gap: 12px; font-size: 11px; }
.holo2d .site-hotel nav { display: none; }
.holo2d .site-hotel header a { padding: 7px 12px; }
.holo2d .h-hero { padding: 10px 16px 0; }
.holo2d .h-hero h3 { font-size: 40px; }
.holo2d .h-book { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.holo2d .h-book label:nth-child(3) { display: none; }
.holo2d .h-book button { grid-column: 1 / -1; padding: 12px; }
.holo2d .h-rooms { grid-template-columns: 1fr; gap: 8px; padding: 12px 16px 0; }
.holo2d .h-room:nth-child(3) { display: none; }
.holo2d .h-room { grid-template-columns: 60px 1fr; padding: 8px; }
.holo2d .h-direct { padding: 12px 16px; font-size: 11px; }
/* health */
.holo2d .c-top { padding: 6px 16px; font-size: 11px; }
.holo2d .site-health header { padding: 12px 16px; gap: 10px; }
.holo2d .site-health nav { display: none; }
.holo2d .site-health header strong { font-size: 19px; }
.holo2d .site-health header a { padding: 8px 12px; font-size: 12px; }
.holo2d .c-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 16px 16px; }
.holo2d .c-hero h3 { font-size: 28px; }
.holo2d .c-search { margin: 10px 0; padding: 10px 12px; font-size: 13px; }
.holo2d .c-depts span:nth-child(n+4) { display: none; }
.holo2d .c-doc:nth-child(2) { display: none; }
.holo2d .c-slots button:nth-of-type(n+5):not(.c-confirm) { display: none; }
/* jewel */
.holo2d .site-jewel header { padding: 12px 16px; grid-template-columns: auto 1fr; }
.holo2d .site-jewel nav { display: none; }
.holo2d .site-jewel header strong { font-size: 20px; }
.holo2d .j-hero { grid-template-columns: 1fr auto; padding: 14px 16px 6px; gap: 10px; }
.holo2d .j-hero h3 { font-size: 26px; margin: 6px 0 10px; }
.holo2d .j-hero a { padding: 9px 14px; font-size: 10px; }
.holo2d .j-ring { width: 80px; height: 80px; border-width: 7px; }
.holo2d .j-ring span { width: 24px; height: 24px; top: -22px; }
.holo2d .j-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px 14px; }
.holo2d .j-p { padding: 8px; } .holo2d .j-img { height: 54px; } .holo2d .j-p small { display: none; }
.holo2d .j-p:nth-child(n+3) { display: none; }
/* local */
.holo2d .site-local { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.holo2d .l-body { padding: 10px; gap: 4px; }
.holo2d .l-body b { font-size: 17px; }
.holo2d .l-body p { font-size: 11px; }
.holo2d .l-chips { display: none; }
.holo2d .l-body a { padding: 6px 10px; font-size: 11px; }
.holo2d .l-bar { font-size: 9px; padding: 5px 8px; }

/* cinematic: hide the page scrollbar (scroll still works) */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* finale legibility: sit below the tower emblem, on a soft dark halo */
.finale { top: 64%; }
.finale::before { content: ""; position: absolute; inset: -60px -80px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(5, 6, 22, .78), rgba(5, 6, 22, .45) 60%, transparent); pointer-events: none; }
@media (max-width: 860px) { .finale { top: 58%; } .finale h2 { font-size: clamp(30px, 8vw, 44px); } .fin-btn { padding: 13px 18px; font-size: 13px; } }
@media (max-width: 520px) {
  .pb-core { letter-spacing: .06em; padding: 18px 20px; gap: 8px; font-size: 14px; white-space: nowrap; }
  .intro-what { display: none; }
  .intro-hint { bottom: 12px; padding: 0 70px 0 16px; }
}

/* =========================================================
   LEGIBILITY LAYER — text must read on any sky, day or night
   ========================================================= */
:root { --glass: rgba(10, 12, 30, 0.8); --legible-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 12px rgba(4, 5, 18, .65), 0 10px 44px rgba(4, 5, 18, .55); }

/* Intro: a soft dark stage behind the headline so the city glows around it, not through it */
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 62% at 50% 50%, rgba(5, 6, 22, .82) 0%, rgba(5, 6, 22, .6) 45%, rgba(5, 6, 22, .15) 80%, transparent 100%),
    linear-gradient(180deg, rgba(5, 6, 22, .55) 0%, transparent 22%, transparent 78%, rgba(5, 6, 22, .6) 100%); }
.intro-title, .intro-sub, .intro-what, .intro-kicker, .intro-alt, .intro-hint { text-shadow: var(--legible-shadow); }
.intro-kicker { color: rgba(246, 241, 231, .92); }
.intro-sub { color: #fff; font-weight: 500; }
.intro-what { color: rgba(246, 241, 231, .82); }
.intro-alt { color: rgba(246, 241, 231, .85); }
.intro-hint { color: rgba(246, 241, 231, .7); }
.intro-title em { filter: drop-shadow(0 2px 10px rgba(4, 5, 18, .7)); text-shadow: none; }
.pb-core { background: radial-gradient(120% 160% at 50% 0%, rgba(255, 199, 107, .4), rgba(255, 138, 61, .18) 45%, rgba(14, 12, 40, .85) 80%); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* Chapter titles: halo behind the text while travelling through bright daylight */
.ch-title { isolation: isolate; padding: 28px 44px; text-shadow: var(--legible-shadow); }
.ch-title::before { content: ""; position: absolute; inset: -30px -60px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 6, 22, .78), rgba(5, 6, 22, .5) 55%, transparent); }
.ch-title span { color: #fff; font-weight: 500; }
.ch-title p { color: #ffd08a; }

/* Glass panels: denser, so text never competes with lit windows */
.ch-card { background: var(--glass); border-color: rgba(255, 255, 255, .18); }
.ch-card h3 { color: #fff; }
.ch-card p:not(.cc-k) { color: rgba(246, 241, 231, .9); }
.cc-k { color: #ffd08a; }

/* Nav, sound, skip, HUD, hints */
.w-links, .w-sound, .w-skip, .w-menu, .hud-track { background: rgba(8, 10, 26, .74); border-color: rgba(255, 255, 255, .18); }
.w-links a, .w-links button { color: #fff; }
.w-brand { text-shadow: var(--legible-shadow); }
.w-brand span { padding: 4px 10px 4px 6px; border-radius: 99px; background: rgba(8, 10, 26, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hud-track li { color: rgba(246, 241, 231, .78); }
.scroll-hint { padding: 10px 16px 12px; border-radius: 18px; background: rgba(8, 10, 26, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }

/* Finale */
.finale::before { background: radial-gradient(closest-side, rgba(5, 6, 22, .88), rgba(5, 6, 22, .62) 58%, transparent); inset: -70px -110px; }
.finale h2, .fin-sub, .fin-k, .fin-note { text-shadow: var(--legible-shadow); }
.fin-sub { color: #fff; font-weight: 500; }
.fin-note { color: rgba(246, 241, 231, .72); }
.fin-btn:not(.primary) { background: rgba(8, 10, 26, .72); border-color: rgba(255, 255, 255, .3); }

/* Hologram footers: slightly larger, brighter copy */
.holo-foot span { color: rgba(246, 241, 231, .88); }
