.public-event-app {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--ink);
  font-family: "AIRC Work Sans", sans-serif;
  background: var(--cream);
}
.public-event-app::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/brand/textures/airc-paper.jpg") center top / 1200px auto;
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.public-event-preview {
  padding: 8px 20px;
  background: var(--yellow);
  font-size: 12px;
  text-align: center;
}
.public-event-topbar {
  padding: 20px max(24px, calc((100% - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: var(--cream);
}
.public-event-topbar img {
  display: block;
  width: 150px;
  height: auto;
}
.public-event-app a {
  color: inherit;
  text-underline-offset: 4px;
}
.public-event-topbar > a:last-child {
  font-size: 14px;
  font-weight: 600;
}
.public-event-main {
  padding-bottom: 72px;
}
.public-event-main > .notice {
  max-width: 1160px;
  margin: 20px auto;
}
.public-event-app:has(.event-campaign-banner) .public-event-topbar {
  display: none;
}
.event-campaign-banner {
  background: var(--ink);
  padding: 40px 24px;
}
.event-campaign-inner {
  width: min(1160px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 64px;
}
.event-campaign-lockup {
  display: block;
  width: 100%;
  height: auto;
}
.event-campaign-date {
  margin: 28px 0 0;
  padding: 16px 24px;
  background: var(--yellow);
  color: var(--ink);
  font:
    600 clamp(24px, 3.2vw, 44px) / 1.15 "AIRC Oswald",
    sans-serif;
  text-transform: uppercase;
}
.event-campaign-mount {
  position: relative;
  padding: 5%;
}
.event-campaign-mount::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/brand/photo/airc-photo-frame-mounted.svg") center / 100% 100%;
  pointer-events: none;
}
.event-campaign-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1);
}
.public-event-grid {
  width: min(1160px, calc(100% - 48px));
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px 48px;
  align-items: start;
}
/* Placed explicitly rather than by source order: the hero and the body share
   column one, and the registration card takes column two from the top. Spanning
   the hero pushed the card a row down, so the page's only action started below
   the fold and was too tall for its own sticky to engage. */
.public-event-hero {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
/* A column, so the map can absorb whatever height the description leaves and
   both columns finish together instead of at a fixed map height. */
.event-main-column {
  display: flex;
  min-height: 0;
  flex-direction: column;
  /* The grid aligns items to start so the sticky card can move; this one has to
     opt back into stretch, otherwise there is no spare height for the map. */
  align-self: stretch;
  grid-column: 1;
  grid-row: 2;
}
/* The map sits inside the Where section, so both have to be able to grow. */
.event-main-column > .public-event-where {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}
.public-event-where > .event-location {
  flex: 1 1 auto;
  min-height: 0;
}
.public-event-reserve {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.public-event-hero h1 {
  max-width: none;
}
.event-main-column > .event-location {
  margin-top: 0;
}
.public-event-type,
.public-event-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.public-event-type {
  margin-bottom: 14px;
}
.public-event-app h1 {
  font:
    600 clamp(34px, 3.4vw, 46px) / 1.12 "AIRC Oswald",
    sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.public-event-hero > .public-event-date {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.public-event-app h2 {
  font:
    600 28px / 1.2 "AIRC Oswald",
    sans-serif;
  margin: 0 0 18px;
}
.event-where {
  background: #fffdf8;
  border: 1px solid #cec8ba;
  padding: 24px;
}
.event-where h2 {
  font:
    700 18px / 1.4 "AIRC Work Sans",
    sans-serif;
  margin-bottom: 12px;
}
.event-where p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.public-event-reserve {
  background: #fffdf8;
  border: 1px solid #cec8ba;
  position: sticky;
  top: 24px;
}
.event-register-head {
  padding: 28px 28px 0;
}
.event-register-head .public-event-kicker {
  font-size: 10px;
  letter-spacing: 0.07em;
}
.event-register-head h2 {
  margin: 0;
  font-size: 30px;
}
.event-register-body {
  padding: 24px 28px 28px;
}
.event-register-body > p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.event-register-body form {
  display: grid;
  gap: 18px;
}
.event-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.event-register-body .field {
  gap: 7px;
  min-width: 0;
}
.event-register-body .field > span {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.event-register-body input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid #9f998e;
  background: #fff;
  padding: 10px;
  font-size: 16px;
  border-radius: 0;
}
.event-register-body small {
  font-weight: 400;
}
.event-registration-note {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.event-where .event-registration-note {
  display: block;
  margin-top: 12px;
}
.public-event-app .public-event-primary {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  font:
    700 15px / 1.4 "AIRC Work Sans",
    sans-serif;
  padding: 16px 20px;
  min-height: 54px;
  text-decoration: none;
}
.public-event-app .public-event-primary:hover {
  background: var(--yellow);
  color: var(--ink);
}
.public-event-help {
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 0;
}
.public-event-secondary {
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 0;
  margin-top: 12px;
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
.event-success-mark {
  display: block;
  margin-bottom: 18px;
}
.public-event-reserve [hidden] {
  display: none;
}
.event-registration-details .event-success-intro {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.event-registration-details h3 {
  font:
    700 18px / 1.4 "AIRC Work Sans",
    sans-serif;
  margin: 0 0 20px;
}
.event-registration-details .public-event-facts {
  margin: 0 0 24px;
  display: grid;
  gap: 16px;
}
.event-registration-details .public-event-facts dd {
  font-size: 15px;
}
.event-confirmation-actions {
  display: grid;
  justify-items: start;
  gap: 4px;
}
.event-confirmation-actions .public-event-secondary {
  margin: 0;
}
.event-confirmation-preview {
  background: var(--cream);
  padding: 16px;
  margin-top: 24px;
}
.event-confirmation-preview p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.event-confirmation-preview button {
  margin: 4px 0 0;
}
.public-event-about {
  margin: 0 0 32px;
}
/* The 2px ink rule every other section head in the portal uses; the old pale
   grey line read as an accident on the one page the public sees. */
.public-event-about > h2,
.public-event-where > h2 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}
.public-event-where .event-location {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
}
.public-event-description {
  font-size: 19px;
  line-height: 1.75;
  white-space: pre-line;
  margin: 0;
}
.public-event-footer {
  background: var(--ink);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100% - 1160px) / 2));
  font-size: 13px;
}
.public-event-app :is(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
/* Programmatic focus announces success; interactive controls retain visible focus. */
.public-event-app #event-reserve-heading:focus {
  outline: none;
}
.public-event-topbar a:focus-visible,
.public-event-footer a:focus-visible {
  outline-color: var(--yellow);
}
.public-event-reserve {
  scroll-margin-top: 24px;
}
.public-rsvp {
  width: min(960px, calc(100% - 48px));
  margin: 32px auto 0;
}
.public-event-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.public-rsvp > header {
  margin-block: 24px 32px;
}
.public-event-kicker {
  margin-bottom: 12px;
}
.public-rsvp > header h1 {
  margin-bottom: 14px;
}
.public-rsvp > header p {
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}
.public-rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #cec8ba;
  background: #fffdf8;
}
.public-rsvp-summary,
.public-rsvp-form {
  padding: 32px;
}
.public-rsvp-summary {
  border-right: 1px solid #cec8ba;
}
.public-rsvp-form {
  display: grid;
  gap: 20px;
}
.public-rsvp-form h2,
.public-rsvp-form p {
  margin: 0;
}
.public-rsvp-form input {
  width: 100%;
  min-width: 0;
  background: var(--cream);
  font-size: 16px;
}
.public-event-facts {
  margin: 0;
}
.public-event-facts > div {
  padding: 16px 0;
  border-bottom: 1px solid #cec8ba;
}
.public-event-facts dt {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.public-event-facts dd {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 950px) {
  .public-event-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
@media (max-width: 700px) {
  .public-event-topbar {
    padding: 16px 20px;
  }
  .public-event-topbar img {
    width: 125px;
  }
  .event-campaign-banner {
    padding: 24px 20px;
  }
  .event-campaign-inner {
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .event-campaign-message {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }
  .event-campaign-date {
    font-size: 28px;
    margin-top: 20px;
    padding: 14px 18px;
  }
  .event-campaign-mount {
    display: none;
  }
  .public-event-grid {
    width: calc(100% - 32px);
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .event-main-column,
  .public-event-reserve {
    width: 100%;
  }
  .public-event-reserve {
    position: static;
    box-shadow: none;
  }
  .public-event-app h1 {
    font-size: 36px;
  }
  .event-where {
    padding: 20px;
  }
  .public-event-description {
    font-size: 18px;
  }
  .public-event-footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 12px;
  }
  .public-rsvp {
    width: calc(100% - 32px);
  }
  .public-rsvp-grid {
    grid-template-columns: 1fr;
  }
  .public-rsvp-summary,
  .public-rsvp-form {
    padding: 24px;
  }
  .public-rsvp-summary {
    border-right: 0;
    border-bottom: 1px solid #cec8ba;
  }
}

.event-mobile-register {
  display: none;
}
@media (max-width: 700px) {
  .event-mobile-register {
    display: flex;
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--cream);
  }
  .event-mobile-register span {
    font-size: 12px;
    font-weight: 600;
  }
  .event-mobile-register a {
    background: var(--yellow);
    color: var(--ink);
    text-decoration: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
  }
  .public-event-app:has(.event-mobile-register) .public-event-footer {
    padding-bottom: 100px;
  }
}

.event-mobile-register[hidden] {
  display: none;
}

/* Jacob, 2026-09-18: no frame. The box was what made a one-line choice read as
   a heavy block; the checkbox sits in the form's own rhythm instead. */
.event-sms-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}
.event-sms-consent:has(input:disabled) {
  color: #77736c;
  cursor: not-allowed;
}
.event-register-body .event-sms-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  accent-color: var(--ink);
}
.event-register-body .event-sms-consent input:disabled {
  opacity: 0.45;
}

/* Public AIRC event page served from events.realitycheckhq.org. Same shell as
   the portal preview; these rules cover the pieces the preview never showed. */
.event-required {
  color: var(--yellow);
  font-weight: 700;
}
.public-event-recurrence {
  margin: 4px 0 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.event-rsvp-form .honeypot,
.event-rsvp-form [hidden] {
  display: none !important;
}
.event-registration-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 4px solid #c8102e;
  background: #fff0f1;
  color: #7b0a1f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.event-sms-consent small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.8;
}
.event-sms-disclosure {
  margin: -2px 0 0;
  color: #66615b;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}
.event-sms-disclosure a {
  text-decoration: underline;
}
/* ───────────────────────────────────────────────────────────
 * CONFIRMATION STORYBOARD
 *
 *    0ms   open AI Reality Check box appears
 *  250ms   hand-drawn tick reveals left → right
 *  800ms   completed mark settles at full scale
 * ─────────────────────────────────────────────────────────── */
.event-confirmation-mark {
  --tick-delay: 250ms;
  --tick-duration: 550ms;
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 0 16px;
}
.event-confirmation-mark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 72px;
  height: 72px;
}
.event-confirmation-tick {
  clip-path: inset(0 100% 0 0);
  animation: event-confirmation-tick var(--tick-duration) cubic-bezier(0.22, 1, 0.36, 1)
    var(--tick-delay) forwards;
}
@keyframes event-confirmation-tick {
  from {
    clip-path: inset(0 100% 0 0);
    transform: scale(0.94);
  }
  to {
    clip-path: inset(0);
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .event-confirmation-tick {
    clip-path: inset(0);
    animation: none;
  }
}
.event-confirmation .event-register-head h2 {
  margin-top: 4px;
}
.event-rsvp-form .cf-turnstile {
  margin: 16px 0;
}
.public-event-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}
.public-event-grid-single .event-success-mark {
  display: block;
  margin-bottom: 12px;
}
