:root {
  color-scheme: light;
  --ink: #000;
  --muted: #666;
  --paper: #fff;
  --white: #fff;
  --line: #e6e6e6;
  --red: #193c72;
  --red-dark: #14315d;
  --success: #185e43;
  --error: #a20d27;
  --display: Arial, "Helvetica Neue", sans-serif;
  --body: Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

body.event-page {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: .875rem;
  line-height: 1.8;
}

.globalHeader-event {
  margin-inline-start: auto;
  color: #fff;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: 0;
}

.masthead {
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid #e6e7e3;
}

.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 124px; height: auto; }
.masthead-label, .overline, .required-note, .site-footer > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.masthead-label { color: var(--muted); }

.page-shell {
  width: min(1140px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 56px 28px 76px;
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  background: var(--white);
}

.intro {
  position: relative;
  overflow: hidden;
  padding: 10px 42px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
  background: var(--white);
  border-right: 1px solid var(--line);
}
.intro::after {
  display: none;
}
.intro .overline { color: var(--muted); }
.intro h1 {
  margin: 18px 0 20px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
}
.intro h1 span { color: var(--ink); }
.intro-rule { width: 32px; height: 2px; margin: 2px 0 20px; background: var(--ink); }
.intro-copy { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; }
.event-name { min-height: 28px; margin: 20px 0 0; font-family: var(--display); font-size: 17px; font-weight: 500; }
.intro-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 13px;
}
.availability-mark { width: 6px; height: 6px; flex: 0 0 6px; background: #000; }

.form-panel { padding: 0 0 0 48px; }
.panel-heading { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.panel-heading .overline { margin: 0 0 6px; color: var(--muted); }
.panel-heading h2 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.3; }
.required-note { padding-bottom: 4px; color: var(--muted); font-weight: 400; letter-spacing: 0; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-row > .field:only-child { grid-column: 1 / -1; }
.field { min-width: 0; margin-bottom: 19px; display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; font-weight: 700; }
.field b, .check-row b { color: var(--red); font-weight: 700; }
.field input, .field select {
  width: 100%;
  max-width: 360px;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c9ccc7;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.field input:focus, .field select:focus { outline: 3px solid rgb(200 16 46 / 17%); border-color: var(--red); }
.field input:disabled, .field select:disabled { color: #767a76; background: #f2f3f1; }

.confirmations { margin: 4px 0 23px; padding-top: 9px; border-top: 1px solid var(--line); }
.check-row { margin-top: 14px; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; color: #383c39; font-size: 13px; line-height: 1.5; }
.check-row input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--red); }
.check-row a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.check-row a:hover { color: var(--red-dark); }
.check-optional { color: var(--muted); }

.submit-button {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #000;
  border-radius: 0;
  color: #fff;
  background: #000;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.submit-button:hover:not(:disabled) { border-color: #333; background: #333; }
.submit-button:focus-visible { outline: 3px solid rgb(200 16 46 / 28%); outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.button-arrow { font-size: 22px; line-height: 1; }
.form-footnote { margin: 16px 0 0; color: var(--muted); font-size: 12px; }

.notice { margin: 0 0 20px; padding: 13px 15px; border-left: 3px solid var(--muted); background: #f2f3f1; font-size: 14px; }
.notice--success { border-color: var(--success); color: var(--success); background: #edf5f0; }
.notice--error { border-color: var(--error); color: var(--error); background: #fbf0f2; }
.notice--info { border-color: #686e69; color: #383c39; }

.site-footer {
  min-height: 56px;
  padding: 12px clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #d4d7d3;
  background: #101111;
  font-size: 12px;
}
.site-footer > span { color: #fff; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .page-shell { grid-template-columns: minmax(0, 1fr); }
  .page-shell { padding: 36px 28px 58px; }
  .intro { min-height: 0; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro h1 { margin-top: 12px; font-size: 36px; }
  .intro-foot { margin-top: 12px; padding-top: 14px; }
  .form-panel { padding: 30px 0 0; }
}

@media (max-width: 540px) {
  .globalHeader-event { font-size: .5625rem; }
  .page-shell { padding: 28px 20px 48px; }
  .intro h1 { font-size: 32px; }
  .form-panel { padding-inline: 0; }
  .panel-heading { align-items: flex-start; }
  .panel-heading h2 { font-size: 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
