@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&family=Roboto+Slab:wght@500;600;700&display=swap");

:root {
  --navy: #10213f;
  --blue: #1e4f96;
  --orange: #ef5b3c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #172238;
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* Full-screen first view */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 18px 0 122px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #173c5d;
}

.hero__background {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    url("assets/wuhan-night.jpg")
    center 58% / cover no-repeat;
  transform: scale(1.015);
}

.hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 41, 62, .30), rgba(31, 35, 49, .22) 50%, rgba(93, 37, 26, .58)),
    linear-gradient(90deg, rgba(25, 59, 79, .18), rgba(55, 27, 38, .04) 55%, rgba(78, 33, 24, .17));
}

/* Compact ICEMS-style floating navigation */
.header {
  position: relative;
  z-index: 20;
  width: min(1080px, calc(100% - 70px));
  min-height: 100px;
  margin: 0 auto;
  padding: 13px 27px 13px 18px;
  display: flex;
  align-items: center;
  gap: 31px;
  color: #27282d;
  background: rgba(248, 250, 252, .88);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  box-shadow: 0 15px 38px rgba(11, 27, 46, .17);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 218px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand__mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__symbol {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  color: #214f9d;
}

.brand__symbol svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand__orbit {
  fill: none;
  stroke: #214f9d;
  stroke-width: 4;
  stroke-linecap: round;
}

.brand__orbit--bottom {
  stroke-dasharray: 7 8;
}

.brand__bolt {
  fill: #ef5b3c;
}

.brand__symbol circle {
  fill: #214f9d;
}

.brand__text > span {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
  line-height: 1;
}

.brand__text b,
.brand__text em {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.8px;
}

.brand__text b {
  color: #194c9a;
}

.brand__text em {
  color: #ef5b3c;
}

.brand__text small {
  display: block;
  margin-top: 6px;
  color: #1d4e8c;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .55px;
}

/* ICEMS-like uppercase condensed navigation */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav__item {
  position: relative;
}

.nav__item > button {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  outline: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .35px;
}

.nav__item > button span {
  transform: translateY(-1px);
  font-family: Arial, sans-serif;
  font-size: 15px;
  transition: transform .2s ease;
}

.nav__item:hover > button span,
.nav__item:focus-within > button span,
.nav__item.is-open > button span {
  transform: translateY(-1px) rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% - 7px);
  left: -18px;
  min-width: 210px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 45px rgba(12, 31, 52, .18);
  transition: .2s ease;
}

.dropdown--right {
  right: -18px;
  left: auto;
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown,
.nav__item.is-open .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 13px;
  border-radius: 8px;
  color: #24344a;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.dropdown a:hover {
  color: #fff;
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 43px;
  height: 43px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.language-toggle {
  flex: 0 0 auto;
  min-width: 49px;
  padding: 8px 9px;
  border: 1px solid rgba(25, 76, 154, .32);
  border-radius: 8px;
  color: #194c9a;
  background: rgba(255, 255, 255, .72);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.language-toggle:hover {
  color: #fff;
  background: #194c9a;
  border-color: #194c9a;
}

/* Keep secondary-page header actions aligned with the homepage. */
.site-page-chrome .header {
  width: min(1500px, calc(100% - 64px));
  gap: 30px;
}

.site-page-chrome .nav {
  gap: clamp(10px, 1.15vw, 20px);
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.site-page-chrome .nav__submit {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ff5c41;
  border-radius: 7px;
  color: #fff;
  background: #ff5c41;
  box-shadow: 0 7px 16px rgba(221, 67, 44, .2);
  font: 700 13px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: .015em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-page-chrome .nav__submit:hover {
  color: #fff;
  border-color: #df452f;
  background: #df452f;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .site-page-chrome .header {
    width: calc(100% - 36px);
  }

  .nav-actions {
    width: 100%;
  }

  .site-page-chrome .nav__submit {
    flex: 1;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 14px;
  }
}

@media (max-width: 650px) {
  .site-page-chrome .header {
    width: calc(100% - 22px);
  }
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: #21304a;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(970px, calc(100% - 36px));
  margin: clamp(52px, 7vh, 78px) auto 0;
  text-align: center;
}

/* Conference name: compact Montserrat, matching reference hierarchy */
.conference-name {
  text-shadow: 0 3px 15px rgba(0, 0, 0, .24);
}

.conference-name p {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.25px;
}

/* Main title: tall, narrow, bold */
h1 {
  margin: 17px 0 0;
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-size: clamp(105px, 10.7vw, 156px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -1.8px;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .28);
}

.event-info {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 600;
}

.event-info span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.event-info svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-info i {
  width: 1px;
  height: 21px;
  background: rgba(255, 255, 255, .72);
}

.countdown {
  width: min(760px, 100%);
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.countdown__box {
  min-height: 162px;
  padding: 24px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .94);
  border-radius: 18px;
  background: rgba(50, 32, 29, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(5px);
}

/* Slab numerals like the ICEMS countdown */
.countdown__box strong {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(47px, 4.25vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.5px;
}

.countdown__box span {
  margin-top: 17px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

/* White floating date panel inside the hero */
.important-dates {
  position: absolute;
  z-index: 12;
  right: 50%;
  bottom: 24px;
  width: min(1120px, calc(100% - 70px));
  min-height: 82px;
  padding: 14px 18px 14px 22px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr auto;
  align-items: center;
  color: #17304f;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(8, 25, 48, .22);
  backdrop-filter: blur(16px);
  transform: translateX(50%);
}

.important-dates__lead {
  min-width: 0;
  padding-right: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.important-dates__icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ef5b3c, #f28b4f);
  border-radius: 12px;
}

.important-dates__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.important-dates small {
  display: block;
  margin-bottom: 5px;
  color: #758399;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.important-dates__lead b {
  display: block;
  overflow: hidden;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.important-dates__item {
  min-width: 0;
  padding: 5px 25px;
  border-left: 1px solid rgba(23, 48, 79, .13);
}

.important-dates__item strong {
  display: block;
  overflow: hidden;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.important-dates__link {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 11px;
  color: #fff;
  background: var(--blue);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .55px;
  transition: transform .2s ease, background .2s ease;
}

.important-dates__link:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.important-dates__link span {
  font-size: 18px;
}

.page-preview {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 95px 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--orange);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.page-preview h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.page-preview > p {
  margin: 28px 0 0;
  color: #667389;
  font-size: 16px;
  line-height: 1.9;
}

@media (max-width: 1120px) {
  .header {
    width: calc(100% - 36px);
    min-height: 92px;
  }

  .brand {
    flex-basis: 190px;
  }

  .brand__symbol {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand__text b,
  .brand__text em {
    font-size: 21px;
  }

  .nav {
    gap: 8px;
  }

  .nav__item > button {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 138px;
  }

  .header {
    padding: 12px 16px;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 50px rgba(10, 25, 45, .2);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__item > button {
    width: 100%;
    padding: 12px 10px;
    justify-content: space-between;
    font-size: 16px;
  }

  .dropdown,
  .dropdown--right {
    position: static;
    min-width: 0;
    padding: 0 7px 7px;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .nav__item.is-open .dropdown {
    display: block;
  }

  .hero__content {
    margin-top: 70px;
  }

  .countdown__box {
    min-height: 140px;
  }
}

@media (max-width: 780px) and (min-width: 651px) {
  .hero {
    padding-bottom: 205px;
  }

  .important-dates {
    width: calc(100% - 36px);
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
  }

  .important-dates__lead {
    grid-column: 1 / -1;
  }

  .important-dates__item:nth-of-type(2) {
    border-left: 0;
  }

  .important-dates__link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: 1000px;
    padding: 11px 0 285px;
  }

  .header {
    width: calc(100% - 22px);
    margin: 0 auto;
    border-radius: 14px;
  }

  .brand__symbol {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand__text b,
  .brand__text em {
    font-size: 20px;
  }

  .brand__text small {
    font-size: 9px;
  }

  .hero__content {
    margin-top: 64px;
  }

  .conference-name p {
    font-size: 17px;
  }

  h1 {
    margin-top: 23px;
    font-size: 88px;
    letter-spacing: -.7px;
  }

  .event-info {
    margin-top: 28px;
    flex-direction: column;
    gap: 10px;
  }

  .event-info i {
    display: none;
  }

  .countdown {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 29px;
  }

  .countdown__box {
    min-height: 116px;
    padding: 17px 8px 13px;
    border-radius: 14px;
  }

  .countdown__box strong {
    font-size: 41px;
  }

  .countdown__box span {
    margin-top: 9px;
    font-size: 13px;
  }

  .important-dates {
    bottom: 18px;
    width: calc(100% - 22px);
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .important-dates__lead {
    padding-right: 0;
  }

  .important-dates__lead b,
  .important-dates__item strong {
    white-space: normal;
  }

  .important-dates__item {
    padding: 12px 0 0;
    border-top: 1px solid rgba(23, 48, 79, .13);
    border-left: 0;
  }

  .important-dates__link {
    width: 100%;
  }

  .page-preview {
    padding: 65px 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
