:root {
  --plum: #4a264e;
  --plum-dark: #2e1833;
  --green: #4d653e;
  --green-dark: #33452b;
  --mint: #dbe8d8;
  --lavender: #eee8f0;
  --rose: #d8a5a8;
  --ink: #282329;
  --muted: #686069;
  --paper: #fbfaf8;
  --white: #ffffff;
  --line: #ded8de;
  --shadow: 0 18px 50px rgba(46, 24, 51, 0.13);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body, input, button { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.wordmark-mark {
  width: 17px;
  height: 24px;
  border-radius: 50% 4px 50% 4px;
  background: var(--mint);
  transform: rotate(22deg);
}

.header-cta {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.header-cta:hover { background: var(--white); color: var(--plum-dark); }

.hero {
  min-height: min(790px, 92svh);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 35%; }
.hero-shade { background: linear-gradient(90deg, rgba(32, 20, 35, 0.88) 0%, rgba(32, 20, 35, 0.64) 38%, rgba(32, 20, 35, 0.08) 72%), linear-gradient(0deg, rgba(20, 16, 21, 0.38), transparent 42%); }

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 44px));
  margin: 0 0 clamp(52px, 8vh, 90px) clamp(22px, 8vw, 118px);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow.dark { color: var(--green); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; }
.hero h1 { margin: 0; font-size: clamp(58px, 8vw, 106px); line-height: 0.9; }
.hero-lead { max-width: 590px; margin: 22px 0 27px; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; }

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.event-facts div { min-width: 136px; padding: 15px 26px 15px 0; }
.event-facts div + div { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, 0.35); }
.event-facts span { display: block; margin-bottom: 4px; font-size: 11px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.event-facts strong { font-size: 15px; }

.primary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: var(--rose);
  color: var(--plum-dark);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}
.primary-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: 0.72; transform: none; }
.hero-note { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.78); }

.section-inner { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.signup-band { padding: 84px 0; background: var(--lavender); }
.signup-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.signup-copy h2, .section-heading h2, .reset-band h2, .contact-section h2 { margin: 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.03; color: var(--plum-dark); }
.signup-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow) { max-width: 650px; margin: 24px 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.signup-form, .login-panel {
  padding: clamp(26px, 4vw, 42px);
  border-top: 5px solid var(--green);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signup-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; color: var(--plum-dark); }
input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #c8c1c8;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(77, 101, 62, 0.14); }
.consent { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 12px; line-height: 1.45; font-weight: 500; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.consent a { color: var(--plum); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-status { min-height: 20px; margin: 0; font-size: 14px; font-weight: 700; }
.form-status.success { color: var(--green-dark); }
.form-status.error { color: #a0323c; }

.program-section { padding: 94px 0 104px; }
.section-heading { max-width: 800px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 58px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.topic-grid article { min-height: 250px; padding: 30px 26px; background: var(--paper); }
.topic-grid span { color: var(--rose); font-size: 13px; font-weight: 800; }
.topic-grid h3 { margin: 38px 0 13px; font-size: 26px; color: var(--plum-dark); }
.topic-grid p { margin: 0; color: var(--muted); line-height: 1.58; }

.reset-band { padding: 78px 0; background: var(--green-dark); color: var(--white); }
.reset-layout { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(44px, 8vw, 110px); align-items: center; }
.reset-band h2 { color: var(--white); }
.reset-copy { padding-left: 38px; border-left: 1px solid rgba(255,255,255,.3); font-size: 17px; line-height: 1.65; }
.reset-copy p { margin: 0 0 16px; }

.speakers-section { padding: 92px 0 98px; background: var(--lavender); }
.speakers-heading { max-width: 760px; }
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.speaker-card { overflow: hidden; border-top: 4px solid var(--green); border-radius: 5px; background: var(--white); box-shadow: 0 8px 26px rgba(46, 24, 51, 0.1); }
.speaker-card img { display: block; width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: center 32%; }
.speaker-card:first-child img { object-position: center 44%; }
.speaker-card-copy { padding: 18px 16px 20px; }
.speaker-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.08; color: var(--plum-dark); }
.speaker-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }

.contact-section { padding: 80px 0; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 0.7fr 1.1fr; gap: 50px; align-items: end; }
.contact-section h2 { font-size: 43px; }
.contact-section p { color: var(--muted); }
.contact-details { display: grid; gap: 10px; }
.contact-details a { color: var(--plum); font-weight: 750; text-decoration: none; }
.privacy-note { margin: 0; font-size: 12px; line-height: 1.55; }
footer { min-height: 64px; padding: 20px clamp(22px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--plum-dark); color: rgba(255,255,255,.75); font-size: 12px; }
footer a { text-decoration: none; }
.footer-meta { display: grid; gap: 4px; }
.ai-note { color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.35; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a:hover { color: var(--white); }

.admin-body { min-height: 100vh; background: var(--lavender); }
.admin-header { position: relative; background: var(--plum-dark); }
.header-cta.quiet { border-color: rgba(255,255,255,.35); }
.admin-main { width: min(1260px, calc(100% - 44px)); margin: 0 auto; padding: clamp(50px, 8vw, 96px) 0; }
.login-panel { max-width: 480px; margin: 5vh auto 0; }
.login-panel h1, .dashboard h1 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; color: var(--plum-dark); }
.login-panel > p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.login-form { display: grid; gap: 18px; margin-top: 28px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.dashboard-heading p { margin-bottom: 0; color: var(--muted); }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.export-button, .text-button { min-height: 42px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--green); border-radius: 3px; background: var(--white); color: var(--green-dark); font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.text-button { border-color: transparent; background: transparent; color: var(--muted); }
.table-wrap { overflow-x: auto; border-top: 5px solid var(--green); border-radius: 5px; background: var(--white); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 16px 18px; border-bottom: 1px solid #ece8ec; text-align: left; white-space: nowrap; }
th { background: #f5f2f5; color: var(--plum-dark); font-size: 12px; text-transform: uppercase; }
td { color: #454047; }
.empty-state { padding: 50px 20px; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero { min-height: 780px; }
  .hero-shade { background: linear-gradient(90deg, rgba(32,20,35,.84), rgba(32,20,35,.25)), linear-gradient(0deg, rgba(20,16,21,.62), transparent 55%); }
  .signup-layout, .reset-layout { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .speaker-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .privacy-note { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; padding: 0 18px; }
  .header-cta { padding: 8px 11px; font-size: 12px; }
  .hero { min-height: 760px; align-items: end; }
  .hero-image { object-position: 54% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(32,20,35,.9) 0%, rgba(32,20,35,.58) 58%, rgba(32,20,35,.1) 100%); }
  .hero-content { width: calc(100% - 36px); margin: 0 18px 34px; }
  .hero h1 { font-size: 60px; }
  .hero-lead { margin: 15px 0 20px; font-size: 20px; }
  .event-facts { display: grid; grid-template-columns: 1.5fr 1fr 0.7fr; }
  .event-facts div { min-width: 0; padding: 12px 10px 12px 0; }
  .event-facts div + div { padding-left: 10px; }
  .event-facts strong { font-size: 12px; }
  .event-facts span { font-size: 9px; }
  .hero-note { line-height: 1.45; }
  .section-inner, .admin-main { width: calc(100% - 36px); }
  .signup-band, .program-section, .reset-band, .speakers-section, .contact-section { padding: 62px 0; }
  .signup-layout { gap: 38px; }
  .signup-copy h2, .section-heading h2, .reset-band h2 { font-size: 39px; }
  .signup-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow) { font-size: 16px; }
  .signup-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .topic-grid article { min-height: 0; padding: 26px 20px; }
  .topic-grid h3 { margin-top: 18px; }
  .reset-copy { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .speaker-grid { gap: 12px; margin-top: 34px; }
  .speaker-card-copy { padding: 14px 12px 16px; }
  .speaker-card h3 { font-size: 18px; }
  .speaker-card p { font-size: 12px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .privacy-note { grid-column: auto; }
  .dashboard-heading { display: block; }
  .dashboard-actions { justify-content: flex-start; margin-top: 25px; }
  footer { align-items: flex-start; padding: 20px 18px; }
  .footer-links { gap: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
