/* =====================================================================
   UTOPIA — Events page styles (extends styles.css; cosmic · liquid-glass)
   Loaded after styles.css, so it reuses every :root token + shared
   components (preloader, header, overlay menu, footer, .btn-gold).
   ===================================================================== */

/* ---- reveal-on-scroll (self-contained; the site's .reveal is GSAP-driven,
        so this page uses its own class to avoid touching that) ---- */
.reveal-up { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- HERO ---------- */
.ev-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 78vh; min-height: 78svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(8rem, 16vw, 12rem) 1.5rem clamp(4rem, 8vw, 6rem);
  /* translucent so the site-wide starfield twinkles through the hero sky */
  background: radial-gradient(125% 95% at 50% -12%, rgba(21,36,63,0.92) 0%, rgba(6,18,38,0.55) 56%, rgba(2,10,22,0) 100%);
}
/* very soft atmospheric tint behind the title — kept subtle on purpose */
.ev-hero::before, .ev-hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(70px); opacity: 0.2; pointer-events: none;
}
.ev-hero::before {
  width: 44vw; height: 44vw; top: -14%; left: -10%;
  background: radial-gradient(circle, rgba(120,160,220,0.38), transparent 70%);
  animation: evDrift1 26s ease-in-out infinite alternate;
}
.ev-hero::after {
  width: 38vw; height: 38vw; bottom: -18%; right: -12%;
  background: radial-gradient(circle, rgba(150,120,210,0.3), transparent 70%);
  animation: evDrift2 31s ease-in-out infinite alternate;
}
@keyframes evDrift1 { from { transform: translate(0,0); } to { transform: translate(8%, 6%); } }
@keyframes evDrift2 { from { transform: translate(0,0); } to { transform: translate(-7%, -5%); } }

/* faint twinkling star layer — a quiet night sky, nothing busy */
.ev-stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.3px 1.3px at 33% 12%, rgba(220,227,234,0.8), transparent),
    radial-gradient(1px 1px at 45% 58%, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 52% 24%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 72%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.3px 1.3px at 70% 20%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 78% 40%, rgba(220,227,234,0.65), transparent),
    radial-gradient(1px 1px at 85% 64%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 92% 28%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 12% 64%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 28% 82%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.2px 1.2px at 40% 88%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 66% 86%, rgba(220,227,234,0.55), transparent),
    radial-gradient(1px 1px at 88% 84%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 5% 46%, rgba(255,255,255,0.5), transparent);
  animation: evTwinkle 7s ease-in-out infinite alternate;
}
@keyframes evTwinkle { from { opacity: 0.45; } to { opacity: 0.8; } }

.ev-hero__content { position: relative; max-width: 52rem; }
/* script flourish — brings in the brand's Great Vibes accent */
.ev-script {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(2rem, 6.5vw, 3.6rem); line-height: 1;
  color: var(--gold-soft);
  text-shadow: 0 6px 26px rgba(120,160,220,0.3);
  margin-bottom: clamp(-0.3rem, -0.8vw, -0.7rem);
}

/* "Events" — brushed-platinum display with a slow drifting sheen */
.ev-title {
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400; line-height: 0.92; text-transform: uppercase;
  font-size: clamp(3.2rem, 12vw, 7rem); letter-spacing: 0.1em; text-indent: 0.1em;
  background: linear-gradient(110deg, #9aa4ae 0%, #ffffff 28%, #dce3ea 50%, #ffffff 72%, #9aa4ae 100%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.5));
  animation: evSheen 7.5s linear infinite;
}
@keyframes evSheen { from { background-position: 0% center; } to { background-position: 240% center; } }
/* ornamental hairline divider with a centred sparkle */
.ev-rule {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: min(320px, 74%); margin: clamp(1.4rem, 3.4vw, 2.1rem) auto 0;
  color: var(--gold-soft); font-size: 0.7rem;
}
.ev-rule::before, .ev-rule::after { content: ""; height: 1px; flex: 1; }
.ev-rule::before { background: linear-gradient(90deg, transparent, rgba(220,227,234,0.5)); }
.ev-rule::after  { background: linear-gradient(90deg, rgba(220,227,234,0.5), transparent); }
.ev-lead {
  margin: clamp(1.4rem, 3vw, 1.9rem) auto 0; max-width: 38rem;
  font-size: clamp(1.04rem, 2.4vw, 1.18rem); color: rgba(239,232,216,0.84);
}
.ev-hero .brand-tag { margin-top: clamp(1.4rem, 3vw, 1.8rem); }

/* scroll cue */
.ev-scroll {
  position: absolute; bottom: clamp(1.6rem, 4vh, 2.6rem); left: 50%; transform: translateX(-50%);
  width: 26px; height: 40px; border: 1px solid rgba(220,227,234,0.4); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px;
}
.ev-scroll span { width: 2px; height: 7px; border-radius: 2px; background: var(--gold-soft); animation: evScroll 1.8s var(--ease) infinite; }
@keyframes evScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- LIST SECTION ---------- */
.ev-section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem clamp(5rem, 11vw, 9rem);
  background: linear-gradient(180deg, rgba(3,6,13,0.4) 0%, rgba(4,21,42,0.5) 45%, rgba(3,16,33,0.3) 100%);
}
.ev-wrap { max-width: 920px; margin: 0 auto; }
.ev-section__head { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.ev-section__title {
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: 0.14em; color: var(--cream);
}
.ev-section__sub { color: var(--ink-dim); margin-top: 0.6rem; font-size: 1rem; }

/* =====================================================================
   FEATURED — cinematic "Next up" liquid-glass spotlight
   ===================================================================== */
.ev-feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  border: 1px solid rgba(220,227,234,0.12); border-radius: 24px;
  background:
    radial-gradient(120% 85% at 72% 0%, rgba(28,58,92,0.42), transparent 60%),
    linear-gradient(180deg, rgba(10,26,46,0.52), rgba(5,16,33,0.32));
  box-shadow: 0 44px 110px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  cursor: pointer;
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.ev-feature:hover {
  transform: translateY(-4px); border-color: rgba(220,227,234,0.22);
  box-shadow: 0 60px 130px rgba(0,0,0,0.58), inset 0 1px 0 rgba(255,255,255,0.08);
}
/* iridescent animated edge — the Liquid Glass signature */
.ev-feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 5;
  background: var(--iris); background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.7; pointer-events: none; animation: irisShift 12s ease-in-out infinite alternate;
}
/* faint sheen across the top edge */
.ev-feature::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; z-index: 6;
  background: linear-gradient(90deg, transparent, rgba(220,227,234,0.6), transparent);
}
/* morphing liquid blobs drifting behind the glass */
.ev-feature__blob {
  position: absolute; z-index: 0; width: 42%; aspect-ratio: 1;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  filter: blur(34px) saturate(150%); mix-blend-mode: screen; opacity: 0.5;
  pointer-events: none; will-change: transform, border-radius;
}
.ev-feature__blob--1 { top: -12%; left: 44%;
  background: radial-gradient(circle at 30% 30%, rgba(120,165,230,0.6), transparent 70%);
  animation: blobMorph 18s ease-in-out infinite, evBlobA 24s ease-in-out infinite alternate; }
.ev-feature__blob--2 { bottom: -14%; right: -6%;
  background: radial-gradient(circle at 60% 40%, rgba(150,120,215,0.5), transparent 70%);
  animation: blobMorph 22s ease-in-out infinite reverse, evBlobB 28s ease-in-out infinite alternate; }
@keyframes evBlobA { from { transform: translate(0,0) scale(1); } to { transform: translate(-12%,10%) scale(1.15); } }
@keyframes evBlobB { from { transform: translate(0,0) scale(1.05); } to { transform: translate(10%,-8%) scale(1); } }

.ev-feature__media {
  position: relative; z-index: 1; min-height: clamp(260px, 38vw, 420px); overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #20406a 0%, #0a1f38 55%, #060f1e 100%);
}
.ev-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev-feature:hover .ev-feature__media img { transform: scale(1.05); }
.ev-feature__media.ev-media--ph::before {
  content: ""; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; color: rgba(220,227,234,0.5); text-shadow: 0 0 28px rgba(120,160,220,0.5);
}
/* soften the image into the glass on the body side + base */
.ev-feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(5,16,33,0.6) 100%),
              linear-gradient(0deg, rgba(3,8,16,0.5), transparent 42%);
}
.ev-feature__badge {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 0.95rem; border-radius: 999px;
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-size: 0.68rem; letter-spacing: 0.26em; text-indent: 0.26em;
  text-transform: uppercase; color: #06101f;
  background: linear-gradient(180deg, #f3f6f9, #c3ccd5); box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ev-feature__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #06101f;
  text-indent: 0; animation: evPulse 2s ease-in-out infinite;
}
@keyframes evPulse { 0%,100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

.ev-feature__body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.8rem, 4vw, 3.2rem);
}
.ev-feature__date { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; font-family: 'ABC Arizona Flare', 'Marcellus', serif; }
.ev-feature__day {
  font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 0.85;
  background: linear-gradient(180deg, #f6f9fc, #dce3ea 55%, #aeb8c2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ev-feature__dm { display: flex; flex-direction: column; gap: 0.25rem; }
.ev-feature__mon { font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.ev-feature__dow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); }
.ev-feature__title {
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400; color: var(--cream);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.08; margin: 0;
}
.ev-feature__meta {
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); opacity: 0.88; margin: 0.95rem 0 0;
}
.ev-feature__desc {
  color: rgba(239,232,216,0.82); margin: 1rem 0 0; line-height: 1.6; max-width: 44ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ev-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 1.7rem; }
.ev-feature__view {
  font: inherit; cursor: pointer; background: none; border: none; padding: 0;
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); transition: color .3s var(--ease);
}
.ev-feature__view::after { content: " →"; }
.ev-feature__view:hover { color: var(--cream); }

/* =====================================================================
   TIMELINE — the rest of the calendar as a cosmic vertical timeline
   ===================================================================== */
.ev-more__head { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 clamp(1.8rem, 4vw, 2.8rem); }
.ev-more__head h3 {
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400; white-space: nowrap;
  font-size: clamp(0.78rem, 2vw, 0.95rem); letter-spacing: 0.28em; text-indent: 0.28em;
  text-transform: uppercase; color: var(--ink-dim);
}
.ev-more__line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(220,227,234,0.25), transparent); }

.ev-timeline { position: relative; display: flex; flex-direction: column; gap: clamp(1.1rem, 2.6vw, 1.7rem); }
/* the continuous platinum thread threading through every node */
.ev-timeline::before {
  content: ""; position: absolute; left: 46px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(220,227,234,0.22) 8%, rgba(220,227,234,0.22) 92%, transparent);
}

.ev-row {
  position: relative; width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  display: grid; grid-template-columns: 92px 1fr; align-items: stretch; gap: clamp(0.8rem, 2vw, 1.4rem);
  background: none; border: none; padding: 0;
}
.ev-row__rail { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.4rem 0; }
.ev-row__node {
  width: 13px; height: 13px; border-radius: 50%; margin-bottom: 0.6rem;
  background: radial-gradient(circle at 50% 38%, #f6f9fc, #aeb8c2);
  box-shadow: 0 0 0 5px #061427, 0 0 16px rgba(174,184,194,0.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ev-row:hover .ev-row__node, .ev-row:focus-visible .ev-row__node {
  transform: scale(1.2); box-shadow: 0 0 0 5px #061427, 0 0 28px rgba(174,184,194,0.95);
}
.ev-row__date { text-align: center; font-family: 'ABC Arizona Flare', 'Marcellus', serif; line-height: 1; }
.ev-row__dow { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.ev-row__day { display: block; font-size: 1.5rem; color: var(--cream); margin: 0.18rem 0; }
.ev-row__mon { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }

.ev-row__card {
  position: relative; overflow: hidden; min-height: clamp(96px, 16vw, 132px);
  display: flex; align-items: stretch; gap: clamp(0.9rem, 2vw, 1.4rem);
  border: 1px solid rgba(220,227,234,0.10); border-radius: 16px;
  background: linear-gradient(180deg, rgba(10,26,46,0.5), rgba(5,16,33,0.28));
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 22px 50px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.ev-row:hover .ev-row__card, .ev-row:focus-visible .ev-row__card {
  transform: translateX(6px); border-color: rgba(220,227,234,0.22);
  box-shadow: 0 30px 70px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.07);
}
.ev-row:focus-visible { outline: none; }
/* iridescent edge lights up on hover */
.ev-row__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3;
  background: var(--iris); background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.ev-row:hover .ev-row__card::after, .ev-row:focus-visible .ev-row__card::after { opacity: 0.8; }

.ev-row__thumb {
  position: relative; flex: 0 0 auto; width: clamp(96px, 22vw, 168px); overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #20406a 0%, #0a1f38 55%, #060f1e 100%);
}
.ev-row__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ev-row:hover .ev-row__thumb img { transform: scale(1.07); }
.ev-row__thumb.ev-media--ph::before {
  content: ""; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.4rem; color: rgba(220,227,234,0.5); text-shadow: 0 0 18px rgba(120,160,220,0.5);
}
.ev-row__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(0.9rem, 2vw, 1.3rem) clamp(1rem, 2.4vw, 1.5rem) clamp(0.9rem, 2vw, 1.3rem) 0;
}
.ev-row__title { font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--cream); }
.ev-row__meta { font-size: 0.9rem; color: var(--ink-dim); margin-top: 0.4rem; }
.ev-row__more {
  margin-top: 0.7rem; font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-soft); opacity: 0.55; transition: opacity .4s var(--ease);
}
.ev-row:hover .ev-row__more, .ev-row:focus-visible .ev-row__more { opacity: 0.95; }

@media (prefers-reduced-motion: reduce) {
  .ev-feature__blob, .ev-feature::after, .ev-feature__badge::before, .ev-title { animation: none; }
}

/* ---- event detail modal ---- */
.ev-modal { position: fixed; inset: 0; z-index: 400; display: none; }
.ev-modal.open { display: block; }
.ev-modal__overlay {
  position: absolute; inset: 0; background: rgba(3,6,13,0.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.ev-modal.open .ev-modal__overlay { opacity: 1; }
.ev-modal__dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%);
  width: min(620px, calc(100vw - 2rem));
  max-height: calc(100vh - 2.5rem); max-height: calc(100svh - 2.5rem); overflow: auto;
  border: 1px solid rgba(220,227,234,0.14); border-radius: 20px;
  background: linear-gradient(180deg, #0a1c32, #050f1f);
  box-shadow: 0 50px 120px rgba(0,0,0,0.6);
  opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.ev-modal.open .ev-modal__dialog { opacity: 1; transform: translate(-50%, -50%); }
.ev-modal__close {
  position: absolute; right: 12px; top: 12px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(220,227,234,0.2);
  background: rgba(6,12,26,0.55); color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.ev-modal__close:hover { background: rgba(6,12,26,0.9); border-color: var(--gold-soft); }
.ev-modal__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px 20px 0 0;
  background: radial-gradient(120% 120% at 30% 20%, #20406a 0%, #0a1f38 55%, #060f1e 100%);
}
.ev-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.ev-modal__media.ev-media--ph::before {
  content: ""; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; color: rgba(220,227,234,0.5); text-shadow: 0 0 28px rgba(120,160,220,0.5);
}
.ev-modal__body { padding: clamp(1.5rem, 4vw, 2.4rem); }
.ev-modal__date { font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.ev-modal__title { font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--cream); margin: 0.5rem 0 0; }
.ev-modal__meta { font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin: 0.7rem 0 0; }
.ev-modal__desc { color: rgba(239,232,216,0.86); margin: 1.1rem 0 0; line-height: 1.7; white-space: pre-line; }
.ev-modal__cta { margin-top: 1.6rem; display: inline-block; }
body.ev-modal-open { overflow: hidden; }

/* ---- states (loading / empty / error) ---- */
.ev-state {
  text-align: center; padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem;
  font-family: 'ABC Arizona Flare', 'Marcellus', serif; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--ink-dim);
}
.ev-empty {
  text-align: center; padding: clamp(2.6rem, 7vw, 5rem) 1.5rem; color: rgba(239,232,216,0.82);
}
.ev-empty__mark { display: block; font-size: 1.7rem; color: var(--gold-soft); margin-bottom: 1rem; }
.ev-empty h3 { font-family: 'ABC Arizona Flare', 'Marcellus', serif; font-weight: 400; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--cream); margin-bottom: 0.6rem; }
.ev-empty p { max-width: 34rem; margin: 0 auto 1.7rem; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .ev-feature { grid-template-columns: 1fr; }
  .ev-feature__media { min-height: clamp(220px, 58vw, 320px); }
}
@media (max-width: 520px) {
  .ev-row { grid-template-columns: 66px 1fr; gap: 0.7rem; }
  .ev-timeline::before { left: 33px; }
  .ev-row__day { font-size: 1.3rem; }
  .ev-row__thumb { width: clamp(84px, 26vw, 120px); }
  .ev-feature__actions .btn-gold { width: auto; }
}

/* =====================================================================
   EVENTS PAGE REDESIGN - skyline poster / calendar cards
   Keeps the same HTML + Supabase data, changes only the visual treatment.
   ===================================================================== */

.ev-hero {
  /* match the shared .page-hero size so every secondary-page hero is identical */
  min-height: 78vh;
  min-height: 78svh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8rem, 16vw, 12rem) clamp(1.25rem, 6vw, 6rem) clamp(4rem, 9vw, 7rem);
  /* keep hero text clear of the taller safe-area header (viewport-fit=cover) */
  padding-top: calc(clamp(8rem, 16vw, 12rem) + env(safe-area-inset-top, 0px));
  /* wide 2560px hero crop (not a stretched portrait) so it stays sharp when zoomed out */
  background:
    linear-gradient(90deg, rgba(3,8,18,0.62) 0%, rgba(3,8,18,0.82) 36%, rgba(3,8,18,0.82) 64%, rgba(3,8,18,0.62) 100%),
    linear-gradient(0deg, #03060d 0%, rgba(3,6,13,0.12) 40%),
    url("../foto/hero-events.webp") center / cover no-repeat;
}
.ev-hero::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  opacity: 0.2;
  background:
    linear-gradient(rgba(220,227,234,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,227,234,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: none;
}
.ev-hero::after {
  width: min(540px, 72vw);
  height: min(540px, 72vw);
  left: 50%;
  right: auto;
  bottom: clamp(2rem, 10vw, 7rem);
  background: radial-gradient(circle, rgba(220,227,234,0.22), transparent 68%);
  filter: blur(46px);
  opacity: 0.65;
  transform: translateX(-50%);
  animation: none;
}
.ev-stars { opacity: 0.5; mix-blend-mode: screen; }
.ev-hero__content {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 0;
}
.ev-script {
  display: inline-block;
  font-family: 'ABC Arizona Flare', 'Marcellus', serif;
  font-size: clamp(0.74rem, 1.4vw, 0.86rem);
  line-height: 1;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 clamp(1rem, 2vw, 1.3rem);
  text-shadow: none;
}
.ev-title {
  max-width: none;
  font-size: clamp(4.4rem, 13vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: 0.04em;
  text-indent: 0;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,0.58));
}
.ev-rule {
  justify-content: center;
  width: min(420px, 100%);
  margin: clamp(1.2rem, 3vw, 2rem) auto 0;
}
.ev-lead {
  margin: clamp(1.2rem, 2.4vw, 1.7rem) auto 0;
  max-width: 36rem;
  font-size: clamp(1.08rem, 2.3vw, 1.34rem);
}
.ev-hero .brand-tag { margin-top: 1.45rem; }
.ev-scroll {
  left: 50%;
  transform: translateX(-50%);
}

.ev-section {
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(64rem 38rem at 82% 8%, rgba(47,169,164,0.12), transparent 62%),
    radial-gradient(42rem 28rem at 10% 40%, rgba(174,184,194,0.08), transparent 66%),
    linear-gradient(180deg, #03060d 0%, #061427 48%, #030914 100%);
}
.ev-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(220,227,234,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,227,234,0.028) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.ev-wrap {
  position: relative;
  max-width: 1180px;
}
.ev-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
  text-align: left;
  margin-bottom: clamp(2.3rem, 5vw, 4.2rem);
}
.ev-section__title {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
}
.ev-section__sub {
  max-width: 28rem;
  margin: 0;
  justify-self: end;
  color: rgba(239,232,216,0.72);
}

.ev-feature {
  grid-template-columns: minmax(280px, 0.84fr) minmax(320px, 1fr);
  border-radius: 8px;
  border-color: rgba(220,227,234,0.2);
  background:
    linear-gradient(135deg, rgba(238,244,250,0.1), transparent 38%),
    linear-gradient(180deg, rgba(9,29,48,0.82), rgba(5,16,33,0.58));
  box-shadow: 0 32px 90px rgba(0,0,0,0.5);
}
.ev-feature::after {
  border-radius: inherit;
  opacity: 0.38;
}
.ev-feature::before {
  left: 0;
  right: 0;
}
.ev-feature:hover {
  transform: translateY(-6px);
}
.ev-feature__blob { opacity: 0.26; }
.ev-feature__media {
  min-height: clamp(360px, 48vw, 560px);
}
.ev-feature__media::after {
  background:
    linear-gradient(90deg, transparent 58%, rgba(5,16,33,0.7) 100%),
    linear-gradient(0deg, rgba(3,8,16,0.46), transparent 42%);
}
.ev-feature__badge {
  left: 22px;
  top: 22px;
  border-radius: 4px;
  background: rgba(242,239,233,0.92);
}
.ev-feature__body {
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.4rem);
}
.ev-feature__date {
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.7rem);
  border-bottom: 1px solid rgba(220,227,234,0.16);
}
.ev-feature__day {
  font-size: clamp(3.8rem, 8vw, 6.4rem);
}
.ev-feature__title {
  max-width: 10ch;
  font-size: clamp(2.5rem, 5.8vw, 5.2rem);
  line-height: 0.9;
}
.ev-feature__meta {
  margin-top: 1.25rem;
}
.ev-feature__desc {
  max-width: 38rem;
  font-size: 1.08rem;
}

.ev-more__head {
  margin-top: clamp(2.5rem, 6vw, 5.5rem);
}
.ev-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}
.ev-timeline::before { display: none; }
.ev-row {
  display: block;
  min-width: 0;
}
.ev-row__rail {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: 0;
  width: 72px;
  min-height: 72px;
  justify-content: center;
  border: 1px solid rgba(220,227,234,0.32);
  border-radius: 6px;
  background: rgba(3,8,18,0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ev-row__node { display: none; }
.ev-row__date { width: 100%; }
.ev-row__dow { font-size: 0.58rem; }
.ev-row__day {
  font-size: 1.75rem;
}
.ev-row__mon { font-size: 0.58rem; }
.ev-row__card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  gap: 0;
  border-radius: 8px;
  background: rgba(5,16,33,0.54);
}
.ev-row:hover .ev-row__card,
.ev-row:focus-visible .ev-row__card {
  transform: translateY(-6px);
}
.ev-row__thumb {
  width: 100%;
  min-height: 240px;
  aspect-ratio: 4 / 3;
}
.ev-row__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,8,18,0.42), transparent 56%);
}
.ev-row__text {
  flex: 1;
  padding: 1.25rem;
  justify-content: flex-start;
}
.ev-row__title {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  line-height: 1.08;
}
.ev-row__meta {
  margin-top: 0.75rem;
  font-family: 'ABC Arizona Flare', 'Marcellus', serif;
}
.ev-row__more {
  margin-top: auto;
  padding-top: 1.5rem;
}

.ev-modal__dialog {
  width: min(900px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(300px, 1fr);
  border-radius: 8px;
  background: linear-gradient(135deg, #0a1c32, #040a14);
}
.ev-modal__media {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  border-radius: 8px 0 0 8px;
}
.ev-modal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 940px) {
  .ev-section__head {
    grid-template-columns: 1fr;
  }
  .ev-section__sub {
    justify-self: start;
  }
  .ev-feature {
    grid-template-columns: 1fr;
  }
  .ev-feature__media {
    min-height: clamp(260px, 52vw, 420px);
  }
  .ev-feature__title {
    max-width: 12ch;
  }
  .ev-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ev-modal__dialog {
    display: block;
  }
  .ev-modal__media {
    min-height: 260px;
    aspect-ratio: 16 / 9;
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 620px) {
  .ev-hero {
    /* full-screen opening on phones (svh so the address bar doesn't cut it) */
    min-height: 100vh;
    min-height: 100svh;
    padding-inline: 1.25rem;
    /* portrait crop of the same five-cocktail scene — the wide 2560px crop
       covers a tall phone screen with a blown-up center slice */
    background:
      radial-gradient(95% 85% at 50% 40%, rgba(3,8,18,0.26), transparent 72%),
      linear-gradient(180deg, rgba(3,8,18,0.52) 0%, rgba(3,8,18,0.34) 42%, rgba(3,6,13,0.94) 100%),
      url("../foto/craft-lineup.webp") center / cover no-repeat;
  }
  .ev-title {
    font-size: clamp(3.5rem, 20vw, 5.4rem);
  }
  .ev-timeline {
    grid-template-columns: 1fr;
  }
  .ev-row__card {
    min-height: 380px;
  }
  .ev-row__thumb {
    min-height: 220px;
  }
}
