:root {
  --geoed-teal: #1c8b81;
  --geoed-teal-dark: #156f67;
  --geoed-cyan: #00b3e6;
  --geoed-blue: #14a9d6;
  --geoed-magenta: #b10d7b;
  --geoed-magenta-dark: #920965;
  --geoed-soft: #eaf8fb;
  --geoed-bg: #f5f7f8;
  --geoed-card: #ffffff;
  --geoed-text: #2f2f2f;
  --geoed-muted: #666b70;
  --geoed-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --content-width: 1180px;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--geoed-text);
  background: var(--geoed-bg);
}

.keynote-page * {
  box-sizing: border-box;
}

.keynote-page {
  background:
    radial-gradient(circle at top left, rgba(0, 179, 230, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(28, 139, 129, 0.08), transparent 28%),
    linear-gradient(to bottom, #f7fbfc 0%, #f5f7f8 100%);
}

.keynote-wrap {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HERO
========================================================= */
.speaker-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(21, 40, 76, 1) 0%,
    rgba(48, 188, 221, 1) 50%,
    rgba(194, 29, 123, 1) 100%
  );
  min-height: 530px;
  display: flex;
  align-items: center;
}

.speaker-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.10), transparent 18%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 75% 78%, rgba(255, 255, 255, 0.06), transparent 20%);
  pointer-events: none;
}

.speaker-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -90px;
  height: 180px;
  background: var(--geoed-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.speaker-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 150px;
}

.hero-copy {
  color: #fff;
  max-width: 640px;
  min-width: 0;
}

.hero-logo-wrap {
  margin-bottom: 18px;
}

.hero-logo-link {
  display: inline-block;
}

.hero-logo {
  display: block;
  max-width: 365px;
  width: 100%;
  height: auto;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 300;
  color: #fff;
  max-width: 14ch;
}

/* DIVIDER */
.hero-divider {
  width: 100%;
  max-width: 560px;
  height: 3px;
  margin: 26px 0 30px;
  background: linear-gradient(
    90deg,
    var(--geoed-magenta) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-24px);
  animation: heroDividerReveal 1s ease forwards;
  animation-delay: 0.25s;
}

@keyframes heroDividerReveal {
  0% {
    opacity: 0;
    transform: translateX(-18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* SPEAKER META */
.hero-speaker-meta {
  margin-top: 0;
  max-width: 620px;
  min-width: 0;
}

.hero-speaker-meta h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #fff;
  font-weight: 700;
  word-break: break-word;
}

.hero-speaker-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-speaker-role {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #ffd2ec;
  font-weight: 600;
}

.hero-speaker-org {
  display: block;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  line-height: 1.5;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-portrait-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-portrait-card {
  position: relative;
  width: min(420px, 100%);
  max-width: 100%;
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  margin: 0 auto;
}

.hero-portrait-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.hero-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #dceff2;
  aspect-ratio: 4 / 5;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* =========================================================
   FLOATING QUOTE CARD
========================================================= */
.speaker-profile {
  position: relative;
  z-index: 4;
  margin-top: -118px;
  padding: 0 20px;
}

.floating-quote-card {
  width: min(980px, calc(100% - 20px));
  margin: 0 auto;
  background: #15284C;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(16, 29, 58, 0.22);
  padding: 48px 42px 34px;
  border-top: 6px solid var(--geoed-magenta);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.floating-quote-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -60px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.quote-mark {
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3.8rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.quote-text {
  position: relative;
  z-index: 1;
  margin: 0 auto 16px;
  max-width: 820px;
  font-size: 1.16rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.quote-attrib {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

/* =========================================================
   MAIN CONTENT
========================================================= */
.content-section {
  padding: 70px 0 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.content-grid-single {
  grid-template-columns: 1fr;
}

.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  padding: 38px;
  border-top: 5px solid var(--geoed-blue);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--geoed-magenta);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--geoed-text);
}

.content-card p {
  margin: 0 0 18px;
  line-height: 1.85;
  font-size: 1.03rem;
  color: #474747;
}

.content-card a {
  color: var(--geoed-blue);
  text-decoration: none;
  font-weight: 600;
}

.content-card a:hover {
  color: var(--geoed-magenta);
}

/* =========================================================
   SESSION DETAILS
========================================================= */
.session-strip {
  padding: 26px 0 10px;
}

.session-strip-inner {
  background: #15284C;
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.session-item {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.session-item:last-child {
  border-right: 0;
}

.session-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.80);
  font-weight: 700;
}

.session-value {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 700;
}

/* =========================================================
   KEYNOTE CTA
========================================================= */
.keynote-cta {
  padding: 40px 0 12px;
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(177, 13, 123, 0.97), rgba(20, 169, 214, 0.94)),
    url("../img/Top Texture background.svg") center / cover no-repeat;
  color: #fff;
  border-radius: 34px;
  padding: 48px 42px;
  text-align: center;
}

.cta-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  font-weight: 300;
  color: #fff;
}

.cta-panel p {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.94);
}

.cta-btn {
  display: inline-block;
  padding: 15px 26px;
  background: #fff;
  color: var(--geoed-magenta);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, color 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  color: #15284C;
  text-decoration: none;
}

/* =========================================================
   BOTTOM CTA SECTION
========================================================= */
.speaker-cta {
  padding: 8px 20px 80px;
  background: #f5f7f8;
}

.speaker-cta-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(16, 29, 58, 0.08);
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid rgba(21, 40, 76, 0.08);
}

.speaker-cta-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c11786;
}

.speaker-cta-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  line-height: 1.15;
  color: #15284C;
}

.speaker-cta-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #42526b;
  max-width: 760px;
}

.speaker-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.speaker-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c11786 0%, #a80f73 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 14px 30px rgba(193, 23, 134, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speaker-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(193, 23, 134, 0.28);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1080px) {
  .speaker-hero-inner,
  .content-grid,
  .content-grid-single {
    grid-template-columns: 1fr;
  }

  .speaker-hero-inner {
    gap: 26px;
    padding: 56px 0 170px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-portrait-wrap {
    justify-content: center;
  }

  .hero-portrait-card {
    width: min(420px, 100%);
  }

  .session-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .session-item:nth-child(2) {
    border-right: 0;
  }

  .session-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 980px) {
  .speaker-cta {
    padding: 12px 16px 60px;
  }

  .speaker-cta-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: left;
  }

  .speaker-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .speaker-hero {
    min-height: auto;
    text-align: center;
  }

  .speaker-hero-inner {
    width: calc(100% - 32px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 34px 0 170px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .hero-logo-wrap {
    display: flex;
    justify-content: center;
  }

  .hero-logo {
    max-width: 190px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.05;
    max-width: 12ch;
    margin: 0 auto;
  }

  .hero-divider {
    width: 100%;
    max-width: 260px;
    margin: 18px auto 22px;
  }

  .hero-speaker-meta {
    text-align: center;
  }

  .hero-speaker-meta h2 {
    font-size: 1.9rem;
    margin-bottom: 8px;
  }

  .hero-speaker-details {
    align-items: center;
  }

  .hero-speaker-role {
    font-size: 1rem;
  }

  .hero-speaker-org {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  .hero-portrait-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-portrait-card {
    width: min(340px, 100%);
    margin: 0 auto;
    padding: 14px;
    border-radius: 26px;
  }

  .hero-portrait-card::before {
    inset: 8px;
    border-radius: 20px;
  }

  .hero-portrait {
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .speaker-cta-content h3 {
    font-size: 1.4rem;
  }

  .speaker-cta-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .keynote-wrap {
    width: min(var(--content-width), calc(100% - 24px));
  }

  .speaker-hero-inner {
    width: calc(100% - 24px);
    padding: 28px 0 160px;
  }

  .hero-logo {
    max-width: 190px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.02;
    max-width: 12ch;
  }

  .hero-speaker-meta h2 {
    font-size: 1.85rem;
  }

  .hero-speaker-role {
    font-size: 0.95rem;
  }

  .hero-speaker-org {
    font-size: 0.7rem;
    letter-spacing: 0.03em;
  }

  .hero-portrait-card {
    width: 100%;
    max-width: 340px;
    padding: 14px;
  }

  .speaker-profile {
    margin-top: -122px;
    padding: 0 12px;
  }

  .floating-quote-card {
    padding: 30px 16px 20px;
  }

  .quote-mark {
    top: 8px;
    left: 14px;
    font-size: 2.5rem;
  }

  .quote-text {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .content-card,
  .cta-panel,
  .speaker-cta-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}