/* ─── Alpine x-cloak — hide until Alpine initialises ────────── */
[x-cloak] { display: none !important; }

/* ─── Google Fonts are loaded in base.html ─────────────────── */

/* ─── SVG icon safety — prevent unsized SVGs blowing up ─────── */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Tailwind w-*/h-* classes set width/height via CSS — this caps
   any SVG that slips through without an explicit size class */
svg:not([width]):not([height]):not([class*="w-"]) {
  width:  20px;
  height: 20px;
}

/* ─── Design tokens ─────────────────────────────────────────── */
/*
  Studio Znak system (https://studioznak.com): one fixed dark look —
  black page, white type, white panels with black type where a block needs
  to stand out. Inter only. Flat: no shadows, no card borders. Image
  corners 16px, buttons 14px, pills 40px, inputs 4px.
  Yellow is reserved for actions (primary CTA / active state) — never decoration.
  <html> always carries .dark so existing Tailwind dark: variants apply.
*/
:root {
  color-scheme: dark;

  /* Colour */
  --color-bg:            #000000;
  --color-surface:       #111111;
  --color-nav:           #000000;
  --color-primary:       #FFFFFF;
  --color-subdued:       rgba(255, 255, 255, 0.8);
  --color-secondary:     rgba(255, 255, 255, 0.6);
  --color-muted:         #1A1A1A;
  --color-border:        rgba(255, 255, 255, 0.14);
  --color-border-strong: #FFFFFF;
  --color-panel:         #FFFFFF;   /* white "shape" blocks */
  --color-on-panel:      #000000;
  --color-brand:         #F5E20B;
  --color-brand-hover:   #E8D200;

  /* Status */
  --color-success:  #4ade80;
  --color-pending:  #fbbf24;
  --color-error:    #f87171;

  /* Type */
  --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   20px;
  --text-xl:   28px;
  --text-2xl:  40px;
  --text-3xl:  56px;
  --tracking-tight: -0.025em;
  --tracking-label:  0.04em;

  /* Structure */
  --border:        1px solid var(--color-border);
  --border-strong: 1px solid var(--color-border-strong);
  --radius-card:   16px;
  --radius-button: 999px;
  --radius-input:  4px;
  --radius-sm:     10px;
  --radius-md:     14px;
  --radius-modal:  16px;
  --radius-pill:   40px;

  /* Layout */
  --space-section: 96px;
  --page-wide:     1680px;
}

@media (max-width: 767px) {
  :root { --space-section: 64px; }
}

/* ─── Base reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  background-color: var(--color-bg);
  color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Semantic colour utilities ──────────────────────────────── */
.bg-page     { background-color: var(--color-bg); }
.bg-surface  { background-color: var(--color-surface); }
.bg-nav      { background-color: var(--color-nav); }
.bg-brand    { background-color: var(--color-brand); }
.text-primary   { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.border-border  { border-color: var(--color-border); }
.font-sans       { font-family: var(--font-sans); }
.font-display    { font-family: var(--font-sans); }
.font-cormorant  { font-family: var(--font-sans); }

/* ─── Typography ─────────────────────────────────────────────── */
/* Inter carries the whole hierarchy: tight bold headlines, uppercase
   tracked labels, regular body. Sentence case throughout. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

.hero-headline {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* Legacy serif accent — now just inherits the headline. */
.accent-word {
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: inherit;
}

/* Eyebrow / label / meta: the grotesque-poster small text. */
.eyebrow,
.label-caps {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.3;
}

/* Type scale */
.text-scale-xs   { font-size: var(--text-xs); }
.text-scale-sm   { font-size: var(--text-sm); }
.text-scale-base { font-size: var(--text-base); }
.text-scale-lg   { font-size: var(--text-lg); }
.text-scale-xl   { font-size: var(--text-xl); }
.text-scale-2xl  { font-size: var(--text-2xl); }
.text-scale-3xl  { font-size: var(--text-3xl); }

/* Section rhythm — wide vertical gaps between dense grids */
.section-gap { padding-block: var(--space-section); }

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Cards (generic — used for article cards etc.) ───────────── */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.card-scroll-item > .card {
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
}

/* ─── Listing card — full-bleed overlay (events & experiences) ── */
/*
  Entire card IS the image. Text overlaid via gradient.
  Structure:
    <article.listing-card>
      <img.listing-card-img>
      <div.listing-card-gradient>
      <a.listing-card-link>          ← invisible full-card link
      <div.listing-card-top>         ← date + category badges
      <div.listing-card-body>
        <a.listing-card-title-link>
          <h3.listing-card-title>
        <p.listing-card-loc>
        <div.listing-card-actions>
          <span.listing-card-price>  ← ghost pill (price or Free)
          <a.listing-card-cta>       ← yellow pill CTA
*/

.listing-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-muted);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: pointer;
  display: block;
}

.listing-card:hover {
  transform: translateY(-6px);
}

/* Full-bleed image */
.listing-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-card:hover .listing-card-img {
  transform: scale(1.05);
}

/* No-image fallback div (same class, different element) */
div.listing-card-img {
  background: linear-gradient(160deg, #1c1c1c 0%, #2a2a2a 100%);
}

/* Gradient overlay — heavier at bottom for legibility */
.listing-card-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.52) 40%,
    rgba(0, 0, 0, 0.04) 65%,
    transparent 80%
  );
}

/* Invisible full-card link for mouse clicks — skipped by keyboard */
.listing-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

/* Top badge row */
.listing-card-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 4;
  pointer-events: none; /* decorative — clicks fall through to card link */
}

/* Date pill (events) */
.listing-card-date {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

/* Category pill — mono (yellow is reserved for actions) */
.listing-card-cat {
  background: #FFFFFF;
  color: #000;
  border: 1px solid #000;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* Bottom content body */
.listing-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 3;
}

/* Title — wrapped in <a> for keyboard nav */
.listing-card-title-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 4;
}

.listing-card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Location row */
.listing-card-loc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Excerpt — used by article cards in place of location + actions */
.listing-card-excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-loc svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.listing-card-loc span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action row: price pill + CTA pill */
.listing-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

/* Price — ghost pill */
.listing-card-price {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Free events — slightly smaller, uppercase */
.listing-card-price.is-free {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
}

.listing-card-price.is-external {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: 12px;
  padding-right: 12px;
  color: rgba(255, 255, 255, 0.82);
}

/* CTA — yellow pill */
.listing-card-cta {
  flex: 1;
  background: #F5E20B;
  color: #000000;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  z-index: 4; /* above the invisible card link */
  transition: background 0.15s ease, transform 0.12s ease;
}

.listing-card-cta:hover {
  background: #e8d200;
  transform: scale(1.03);
}

.listing-card-cta:active {
  transform: scale(0.98);
}

/* Ensure listing-card works in scroll strips (width set by .card-scroll-item) */
.card-scroll-item > .listing-card {
  width: 100%;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: var(--color-brand);
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-brand);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: transparent;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-button);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--color-border-strong);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: var(--color-panel);
  color: var(--color-on-panel);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn-light:hover {
  opacity: 0.88;
}

/* Znak's grey pill: translucent white on the image, black type */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

/* Large size modifier (hero). Declared after the button styles so it wins. */
.btn-lg {
  padding: 0 20px;
  height: 48px;
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 640px) {
  .btn-lg { padding: 0 28px; height: 54px; font-size: 15px; }
}

/* ─── Forms ──────────────────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-input);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-border-strong);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.3rem;
}

/* ─── Status badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.badge-live     { background: rgba(74,222,128,0.12);  color: var(--color-success); }
.badge-pending  { background: rgba(251,191,36,0.12);  color: var(--color-pending); }
.badge-draft    { background: rgba(255,255,255,0.08); color: var(--color-secondary); }
.badge-past     { background: rgba(255,255,255,0.08); color: var(--color-secondary); }
.badge-paid     { background: rgba(74,222,128,0.12);  color: var(--color-success); }
.badge-failed   { background: rgba(248,113,113,0.12); color: var(--color-error); }
.badge-free     { background: transparent; color: var(--color-primary); border: var(--border-strong); }

/* ─── Layout utilities ───────────────────────────────────────── */
.container-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px)  { .container-page { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-page { padding: 0 2rem; } }

/* ─── Section headings ───────────────────────────────────────── */
.section-heading {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* ─── Image aspect ratios ────────────────────────────────────── */
.aspect-event    { aspect-ratio: 16 / 9; }
.aspect-square   { aspect-ratio: 1 / 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Divider ────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* ─── Responsive grid helpers ────────────────────────────────── */
/* Same rhythm as the homepage grid: 2 columns on mobile, 3 on tablet, 4 on desktop */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}
@media (min-width: 768px)  { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 14px; } }

/* ─── Horizontal-peek card strip — all screen sizes ─────────── */
/*
  Single row, scrolls left → right with scroll-snap.
  Uses vw-based width so % ambiguity in nested flex never bites.
  Mobile: card = 78vw so next card peeks ~22vw from the right.
  Tablet+: fixed 300–320 px cards, 2–3 visible at once.
  overflow-x: scroll (not auto) forces scroll on iOS Safari.
  No mask-image — breaks WebKit compositing.
*/
.card-scroll-strip {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 1rem;         /* trailing space shows sliver of last card */
  padding-top: 8px;            /* headroom so cards can lift on hover… */
  margin-top: -8px;            /* …without shifting the layout */
}
.card-scroll-strip::-webkit-scrollbar { display: none; }

/* vw-based so it always works regardless of flex container ancestry */
.card-scroll-item {
  flex: 0 0 auto;
  width: calc(78vw);
  scroll-snap-align: start;
}

@media (min-width: 480px)  { .card-scroll-item { width: 300px; } .listing-card { aspect-ratio: 4 / 5; } }
@media (min-width: 768px)  { .card-scroll-item { width: 320px; } }

/* Event detail hero: square on mobile, ultrawide banner on md+ */
.event-detail-hero {
  aspect-ratio: 1 / 1;
  max-height: none;
}
@media (min-width: 768px) {
  .event-detail-hero {
    aspect-ratio: 21 / 9;
    max-height: 340px;
  }
}

/* YouTube facade play button */
.yt-play-btn {
  width: 64px;
  height: 44px;
  background: #ff0000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s;
}
.yt-play-btn:hover { background: #cc0000; transform: scale(1.08); }

/* Mobile cover image — bordered, flat */
.mobile-hero-shadow {
  border: var(--border);
}

/* Experience gallery carousel */
.exp-carousel-track {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  height: 100%;
}
.exp-carousel-track::-webkit-scrollbar { display: none; }
.exp-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
}

/* ─── Price display ──────────────────────────────────────────── */
.price-tag {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
}

.price-free {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-success);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Loading / skeleton ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--color-border) 25%, var(--color-surface) 50%, var(--color-border) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Focus visible ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-border-strong);
  outline-offset: 2px;
}

/* ─── Hide scrollbar (used on horizontal pill rows) ─────────── */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ─── Scrollbar (webkit) ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 99px; }

/* ─── Line clamp (for card titles) ──────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Tailwind bg-brand / text-brand aliases ─────────────────── */
.text-brand  { color: #F5E20B; }
.bg-brand    { background-color: #F5E20B; }

/* ─── Transition helpers not in Tailwind config ─────────────── */
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }

/* ─── Legal page body typography (prose-legal) ───────────────── */
.prose-legal { font-size: 15px; line-height: 1.8; color: var(--color-secondary); }
.prose-legal h1,.prose-legal h2,.prose-legal h3,.prose-legal h4 { font-family: var(--font-sans); color: var(--color-primary); font-weight: 700; letter-spacing: var(--tracking-tight); margin-top: 2rem; margin-bottom: 0.75rem; }
.prose-legal h2 { font-size: 1.25rem; }
.prose-legal h3 { font-size: 1.05rem; }
.prose-legal p { margin-bottom: 1rem; }
.prose-legal ul,.prose-legal ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.prose-legal ul { list-style-type: disc; }
.prose-legal ol { list-style-type: decimal; }
.prose-legal li { margin-bottom: 0.35rem; }
.prose-legal a { color: var(--color-primary); text-decoration: underline; }
.prose-legal a:hover { opacity: 0.75; }
.prose-legal strong { color: var(--color-primary); font-weight: 600; }
.prose-legal hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }

/* ─── Homepage hero ──────────────────────────────────────────── */
/*
  Znak-style: full-bleed rotating images that fade to the black page at
  the bottom; fixed, type-led copy on top. Left-aligned, sentence case.
*/
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 82svh;
  display: flex;
  background: var(--color-bg);
}
@media (min-width: 1024px) { .hero-slider { min-height: 88svh; } }

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Legibility on the left + dissolve into the black page at the bottom */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.05) 80%),
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 22%, rgba(0,0,0,0) 55%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 20%);
}

.hero-content {
  position: relative;
  z-index: 25;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding-block: 120px 96px;
}
@media (min-width: 1024px) { .hero-content { padding-block: 140px 120px; } }

.hero-copy { max-width: 1100px; }

.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.75rem, 6.4vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  max-width: 19ch;
}

.hero-sub {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-subdued);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  margin-top: 28px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-subdued);
}

/* Slide indicators — white, not yellow (yellow is for actions) */
.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px)  { .hero-dots { right: 32px; } }
@media (min-width: 1280px) { .hero-dots { right: 48px; } }
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.3s ease, background-color 0.3s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero-dot.is-active { width: 24px; background: #FFFFFF; }

/* ─── Znak listing card (events & experiences) ───────────────── */
/*
  Square image, nothing printed on it. Meta, title and price sit
  underneath on the black page. No borders or lines; the whole card is
  one link and lifts on hover.
    <article.wdo-card>
      <a.wdo-card-link>
        <div.wdo-card-media><img></div>
        <p.wdo-card-meta>     ← date · time (uppercase label)
        <h3.wdo-card-title>   ← bold anchor
        <p.wdo-card-price>    ← range, single price or Free
*/
.wdo-card {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wdo-card:hover { transform: translateY(-6px); }

.wdo-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-card);
}

.wdo-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-muted);
}
.wdo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wdo-card-meta {
  margin-top: 12px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--color-secondary);
}

.wdo-card-title {
  margin-top: 6px;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wdo-card-price {
  margin-top: 4px;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-subdued);
}

@media (max-width: 639px) {
  .wdo-card-title { font-size: var(--text-sm); }
  .wdo-card-price { font-size: 13px; }
  .wdo-card-meta  { font-size: 11px; margin-top: 10px; }
}

/* ─── Znak card grid ─────────────────────────────────────────── */
/* Homepage rails: mobile 2 columns × 2 rows (4 cards); desktop (≥1024px) 4 columns × 2 rows (8 cards). */
.container-wide {
  max-width: var(--page-wide);
  margin: 0 auto;
  padding-inline: 16px;
}
@media (min-width: 768px)  { .container-wide { padding-inline: 32px; } }
@media (min-width: 1280px) { .container-wide { padding-inline: 48px; } }

.wdo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}
@media (min-width: 1024px) {
  .wdo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 14px;
  }
}
.wdo-grid > .desktop-only { display: none; }
@media (min-width: 1024px) {
  .wdo-grid > .desktop-only { display: block; }
}

/* Section header row: title left, optional link right */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* ─── All / Events / Experiences toggle ─────────────────────── */
/* Active = white shape, black type (Znak). Yellow stays for actions. */
.type-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-button);
  background: var(--color-muted);
}
.type-toggle-item {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-secondary);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.type-toggle-item:hover { color: var(--color-primary); }
.type-toggle-item.is-active {
  background: var(--color-panel);
  color: var(--color-on-panel);
}

/* ─── Pill button hover — Znak zoom ─────────────────────────── */
/*
  Measured on studioznak.com: on hover a pill button eases to 97% scale
  over 0.25s and brightens; leaving eases it back. Applies to the named
  button styles plus any link/button using Tailwind's rounded-full.
  Element-qualified selectors outrank Tailwind's transition-* utilities.
*/
a.btn-primary, button.btn-primary,
a.btn-secondary, button.btn-secondary,
a.btn-light, button.btn-light,
a.btn-glass, button.btn-glass,
a.rounded-full, button.rounded-full {
  transition:
    transform 0.25s ease,
    background-color 0.125s ease-in-out,
    border-color 0.125s ease-in-out,
    color 0.125s ease-in-out,
    opacity 0.125s ease-in-out;
}
a.btn-primary:hover, button.btn-primary:hover,
a.btn-secondary:hover, button.btn-secondary:hover,
a.btn-light:hover, button.btn-light:hover,
a.btn-glass:hover, button.btn-glass:hover,
a.rounded-full:hover, button.rounded-full:hover {
  transform: scale(0.97);
}
/* Grey pill brightens to solid white, as on Znak */
a.btn-glass:hover, button.btn-glass:hover { background-color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) {
  a.btn-primary:hover, button.btn-primary:hover, a.btn-secondary:hover, button.btn-secondary:hover,
  a.btn-light:hover, button.btn-light:hover, a.btn-glass:hover, button.btn-glass:hover,
  a.rounded-full:hover, button.rounded-full:hover { transform: none; }
}

/* ─── Event / experience detail page ───────────────────────────── */
/*
  Desktop: square image left (sticky), everything else right.
  Mobile: image, then title/details/tickets, with a booking bar pinned
  to the bottom of the screen.
*/

/* Status notices: cancelled = red status; rescheduled = white panel */
.detail-notice {
  background: var(--color-panel);
  color: var(--color-on-panel);
  font-size: var(--text-sm);
  padding-block: 12px;
}
.detail-notice.is-error { background: #a32d2d; color: #fff; }

.detail-top { padding-block: 24px 48px; }
@media (min-width: 1024px) { .detail-top { padding-block: 48px 72px; } }
.detail-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .detail-media { position: sticky; top: 88px; }
}

/* Square gallery */
.detail-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-muted);
}
.detail-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.detail-gallery-slide { flex: 0 0 100%; height: 100%; }
.detail-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-gallery-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.detail-gallery-nav.is-prev { left: 12px; }
.detail-gallery-nav.is-next { right: 12px; }
.detail-gallery-count {
  position: absolute;
  bottom: 14px;
  left: 50%;
  translate: -50% 0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Right column */
.detail-kicker {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-subdued);
  margin-bottom: 14px;
}
.detail-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.detail-byline {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-subdued);
}
a.detail-byline[href]:hover { color: #fff; }
.detail-byline-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.detail-byline-avatar img { width: 100%; height: 100%; object-fit: cover; }

.detail-box {
  margin-top: 24px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  overflow: hidden;
}
.detail-facts { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 12px; }
.detail-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; }
.detail-facts svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--color-secondary); }
.detail-link { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 2px; }
.detail-link:hover { color: #fff; }
.detail-box-note {
  padding: 10px 18px;
  font-size: 13px;
  color: var(--color-subdued);
  background: rgba(255, 255, 255, 0.05);
}

.detail-block { margin-top: 24px; }
.detail-block-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }

/* Date choices */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.choice-pill {
  min-height: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: background-color 0.125s ease-in-out, color 0.125s ease-in-out, border-color 0.125s ease-in-out;
}
.choice-pill:hover:not([aria-disabled]) { border-color: #fff; }
.choice-pill.is-on { background: #fff; color: #000; border-color: #fff; }
.choice-pill[aria-disabled] { opacity: 0.4; cursor: not-allowed; }

/* Ticket tiers — selectable rows */
.tier-list { display: grid; gap: 8px; }
.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid transparent;
  transition: border-color 0.125s ease-in-out, background-color 0.125s ease-in-out;
}
a.tier-row:hover { border-color: rgba(255, 255, 255, 0.3); }
.tier-row.is-on { border-color: #fff; background: #1a1a1a; }
.tier-row[aria-disabled] { opacity: 0.45; }
.tier-name { font-size: 15px; font-weight: 600; }
.tier-desc { margin-top: 2px; font-size: 13px; color: var(--color-secondary); }
.tier-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.tier-price { margin-top: 2px; }
/* Quantity stepper — starts at 0; a tier with tickets picked gets the white outline */
.qty-stepper { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.qty-btn {
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1a1a1a; color: #fff; font-size: 18px; line-height: 1;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.qty-btn:hover:not(:disabled) { background: #fff; color: #000; }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.tier-row.is-on .qty-btn { background: #2a2a2a; }
.qty-num {
  width: 32px; text-align: center; background: transparent; border: 0; padding: 0;
  color: #fff; font-size: 15px; font-weight: 600; -moz-appearance: textfield;
}
.qty-num::-webkit-outer-spin-button, .qty-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-num:focus { outline: none; }
.qty-note { margin-top: 8px; font-size: 13px; color: var(--color-secondary); }

.detail-promo {
  margin-top: 20px;
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

/* Price + CTA */
.detail-buy {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.detail-price {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.detail-price.is-small { font-size: 1.5rem; }
.detail-price-note { margin-top: 4px; font-size: 13px; color: var(--color-secondary); }
.btn-primary.is-disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary.is-disabled:hover { transform: none; }
/* Nothing picked yet: still clickable (it scrolls to the tickets), just quieter */
.btn-primary.is-idle { opacity: 0.45; }

.detail-attending { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--color-subdued); }
.attendee-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--color-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.attendee-dot img { width: 100%; height: 100%; object-fit: cover; }

.detail-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-actions > div { flex: 0 0 auto; }

.detail-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.detail-section-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.detail-description {
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-subdued);
}
.detail-small { font-size: 14px; line-height: 1.5; color: var(--color-secondary); }

/* Series calendar day states (modal is a white .panel-light) */
.cal-day-selected { background: #000; color: #fff; }
.cal-day-current { box-shadow: inset 0 0 0 1px #000; }
.cal-day-available:hover { background: rgba(0, 0, 0, 0.08); }

/* White panel: flips the colour tokens so shared partials render black-on-white */
.panel-light {
  --color-bg:        #FFFFFF;
  --color-surface:   #FFFFFF;
  --color-muted:     #EFEFEF;
  --color-primary:   #000000;
  --color-subdued:   rgba(0, 0, 0, 0.8);
  --color-secondary: rgba(0, 0, 0, 0.6);
  --color-border:    rgba(0, 0, 0, 0.13);
  --color-border-strong: #000000;
  color-scheme: light;
  background: var(--color-bg);
  color: var(--color-primary);
}

.host-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 18px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}
.host-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.host-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.host-card-name { font-size: 16px; font-weight: 700; }
.host-card-bio { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--color-secondary); }
.detail-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: var(--color-subdued);
}
.tag-pill:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* Mobile booking bar: pinned to the bottom on phones/tablets, hidden on desktop */
.mobile-book {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-book-price { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.mobile-book-spacer { height: 84px; }
@media (min-width: 1024px) {
  .mobile-book, .mobile-book-spacer { display: none; }
}
/* On phones the pinned bar is the CTA, so the in-page price + button would repeat it */
@media (max-width: 1023px) {
  body:has(.mobile-book) .detail-buy { display: none; }
}

/* Keep the cookie banner and location prompt above the mobile booking bar so they never hide the CTA */
.cookie-banner, .location-prompt { transition: bottom 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (max-width: 1023px) {
  body:has(.mobile-book) .cookie-banner,
  body:has(.mobile-book) .location-prompt { bottom: 92px !important; }
}

/* Host card on phones: avatar + text on one row, button full width underneath */
@media (max-width: 639px) {
  .host-card > .min-w-0 { flex-basis: calc(100% - 84px); }
  .host-card > .btn-secondary { width: 100%; }
}

/* Sold out — always bold caps, wherever it shows */
.sold-out { font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Footer newsletter (Znak: brand left, signup right; pill field, button inside) ── */
.footer-top { display: grid; gap: 40px; margin-bottom: 40px; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; align-items: start; } }
.news { width: 100%; max-width: 440px; }
@media (min-width: 1024px) { .news { justify-self: end; text-align: right; } }
.news-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-secondary); margin-bottom: 8px; }
.news-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.news-sub { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--color-subdued); }
.news-pill {
  margin-top: 20px; display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 22px; border-radius: 999px; background: #d4d4d4;
}
.news-pill input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0;
  font-size: 15px; color: #000; outline: none;
}
.news-pill input::placeholder { color: rgba(0, 0, 0, 0.5); }
.news-pill:focus-within { outline: 2px solid #F5E20B; outline-offset: 2px; }
.news-pill .btn-primary { flex-shrink: 0; padding: 12px 22px; }
.news-pill .btn-primary:disabled { opacity: 0.6; }
.news-note { margin-top: 10px; font-size: 12px; color: var(--color-secondary); }
.news-note.is-error { color: #f87171; }

/* ── Discovering Ghana: YouTube row (landscape, main weight) + Instagram reel strip ── */
.yt-row { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-top: 8px; margin-top: -8px; scrollbar-width: none; }
.yt-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .yt-row { grid-auto-columns: 46%; gap: 20px; } }
@media (min-width: 1024px) { .yt-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 32px 24px; } }
.yt-card { display: block; align-self: start; text-align: left; scroll-snap-align: start; color: inherit;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.yt-card:hover { transform: translateY(-6px); }
.yt-card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-card);
  overflow: hidden; background: var(--color-surface); }
.yt-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background-color 0.25s ease, transform 0.25s ease; }
.yt-play svg { width: 22px; height: 22px; margin-left: 3px; }
.yt-card:hover .yt-play { background: #F5E20B; color: #000; transform: scale(1.06); }
.yt-duration { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.75); color: #fff; font-size: 12px; font-weight: 600; }
.yt-card-title { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ig-strip { margin-top: 56px; overflow: hidden; }
.ig-track { display: flex; gap: 16px; width: max-content; animation: ig-drift 70s linear infinite; }
.ig-strip:hover .ig-track, .ig-strip:focus-within .ig-track { animation-play-state: paused; }
@keyframes ig-drift { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.ig-reel { flex: 0 0 auto; width: 160px; aspect-ratio: 9 / 16; border-radius: var(--radius-card); overflow: hidden;
  background: var(--color-surface); }
@media (min-width: 768px) { .ig-reel { width: 220px; } .ig-track { gap: 24px; }
  @keyframes ig-drift { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } } }
.ig-reel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ig-reel:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .ig-strip { overflow-x: auto; }
  .ig-track { animation: none; }
  .ig-reel[aria-hidden="true"] { display: none; }
}
.ig-follow { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ig-follow-line { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em; }

.yt-lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0, 0, 0, 0.9); }
.yt-lightbox-inner { position: relative; width: 100%; max-width: 1040px; }
.yt-lightbox-close { position: absolute; top: -44px; right: 0; color: rgba(255, 255, 255, 0.75); }
.yt-lightbox-close:hover { color: #fff; }
.yt-lightbox-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: #000; }
.yt-lightbox-frame iframe { width: 100%; height: 100%; }
/* Desktop shows whole rows of 3; extras stay in the phone's swipe row */
@media (min-width: 1024px) { .yt-card.is-extra { display: none; } }
@media (max-width: 767px) {
  .discover .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Story cards in the homepage 2-column grid on phones: taller, tighter text so title + excerpt fit */
@media (max-width: 639px) {
  .wdo-grid .listing-card { aspect-ratio: 3 / 4; }
  .wdo-grid .listing-card-body { padding: 12px; }
  .wdo-grid .listing-card-title { font-size: 15px; margin-bottom: 4px; -webkit-line-clamp: 3; }
  .wdo-grid .listing-card-excerpt { font-size: 12px; line-height: 1.4; }
}

/* ── Nav: icon buttons, drop-down search, avatar, account panel (Znak) ── */
.nav-icon { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-subdued); transition: color 0.2s ease, background-color 0.2s ease; }
.nav-icon:hover, .nav-icon[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-search { border-top: 1px solid var(--color-border); background: #000; }
.nav-search-field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 5px 0 16px;
  border-radius: 999px; background: var(--color-surface); color: var(--color-secondary); }
.nav-search-field input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 15px; }
.nav-search-field input::placeholder { color: var(--color-secondary); }
.nav-search-field .btn-primary { padding: 9px 18px; }
.user-avatar { border-radius: 999px; object-fit: cover; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.user-avatar.is-initial { background: #fff; color: #000; font-weight: 700; font-size: 13px; }

.acct-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.55); }
.acct-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: #fff; color: #000; border-radius: 20px 20px 0 0; text-align: left; }
.acct-panel-from { transform: translateY(24px); }
@media (min-width: 768px) {
  .acct-backdrop { display: none; }
  .acct-panel { position: absolute; left: auto; right: 0; bottom: auto; top: calc(100% + 10px); width: 360px; padding: 20px; border-radius: 20px; }
  .acct-panel-from { transform: translateY(-6px); }
}
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.acct-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.acct-sub { font-size: 13px; color: rgba(0, 0, 0, 0.55); }
.acct-close { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: #f0f0f0; display: inline-flex; align-items: center; justify-content: center; }
.acct-close:hover { background: #e2e2e2; }
.acct-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 999px;
  border: 1px solid #000; background: #fff; color: #000; font-size: 15px; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease; }
.acct-google:hover { background: #000; color: #fff; }
.acct-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(0, 0, 0, 0.45); }
.acct-or::before, .acct-or::after { content: ''; flex: 1; height: 1px; background: rgba(0, 0, 0, 0.12); }
.acct-email-field { display: flex; align-items: center; height: 52px; padding: 0 6px 0 16px; border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.18); }
.acct-email-field:focus-within { border-color: #000; }
.acct-email-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: #000; font-size: 15px; }
.acct-email-field input::placeholder { color: rgba(0, 0, 0, 0.45); }
.acct-email-field button { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #000; }
.acct-email-field button:hover { background: #f0f0f0; }
.acct-check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: #000; cursor: pointer; }
.acct-check input { width: 16px; height: 16px; accent-color: #000; }
.acct-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.acct-pill { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.14); color: #000; font-size: 14px; font-weight: 500; transition: background-color 0.2s ease; }
.acct-pill:hover { background: #f4f4f4; }
.acct-links { display: flex; flex-direction: column; margin-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.1); padding-top: 6px; }
.acct-links a { padding: 11px 4px; font-size: 15px; font-weight: 500; color: #000; border-radius: 10px; }
.acct-links a:hover { background: #f4f4f4; padding-left: 10px; transition: padding 0.2s ease; }
.acct-links a.is-signout { color: #b42318; }

.acct-panel .user-avatar.is-initial { background: #000; color: #fff; }

/* ── Booking progress bar: square steps, colours from the page tokens ── */
.bk-circle { width: 34px; height: 34px; background: var(--color-muted); color: var(--color-secondary); font-size: 14px; font-weight: 700; }
.bk-circle.is-current { background: #F5E20B; color: #000; }
.bk-circle.is-done { background: var(--color-primary); color: var(--color-bg); }
.bk-track { flex: 1; height: 2px; background: var(--color-muted); }
.bk-track.is-done { background: var(--color-primary); }
.bk-label { width: 34px; font-size: 11px; line-height: 1.3; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--color-secondary); white-space: nowrap; display: flex; justify-content: center; }
.bk-label.is-current { color: var(--color-primary); font-weight: 700; }
.bk-steps .flex-1 { min-width: 0; }
.bk-steps .bk-label:first-child { justify-content: flex-start; }
.bk-steps .bk-label:last-child { justify-content: flex-end; }

/* ── Checkout (booking steps 1–3): a white, square panel on the black site ──
   0px radius, no shadows, 1px black borders; yellow stays the action colour. */
.checkout {
  --color-border: #000000; --color-border-strong: #000000; --color-muted: #F2F2F2;
  padding: 28px 20px 36px;
}
@media (min-width: 768px) { .checkout { padding: 44px 48px 52px; } }
.checkout, .checkout *, .checkout *::before, .checkout *::after { border-radius: 0 !important; box-shadow: none !important; }
.checkout h1 { font-weight: 700; letter-spacing: -0.02em; }
.checkout .form-input, .checkout .form-select, .checkout .form-textarea,
.checkout input[type="text"], .checkout input[type="email"], .checkout input[type="tel"] {
  background: #fff; border: 1px solid #000; color: #000; }
.checkout .form-input:focus, .checkout input:focus { outline: 2px solid #000; outline-offset: -2px; }
.checkout input::placeholder, .checkout textarea::placeholder { text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: rgba(0, 0, 0, 0.4); }
.checkout .form-label { letter-spacing: 0.06em; }
.checkout .btn-primary, .checkout .btn-secondary { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.checkout .btn-secondary { border: 1px solid #000; background: #fff; color: #000; }
.checkout .bg-brand { color: #000; }

/* Checkout ticket / package rows: one list split by 1px rules; − n + in square boxes */
.checkout .ck-rows { border-top: 1px solid #000; border-bottom: 1px solid #000; }
.checkout .ck-row { padding: 16px 0; transition: background-color 0.15s ease; }
.checkout .ck-row + .ck-row { border-top: 1px solid rgba(0, 0, 0, 0.18); }
.checkout .ck-row.is-on { background: #FFFBD6; box-shadow: -12px 0 0 #FFFBD6, 12px 0 0 #FFFBD6 !important; }
.checkout .ck-qty { display: flex; align-items: center; flex-shrink: 0; }
.checkout .ck-qty-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #000; background: #fff; color: #000; transition: background-color 0.15s ease; }
.checkout .ck-qty-btn:hover { background: #F5E20B; }
.checkout .ck-qty-num { width: 44px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-top: 1px solid #000; border-bottom: 1px solid #000; font-size: 15px; font-weight: 700; color: #000; user-select: none; }
@media (max-width: 639px) { .bk-label:not(.is-current) { visibility: hidden; } }
.checkout .ck-rows { border-bottom: 0; }

/* ── allauth pages (password reset, change password, confirm email…): centred Znak column ── */
.is-auth #main { width: 100%; max-width: 440px; margin: 0 auto; padding: 72px 16px 96px; }
.is-auth #main h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 12px; }
.is-auth #main h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.is-auth #main p { font-size: 15px; line-height: 1.6; color: var(--color-subdued); margin-bottom: 16px; }
.is-auth #main form p { margin-bottom: 18px; color: inherit; }
.is-auth #main label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.is-auth #main input[type="email"], .is-auth #main input[type="text"], .is-auth #main input[type="password"], .is-auth #main textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: var(--radius-input); background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 15px; outline: none; }
.is-auth #main input:focus { border-color: #fff; }
.is-auth #main input[type="checkbox"] { width: 16px; height: 16px; accent-color: #F5E20B; margin-right: 8px; vertical-align: middle; }
.is-auth #main input[type="checkbox"] + label { display: inline; text-transform: none; letter-spacing: 0; font-weight: 500; }
.is-auth #main button, .is-auth #main a[href].button {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 4px;
  border-radius: 999px; background: #F5E20B; color: #000; font-size: 15px; font-weight: 600;
  transition: transform 0.25s ease; }
.is-auth #main button:hover { transform: scale(0.97); }
.is-auth #main form + form button, .is-auth #main button[name="action_remove"] { background: #1a1a1a; color: #fff; }
.is-auth #main a:not(.button) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.is-auth #main span { display: block; margin-top: 6px; font-size: 13px; color: var(--color-secondary); }
.is-auth #main ul.errorlist { margin: 0 0 10px; color: #f87171; font-size: 13px; }
.is-auth #main hr { border: 0; border-top: 1px solid var(--color-border); margin: 28px 0; }
.is-auth #main section { margin-top: 24px; }
.is-auth #main table { width: 100%; font-size: 14px; border-collapse: collapse; }
.is-auth #main td, .is-auth #main th { padding: 10px 0; border-bottom: 1px solid var(--color-border); text-align: left; }

/* File pickers: never wider than their box; the button is a grey Znak pill */
input[type="file"] { max-width: 100%; font-size: 13px; color: var(--color-secondary); }
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: #1a1a1a; color: #fff;
  font: inherit; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease; }
input[type="file"]::file-selector-button:hover { background: #2a2a2a; }
.panel-light input[type="file"]::file-selector-button, .checkout input[type="file"]::file-selector-button { background: #f0f0f0; color: #000; }
.is-auth #main form + p, .is-auth #main form ~ p { margin-top: 18px; }
.is-auth #main form ul:not(.errorlist) { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--color-secondary); }

/* ══ Dashboard kit (host, author, admin): anything inside .dashboard-frame ══
   The dashboard markup was written for a light panel, so light utilities are mapped
   onto the Znak dark tokens here. */
  /* Host dashboard, Znak system: black page, flat #111 cards (no borders or shadows),
     pill buttons, yellow only for the main action. The markup was written for a light
     panel, so its light utility classes are mapped onto the dark tokens here. */
  .dashboard-frame { background:#000 !important; }
  .dashboard-card, .dashboard-soft-card { background:#111; border:0 !important; border-radius:16px; }
  .dashboard-nav-icon svg, .dashboard-icon { width:16px; height:16px; stroke-width:1.5; }


  .dashboard-frame .text-black, .dashboard-sidebar .text-black, .dashboard-mobile-nav .text-black { color:#fff !important; }
  .dashboard-frame [class*="text-[#"], .dashboard-sidebar [class*="text-[#"], .dashboard-mobile-nav [class*="text-[#"] { color:rgba(255,255,255,.6) !important; }
  .dashboard-frame [class*="text-[#a32d2d]"] { color:#f87171 !important; }
  .dashboard-frame .text-white { color:#fff !important; }
  .dashboard-frame h1 { letter-spacing:-0.02em; }

  /* Buttons: the light theme's black button is the main action → yellow pill; white/grey → grey pill */
  .dashboard-frame .bg-brand, .dashboard-frame .bg-black { background:#F5E20B !important; color:#000 !important; }
  .dashboard-frame .bg-white, .dashboard-frame [class*="bg-[#f"] { background:#1a1a1a !important; color:#fff; }
  /* Per-row buttons (small, repeated on every card/row) are white pills; yellow stays for the page's main action */
  .dashboard-frame .bg-black.text-xs { background:#fff !important; color:#000 !important; }
  .dashboard-frame span.bg-white { background:#fff !important; color:#000 !important; }
  .dashboard-frame [class*="bg-[#e"] { background:#262626 !important; }
  .dashboard-frame a.rounded-lg, .dashboard-frame button.rounded-lg, .dashboard-frame a.rounded-md,
  .dashboard-frame button.rounded-md, .dashboard-frame a.rounded-xl, .dashboard-frame button.rounded-xl { border-radius:999px !important; }
  .dashboard-frame .hover\:bg-\[\#f7f7f6\]:hover, .dashboard-frame .hover\:bg-\[\#f3f3f2\]:hover { background:#262626 !important; }
  .dashboard-frame .hover\:text-black:hover, .dashboard-sidebar .hover\:text-black:hover { color:#fff !important; }

  /* Sections and panels: flat #111, 16px radius, no borders (hairlines stay for rows/dividers) */
  .dashboard-frame .bg-surface { background:#111 !important; }
  .dashboard-frame .bg-surface.border, .dashboard-frame .bg-surface.border-border { border-color:transparent !important; }
  .dashboard-frame .rounded-xl, .dashboard-frame .rounded-2xl { border-radius:16px; }
  .dashboard-frame .border-black\/10, .dashboard-frame [class*="border-black/10"],
  .dashboard-frame .divide-black\/10 > :not([hidden]) ~ :not([hidden]) { border-color:rgba(255,255,255,.12) !important; }
  .dashboard-frame .border-dashed { border-color:rgba(255,255,255,.2) !important; }
  /* Bordered boxes from the light theme: sections become flat #111 cards, rows inside them #1a1a1a */
  .dashboard-frame :is(div, section, article, form).border.border-border.rounded-xl,
  .dashboard-frame :is(div, section, article, form).border.border-border.rounded-2xl { border-color:transparent !important; background:#111; }
  .dashboard-frame :is(.rounded-xl, .rounded-2xl, .dashboard-card) :is(div, li, article).border.border-border.rounded-lg,
  .dashboard-frame :is(.rounded-xl, .rounded-2xl, .dashboard-card) :is(div, li, article).border.border-border.rounded-xl { border-color:transparent !important; background:#1a1a1a; }

  /* Inputs: transparent with a light hairline, like the public forms */
  .dashboard-frame input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .dashboard-frame select, .dashboard-frame textarea {
    background:transparent !important; border-color:rgba(255,255,255,.28) !important; color:#fff !important; border-radius:4px !important; }
  .dashboard-frame input:focus, .dashboard-frame select:focus, .dashboard-frame textarea:focus { border-color:#fff !important; outline:none; }
  .dashboard-frame input::placeholder, .dashboard-frame textarea::placeholder { color:rgba(255,255,255,.4) !important; }
  .dashboard-frame select option { background:#111; color:#fff; }

  /* Phones: grid columns may shrink below their content, and long links (private URLs) wrap */
  .dashboard-frame .grid > * { min-width:0; }
  .dashboard-frame a:not([class]), .dashboard-frame code { overflow-wrap:anywhere; }   /* e.g. the file field's "Currently: <long filename>" link */
  .dashboard-frame .overflow-x-auto { max-width:100%; }


/* ── Admin panel frame (templates/admin_panel/base.html): black bars, pill sidebar items ── */
.admin-sidebar { background: #000; }
.admin-sidebar nav a { border-radius: 999px !important; }
.admin-sidebar nav a:hover { background: #111 !important; }
.admin-sidebar .admin-nav-on { background: #1a1a1a; color: #fff; }

/* Yellow buttons set inline keep black text even where the kit maps text-black to white */
.dashboard-frame [style*="F5E20B"], .dashboard-frame [style*="f5e20b"] { color:#000 !important; }
/* Dashboard buttons stay on one line (phones would otherwise wrap "New event") */
.dashboard-frame :is(a, button).rounded-lg, .dashboard-frame :is(a, button).rounded-full { white-space: nowrap; }

/* ── Marketing pages (About, Advertise, Careers, Become a Host): body.mkt ──
   Flat #111 cards without borders; section bands lose their hairlines. */
.mkt main :is(div, article, a, li).border.border-border:is(.rounded-lg, .rounded-xl, .rounded-2xl) { border-color: transparent !important; background-color: #111; border-radius: 16px; }
.mkt main section.border-y, .mkt main section.border-t, .mkt main section.border-b,
.mkt main div.border-y, .mkt main div.border-b.bg-surface, .mkt main div.border-t.bg-surface { border-color: transparent !important; }
