/* ═══════════════════════════════════════════════════════════════════════
   Eventgasm Preview — Ticketmaster-inspired, Eventgasm-themed
   Solo-agent prototype · 2026-08-14
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg:            #0B1020;
  --bg-2:          #0F172A;
  --surface:       #1E293B;
  --surface-2:     #273344;
  --surface-3:     #334155;
  --border:        rgba(255,255,255,.08);
  --border-2:      rgba(255,255,255,.14);
  --text:          #F1F5F9;
  --text-2:        #CBD5E1;
  --text-3:        #94A3B8;
  --text-4:        #64748B;
  --accent:        #E2E8F0;
  --accent-2:      #A8B0BE;
  --pop:           #EC4899;       /* magenta pop */
  --pop-2:         #F97316;       /* orange edge */
  --pop-3:         #8B5CF6;       /* violet depth */
  --gold:          #F59E0B;
  --live:          #22C55E;
  --danger:        #EF4444;
  --shadow-lg:     0 22px 60px -22px rgba(0,0,0,.55);
  --shadow-md:     0 10px 30px -14px rgba(0,0,0,.55);
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;
  --max:           1440px;
  --nav-h:         68px;
  --ease:          cubic-bezier(.2,.7,.2,1);
  --grad-pop:      linear-gradient(135deg, #EC4899 0%, #F97316 50%, #F59E0B 100%);
  --grad-violet:   linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --grad-hero:     radial-gradient(120% 100% at 80% 0%, rgba(139,92,246,.28), transparent 55%),
                   radial-gradient(90% 80% at 10% 20%, rgba(236,72,153,.18), transparent 60%),
                   radial-gradient(80% 70% at 60% 90%, rgba(249,115,22,.15), transparent 60%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--text); color: #0B0F1A; }
.btn--primary:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.05); }
.btn--lg { padding: 14px 26px; font-size: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--text-3); letter-spacing: .04em; text-transform: uppercase;
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--pop); display: inline-block; }
.dot--live {
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.grad {
  background: var(--grad-pop);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── Top nav ────────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,16,32,.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.topnav__inner {
  max-width: var(--max); margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  gap: 18px;
  align-items: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
}
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--grad-pop);
  border-radius: 8px;
  color: #0B0F1A;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 900;
  transform: rotate(0deg);
  box-shadow: 0 6px 14px -4px rgba(236,72,153,.5);
}
.brand__word { color: var(--text); }

.city-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 13.5px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.city-pill:hover { border-color: var(--border-2); background: var(--surface-2); }

.search {
  position: relative;
  display: flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px 0 40px;
  height: 42px;
  transition: border-color .15s, background .15s;
  /* Grid/flex track can shrink below input's intrinsic width — required so
     the search collapses on narrow viewports instead of overflowing right
     (which used to push the burger + CTAs off-screen at 375w). */
  min-width: 0;
}
.search:focus-within { border-color: var(--border-2); background: var(--surface-2); }
.search__icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-3);
}
.search input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: var(--text);
  font-size: 14.5px;
  height: 100%;
  /* Same story here — the flex child's default min-width: auto blocks
     shrinkage. Explicit 0 lets it live inside a narrow grid track. */
  min-width: 0;
  width: 100%;
}
.search input::placeholder { color: var(--text-4); }
.search__kbd {
  padding: 3px 7px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  font-size: 11px; font-family: inherit;
  color: var(--text-3);
  background: transparent;
}

.topnav__links {
  display: flex; gap: 18px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
}
.topnav__links a { transition: color .12s; }
.topnav__links a:hover { color: var(--text); }

.topnav__cta { display: flex; gap: 10px; align-items: center; }

/* Profile access — desktop web (D-2026-08-25-02). Icon-only link that sits
   in the topnav CTA cluster to the left of Sign in. Hidden on mobile with
   the rest of .topnav__cta; mobile surface is the nav-sheet Account section. */
.topnav__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--text-dim, #B0BEC5);
  transition: color .12s, background-color .12s;
}
.topnav__profile:hover,
.topnav__profile:focus-visible {
  color: var(--text, #E2E8F0);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.topnav__burger { display: none; background: transparent; border: 0; color: var(--text); padding: 8px; }

@media (max-width: 1180px) {
  .topnav__links { display: none; }
  .topnav__inner { grid-template-columns: auto auto 1fr auto auto; }
}
@media (max-width: 900px) {
  .topnav__cta { display: none; }
  .topnav__burger { display: inline-flex; }
  .topnav__inner { grid-template-columns: auto auto 1fr auto; }
  .search__kbd { display: none; }
}
@media (max-width: 640px) {
  .topnav__inner { grid-template-columns: auto 1fr auto; padding: 0 14px; gap: 10px; }
  .city-pill { display: none; }
  .search { height: 38px; padding: 0 12px 0 36px; }
  .search__icon { left: 12px; }
  .search input { font-size: 14px; }
  /* Brand shrinks to just the mark on very narrow devices so the search
     has room to breathe. Word reappears via nav sheet if the user opens it. */
  .brand__word { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
  background: var(--bg);
}
.hero__glow {
  position: absolute; inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__copy > .eyebrow { margin-bottom: 20px; }
.hero__title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 22px;
}
.hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero__actions { display: flex; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 30px; font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.stat span {
  font-size: 12.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero__spotlight {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.spotlight__skeleton { padding: 24px; }
.sk {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 8px;
}
.sk--img { aspect-ratio: 4/5; margin-bottom: 16px; border-radius: var(--radius); }
.sk--line { height: 14px; margin: 8px 0; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.spotlight-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--text);
}
.spotlight-card__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.spotlight-card__img::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(11,16,32,.4) 55%, rgba(11,16,32,.95) 100%);
}
.spotlight-card__body {
  position: relative;
  padding: 28px 28px 26px;
  z-index: 2;
}
.spotlight-card__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 12px;
}
.spotlight-card__title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.spotlight-card__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.spotlight-card__meta > span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__spotlight { max-height: 460px; }
}
@media (max-width: 640px) {
  .hero { padding: 44px 16px 32px; }
  .hero__actions { flex-wrap: wrap; }
  .hero__stats { gap: 24px; }
  .stat b { font-size: 24px; }
}

/* ── Quick filters ──────────────────────────────────────────────────── */
.quickfilters {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: rgba(11,16,32,.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.quickfilters__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 12px 24px;
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quickfilters__inner::-webkit-scrollbar { display: none; }
.qf {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap;
  transition: all .15s var(--ease);
}
.qf:hover { color: var(--text); border-color: var(--border-2); }
.qf--active {
  background: var(--text);
  color: #0B0F1A;
  border-color: var(--text);
}

@media (max-width: 640px) {
  .quickfilters__inner { padding: 10px 14px; }
  .qf { font-size: 13px; padding: 7px 13px; }
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section {
  padding: 56px 24px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.section__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.section__title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 6px;
}
.section__sub {
  margin: 0;
  color: var(--text-3);
  font-size: 15px;
}
.section__nav { display: flex; gap: 6px; }
.section__more {
  color: var(--text-2);
  font-weight: 600; font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.section__more:hover { color: var(--text); background: var(--surface); }
.rail-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, opacity .15s;
}
.rail-btn:hover { background: var(--surface-2); border-color: var(--border-2); }
.rail-btn:disabled { opacity: .35; cursor: default; }

@media (max-width: 640px) {
  .section { padding: 40px 14px 14px; }
  .section__nav { display: none; }
}

/* ── Rail (horizontal scroller) ─────────────────────────────────────── */
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
@media (max-width: 640px) {
  .rail > * { flex: 0 0 240px; }
  .rail { gap: 12px; padding-left: 0; padding-right: 20px; }
}

/* ── Grid ───────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .grid { grid-template-columns: 1fr; } }

/* ── Event card ─────────────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}
.card__img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  overflow: hidden;
}
.card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__img img { transform: scale(1.05); }
.card__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,.18);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
}
.card__date {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(11,16,32,.85);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 6px 10px;
  text-align: center;
  min-width: 48px;
  border: 1px solid rgba(255,255,255,.12);
}
.card__date b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.card__date span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pop);
  font-weight: 700;
  margin-top: 2px;
}
.card__badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--grad-pop);
  color: #0B0F1A;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.card__badge--free { background: var(--live); color: #05230F; }
.card__badge--hot { background: var(--gold); color: #221600; }
.card__body {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column;
  flex: 1;
}
.card__cat {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.card__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__venue {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__city {
  font-size: 12.5px;
  color: var(--text-3);
  margin: 0 0 12px;
}
.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.card__price {
  font-size: 13px;
  color: var(--text-2);
}
.card__price b { color: var(--text); font-weight: 700; }
.card__cta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pop);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Category grid ──────────────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mobile: cards were sized for desktop dimensions (22px + 96px padding, 54px
   emoji, 20px title, 4–5 line descriptions) which pushed each card to ~250px
   tall at 375w — the category grid dominated the mobile viewport. Shrink
   proportionally: tighter padding, smaller emoji, smaller type, clamp the
   description to 2 lines. Cards stay tap-target-safe (min-height 76px). */
.cat {
  position: relative;
  padding: 22px 22px 22px 96px;
  border-radius: var(--radius);
  background: linear-gradient(135deg,
    hsl(var(--cat-hue), 60%, 22%) 0%,
    hsl(var(--cat-hue), 45%, 12%) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s;
  min-height: 120px;
  display: flex; align-items: center;
}
.cat:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.24); }
.cat__emoji {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-size: 54px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
}
.cat__body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.01em;
  margin: 0 0 4px;
}
.cat__body p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

/* Mobile category overrides — MUST stay after the base .cat/.cat__emoji/
   .cat__body h3/.cat__body p rules above. CSS source order matters:
   these rules and the base rules share specificity, so whichever comes
   later in the file wins. Placing this block after the base rules is
   the fix for the 2026-08-20 22:16 UTC 'titles pushed right + clipped'
   bug where the base 96px left padding + 20px h3 kept overriding. */
@media (max-width: 640px) {
  /* Post-Joey 2026-08-20 22:11 UTC: previous pass hid the illustrations
     but left `word-break: break-word` on the title — iOS Safari treats
     that closer to break-all than to a word-boundary-preferred wrap, so
     'Concerts' rendered as 'Conce/rts', 'Sports' as 'Sport/s', etc.
     Requirements from Joey: (1) never split a single word mid-character;
     (2) center the text. Fix: kill word-break entirely so wrapping only
     ever happens at whitespace, and center-align both the h3 and the
     description. Descriptions get a single-line ellipsis to keep cards
     compact and symmetrical. */
  .cat-grid { gap: 8px; }
  .cat {
    padding: 10px 12px;
    min-height: 60px;
    border-radius: 10px;
    justify-content: center;
    text-align: center;
  }
  .cat__body {
    /* Same flex-shrinkage poka-yoke as elsewhere in this file (see
       .search / .search input in the top nav): default min-width: auto
       lets intrinsic content width push past the grid column. */
    min-width: 0;
    flex: 1;
    text-align: center;
  }
  .cat__emoji {
    display: none;
  }
  .cat__body h3 {
    font-size: 13px;
    line-height: 1.2;
    margin: 0 0 2px;
    text-align: center;
    /* Explicit resets: whitespace-only breaks, no hyphenation. */
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .cat__body p {
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    /* Single-line ellipsis on description — every card the same
       compact height; longer copy still reads on the desktop layout
       where the illustration + wider card give it room. */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ── Strip (free tonight) ───────────────────────────────────────────── */
.section--strip { padding: 56px 24px 20px; }
.strip {
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(135deg, #17331F 0%, #0E1F16 100%);
  border: 1px solid rgba(34,197,94,.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.strip__copy > .eyebrow { margin-bottom: 12px; }
.strip__title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.strip__copy p { color: var(--text-2); margin: 0 0 16px; font-size: 14.5px; }
.strip__rail { padding-bottom: 4px; }
@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
}

/* ── Newsletter ─────────────────────────────────────────────────────── */
.section--newsletter { padding: 80px 24px 100px; }
.newsletter {
  max-width: 980px; margin: 0 auto;
  padding: 40px;
  background:
    radial-gradient(80% 100% at 20% 0%, rgba(236,72,153,.18), transparent 60%),
    radial-gradient(80% 100% at 90% 100%, rgba(139,92,246,.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.newsletter h2 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.newsletter p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.newsletter__form {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 6px;
}
.newsletter__form input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: var(--text);
  padding: 10px 16px;
  font-size: 14.5px;
}
.newsletter__form input::placeholder { color: var(--text-4); }
@media (max-width: 780px) {
  .newsletter { grid-template-columns: 1fr; padding: 28px; }
  .newsletter__form { flex-direction: column; border-radius: var(--radius); }
  .newsletter__form input { width: 100%; }
  .newsletter__form .btn { justify-content: center; }
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 60px 24px 30px;
}
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 40px;
}
.footer__brand p { color: var(--text-3); font-size: 14px; margin: 12px 0 0; max-width: 260px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.footer__cols h4 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.footer__cols a {
  display: block;
  font-size: 13.5px;
  color: var(--text-3);
  padding: 3px 0;
  transition: color .12s;
}
.footer__cols a:hover { color: var(--text); }
.footer__base {
  max-width: var(--max);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px;
  color: var(--text-4);
  font-size: 12.5px;
}
.footer__love { font-style: italic; }
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── City sheet ─────────────────────────────────────────────────────── */
.city-sheet {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start; justify-content: center;
  padding-top: 100px;
}
.city-sheet[aria-hidden="false"] { display: flex; }
.city-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.city-sheet__panel {
  position: relative;
  width: min(560px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: rise .2s var(--ease);
}
@keyframes rise {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.city-sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.city-sheet__head h2 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.city-sheet__x {
  background: transparent; border: 0; color: var(--text-2);
  font-size: 26px; line-height: 1;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .12s;
}
.city-sheet__x:hover { background: var(--surface-2); color: var(--text); }
.city-sheet__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  outline: 0;
  margin-bottom: 16px;
}
.city-sheet__input:focus { border-color: var(--pop); }
.city-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13.5px; font-weight: 500;
  transition: all .12s;
}
.chip:hover { background: var(--surface-3); color: var(--text); border-color: var(--border-2); }

/* ── Nav sheet (mobile burger menu) ─────────────────────────────────── */
/* Mirrors .city-sheet pattern but slides in from the right and holds the
   nav links + CTAs + city trigger that get hidden from the top row on
   mobile viewports. Prevents the previous 'burger button was decorative,
   nav was unreachable' bug at 375w. */
.nav-sheet {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
}
.nav-sheet[aria-hidden="false"] { display: block; }
.nav-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.nav-sheet__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--surface);
  border-left: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  padding: 20px 20px 28px;
  display: flex; flex-direction: column;
  gap: 18px;
  animation: slideInRight .22s var(--ease);
  overflow-y: auto;
}
@keyframes slideInRight {
  from { transform: translateX(24px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.nav-sheet__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.nav-sheet__head h2 {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 800;
  margin: 0; letter-spacing: -.02em;
}
.nav-sheet__x {
  background: transparent; border: 0; color: var(--text-2);
  font-size: 26px; line-height: 1;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .12s;
}
.nav-sheet__x:hover { background: var(--surface-2); color: var(--text); }
.nav-sheet__section {
  display: flex; flex-direction: column; gap: 2px;
}
.nav-sheet__label {
  font-size: 11px;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 6px;
  padding: 0 4px;
}
.nav-sheet__link {
  display: flex; align-items: center;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 15px; font-weight: 500;
  transition: background .12s, color .12s;
}
.nav-sheet__link:hover,
.nav-sheet__link:focus-visible {
  background: var(--surface-2);
  color: var(--text);
  outline: 0;
}
.nav-sheet__cta {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.nav-sheet__cta .btn { justify-content: center; }

/* ── Modal (event quick-look) ───────────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: rise .2s var(--ease);
}
.modal__x {
  position: absolute; top: 12px; right: 12px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(11,16,32,.7);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-size: 22px; line-height: 1;
  backdrop-filter: blur(8px);
  transition: background .12s;
}
.modal__x:hover { background: rgba(11,16,32,.9); }
.modal__hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(30,41,59,.9));
}
.modal__body {
  padding: 26px 30px 30px;
}
.modal__cat {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--pop);
  margin-bottom: 8px;
}
.modal__title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.modal__meta > div {
  display: flex; flex-direction: column; gap: 4px;
}
.modal__meta span {
  font-size: 11.5px; font-weight: 700;
  color: var(--text-4);
  text-transform: uppercase; letter-spacing: .06em;
}
.modal__meta b {
  font-size: 14.5px; color: var(--text); font-weight: 600;
}
.modal__desc { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.modal__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Utilities / animations ─────────────────────────────────────────── */
.fadein {
  animation: fadeIn .4s var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-3);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  background: var(--surface);
}

/* ── Auth page (signin.html) ────────────────────────────────────────────
   The `hidden` HTML attribute uses UA-stylesheet `display: none`, which
   loses to any class rule that sets `display` (e.g. `.auth__field { display: flex }`).
   Force `[hidden]` to win globally on this page so mode-toggle actually hides.
   Full-page auth for /preview/signin.html. Design inherits homepage vars
   (dark navy bg, magenta→orange pop, Fraunces display + Inter body). The
   nav is stripped down to brand + back so the card is the focal point;
   the body glow reuses `--grad-hero` so the page reads as the same site.
   Landed 2026-08-24 · FE PM (Pod Lead per D-2026-08-17-06).
   ─────────────────────────────────────────────────────────────────── */
[hidden] { display: none !important; }

.topnav--auth {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}
.topnav__inner--auth {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
}
.auth-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  border: 1px solid var(--border-2);
  font-size: 13.5px; font-weight: 600;
  transition: color .15s, border-color .15s, background .15s;
  justify-self: end;
}
.auth-back:hover { color: var(--text); border-color: var(--text); background: rgba(255,255,255,.05); }

.auth {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 40px 20px 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.auth__glow {
  position: absolute; inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}
.auth__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px 36px 30px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: rise .22s var(--ease);
}
.auth__head { margin-bottom: 24px; }
.auth__head > .eyebrow { margin-bottom: 12px; }
.auth__title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.auth__sub {
  margin: 0;
  /* WCAG bump per Sean UX 2026-08-24 20:30 UTC — --text-2 on --surface
     was reading low against the ambient glow. --text is 13.5:1 on
     --surface, comfortably clears 4.5:1 AA. */
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
}

.auth__form {
  display: flex; flex-direction: column;
  gap: 16px;
}
.auth__field {
  display: flex; flex-direction: column;
  gap: 6px;
}
.auth__field label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em;
}
.auth__field input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: 0;
  transition: border-color .15s, background .15s;
}
.auth__field input::placeholder { color: var(--text-4); }
.auth__field input:hover { border-color: rgba(255,255,255,.22); }
.auth__field input:focus { border-color: var(--pop); background: var(--bg-2); }

.auth__forgot {
  color: var(--text-3);
  font-size: 11.5px; font-weight: 600;
  text-transform: none; letter-spacing: 0;
  /* Touch-target bump per Sean UX 2026-08-24 20:30 UTC — negative margin
     absorbs the padding so the label row height doesn't shift. */
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 6px;
  transition: color .12s, background .12s;
}
.auth__forgot:hover { color: var(--pop); background: rgba(255,255,255,.04); }

.auth__error {
  padding: 10px 14px;
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.35);
  border-radius: var(--radius-sm);
  color: #FCA5A5;
  font-size: 13.5px;
  line-height: 1.4;
}

.auth__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  /* Sean UX 2026-08-24 20:30 UTC — auth is the one page where the primary
     CTA is the whole point of the screen; the generic white --btn--primary
     was reading softer than the pink-focused email input. Use the brand
     gradient here so the Sign in / Create account button is unambiguously
     the top tap target. Scoped to .auth__submit — does NOT leak to the
     rest of the site's .btn--primary usage. */
  background: var(--grad-pop);
  color: #0B0F1A;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 10px 30px -14px rgba(236,72,153,.55);
}
.auth__submit:hover {
  background: var(--grad-violet);
  box-shadow: 0 12px 34px -14px rgba(139,92,246,.6);
}
.auth__submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.auth__submit:disabled { transform: none; }

.auth__sep {
  display: flex; align-items: center; gap: 10px;
  margin: 22px 0 18px;
  color: var(--text-4);
  font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em;
}
.auth__sep::before,
.auth__sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth__switch {
  margin: 0 0 18px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
}
.auth__switch a {
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  /* Touch-target bump per Sean UX 2026-08-24 20:30 UTC — inline-block so
     padding actually expands the hit area rather than getting swallowed. */
  display: inline-block;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 6px;
  transition: color .12s, border-color .12s, background .12s;
}
.auth__switch a:hover { color: var(--pop); border-bottom-color: var(--pop); background: rgba(255,255,255,.04); }

.auth__fine {
  margin: 0;
  text-align: center;
  /* WCAG bump per Sean UX 2026-08-24 20:30 UTC — --text-4 on --surface
     was ~3.9:1 and failing 4.5:1 AA on the legal line. --text-3 is ~5.5:1. */
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.5;
}
.auth__fine a {
  color: var(--text);
  border-bottom: 1px solid var(--border-2);
  padding: 2px 3px;
  border-radius: 4px;
  transition: color .12s, border-color .12s, background .12s;
}
.auth__fine a:hover { color: var(--pop); border-bottom-color: var(--pop); background: rgba(255,255,255,.04); }

@media (max-width: 480px) {
  .auth { padding: 24px 14px 60px; }
  .auth__card { padding: 28px 22px 24px; border-radius: var(--radius); }
  .auth__title { font-size: 26px; }
}



/* ═══════════════════════════════════════════════════════════════════════
   Feed mode — added D-2026-08-28 (FE PM: chip click → filtered feed view)
   ═══════════════════════════════════════════════════════════════════════ */

/* Sticky chip strip when in feed mode so users can switch filters without
   scrolling back to the top. Applied by app.js on <html>. */
html.feed-mode .quickfilters {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Hide the marketing homepage sections when we're in a filtered feed view.
   Hero + quickfilters + feed section + footer stay visible. */
html.feed-mode #trending,
html.feed-mode #categories,
html.feed-mode #popular,
html.feed-mode #free,
html.feed-mode #concerts,
html.feed-mode #sports,
html.feed-mode #arts,
html.feed-mode #comedy,
html.feed-mode #weekend {
  display: none !important;
}

/* Feed section layout */
.section--feed {
  padding-top: 24px;
}
.section--feed .feed__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section--feed .feed__head .section__title {
  margin: 0 0 4px;
}
.section--feed .feed__head .section__sub {
  margin: 0;
}
.section--feed .feed__foot {
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
}
.section--feed .feed__done {
  color: #94A3B8;
  font-size: 14px;
  text-align: center;
  padding: 16px 0;
}

/* Feed grid — same layout as .grid but comfortable minimum for a dedicated
   feed view. Falls back to .grid rules on narrow viewports. */
.feed-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (min-width: 900px) {
  .feed-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
}

/* btn--sm modifier used by the "Back to featured" button */
.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}
