/* ===================================================================
   VERDE — What's On (/whats-on/)
   Scoped to .wo-* classes. Shared by index.html + event.html.
   Relies on design tokens already in verde-style.css and the
   --ev-* properties defined in verde-events.css (:root scope).
   v3 — Phase 3 row layout, sticky strip, Other events (2026-05-29)

   Colour cheat-sheet:
     Nero Carbone  #1A1A1A  —  var(--ev-charcoal, #1a1a1a)
     Panna         #EBDCC4 ≈ #e7e0cb  —  var(--ev-cream, #e7e0cb)
     Oro Antico    #B8924A  —  var(--ev-gold, #b8924a)
     Rosso         #6B1F1F  (eyebrows on light bg; WCAG 7.8:1 on Panna)
     Rosso-chiaro  #C87372  (eyebrows on dark bg;  WCAG 5.5:1 on Nero Carbone)
     Verde Bosco   #1E4A43  (SevenRooms CTA bg)
   =================================================================== */

/* ---- Page header -------------------------------------------------- */

.wo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 31.5dvh;   /* 25% shorter header — brings the cards up */
  min-height: 31.5vh;
  padding: clamp(80px, 9vh, 112px) clamp(24px, 5vw, 80px) 0;
  background: var(--ev-charcoal, #1a1a1a);
}

.wo-header__eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: clamp(10px, 0.85vw, 11px);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-variant-numeric: oldstyle-nums;
  color: var(--ev-gold, #b8924a);
}

.wo-header__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: var(--type-section-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: calc(1em + 4px);
  color: var(--ev-gold, #b8924a);
  text-wrap: balance;
}

/* Kept for backward compatibility — no longer rendered in HTML */
.wo-header__subline {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(231, 224, 203, 0.7);
}

/* ---- Loading / Empty / Error states ------------------------------ */

.wo-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: clamp(80px, 12vh, 160px) clamp(24px, 5vw, 80px);
  min-height: 50vh;
  background: var(--ev-cream, #e7e0cb);
}

.wo-state[hidden] { display: none !important; }

.wo-state__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ev-charcoal, #1a1a1a);
  text-wrap: balance;
}

.wo-state__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: calc(1em + 10px);
  color: var(--ev-charcoal, #1a1a1a);
  max-width: 480px;
  text-wrap: pretty;
}

.wo-state__spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(184, 146, 74, 0.2);
  border-top-color: var(--ev-gold, #b8924a);
  border-radius: 50%;
  animation: wo-spin 0.8s linear infinite;
}

@keyframes wo-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wo-state__spinner { animation: none; border-top-color: var(--ev-gold); }
}

/* ---- Shared typographic primitives ------------------------------- */

.wo-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(10px, 0.85vw, 11px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b1f1f; /* Rosso on light bg — WCAG 7.8:1 on Panna */
}

.wo-name {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: calc(1em + 6px);
  color: var(--ev-charcoal, #1a1a1a);
  text-wrap: balance;
}

.wo-dek {
  margin: 0 0 10px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: calc(1em + 8px);
  color: rgba(26, 26, 26, 0.65);
  text-wrap: pretty;
}

.wo-date {
  margin: 0 0 6px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(12px, 1vw, 14px);
  line-height: calc(1em + 6px);
  color: rgba(26, 26, 26, 0.7);
}

/* Legacy — kept for safety */
.wo-price {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  color: var(--ev-charcoal, #1a1a1a);
}

.wo-desc {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: calc(1em + 10px);
  color: var(--ev-charcoal, #1a1a1a);
  text-wrap: pretty;
}

/* ---- SevenRooms CTA (shared) -------------------------------------- */

.wo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  background: #1a1a1a;
  color: #EBDCC4; /* Panna */
  cursor: pointer;
  transition: color 200ms ease-in-out;
}

.wo-cta__arrow {
  display: inline-block;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.wo-cta:hover { color: #B8924A; /* Oro */ }
.wo-cta:hover .wo-cta__arrow { transform: translateX(4px); }

.wo-cta:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 2px;
}

.wo-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ev-charcoal);
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.wo-more-link:hover { border-color: var(--ev-charcoal); }
.wo-more-link:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/*  SINGLE MODE  (1 event)                                             */
/*  Outer article: Nero Carbone bg. Link wrapper: image + Panna panel.*/
/* ------------------------------------------------------------------ */

.wo-single {
  display: block;
  background: transparent;   /* tile floats over the velvet curtain */
}

/* Whole-card link — grid splits image (60%) / content (40%) */
.wo-single__link {
  display: grid;
  grid-template-columns: 60% 1fr;
  min-height: 80vh;
  text-decoration: none;
  color: inherit;
}

.wo-single__media {
  position: relative;
  overflow: hidden;
  background: transparent;   /* cut-out image floats over the velvet */
}

.wo-single__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.wo-single__media--no-img {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content panel: Panna bg — default .wo-eyebrow (Rosso) is correct */
.wo-single__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px);
  background: var(--ev-cream, #e7e0cb);
}

.wo-single .wo-name { font-size: clamp(26px, 3.2vw, 48px); }

/* CTA nudge on card hover */
.wo-single__link:hover .wo-cta { color: #B8924A; }
.wo-single__link:hover .wo-cta__arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .wo-single__link {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wo-single__media {
    aspect-ratio: 16 / 9;
    position: relative; /* ensure for aspect-ratio context */
  }

  .wo-single__img {
    position: absolute;
  }

  .wo-single__content {
    padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  }
}

/* ------------------------------------------------------------------ */
/*  ROWS MODE SECTION  (2–3 events, rows layout context)              */
/* ------------------------------------------------------------------ */

.wo-rows-section {
  background: transparent;   /* let the header's velvet curtain show behind the list */
  padding: clamp(64px, 8vh, 120px) clamp(24px, 5vw, 80px);
}

/* ------------------------------------------------------------------ */
/*  ROW LIST  — used in rows mode, grid mode (remaining events),      */
/*  and Other events section                                           */
/* ------------------------------------------------------------------ */

.wo-rows {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1440px;
}

/* Dark-section context: spaced white cards */
.wo-rows-section .wo-rows .wo-row-item + .wo-row-item,
.wo-grid-section .wo-rows .wo-row-item + .wo-row-item {
  margin-top: clamp(12px, 1.5vw, 20px);
}

/* Cream context: hairline dividers, no gap */
.wo-rows--cream .wo-row-item + .wo-row-item {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

/* ---- Row card ---------------------------------------------------- */

.wo-row-item {
  list-style: none;
}

/* Whole-row clickable link — grid: thumbnail left / content right */
.wo-row__link {
  display: grid;
  grid-template-columns: 38% 1fr;
  align-items: stretch;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease;
}

/* Cream-section override: transparent bg (parent is Panna) */
.wo-rows--cream .wo-row__link {
  background: transparent;
}

.wo-row__link:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 2px;
}

/* Thumbnail — 4:3; fills the grid cell via absolute img.
   align-self:center stops the grid from stretching the media to the
   content height, so every thumbnail renders at the same 4:3 size no
   matter how much text (or what image dimensions) an event has. */
.wo-row__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  align-self: center;
  background: transparent;   /* cut-out image floats over the velvet */
  flex-shrink: 0;
}

.wo-row__media--no-img {
  background: rgba(26, 26, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wo-row__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Content column */
.wo-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 44px) clamp(28px, 4vw, 56px);
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Eyebrow in row: Rosso on white bg */
.wo-row__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(10px, 0.85vw, 11px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b1f1f;
}

.wo-row__name {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: calc(1em + 6px);
  color: var(--ev-charcoal, #1a1a1a);
  text-wrap: balance;
}

/* Rendered order: eyebrow → name → dek → meta → CTA */
.wo-row__dek {
  margin: 0 0 12px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: calc(1em + 8px);
  color: rgba(26, 26, 26, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wo-row__meta {
  margin: 0 0 24px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(12px, 1vw, 14px);
  line-height: calc(1em + 6px);
  color: rgba(26, 26, 26, 0.6);
}

/* DETAILS CTA — left-aligned, natural width (not stretched across body) */
.wo-row__cta {
  align-self: flex-start;
}

/* Mobile: stacked layout */
@media (max-width: 767px) {
  .wo-row__link {
    grid-template-columns: 1fr;
  }

  .wo-row__media {
    aspect-ratio: 16 / 9; /* wider crop when full-width on mobile */
  }

  .wo-row__body {
    padding: clamp(20px, 4vw, 32px) clamp(20px, 5vw, 36px);
  }

  /* Body body translate disabled on small screens */
  .wo-row__link:hover .wo-row__body {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/*  GRID MODE  (4+ events)                                             */
/*  Featured hero at top, remaining events as row list below.         */
/* ------------------------------------------------------------------ */

.wo-grid-section {
  background: transparent;   /* curtain shows behind (grid mode no longer used) */
  padding: clamp(64px, 8vh, 120px) clamp(24px, 5vw, 80px);
}

/* Featured / pinned card — full-width hero at top of grid section */
.wo-featured {
  display: block;
  max-width: 1440px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.06), 0 8px 28px rgba(26, 26, 26, 0.09);
}

/* Whole-card link — stacked hero: image on top, content below. */
.wo-featured__link {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
}

.wo-featured__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;      /* hero banner across the top */
  background: transparent;   /* cut-out image floats over the velvet */
  /* No aspect-ratio here — the grid stretches the media column to match
     the content panel height, and the image fills via position:absolute.
     aspect-ratio is added back in the stacked breakpoint below. */
}

.wo-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.wo-featured__media--no-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content panel — white card, light bg → default Rosso eyebrow correct */
.wo-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px);
  background: #ffffff;
}

/* FEATURED label — solid gold strip with charcoal text so it stands out
   (cream on gold is too low-contrast; dark text matches the gold CTAs). */
.wo-featured__badge {
  margin: 0 0 18px;
  padding: 7px 14px;
  background: #B8924A;        /* Oro Antico (brand gold) */
  color: #1A1A1A;             /* charcoal — legible on gold */
  font-family: var(--font-body);
  font-size: clamp(10px, 0.85vw, 11px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* inline-block so the block hugs the text rather than filling the
     column; align-self keeps it from stretching in the flex content. */
  align-self: center;
}

.wo-featured .wo-name { font-size: clamp(22px, 2.5vw, 36px); }

/* Keep the Details CTA sized to its content — the content column is a
   stretch flex container, which would otherwise blow the button out to
   full width (matches the row cards' .wo-row__cta behaviour). */
.wo-featured__content .wo-cta { align-self: flex-start; }

/* DESKTOP: with a featured image, centre the hero copy below the image.
   No-image cards keep the left-aligned default. Overridden on mobile. */
.wo-featured--has-image .wo-featured__content { text-align: center; align-items: center; }
.wo-featured--has-image .wo-featured__content .wo-cta { align-self: center; }

/* CTA nudge on card hover */
.wo-featured__link:hover .wo-cta { color: #B8924A; }
.wo-featured__link:hover .wo-cta__arrow { transform: translateX(4px); }

/* MOBILE: the featured event is treated like every other card — no hero
   centring, same type scale, spacing and left alignment as the rows. */
@media (max-width: 767px) {
  .wo-featured__content,
  .wo-featured--has-image .wo-featured__content {
    text-align: left;
    align-items: stretch;
    padding: clamp(20px, 4vw, 32px) clamp(20px, 5vw, 36px);
  }
  .wo-featured__content .wo-cta,
  .wo-featured--has-image .wo-featured__content .wo-cta { align-self: flex-start; }
  .wo-featured__badge { align-self: flex-start; }
  .wo-featured .wo-name { font-size: clamp(20px, 2.2vw, 32px); } /* match the row name */
}

/* ------------------------------------------------------------------ */
/*  NEWSLETTER SIGNUP SECTION                                          */
/*  Styling lives in verde-style.css (.newsletter / .newsletter__*).  */
/*  Single source of truth so What's On matches every other page.     */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/*  EVENT DETAIL PAGE  (/whats-on/:slug → event.html)                 */
/* ------------------------------------------------------------------ */

/* Hero — full-bleed, edge to edge, 16:9 */
.wo-ev-hero {
  background: var(--ev-charcoal, #1a1a1a);
  padding: 0;
  display: block;
  overflow: hidden;
}

.wo-ev-hero__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 55vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wo-ev-hero.wo-ev-hero__no-img {
  aspect-ratio: 16 / 9;
  max-height: 40vh;
}

/* Body — centred editorial layout */
.wo-ev-body {
  background: var(--ev-cream, #e7e0cb);
  padding: clamp(48px, 7vh, 96px) clamp(24px, 5vw, 80px) clamp(64px, 8vh, 120px);
}

.wo-ev-body__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Back link — left-aligned */
.wo-ev-body__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(26, 26, 26, 0.7); /* WCAG AA: 5.6:1 on Panna */
  transition: color 0.2s ease;
}

.wo-ev-body__back-arrow {
  display: inline-block;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.wo-ev-body__back:hover { color: var(--ev-charcoal, #1a1a1a); }
.wo-ev-body__back:hover .wo-ev-body__back-arrow { transform: translateX(-4px); }

.wo-ev-body__back:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 2px;
  color: var(--ev-charcoal);
}

/* Eyebrow — Rosso on Panna (WCAG 7.8:1 ✓) */
.wo-ev-body__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6b1f1f;
}

/* Title — Aboreto, centred */
.wo-ev-body__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: calc(1em + 6px);
  color: var(--ev-gold, #b8924a);
  text-wrap: balance;
}

/* Dek */
.wo-ev-body__dek {
  margin: 0 0 14px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: calc(1em + 10px);
  color: rgba(26, 26, 26, 0.65);
  text-wrap: pretty;
}

/* Combined meta line: date · venue · price */
.wo-ev-body__meta {
  margin: 0 0 32px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: calc(1em + 8px);
  color: rgba(26, 26, 26, 0.7);
  letter-spacing: 0.01em;
}

/* Legacy — kept for backward compatibility */
.wo-ev-body__date {
  margin: 0 0 40px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(13px, 1.1vw, 16px);
  color: rgba(26, 26, 26, 0.7);
}

.wo-ev-body__price {
  margin: 0 0 32px;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-style: normal;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  color: rgba(26, 26, 26, 0.7);
}

/* Editorial — left-aligned prose within the centred column */
.wo-ev-body__editorial {
  width: 100%;
  text-align: left;
  margin: 0 0 48px;
}

.wo-ev-body__editorial p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: calc(1em + 12px);
  color: var(--ev-charcoal, #1a1a1a);
  margin: 0 0 1.3em;
  text-wrap: pretty;
}

.wo-ev-body__editorial p:last-child { margin-bottom: 0; }
.wo-ev-body__editorial strong { font-weight: 600; }
.wo-ev-body__editorial em { font-style: italic; }

/* CTA row — Book + Add to Calendar */
.wo-ev-body__cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Book CTA — black */
.wo-ev-body__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  background: #1a1a1a;
  color: #EBDCC4; /* Panna */
  cursor: pointer;
  transition: color 200ms ease-in-out;
}

.wo-ev-body__book-arrow {
  display: inline-block;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.wo-ev-body__book:hover { color: #B8924A; /* Oro */ }
.wo-ev-body__book:hover .wo-ev-body__book-arrow { transform: translateX(4px); }

.wo-ev-body__book:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 2px;
}

/* Add to Calendar — secondary text-link style */
.wo-ev-body__calendar-btn {
  /* Reset */
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  padding: 0 0 1px;
  /* Text */
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.7); /* WCAG ~5.6:1 on Panna */
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.wo-ev-body__calendar-btn:hover {
  color: var(--ev-charcoal, #1a1a1a);
  border-color: var(--ev-charcoal, #1a1a1a);
}

.wo-ev-body__calendar-btn:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 4px;
}

/* ------------------------------------------------------------------ */
/*  STICKY SCROLL STRIP  (event detail only)                          */
/*  Appears when event title scrolls above viewport.                  */
/*  z-index 60 > site-nav z-index 50.                                 */
/* ------------------------------------------------------------------ */

.wo-sticky-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 56px;
  background: #ffffff;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 1px 8px rgba(26, 26, 26, 0.06);
  opacity: 0;
  pointer-events: none;
  /* GSAP controls opacity for normal motion; CSS handles reduced motion */
}

.wo-sticky-strip.is-visible {
  pointer-events: auto;
}

/* Reduced motion: instant toggle, no GSAP fade */
@media (prefers-reduced-motion: reduce) {
  .wo-sticky-strip.is-visible {
    opacity: 1;
  }
}

.wo-sticky-strip__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* Event name — Aboreto, truncated with ellipsis if long */
.wo-sticky-strip__name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ev-charcoal, #1a1a1a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Date · venue · price — Figtree, muted; hidden on small screens */
.wo-sticky-strip__meta {
  flex-shrink: 0;
  font-family: var(--font-body, "Figtree", sans-serif);
  font-size: 12px;
  color: rgba(26, 26, 26, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
}

/* Book CTA — compact dark button */
.wo-sticky-strip__book {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ev-charcoal, #1a1a1a);
  color: #EBDCC4; /* Panna */
  transition: color 200ms ease-in-out;
}

.wo-sticky-strip__book:hover { color: #B8924A; /* Oro */ }

.wo-sticky-strip__book:focus-visible {
  outline: 2px solid var(--ev-gold, #b8924a);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .wo-sticky-strip__meta {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/*  OTHER EVENTS SECTION  (event detail page)                         */
/* ------------------------------------------------------------------ */

.wo-ev-other {
  background: var(--ev-cream, #e7e0cb);
  padding: clamp(64px, 8vh, 100px) clamp(24px, 5vw, 80px);
}

.wo-ev-other[hidden] { display: none !important; }

.wo-ev-other__heading {
  margin: 0 0 clamp(40px, 5vw, 64px);
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ev-charcoal, #1a1a1a);
  text-align: center;
}

/* Row items in the Other events section (cream context) */
.wo-ev-other .wo-rows {
  max-width: 900px; /* narrower for the editorial reading width */
}

.wo-ev-other .wo-row__link {
  background: transparent;
}

.wo-ev-other .wo-row__body {
  /* Cream bg — eyebrow already uses Rosso from .wo-row__eyebrow */
}

/* ---- Hover states (guarded by prefers-reduced-motion) ------------ */

@media (prefers-reduced-motion: no-preference) {
  /* Row card — image scale + body nudge on hover */
  .wo-row__link:hover .wo-row__img {
    transform: scale(1.04);
  }

  .wo-row__link:hover .wo-row__body {
    transform: translateX(4px);
  }

  /* Single mode — image scale on card hover */
  .wo-single__link:hover .wo-single__img {
    transform: scale(1.02);
  }

  /* Featured card — image scale on card hover */
  .wo-featured__link:hover .wo-featured__img {
    transform: scale(1.03);
  }

  /* CTA arrow nudge */
  .wo-cta__arrow { transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1); }
}

/* ---- Reduced motion ---------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .wo-row__img,
  .wo-row__body,
  .wo-featured__img,
  .wo-single__img,
  .wo-ev-hero__img {
    transition: none;
  }

  .wo-cta,
  .wo-cta__arrow,
  .wo-ev-body__book,
  .wo-ev-body__book-arrow,
  .wo-ev-body__back,
  .wo-ev-body__back-arrow,
  .wo-ev-body__calendar-btn,
  .wo-sticky-strip__book {
    transition: none;
  }

  .wo-state__spinner {
    animation: none;
    border-top-color: var(--ev-gold);
  }
}

/* =================================================================
   What's On — ONE continuous velvet curtain spanning both the events
   section and the V-List signup below (a single backdrop on .wo-velvet),
   rather than each section painting its own panel.
   ================================================================= */
.wo-velvet {
  position: relative;
  overflow: hidden;            /* crops the velvet's scalloped hem to a clean edge */
  background-color: #15100a;   /* dark warm base behind the velvet's gaps */
  background-image: url("/assets/velvet-curtain-1536.webp");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 120%;
}
/* Both sections go transparent so the shared velvet shows through. */
.wo-velvet .whats-on { background: transparent; }
.wo-velvet .whats-on__stage { display: none; }
.wo-velvet .newsletter--curtain { background: transparent; }
.wo-velvet .newsletter--curtain::after { display: none; }

/* Subtle film grain over the velvet — a desaturated fractal-noise tile that
   sits above the curtain image but below the content (z-index 1), so the
   text and cards stay crisp. Soft-light keeps it as gentle texture. */
.wo-velvet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

/* =================================================================
   What's On — gold velvet curtain backdrop (WebGL via whats-on-curtain.js).
   The curtain frames the heading + event cards in a dark centre opening.
   ================================================================= */
.whats-on {
  position: relative;
  z-index: 2;
  background: #15100a;        /* dark warm base */
  overflow: hidden;           /* crop the velvet cleanly to this section */
  min-height: clamp(560px, 82vh, 920px);
}

/* Warm centre glow — the cards sit in a pool even through the velvet's
   transparent centre gap. */
.whats-on::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 54% at 50% 40%,
    rgba(122, 86, 32, 0.42) 0%,
    rgba(62, 44, 18, 0.24) 40%,
    rgba(21, 16, 10, 0) 74%);
}

/* Velvet stage — an absolute layer filling the whole section (out of flow,
   so the content overlays it). It's tucked in flush with the section bottom
   and the section's overflow:hidden crops it cleanly to this layer; the
   velvet is stretched a little taller than the box so the scalloped hem is
   cropped off, leaving a clean straight bottom edge at the panel below. */
.whats-on__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: #15100a;   /* dark base behind the velvet's transparent gaps */
  background-image: url("/assets/velvet-curtain-1536.webp");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 120%;
}

/* Content rides above the curtain. */
.whats-on__content { position: relative; z-index: 3; }
.whats-on__content .wo-header { background: transparent; }
.whats-on__content .wo-header__title {
  color: #f0e6cc;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
/* Loading / error / empty states sit on the velvet, not a cream block —
   transparent background, cream text so the curtain reads behind them. */
.whats-on__content .wo-state { background: transparent; }
.whats-on__content .wo-state__heading,
.whats-on__content .wo-state__body {
  color: #f0e6cc;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
