:root {
  --burgundy: #690722;
  --burgundy-deep: #39000f;
  --wine: #880a3f;
  --blush: #f5b7d8;
  --blush-soft: #fff1f8;
  --rose: #eaa0ad;
  --cream: #fffaf4;
  --paper: #ffffff;
  --ink: #241018;
  --muted: #765866;
  --line: #efd3df;
  --gold: #d9b46a;
  --error: #b42318;
  --success: #16803c;
  --shadow: 0 24px 80px rgba(57, 0, 15, 0.17);
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 8%, rgba(245, 183, 216, 0.56), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(217, 180, 106, 0.20), transparent 22%),
    linear-gradient(135deg, #fff7fb 0%, #fffaf4 44%, #f8d4e8 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(105, 7, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 7, 34, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 28px 22px 58px;
}

.ambient-glow { display: none; }

.registration-page {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, .9fr);
  gap: 28px;
  align-items: start;
}

.registration-page .page-footer {
  grid-column: 2;
  align-self: start;
}

.hero {
  position: sticky;
  top: 24px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  animation: fadeUp .55s ease both;
}

.hero-inner {
  padding: 32px;
  border: 1px solid rgba(105, 7, 34, .14);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,241,248,.92));
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.organizer-logo {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(105, 7, 34, .16);
  box-shadow: 0 14px 30px rgba(105, 7, 34, .12);
}

.organizer-name {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--rose);
}

.hero h1 {
  margin: 0;
  max-width: 620px;
  color: var(--burgundy-deep);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .97;
}

.hero-desc {
  max-width: 560px;
  margin: 18px 0 0;
  color: #654252;
  font-size: 16px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(105, 7, 34, .14);
  border-radius: 999px;
  background: #fff;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(105, 7, 34, .07);
}

.meta-chip svg { color: var(--wine); flex-shrink: 0; }

.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(145deg, rgba(105,7,34,.95), rgba(57,0,15,.98));
  border: 1px solid rgba(105, 7, 34, .18);
  box-shadow: var(--shadow);
}

.banner-image {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}

.hero-proof {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 18px;
  background: rgba(57, 0, 15, .88);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-proof span {
  color: #ffd2e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-proof strong { font-size: 14px; }

.form-shell {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.registration-page .form-shell {
  position: sticky;
  top: 24px;
}

.form-heading {
  margin-bottom: 14px;
  padding: 24px 26px;
  border: 1px solid rgba(105, 7, 34, .13);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 60px rgba(57, 0, 15, .10);
}

.form-heading span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin: 5px 0 4px;
  color: var(--burgundy-deep);
  font-size: 26px;
  line-height: 1.1;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.reg-form,
.speaker-card,
.notice {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(105, 7, 34, .14);
  box-shadow: 0 24px 70px rgba(57, 0, 15, .13);
  backdrop-filter: blur(18px);
}

.reg-form {
  border-radius: 26px;
  padding: 28px;
  animation: fadeUp .55s ease .08s both;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-group { margin-bottom: 18px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #4a2432;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.req { color: var(--wine); }

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #ead0dc;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fff7fb);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder { color: #b08a9b; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wine);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(136, 10, 63, .12);
}

input.invalid,
select.invalid,
textarea.invalid { border-color: var(--error); }

select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23880a3f' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e"), linear-gradient(180deg, #fff, #fff7fb);
  background-repeat: no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 16px, auto;
}

.field-hint,
.privacy-note,
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.field-hint,
.privacy-note { color: var(--muted); }

.field-error { color: var(--error); }

.consent-group {
  padding: 14px;
  border: 1px solid #efd3df;
  border-radius: 16px;
  background: #fff7fb;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  color: #4c2d39;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--wine);
}

.submit-btn {
  width: 100%;
  position: relative;
  min-height: 56px;
  margin-top: 4px;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--burgundy), var(--wine));
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(105, 7, 34, .28);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(105, 7, 34, .32);
}

.submit-btn:disabled {
  opacity: .66;
  cursor: not-allowed;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: #fff;
  border-radius: 50%;
  margin-left: 10px;
  vertical-align: middle;
  animation: spin .7s linear infinite;
}

.submit-btn.loading .btn-spinner { display: inline-block; }
.submit-btn.loading .btn-label { opacity: .72; }

.privacy-note {
  text-align: center;
  margin: 16px 0 0;
}

.privacy-note a {
  color: var(--wine);
  font-weight: 800;
}

.notice {
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  animation: fadeUp .45s ease both;
}

.notice h2 {
  margin: 0 0 12px;
  color: var(--burgundy-deep);
  font-family: var(--font-display);
  font-size: 28px;
}

.notice-success {
  max-width: 720px;
  margin: 0 auto;
  border-color: rgba(22,128,60,.22);
}

.notice-success h2 { color: var(--success); }

.notice-error {
  margin-top: 16px;
  border-color: rgba(180,35,24,.24);
  background: #fff3f1;
  color: var(--error);
  padding: 18px 20px;
}

.notice-error p { margin: 0; color: var(--error); font-size: 14px; }

.notice-full {
  max-width: 720px;
  margin: 0 auto;
}

.notice-waitlist,
.notice-waitlist-confirm {
  border: 1px solid rgba(217, 180, 106, .42);
  background: #fff8e8;
  color: #7a4d02;
}

.notice-waitlist {
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 13.5px;
}

.notice-waitlist-confirm {
  border-radius: 24px;
  padding: 36px;
  text-align: center;
}

.speaker-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 22px;
  padding: 22px;
  margin: 0 0 14px;
}

.speaker-photo {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid #f2c9dc;
}

.speaker-info { flex: 1; min-width: 0; }
.speaker-name { color: var(--burgundy-deep); font-weight: 900; font-size: 15px; margin-bottom: 2px; }
.speaker-title { color: var(--wine); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.speaker-bio { color: var(--muted); font-size: 13px; margin: 0; }

.ref-box {
  max-width: 320px;
  margin: 20px auto 0;
  padding: 16px 22px;
  border: 1px solid #efd3df;
  border-radius: 16px;
  background: #fff7fb;
  text-align: center;
}

.ref-box .ref-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ref-box .ref-code {
  color: var(--burgundy);
  font-size: 22px;
  font-weight: 900;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(22,128,60,.12);
}

.success-icon svg { color: var(--success); }

.btn-cal,
.btn-secondary-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 18px;
  border: 1px solid #dfb7c8;
  border-radius: 999px;
  background: #fff;
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.btn-cal:hover,
.btn-secondary-inline:hover { border-color: var(--wine); }

.back-link-wrap { text-align: center; margin-top: 24px; }
.back-link { color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.back-link:hover { color: var(--wine); }

.page-footer {
  text-align: left;
  margin-top: 14px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .registration-page {
    display: block;
    max-width: 720px;
  }

  .registration-page .page-footer {
    text-align: center;
  }

  .hero,
  .registration-page .form-shell {
    position: relative;
    top: auto;
  }

  .hero {
    min-height: 0;
    margin-bottom: 20px;
  }

  .banner-image {
    max-height: 620px;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 14px 12px 38px;
  }

  .hero-inner,
  .reg-form,
  .form-heading,
  .speaker-card,
  .notice {
    border-radius: 22px;
  }

  .hero-inner,
  .reg-form {
    padding: 22px;
  }

  .form-heading,
  .speaker-card,
  .notice {
    padding: 20px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .organizer-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 17px;
  }

  .organizer-name {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .meta-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-proof {
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .speaker-card {
    flex-direction: column;
  }
}
/* Premium registration page refinements */
.hero-inner,
.hero-media,
.form-heading,
.reg-form,
.speaker-card {
  outline: 1px solid rgba(255,255,255,.55);
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}

.hero-proof {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.form-shell {
  max-width: 520px;
  justify-self: end;
}

.reg-form {
  border-top: 4px solid rgba(136, 10, 63, .72);
}

.page-footer p {
  margin: 0;
  opacity: .8;
}

@media (min-width: 981px) {
  .page-footer {
    width: min(520px, 100%);
    justify-self: end;
  }
}
/* Branded event detail cards */
.hero-desc {
  position: relative;
  max-width: 610px;
  padding-left: 18px;
  border-left: 3px solid rgba(136, 10, 63, .26);
  color: #5d3445;
  font-size: 17px;
  line-height: 1.75;
}

.event-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.event-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(105, 7, 34, .13);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,241,248,.92)),
    #fff;
  box-shadow: 0 14px 34px rgba(57, 0, 15, .09);
}

.event-card::after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(245, 183, 216, .26);
}

.event-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--burgundy), var(--wine));
  color: #fff;
  box-shadow: 0 12px 24px rgba(105, 7, 34, .22);
}

.event-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.event-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.event-card strong {
  display: block;
  color: var(--burgundy-deep);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.22;
}

@media (max-width: 1120px) and (min-width: 981px) {
  .event-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-desc {
    padding-left: 14px;
    font-size: 15px;
  }

  .event-panel {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .event-card {
    min-height: 76px;
  }
}
/* Corporate polish pass */
body {
  background:
    radial-gradient(circle at 9% 6%, rgba(245, 183, 216, 0.46), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(217, 180, 106, 0.22), transparent 26%),
    linear-gradient(135deg, #fffaf7 0%, #fff6fb 45%, #f7d6e7 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(105,7,34,.07), transparent 28%, transparent 72%, rgba(105,7,34,.06)),
    linear-gradient(to bottom, rgba(255,255,255,.72), transparent 34%);
}

.registration-page {
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .88fr);
  gap: 32px;
}

.hero-inner {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,251,.94)),
    var(--paper);
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--burgundy), var(--wine), var(--gold));
}

.hero-inner::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217,180,106,.22), transparent 66%);
}

.brand-lockup,
.eyebrow,
.hero h1,
.hero-desc,
.event-panel {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(105,7,34,.10);
}

.organizer-logo {
  border-radius: 18px;
  background: #fff;
}

.eyebrow {
  margin-top: 4px;
}

.hero h1 {
  max-width: 680px;
  font-family: var(--font-body);
  font-size: clamp(40px, 5.1vw, 72px);
  line-height: .95;
}

.hero-desc {
  margin-top: 22px;
  background: rgba(255,255,255,.55);
  border-left-color: rgba(217,180,106,.78);
  border-radius: 0 16px 16px 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.hero-media {
  background:
    linear-gradient(145deg, rgba(57,0,15,.98), rgba(105,7,34,.96));
  border-color: rgba(255,255,255,.22);
}

.hero-proof {
  min-height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(57,0,15,.94), rgba(105,7,34,.88));
}

.form-heading {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,244,249,.92));
}

.form-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--burgundy), var(--gold));
}

.reg-form {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,252,.94));
}

input,
select,
textarea {
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.submit-btn {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy) 52%, var(--wine));
}

.event-card {
  background:
    linear-gradient(145deg, #fff, #fff8fb 70%),
    var(--paper);
  border-color: rgba(105,7,34,.16);
}

.event-icon {
  background: linear-gradient(135deg, var(--burgundy-deep), var(--wine));
}

@media (max-width: 980px) {
  .registration-page {
    max-width: 760px;
  }
}
/* Public form discipline correction */
.reg-form,
.form-heading,
.speaker-card,
.notice {
  background: #fff;
  border-color: #e6ddd8;
}

.reg-form {
  border-top: 3px solid var(--burgundy);
}

label {
  color: #3e2731;
  font-size: 12px;
  letter-spacing: .055em;
}

input,
select,
textarea {
  min-height: 46px;
  padding: 10px 13px;
  border-color: #ddd4cf;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: #9b8791;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(105,7,34,.10);
}

select {
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23690722' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.field-row {
  gap: 20px;
}

.field-group {
  margin-bottom: 16px;
}

.field-hint,
.privacy-note {
  color: #6f5b63;
}

.consent-group {
  background: #fff;
  border-color: #e6ddd8;
}

.checkbox-label {
  color: #38242d;
}

.form-heading::before {
  width: 4px;
}

.hero-desc {
  background: transparent;
}

@media (max-width: 620px) {
  input,
  select,
  textarea {
    min-height: 44px;
  }
}