/* =========================================================
   Riverview Motel — shared base stylesheet
   Themes: glass.css / gold.css override variables
   ========================================================= */

/* ---------- 1. Tokens (theme defaults, always overridable) ---------- */
:root {
  --bg: #070b12;
  --bg-2: #0c121c;
  --text: #eef3f8;
  --muted: #a9b6c4;
  --accent: #6fd3ff;
  --accent-2: #2f9bd6;
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1240px;
  --nav-h: 76px;
  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, .65);
  --card-bg: rgba(255, 255, 255, .06);
  --card-brd: rgba(255, 255, 255, .14);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
::selection { background: var(--accent); color: #06121c; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #04121b; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 3. Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.ambient i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .55; animation: drift 22s var(--ease) infinite alternate;
}
.ambient .a1 { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: var(--glow-1, rgba(90, 200, 255, .5)); }
.ambient .a2 { width: 38vw; height: 38vw; right: -6vw; top: 22vh; background: var(--glow-2, rgba(60, 120, 255, .35)); animation-delay: -6s; }
.ambient .a3 { width: 40vw; height: 40vw; left: 28vw; bottom: -14vw; background: var(--glow-3, rgba(0, 220, 200, .22)); animation-delay: -12s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 6vh, 0) scale(1.15); }
}
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-on, #041018);
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  box-shadow: 0 12px 30px -14px var(--accent);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px var(--accent); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--card-brd); box-shadow: none; backdrop-filter: blur(10px); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.sm { padding: .6rem 1.15rem; font-size: .85rem; }

/* ---------- 5. Topbar + Navigation ---------- */
.topbar {
  font-size: .82rem; color: var(--muted);
  border-bottom: 1px solid var(--card-brd);
  background: var(--topbar-bg, rgba(8, 12, 20, .5));
  backdrop-filter: blur(14px);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1rem; min-height: 42px; flex-wrap: wrap; padding-block: .35rem; }
.tb-list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; min-width: 0; }
.tb-list li { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .25s; }
.topbar a:hover { color: var(--accent); }
.tb-list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.tb-list a { white-space: nowrap; }

.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--card-brd);
  box-shadow: 0 18px 40px -30px #000;
}
.nav-inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--nav-h); }.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  display: block; height: 56px; width: auto; border-radius: 4px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .55));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.04); }
.nav.scrolled .brand-logo { height: 48px; }
.footer .brand-logo { height: 62px; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: .5rem .85rem; border-radius: 999px;
  font-size: .93rem; color: var(--muted); transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--pill-bg); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: .18rem; width: 16px; height: 2px;
  transform: translateX(-50%); background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: .6rem; }
.burger {
  display: none; margin-left: auto; width: 46px; height: 42px; border-radius: 12px;
  border: 1px solid var(--card-brd); background: var(--card-bg); color: var(--text);
}
.burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.nav.open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease);
  background-size: cover; background-position: center; transform: scale(1.06);
  animation: kenburns 12s var(--ease) forwards;
}
.slide.on { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 20% 90%, var(--hero-tint, rgba(4, 12, 22, .82)), transparent 70%),
    linear-gradient(to top, var(--bg) 2%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 100%);
}
.hero-inner { position: relative; padding: 8rem 0 4rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--card-brd); background: var(--card-bg); backdrop-filter: blur(12px);
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow b { color: var(--accent); font-weight: 600; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); margin: 1.1rem 0 .8rem; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lede { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
  background: var(--card-bg); border: 1px solid var(--card-brd); backdrop-filter: blur(12px);
  font-size: .85rem; color: var(--text); max-width: 100%;
}
.chip svg { width: 15px; height: 15px; fill: var(--accent); }
.hero-dots { position: absolute; right: 2rem; bottom: 3rem; display: flex; gap: .5rem; }
.hero-dots button { width: 30px; height: 4px; border: 0; border-radius: 4px; background: rgba(255,255,255,.28); transition: .3s; }
.hero-dots button.on { background: var(--accent); width: 48px; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { display: block; width: 1px; height: 34px; margin: .5rem auto 0; background: linear-gradient(var(--accent), transparent); animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(7px); opacity: .4; } }

/* ---------- 7. Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section.alt { background: var(--section-alt, transparent); }
.sec-head { max-width: 62ch; margin-bottom: 3rem; }
.sec-head.center { margin-inline: auto; }
.kicker { display: inline-block; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.sec-head p { color: var(--muted); }

/* ---------- 8. Cards ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 1.8rem;
  background: var(--card-bg); border: 1px solid var(--card-brd);
  backdrop-filter: blur(var(--blur, 16px));
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.16), transparent 42%);
  opacity: .7;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.ico {
  flex: none;
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: var(--btn-on, #04121b);
  box-shadow: 0 10px 22px -12px var(--accent);
}
.ico svg { width: 22px; height: 22px; }
.card > .ico { margin-bottom: 1.1rem; }
.grid { display: grid; gap: 1.2rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 9. Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.rev .media { order: -1; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.media .badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--card-bg); border: 1px solid var(--card-brd); backdrop-filter: blur(14px);
}
.media .badge b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--accent); }
.media .badge span { font-size: .76rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.checklist b { color: var(--text); font-weight: 600; }

/* ---------- 10. Suites ---------- */
.suite {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-brd);
  background: var(--card-bg); backdrop-filter: blur(var(--blur, 16px)); box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.suite:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.suite .thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.suite .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.suite:hover .thumb img { transform: scale(1.07); }
.suite .tag {
  position: absolute; top: 1rem; left: 1rem; padding: .35rem .8rem; border-radius: 999px; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; background: var(--tag-bg); border: 1px solid var(--card-brd);
  backdrop-filter: blur(10px);
}
.suite .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.suite h3 { margin: 0; font-size: 1.35rem; }
.suite p { margin: 0; color: var(--muted); font-size: .93rem; }
.suite ul { list-style: none; padding: 0; margin: .3rem 0 1.1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.suite ul li { font-size: .76rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--card-brd); color: var(--muted); }
.suite .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.suite .price { font-family: var(--font-display); font-size: 1.15rem; color: var(--accent); }
.suite .price small { font-family: var(--font-body); font-size: .7rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 11. Gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: .8rem; }
.mosaic button {
  position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--card-brd);
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .7s; filter: saturate(1.05); }
.mosaic button:hover img { transform: scale(1.09); }
.mosaic button::after {
  content: attr(data-cap); position: absolute; inset: auto 0 0 0; padding: .9rem .9rem .7rem;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  font-size: .8rem; text-align: left; color: #fff; opacity: 0; transform: translateY(8px); transition: .4s var(--ease);
}
.mosaic button:hover::after { opacity: 1; transform: none; }
.mosaic .m-a { grid-column: span 2; grid-row: span 2; }
.mosaic .m-b { grid-column: span 2; }

/* ---------- 12. Stats / timeline ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); border: 1px solid var(--card-brd); background: var(--card-bg); backdrop-filter: blur(var(--blur, 16px)); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); line-height: 1; }
.stat span { font-size: .82rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 13. Attractions ---------- */
.attraction { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--card-brd); background: var(--card-bg); backdrop-filter: blur(var(--blur, 16px)); transition: .45s var(--ease); }
.attraction:hover { transform: translateX(6px); border-color: var(--accent-line); }
.attraction .mins { flex: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 999px; padding: .3rem .6rem; background: var(--accent-soft); }
.attraction h4 { margin: 0 0 .2rem; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
.attraction p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- 14. Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 1rem; }
.quote .stars { color: var(--accent); letter-spacing: .18em; font-size: .9rem; }
.quote p { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; margin: 0; }
.quote footer { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: var(--btn-on, #04121b); }
.quote cite { font-style: normal; font-size: .85rem; color: var(--text); }
.quote small { display: block; color: var(--muted); font-size: .76rem; }

/* ---------- 15. Booking ---------- */
.book {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.6rem, 4vw, 3.4rem);
  padding: clamp(1.6rem, 3.4vw, 2.8rem); border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--card-brd); background: var(--book-bg, rgba(255,255,255,.05));
  backdrop-filter: blur(24px) saturate(140%); box-shadow: var(--shadow-soft);
}
.book .info li { list-style: none; display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px dashed var(--card-brd); }
.book .info .ico { margin: 0; }
.book .info b, .book .info a, .book .info div > span { display: block; }
.book .info li:last-child { border-bottom: 0; }
.book .info b { display: block; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.book .info a { font-size: 1.05rem; }
.book .info a:hover { color: var(--accent); }
form.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--card-brd); background: var(--input-bg, rgba(0,0,0,.25)); color: var(--text);
  font: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
/* anti-spam honeypot: off-screen but still a real input for bots */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; }
.form-note { font-size: .78rem; color: var(--muted); }
.form-note a { color: var(--accent); }
.rc-shared { cursor: pointer; text-decoration: underline; }
.form-status { font-size: .85rem; color: var(--accent); min-height: 1.2em; }

/* ---------- 16. Footer ---------- */
.footer { border-top: 1px solid var(--card-brd); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: var(--footer-bg, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { color: var(--muted); transition: color .25s; }
.footer a:hover { color: var(--accent); }
.footer .brand { margin-bottom: 1rem; }
.footer p { color: var(--muted); font-size: .93rem; max-width: 38ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--card-brd); background: var(--card-bg); transition: .35s var(--ease); }
.socials a:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--accent); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--card-brd); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: var(--muted); }

/* ---------- 17. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: rgba(2, 6, 12, .92); backdrop-filter: blur(10px); padding: 2rem;
}
.lightbox.on { display: grid; animation: fade .35s var(--ease); }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.lightbox .cap { text-align: center; color: var(--muted); margin-top: 1rem; font-size: .88rem; }
.lightbox button.x { position: absolute; top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--card-brd); background: var(--card-bg); color: #fff; font-size: 1.3rem; }
@keyframes fade { from { opacity: 0; } }

/* ---------- 18. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- 19. Back to top ---------- */
.totop {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--card-brd); background: var(--card-bg); backdrop-filter: blur(12px); color: var(--text);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .4s var(--ease);
}
.totop.on { opacity: 1; pointer-events: auto; }
.totop:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-4px); }

/* ---------- 20. Inner page hero ---------- */
.phero {
  position: relative; padding: clamp(6rem, 12vw, 9.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden; text-align: center;
}
.phero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.phero .veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55), var(--hero-tint) 60%, var(--bg) 100%); }
.phero .container { position: relative; }
.phero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 1rem 0 .7rem; }
.phero p { color: var(--muted); max-width: 62ch; margin-inline: auto; }
.crumbs { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--accent); }

/* ---------- 21. Breadcrumb/page band CTA ---------- */
.band { padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; border-block: 1px solid var(--card-brd); background: var(--section-alt); }
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.band .btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* ---------- 22. Video grid ---------- */
.vcard {
  position: relative; padding: 0; border: 0; text-align: left; cursor: pointer; text-align: left;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-brd);
  background: var(--card-bg); box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), border-color .4s;
  display: block; width: 100%;
}
.vcard:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.vcard .thumb-slot {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; position: relative; cursor: pointer;
}
.vcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .8s var(--ease); }
.vcard:hover img { transform: scale(1.06); }
.vcard.playing { transform: none; }
.vcard.playing .play, .vcard.playing .vbadge, .vcard.playing .vtitle small { display: none; }
.vcard .vtitle { padding: 1rem 1.2rem .3rem; font-weight: 600; font-size: 1rem; display: block; }
.vcard .vtitle small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.vbadge {
  position: absolute; top: .9rem; right: .9rem; z-index: 2; padding: .3rem .7rem; border-radius: 999px;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text);
  background: var(--tag-bg, rgba(10,16,26,.5)); border: 1px solid var(--card-brd); backdrop-filter: blur(8px);
  pointer-events: none;
}
.vyt-link { display: block; margin: .5rem 1.2rem 1.2rem; font-size: .78rem; color: var(--accent); text-decoration: none; }
.vyt-link:hover { text-decoration: underline; }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--play-bg, rgba(10, 16, 26, .55)); border: 1px solid var(--card-brd);
  backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .3s;
}
.play::after { content: ""; border-left: 16px solid var(--text); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.vcard:hover .play { transform: translate(-50%, -50%) scale(1.12); background: var(--accent); }
.vcard:hover .play::after { border-left-color: var(--btn-on, #04121c); }
.videobox { width: 100%; aspect-ratio: 16/9; border-radius: 0; overflow: hidden; background: #000; }
.videobox iframe { width: 100%; height: 100%; border: 0; display: block; }
.videobox--fallback { display: grid; place-items: center; aspect-ratio: auto; min-height: 190px; background: var(--card-bg); }
.vfallback { text-align: center; padding: 1.6rem; }
.vfallback p { margin: 0 0 .5rem; color: var(--muted); font-size: .88rem; }
.vfallback b { color: var(--text); }

/* ---------- 23. Lists: restaurants / policies ---------- */
.rows { display: grid; gap: .7rem; }
.row-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  border: 1px solid var(--card-brd); background: var(--card-bg); backdrop-filter: blur(var(--blur, 16px));
  transition: transform .4s var(--ease), border-color .3s;
}
.row-item:hover { transform: translateX(6px); border-color: var(--accent-line); }
.row-item .t { flex: 1; min-width: 0; }
.row-item b { display: block; font-size: 1rem; }
.row-item small { color: var(--muted); font-size: .84rem; }
.row-item .tag2 { flex: none; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 999px; padding: .3rem .7rem; }
.row-item .call { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--card-brd); color: var(--text); }
.row-item .call:hover { color: var(--accent); border-color: var(--accent); }
.row-item .call svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- 24. Map / legend ---------- */
.mapwrap { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.4rem; align-items: start; }
.legend li { list-style: none; display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px dashed var(--card-brd); color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; }
.legend b { color: var(--text); }
.swatch-dot { width: 14px; height: 14px; border-radius: 4px; flex: none; border: 1px solid rgba(255,255,255,.35); }

/* ---------- 25. Theme switcher (footer) ---------- */
.themes { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.theme-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--card-brd); background: var(--card-bg); font-size: .84rem; color: var(--muted);
  transition: .35s var(--ease);
}
.theme-pill i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.theme-pill.glass i { background: linear-gradient(135deg, #7fe3ff, #2f7bff); }
.theme-pill.gold i { background: linear-gradient(135deg, #f6dfa4, #b9862f); }
.theme-pill:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.theme-pill[aria-current="true"] { color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-line); }

/* ---------- 25b. Live gallery: filters + full photo grid ---------- */
.gal-head { display: grid; gap: 1.4rem; margin-bottom: 2.2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.fbtn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--card-brd); background: var(--card-bg); backdrop-filter: blur(14px);
  color: var(--muted); font-size: .88rem; font-weight: 500; transition: .35s var(--ease);
}
.fbtn em { font-style: normal; font-size: .72rem; opacity: .7; }
.fbtn:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.fbtn.is-on { color: var(--btn-on, #04121c); background: linear-gradient(120deg, var(--accent), var(--accent-2)); border-color: transparent; font-weight: 600; }
.fbtn.is-on em { opacity: .85; }
.gal-count { margin: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gal-count b { color: var(--accent); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: .7rem; }
.gal-grid button {
  position: relative; padding: 0; border: 1px solid var(--card-brd); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--card-bg); transition: transform .5s var(--ease), border-color .35s;
}
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; }
.gal-grid button:hover { transform: translateY(-4px); border-color: var(--accent); }
.gal-grid button:hover img { transform: scale(1.08); }
.gal-grid button::after {
  content: attr(data-cap); position: absolute; inset: auto 0 0 0; padding: 1.4rem .8rem .7rem;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent);
  font-size: .76rem; text-align: left; color: #fff; opacity: 0; transform: translateY(8px);
  transition: .4s var(--ease);
}
.gal-grid button:hover::after { opacity: 1; transform: none; }
.gal-grid .is-hidden { display: none; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .book { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: calc(var(--nav-h) + 42px) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .2rem; padding: 1.2rem; background: var(--nav-solid); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-brd);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
  }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .8rem 1rem; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-auto-rows: 140px; }
  .hero-dots { right: 1rem; bottom: 2.4rem; }
  .mapwrap { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .tb-list.hide-sm, li.hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}