@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap");

:root {
  --red: #DA291C;
  --purple: #6f0131;
  --white: #ffffff;
  --ink: #321629;
  --soft: #f7f2f4;
  --line: #eadde3;
  --sunburst: linear-gradient(90deg, var(--purple), var(--red));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  line-height: 1.05;
}

p {
  margin: 0;
}

sup {
  font-size: 0.5em;
  line-height: 0;
  vertical-align: super;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell {
  position: relative;
  width: calc(100% - 40px);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 184px;
  height: auto;
}


.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  background: #DA291C;
  border: 1px solid var(--white);
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
  position: relative;
  z-index: 50;
}

.menu-toggle .menu-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 18px;
  color: var(--white);
  background: var(--red);
  border-radius: 10px;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 330px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 232, 230, 0.94) 0%, rgba(232, 232, 230, 0.82) 45%, rgba(232, 232, 230, 0.2) 78%), url("../images/hero-desktop.jpg") center / cover;
  z-index: -1;
}

.hero-shell {
  width: min(1200px, calc(100% - 40px));
  min-height: 330px;
  margin: 0 auto;
  padding: 41px 0 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(500px, 100%);
  color: var(--purple);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 1;
  height: 3px;
  background: var(--red);
  border: 0;
}

.hero h1 {
  width: min(500px, 100%);
  max-width: 500px;
  margin-top: 8px;
  color: var(--purple);
  font-size: clamp(1.05rem, 2.45vw, 2.38rem);
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
}

.hero h1::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 10px;
  background: var(--red);
}

.hero-date {
  width: min(500px, 100%);
  margin-top: 26px;
  padding: 20px 20px;
  color: var(--white);
  background: var(--sunburst);
  border-radius: 20px;
  text-align: center;
}

.hero-date h2 {
  color: var(--white);
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
}

.hero-date p {
  margin-top: 6px;
  color: var(--white);
  font-size: 1.1rem;
}

.hero-strapline {
  max-width: 500px;
  margin-top: 24px;
  color: var(--purple);
  font-weight: 700;
  font-size: 1.08rem;
  text-align: center;
}

.hero-copy {
  max-width: 500px;
  margin-top: 24px;
  color: var(--purple);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero .button-row {
  width: min(500px, 100%);
}

.hero .button-row .button {
  flex: 1 1 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 6px 18px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.section {
  width: 100%;
  padding: 44px 0;
}

.section-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 22px;
  color: var(--purple);
  font-size: clamp(1.25rem, 2.35vw, 2.1rem);
}

.agenda {
  padding-bottom: 83px;
  color: #111111;
  background: #ededed;
}

.agenda h2,
.agenda p,
.agenda time,
.agenda span {
  color: #111111;
}

.agenda-list {
  margin-top: 28px;
}

.agenda-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 8px 0;
}

.agenda-row time {
  position: relative;
  padding-left: 18px;
  font-weight: 800;
}

.agenda-row time::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}

.speakers {
  color: var(--purple);
}

.abstract {
  color: var(--purple);
  background: #ededed;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.speaker-card {
  color: var(--purple);
}

.speaker-card:nth-child(5) {
  grid-column: 2;
}

.speaker-card:nth-child(6) {
  grid-column: 3;
}

.speaker-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px;
  margin-bottom: 16px;
}

.speaker-card h3 {
  color: var(--purple);
  font-size: 1rem;
  margin-bottom: 8px;
}

.speaker-card p {
  color: var(--purple);
}


.speaker-bio-button {
  margin-top: 16px;
  cursor: pointer;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(80vh, 680px);
  overflow: auto;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.modal-panel h2 {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 1.6rem;
}

.modal-role {
  margin-bottom: 18px;
  color: var(--purple);
  font-weight: 700;
}

.modal-panel p {
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--purple);
  background: var(--soft);
  border: 0;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.abstract .section-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.abstract-deadline {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  color: var(--purple);
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 10px;
}

.abstract-deadline strong {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.abstract p,
.abstract li {
  color: var(--purple);
}

.abstract ul {
  margin: 16px 0 24px;
  padding-left: 22px;
}

.abstract li + li {
  margin-top: 8px;
}

.map-panel {
  overflow: hidden;
  height: 420px;
  border-radius: 30px;
  background: var(--soft);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.venue-details {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  color: var(--purple);
}

.hotels > .section-shell > p {
  max-width: 780px;
  margin-bottom: 28px;
}

.hotel-list {
  display: grid;
  gap: 28px;
}

.hotel-card {
  display: grid;
  grid-template-columns: minmax(182px, 263px) 1fr;
  gap: 30px;
  align-items: center;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
}

.hotel-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hotel-card div {
  padding: 28px 28px 28px 0;
}

.hotel-card h3 {
  color: var(--purple);
  font-size: 0.725rem;
  margin-bottom: 14px;
}

.hotel-card p + p {
  margin-top: 8px;
}

.hotel-card .button {
  margin-top: 20px;
}

.register .section-shell {
  text-align: left;
}

.register h3,
.sponsored-by h3 {
  color: var(--purple);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

.register h2 {
  margin-bottom: 28px;
}

.register h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: min(600px, 100%);
  margin: 0 0 20px;
  text-align: left;
}

.price-group {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.price-group p {
  color: var(--purple);
  margin-bottom: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 6px 0;
  border-top: 0;
  vertical-align: top;
}

th {
  text-align: left;
  font-weight: 400;
}

td {
  width: 80px;
  text-align: right;
  font-weight: 400;
  color: var(--purple);
}

.sponsored-by {
  padding-top: 30px;
}

.sponsored-by h3 {
  margin-bottom: 24px;
  text-align: center;
}

.sponsor-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}

.sponsor-grid a {
  display: flex;
  align-items: center;
  height: 82px;
}

.sponsor-grid img {
  width: auto;
  max-height: 82px;
  object-fit: contain;
}

.in-partnership-with .sponsor-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.in-partnership-with .sponsor-grid a {
  justify-content: center;
  height: auto;
  margin: 20px;
}

.in-partnership-with .sponsor-grid img {
  width: auto;
  height: 80px;
  max-height: 80px;
  object-fit: contain;
}

.site-footer {
  width: 100%;
  padding: 21px 0 66px;
  color: var(--white);
  background: var(--sunburst);
}

.has-bottom-scoop {
  position: relative;
  overflow: hidden;
}

.has-bottom-scoop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34px;
  background: var(--white);
  border-radius: 30px 30px 0 0;
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

.footer-shell h2,
.footer-shell p {
  color: var(--white);
}

.footer-shell h2 {
  font-size: clamp(0.9rem, 1.5vw, 1.5rem);
}

.footer-shell hr {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: rgba(255, 255, 255, 0.44);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: 28px;
  align-items: center;
}

.footer-grid p + p {
  margin-top: 8px;
}

.footer-grid img {
  width: 150px;
  justify-self: end;
  padding: 8px;
  background: var(--white);
  border-radius: 5px;
}



.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@media (min-width: 821px) {
  .menu-toggle {
    display: none;
  }
}

@media (min-width: 721px) {
  .margin20 {
    width: calc(100% - 40px);
    margin: 20px auto 0;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
  }

  .hero.margin20 {
    border-radius: 30px;
  }

  .site-footer.margin20 {
    margin-bottom: 20px;
  }
}

@media (min-width: 821px) and (max-width: 1199px) {

  .hero-shell {
    min-height: 292px;
    padding: 28px 0 30px;
  }

  .eyebrow {
    font-size: clamp(1.15rem, 1.75vw, 1.65rem);
  }

  .hero h1 {
    font-size: clamp(1.15rem, 2.05vw, 2rem);
  }

  .hero-date {
    margin-top: 18px;
    padding: 15px 18px;
  }

  .hero-date h2 {
    font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  }

  .hero .hero-date p {
    font-size: 0.95rem;
  }

  .hero .hero-strapline,
  .hero .hero-copy {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero .hero-copy,
  .hero .button-row {
    margin-top: 22px;
  }
}

@media (max-width: 1180px) {
  .sponsor-grid {
    gap: 28px;
  }

  .in-partnership-with .sponsor-grid {
    gap: 14px;
  }

  .in-partnership-with .sponsor-grid a {
    margin: 14px;
  }

  .in-partnership-with .sponsor-grid img {
    height: 70px;
    max-height: 70px;
  }
}

@media (max-width: 980px) {
  .speaker-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .speaker-card:nth-child(5),
  .speaker-card:nth-child(6) {
    grid-column: auto;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 14px 20px;
  }

}

@media (max-width: 820px) {

  .in-partnership-with .sponsor-grid {
    gap: 10px;
  }

  .in-partnership-with .sponsor-grid a {
    margin: 8px;
  }

  .in-partnership-with .sponsor-grid img {
    height: 46px;
    max-height: 46px;
  }
  .nav-shell {
    width: calc(100% - 28px);
    min-height: 72px;
    align-items: center;
    flex-direction: row;
    padding: 12px 0;
  }

  .hero-shell,
  .section-shell,
  .footer-shell {
    width: min(100% - 28px, 1200px);
  }


  .brand img {
    width: 154px;
  }

  .menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    opacity: 1;
    visibility: visible;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    width: auto;
    padding: 14px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 10px 8px;
    font-size: 0.86rem;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sponsored-by:not(.in-partnership-with) .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 24px;
  }

  .sponsored-by:not(.in-partnership-with) .sponsor-grid a {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .hero-shell {
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .section h2 {
    text-align: center;
    font-size: 2rem;
  }

  .speakers {
    text-align: center;
  }

  .speaker-card img {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .hotel-card img {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .hotel-card {
    grid-template-columns: 1fr;
  }

  .hotel-card div {
    padding: 0 24px 28px;
  }


  .speaker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #ededed;
  }

  .hero-shell {
    min-height: 0;
    padding: 30px 0 36px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    z-index: auto;
    height: clamp(210px, 58vw, 340px);
    background: url("../images/hero-mobile.jpg") center / cover;
  }

  .section {
    padding: 30px 0;
  }

  .agenda-row {
    grid-template-columns: 82px 1fr;
    gap: 16px;
  }

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

  .speaker-grid {
    gap: 28px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .abstract .section-heading {
    align-items: center;
    text-align: center;
  }

  .map-panel {
    height: 330px;
    border-radius: 20px;
  }

  .footer-shell {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-grid img {
    justify-self: center;
  }
}


@media (max-width: 540px) {

  .in-partnership-with .sponsor-grid {
    gap: 6px;
  }

  .in-partnership-with .sponsor-grid a {
    margin: 4px;
  }

  .in-partnership-with .sponsor-grid img {
    height: 26px;
    max-height: 26px;
  }
  .nav-shell {
    width: calc(100% - 24px);
  }

  .site-nav {
    left: 12px;
    right: 12px;
  }

  .hero-shell,
  .section-shell,
  .footer-shell {
    width: min(100% - 24px, 1200px);
  }

  .hero-date {
    width: 100%;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .hero-copy,
  body {
    font-size: 0.95rem;
  }

  .button-row {
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    width: auto;
  }

  .speaker-bio-button {
    margin-left: auto;
    margin-right: auto;
  }

  .agenda {
    padding-bottom: 48px;
  }

  .agenda-list {
    margin-top: 18px;
  }

  .agenda-row {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .speaker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speaker-card img {
    width: 50%;
    max-width: 260px;
  }

  .hotel-card {
    border-radius: 20px;
  }

  .sponsored-by:not(.in-partnership-with) .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .has-bottom-scoop::after {
    height: 24px;
    border-radius: 22px 22px 0 0;
  }
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 10px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content p + p {
  margin-top: 6px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-button {
  cursor: pointer;
}

[data-cookie-reject] {
  color: var(--purple);
  background: var(--soft);
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .cookie-banner__actions {
    justify-content: center;
  }
}

.cookie-manage {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 119;
  padding: 8px 12px;
  color: var(--purple);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.cookie-manage[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .cookie-manage {
    left: 12px;
    bottom: 12px;
  }
}
