:root {
  --event-bg: #f5f4ee;
  --event-ink: #0d2c1d;
  --event-green: #075f4d;
  --event-green-soft: #e8f1ec;
  --event-gold: #c5a880;
  --event-white: #ffffff;
  --event-error: #a62d2d;
  --event-shadow: 0 24px 60px rgba(13, 44, 29, 0.09);
}

* {
  box-sizing: border-box;
}

body.event-page {
  margin: 0;
  min-height: 100vh;
  background: var(--event-bg);
  color: var(--event-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.event-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.event-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.event-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--event-ink);
  text-decoration: none;
  min-width: max-content;
}

.event-brand-badge {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(13, 44, 29, 0.08);
}

.event-brand-badge img {
  width: 118%;
  height: 118%;
  object-fit: contain;
}

.event-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.event-brand-copy strong {
  color: var(--event-ink);
  font-size: 19px;
  font-weight: 800;
}

.event-brand-copy small {
  color: rgba(13, 44, 29, 0.62);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.event-back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(13, 44, 29, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--event-green);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(13, 44, 29, 0.06);
}

.event-back-link:hover {
  background: var(--event-white);
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: start;
  margin-top: 42px;
}

.event-details-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.event-card {
  overflow: hidden;
  border: 1px solid rgba(13, 44, 29, 0.07);
  border-radius: 28px;
  background: var(--event-white);
  box-shadow: var(--event-shadow);
}

.event-card-body {
  padding: 34px;
}

.event-hero-image {
  width: 100%;
  max-height: 380px;
  display: block;
  object-fit: cover;
  background: var(--event-green-soft);
}

.event-eyebrow {
  margin: 0 0 10px;
  color: var(--event-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  font-weight: 400;
  line-height: 0.98;
}

.event-page h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.event-lead,
.event-copy,
.event-muted {
  line-height: 1.7;
}

.event-lead {
  font-size: 1.08rem;
}

.event-copy {
  white-space: pre-line;
}

.event-muted {
  color: rgba(13, 44, 29, 0.66);
}

.event-facts {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.event-fact {
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--event-green-soft);
}

.event-fact span {
  display: block;
  margin-bottom: 4px;
  color: rgba(13, 44, 29, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-form {
  display: grid;
  gap: 20px;
}

.event-field label,
.event-field legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.event-field input,
.event-field select,
.event-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(13, 44, 29, 0.18);
  border-radius: 14px;
  background: #fbfcfa;
  color: var(--event-ink);
  font: inherit;
}

.event-field input:focus,
.event-field select:focus,
.event-field textarea:focus {
  border-color: var(--event-green);
  outline: 3px solid rgba(7, 95, 77, 0.12);
}

.event-field [aria-invalid="true"] {
  border-color: var(--event-error);
}

.event-error {
  min-height: 1.2em;
  margin: 7px 0 0;
  color: var(--event-error);
  font-size: 0.86rem;
  font-weight: 700;
}

.event-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.55;
}

.event-consent input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--event-green);
}

.event-consent a {
  color: var(--event-green);
  font-weight: 750;
}

.event-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--event-green);
  color: white;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.event-button:hover {
  transform: translateY(-2px);
}

.event-button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.event-status {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  line-height: 1.55;
}

.event-status.is-visible {
  display: block;
}

.event-status.is-error {
  background: #fff0f0;
  color: var(--event-error);
}

.event-status.is-info {
  background: var(--event-green-soft);
  color: var(--event-ink);
}

.event-success-card {
  max-width: 760px;
  margin: 54px auto 0;
  text-align: center;
}

.event-success-card .event-card-body {
  padding: clamp(32px, 7vw, 64px);
}

.event-success-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--event-green);
  color: white;
  font-size: 1.8rem;
}

@media (max-width: 800px) {
  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-card-body {
    padding: 25px;
  }
}

@media (max-width: 640px) {
  .event-topbar {
    align-items: flex-start;
  }

  .event-brand {
    gap: 10px;
  }

  .event-brand-badge {
    width: 62px;
    height: 62px;
    padding: 3px;
  }

  .event-brand-copy strong {
    font-size: 16px;
  }

  .event-brand-copy small {
    font-size: 10px;
  }
}
