@font-face {
  font-family: 'Beyond Worth';
  src: url('/fonts/BeyondWorth-Regular.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
/* ========================================
   HANGAR — Brand System (Manual de Marca)
   Coral #ea7250 · White · Sky #7ec8e3
   Let's Fly Together · #amorporhangar
   ======================================== */

:root {
  --coral: #ea7250;        /* color corporatiu principal */
  --coral-dark: #c45a3c;
  --coral-light: #f4a58e;
  --sky: #7ec8e3;          /* color complementari — el cel de l'aeròdrom */
  --sky-dark: #5aa8c6;
  --sky-light: #d6eef6;
  --terra: #3b1a0a;
  --sand: #faf3e8;
  --sand-dark: #f0e2cc;
  --cream: #fffcf7;
  --olive: #5a7247;
  --olive-light: #e8f0e2;
  --gold: #d4a853;
  --gold-light: #fdf5e0;

  --bg: var(--sand);
  --card-bg: var(--cream);
  --card-border: #e8d8c4;
  --text: var(--terra);
  --text-muted: #8a6d55;
  --accent: var(--coral);
  --accent-hover: var(--coral-dark);
  --ok: #3a8a52;
  --ok-bg: var(--olive-light);
  --ok-border: #c2dbb5;
  --warn: #b8860b;
  --warn-bg: var(--gold-light);
  --warn-border: #ecd5a0;
  --danger: #c0392b;
  --danger-bg: #fde8e5;
  --danger-border: #f0b4ac;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(59, 26, 10, 0.08);
  --shadow-lg: 0 12px 48px rgba(59, 26, 10, 0.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* ---- Typography ----
   Display: Fraunces (retro, with character — substitut lliure de Beyond Worth)
   Body: Figtree (proper, llegible — en lloc de PublicaPlay) */
h1, h2, h3 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 50, 'WONK' 1;
  line-height: 1.05;
  margin-bottom: 0.5em;
  color: var(--terra);
  letter-spacing: -0.01em;
}
h1 { font-size: 1.9rem; font-weight: 900; }
h2 { font-size: 1.4rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin-bottom: 0.75em; color: var(--text-muted); }

/* ---- Page Shell ---- */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.container { width: 100%; max-width: 720px; margin: 0 auto; flex: 1; }
.wide { width: 100%; max-width: 1080px; margin: 0 auto; flex: 1; }

/* ---- Topbar ---- */
.topbar {
  max-width: 1080px;
  margin: 0 auto 12px auto;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 6px;
  z-index: 10;
}

.brand { display: flex; align-items: center; }
.brand .logo-svg { height: 22px; width: auto; color: var(--coral); }

.topbar-actions { display: flex; gap: 4px; flex-wrap: nowrap; }

.nav-link {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--sand);
  border: 1px solid var(--card-border);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.nav-link--logout {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}

.nav-link--logout:hover {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: var(--danger-border);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-lg);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}

.hero-bg { position: absolute; inset: 0; }

.hero-image { width: 100%; height: 100%; object-fit: cover; }

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,26,10,0.92) 0%, rgba(59,26,10,0.6) 40%, rgba(59,26,10,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 16px;
  width: 100%;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.3em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---- Card ---- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}

/* ---- Grid ---- */
.grid { display: grid; gap: 14px; }
.grid .card { margin-bottom: 0; }

/* ---- Pills ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  background: rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

.pill--accent { background: var(--coral); color: #fff; border-color: var(--coral); }
.pill--ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-border); }
.pill-icon { font-size: 13px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---- Forms ---- */
.form-grid { display: grid; gap: 14px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  background: var(--sand);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(234, 114, 80, 0.15);
}

textarea { min-height: 80px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  background: var(--coral);
  color: #fff;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { background: var(--coral-dark); color: #fff; }
.btn:active { transform: scale(0.98); }

.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; width: 100%; }
.btn--secondary { background: var(--sand); color: var(--text); border: 1px solid var(--card-border); }
.btn--secondary:hover { background: var(--sand-dark); color: var(--text); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #a5281d; }

/* ---- Actions / Toolbar ---- */
.actions { display: grid; gap: 10px; margin-top: 12px; }
.toolbar { display: grid; gap: 10px; }

/* ---- Consents ---- */
.consents { display: grid; gap: 10px; margin-top: 4px; }
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft, #6b5848);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 2px 0 0 0;
  padding: 0;
  background: #fff;
  accent-color: var(--accent);
  cursor: pointer;
  flex: none;
}
.consent .req { color: var(--accent); font-weight: 700; }

.consent-marks { display: flex; flex-wrap: wrap; gap: 4px; }
.consent-marks .badge { font-size: 10px; padding: 2px 6px; }

.search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* ---- Alerts ---- */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
}

.alert--ok { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok); }
.alert--error { background: var(--danger-bg); border-color: var(--danger-border); color: var(--danger); }
.alert--warn { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn); }

/* ---- Ticket pass ---- */
.muted { color: var(--text-muted); }

.ticket-wrap {
  max-width: 380px;
  margin: 8px auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ticket-pass {
  position: relative;
  /* Targeta sempre en clar, independent del tema night */
  --cream: #fffcf7;
  --terra: #3b1a0a;
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(59, 26, 10, 0.18);
}
.ticket-pass .ticket-pass__event { color: #fff; }

/* Top band */
.ticket-pass__head {
  position: relative;
  background: linear-gradient(150deg, #f4a58e 0%, var(--coral) 48%, var(--coral-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 26px 22px 30px;
}
.ticket-pass__head::after {
  /* subtle festive glow */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,0.35), transparent 60%);
  pointer-events: none;
}
.ticket-pass__logo { display: flex; justify-content: center; margin-bottom: 14px; }
.ticket-pass__logo .logo-svg { height: 26px; width: auto; color: #fff; }

.ticket-pass__pill {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ticket-pass__event {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.1;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.ticket-pass__date { font-weight: 700; font-size: 0.95rem; }
.ticket-pass__meta { font-size: 0.85rem; opacity: 0.92; margin-top: 2px; }

/* Perforation divider */
.ticket-pass__perf {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--sand-dark);
  margin: 0 18px;
}
.ticket-pass__notch {
  position: absolute;
  top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 -2px 3px rgba(59,26,10,0.08);
}
.ticket-pass__notch--l { left: -31px; }
.ticket-pass__notch--r { right: -31px; }

/* Stub */
.ticket-pass__body { text-align: center; padding: 26px 22px 28px; }
.ticket-pass__qr {
  display: inline-flex;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--sand-dark);
  box-shadow: 0 6px 18px rgba(59,26,10,0.10);
}
.ticket-pass__qr img { width: 230px; height: 230px; display: block; }

.ticket-pass__code {
  margin-top: 16px;
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--terra);
}
.ticket-pass__holder { margin-top: 12px; }
.ticket-pass__name { font-weight: 800; font-size: 1.05rem; color: var(--terra); }
.ticket-pass__email { color: var(--text-muted); font-size: 0.9rem; }
.ticket-pass__hint {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ticket-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.ticket-actions .btn { width: auto; }

/* The print/PDF ticket only exists when printing */
.ticket-print { display: none; }

/* ---- Status boxes (Check-in results) ---- */
.status-box {
  padding: 20px 16px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 14px;
  border: 1px solid;
}

.status-box .big {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.status-box p { color: inherit; opacity: 0.85; margin-bottom: 0; }
.result-name { font-size: 1.1rem; font-weight: 700; margin-top: 8px; opacity: 0.9; }
.status-box--ok { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok); }
.status-box--used { background: var(--danger-bg); border-color: var(--danger-border); color: var(--danger); }
.status-box--miss { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn); }

.result-detail {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.stat {
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  border: 1px solid var(--card-border);
  text-align: center;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--terra);
}

.stat-num--ok { color: var(--ok); }
.stat-num--warn { color: var(--warn); }

/* ---- Desktop Table (hidden on mobile) ---- */
.table-desktop { display: none; }

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: var(--card-bg);
}

th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  font-size: 13px;
}

th {
  background: var(--sand);
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
}

td code {
  font-size: 11px;
  background: var(--sand);
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.empty-row {
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
}

/* ---- Mobile User Cards ---- */
.mobile-cards {
  display: grid;
  gap: 10px;
}

.user-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.user-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

.user-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--terra);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-card__rows {
  display: grid;
  gap: 6px;
}

.user-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.user-card__row span:last-child {
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.user-card__label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.user-card__row code {
  font-size: 11px;
  background: var(--sand);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.user-card__row a {
  color: var(--accent);
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge--used { background: var(--ok-bg); color: var(--ok); }
.badge--pending { background: var(--sand); color: var(--text-muted); border: 1px solid var(--card-border); }

/* ---- Login ---- */
.login-card {
  max-width: 420px;
  margin: 40px auto;
}

.login-logo { text-align: center; margin-bottom: 20px; }
.login-logo .logo-svg { height: 32px; width: auto; color: var(--coral); display: inline-block; }

/* (legacy global video/canvas rules removed — the scanner has scoped styles) */

/* ---- Footer ---- */
.site-footer {
  margin-top: auto;
  padding: 24px 12px 12px;
  text-align: center;
}

.footer-inner { max-width: 720px; margin: 0 auto; }
.footer-logo .logo-svg { height: 20px; width: auto; color: var(--coral-light); display: inline-block; margin-bottom: 6px; opacity: 0.6; }
.site-footer p { font-size: 12px; color: var(--text-muted); opacity: 0.6; }

.footer-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ---- Print / PDF ----
   Distinct design from the web. Built from borders + dark text (backgrounds are
   skipped by default when printing), laid out as a clean document ticket. */
@media print {
  @page { margin: 16mm; }

  .topbar, .site-footer, .footer-note, .no-print, .btn, button,
  .ticket-screen, .pnav, .pfooter { display: none !important; }
  .page { padding: 0; display: block; }
  .hero { display: none; }
  html, body { background: #fff !important; color: #1c1c1c !important; }
  body.night main { padding: 0 !important; }

  .ticket-wrap { margin: 0 auto; max-width: 100%; padding: 0 !important; }
  .ticket-print { display: block; }

  .tp {
    border: 1.5px solid #2b2b2b;
    border-radius: 10px;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    font-family: 'Inter', Arial, sans-serif;
    color: #1c1c1c;
  }

  /* Top bar */
  .tp__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1.5px solid #2b2b2b;
  }
  .tp__logo .logo-svg { height: 22px; width: auto; color: #1c1c1c; }
  .tp__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: 1px solid #2b2b2b;
    border-radius: 4px;
    padding: 4px 10px;
  }

  /* Two columns: details + QR */
  .tp__cols { display: flex; align-items: stretch; }
  .tp__info { flex: 1; padding: 20px 22px; }
  .tp__event {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 16px;
    line-height: 1.1;
  }
  .tp__rows { display: grid; gap: 9px; }
  .tp__row {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    font-size: 13px;
    align-items: baseline;
  }
  .tp__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
    font-weight: 700;
    color: #777;
    padding-top: 1px;
  }
  .tp__value { font-weight: 600; color: #1c1c1c; }
  .tp__value--mono {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    letter-spacing: 0.12em;
    font-weight: 700;
  }

  .tp__qr {
    border-left: 1.5px dashed #999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 190px;
  }
  .tp__qr img { width: 150px; height: 150px; display: block; }
  .tp__qrhint {
    margin-top: 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
  }

  .tp__foot {
    border-top: 1px solid #ccc;
    padding: 9px 18px;
    font-size: 10.5px;
    color: #777;
    text-align: center;
  }
}

/* ============================================
   TABLET (>=600px)
   ============================================ */
@media (min-width: 600px) {
  .page { padding: 14px; }
  h1 { font-size: 1.8rem; }
  .card { padding: 20px; }
  .hero { min-height: 300px; }
  .hero-title { font-size: 2.6rem; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .search-row { grid-template-columns: 1fr auto auto; }
  .actions.inline { grid-auto-flow: column; grid-auto-columns: minmax(0, 200px); justify-content: center; }
  .btn--lg { width: auto; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .topbar { padding: 12px 18px; border-radius: var(--radius); }
  .brand .logo-svg { height: 26px; }
  .nav-link { padding: 8px 14px; font-size: 14px; }
  .qr-box img { width: 280px; height: 280px; }
  .login-card { margin: 60px auto; }
  .stat { padding: 16px; }
  .stat-num { font-size: 2rem; }
}

/* ============================================
   DESKTOP (>=900px) — show table, hide cards
   ============================================ */
@media (min-width: 900px) {
  .page { padding: 16px; }
  h1 { font-size: 2.2rem; }
  .card { padding: 28px; }
  .hero { min-height: 400px; }
  .hero-title { font-size: 3.4rem; }
  .hero-content { padding: 28px 24px; }
  .topbar { padding: 14px 20px; margin-bottom: 20px; border-radius: 20px; }
  .brand .logo-svg { height: 28px; }
  .grid { gap: 20px; }

  /* Show table, hide mobile cards */
  .table-desktop { display: block; }
  .mobile-cards { display: none; }

  .status-box .big { font-size: 2rem; }
}

/* ===== Multi-event UI ===== */
.badge--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-border); }

.events-head { margin-bottom: 18px; }
.events-head h1 { margin: 0 0 4px; }
.events-head p { color: var(--text-muted); margin: 0 0 12px; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(59,26,10,0.12); color: inherit; }
.event-card__media { position: relative; aspect-ratio: 3 / 4; background: var(--sand-dark); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--coral-light), var(--coral)); }
.event-card__status { position: absolute; top: 10px; left: 10px; }
.event-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.event-card__body h2 { margin: 0; font-size: 1.15rem; }
.event-card__meta { color: var(--text); font-weight: 600; margin: 0; }
.event-card__loc { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.event-card__cta { margin-top: 10px; }

.card-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.card-head-row h1 { margin: 0 0 4px; }
.card-head-row p { margin: 0; color: var(--text-muted); }

.stats--compact { margin-top: 12px; }

.admin-event {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
}
.admin-event__media { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-dark); }
.admin-event__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-event__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.admin-event__head h2 { margin: 0; font-size: 1.2rem; }
.admin-event__date { color: var(--text-muted); font-weight: 600; }
.admin-event__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.admin-event__actions .btn { padding: 8px 14px; font-size: 14px; width: auto; }
.inline-form { display: inline; margin: 0; }

.form-image-preview { margin-bottom: 8px; }
.form-image-preview img { max-width: 160px; border-radius: var(--radius-sm); border: 1px solid var(--card-border); display: block; }

.result-event { margin-top: 4px; font-weight: 600; color: var(--text-muted); }

@media (max-width: 560px) {
  .admin-event { grid-template-columns: 80px 1fr; }
}

/* ===== Legal / privacy page ===== */
.legal { line-height: 1.7; }
.legal h2 { font-size: 1.1rem; margin-top: 22px; }
.legal__updated { color: var(--text-muted); font-size: 13px; margin-top: -4px; }
.legal ul { margin: 0 0 12px 20px; color: var(--text-muted); }
.legal li { margin-bottom: 4px; }
.footer-links { margin-top: 6px; font-size: 13px; }

/* ===== Privacy editor ===== */
.card-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card-head-actions .btn { width: auto; }
.legal-help code { background: rgba(0,0,0,0.06); padding: 1px 5px; border-radius: 4px; font-size: 0.85em; }
.legal-editor { min-height: 420px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; }

/* ============================================
   HANGAR brand landing
   ============================================ */
.plane-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }

/* ---- Hero ---- */
.brand-hero {
  position: relative;
  margin: 0 auto 28px;
  max-width: 1080px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(255,255,255,0.22), transparent 55%),
    linear-gradient(155deg, var(--coral-light) 0%, var(--coral) 45%, var(--coral-dark) 120%);
  color: #fff;
  text-align: center;
  padding: 64px 22px 56px;
  box-shadow: var(--shadow-lg);
}
.brand-hero__plane {
  position: absolute;
  top: 26px; right: 30px;
  font-size: 46px;
  color: rgba(255,255,255,0.5);
  transform: rotate(8deg);
}
.brand-hero__inner { position: relative; z-index: 2; }
.brand-hero__logo .logo-svg { height: 64px; width: auto; color: #fff; margin: 0 auto; }
.brand-hero__slogan {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  font-size: clamp(1.8rem, 7vw, 3.2rem);
  color: #fff;
  margin: 14px 0 6px;
  line-height: 1;
}
.brand-hero__coords {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 6px 0 2px;
}
.brand-hero__place {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  margin: 0 0 22px;
}
.btn--hero {
  background: #fff;
  color: var(--coral);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
}
.btn--hero:hover { background: var(--sand); color: var(--coral-dark); transform: translateY(-2px); }

/* ---- About ---- */
.eyebrow {
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.about {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 0 6px;
  text-align: center;
}
.about__title { font-size: clamp(1.7rem, 6vw, 2.8rem); margin-bottom: 14px; }
.about__text { font-size: 1.05rem; line-height: 1.7; color: var(--text); opacity: 0.86; max-width: 620px; margin: 0 auto 18px; }
.about__text em { font-style: italic; color: var(--coral); font-weight: 600; }
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  background: var(--sky-light);
  color: var(--sky-dark);
  border: 1px solid var(--sky);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* ---- Events section ---- */
.events-section { max-width: 1080px; margin: 0 auto 30px; }
.section-head { text-align: center; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state .plane-icon { font-size: 42px; color: var(--coral-light); margin: 0 auto 10px; }

/* ---- Footer brand ---- */
.site-footer { margin-top: 40px; }
.footer-inner { text-align: center; }
.footer-logo .logo-svg { height: 26px; color: var(--coral); margin: 0 auto 10px; }
.footer-slogan {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--terra);
  margin: 0 0 2px;
}
.footer-coords { font-size: 12px; letter-spacing: 0.12em; color: var(--text-muted); margin: 0 0 2px; font-weight: 600; }
.footer-loc { font-size: 13px; color: var(--text-muted); margin: 0 0 6px; }
.footer-tag { font-size: 14px; font-weight: 700; color: var(--coral); margin: 0 0 8px; }
.footer-links { font-size: 13px; margin: 0; }

/* ============================================================
   HANGAR — Public site (cinematic night theme)
   Warm near-black canvas · cream type · coral signal
   ============================================================ */
/* Public site — brand light theme (blanc + coral, sense negre).
   ponytail: the .night class name is legacy; values are now light. */
body.night {
  --night: #fff;            /* fons blanc 100% */
  --night-2: #fff4ec;       /* superfícies (blanc amb toc coral) */
  --cream: #3b1a0a;         /* text (terra fosc de marca, no negre) */
  --cream-2: #8a6d55;       /* text secundari */
  --line: rgba(59,26,10,0.12);
  background: var(--night);
  color: var(--cream);
  font-family: 'Figtree', system-ui, sans-serif;
}
body.night .page { display: block; padding: 0; }
body.night main { display: block; }
body.night h1, body.night h2, body.night h3 { color: var(--cream); text-transform: uppercase; letter-spacing: -0.015em; }
body.night a { color: var(--cream); }
body.night ::selection { background: var(--coral); color: #fff; }
/* Subtítols i etiquetes: Arial Italic (manual de marca) */
body.night .kicker, body.night .phero__sub, body.night .section-head-dark p, body.night .phero__eyebrow {
  font-family: Arial, 'Helvetica Neue', sans-serif; font-style: italic;
}

/* ---- Nav ---- */
.pnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.pnav--solid {
  background: rgba(255,253,250,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.pnav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 22px;
}
/* Over the hero photo: white; once scrolled (solid bg): brand colours */
.pnav__brand .logo-svg { height: 24px; width: auto; color: #fff; display: block; }
.pnav--solid .pnav__brand .logo-svg { color: var(--coral); }
.pnav__links { display: none; gap: 26px; align-items: center; }
.pnav__links a { font-family: Arial, sans-serif; font-style: italic; text-transform: uppercase; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.92); transition: color 0.2s; }
.pnav--solid .pnav__links a { color: var(--cream-2); }
.pnav__links a:hover { color: var(--coral); }
.pnav__cta {
  font-family: Arial, sans-serif; font-style: italic; text-transform: uppercase;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  padding: 9px 18px; border-radius: 999px;
  background: var(--coral); color: #fff !important;
  transition: transform 0.2s, background 0.2s;
}
.pnav__cta:hover { background: var(--coral-dark); transform: translateY(-1px); }

/* ---- Buttons ---- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none; transition: all 0.2s ease; border: 1px solid transparent;
}
.btn-pill--solid { background: var(--coral); color: #fff; }
.btn-pill--solid:hover { background: var(--coral-dark); color: #fff; transform: translateY(-2px); }
.btn-pill--ghost { background: transparent; color: var(--coral); border-color: rgba(234,114,80,0.55); }
.btn-pill--ghost:hover { border-color: var(--coral); background: var(--coral); color: #fff; }

/* ---- Kicker ---- */
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 14px;
}

/* ---- Hero ---- */
.phero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.phero__bg { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.phero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(46,22,12,0.68) 0%, rgba(46,22,12,0.3) 45%, rgba(46,22,12,0.08) 100%),
    radial-gradient(120% 90% at 50% 120%, rgba(234,114,80,0.22), transparent 60%);
}
.phero__logo { margin: 0 0 20px; }
.phero__logo .logo-svg { height: clamp(48px, 12vw, 104px); width: auto; color: #fff; filter: drop-shadow(0 4px 24px rgba(0,0,0,0.35)); }
.phero__content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 22px 8px; }
.phero__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; opacity: 0.92; margin-bottom: 16px; }
.phero__title {
  font-family: 'Fraunces', serif;
  font-weight: 900; line-height: 0.95; letter-spacing: -0.01em;
  font-size: clamp(2.8rem, 11vw, 6.5rem);
  color: #fff; margin: 0 0 18px; text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.phero__title em { font-style: normal; color: #fff; }
.phero__sub { font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,0.9); max-width: 540px; margin: 0 0 26px; line-height: 1.5; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phero__foot {
  position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 26px 22px calc(22px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(255,255,255,0.22); margin-top: 32px;
}
.phero__scroll { color: rgba(255,255,255,0.8) !important; font-weight: 600; }
.phero__scroll:hover { color: var(--coral) !important; }

/* ---- Experience ---- */
.exp { max-width: 1200px; margin: 0 auto; padding: clamp(70px, 12vw, 130px) 22px; }
.exp__head { max-width: 720px; }
.exp__title { font-size: clamp(2rem, 7vw, 4rem); line-height: 1; margin-bottom: 22px; }
.exp__title em { font-style: italic; color: var(--coral); }
.exp__lead { font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.7; color: var(--cream-2); }
.exp__features { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.feat { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat__title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.3rem; color: var(--cream); display: flex; align-items: center; gap: 12px; }
.feat__title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.feat__desc { font-size: 0.95rem; color: var(--cream-2); padding-left: 20px; }

/* ---- Gallery marquee ---- */
.gallery { overflow: hidden; padding: 8px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery__track { display: flex; gap: 14px; width: max-content; animation: marquee 42s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery__item { width: 300px; height: 210px; flex: none; border-radius: 14px; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gallery__track { animation: none; } }

/* ---- Events ---- */
.pevents { max-width: 1200px; margin: 0 auto; padding: clamp(70px, 12vw, 120px) 22px clamp(50px, 8vw, 90px); }
.section-head-dark { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head-dark h2 { font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; margin-bottom: 12px; }
.section-head-dark p { color: var(--cream-2); }
.pevent-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.pcard {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; color: var(--cream) !important;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 16/10; background: var(--night-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__status { position: absolute; top: 14px; left: 14px; }
.pcard__body { padding: 20px 22px 24px; }
.pcard__date { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.pcard__title { font-size: 1.6rem; margin: 6px 0 4px; line-height: 1.05; }
.pcard__loc { display: block; font-size: 0.9rem; color: var(--cream-2); margin-bottom: 14px; }
.pcard__cta { font-size: 14px; font-weight: 700; color: var(--cream); }
.pcard:hover .pcard__cta { color: var(--coral); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tag--live { background: var(--coral); color: #fff; }
.tag--off { background: rgba(255,255,255,0.92); color: var(--cream); border: 1px solid var(--line); }
.empty-dark { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: 18px; color: var(--cream-2); }

/* ---- Footer ---- */
.pfooter { border-top: 1px solid var(--line); max-width: 1200px; margin: 0 auto; padding: 60px 22px 40px; }
.pfooter__top { text-align: center; margin-bottom: 44px; }
.pfooter__logo .logo-svg { height: 30px; color: var(--coral); margin: 0 auto 12px; }
.pfooter__slogan { font-family: 'Beyond Worth', 'Fraunces', serif; font-size: 1.6rem; color: var(--cream); text-transform: uppercase; }
.pfooter__grid { display: grid; gap: 30px; grid-template-columns: 1fr; margin-bottom: 40px; }
.pfooter__label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.pfooter__grid p { color: var(--cream-2); margin: 0 0 4px; font-size: 0.95rem; }
.pfooter__grid a { color: var(--cream-2); }
.pfooter__grid a:hover { color: var(--coral); }
.pfooter__coords { font-size: 0.85rem; letter-spacing: 0.06em; }
.pfooter__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--cream-2); }
.pfooter__bottom a { color: var(--cream-2); }
.pfooter__bottom a:hover { color: var(--coral); }

/* ---- Responsive (public) ---- */
@media (min-width: 720px) {
  .pevent-grid { grid-template-columns: repeat(2, 1fr); }
  .exp__features { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .exp__features .feat:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .pfooter__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .pnav__links { display: flex; }
  .pevent-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Event detail (night) ---- */
.ehero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.ehero__bg { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.ehero__bg--solid { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.ehero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,22,12,0.85) 0%, rgba(46,22,12,0.45) 55%, rgba(46,22,12,0.2) 100%); }
.ehero__content { position: relative; z-index: 2; max-width: 1080px; width: 100%; margin: 0 auto; padding: 120px 22px 40px; }
.ehero__back { display: flex; width: fit-content; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85) !important; margin-bottom: 18px; }
.ehero__back:hover { color: var(--coral) !important; }
.ehero__title { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(2.4rem, 9vw, 5rem); line-height: 0.96; color: #fff; margin: 0 0 14px; }
.ehero__meta { font-size: 1rem; letter-spacing: 0.04em; color: #fff; opacity: 0.92; margin: 0 0 10px; }
body.night .ehero__meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.night .ehero__meta a:hover { color: var(--coral); }
.ehero__desc { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 540px; margin: 0 0 24px; }

/* ---- Registration (night) ---- */
.reg { max-width: 640px; margin: 0 auto; padding: clamp(50px, 9vw, 90px) 22px; }
.reg__head { text-align: center; margin-bottom: 32px; }
.reg__head h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1; margin-bottom: 10px; }
.reg__head p { color: var(--cream-2); }
.reg__form { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.btn-block { width: 100%; justify-content: center; }

body.night label { color: var(--cream); font-weight: 600; }
body.night input, body.night textarea, body.night select {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 12px;
}
body.night input::placeholder { color: rgba(59,26,10,0.4); }
body.night input:focus, body.night textarea:focus, body.night select:focus {
  border-color: var(--coral); box-shadow: 0 0 0 3px rgba(234,114,80,0.18);
}
body.night .consents { gap: 12px; }
body.night .consent { color: var(--cream-2); }
body.night .consent a { color: var(--coral); }
body.night .consent .req { color: var(--coral); }

.closed-card { text-align: center; border: 1px dashed var(--line); border-radius: 18px; padding: 40px 22px; }
.closed-card p { color: var(--cream-2); margin-bottom: 18px; }

/* ---- Ticket page on night ---- */
body.night .ticket-wrap { padding-top: 96px; padding-bottom: 30px; }
body.night .ticket-actions .btn { width: auto; }

@media (min-width: 600px) {
  .reg__form { grid-template-columns: 1fr 1fr; }
}

/* ---- Fix: button contrast on the dark theme (body.night a was overriding) ---- */
body.night .btn-pill--solid { color: #fff; }
body.night .btn { color: #fff; }
body.night .btn--secondary {
  background: #fff;
  color: var(--cream);
  border: 1px solid var(--line);
}
body.night .btn--secondary:hover { background: var(--night-2); color: var(--coral); border-color: var(--coral); }

/* ---- Legal page on the dark theme ---- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 112px 22px 70px; }
.legal-page h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 6px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 30px; }
body.night .legal-page p, body.night .legal-page li { color: var(--cream-2); }
body.night .legal-page .legal__updated { color: rgba(59,26,10,0.5); font-size: 13px; margin-bottom: 20px; }
body.night .legal-page ul { margin: 0 0 14px 20px; }
body.night .legal-page li { margin-bottom: 5px; }
body.night .legal-page a { color: var(--coral); }
.legal__actions { margin-top: 34px; }

/* ---- Error modal (registration) ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(10,5,2,0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: modalIn 0.18s ease;
}
.modal {
  width: 100%; max-width: 380px; text-align: center;
  background: #fff;
  border: 1px solid rgba(234,114,80,0.5);
  border-radius: 20px;
  padding: 30px 26px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.modal__icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(234,114,80,0.16);
  color: var(--coral); font-size: 28px; font-weight: 800; font-family: 'Fraunces', serif;
}
.modal__msg { color: var(--cream, #f6e8d6); font-size: 1.05rem; line-height: 1.5; margin: 0 0 22px; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .modal-overlay { animation: none; } }

/* ============================================================
   Check-in scanner (porter mode)
   ============================================================ */
.scanner { max-width: 560px; margin: 0 auto; }
.scanner__viewport {
  position: relative;
  width: 100%;
  height: 68vh;
  height: 68dvh;
  max-height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.scanner__viewport video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Square aiming guide centred in the viewport */
.scanner__frame {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 66%; aspect-ratio: 1; max-width: 280px;
  pointer-events: none;
}
.scanner__frame::before, .scanner__frame::after {
  content: ''; position: absolute; width: 38px; height: 38px;
  border: 4px solid #fff; opacity: 0.95;
}
.scanner__frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.scanner__frame::after { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.scanner__hint {
  position: absolute; left: 0; right: 0; bottom: 16px;
  text-align: center; color: #fff; font-weight: 600; font-size: 0.95rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6); margin: 0;
}

/* ---- Result popup ---- */
.scan-result {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 28px; text-align: center; color: #fff;
  animation: srIn 0.16s ease;
  cursor: pointer;
}
.scan-result[hidden] { display: none !important; }
.scan-result--ok { background: #1f8a4c; }
.scan-result--used { background: #c9871b; }
.scan-result--missing { background: #c0392b; }
.scan-result__icon {
  width: 120px; height: 120px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.18);
  font-size: 72px; font-weight: 800; line-height: 1;
}
.scan-result__title {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1; color: #fff; margin-bottom: 10px;
}
.scan-result__name { font-size: 1.5rem; font-weight: 700; }
.scan-result__dni {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.12em;
  margin-top: 8px; padding: 4px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.18); display: inline-block;
}
.scan-result__dni:empty { display: none; }
.scan-result__event { font-size: 1.05rem; opacity: 0.9; margin-top: 10px; }
.scan-result__tap { margin-top: 30px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
@keyframes srIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scan-result { animation: none; } }

/* ---- Attendee delete buttons ---- */
.btn--icon { width: 34px; height: 34px; padding: 0; font-size: 14px; border-radius: 9px; }
.btn--block-sm { width: 100%; padding: 10px; font-size: 14px; }
.user-card__actions { margin-top: 14px; }

/* ---- Admin tabs + email queue table ---- */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.admintab {
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: var(--text); background: var(--card-bg); border: 1px solid var(--card-border);
  transition: all 0.15s;
}
.admintab:hover { border-color: var(--coral); color: var(--coral); }
.admintab--on, .admintab--on:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

.badge--fail { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-border); }
.badge--skip { background: var(--sand); color: var(--text-muted); border: 1px solid var(--card-border); }

.btn--xs { padding: 7px 13px; font-size: 13px; width: auto; }
.err-text { color: var(--danger); font-size: 12px; }

/* ---- Table filters + row actions ---- */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.filter-chip {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); background: var(--sand); border: 1px solid var(--card-border);
  transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--coral); color: var(--coral); }
.filter-chip--on, .filter-chip--on:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.user-card__actions { display: flex; gap: 8px; margin-top: 14px; }
.user-card__actions > * { flex: 1; }

/* ---- Green action button (manual check-in) ---- */
.btn--ok { background: #1f8a4c; color: #fff; }
.btn--ok:hover { background: #19733f; color: #fff; }

/* ---- Uniform height for row action buttons ---- */
.row-actions .btn { height: 34px; padding-top: 0; padding-bottom: 0; }
.row-actions .btn--icon { width: 34px; }

/* ---- New landing sections (copy v2) ---- */
.exp--tight { padding-top: 0; }
.exp__subtitle { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 40px 0 6px; }
.unic, body.night .sec-body em.unic { font-family: Arial, sans-serif; font-style: italic; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.gallery-section { padding: clamp(40px, 7vw, 70px) 0 0; }
.gallery-section .section-head-dark { margin-bottom: 22px; }

.movie { max-width: 1200px; margin: 0 auto; padding: clamp(50px, 9vw, 90px) 22px 0; }
.movie__video { width: 100%; border-radius: 18px; display: block; background: var(--night-2); }

.pevents__past-title { font-size: 1.4rem; margin: 46px 0 16px; color: var(--cream-2); }
.pcard--past { opacity: 0.65; }
.pcard--past:hover { opacity: 1; }
.pevent-grid--past .pcard__media { aspect-ratio: 16/9; }

.faq { max-width: 760px; margin: 0 auto; padding: clamp(50px, 9vw, 90px) 22px 0; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--night-2); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq__item[open] { border-color: rgba(234,114,80,0.35); box-shadow: 0 10px 30px rgba(46,22,12,0.06); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 22px 24px;
  font-family: 'PublicaPlay', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: 1; }
.faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--coral); transition: background .3s ease; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.7px; background: var(--coral); transform: translate(-50%, -50%); transition: transform .3s cubic-bezier(.22,.9,.24,1), background .3s; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--coral); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p { color: var(--cream-2); margin: 0; }
.faq__item[open] .faq__answer { animation: faqIn .38s cubic-bezier(.22,.9,.24,1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.final-cta { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(60px, 10vw, 110px) 22px clamp(40px, 7vw, 70px); }
.final-cta__title { font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.02; margin-bottom: 12px; }
.final-cta__title em { font-style: italic; color: var(--coral); }
.final-cta__text { color: var(--cream-2); margin-bottom: 24px; }


/* Títols sobre foto (hero) sempre blancs — guanyen a body.night h1 */
body.night .phero__title, body.night .phero__title em, body.night .ehero__title { color: #fff; }

/* Nav sobre la foto del hero: blanc; en scroll (barra sòlida): color de marca */
body.night .pnav__links a { color: rgba(255,255,255,0.92); }
body.night .pnav--solid .pnav__links a { color: var(--cream-2); }
body.night .pnav__links a:hover, body.night .pnav--solid .pnav__links a:hover { color: var(--coral); }

/* Entradilla petita abans del titular gran del hero */
.phero__lead { display: block; font-family: Arial, sans-serif; font-style: italic; font-weight: 400; font-size: 0.34em; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 10px; opacity: 0.95; }
.phero__mark { display: block; font-family: 'Beyond Worth', 'Fraunces', serif; letter-spacing: -0.1em; color: #fff; }
.btn-pill--arial, body.night .btn-pill--arial { font-family: Arial, sans-serif; font-style: italic; text-transform: uppercase; color: #fff; }
.phero__foot-img { height: clamp(28px, 5vw, 46px); width: auto; display: block; }
.phero__foot .phero__scroll { display: inline-flex; }

/* ---- Seccions de la landing (jerarquia del PDF de textos) ---- */
.sec { max-width: 1000px; margin: 0 auto; padding: clamp(46px, 8vw, 84px) 22px; }
.sec--wide { max-width: 1200px; }

.sec-title { font-size: clamp(1.9rem, 6.5vw, 3.6rem); line-height: 1; margin-bottom: 16px; }
.sec-lead { font-family: Arial, sans-serif; font-style: italic; text-transform: uppercase; font-size: clamp(1.1rem, 2.6vw, 1.4rem); color: var(--cream); font-weight: 600; margin-bottom: 14px; max-width: 640px; }
.sec-body { font-size: 1.05rem; line-height: 1.7; color: var(--cream-2); margin-bottom: 12px; max-width: 640px; }
.split__text .sec-body { text-align: justify; font-size: 1.18rem; }
.sec-body .unic { color: var(--coral); font-weight: 700; }
.sec-subtitle { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 46px 0 16px; }
.sec-note { color: var(--cream-2); margin-top: 14px; }
.sec .exp__features { margin-top: 8px; }
.sec .gallery, .sec .movie__video, .sec .pevent-grid, .sec .faq__list { margin-top: 8px; }
.sec--cta .btn-pill { margin-top: 8px; }

/* ---- Section colour variants (full-bleed) + layout ---- */
body.night main { overflow-x: clip; }
.sec--coral, .sec--tint { position: relative; isolation: isolate; }
.sec--coral::before, .sec--tint::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; z-index: -1;
}
.sec--coral::before { background: var(--coral); }
.sec--tint::before { background: var(--night-2); }
.sec--coral .sec-title { color: #fff; }
.sec--coral .sec-lead, .sec--coral .sec-body { color: rgba(255,255,255,0.94); }
.sec--coral .btn-pill--solid { background: #fff; color: var(--coral); }
.sec--coral .btn-pill--solid:hover { background: var(--sand); color: var(--coral-dark); }
.sec--center { text-align: center; }
.sec--center .sec-title { }
.sec--center .sec-lead, .sec--center .sec-body { margin-left: auto; margin-right: auto; }
.sec-body--lg { font-size: clamp(1.15rem, 2.8vw, 1.5rem); line-height: 1.6; max-width: 720px; }

/* ---- Photo grid ("Cap tarda és igual") ---- */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo-grid__item { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid__item--big { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 720px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 258px); }
  .photo-grid__item { aspect-ratio: auto; }
  .photo-grid__item--big { grid-column: 1 / 3; grid-row: 1 / 3; }
}

/* Fix: botó blanc sobre secció coral -> text coral (guanya a body.night .btn-pill--solid) */
body.night .sec--coral .btn-pill--solid { color: var(--coral); }
body.night .sec--coral .btn-pill--solid:hover { color: var(--coral-dark); }

@font-face {
  font-family: 'PublicaPlay';
  src: url('/fonts/PublicaPlay-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
/* Beyond Worth als títols del web públic (font de marca) */
body.night h1, body.night h2, body.night h3, .phero__title, .ehero__title, .sec-title, .pcard__title {
  font-family: 'Beyond Worth', 'Fraunces', serif;
  font-variation-settings: normal;
  font-weight: 400;
}

/* BEYOND -100: tracking de marca a tot arreu que hi hagi Beyond Worth */
body.night h1, body.night h2, body.night h3,
.phero__title, .ehero__title, .sec-title, .pcard__title,
.phero__mark, .marquee__row span, .pfooter__slogan, .hoverlist__title {
  letter-spacing: -0.1em;
}

/* ============================================================
   Motion & aviation signature (flight route, reveals, marquee)
   ============================================================ */
.reveal--in { opacity: 1; transform: none; }

.marquee { overflow: hidden; background: var(--coral); color: #fff; padding: 15px 0; }
.marquee--coral { background: var(--coral); color: #fff; }
.marquee__row { display: flex; width: max-content; animation: mq 28s linear infinite; }
.marquee__row span { font-family: 'Beyond Worth', 'Fraunces', serif; font-size: clamp(1.3rem, 3.6vw, 2.1rem); letter-spacing: -0.1em; padding: 0 24px; white-space: nowrap; text-transform: uppercase; }
.marquee__row .mq-ico { display: inline-flex; align-items: center; padding: 0 4px; }
.marquee__row .mq-ico svg { width: clamp(20px, 2.6vw, 30px); height: auto; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__row { animation: none; } }

/* PublicaPlay Light per al cos del web públic (font de marca) */
body.night { font-family: 'PublicaPlay', 'Figtree', system-ui, sans-serif; }
body.night .sec-body, body.night .feat__desc, body.night .phero__sub,
body.night .pcard__loc, body.night .faq__item p, body.night .pfooter__grid p { font-family: 'PublicaPlay', 'Figtree', sans-serif; }
/* Subtítols sempre Arial cursiva majúscula (guanya a body.night) */
body.night .sec-lead { font-family: Arial, sans-serif; font-style: italic; text-transform: uppercase; }

/* Italic nomes on toca (Arial subtítols). Beyond Worth / PublicaPlay mai en italic sintètic */
body.night h1 em, body.night h2 em, body.night h3 em, body.night .sec-body em { font-style: normal; }

/* Hover polish (imatges amb zoom suau, estil estudi) */
.photo-grid__item { will-change: transform; }
.photo-grid__item img, .pcard__media img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.photo-grid__item:hover img { transform: scale(1.06); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.feat { transition: transform .2s ease; }
.feat:hover { transform: translateX(4px); }

/* ============================================================
   Motion layer (Lenis + reveals + parallax + cursor)
   Base state is ALWAYS visible; hidden only under .js-motion.
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.motion-off .rv, .motion-off .w-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* Fade-up for text blocks */
.js-motion .rv--fade { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s cubic-bezier(.22,.9,.24,1); }
.js-motion .rv--fade.in { opacity: 1; transform: none; }

/* Clip-wipe for media */
.js-motion .rv--clip { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.22,.9,.24,1); }
.js-motion .rv--clip.in { clip-path: inset(0 0 0 0); }

/* Word-mask reveal for section titles */
.tmask { overflow: visible; }
.tmask .w { display: inline-block; overflow: clip; overflow-clip-margin: 0.22em; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js-motion .tmask .w-in { display: inline-block; transform: translateY(115%); transition: transform .85s cubic-bezier(.22,.9,.24,1); }
.js-motion .tmask.in .w-in { transform: none; }

/* Custom cursor (desktop only) */
.cursor { position: fixed; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--coral); pointer-events: none; z-index: 300; opacity: 0; will-change: transform; transition: width .28s cubic-bezier(.22,.9,.24,1), height .28s cubic-bezier(.22,.9,.24,1), background .28s, opacity .3s; }
.cursor--live { opacity: 1; }
.cursor--on { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(234,114,80,0.22); }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }

/* ============================================================
   Intro loader (home) — curtain lifts after the logo settles
   ============================================================ */
.intro-lock { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: var(--night); transition: transform .9s cubic-bezier(.76,0,.24,1); }
.intro--out { transform: translateY(-100%); }
.intro__logo { width: min(46vw, 260px); color: var(--coral); opacity: 0; transform: translateY(14px) scale(.96);
  animation: introLogo 1.2s cubic-bezier(.22,.9,.24,1) forwards; }
.intro__logo svg { width: 100%; height: auto; display: block; }
@keyframes introLogo { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ============================================================
   Mobile nav toggle + slide-down panel
   ============================================================ */
.pnav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; color: #fff; z-index: 95; }
.pnav--solid .pnav__toggle { color: var(--cream); }
body.nav-open .pnav__toggle { color: var(--cream); }
.pnav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease; }
body.nav-open .pnav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .pnav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .pnav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pnav__links .pnav__cta { display: inline-flex; }

@media (max-width: 899px) {
  .pnav__toggle { display: flex; }
  .pnav__links { display: flex !important; position: fixed; top: 0; right: 0; height: 100dvh; width: min(80vw, 330px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 0 34px;
    background: var(--night); box-shadow: -18px 0 50px rgba(0,0,0,0.16);
    transform: translateX(100%); transition: transform .42s cubic-bezier(.76,0,.24,1); z-index: 90; }
  body.nav-open .pnav__links { transform: none; }
  .pnav__links a { font-size: 1.5rem; color: var(--cream) !important; }
  .pnav__links .pnav__cta { margin-top: 8px; font-size: 15px; padding: 12px 24px; color: #fff !important; }
}

/* ============================================================
   Event card hover — image lifts, overlay + cta surface
   ============================================================ */
.pcard__media { position: relative; overflow: hidden; }
.pcard__media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,22,12,0.35), transparent 55%);
  opacity: 0; transition: opacity .45s ease; }
.pcard:hover .pcard__media::after { opacity: 1; }
.pcard { transition: transform .4s cubic-bezier(.22,.9,.24,1), box-shadow .4s ease; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,22,12,0.14); }

/* ============================================================
   3D plane showcase — full-bleed sky band with the Cessna
   ============================================================ */
.plane-band { position: relative; text-align: center; padding-top: clamp(50px, 8vw, 84px); padding-bottom: clamp(40px, 6vw, 70px); }
.plane-band::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; background: linear-gradient(180deg, #eaf6fb 0%, #d3ebf6 100%); z-index: -1; }
.plane-band__eyebrow { display: block; font-family: 'PublicaPlay', sans-serif; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 12px; color: #4c7f97; margin-bottom: 10px; }
.plane-band .sec-title { color: var(--cream); }

/* Full-viewport flight canvas: the Cessna crosses the whole page (under the nav) */
#planeCanvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; }

/* ============================================================
   Expand-on-hover list ("Què hi trobaràs?")
   ============================================================ */
.hoverlist { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hoverlist__row { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px;
  padding: 24px 22px; min-height: 82px;
  transition: min-height .55s cubic-bezier(.22,.9,.24,1), padding .45s ease; }
.hoverlist__row::before { content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(28,13,5,0.52), rgba(28,13,5,0.52)), var(--img);
  background-size: cover; background-position: center; opacity: 0; transform: scale(1.08);
  transition: opacity .5s ease, transform .9s cubic-bezier(.22,.9,.24,1); }
.hoverlist__idx { position: relative; z-index: 1; width: 36px; flex: none;
  font-family: 'PublicaPlay', sans-serif; font-size: 13px; letter-spacing: 0.14em; color: var(--cream-2); transition: color .4s; }
.hoverlist__title { position: relative; z-index: 1; flex: 1;
  font-family: 'Beyond Worth', serif; text-transform: uppercase; line-height: 1;
  font-size: clamp(1.4rem, 3.2vw, 2.5rem); color: var(--cream); transition: color .4s; }
.hoverlist__arrow { display: inline-block; margin-right: 10px; color: var(--coral); font-weight: 700;
  transform: translateX(-6px); transition: transform .4s ease; }
.hoverlist__row.is-active .hoverlist__arrow { transform: none; }
.hoverlist__desc { position: relative; z-index: 1; flex-basis: 100%; max-height: 0; opacity: 0; overflow: hidden;
  font-family: 'PublicaPlay', sans-serif; font-size: 1.05rem; color: rgba(255,255,255,0.92);
  transition: max-height .5s ease, opacity .5s ease, margin .4s ease; }

/* Scroll-driven (all devices): the row centred in the viewport expands, revealing
   its photo + description; JS toggles .is-active as you scroll through the list. */
.hoverlist { border-top: 0; display: flex; flex-direction: column; gap: 12px; }
.hoverlist__row { border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 16px; min-height: 74px; padding: 20px 22px; }
.hoverlist__row.is-active { min-height: 230px; border-color: transparent; }
.hoverlist__row.is-active::before { opacity: 1; transform: scale(1); }
.hoverlist__row.is-active .hoverlist__idx { color: rgba(255,255,255,0.72); }
.hoverlist__row.is-active .hoverlist__title { color: #fff; }
.hoverlist__row.is-active .hoverlist__arrow { opacity: 1; transform: none; }
.hoverlist__row.is-active .hoverlist__desc { max-height: 110px; opacity: 1; margin-top: 12px; }
@media (max-width: 700px) { .hoverlist__row.is-active { min-height: 196px; } }
@media (prefers-reduced-motion: reduce) {
  /* No scroll JS: reveal every card so nothing hides */
  .hoverlist__row::before { opacity: 1; }
  .hoverlist__title { color: #fff; } .hoverlist__idx { color: rgba(255,255,255,0.72); }
  .hoverlist__desc { max-height: 110px; opacity: 1; margin-top: 12px; }
  .hoverlist__row { min-height: 196px; }
}

/* ============================================================
   Paripé-inspired: sticky ticket FAB, photo-forward split, spaced letters
   ============================================================ */
.ticket-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  background: var(--coral); color: #fff !important; font-family: Arial, sans-serif; font-style: italic; font-weight: 700;
  text-transform: uppercase; font-size: 15px; letter-spacing: 0.02em; text-decoration: none;
  box-shadow: 0 12px 30px rgba(234,114,80,0.42);
  transform: translateY(150%); opacity: 0; transition: transform .45s cubic-bezier(.22,.9,.24,1), opacity .3s ease, background .2s; }
.ticket-fab.show { transform: none; opacity: 1; }
.ticket-fab:hover { background: var(--coral-dark); }
.ticket-fab span { transition: transform .25s ease; }
.ticket-fab:hover span { transform: translateX(4px); }

/* Photo-forward split */
.sec--split { display: grid; gap: 26px; align-items: center; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .sec--split { grid-template-columns: 1fr 1fr; gap: 54px; }
  .split__media img { aspect-ratio: 4 / 5; max-height: 560px; }
}

/* Spaced-letter treatment (graphic accent — never on the HANGAR wordmark) */
.pfooter__slogan { letter-spacing: 0.34em; }
.phero__foot > span:first-child { letter-spacing: 0.32em; }
