/* site.css — support styles for js/site.js (M3 behavior slice, 2026-07-30).
   Everything interactive keeps the w-* class hooks the exported stylesheets
   already own; this file only adds what the removed Webflow runtime used to
   set imperatively. Content must stay visible without JS — nothing in here
   may hide static content. */

/* Video lightbox — sizing + fade for the modal js/site.js builds out of the
   w-lightbox-* classes webflow.css already styles (rehearsal lesson: both
   .w-lightbox-backdrop and .w-lightbox-view ship opacity:0; site.js sets the
   view's opacity inline, this transition animates the backdrop). The figure
   needs an explicit size — the old runtime sized it from the config's
   width/height; site.js overrides aspect-ratio per config item. */
.w-lightbox-backdrop {
  transition: opacity 300ms ease;
}

.w-lightbox-figure.site-lightbox-video {
  width: min(940px, 94vw, 160vh);
  aspect-ratio: 940 / 528;
}

/* --------------------------------------------------------------- native forms
   M3 forms slice (BLUEPRINT §2.4): support styles for the rebuilt capture
   points (js/site.js `forms` + `form-modals`). Per-form layout styles live in
   the page markup where the Kartra embeds' style blocks already lived; this
   file owns only the shared pieces. */

/* Honeypot — visually gone, still submittable by bots. Must never use
   display:none (some form-stuffers skip those). */
.ss-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ss-form-msg {
  font-size: 15px;
  line-height: 1.4;
}

.ss-form-msg-error {
  color: #d0342c;
}

.ss-form-success {
  font-size: 17px;
  line-height: 1.5;
}

/* Gold optin button — the /events embed's SIGN UP NOW look (observed live:
   450px gold block, dark text, squared corners) — also the /crew interim CTA. */
.ss-optin-btn {
  display: block;
  width: 450px;
  max-width: 100%;
  margin: 0 auto;
  background: #CEA42C;
  color: #1B3233;
  text-align: center;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

/* Optin modal — site-owned rebuild of the Kartra popup pattern (white centered
   box, X close, stacked fields, full-width gold submit). */
.ss-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(50, 60, 65, 0.85);
  transition: opacity 200ms ease;
}

.ss-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  color: #1B3233;
  padding: 56px 64px;
}

.ss-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}

.ss-modal-title {
  margin: 0 0 10px;
}

.ss-modal-sub {
  margin: 0 0 20px;
}

.ss-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ss-modal-form input {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 18px 20px;
  font-size: 19px;
  color: #1B3233;
  font-family: inherit;
}

.ss-modal-form button[type="submit"] {
  background: #CEA42C;
  color: #1B3233;
  border: none;
  padding: 18px;
  font-size: 17px;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}

@media (max-width: 600px) {
  .ss-modal {
    padding: 40px 24px;
  }
}
