/* ================================================================
   SOVNEAR — EVENTS PAGE
   Requires: tokens.css (via sovnear.min.css)
   ================================================================ */


/* ── Scroll Reveal ── */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   680ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 680ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sr.sr--visible  { opacity: 1; transform: translateY(0); }
.sr--delay-1     { transition-delay:  80ms; }
.sr--delay-2     { transition-delay: 180ms; }
.sr--delay-3     { transition-delay: 280ms; }
.sr--delay-4     { transition-delay: 380ms; }
.sr--delay-5     { transition-delay: 460ms; }
.sr--delay-6     { transition-delay: 540ms; }


/* ══════════════════════════════════════════════════════════════
   §1  HERO ACTION BUTTONS
   ══════════════════════════════════════════════════════════════ */

.ev-hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin-top: 28px;
  flex-wrap: wrap;
}

.ev-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0c160d;
  background: var(--color-gold, #C8922A);
  padding: 14px 28px;
  border-radius: 2px;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.ev-hero__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 240ms ease;
}

.ev-hero__btn:hover {
  background: var(--color-gold-deep, #9A6E1C);
  color: var(--color-ivory, #FAF6F0);
  transform: translateY(-2px);
}

.ev-hero__btn:hover svg { transform: translateX(3px); }

.ev-hero__btn--ghost {
  background: transparent;
  color: rgba(250, 246, 240, 0.82);
  border: 1px solid rgba(250, 246, 240, 0.28);
}

.ev-hero__btn--ghost:hover {
  background: rgba(250, 246, 240, 0.09);
  color: var(--color-ivory, #FAF6F0);
  border-color: rgba(250, 246, 240, 0.55);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════════════════
   §2  INTRO SECTION
   ══════════════════════════════════════════════════════════════ */

.ev-intro {
  background: var(--color-ivory, #FAF6F0);
  padding: clamp(80px, 10vw, 128px) var(--space-6, 48px);
  text-align: center;
}

.ev-intro__inner {
  max-width: 720px;
  margin: 0 auto;
}

.ev-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold, #C8922A);
  margin-bottom: var(--space-4, 32px);
}

.ev-intro__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(184, 137, 46, 0.40);
  flex-shrink: 0;
}

.ev-intro__heading {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-green-deep, #2E3D30);
  margin-bottom: var(--space-4, 32px);
}

.ev-intro__heading em {
  font-style: italic;
  color: var(--color-gold, #C8922A);
}

.ev-intro__text {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-slate, #4A4A4A);
}


/* ══════════════════════════════════════════════════════════════
   §3  EVENT TYPE CARDS — alternating full-bleed split layout
   ══════════════════════════════════════════════════════════════ */

.ev-types {
  background: var(--color-ivory-warm, #F5EFE4);
  padding: clamp(80px, 10vw, 160px) var(--space-6, 48px);
}

.ev-types__inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
}

.ev-types__header {
  text-align: center;
  margin-bottom: clamp(64px, 9vw, 112px);
}

.ev-types__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold, #C8922A);
  margin-bottom: var(--space-4, 32px);
}

.ev-types__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(184, 137, 46, 0.40);
  flex-shrink: 0;
}

.ev-types__heading {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-green-deep, #2E3D30);
}

.ev-types__heading em {
  font-style: italic;
  color: var(--color-gold, #C8922A);
}

/* ── Cards stack ── */
.ev-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Individual card ── */
.ev-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/* Reverse: push media to column 2 using order — no direction:rtl hack */
.ev-card--reverse .ev-card__media {
  order: 2;
}

/* ── Media panel ── */
.ev-card__media {
  position: relative;
  overflow: hidden;
}

.ev-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.88) saturate(1.08);
  transition: transform 700ms var(--ease-luxury, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.ev-card:hover .ev-card__img {
  transform: scale(1.04);
}

/* .ev-card__badge removed — overlay text stripped from media panels */

/* ── Content panel ── */
.ev-card__body {
  padding: clamp(52px, 7vw, 112px) clamp(36px, 5.5vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ev-card--a .ev-card__body { background: var(--color-ivory, #FAF6F0); }
.ev-card--b .ev-card__body { background: #111111; }  /* charcoal — neutral authority */
.ev-card--c .ev-card__body { background: var(--color-ivory-warm, #F5EFE4); }

.ev-card__eyebrow {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold, #C8922A);
  margin-bottom: var(--space-3, 24px);
}

.ev-card__title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4, 32px);
}

.ev-card--a .ev-card__title,
.ev-card--c .ev-card__title { color: var(--color-green-deep, #2E3D30); }
.ev-card--b .ev-card__title { color: var(--color-ivory, #FAF6F0); }
.ev-card__title em         { font-style: italic; color: var(--color-gold, #C8922A); }


.ev-card__desc {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: var(--space-6, 48px);
}

.ev-card--a .ev-card__desc,
.ev-card--c .ev-card__desc { color: var(--color-slate, #4A4A4A); }
.ev-card--b .ev-card__desc { color: rgba(250, 246, 240, 0.62); }

.ev-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2, 16px);
  margin-bottom: var(--space-7, 56px);
}

.ev-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 12px;
  font-weight: 300;
}

.ev-card--a .ev-card__item,
.ev-card--c .ev-card__item { color: var(--color-slate, #4A4A4A); }
.ev-card--b .ev-card__item { color: rgba(250, 246, 240, 0.55); }

.ev-card__item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold, #C8922A);
  flex-shrink: 0;
}

/* ── CTA button (SVG arrow, pill) ── */
.ev-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  min-height: 48px;
  box-sizing: border-box;
  width: fit-content;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.ev-card__cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.ev-card__cta:hover svg { transform: translateX(4px); }

.ev-card--a .ev-card__cta,
.ev-card--c .ev-card__cta {
  background: var(--color-green-deep, #2E3D30);
  color: var(--color-ivory, #FAF6F0);
}

.ev-card--a .ev-card__cta:hover,
.ev-card--c .ev-card__cta:hover {
  background: var(--color-gold, #C8922A);
  color: #0c160d;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 146, 42, 0.32);
}

.ev-card--b .ev-card__cta {
  background: var(--color-gold, #C8922A);
  color: #0c160d;
}

.ev-card--b .ev-card__cta:hover {
  background: var(--color-gold-deep, #9A6E1C);
  color: var(--color-ivory, #FAF6F0);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 146, 42, 0.38);
}


/* ══════════════════════════════════════════════════════════════
   §4  WHY SOVNEAR — 6-card dark grid
   ══════════════════════════════════════════════════════════════ */

.ev-why {
  background: #111212;  /* charcoal — boardroom credibility, not forest-romantic */
  padding: clamp(80px, 10vw, 160px) var(--space-6, 48px);
}

.ev-why__inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
}

.ev-why__header {
  text-align: center;
  margin-bottom: clamp(56px, 8vw, 112px);
}

.ev-why__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold, #C8922A);
  margin-bottom: var(--space-4, 32px);
}

.ev-why__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(201, 169, 110, 0.35);
  flex-shrink: 0;
}

.ev-why__heading {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-ivory, #FAF6F0);
}

.ev-why__heading em {
  font-style: italic;
  color: var(--color-gold-light);
}

.ev-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5, 40px);
}

.ev-why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.10);
  border-radius: 2px; /* fixed from --radius-lg; matches brand sharp aesthetic */
  padding: clamp(32px, 4vw, 56px);
  transition: border-color 280ms ease, background 280ms ease, transform 280ms ease;
}

.ev-why-card:hover {
  border-color: rgba(201, 169, 110, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.ev-why-card__num {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: 42px;
  font-style: italic;
  color: rgba(201, 169, 110, 0.20);
  line-height: 1;
  margin-bottom: var(--space-3, 24px);
}

.ev-why-card__title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  color: var(--color-ivory, #FAF6F0);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3, 24px);
  line-height: 1.2;
}

.ev-why-card__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.ev-why-card__desc {
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.82;
  color: rgba(250, 246, 240, 0.55);
}


/* ══════════════════════════════════════════════════════════════
   §5  GALLERY MOSAIC
   ══════════════════════════════════════════════════════════════ */

.ev-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 4px;
}

.ev-gallery__img {
  background-size: cover;
  background-position: center;
  filter: brightness(0.82);
  transition: filter 350ms ease, transform 350ms ease;
  overflow: hidden;
}

.ev-gallery__img:hover { filter: brightness(1.0); }

.ev-gallery__img--tall { grid-row: span 2; }

/* Gallery CTA strip */
.ev-gallery__cta {
  background: #111212;  /* charcoal — consistent with ev-why */
  padding: 20px clamp(24px, 5vw, 80px);
  text-align: right;
}

.ev-gallery__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Jost', sans-serif);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(200, 146, 42, 0.72);
  transition: color 240ms ease, gap 240ms ease;
}

.ev-gallery__cta-link svg {
  width: 16px;
  height: 16px;
  transition: transform 240ms ease;
}

.ev-gallery__cta-link:hover { color: var(--color-gold-light); gap: 12px; }
.ev-gallery__cta-link:hover svg { transform: translateX(3px); }


/* ══════════════════════════════════════════════════════════════
   §6  RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */

/* ── Large tablet ≤ 1024px: tighten card padding ── */
@media (max-width: 1024px) {
  .ev-types { padding: clamp(72px, 8vw, 120px) var(--space-5, 40px); }
  .ev-why   { padding: clamp(72px, 8vw, 120px) var(--space-5, 40px); }
}

/* ── Tablet ≤ 900px: stack cards, 2-col why, fix gallery ── */
@media (max-width: 900px) {
  /* Cards go single column */
  .ev-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Reset order — all stacked cards are media-top, body-bottom */
  .ev-card--reverse .ev-card__media {
    order: 0;
  }

  .ev-card__media { min-height: 340px; }

  .ev-card__body {
    padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  }

  /* Why grid: 2 columns */
  .ev-why__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4, 32px);
  }

  /* Gallery: 2-col with explicit row height — prevents collapse */
  .ev-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }

  .ev-gallery__img--tall { grid-row: auto; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .ev-intro { padding: clamp(64px, 8vw, 96px) var(--space-5, 40px); }
  .ev-types { padding: clamp(64px, 8vw, 96px) var(--space-5, 40px); }
  .ev-why   { padding: clamp(64px, 8vw, 96px) var(--space-5, 40px); }
  .ev-types__header { margin-bottom: clamp(48px, 7vw, 80px); }
  .ev-why__header   { margin-bottom: clamp(48px, 7vw, 80px); }
}

/* ── Mobile ≤ 600px: single-col why + gallery, hero buttons stack ── */
@media (max-width: 600px) {
  .ev-why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3, 24px);
  }

  .ev-why-card {
    padding: var(--space-5, 40px) var(--space-4, 32px);
  }

  /* Gallery: single column, still has explicit height */
  .ev-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .ev-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── Small mobile ≤ 480px ── */
@media (max-width: 480px) {
  .ev-intro { padding: clamp(56px, 9vw, 80px) var(--space-4, 32px); }
  .ev-types { padding: clamp(56px, 9vw, 80px) var(--space-4, 32px); }
  .ev-why   { padding: clamp(56px, 9vw, 80px) var(--space-4, 32px); }

  .ev-card__media  { min-height: 280px; }
  .ev-card__body   { padding: var(--space-6, 48px) var(--space-4, 32px); }

  .ev-gallery { grid-auto-rows: 180px; }

  .ev-hero__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ── Tiny ≤ 375px ── */
@media (max-width: 375px) {
  .ev-intro { padding: 56px 20px; }
  .ev-types { padding: 56px 20px; }
  .ev-why   { padding: 56px 20px; }
  .ev-card__body  { padding: 40px 20px; }
  .ev-gallery     { grid-auto-rows: 160px; }
  .ev-hero__btn   { max-width: 260px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sr                          { opacity: 1; transform: none; transition: none; }
  .ev-card__img                { transition: none; }
  .ev-card:hover .ev-card__img { transform: none; }
  .ev-why-card                 { transition: none; }
}
