/* ============================
   Nexhive — Design tokens (modern refresh)
============================ */
:root {
  /* Dummy theme v1 — matched to the Nexhive logo (dark charcoal + gold N,
     "HIVE" in gold, "NEX" in white). First pass: swap the core tokens site-
     wide via variables; a few hand-drawn SVG icons with literal hex colors
     still assume the old light theme and may need a follow-up pass. */
  --ink: #f4efe4;
  --ink-soft: #a89f92;
  --paper: #201e1b;
  --paper-alt: #29261f;
  --surface: #2e2b25;
  --line: #423d34;
  --line-soft: #322f28;
  --accent: #f2b705;
  --accent-dark: #d99a10;
  --accent-soft: #4a3a12;
  --accent-ink: #f6d98a;
  --accent-2: #e0954a;
  --accent-2-soft: #4a3624;
  --success: #3ecf8e;

  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(0,0,0,.2);
  --shadow-md: 0 16px 32px -16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 36px 70px -24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 12px 28px -8px rgba(242, 183, 5, 0.45);
  --container-w: 1180px;
  --ease: cubic-bezier(.16,.8,.24,1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
/* Some browsers render a <select>'s dropdown/multi-select option list using
   OS-native colors instead of the page's, ignoring the select's own
   background/color — pin every option explicitly so it never renders as
   unreadable light-on-light regardless of the browser's default. */
select option { background-color: var(--paper); color: var(--ink); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex: none;
}

/* Soft gradient-mesh backdrop, fixed behind everything — a warmer, more
   dimensional replacement for the old flat radial-gradient texture */
.hex-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(600px circle at 8% -5%, rgba(242,183,5,.09), transparent 55%),
    radial-gradient(560px circle at 96% 8%, rgba(224,149,74,.07), transparent 55%);
  background-color: var(--paper);
}

/* ============================
   Buttons
============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .2s, color .2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(242,183,5,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ============================
   Header
============================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(32, 30, 27, .72);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(32, 30, 27, .92); }

.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  transform: scaleX(0); transform-origin: left; z-index: 60;
  transition: transform .1s linear;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
/* Public location selector — only rendered once a second branch is Active,
   so most visitors never see it. */
.location-select { position: relative; margin-right: auto; margin-left: 22px; }
.location-select select {
  appearance: none; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 28px 8px 14px; font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer;
}
.location-select select:hover, .location-select select:focus { border-color: var(--accent); outline: none; }
.location-select-caret { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
@media (max-width: 980px) { .location-select { margin-left: 12px; } }
@media (max-width: 640px) { .location-select select { font-size: 12px; padding: 7px 24px 7px 11px; } }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-hl { color: var(--accent); }
.brand-mark { width: 28px; height: 32px; color: var(--ink); flex: none; }
.brand-hex { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.6; }
/* An uploaded logo isn't forced into the hex mark's small fixed box — it
   gets a taller cap and sizes its own width from its natural aspect ratio,
   so a wide logo and a square one both come out looking right. */
img.brand-mark { width: auto; height: 44px; max-width: 200px; object-fit: contain; border-radius: 6px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px;
  transition: right .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================
   Hero
============================ */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}
/* Briefly lifted while the entrance logo is mid-flight from center-screen
   to its resting spot, so the oversized icon isn't clipped; restored the
   moment it lands. */
.hero.hero-intro-active { overflow: visible; }
.hero-intro-active .hero-wordmark-icon { position: relative; z-index: 5; }
.hero::before {
  content: "";
  position: absolute; top: -220px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(242,183,5,.10), rgba(224,149,74,.06) 55%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-visual {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.hero-wordmark { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 420px; }
.hero-wordmark-icon {
  width: clamp(140px, 16vw, 220px); height: auto; object-fit: contain;
  color: var(--accent);
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 30px rgba(242, 183, 5, .3));
  animation: heroIconFloat 6s ease-in-out infinite;
  transform-origin: 50% 60%;
}
@keyframes heroIconFloat {
  0% { transform: translateY(0) rotate(0deg) scale(1); filter: drop-shadow(0 8px 30px rgba(242, 183, 5, .3)); }
  25% { transform: translateY(-9px) rotate(-3deg) scale(1.015); filter: drop-shadow(0 16px 34px rgba(242, 183, 5, .4)); }
  50% { transform: translateY(-14px) rotate(0deg) scale(1.03); filter: drop-shadow(0 22px 38px rgba(242, 183, 5, .5)); }
  75% { transform: translateY(-9px) rotate(3deg) scale(1.015); filter: drop-shadow(0 16px 34px rgba(242, 183, 5, .4)); }
  100% { transform: translateY(0) rotate(0deg) scale(1); filter: drop-shadow(0 8px 30px rgba(242, 183, 5, .3)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wordmark-icon { animation: none; }
}
.hero-wordmark-icon .brand-hex { fill: rgba(242, 183, 5, .1); stroke: var(--accent); stroke-width: 1.6; }
.hero-wordmark-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 68px);
  letter-spacing: .05em;
  color: var(--ink);
  margin: 0 0 18px;
}
.hero-wordmark-text span { color: var(--accent); }
.hero-wordmark-tag {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: clamp(13px, 1.1vw, 16px); font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft);
  margin: 0;
}
.hero-wordmark-tag i { font-style: normal; color: var(--accent); font-size: 9px; }
.hero-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  margin-bottom: .35em;
  /* A custom heading typed with real line breaks (Enter in the admin
     textarea) should actually break there instead of HTML collapsing it
     into one run-on line — pre-line respects those without needing to mark
     the value `|safe` (no raw HTML/tags allowed, so nothing to escape). */
  white-space: pre-line;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroEmShimmer 5s ease-in-out infinite;
}
@keyframes heroEmShimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 em { animation: none; }
}
.hero-copy .lede {
  font-size: 18px;
  max-width: 65ch;
  color: var(--ink-soft);
  /* Same reasoning as .hero-copy h1 above — a longer subheading typed as
     several paragraphs (blank line between them) should keep those breaks
     instead of running together into one block. */
  white-space: pre-line;
}
.hero-actions { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.hero-meta span { font-size: 13px; color: var(--ink-soft); }

/* Confetti burst on successful enquiry/booking submission */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.confetti-piece {
  position: fixed; width: 8px; height: 8px; border-radius: 2px;
  transform: translate(-50%, -50%);
  animation: confettiBurst .85s cubic-bezier(.2,.8,.3,1) forwards;
}
@keyframes confettiBurst {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(.4); opacity: 0; }
}

.live-availability-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px;
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px 7px 11px; box-shadow: var(--shadow-sm);
}
.live-availability-badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none;
  animation: liveAvailPulse 1.8s ease-in-out infinite;
}
@keyframes liveAvailPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,106,65,.5); }
  70% { box-shadow: 0 0 0 6px rgba(34,106,65,0); }
}

/* ============================
   Marquee strip
============================ */
.strip {
  padding: 22px 0;
  overflow: hidden;
}
.strip-track { display: flex; gap: 14px; white-space: nowrap; animation: marquee 32s linear infinite; width: max-content; }
.strip-track span {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 4px 16px -9px rgba(0, 0, 0, .5);
}
.strip-track span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================
   Section basics
============================ */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); position: relative; }
.section-head h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px; margin-top: 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease) .25s;
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-head.reveal.in h2::after { transform: scaleX(1); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
/* Directional variants — for standalone/paired elements (hero halves, a
   contact-page split, section intros), not grids, so it reads as one
   deliberate sweep rather than a chaotic pile of motion. */
.reveal-left { transform: translateX(-46px); }
.reveal-left.in { transform: translateX(0); }
.reveal-right { transform: translateX(46px); }
.reveal-right.in { transform: translateX(0); }
/* Grid cascade — cards in the same row sweep in left-to-right a beat apart,
   instead of every card in the grid arriving at the exact same instant. */
.spaces-grid .space-card:nth-child(3n+1), .facility-grid .facility-item:nth-child(3n+1) { transition-delay: 0s; }
.spaces-grid .space-card:nth-child(3n+2), .facility-grid .facility-item:nth-child(3n+2) { transition-delay: .1s; }
.spaces-grid .space-card:nth-child(3n+3), .facility-grid .facility-item:nth-child(3n+3) { transition-delay: .2s; }
.feature-list .feature-item:nth-child(1) { transition-delay: 0s; }
.feature-list .feature-item:nth-child(2) { transition-delay: .1s; }
.feature-list .feature-item:nth-child(3) { transition-delay: .2s; }
.feature-list .feature-item:nth-child(4) { transition-delay: .3s; }
.gallery-grid .gallery-photo:nth-child(1) { transition-delay: 0s; }
.gallery-grid .gallery-photo:nth-child(2) { transition-delay: .12s; }
.gallery-grid .gallery-photo:nth-child(3) { transition-delay: .24s; }

/* ============================
   Cinematic motion system (GSAP-driven, static/js/motion.js)
   — layered on top of the reveal system above, not replacing it. Everything
   here degrades gracefully to the plain .reveal fade if GSAP fails to load
   or prefers-reduced-motion is set (motion.js bails out early in that case).
============================ */

/* "NEXHIVE FLOW" — a fixed architectural rail on the left edge of the
   homepage tracking which major section is in view. Desktop only; a
   decorative wayfinding cue, not interactive. */
.nex-flow {
  position: fixed; left: 30px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 260px; z-index: 45; pointer-events: none;
}
.nex-flow-track { position: absolute; inset: 0; background: var(--line); border-radius: 2px; }
.nex-flow-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px; transition: height .5s var(--ease);
}
.nex-flow-nodes { position: absolute; inset: -4px 0; display: flex; flex-direction: column; justify-content: space-between; }
.nex-flow-node {
  width: 7px; height: 7px; margin-left: -2.5px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.nex-flow-node.is-active {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 9px rgba(242, 183, 5, .65);
  transform: scale(1.25);
}
@media (max-width: 1080px) { .nex-flow { display: none; } }

/* Room-focus hover — dims sibling space cards so the hovered one reads as
   the thing the visitor is looking at. Applied via a class on the grid
   itself so untouched cards need no per-card listener. */
.spaces-grid.has-focus .space-card:not(.is-focused) { opacity: .68; transform: scale(.98); }
.spaces-grid .space-card { transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }

/* Why Nexhive — vertical progression line running alongside 01–04. */
.feature-list { position: relative; }
.feature-line {
  position: absolute; left: 17px; top: 17px; bottom: 17px; width: 2px;
  background: var(--line-soft); border-radius: 2px; pointer-events: none;
}
.feature-line-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px; transition: height .5s var(--ease);
}
.feature-item .num, .feature-item h4, .feature-item p {
  transition: opacity .4s var(--ease), color .4s var(--ease);
}
.feature-item:not(.is-active) .num { opacity: .55; }
.feature-item:not(.is-active) h4 { color: var(--ink-soft); }
.feature-item:not(.is-active) p { opacity: .7; }
.feature-item.is-active .num { opacity: 1; box-shadow: 0 0 0 5px var(--accent-soft); }

/* Real Space — the first gallery photo gets the cinematic scale-in; the
   rest keep the existing curtain-wipe untouched. */
.gallery-photo--cinematic { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .nex-flow, .feature-line { display: none; }
}

/* ============================
   Space type cards
============================ */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.space-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.space-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0; transition: opacity .3s var(--ease);
}
.space-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.space-card:hover::before { opacity: 1; }
.space-card .icon-hex {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2-soft));
}
.space-card .icon-hex img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm);
}
.space-card .icon-hex svg { width: 62%; height: 62%; }

/* A real uploaded photo takes over the card — bled edge-to-edge across the
   top with the space's name overlaid on it in bold white, description and
   booking links below as normal (Trendworks-style photo-first cards). */
.space-card-media {
  position: relative;
  margin: -28px -28px 20px;
  height: 200px;
  overflow: hidden;
}
.space-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.space-card:hover .space-card-media img { transform: scale(1.05); }
.space-card-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, var(--paper-alt) 48%, var(--accent-soft) 100%);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .85s var(--ease) .1s;
  pointer-events: none;
}
.space-card.reveal.in .space-card-media::after { transform: scaleX(0); }
.space-card.reveal:not(.in) .space-card-media img { transform: scale(1.14); }
.space-card-media-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 22px;
  background: linear-gradient(180deg, transparent 45%, rgba(15,17,21,.78) 100%);
}
.space-card-media-overlay h3 {
  color: #fff; margin: 0; font-size: 21px; text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.space-card h3 { font-size: 20px; margin-bottom: 6px; }
.space-card p { font-size: 14.5px; margin-bottom: 16px; }
.space-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-alt); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
}
.space-card .card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--line-soft); padding-top: 16px; width: 100%;
}
.space-card .card-cta svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
button.card-cta { background: none; border: none; cursor: pointer; font-family: inherit; }
.card-cta-secondary {
  display: block; width: 100%; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  text-align: left; padding-top: 8px; text-decoration: underline; text-underline-offset: 2px;
}
.card-cta-secondary:hover { color: var(--accent-dark); }
.space-card:hover .card-cta svg { transform: translateX(4px); }

/* ============================
   Gallery strip (admin-uploaded photos)
============================ */
.gallery-strip { padding-top: 0; }
/* Auto-fill instead of a fixed 3-column layout — the admin can add any
   number of photos/videos, so this can't assume a specific count. The
   first item still gets a slightly larger, "cinematic" spot when there
   are enough items to make that look intentional rather than lopsided. */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-photo {
  position: relative;
  border-radius: var(--radius-md); overflow: hidden; background: var(--paper-alt);
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm);
}
.gallery-grid:has(.gallery-photo:nth-child(3)) .gallery-photo--cinematic { aspect-ratio: auto; grid-row: span 2; grid-column: span 1; }
.gallery-photo img, .gallery-photo video, .gallery-photo iframe { width: 100%; height: 100%; object-fit: cover; border: none; transition: transform .5s var(--ease); }
.gallery-photo:hover img, .gallery-photo:hover video { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  pointer-events: none;
}
.gallery-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, var(--paper-alt) 48%, var(--accent-soft) 100%);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .85s var(--ease) .1s;
  pointer-events: none;
}
.gallery-photo.reveal.in::after { transform: scaleX(0); }
.gallery-photo.reveal:not(.in) img { transform: scale(1.14); }
@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .gallery-photo--cinematic { grid-row: span 1 !important; grid-column: span 2 !important; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-photo:first-child { grid-column: span 1; }
}

/* ============================
   Facilities
============================ */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.facility-item {
  text-align: center; padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.facility-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.facility-icon {
  width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; display: grid; place-items: center; margin: 0 auto 16px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.facility-icon svg { width: 24px; height: 24px; }
.facility-item:hover .facility-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 10px 22px -8px rgba(242, 183, 5, .6);
}
.facility-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.facility-item p { font-size: 13px; margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .facility-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facility-grid { grid-template-columns: 1fr; } }

/* Facility icon animations — each one nods to what it actually represents,
   so the "on-site facilities" grid feels alive instead of six static glyphs. */
.wifi-arc { animation: wifiPulse 1.8s ease-in-out infinite; }
.wifi-arc-1 { animation-delay: 0s; }
.wifi-arc-2 { animation-delay: .18s; }
.wifi-arc-3 { animation-delay: .36s; }
@keyframes wifiPulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.cctv-icon { transform-box: fill-box; transform-origin: 50% 62%; animation: cctvPan 4s ease-in-out infinite; }
@keyframes cctvPan { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.cctv-lens { transform-box: fill-box; transform-origin: center; animation: cctvBlink 1.6s ease-in-out infinite; }
@keyframes cctvBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.bolt-icon { transform-box: fill-box; transform-origin: center; animation: boltFlicker 2.6s ease-in-out infinite; }
@keyframes boltFlicker {
  0%, 18%, 22%, 52%, 58%, 100% { opacity: 1; }
  20% { opacity: .35; }
  55% { opacity: .55; }
}

.printer-paper { transform-box: fill-box; transform-origin: top center; animation: printerFeed 2.8s ease-in-out infinite; }
@keyframes printerFeed {
  0%, 25% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(5px); opacity: 1; }
  62% { transform: translateY(5px); opacity: 0; }
  63% { transform: translateY(0); opacity: 0; }
  85%, 100% { transform: translateY(0); opacity: 1; }
}
.printer-light { animation: printerBlink 2.8s ease-in-out infinite; }
@keyframes printerBlink { 0%, 45%, 100% { opacity: 1; } 50%, 62% { opacity: .3; } }

.ac-wave { transform-box: fill-box; animation: acFlow 2.2s ease-in-out infinite; }
.ac-wave-2 { animation-delay: .25s; }
@keyframes acFlow { 0%, 100% { transform: translateX(-1.5px); opacity: .7; } 50% { transform: translateX(1.5px); opacity: 1; } }
.ac-light { animation: cctvBlink 2.4s ease-in-out infinite; }

.steam-wisp { transform-box: fill-box; transform-origin: bottom center; animation: steamRise 2.2s ease-in-out infinite; }
.steam-wisp-2 { animation-delay: .5s; }
@keyframes steamRise {
  0% { transform: translateY(0) scaleY(1); opacity: .55; }
  50% { transform: translateY(-2.5px) scaleY(1.2); opacity: 1; }
  100% { transform: translateY(0) scaleY(1); opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  .wifi-arc, .cctv-icon, .cctv-lens, .bolt-icon, .printer-paper, .printer-light, .ac-wave, .ac-light, .steam-wisp {
    animation: none;
  }
}

/* ============================
   Why / features
============================ */
.features-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.feature-list { display: grid; gap: 28px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .num {
  font-family: var(--font-display); font-size: 14px; color: #fff;
  width: 34px; height: 34px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700;
}
.feature-item h4 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; margin: 0; }

/* ============================
   Reviews — only genuine admin-entered reviews ever render here.
============================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.review-card--featured { border-color: var(--accent); background: linear-gradient(155deg, var(--surface), var(--accent-soft)); }
.review-stars { display: flex; gap: 3px; color: var(--accent); }
.review-stars svg { width: 15px; height: 15px; }
.review-text { font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1; color: var(--ink); }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-author strong { display: block; font-size: 14px; }
.review-author .muted { font-size: 12.5px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================
   Founding member / CTA band
============================ */
.cta-band {
  background: linear-gradient(155deg, #2b2620, #18150f);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -60px; top: -60px; width: 300px; height: 340px;
  background: radial-gradient(circle, rgba(242,183,5,.32), rgba(224,149,74,.16) 60%, transparent 75%);
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #cfc9bd; }
.cta-band .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.cta-band .btn-primary:hover { box-shadow: var(--shadow-glow); }
.cta-list { display: grid; gap: 12px; }
.cta-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #e9e4d8; }
.cta-list svg { flex: none; margin-top: 3px; width: 16px; height: 16px; color: var(--accent); }

/* ============================
   FAQ
============================ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 17px; color: var(--ink);
}
.faq-q .plus { flex: none; width: 20px; height: 20px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
}
.faq-q .plus::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-q .plus::after { width: 2px; height: 14px; top: 3px; left: 9px; transition: transform .3s var(--ease); }
.faq-item.open .plus::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-soft); }

/* ============================
   Footer
============================ */
.site-footer { background: var(--paper-alt); border-top: 1px solid var(--line); padding: 72px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; max-width: 30ch; margin-top: 14px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { color: var(--accent-dark); border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; gap: 8px;
}

/* ============================
   Command palette (⌘K quick actions)
============================ */
.cmdk-trigger {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  display: flex; align-items: center; gap: 8px;
  background: rgba(46, 43, 37, .68); color: var(--ink); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px) saturate(1.6);
  border-radius: 999px; padding: 11px 16px 11px 14px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cmdk-trigger:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(15,17,21,.3); }
.cmdk-trigger kbd {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px;
}
@media (max-width: 640px) { .cmdk-trigger span { display: none; } .cmdk-trigger { padding: 12px; } }

.cmdk-backdrop {
  position: fixed; inset: 0; z-index: 600; background: rgba(20,18,15,.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease);
}
.cmdk-backdrop.open { opacity: 1; pointer-events: auto; }
.cmdk-panel {
  width: 100%; max-width: 560px; background: rgba(46, 43, 37, .74); border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-14px) scale(.97);
  transition: transform .25s var(--ease); max-height: 70vh; display: flex; flex-direction: column;
}
.cmdk-backdrop.open .cmdk-panel { transform: translateY(0) scale(1); }
.cmdk-input-row {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft); flex: none;
}
.cmdk-input-row input {
  flex: 1; border: none; outline: none; font-size: 16px; font-family: inherit; color: var(--ink); background: none;
}
.cmdk-input-row kbd {
  font-size: 11px; font-weight: 700; color: var(--ink-soft); background: var(--paper-alt);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; flex: none;
}
.cmdk-results { overflow-y: auto; padding: 8px; }
.cmdk-group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft); padding: 10px 12px 4px;
}
.cmdk-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 11px 12px; border-radius: var(--radius-sm); border: none; background: none;
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.cmdk-item .cmdk-item-icon {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
}
.cmdk-item .cmdk-item-sub { font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-top: 1px; }
.cmdk-item-label { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; }
.cmdk-item.active { background: var(--accent-soft); }
.cmdk-item.active .cmdk-item-icon { background: var(--accent); color: #fff; }
.cmdk-empty { padding: 30px 16px; text-align: center; color: var(--ink-soft); font-size: 13.5px; }

/* ============================
   Modal / Enquiry form
============================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 18, 15, .48);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  padding: 20px;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: rgba(46, 43, 37, .8);
  backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 520px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98);
  transition: transform .35s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  font-size: 20px; line-height: 1; color: var(--ink-soft);
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--paper-alt); color: var(--ink); }
/* Enquiry modal — gradient header band, matching the booking modal's
   "icon + colored band" structure but with its own brand-gradient identity
   rather than the booking modal's plain dark one. */
.enquiry-modal { padding: 0; overflow: hidden; max-width: 520px; }
.enquiry-modal .modal-close {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff;
}
.enquiry-modal .modal-close:hover { background: rgba(255,255,255,.28); }
.enquiry-modal-header {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; padding: 30px 36px 24px; display: flex; gap: 16px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.enquiry-modal-header::before {
  content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
}
.enquiry-modal-header::after {
  content: ""; position: absolute; left: -40px; bottom: -80px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.enquiry-modal-header .eyebrow { color: rgba(255,255,255,.85); position: relative; }
.enquiry-modal-header .eyebrow::before { background: #fff; }
.enquiry-modal-header h3 { color: #fff; margin: 4px 0 4px; position: relative; font-size: 22px; }
.enquiry-modal-header p { color: rgba(255,255,255,.88); position: relative; }
.enquiry-icon-circle {
  width: 44px; height: 44px; border-radius: 50%; flex: none; position: relative;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center; color: #fff;
}
.enquiry-modal .modal-body { padding: 26px 36px 32px; max-height: 72vh; overflow-y: auto; }

/* Conference Room booking modal */
.booking-modal { padding: 0; overflow: hidden; max-width: 560px; }
.booking-modal .modal-close {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff;
}
.booking-modal .modal-close:hover { background: rgba(255,255,255,.22); }
.booking-modal-header {
  background: linear-gradient(135deg, #2b2620, #18150f); color: var(--ink);
  padding: 32px 36px 26px; display: flex; gap: 16px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.booking-modal-header::before {
  content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 220px;
  background: radial-gradient(circle, rgba(242,183,5,.32), transparent 70%);
}
.booking-modal-header .eyebrow { color: var(--accent); position: relative; }
.booking-modal-header .eyebrow::before { background: var(--accent); }
.booking-modal-header h3 { color: var(--ink); margin: 4px 0 0; position: relative; }
.booking-icon-circle {
  width: 44px; height: 44px; border-radius: 50%; flex: none; position: relative;
  background: rgba(242,183,5,.18); border: 1px solid rgba(242,183,5,.45);
  display: grid; place-items: center; color: var(--accent);
}
.booking-modal .modal-body { padding: 26px 36px 32px; max-height: 72vh; overflow-y: auto; }

.booking-fieldset {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px 18px 6px; margin-bottom: 18px; position: relative;
}
.booking-fieldset-label {
  position: absolute; top: -10px; left: 14px; background: var(--surface); padding: 0 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft);
}
.booking-fieldset .form-row:last-child { margin-bottom: 16px; }
.booking-fieldset > label:last-child { margin-bottom: 16px; }

.payment-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid var(--accent);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 2px;
}
.payment-note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent-dark); }
.payment-note p { margin: 0; font-size: 12.5px; color: var(--accent-ink); font-weight: 600; line-height: 1.45; }

.booking-payment-step { display: grid; gap: 14px; }
.payment-amount-box {
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px; text-align: center;
}
.payment-amount-box .muted { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.payment-amount-value { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.slot-unavailable-note { color: #c0432f; }

.enquiry-form { display: grid; gap: 16px; }
.enquiry-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .form-row-3 { grid-template-columns: 1fr; } }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: var(--paper); color: var(--ink); font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.enquiry-form textarea { resize: vertical; }
.form-status { text-align: center; font-size: 13.5px; font-weight: 600; min-height: 18px; margin: 0; }
.form-status.ok { color: var(--success); }
.form-status.err { color: #c0432f; }

/* ============================
   Page hero (inner pages)
============================ */
.page-hero { padding: 56px 0 20px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); max-width: 16ch; }
.page-hero p { font-size: 17px; max-width: 56ch; }

/* ============================
   Explore / Floor plan page
============================ */
.explore-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
@property --fp-spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes fpBorderSpin { to { --fp-spin: 360deg; } }

.plan-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease-out, box-shadow .3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.plan-panel:hover { box-shadow: var(--shadow-md); }
.plan-panel::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--fp-spin, 0deg), var(--accent), var(--accent-2), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; pointer-events: none;
  animation: fpBorderSpin 8s linear infinite;
}
.plan-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; position: relative; }
.plan-toolbar h3 { margin: 0; font-size: 16px; font-family: var(--font-body); font-weight: 700; display: inline-flex; align-items: center; }
.plan-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.plan-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft); }
.plan-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); padding: 3px 10px 3px 8px; border-radius: 999px; margin-left: 10px;
}
.live-badge i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: fpLiveDot 1.6s ease-in-out infinite;
}
@keyframes fpLiveDot {
  0% { box-shadow: 0 0 0 0 rgba(242,183,5,.55); }
  70% { box-shadow: 0 0 0 7px rgba(242,183,5,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,183,5,0); }
}

.blueprint-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); cursor: pointer; transition: all .25s var(--ease); margin-left: auto;
}
.blueprint-toggle:hover { border-color: var(--accent); color: var(--ink); }
.blueprint-toggle.active { background: #0a1f3d; border-color: #0a1f3d; color: #8fd8ff; }

.floorplan-svg-wrap {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, 38%), rgba(242,183,5,.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(139,131,112,.09) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(139,131,112,.09) 0 1px, transparent 1px 28px),
    var(--paper-alt);
}
.floorplan-svg-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; height: 46%; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(242,183,5,.12) 45%, rgba(224,149,74,.12) 55%, transparent);
  pointer-events: none; animation: fpScanSweep 7s ease-in-out infinite;
}
@keyframes fpScanSweep {
  0% { transform: translateY(-70%); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translateY(130%); opacity: 1; }
  62% { opacity: 0; }
  100% { transform: translateY(130%); opacity: 0; }
}
#floorplanSvg {
  width: 100%; height: auto; display: block; position: relative;
  animation: fpFadeIn .7s var(--ease) both;
  transition: filter .5s ease;
}
@keyframes fpFadeIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.floorplan-svg-wrap.blueprint-mode #floorplanSvg {
  filter: invert(1) hue-rotate(180deg) saturate(1.6) brightness(1.05) contrast(1.05);
}

.fp-tooltip {
  position: absolute; z-index: 3; top: 0; left: 0; pointer-events: none;
  background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700;
  border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translateY(4px) scale(.92); transform-origin: left center;
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  box-shadow: var(--shadow-md);
}
.fp-tooltip.visible { opacity: 1; transform: translateY(0) scale(1); }

.fp-zone { cursor: pointer; transition: filter .2s, opacity .2s, transform .25s var(--ease); transform-box: fill-box; transform-origin: center; }
.fp-zone rect, .fp-zone path.zone-shape { transition: fill .25s var(--ease), stroke .25s var(--ease), filter .25s var(--ease); }
.fp-zone:hover { transform: scale(1.035); }
.fp-zone:hover .zone-shape { fill: var(--accent-soft); stroke: var(--accent); filter: drop-shadow(0 0 9px rgba(242,183,5,.5)); }
.fp-zone.active { transform: scale(1.02); }
.fp-zone.active .zone-shape {
  fill: var(--accent-soft); stroke: var(--accent-dark); stroke-width: 2.5;
  animation: fpActivePulse 1.8s ease-in-out infinite;
}
@keyframes fpActivePulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(242,183,5,.4)); }
  50% { filter: drop-shadow(0 0 15px rgba(242,183,5,.8)); }
}
.fp-check-badge circle { animation: fpBadgeIn .25s var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes fpBadgeIn { from { transform: scale(0); } to { transform: scale(1); } }
/* The floor plan itself is a fixed light/paper-colored architectural
   drawing regardless of the site's light/dark theme, so its labels use
   literal dark ink instead of the theme's --ink token (which is light in
   the current dark theme and would vanish against this white drawing). */
.fp-label { font-family: var(--font-body); font-weight: 700; fill: #2a2620; pointer-events: none; }
.fp-sublabel { font-family: var(--font-body); fill: #6b6558; pointer-events: none; }
.fp-desk { fill: #fff; stroke: #c9c2b1; stroke-width: 1; }
.fp-chair { fill: #cbb98f; stroke: #8b8370; transition: fill .25s var(--ease), stroke .25s var(--ease); }
.fp-zone:hover .fp-chair, .fp-zone.active .fp-chair { fill: var(--accent-soft); stroke: var(--accent-dark); }

/* A space the admin has turned off in Spaces — grayed out and inert on
   the floor plan instead of just being hidden from booking elsewhere. */
.fp-zone.fp-zone-inactive { cursor: not-allowed; opacity: .45; }
.fp-zone.fp-zone-inactive:hover { transform: none; }
.fp-zone.fp-zone-inactive:hover .zone-shape { fill: initial; stroke: initial; filter: none; }
.fp-zone.fp-zone-inactive:hover .fp-chair { fill: #cbb98f; stroke: #8b8370; }
#zoneList button.fp-zone-inactive { opacity: .45; cursor: not-allowed; }

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-sm);
  min-height: 380px;
  overflow: hidden;
}
.detail-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% 100%; animation: fpGradientSlide 4s linear infinite;
}
@keyframes fpGradientSlide { to { background-position: -200% 0; } }
.detail-panel > *:not(.placeholder) { position: relative; }
#detailPanel.panel-anim > * { animation: fpDetailIn .35s var(--ease) both; }
@keyframes fpDetailIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.detail-panel .placeholder { color: var(--ink-soft); font-size: 14.5px; padding: 30px 4px; text-align: center; }
.detail-panel .placeholder svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--line); }
.detail-title { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.detail-title .swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.detail-panel h3 { font-size: 22px; margin-bottom: 4px; }
.detail-cap { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.detail-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-panel .btn { margin-top: 6px; }

.zone-list { display: grid; gap: 8px; margin-top: 18px; }
.zone-list button {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--paper-alt); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  text-align: left;
}
.zone-list button:hover, .zone-list button.active { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); }
.zone-list button::before {
  content: ""; width: 15px; height: 15px; flex: none; margin-right: 10px;
  border: 1.5px solid var(--line); border-radius: 4px; background: var(--surface);
  display: inline-block; order: -1;
}
.zone-list button.active::before {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.zone-list button span:last-child { margin-left: auto; }
.zone-list button.book-only { background: var(--accent); color: var(--paper); }
.zone-list button.book-only::before { content: none; }
.zone-list button.book-only:hover { background: var(--accent-dark); border-color: transparent; }

/* Multi-select "cart" list in the detail panel */
.selection-list { display: grid; gap: 8px; margin: 18px 0; }
.selection-list li {
  background: var(--paper-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 10px 10px 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.selection-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.selection-row-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.chip-cal-toggle {
  border: none; background: transparent; color: var(--ink-soft); font-size: 11.5px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px; padding: 4px 6px; flex: none;
}
.chip-cal-toggle:hover { color: var(--ink); }
.chip-remove {
  width: 24px; height: 24px; border-radius: 50%; border: none; background: transparent;
  color: var(--ink-soft); font-size: 17px; line-height: 1; flex: none;
}
.chip-remove:hover { background: var(--surface); color: #c0432f; }
.btn-link {
  display: block; width: 100%; text-align: center; background: none; border: none;
  color: var(--ink-soft); font-size: 13px; font-weight: 600; padding: 10px 0 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:hover { color: var(--ink); }

/* ============================
   Pricing page
============================ */
.pricing-note {
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.highlight { background: linear-gradient(155deg, #2b2620, #18150f); color: var(--ink); position: relative; }
.price-card.highlight h3, .price-card.highlight .price-amt { color: var(--ink); }
.price-card.highlight p, .price-card.highlight li { color: #c8c9d4; }
.price-card.highlight .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #eceaf7; }
.price-card .badge {
  position: absolute; top: -13px; right: 28px;
  background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(242,183,5,.5);
}
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .price-amt { font-family: var(--font-display); font-size: 38px; font-weight: 600; margin: 10px 0 2px; }
.price-card .price-amt sup { font-size: 15px; font-weight: 500; }
.price-card .price-per { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.price-card .price-enquire-note {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  margin: 18px 0 20px; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.price-card.highlight .price-enquire-note { color: var(--ink); border-color: rgba(255,255,255,.16); }
.price-card ul { display: grid; gap: 11px; margin: 22px 0 26px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.price-card li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent-dark); }
.price-card.highlight li svg { color: var(--accent); }

.meeting-room-card {
  margin-top: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.meeting-room-card:hover { box-shadow: var(--shadow-md); }

/* ============================
   Contact page
============================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.info-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.info-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.info-card .ic {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; flex: none;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.info-card:hover .ic { transform: scale(1.1) rotate(-6deg); background: var(--accent); color: #fff; }
.info-card h4 { font-size: 15.5px; margin-bottom: 3px; }
.info-card p { font-size: 14px; margin: 0; }
.contact-form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.contact-form-card .enquiry-form { gap: 18px; }

/* ============================
   Admin — sidebar dashboard app
============================ */
.admin-app { display: flex; min-height: 100vh; align-items: stretch; }

.admin-sidebar {
  width: 252px; flex: none;
  background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; z-index: 40;
}
.admin-sidebar-brand {
  display: flex; align-items: center; gap: 10px; padding: 22px 20px;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.admin-sidebar-brand .brand-mark { width: 26px; height: 30px; flex: none; }
.admin-sidebar-brand img.brand-mark { width: auto; height: 38px; max-width: 150px; }
.admin-sidebar-brand small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }

.admin-sidebar-nav { flex: 1; overflow-y: auto; padding: 14px 12px; display: grid; gap: 2px; align-content: start; }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 14px; border-radius: var(--radius-sm); border: none; background: none;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  text-align: left; cursor: pointer; transition: background .15s, color .15s;
}
.admin-nav-item svg { width: 18px; height: 18px; flex: none; }
.admin-nav-item:hover { background: var(--paper-alt); color: var(--ink); }
.admin-nav-item.active { background: var(--accent); color: var(--paper); }
.admin-nav-badge {
  margin-left: auto; background: var(--accent); color: var(--paper);
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; line-height: 1.5;
}
.admin-nav-item.active .admin-nav-badge { background: rgba(32,30,27,.2); color: var(--paper); }
.admin-nav-group {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); padding: 16px 14px 4px; opacity: .75;
}
.admin-nav-group:first-child { padding-top: 2px; }

.admin-sidebar-footer { padding: 14px 20px 20px; border-top: 1px solid var(--line-soft); }
.admin-sidebar-footer .btn { width: 100%; }

.admin-mobile-topbar {
  display: none; position: sticky; top: 0; z-index: 35;
  align-items: center; gap: 14px; height: 60px; padding: 0 18px;
  background: rgba(32,30,27,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); color: var(--ink);
}
.admin-mobile-topbar button {
  background: none; border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 38px; color: var(--ink);
  display: grid; place-items: center; flex: none;
}
.admin-mobile-topbar .brand-name { font-size: 15px; }
.admin-sidebar-scrim { display: none; }

.admin-main { flex: 1; min-width: 0; }
.admin-main-inner { padding: 36px 40px 80px; max-width: 1280px; }

.admin-panel { display: none; }
.admin-panel.active { display: block; animation: adminFadeIn .25s var(--ease); }
@keyframes adminFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.admin-page-head { margin-bottom: 28px; }
.admin-page-head h1 { font-size: 26px; margin-bottom: 4px; }

.admin-dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
@media (max-width: 900px) { .admin-dash-grid { grid-template-columns: 1fr; } }
.admin-dash-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.admin-dash-card h3 { font-size: 15.5px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.admin-dash-card h3 a { font-size: 12.5px; font-weight: 600; color: var(--accent-dark); }
.admin-mini-list { display: grid; gap: 8px; }
.admin-mini-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; background: var(--paper-alt); border-radius: var(--radius-sm); font-size: 13px;
}
.admin-mini-row .who { font-weight: 700; color: var(--ink); }
.admin-mini-row .what { color: var(--ink-soft); font-size: 12px; }
.admin-quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

@media (max-width: 980px) {
  .admin-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
    transform: translateX(-100%); transition: transform .25s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-mobile-topbar { display: flex; }
  .admin-main-inner { padding: 24px 18px 60px; }
  .admin-sidebar-scrim.open {
    display: block; position: fixed; inset: 0; z-index: 45; background: rgba(15,17,21,.35);
  }
}

.admin-login-shell { min-height: 70vh; display: grid; place-items: center; }
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; max-width: 380px; width: 100%; box-shadow: var(--shadow-md); }
.admin-card h2 { margin-bottom: 6px; }
.admin-error { color: #c0432f; font-size: 13.5px; margin-top: -6px; }
.admin-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 900px; }
table.admin-table th, table.admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
table.admin-table th { background: var(--paper-alt); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
table.admin-table th.sortable { cursor: pointer; user-select: none; transition: color .15s; }
table.admin-table th.sortable:hover { color: var(--ink); }
table.admin-table th.sortable::after { content: "\2195"; margin-left: 5px; opacity: .35; font-size: 11px; }
table.admin-table th.sort-asc::after { content: "\2191"; opacity: 1; color: var(--accent-dark); }
table.admin-table th.sort-desc::after { content: "\2193"; opacity: 1; color: var(--accent-dark); }

.table-filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.table-filter-bar .filter-search {
  flex: 1 1 240px; min-width: 180px; padding: 9px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-family: inherit;
}
.table-filter-bar .filter-status, .table-filter-bar .filter-space {
  padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); font-size: 13px; font-family: inherit; color: var(--ink);
}
.table-filter-bar .filter-date-label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft); font-weight: 600;
}
.table-filter-bar .filter-date-label input[type="date"] {
  padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); font-size: 13px; font-family: inherit; color: var(--ink);
}
.table-filter-bar .filter-count { font-size: 12px; white-space: nowrap; }
.list-sort-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 12.5px; }
.sort-chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.sort-chip:hover { border-color: var(--ink); color: var(--ink); }
.sort-chip.active { background: var(--accent); border-color: var(--accent); color: var(--paper); }
table.admin-table td.msg-cell { white-space: normal; max-width: 260px; }
.status-pill { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.status-new { background: #fde3d3; color: #a3450e; }
.status-contacted { background: #dbe9f7; color: #1f5c96; }
.status-confirmed { background: #d8f0e0; color: #226a41; }
.status-pending_payment { background: #fbe6c8; color: #a3650e; }
.status-cancelled { background: #f1e2e2; color: #94342a; }
.status-declined { background: #f1e2e2; color: #94342a; }
.status-active { background: #d8f0e0; color: #226a41; }
.status-inactive { background: #ece9e3; color: #5c574c; }
.status-coming_soon { background: #fbe6c8; color: #a3650e; }
.status-archived { background: #f1e2e2; color: #7a5a4f; }
.status-select { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12.5px; background: var(--paper); color: var(--ink); }
.assign-multi { min-width: 140px; background: var(--paper); color: var(--ink); }
.assign-multi option { padding: 3px 6px; }
/* Chrome ignores a plain background-color on a selected <option> inside a
   multi-select and falls back to the OS highlight color (often white) —
   the gradient trick is the only reliable way to override it so a chosen
   space stays readable instead of turning into white-on-white. */
.assign-multi option:checked {
  background: linear-gradient(0deg, var(--accent-soft) 0%, var(--accent-soft) 100%);
  color: var(--ink);
}
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }

.admin-main label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.admin-main input, .admin-main select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px;
  background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 400; width: 100%;
}
.admin-main input:focus, .admin-main select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.walkin-login-toggle { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); flex-direction: row !important; }
.walkin-login-toggle input { width: auto !important; }

/* ============================
   Multi-branch admin UI
============================ */
.admin-branch-select {
  position: relative; margin: 0 16px 14px;
}
.admin-branch-select select {
  width: 100%; appearance: none; background: var(--paper-alt); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 32px 10px 12px; font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer;
}
.admin-branch-select select:focus { outline: none; border-color: var(--accent); }
.admin-branch-select-caret { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }

.admin-branch-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.admin-branch-stats-grid .stat-card { display: flex; flex-direction: column; gap: 4px; }

.admin-table-actions { text-align: right; }
.admin-inline-menu { position: relative; display: inline-block; }
.admin-inline-menu summary {
  list-style: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--accent-dark);
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line);
}
.admin-inline-menu summary::-webkit-details-marker { display: none; }
.admin-inline-menu[open] summary { border-color: var(--accent); }
.admin-inline-menu-body {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 14px; display: grid; gap: 12px; width: 260px; text-align: left;
}
.admin-inline-menu-body form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.admin-inline-menu-body input, .admin-inline-menu-body select {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12.5px;
  background: var(--paper); color: var(--ink); flex: 1; min-width: 0;
}
.admin-duplicate-form { flex-wrap: wrap; }

.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.admin-form-grid .admin-form-span2 { grid-column: 1 / -1; }
.admin-form-grid textarea { resize: vertical; }
@media (max-width: 640px) { .admin-form-grid { grid-template-columns: 1fr; } }
.admin-edit-row { display: none; }
.admin-edit-row.open { display: table-row; }
.admin-edit-row td { padding: 22px; background: var(--paper); border-radius: var(--radius-md); }
.admin-edit-row .admin-form-grid .btn-secondary { margin-left: 10px; }
.settings-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.settings-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 16px; align-items: end; }
.blocked-slot-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 24px; }
@media (max-width: 900px) {
  .settings-grid, .blocked-slot-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .settings-grid, .blocked-slot-form { grid-template-columns: 1fr; }
}

/* Hourly booking availability toggles */
.hourly-toggle-form { display: grid; gap: 4px; }
.toggle-switch-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); cursor: pointer;
}
.toggle-switch-row:last-child { border-bottom: none; }
.toggle-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.toggle-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.toggle-switch-track {
  position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .2s var(--ease);
}
.toggle-switch-track::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease);
}
.toggle-switch input:checked + .toggle-switch-track { background: var(--success); }
.toggle-switch input:checked + .toggle-switch-track::before { transform: translateX(18px); }
.toggle-switch-subrow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 4px 13px 16px; margin: -4px 0 4px; border-bottom: 1px solid var(--line-soft);
  background: var(--paper-alt); border-radius: var(--radius-sm);
}
.toggle-switch-subrow label { font-size: 13px; font-weight: 600; color: var(--ink); max-width: 62ch; }
.toggle-switch-subrow input[type="number"] {
  width: 60px; flex: none; padding: 7px 8px; text-align: center; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700;
}

/* Admin pricing — grouped cards instead of a flat input grid */
.price-settings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .price-settings-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .price-settings-grid { grid-template-columns: 1fr; } }
.price-item-card { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; }
.price-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.price-item-icon {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center;
}
.price-item-head h4 { margin: 0; font-size: 14.5px; font-family: var(--font-body); font-weight: 700; }
.price-item-fields { display: grid; gap: 10px; }
.price-item-fields label { font-size: 11.5px; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-item-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
}
.photo-item-preview {
  aspect-ratio: 16/10; background: var(--paper-alt);
  display: grid; place-items: center; font-size: 12.5px;
}
.photo-item-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-item-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.photo-item-body h4 { margin: 0; font-size: 14px; }
.photo-item-body p { font-size: 12px; margin: 0 0 8px; }
.photo-upload-form { display: grid; gap: 8px; margin-top: 4px; }

.photo-dropzone {
  cursor: pointer; display: grid; place-items: center; position: relative;
  transition: background .15s, border-color .15s;
}
.photo-dropzone:hover { background: var(--accent-soft); }
.photo-item-card:has(.photo-item-preview:not(:has(img))) .photo-dropzone {
  border-bottom: 2px dashed var(--line);
}
.photo-dropzone-hint { display: grid; place-items: center; gap: 6px; color: var(--ink-soft); }
.photo-dropzone-hint svg { color: var(--accent-dark); }
.photo-dropzone-hint .muted { font-size: 11.5px; font-weight: 600; }
.photo-file-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.blocked-list { display: grid; gap: 10px; }
.blocked-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 16px;
}
.blocked-row .info { font-size: 13.5px; }
.blocked-row .reason { color: var(--ink-soft); font-size: 12px; margin-top: 2px; }
.blocked-row form { margin: 0; }
.space-badge {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; color: var(--accent-dark); background: var(--accent-soft);
  border-radius: 999px; padding: 3px 9px; margin-right: 8px;
}

/* Admin header + quick nav */
.admin-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 248, 244, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.admin-header .brand-name { font-size: 18px; }
.admin-quicknav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.admin-quicknav a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.admin-quicknav a:hover { color: var(--ink); }

/* Stat cards */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 44px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm);
}
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--ink); }
.stat-label { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

.admin-section { padding-top: 8px; margin-bottom: 56px; scroll-margin-top: 88px; }
.admin-section .count { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.section-intro { max-width: 62ch; margin: -10px 0 20px; font-size: 13.5px; }
.status-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.bill-inline-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.bill-inline-form input[type="number"] {
  width: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12.5px;
}
.empty-cell { text-align: center; padding: 40px; color: var(--ink-soft); white-space: normal !important; }

/* Availability calendar */
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.calendar-toolbar select { width: auto; min-width: 190px; }
.calendar-nav { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14.5px; }
.calendar-nav button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  font-size: 16px; color: var(--ink); cursor: pointer;
}
.calendar-nav button:hover { background: var(--paper-alt); }
.calendar-legend { display: flex; gap: 18px; margin-bottom: 18px; font-size: 12.5px; color: var(--ink-soft); flex-wrap: wrap; }
.cal-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.cal-dot.green { background: var(--success); }
.cal-dot.yellow { background: var(--accent); }
.cal-dot.red { background: #c0432f; }
.calendar-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 auto 8px; max-width: 380px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); text-align: center;
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 380px; margin: 0 auto; }
.calendar-day {
  width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
  color: var(--ink-soft); cursor: pointer; font-family: inherit;
}
.calendar-day.empty { visibility: hidden; cursor: default; }
.calendar-day.green { background: #d8f0e0; color: #226a41; }
.calendar-day.yellow { background: #fbe6c8; color: #a3650e; }
.calendar-day.red { background: #f6d5cf; color: #9a3a26; }
.calendar-day.past { background: var(--paper-alt); color: var(--ink-soft); opacity: .55; }
.calendar-day:hover { border-color: var(--ink); }
.calendar-day.selected { outline: 2px solid var(--ink); outline-offset: 2px; }
.calendar-day:disabled { opacity: .3; cursor: not-allowed; }
.calendar-day:disabled:hover { border-color: transparent; }
.calendar-day-detail { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 16px; min-height: 24px; }
.cal-slot-list { display: grid; gap: 6px; font-size: 13px; margin: 0; padding: 0; list-style: none; }

/* Same calendar, smaller context — inside the booking modal */
.mini-calendar { margin-bottom: 4px; }
.mini-calendar .calendar-toolbar { justify-content: center; margin-bottom: 14px; }
.mini-calendar .calendar-legend { justify-content: center; margin-bottom: 14px; gap: 14px; font-size: 11.5px; }
.mini-calendar .calendar-day { font-size: 12px; }

@media (max-width: 720px) {
  .admin-quicknav { display: none; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .calendar-day { font-size: 11.5px; }
}

.admin-flash-wrap { display: grid; gap: 8px; margin: 20px 0 0; }
.admin-flash {
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent;
}
.admin-flash-error { background: #f6d5cf; color: #7a2a1a; border-color: #e8a892; }
.admin-flash-success { background: #d8f0e0; color: #226a41; border-color: #a9dab9; }

.admin-update-banner {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--paper); border: none; border-radius: 999px;
  padding: 11px 20px; font-size: 13px; font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow-lg); animation: adminBannerIn .3s var(--ease);
}
.admin-update-banner:hover { transform: translateX(-50%) translateY(-2px); }
@keyframes adminBannerIn { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%); } }

/* ============================
   Customer accounts (login/signup/My Bookings)
============================ */
.auth-shell { min-height: 60vh; display: grid; place-items: center; padding: 40px 0; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; max-width: 400px; width: 100%; box-shadow: var(--shadow-md); }
.auth-card h2 { margin-bottom: 6px; }

.mybooking-list { display: grid; gap: 12px; margin-top: 18px; }
.mybooking-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px 18px 18px; border-left: 3px solid var(--line);
}
.mybooking-card.status-edge-confirmed { border-left-color: var(--success); }
.mybooking-card.status-edge-new, .mybooking-card.status-edge-pending_payment { border-left-color: var(--accent); }
.mybooking-card.status-edge-contacted { border-left-color: #1f5c96; }
.mybooking-card.status-edge-declined, .mybooking-card.status-edge-cancelled { border-left-color: #94342a; }
.mybooking-card-past { opacity: .72; }
.mybooking-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mybooking-card-head strong { font-size: 15px; }
.mybooking-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 20px; }
.mybooking-detail-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 2px; }
.mybooking-detail-value { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mybooking-message { font-size: 13.5px; font-style: italic; color: var(--ink-soft); margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.mybooking-hint { font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0; }
.mybooking-id { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; margin-left: 8px; }
.mybooking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
/* .btn-link defaults to a full-width, centered block (right for a lone link
   under a card elsewhere) — inside this action row it needs to sit inline
   next to the other buttons instead. */
.mybooking-actions .btn-link { display: inline; width: auto; text-align: left; padding: 0; }
.mybooking-cancel-link { color: #c0432f; }
.mybooking-payment-paid { color: var(--success); }
.mybooking-payment-payment_pending { color: var(--accent-dark); }
.mybooking-payment-cancelled { color: var(--ink-soft); font-weight: 500; }

/* Booking status badges — separate from the request-status pills above
   ("pending"/"completed" here are derived display states, not raw DB
   values, so they get their own namespaced classes rather than reusing
   status-pending_payment etc. and risking a mismatch later). */
.status-mb-confirmed { background: #d8f0e0; color: #226a41; }
.status-mb-pending { background: #fbe6c8; color: #a3650e; }
.status-mb-completed { background: #dbe9f7; color: #1f5c96; }
.status-mb-cancelled { background: #f1e2e2; color: #94342a; }

.mybooking-empty {
  text-align: center; padding: 40px 24px; margin-top: 18px;
  border: 1px dashed var(--line); border-radius: var(--radius-md); background: var(--surface);
}
.mybooking-empty svg { color: var(--ink-soft); margin-bottom: 10px; }
.mybooking-empty h3 { font-size: 16px; margin-bottom: 4px; }
.mybooking-empty p { margin-bottom: 16px; font-size: 13.5px; }

.mybooking-policy-box {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-soft);
}
.mybooking-policy-box strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.mybooking-policy-box p { margin: 0 0 8px; line-height: 1.5; }
.mybooking-policy-box a { color: var(--accent); text-decoration: underline; }
.mybooking-modal { padding: 0; }
.mybooking-modal .modal-body { padding: 32px 30px; max-height: 80vh; overflow-y: auto; }
@media (max-width: 480px) {
  .mybooking-modal .modal-body { padding: 26px 20px; }
  .mybooking-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================
   Responsive
============================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
  .features-wrap { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 28px; }
  .explore-layout { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .meeting-room-card { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 0 28px; gap: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    border-bottom: 1px solid transparent;
    transition: max-height .35s var(--ease), opacity .25s var(--ease), padding .35s var(--ease), border-color .35s;
  }
  .main-nav.open { max-height: 60vh; opacity: 1; padding: 12px 28px 24px; border-color: var(--line); box-shadow: var(--shadow-md); }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .spaces-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .cta-list { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Facilities / Reviews / FAQ / Working hours / Social links — admin panels */
.admin-icon-cell svg { width: 20px; height: 20px; color: var(--accent-dark); }
.admin-hours-grid, .admin-social-grid { display: grid; gap: 10px; }
.admin-hours-row, .admin-social-row {
  display: grid; grid-template-columns: 140px 1fr auto 1fr; gap: 10px; align-items: center;
}
.admin-social-row { grid-template-columns: 140px 1fr; }
.admin-hours-day { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.admin-hours-row input[type="time"], .admin-social-row input[type="url"] {
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13.5px;
  background: var(--paper); color: var(--ink); width: 100%;
}
@media (max-width: 640px) {
  .admin-hours-row { grid-template-columns: 1fr 1fr; grid-template-areas: "day day" "start end"; }
  .admin-hours-row .admin-hours-day { grid-area: day; }
  .admin-hours-row span.muted { display: none; }
  .admin-social-row { grid-template-columns: 1fr; }
}

/* Announcement bar, footer legal links, banners */
.announcement-bar { background: var(--accent); color: #14120f; font-size: 13.5px; font-weight: 600; }
.announcement-bar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 20px; flex-wrap: wrap; text-align: center; }
.announcement-bar-inner a { color: #14120f; text-decoration: underline; font-weight: 700; }
.footer-legal-link { margin-left: 12px; font-size: 12.5px; color: var(--muted); }
.footer-legal-link:hover { color: var(--ink); }

.promo-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin: 0 0 40px; }
.promo-banner-inner { display: flex; align-items: center; gap: 24px; padding: 28px 32px; background: linear-gradient(120deg, var(--surface), var(--paper)); border: 1px solid var(--line); border-radius: var(--radius-lg); flex-wrap: wrap; }
.promo-banner-img { width: 96px; height: 96px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.promo-banner-text { flex: 1; min-width: 200px; }
.promo-banner-text h3 { margin: 0 0 4px; font-size: 19px; }
.promo-banner-text p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .promo-banner-inner { padding: 20px; }
  .promo-banner-img { width: 100%; height: 140px; }
}
