/* RIKVERC EVENTS — premium nightlife theme */
:root {
  --rik-black: #080808;
  --rik-navy: #06172c;
  --rik-graphite: #151515;
  --rik-gold: #d4af37;
  --rik-yellow: #ffc400;
  --rik-crimson: #8b111b;
  --rik-white: #ffffff;
  --rik-muted: #bdbdbd;
  --rik-green: #2ecc71;
  --rik-red: #e74c3c;
  --rik-orange: #e67e22;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --radius: 12px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Desktop-only “zoom out” so the full layout fits wide screens.
   Never apply on phones — it breaks touch layout and tap targets. */
@media (min-width: 900px) {
  html {
    zoom: 0.67;
  }
  @supports not (zoom: 1) {
    html {
      font-size: 67%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--rik-black);
  color: var(--rik-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* Full-page aftermovie / Halloween loop */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050505;
}

.site-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.site-bg-video.is-active {
  opacity: 1;
}

.site-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.72) 45%, rgba(8, 8, 8, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.35) 100%);
}

body.has-site-bg {
  background: transparent;
}

body.has-site-bg main,
body.has-site-bg .site-footer {
  position: relative;
  z-index: 1;
}

body.has-site-bg .site-header {
  background: rgba(8, 8, 8, 0.72);
}

body.has-site-bg .site-footer {
  background: rgba(5, 5, 5, 0.82);
}

body.has-site-bg .page-hero {
  background: transparent;
}

body.has-site-bg .hero-compact .hero-media,
body.has-site-bg .hero-compact .hero-overlay {
  display: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container-map {
  max-width: min(1400px, 98vw);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--rik-gold);
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  gap: 0.35rem;
  align-items: center;
}

.nav-link {
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--rik-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-link:hover {
  color: var(--rik-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--rik-white);
  background: rgba(212, 175, 55, 0.12);
}

.nav-link.highlight {
  color: var(--rik-gold);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
}

.nav-link.highlight.active,
.nav-link.highlight:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--rik-yellow);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: transparent;
  color: var(--rik-gold);
  border-radius: 10px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem;
  background: var(--rik-graphite);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--rik-yellow);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--rik-gold), #b8942a);
  color: #111;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--rik-gold);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--rik-white);
}

.btn-crimson {
  background: linear-gradient(135deg, var(--rik-crimson), #5c0a12);
  color: var(--rik-white);
  box-shadow: 0 0 24px rgba(139, 17, 27, 0.35);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero.hero-compact {
  min-height: clamp(220px, 32vh, 360px);
  place-items: start center;
  padding-bottom: 1.25rem;
}

.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.55) 0%,
    rgba(8, 8, 8, 0.72) 50%,
    rgba(8, 8, 8, 0.96) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero-compact .hero-content {
  padding: 1.1rem 1rem 1.5rem;
}

.hero-compact .hero-media,
.hero-compact .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-compact .hero-logo {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
}

.hero-compact .hero-tagline {
  margin: 0.85rem auto 0;
}

.hero-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 0.95;
  margin: 0;
}

.hero-logo img {
  display: block;
  width: min(92vw, 34rem);
  height: auto;
  margin: 0 auto;
}

.hero-logo span {
  display: block;
  font-size: clamp(0.75rem, 2.4vw, 1.15rem);
  letter-spacing: 0.45em;
  color: var(--rik-gold);
  margin-top: 0.75rem;
}

.hero-tagline {
  margin: 1.4rem auto 2.5rem;
  max-width: 28rem;
  color: var(--rik-muted);
  font-size: 1.05rem;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
}

.section-lead {
  color: var(--rik-muted);
  max-width: 40rem;
  margin: -0.5rem 0 2rem;
}

/* Event cards */
.event-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .event-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  background: linear-gradient(180deg, #1a1a1a, #101010);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 220px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
}

.event-card.highlight {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.18);
  background: linear-gradient(160deg, rgba(139, 17, 27, 0.35), #121212 55%);
}

.event-card h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
}

.event-meta {
  color: var(--rik-muted);
  font-size: 0.92rem;
}

.event-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Poster / TBA windows */
.poster-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .poster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.poster-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.poster-window {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(6, 23, 44, 0.85), rgba(8, 8, 8, 0.95)),
    #111;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.poster-window.highlight,
.poster-card:has(.highlight) .poster-window {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.16);
}

.poster-window:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
}

.poster-window img,
.poster-window video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* NG poster — malo vazduha iznad Beton logoa */
.upcoming-event-media.highlight .past-static {
  object-position: center 0%;
}

.past-event-media {
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  font: inherit;
  color: inherit;
}

.past-event-media .past-play {
  position: absolute;
  inset: auto auto 0.85rem 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--rik-gold);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.past-event-media.is-playing .past-play {
  display: none;
}

.past-event-media .past-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  z-index: 3;
}

.poster-tba {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.28em;
  color: var(--rik-gold);
  padding-left: 0.28em;
}

.poster-date {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.poster-title {
  margin: 0;
  text-align: center;
  color: var(--rik-muted);
  font-size: 0.92rem;
}

.poster-cta {
  width: 100%;
}

/* Event detail rows */
.event-detail {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
  .event-detail {
    grid-template-columns: 1fr 1fr;
  }
  .event-detail.reverse .event-detail-media {
    order: -1;
  }
}

.event-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  min-height: 280px;
  background: var(--rik-graphite);
}

.event-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.eyebrow {
  color: var(--rik-gold);
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: #050505;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: start;
  }
}

.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
}

.footer-nav a,
.footer-social a {
  color: var(--rik-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--rik-gold);
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--rik-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* Page hero small */
.page-hero {
  padding: 3.5rem 0 2rem;
  background: radial-gradient(ellipse at top, rgba(6, 23, 44, 0.8), transparent 60%);
}

.page-hero.ny {
  background: radial-gradient(ellipse at top, rgba(139, 17, 27, 0.45), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(212, 175, 55, 0.15), transparent 50%),
    var(--rik-black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

.page-hero .meta {
  color: var(--rik-muted);
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--rik-muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  color: var(--rik-white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field .error {
  color: #ff8a8a;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.info-card {
  background: var(--rik-graphite);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-card dt {
  color: var(--rik-gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 0.9rem;
}

.info-card dd {
  margin: 0.25rem 0 0;
  color: var(--rik-muted);
}

/* Venue map */
.map-wrap {
  position: relative;
  background: #0b0b0b;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
}

.map-hint {
  color: var(--rik-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  flex: 1;
  min-width: 12rem;
}

.map-zoom-btns {
  display: inline-flex;
  gap: 0.4rem;
}

.map-zoom-btns .btn {
  min-height: 40px;
  min-width: 40px;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1;
}

.map-viewport {
  height: min(72vh, 720px);
  overflow: hidden;
  cursor: grab;
  background: #1a0508;
  touch-action: none;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.map-viewport.dragging {
  cursor: grabbing;
}

.map-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
}

.map-photo {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

#venue-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

#venue-svg .table-shape {
  pointer-events: auto;
}

#venue-svg .table-hit {
  pointer-events: auto;
  fill: transparent;
  stroke: none;
  cursor: pointer;
}

.table-shape {
  cursor: pointer;
  stroke-width: 2;
  transition: filter 0.15s, stroke-width 0.15s, fill 0.15s;
}

.table-shape:hover,
.table-shape:focus {
  filter: brightness(1.25);
  stroke-width: 3;
  outline: none;
}

.table-shape.status-available {
  fill: rgba(46, 204, 113, 0.82);
  stroke: #1e8f4d;
  stroke-width: 2;
}

.table-shape.status-occupied {
  fill: rgba(231, 76, 60, 0.85);
  stroke: #c0392b;
}

.table-shape.status-held {
  fill: rgba(230, 126, 34, 0.85);
  stroke: #d35400;
}

.table-shape.status-selected {
  fill: rgba(255, 196, 0, 0.9);
  stroke: #d4af37;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1rem;
  color: var(--rik-muted);
  font-size: 0.85rem;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.available {
  background: #2ecc71;
}
.dot.occupied {
  background: #e74c3c;
}
.dot.held {
  background: #e67e22;
}
.dot.selected {
  background: #ffc400;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 700px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: linear-gradient(180deg, #171717, #101010);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.price-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.price-card .price {
  color: var(--rik-gold);
  font-size: 1.4rem;
  font-weight: 700;
}

.pricing-phase {
  text-align: center;
  letter-spacing: 0.08em;
}

.pricing-list {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.pricing-list li {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 2.4vw, 1.12rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--rik-white);
}

.pricing-foot {
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.5rem 0 0;
}

/* Modal / reservation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

@media (min-width: 700px) {
  .modal-backdrop {
    align-items: center;
  }
}

.modal {
  width: min(100%, 520px);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #121212;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.modal h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.modal .steps {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.modal .step-pill {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--rik-muted);
}

.modal .step-pill.active {
  background: rgba(212, 175, 55, 0.2);
  color: var(--rik-gold);
}

.summary-box {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.summary-box strong {
  color: var(--rik-gold);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.modal-actions .btn {
  flex: 1;
  min-width: 120px;
}

.demo-banner {
  background: rgba(255, 196, 0, 0.12);
  border: 1px solid rgba(255, 196, 0, 0.35);
  color: var(--rik-yellow);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  margin: 0.75rem 0 1rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.status-badge.available {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}
.status-badge.occupied {
  background: rgba(231, 76, 60, 0.2);
  color: #ff8a80;
}
.status-badge.held {
  background: rgba(230, 126, 34, 0.2);
  color: #e67e22;
}

/* Gallery */
.gallery-crumb {
  margin: 0 0 1rem;
  color: var(--rik-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-crumb a {
  color: var(--rik-gold);
  text-decoration: none;
}

.gallery-crumb a:hover {
  text-decoration: underline;
}

.crumb-sep {
  opacity: 0.45;
  margin: 0 0.35rem;
}

.calendar {
  background: var(--rik-graphite);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 2rem;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-grid .dow {
  text-align: center;
  color: var(--rik-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0;
}

.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: #0e0e0e;
  color: var(--rik-muted);
  border-radius: 8px;
  cursor: default;
  font-size: 0.85rem;
}

.cal-day.has-gallery {
  cursor: pointer;
  color: var(--rik-white);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
}

.cal-day.has-gallery:hover,
.cal-day.has-gallery:focus-visible {
  background: rgba(212, 175, 55, 0.25);
  outline: none;
}

.cal-day.empty {
  background: transparent;
  border: none;
}

.drive-tree,
.drive-folders {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.drive-node {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drive-children {
  display: none;
  flex-direction: column;
  gap: 0.45rem;
  margin-left: 1rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(212, 175, 55, 0.22);
}

.drive-children.is-expanded,
.drive-node.is-open > .drive-children {
  display: flex;
}

.drive-children[hidden] {
  display: none !important;
}

.drive-folder {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.drive-folder.is-open {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.1);
}

.drive-folder.is-open .drive-folder-chevron {
  transform: rotate(90deg);
}

.drive-folder:hover,
.drive-folder:focus-visible {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  outline: none;
}

.drive-folder.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.folder-icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--rik-gold);
  flex-shrink: 0;
}

.drive-folder-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.drive-folder-name {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.drive-folder-chevron {
  color: var(--rik-muted);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.album-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .album-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.album-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.album-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  background: #1a1a1a;
}

.album-card .body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.photo-open {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.photo-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: var(--rik-gold);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.photo-download:hover,
.photo-download:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  outline: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-controls {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

/* History timeline */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(212, 175, 55, 0.35);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rik-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.timeline-item h3 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.history-closer {
  text-align: center;
  padding: 4rem 1rem;
}

.history-closer p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  margin: 0.4rem 0;
}

.history-closer .sub {
  color: var(--rik-gold);
}

.note {
  color: var(--rik-muted);
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Mobile / phone (Android + iOS) ——— */
@media (max-width: 899px) {
  :root {
    --header-h: 60px;
    --max: 100%;
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .site-header {
    height: auto;
    min-height: var(--header-h);
    padding-top: env(safe-area-inset-top);
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand img {
    height: 34px;
  }

  .nav-mobile {
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .nav-mobile .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 10px;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .container-map {
    max-width: 100%;
    width: 100%;
    padding: 0 0.5rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero.hero-compact {
    min-height: clamp(180px, 28vh, 280px);
  }

  .hero-content {
    padding: 1.5rem 0.75rem 1.25rem;
  }

  .hero-logo img {
    width: min(86vw, 22rem);
  }

  .hero-tagline {
    font-size: 0.95rem;
    margin: 1rem auto 1.5rem;
  }

  .page-hero {
    padding: 2rem 0 1.5rem;
  }

  .page-hero .meta {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

  .page-hero .btn {
    width: auto;
    min-width: min(100%, 280px);
  }

  .map-wrap {
    border-radius: 10px;
  }

  .map-viewport {
    height: min(68dvh, 560px);
    height: min(68vh, 560px);
  }

  .map-hint {
    font-size: 0.72rem;
    min-width: 0;
  }

  .legend {
    gap: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .table-shape {
    stroke-width: 2.5;
  }

  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal {
    width: 100%;
    max-width: 100%;
    max-height: min(90dvh, 92vh);
    border-radius: 18px 18px 0 0;
    padding: 1.15rem 1rem calc(1.15rem + env(safe-area-inset-bottom));
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .pricing-list li {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  .footer-nav,
  .footer-social {
    gap: 0.75rem 1rem;
  }

  .lightbox img {
    max-width: 96vw;
    max-height: 72vh;
  }

  .lightbox-controls {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.35rem;
  }

  .map-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .map-zoom-btns {
    justify-content: stretch;
  }

  .map-zoom-btns .btn {
    flex: 1;
  }

  .map-viewport {
    height: min(62dvh, 480px);
    height: min(62vh, 480px);
  }
}

/* Prefer coarser pointers: larger tap targets on map */
@media (hover: none) and (pointer: coarse) {
  .table-shape:hover,
  .table-shape:focus {
    filter: none;
  }

  .event-card:hover,
  .poster-card:hover {
    transform: none;
  }
}
