/* The events page, on the same footing as the front page: the same type, the same greens,
   the same restraint. Scoped to this page, so nothing here reaches the other pages. */
body.events-page, .mm-preview {
  --e-paper: #f8f5ed; --e-paper-2: #f0eadc; --e-forest: #414b34; --e-forest-2: #333c28;
  --e-rust: #a64d2c; --e-ink: #201e18; --e-ink-2: #5a5648; --e-rule: rgba(32, 30, 24, .12);
  --e-display: 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  background: var(--e-paper);
}
.mm-preview { --sans: 'Inter', system-ui, sans-serif; background: none; }

/* ---- header ---- */
.ev-head { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 3.6vw, 44px); border-bottom: 1px solid var(--e-rule); }
.ev-head .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.ev-eyebrow { grid-column: 1 / -1; }
.ev-eyebrow { margin: 0 0 16px; font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--e-rust); }
.ev-head h1 { margin: 0; font: 500 clamp(42px, 6vw, 80px)/.98 var(--e-display); letter-spacing: -.03em; color: var(--e-ink); }
.ev-head h1 em { display: block; font-weight: 400; font-style: italic; }
.ev-lead { margin: 0 0 .6em; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--e-ink-2); }

/* ---- the season poster, if there is one ---- */
.events-page .season-poster-sec { padding: clamp(28px, 4vw, 48px) 0 0; }
.events-page .season-poster { border: 0; background: var(--e-paper-2); border-radius: 6px; padding: 18px; max-width: 560px; }

/* ---- the cards ---- */
.events-page .calendar-strip { padding: clamp(24px, 3vw, 36px) 0 clamp(64px, 8vw, 110px); }
.ev-hint { margin: 0 0 clamp(18px, 2.4vw, 28px); font-size: 14px; color: #7a7566; }
.events-page .cal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(22px, 2.6vw, 36px); align-items: stretch; }
.ec { display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--e-rule); border-radius: 6px; overflow: hidden; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .3s; }
.ec:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(60, 40, 15, .45); border-color: rgba(32, 30, 24, .22); }
/* The picture box is one fixed shape on every card. The flyer is laid inside it with
   object-fit: contain, so a tall flyer and a wide one are both shown whole, and neither
   can make its card taller than the rest. (With the image in the flow, a tall flyer grew its
   own box, which is what left one card in a row longer than its neighbours.) */
.ec-media { all: unset; box-sizing: border-box; display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; background: var(--e-paper-2); cursor: pointer; }
.ec-media:focus-visible { outline: 2px solid var(--e-forest); outline-offset: -4px; }
.ec-media img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; filter: drop-shadow(0 14px 16px rgba(30, 24, 12, .3)); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ec:hover .ec-media img { transform: scale(1.025); }
.ec-media.is-plate { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; background: var(--e-forest); color: #f4efe2; text-align: center; padding: 28px; }
.ec-media.is-plate::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 201, 163, .4); pointer-events: none; }

.ec-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.ec-when { margin: 0 0 10px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--e-rust); }
.ec-title { margin: 0; font: 500 clamp(26px, 2.3vw, 31px)/1.08 var(--e-display); letter-spacing: -.015em; color: var(--e-ink); text-wrap: balance; }
.ec-meta { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #7a7566; }
.ec-foot { margin-top: auto; padding-top: 22px; display: grid; grid-template-rows: 34px auto; row-gap: 14px; align-items: center; }
.ec-price { font-size: 12px; color: #7a7566; }
.ec-price b { font: 500 28px/1 var(--e-display); color: var(--e-ink); margin-right: 5px; }
.ec-acts { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ec-more { all: unset; cursor: pointer; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--e-ink); border-bottom: 1px solid var(--e-rule); padding: 6px 0; transition: border-color .2s; }
.ec-more:hover, .ec-more:focus-visible { border-color: var(--e-rust); }
.ec-buy { display: inline-block; padding: 13px 20px; background: var(--e-forest); color: #f8f5ed; border-radius: 2px; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.ec-buy:hover { background: var(--e-forest-2); }
.ec-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.ec-sep span { font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--e-rust); }
.ec-sep::after { content: ""; flex: 1; height: 1px; background: var(--e-rule); }

/* ---- the drink menu ---- */
.events-page .menu-sec { background: var(--e-paper-2); padding: clamp(52px, 6vw, 84px) 0; }
.events-page .menu-head .script { font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--e-rust); }
.events-page .menu-head h2 { font: 500 clamp(32px, 4vw, 48px)/1.05 var(--e-display); letter-spacing: -.02em; }
.events-page .menu-actions .btn { border-radius: 2px; background: var(--e-forest); color: #f8f5ed; font-size: 11px; letter-spacing: .2em; }
.events-page .menu-actions .btn:hover { background: var(--e-forest-2); }
.events-page .menu-actions .btn-blush { background: transparent; color: var(--e-forest); border: 1px solid var(--e-forest); }
.events-page .menu-actions .btn-blush:hover { background: var(--e-forest); color: #f8f5ed; }

/* ---- the banner at the foot: the same forest as the front page ---- */
.events-page .footer-cta { background: var(--e-forest); padding-block: clamp(64px, 8vw, 110px); }
.events-page .footer-cta::before { display: none; }
.events-page .footer-cta .script { color: #d9c9a3; }
.events-page .footer-cta h2 { font-family: var(--e-display); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(34px, 4.6vw, 60px); text-wrap: balance; max-width: 18ch; margin-inline: auto; }
.events-page .footer-cta p { color: rgba(248, 245, 237, .78); }
.events-page .footer-cta .btn-blush { background: var(--e-paper); color: var(--e-ink); }
.events-page .footer-cta .btn-blush:hover { background: #fff; }

@media (max-width: 860px) { .ev-head .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 20px; } .ev-lead { margin: 0; } }
@media (max-width: 640px) {
  .events-page .cal-list { grid-template-columns: minmax(0, 1fr); }
  .ec-media { aspect-ratio: 1 / 1; }
  .ec-media img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
  .ec-media.is-plate { aspect-ratio: 16 / 9; }
  .ec-pd { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) { .ec, .ec:hover, .ec:hover .ec-media img { transform: none; transition: none; } }
