:root {
  --red: #ef3b12;
  --red-dark: #c92e0b;
  --charcoal: #3d3d3f;
  --charcoal-soft: #565659;
  --ink: #262628;
  --muted: #68686c;
  --line: #d9d9dc;
  --surface: #ffffff;
  --panel: #f6f6f5;
  --error: #b42318;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--charcoal);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-height: 100vh; background: var(--charcoal); }
button, input { font: inherit; }
a { color: inherit; }

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr);
  background: var(--charcoal);
}

.event-visual {
  position: sticky;
  top: 0;
  align-self: start;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: #4d4d4f;
}

.event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset -24px 0 40px rgba(25, 25, 27, .18);
}

.event-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.registration-panel {
  min-width: 0;
  padding: clamp(34px, 6vw, 84px);
  background:
    radial-gradient(circle at 100% 0, rgba(239, 59, 18, .08), transparent 30%),
    var(--panel);
}

.panel-inner { width: min(100%, 780px); margin: 0 auto; }
.registration-heading { margin-bottom: 34px; }

.eyebrow {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  margin: 15px 0 9px;
  color: var(--charcoal);
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.registration-heading > p { margin: 0; color: var(--muted); font-size: 1.04rem; }

.event-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 25px 0 0;
}

.event-summary div {
  padding: 13px 15px;
  border-left: 3px solid var(--red);
  background: var(--surface);
  box-shadow: 0 7px 22px rgba(43, 43, 45, .04);
}

.event-summary div:last-child { grid-column: 1 / -1; }
.event-summary dt { margin-bottom: 4px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-summary dd { margin: 0; color: var(--charcoal); font-size: .95rem; font-weight: 700; line-height: 1.4; }
.program-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--red);
  color: var(--charcoal);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
.program-jump:hover { color: var(--red-dark); }

.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 17px; }
.field.full { grid-column: 1 / -1; }
.field label { margin-bottom: 7px; color: var(--charcoal); font-size: .86rem; font-weight: 750; }

.field input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 59, 18, .13); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.error { min-height: 17px; margin-top: 5px; color: var(--error); font-size: .76rem; }

.consent-box {
  margin-top: 7px;
  padding: 18px;
  border: 1px solid #d2d2d5;
  border-radius: 9px;
  background: var(--surface);
}

.consent-check { display: flex; align-items: center; gap: 10px; }
.consent-check input { width: 19px; height: 19px; margin: 0; accent-color: var(--red); }
.consent-check label { color: var(--charcoal); font-size: 1rem; cursor: pointer; }
.consent-copy { margin: 13px 0 0 29px; color: #5e5e62; font-size: .78rem; line-height: 1.55; }
.consent-copy h2 { margin: 0 0 8px; color: var(--charcoal); font-size: .89rem; line-height: 1.35; }
.consent-copy p { margin: 0 0 8px; }
.consent-copy p:last-child { margin-bottom: 0; }
.consent-copy a { color: var(--red-dark); font-weight: 750; overflow-wrap: anywhere; }
.consent-error { display: block; margin-left: 29px; }

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 53px;
  margin-top: 21px;
  padding: 12px 22px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(239, 59, 18, .2);
  transition: background .2s, transform .2s;
}

.submit-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.submit-button:focus-visible { outline: 3px solid rgba(239, 59, 18, .28); outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .7; transform: none; }
.spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, .38); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.message { margin: 0 0 24px; padding: 15px 17px; border-radius: 8px; font-size: .92rem; line-height: 1.5; }
.message.success { color: #075f38; background: #e9f8f0; border: 1px solid #b7e6ce; }
.message.failure { color: #8f1d14; background: #fff0ee; border: 1px solid #f8c7c2; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.program-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #d2d2d5;
  scroll-margin-top: 24px;
}
.program-heading { margin-bottom: 28px; }
.program-label {
  display: inline-block;
  color: var(--red-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.program-heading h2 {
  margin: 8px 0 7px;
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.program-heading p { margin: 0; color: var(--muted); font-weight: 700; }
.agenda-list { display: grid; }
.agenda-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid #d7d7da;
}
.agenda-item time {
  color: var(--red-dark);
  font-size: .95rem;
  font-weight: 850;
  line-height: 1.4;
  white-space: nowrap;
}
.agenda-copy h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.34;
}
.agenda-copy p,
.agenda-copy ul {
  margin: 7px 0 0;
  color: #5e5e62;
  font-size: .9rem;
  line-height: 1.52;
}
.agenda-copy ul { padding-left: 18px; }
.agenda-copy li + li { margin-top: 3px; }
.agenda-copy strong { color: var(--charcoal); }
.agenda-break {
  margin: 3px 0;
  padding: 17px 16px;
  border-top: 0;
  border-left: 3px solid var(--red);
  background: #fff1ed;
}

@media (max-width: 980px) {
  .page-shell { grid-template-columns: minmax(300px, .82fr) minmax(480px, 1.18fr); }
  .registration-panel { padding: 42px clamp(28px, 5vw, 54px); }
}

@media (max-width: 780px) {
  .page-shell { display: block; }
  .event-visual { position: relative; width: 100%; height: auto; min-height: 0; }
  .event-visual::after { display: none; }
  .event-visual img { width: 100%; height: auto; object-fit: contain; }
  .registration-panel { padding: 42px clamp(20px, 6vw, 46px) 64px; }
}

@media (max-width: 520px) {
  .registration-panel { padding: 34px 18px 54px; }
  .fields-grid, .event-summary { grid-template-columns: 1fr; }
  .field.full, .event-summary div:last-child { grid-column: auto; }
  .consent-box { padding: 15px; }
  .consent-copy, .consent-error { margin-left: 0; }
  .program-section { margin-top: 48px; padding-top: 38px; }
  .agenda-item { grid-template-columns: 1fr; gap: 7px; padding: 19px 0; }
  .agenda-item time { white-space: normal; }
  .agenda-break { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
