@font-face {
  font-family: "Univers Next";
  src: url("../fonts/UniversNextforHSBCW01-Lt.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Univers Next";
  src: url("../fonts/UniversNextforHSBCW01-Rg.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Univers Next";
  src: url("../fonts/UniversNextforHSBCW01-Md.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

:root {
  color: #080b0f;
  background: #fff;
  font-family: "Univers Next", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --navy: #061522;
  --pale-blue: #e9edf7;
  --orange: #bf4b00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  height: 66px;
  padding: 0 7.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 145px;
  height: auto;
}

.site-header__link {
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: 444px;
  display: flex;
  align-items: flex-start;
  background-color: #07508c;
  background-image: url("../img/hero.webp");
  background-position: center 53%;
  background-size: cover;
  color: #fff;
}

.hero__content {
  width: 100%;
  margin: 52px 0 0;
  padding-left: 12%;
}

.hero__eyebrow {
  margin: 0 0 28px;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.08;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 49px);
  font-weight: 300;
  line-height: 1.02;
}

.hero__t1 {
  width: 1.45em;
  min-width: 48px;
  max-width: 74px;
  height: auto;
  vertical-align: -0.16em;
}

.event-summary {
  min-height: 224px;
  padding: 23px max(4.3%, calc((100% - 1110px) / 2)) 0;
  background: var(--navy);
  color: #fff;
}

.event-details {
  max-width: 650px;
  min-height: 65px;
  margin: 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.event-details__item {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 21px;
  line-height: 1.12;
}

.event-details__item p {
  margin: 0;
}

.event-details__item strong {
  font-weight: 600;
}

.event-details__icon {
  width: 32px;
  height: 39px;
  object-fit: contain;
  flex: 0 0 auto;
}

.event-details__venue .event-details__icon {
  width: 31px;
  height: 38px;
}

.event-details__divider {
  width: 1px;
  height: 45px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, 0.85);
}

.dress-code {
  position: relative;
  z-index: 1;
  min-height: 164px;
  margin: 20px auto 0;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 38px;
  border-radius: 16px;
  background: #fff;
  color: #080b0f;
}

.dress-code__icon,
.section-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
}

.dress-code__label {
  margin: 1px 0 0;
  font-size: 21px;
}

.dress-code h2 {
  margin: 2px 0 7px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.15;
}

.dress-code__note {
  margin: 0;
  color: #707070;
  font-size: 16px;
}

.directions {
  max-width: 1110px;
  margin: 40px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  align-items: center;
  gap: 12px;
}

.directions__copy {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.directions__text h2,
.help-card h2 {
  margin: 4px 0 12px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.directions__text > p,
.help-card p {
  margin: 0 0 19px;
  font-size: 16px;
  line-height: 1.18;
}

.directions__photo {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border-radius: 30px;
}

.notice {
  min-height: 61px;
  margin-top: 15px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 17px;
  border-radius: 12px;
  background: #fbf4e8;
}

.notice__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.help-card {
  max-width: 1110px;
  min-height: 112px;
  margin: 23px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-radius: 17px;
  background: var(--pale-blue);
}

.help-card h2 {
  margin: 0 0 8px;
}

.help-card p {
  margin: 0;
}

.cta-wrap {
  padding: 18px 20px 46px;
  display: flex;
  justify-content: center;
}

.directions-link {
  width: min(550px, 100%);
  min-height: 70px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 40px;
  background: var(--navy);
  color: #fff;
  font-size: 21px;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.directions-link:hover,
.directions-link:focus-visible {
  background: #17334a;
}

.directions-link__icon {
  width: 29px;
  height: 36px;
}

.directions-link__arrow {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

@media (max-width: 760px) {
  .site-header {
    height: 60px;
    padding: 0 20px;
  }

  .brand__logo {
    width: 125px;
  }

  .site-header__link {
    font-size: 15px;
  }

  .hero {
    min-height: 390px;
    background-position: 43% center;
  }

  .hero__content {
    width: 100%;
    margin-top: 42px;
    padding: 0 24px;
  }

  .hero__eyebrow {
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .event-summary {
    min-height: auto;
    padding: 22px 20px 28px;
  }

  .event-details {
    justify-content: center;
    gap: 18px;
  }

  .event-details__item {
    gap: 12px;
    font-size: 15px;
  }

  .event-details__icon,
  .event-details__venue .event-details__icon {
    width: 25px;
    height: 31px;
  }

  .event-details__divider {
    height: 40px;
  }

  .dress-code {
    min-height: 0;
    margin-top: 22px;
    padding: 22px 18px;
    gap: 18px;
    border-radius: 14px;
  }

  .dress-code__icon,
  .section-icon {
    width: 58px;
    height: 58px;
  }

  .dress-code__label {
    font-size: 17px;
  }

  .dress-code h2 {
    font-size: 23px;
  }

  .dress-code__note {
    font-size: 14px;
    line-height: 1.3;
  }

  .directions {
    margin-top: 32px;
    padding: 0 22px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .directions__copy {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

  .directions__text h2,
  .help-card h2 {
    font-size: 23px;
  }

  .directions__text > p,
  .help-card p {
    font-size: 15px;
  }

  .directions__photo {
    aspect-ratio: 1.4;
    border-radius: 22px;
  }

  .notice {
    gap: 12px;
  }

  .notice p {
    font-size: 13px;
  }

  .help-card {
    min-height: 0;
    margin: 25px 20px 0;
    padding: 18px;
    gap: 18px;
  }

  .cta-wrap {
    padding: 20px 20px 32px;
  }

  .directions-link {
    min-height: 62px;
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 0 14px;
  }

  .site-header__link {
    font-size: 13px;
  }

  .hero {
    min-height: 350px;
  }

  .event-summary {
    padding-right: 14px;
    padding-left: 14px;
  }

  .event-details {
    gap: 10px;
  }

  .event-details__item {
    gap: 8px;
    font-size: 13px;
  }

  .dress-code {
    padding: 19px 14px;
    gap: 12px;
  }

  .dress-code__icon,
  .section-icon {
    width: 50px;
    height: 50px;
  }

  .directions__copy {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 13px;
  }

  .help-card {
    margin-right: 14px;
    margin-left: 14px;
    gap: 13px;
  }
}
