/* One composition for every event; media never participates in text layout. */
.hero-initial-media { display: contents; }
.hero.hero--calendar {
  --calendar-cell-size: 100px;
  --calendar-cell-height: var(--calendar-cell-size);
  --calendar-max-items: 5;
  --calendar-active-background: #754426;
  --calendar-active-color: #fffaf0;
  --hero-cover-top: clamp(132px, 18svh, 196px);
  --hero-cover-bottom: 20px;
  --hero-title-size: calc(clamp(40px, 4vw, 68px) + 1px);
  min-height: 100svh;
  height: auto;
  padding-top: var(--hero-cover-top);
  padding-bottom: var(--hero-cover-bottom);
  align-items: stretch;
}
/* Shared portrait composition: copy overlaps the lower media area and the
   calendar stays at the foot of the cover. Short phones retain natural scrolling. */
@media (max-width: 760px) and (orientation: portrait) {
  .hero.hero--calendar:not(.hero--no-events) {
    --hero-mobile-media-top: 104px;
    --hero-mobile-media-height: 125vw;
    --hero-mobile-cover-height: max(100svh, 680px);
    padding-top: 0;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    min-height: var(--hero-mobile-cover-height);
    background: var(--wine);
  }
  .hero--calendar:not(.hero--no-events) .hero-media,
  .hero--calendar:not(.hero--no-events) .hero-video {
    top: var(--hero-mobile-media-top); right: auto; bottom: auto; left: 0;
    width: 100%; height: var(--hero-mobile-media-height);
    object-fit: cover; object-position: center;
  }
  .hero.hero--calendar:not(.hero--no-events)::before {
    background: linear-gradient(180deg, transparent 0,
      transparent calc(var(--hero-mobile-media-top) + var(--hero-mobile-media-height) - 240px),
      rgb(59 7 18 / 72%) calc(var(--hero-mobile-media-top) + var(--hero-mobile-media-height) - 96px),
      var(--wine) calc(var(--hero-mobile-media-top) + var(--hero-mobile-media-height)));
    mask-image: none;
  }
  .hero.hero--calendar:not(.hero--no-events) .hero-agenda-layout {
    min-height: calc(var(--hero-mobile-cover-height) - max(16px, env(safe-area-inset-bottom)));
    padding-top: 280px;
    grid-template-rows: minmax(min-content, 1fr) auto;
    row-gap: 16px;
  }
  .hero.hero--calendar:not(.hero--no-events) .hero-copy {
    align-self: end;
    grid-template-rows: auto 42px 48px;
    gap: 12px;
  }
  .hero.hero--calendar:not(.hero--no-events) .hero-controls {
    top: max(var(--hero-controls-top, 112px), calc(var(--hero-mobile-media-top) + 12px));
  }
}
.hero-agenda-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: calc(100svh - var(--hero-cover-top) - var(--hero-cover-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(270px, 1fr) auto;
  row-gap: 32px;
}
.hero.hero--calendar .hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: min(660px, 100%);
  max-width: none;
  align-self: end;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 48px 48px;
  gap: 18px;
}
.hero--calendar .hero-heading .eyebrow { display: flex; margin: 0 0 10px; font-size: 11px; line-height: 16px; letter-spacing: .12em; }
.hero--calendar .hero-heading .eyebrow-rule { width: 42px; flex-shrink: 0; }
.hero.hero--calendar h1 {
  height: 2.08em;
  margin: 0;
  font-size: var(--hero-title-size);
  line-height: 1.04;
  overflow-wrap: normal;
  hyphens: manual;
}
.hero-summary[hidden] { display: none; }
.hero-reservation-action { display: contents; }
.hero-metadata { display: grid; grid-template-rows: 21px 21px; gap: 6px; margin: 0; }
.hero-schedule { display: flex; gap: 12px; }
.hero.hero--calendar .hero-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 0;
  color: rgb(255 250 240 / 90%);
  font: 400 16px/1.4 var(--sans);
}
.hero--calendar .hero-detail[hidden] { display: none; }
.hero--calendar .hero-icon { flex-shrink: 0; color: #f2cf91; }
.hero--calendar .hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.hero--calendar .hero-actions .button-gold { height: 48px; min-height: 48px; }
.hero--calendar .hero-actions [data-event-cta] { white-space: nowrap; }
.hero.hero--calendar .hero-info-link {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  gap: 6px;
  border: 1px solid rgb(255 250 240 / 28%);
  border-radius: 6px;
  background: rgb(35 5 13 / 32%);
  color: var(--white);
  text-decoration: none;
}
.hero-info-link:not(.is-fallback) .hero-info-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-info-link .hero-info-symbol { width: 24px; height: 24px; }
.hero-info-link .hero-external-symbol { width: 12px; height: 12px; flex-shrink: 0; }
.hero-info-link:not(.is-eventfrog):not(.is-fallback) .hero-external-symbol {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  background: var(--wine);
}
.hero-info-link .hero-eventfrog-logo { display: none; }
.hero.hero--calendar .hero-info-link.is-eventfrog { width: 144px; padding: 0 8px; }
.hero-info-link.is-eventfrog .hero-eventfrog-logo { display: block; width: 108px; height: auto; }
.hero-info-link.is-eventfrog .hero-info-symbol,
.hero-info-link.is-fallback svg,
.hero-info-link.is-fallback img { display: none; }
.hero.hero--calendar .hero-info-link.is-fallback {
  width: auto;
  padding: 0 24px;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--wine);
}
.hero.hero--calendar .hero-info-link:hover { border-color: #f2cf91; background: rgb(35 5 13 / 55%); }
.hero.hero--calendar .hero-info-link.is-fallback:hover { background: #e8b94f; }
.hero-info-link:focus-visible { outline: 2px solid #f2cf91; outline-offset: 4px; }
.hero--photo::before {
  background: linear-gradient(90deg, rgb(32 5 13 / 70%), rgb(32 5 13 / 36%) 38%, transparent 72%),
    linear-gradient(0deg, rgb(22 5 11 / 60%), transparent 75%);
}
.hero--integrated-artwork { background: #123343; }
.hero--framed-poster { background: #171014; }
.hero--framed-poster::before {
  background: linear-gradient(0deg, rgb(23 16 20 / 94%), rgb(23 16 20 / 68%) 22%, rgb(23 16 20 / 18%) 45%, transparent 65%);
}
.hero--integrated-poster {
  --poster-light-width: 22%;
  --poster-light-height: 36%;
  --poster-light-y: 35%;
  background: #80b4c5;
}
.hero--integrated-poster::before {
  background: linear-gradient(180deg, transparent 32%, rgb(44 17 32 / 12%) 42%, rgb(59 7 18 / 68%) 60%, rgb(59 7 18 / 96%) 81%, var(--wine) 100%),
    radial-gradient(ellipse at 50% 25%, transparent 23%, rgb(41 17 29 / 12%) 62%, rgb(41 17 29 / 24%) 100%),
    linear-gradient(90deg, rgb(44 17 32 / 30%), transparent 41%);
  /* Keep the original lettering and bow luminous inside the shared landscape. */
  mask-image: radial-gradient(ellipse var(--poster-light-width) var(--poster-light-height) at 50% var(--poster-light-y), rgb(0 0 0 / 8%) 38%, #000 100%);
}
@media (max-width: 760px) and (orientation: portrait) {
  .hero--integrated-poster {
    --poster-light-width: 40%;
    --poster-light-height: 23%;
    --poster-light-y: 30%;
  }
}
@media (max-width: 760px) and (orientation: portrait) and (max-height: 720px) {
  .hero--integrated-poster {
    --poster-light-width: 36%;
    --poster-light-height: 15%;
    --poster-light-y: 25%;
  }
}
.hero--photo-poster { background: #21150f; }
.hero--photo-poster::before {
  background: linear-gradient(0deg, rgb(22 5 11 / 88%), rgb(22 5 11 / 65%) 22%, transparent 58%),
    linear-gradient(90deg, rgb(22 5 11 / 30%), transparent 42%, transparent 75%, rgb(22 5 11 / 15%));
}
.hero--integrated-artwork::before {
  background: linear-gradient(90deg, rgb(8 28 41 / 64%), transparent 48%),
    linear-gradient(0deg, rgb(8 28 41 / 88%), rgb(8 28 41 / 44%) 23%, transparent 52%);
}
.hero--agenda .hero-media[hidden], .hero--agenda .hero-video[hidden] { display: none; }
.hero--agenda .hero-video { opacity: 0; }
.hero--agenda .hero-video.is-playing, .hero--agenda .hero-video.has-frame { opacity: 1; }
.hero-agenda { grid-column: 1; grid-row: 2; width: 100%; min-width: 0; margin: 0; align-self: end; }
.hero-agenda[hidden] { display: none; }
.hero-agenda-title { margin: 0 0 8px; color: var(--white); font: 500 13px/18px var(--sans); letter-spacing: 0; }
.hero-agenda-list {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgb(255 249 239 / 20%);
  border-radius: 6px;
  background: rgb(45 6 16 / 90%);
}
.hero-agenda-list::-webkit-scrollbar { display: none; }
.hero-agenda-list li {
  flex: 0 0 var(--calendar-cell-size);
  width: var(--calendar-cell-size);
  height: var(--calendar-cell-height);
  min-width: 0;
  scroll-snap-align: start;
}
.hero-agenda-list li + li { border-left: 1px solid rgb(255 249 239 / 18%); }
.hero-agenda-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  padding: 8px;
  border: 0;
  background: transparent;
  color: rgb(255 250 240 / 78%);
  box-shadow: inset 0 2px transparent;
  font: 400 14px/1.25 var(--sans);
  text-align: center;
  cursor: pointer;
}
.hero-agenda-entry time { display: grid; gap: 3px; justify-items: center; font-variant-numeric: tabular-nums; }
.hero-agenda-month { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-agenda-days { font: 400 24px/1 var(--serif); }
.hero-agenda-entry strong { min-height: 2.5em; font-size: 12px; line-height: 1.25; font-weight: 500; overflow-wrap: anywhere; }
.hero-agenda-entry:hover { background: rgb(255 249 239 / 7%); }
.hero-agenda-entry.is-active { color: var(--calendar-active-color); background: var(--calendar-active-background); box-shadow: inset 0 3px var(--gold); }
.hero-agenda-entry:focus-visible { outline: 2px solid #f2cf91; outline-offset: -4px; }
.hero-transition-frame { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.hero-transition-frame[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-agenda-entry { transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
}
.hero--calendar .hero-controls {
  position: absolute;
  z-index: 3;
  top: var(--hero-controls-top, 112px);
  right: var(--site-gutter);
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 96px;
  gap: 8px;
  transform: none;
}
.hero-rotation, .hero-sound {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(35 5 13 / 32%);
  color: var(--white);
  cursor: pointer;
}
.hero-rotation svg, .hero-sound svg { filter: drop-shadow(0 1px 3px rgb(0 0 0 / 70%)); }
.hero-rotation:hover, .hero-sound:hover { color: #f2cf91; }
.hero-rotation:focus-visible, .hero-sound:focus-visible { outline: 2px solid #f2cf91; outline-offset: 3px; }
.hero-rotation[hidden], .hero-sound[hidden], .hero-rotation-play, .hero-sound-on { display: none; }
.hero-sound[aria-pressed="true"] .hero-sound-off { display: none; }
.hero-sound[aria-pressed="true"] .hero-sound-on { display: block; }
.hero-rotation.is-paused .hero-rotation-pause { display: none; }
.hero-rotation.is-paused .hero-rotation-play { display: block; }
.hero--calendar .hero-controls[hidden], .hero--calendar [data-event-cta][hidden] { display: none; }
.hero.hero--no-events .hero-agenda-layout { grid-template-rows: minmax(270px, 1fr); }
@media (min-width: 1100px) {
  .hero-agenda-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, calc(var(--calendar-cell-size) * var(--calendar-max-items) + 2px));
    grid-template-rows: minmax(270px, 1fr);
    column-gap: 32px;
    row-gap: 0;
    padding-bottom: clamp(72px, 10svh, 128px);
  }
  .hero-agenda {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: max-content;
    max-width: 100%;
    margin-bottom: 0;
  }
}
@media (max-width: 760px) {
  .hero.hero--calendar {
    --calendar-cell-size: 92px;
    --calendar-cell-height: 88px;
    --hero-cover-top: 124px;
    --hero-cover-bottom: max(8px, env(safe-area-inset-bottom));
    --hero-calendar-gap: 20px;
    --hero-mobile-min-height: 600px;
    --hero-title-size: calc(clamp(32px, 9.2vw, 42px) + 1px);
  }
  .hero.hero--calendar { min-height: max(100svh, var(--hero-mobile-min-height)); }
  .hero-agenda-layout { min-height: calc(max(100svh, var(--hero-mobile-min-height)) - var(--hero-cover-top) - var(--hero-cover-bottom)); grid-template-rows: minmax(220px, 1fr) auto; row-gap: var(--hero-calendar-gap); }
  .hero-agenda-entry { padding: 4px; gap: 2px; }
  .hero-agenda-days { font-size: 22px; }
  .hero.hero--calendar .hero-copy { gap: 14px; grid-template-rows: auto 42px 48px; }
  .hero-metadata { grid-template-rows: 18px 18px; }
  .hero.hero--calendar .hero-detail { font-size: clamp(13px, 3.6vw, 15px); }
  .hero--calendar .hero-actions { gap: 8px; }
  .hero--calendar .hero-actions [data-event-cta] { padding-inline: 12px; font-size: 13px; }
  .hero--calendar .hero-actions [data-event-cta] > svg { display: none; }
  .hero.hero--calendar .hero-info-link.is-eventfrog { width: 92px; gap: 4px; padding: 0 4px; }
  .hero-info-link.is-eventfrog .hero-eventfrog-logo { width: 68px; }
  .hero-agenda-month { font-size: 10px; }
  .hero-agenda-entry strong { font-size: 11px; line-height: 1.2; min-height: 2.4em; }
  .hero--integrated-artwork::before {
    background: linear-gradient(0deg, rgb(8 28 41 / 92%), rgb(8 28 41 / 64%) 33%, transparent 61%);
  }
}
