:root {
  --harvard-crimson: #a51c30;
  --harvard-crimson-deep: #8f182a;
  --ink: #2b2424;
  --muted: #6d5b5f;
  --paper: #ffffff;
  --line: #e6d7d9;
  --mist: #f6f2f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f2f2f2;
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
}

.page-shell {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.top-band {
  background: var(--harvard-crimson);
  padding: 0;
}

.wa-home-header {
  position: relative;
  z-index: 20;
  padding: 0;
}

.wa-home-header .WaLayoutContainer {
  max-width: none;
  margin: 0;
}

.wa-home-header .WaLayoutTable {
  width: 100%;
}

.wa-home-header .wa-header-logo-cell .gadgetStyleBody {
  padding: 14px 0 6px;
}

.wa-home-header .wa-header-logo-cell img {
  width: 52px;
  height: auto;
  display: block;
}

.wa-home-header .WaGadgetMenuHorizontal {
  margin-top: 14px !important;
}

.wa-home-header .WaGadgetMenuHorizontal .menuInner {
  display: flex;
  justify-content: flex-end;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.15fr);
  gap: 26px;
  padding: 18px 18px 10px;
  background: var(--harvard-crimson);
  border-top: 8px solid #f2f2f2;
}

.hero-copy {
  color: #fff;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-date,
.hero-school,
.hero-location {
  margin: 0;
  font-weight: 700;
}

.hero-date {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.hero-school,
.hero-location {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.registration-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(197, 234, 242, 0.85);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
}

.registration-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #78b6c8;
  color: #fff;
  font-size: 0.9rem;
}

.hero-media {
  align-self: center;
}

.carousel-frame {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #d9d9d9;
  border: 6px solid rgba(255, 255, 255, 0.15);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.dot.is-active {
  background: #78b64b;
}

.section-heading {
  margin: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, #fafafa 0%, #efefef 100%);
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--harvard-crimson);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
}

.about-copy {
  padding: 18px 18px 28px;
}

.about-copy p {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.78;
}

.keynote-heading {
  margin-top: 6px;
}

.speaker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 38px;
  padding: 26px 20px 16px;
}

.speaker-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: start;
}

.speaker-card img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.speaker-info h3 {
  margin: 8px 0 10px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.18rem;
  color: #3b3133;
}

.speaker-info p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.99rem;
  line-height: 1.4;
}

.keynote-link {
  margin: 0;
  padding: 6px 18px 28px;
  text-align: center;
}

.keynote-link a {
  color: var(--harvard-crimson);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.footer-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 20px 18px;
  background: var(--harvard-crimson);
  color: #fff;
}

.footer-column h3 {
  margin: 0 0 10px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.1rem;
}

.footer-column p {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 700;
}

.email-row a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
}

.x-link {
  background: #000;
}

.linkedin-link {
  background: #0a66c2;
}

.youtube-link {
  background: #ff0000;
}

.photo-credit {
  margin: 0;
  padding: 10px 18px 18px;
  color: var(--muted);
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.photo-credit a {
  color: var(--harvard-crimson);
}

@media (max-width: 860px) {
  .wa-home-header {
    padding: 0;
  }

  .wa-home-header .WaLayoutTable,
  .wa-home-header .WaLayoutTable tbody,
  .wa-home-header .WaLayoutTable tr,
  .wa-home-header .WaLayoutTable td {
    display: block;
    width: 100% !important;
  }

  .wa-home-header .wa-header-logo-cell .gadgetStyleBody {
    padding-bottom: 0;
  }

  .wa-home-header .WaLayoutSeparator {
    display: none !important;
  }

  .wa-home-header .WaGadgetMenuHorizontal .menuInner {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .carousel-frame {
    min-height: 260px;
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .speaker-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .speaker-card img {
    margin: 0 auto;
  }

  .email-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
