/* Layout: a calm, cool floor-plan page; the hero agenda (rooms × hours) is the signature, everything else stays quiet. */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --tint: #e9eef7;
  --ink: #121a2b;
  --muted: #536079;
  --line: #d5dce8;
  --accent: #2a52d6;
  --accent-ink: #ffffff;
  --accent-soft: #dde6fd;
  --gold: #1f9e74;
  --gold-soft: #d4f1e6;
  --danger: #c0392b;
  --band-bg: #121a2b;
  --band-fg: #eef2fa;
  --contract: #e7ebf3;
  --shadow: 0 1px 2px rgba(18, 26, 43, .06), 0 12px 32px -16px rgba(18, 26, 43, .2);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.85rem, 1.4rem + 1.9vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.3vw, 3.9rem);
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c111c; --surface: #141b2a; --tint: #101726; --ink: #e8edf7; --muted: #9aa6bf; --line: #253049;
    --accent: #7b9cff; --accent-ink: #0b1330; --accent-soft: #1c2a52; --gold: #3fd29f; --gold-soft: #12382c; --danger: #ff8a7a;
    --band-bg: #18223a; --band-fg: #e8edf7; --contract: #1c2538;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c111c; --surface: #141b2a; --tint: #101726; --ink: #e8edf7; --muted: #9aa6bf; --line: #253049;
  --accent: #7b9cff; --accent-ink: #0b1330; --accent-soft: #1c2a52; --gold: #3fd29f; --gold-soft: #12382c; --danger: #ff8a7a;
  --band-bg: #18223a; --band-fg: #e8edf7; --contract: #1c2538;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
h1, h2 { letter-spacing: -.035em; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: .95fr 1.1fr; } }

/* SpaceHub only: the logo (four rooms of a floor plan), the hero agenda and the door ticket. */
.logo-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 24px; height: 24px; }
.logo-mark span { border-radius: 3px; background: var(--accent); }
.logo-mark span:nth-child(2) { background: var(--gold); }
.logo-mark span:nth-child(3) { background: var(--accent-soft); }

.agenda { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); min-width: 0; overflow: hidden; }
.agenda-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint); }
.agenda-label { font-family: var(--font-display); font-weight: 700; }
.agenda-example { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.agenda-grid {
  position: relative; display: grid; grid-template-columns: 7.2rem repeat(16, minmax(0, 1fr)); grid-template-rows: 26px repeat(4, 58px);
  row-gap: 6px; padding: 12px 16px 14px; overflow-x: auto;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc((100% - 7.2rem - 32px) / 4 - 1px), var(--line) calc((100% - 7.2rem - 32px) / 4 - 1px), var(--line) calc((100% - 7.2rem - 32px) / 4));
  background-position: calc(7.2rem + 16px) 0; background-size: calc(100% - 7.2rem - 32px) 100%; background-repeat: no-repeat;
}
.agenda-hour { grid-row: 1; grid-column: calc(var(--start) + 2) / span 4; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); padding-left: 4px; }
.agenda-room { grid-column: 1; grid-row: var(--row); align-self: center; font-size: .8rem; font-weight: 600; padding-right: 10px; line-height: 1.25; }
.booking {
  grid-row: var(--row); grid-column: calc(var(--start) + 2) / span var(--span); margin: 0 2px; min-width: 0;
  display: grid; align-content: center; gap: 1px; padding: 6px 9px; border-radius: 8px; font-size: .74rem; line-height: 1.25; overflow: hidden;
}
.booking strong { font-weight: 600; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.booking-paid { background: var(--accent); color: var(--accent-ink); }
.booking-included { background: var(--gold-soft); color: var(--ink); border: 1px solid var(--gold); }
.booking-contract { background: var(--contract); color: var(--ink); border: 1px dashed var(--line); }
.booking-desks { background: linear-gradient(90deg, var(--accent-soft) 60%, transparent 60%), var(--contract); color: var(--ink); }
.agenda-now { grid-row: 1 / -1; grid-column: calc(var(--start) + 2); width: 2px; background: var(--danger); justify-self: start; border-radius: 2px; z-index: 1; }
.agenda-chips { list-style: none; margin: 0; padding: 12px 16px 16px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); }
.agenda-chips li { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }
.agenda-chips li:first-child { background: var(--gold-soft); border-color: transparent; }
@media (max-width: 560px) {
  .agenda-grid { grid-template-columns: 5.6rem repeat(16, minmax(16px, 1fr)); background-image: none; }
  .agenda-room { font-size: .72rem; }
  .booking span { display: none; }
}

.door-ticket {
  margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: var(--step--1);
}
.door-ticket-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--gold-soft); position: relative; }
.door-ticket-icon::after { content: ""; position: absolute; inset: 7px 9px; border: 2px solid var(--gold); border-radius: 3px 3px 0 0; border-bottom: 0; }
.door-ticket-time { color: var(--gold); font-weight: 500; }
