/* Public website layout; application and checkout styles remain independent. */
header nav { flex-wrap: wrap; gap: 16px 24px; }
.brand { flex: 1 1 360px; }
.tagline { white-space: normal; max-width: 440px; line-height: 1.3; }
.nav-actions { flex-wrap: wrap; gap: 10px; }
.hero-section { margin-top: 0; }
.hero { margin-top: 0; }
.interface-video { pointer-events: auto; cursor: pointer; display: block; }
.interface-video:focus-visible { outline: 4px solid #174b3e; outline-offset: -5px; }
.presentation-dialog { width: calc(100% - 32px); max-width: 1100px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: #faf8f2; color: #174b3e; box-shadow: 0 24px 80px #0006; overflow: auto; overscroll-behavior: contain; }
.presentation-dialog::backdrop { background: rgb(8 25 20 / 78%); backdrop-filter: blur(3px); }
.presentation-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; }
.presentation-dialog-heading h2 { margin: 0; font-family: 'Lora', serif; font-size: clamp(18px, 2vw, 22px); line-height: 1.3; }
.presentation-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #174b3e; background: #e7f0ec; cursor: pointer; }
.presentation-close:hover { background: #d7e5de; }
.presentation-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.presentation-player { display: block; width: 100%; height: auto; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.presentation-status { margin: 0; padding: 12px 16px; font-size: 15px; text-align: left; }
.events-section[hidden] { display: none; }
.events-section { padding: 64px 0; background: #edf1e7; }
.events-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.events-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .13em; margin: 0 0 12px; text-align: left; }
.events-heading-row h2 { margin: 0; font-size: clamp(28px,3vw,40px); line-height: 1.15; }
.events-intro { text-align: left; margin: 16px 0 26px; }
.events-carousel { position: relative; }
.events-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.events-controls[hidden], .events-play[hidden] { display: none; }
.events-controls button { position: absolute; top: calc(50% - 4px); transform: translateY(-50%); display: grid; place-items: center; padding: 0; border: 1px solid #d1ddd4; background: #fffdf8; color: #174b3e; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 3px 12px #173b2c26; cursor: pointer; pointer-events: auto; }
#events-prev { left: clamp(0px,3%,32px); }
#events-next { right: clamp(0px,3%,32px); }
.events-controls button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.events-controls button:hover { background: #e5eee8; border-color: #315a50; }
.events-play { display: block; margin: 0 auto; min-height: 44px; padding: 8px 14px; border: 0; background: transparent; color: #315a50; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.events-play:hover { color: #174b3e; }
.events-controls button:focus-visible, .events-play:focus-visible, .events-track:focus-visible, .event-link:focus-visible { outline: 3px solid #315a50; outline-offset: 4px; }
.events-track { --event-width: 76%; --event-inset: 12%; position: relative; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px var(--event-inset) 30px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.events-track::-webkit-scrollbar { display: none; }
.events-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.events-track.is-normalizing .event-surface { transition: none; }
/* The outer slide keeps a stable scroll target while its surface changes depth. */
.event-card { position: relative; z-index: 0; flex: 0 0 var(--event-width); min-width: 0; scroll-snap-align: center; display: flex; flex-direction: column; }
.event-surface { flex: 1; min-width: 0; overflow: hidden; border: 1px solid #d6dfd5; border-radius: 22px; background: #fff; display: flex; flex-direction: column; transform-origin: left center; transform: translateX(-16px) scale(.8); filter: brightness(.84) saturate(.7); opacity: .48; transition: transform .48s ease, transform-origin .48s ease, filter .48s ease, opacity .48s ease, box-shadow .48s ease; }
.event-card:has(~ .is-current) .event-surface { transform-origin: right center; transform: translateX(16px) scale(.8); }
.event-card.is-current { z-index: 1; }
.event-card.is-current .event-surface { transform-origin: center; transform: translateX(0) scale(1); filter: none; opacity: 1; box-shadow: 0 12px 28px -16px rgba(23,75,62,.35); }
.event-image { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; background: #e5eee8; display: block; }
.event-image-fallback { object-fit: contain; padding: 35px; }
.event-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.event-kind { font-size: 13px; font-weight: 700; color: #315a50; letter-spacing: .04em; }
.event-body h3 { font-family: 'Lora',serif; font-size: 24px; line-height: 1.2; margin: 12px 0; }
.event-description { text-align: left; font-size: 16px; line-height: 1.55; margin: 0 0 20px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.event-schedule { font-size: 15px; line-height: 1.6; margin: auto 0 20px; color: #315a50; text-align: left; }
.event-link { align-self: start; color: #174b3e; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
@media (min-width: 801px) {
  .event-surface { display: grid; grid-template-columns: 40% minmax(0,1fr); min-height: 390px; }
  .event-image { height: 100%; min-height: 100%; aspect-ratio: auto; }
  .event-body { padding: 30px; }
  .event-body h3 { font-size: clamp(24px,2.4vw,30px); }
}
@media (max-width: 1150px) {
  header nav { justify-content: center; }
  .brand { flex: 1 1 100%; justify-content: center; }
  .brand .logo img { width: 120px; }
  .tagline { font-size: 20px; max-width: none; }
  .nav-actions { justify-content: center; }
}
@media (max-width: 800px) {
  .brand { flex: 0 1 auto; }
  .events-track { gap: 18px; }
}
@media (max-width: 540px) {
  header nav { flex-direction: column; gap: 8px; }
  .brand .logo img { width: 110px; }
  .nav-actions { gap: 6px; width: 100%; }
  .nav-actions .button { padding: 11px 10px; font-size: 13px; min-height: 44px; }
  .events-section { padding: 44px 0; }
  .events-heading-row { align-items: start; flex-direction: column; gap: 18px; }
  .events-track { gap: 12px; }
  .events-controls button { width: 44px; height: 44px; }
  #events-prev { left: 0; }
  #events-next { right: 0; }
  .event-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .event-surface { transition: none; } }
