@font-face {
  font-family: "Sochifo Poppins";
  src: url("../fonts/PoppinsRegular.woff2") format("woff2"),
       url("../fonts/PoppinsRegular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sochifo Poppins";
  src: url("../fonts/PoppinsBold.woff2") format("woff2"),
       url("../fonts/PoppinsBold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #243884;
  --navy-dark: #21347d;
  --blue: #2d82c2;
  --sky: #39b1e5;
  --text: #1d1d1f;
  --white: #ffffff;
  --gradient-blue: linear-gradient(90deg, #39b1e5 0%, #3299d4 50%, #2d7fc0 100%);
  --body-font: "Sochifo Poppins", Poppins, Arial, sans-serif;
  --condensed-font: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.42;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.contact-strip {
  min-height: 25px;
  background: var(--navy);
  color: var(--white);
}

.contact-strip__inner {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: flex-end;
}

.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.contact-strip a:hover,
.contact-strip a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-strip i {
  display: inline-grid;
  width: 12px;
  height: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 7px;
}

.hero {
  position: relative;
  height: clamp(430px, 32.3vw, 510px);
  min-height: 430px;
  overflow: hidden;
  background: var(--white) url("../images/Web-Sochifo-19.png") center top / 100% 100% no-repeat;
}

.hero__inner {
  position: relative;
  width: min(91%, 1290px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  position: absolute;
  z-index: 3;
  top: 31px;
  left: 0;
  width: clamp(145px, 15vw, 215px);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: scale(1.025);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  color: var(--white);
  font-family: var(--condensed-font);
  font-size: clamp(14px, 1.25vw, 17px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero__title {
  position: absolute;
  top: 30.5%;
  right: 7.5%;
  width: min(53%, 650px);
}

.hero__title img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
}

.event-intro {
  position: relative;
  z-index: 2;
  padding: 40px 0 35px;
  background: var(--white);
}

.event-intro__grid {
  display: grid;
  min-height: 430px;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
}

.event-copy {
  padding: 14px 0 0 18px;
}

.event-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.event-heading__dot {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--navy);
}

.event-heading__kicker {
  margin: 0 0 -1px;
  color: #7ec3d2;
  font-family: var(--condensed-font);
  font-size: clamp(31px, 3vw, 41px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.event-heading h2 {
  max-width: 580px;
  margin: 0;
  color: #171313;
  font-family: var(--condensed-font);
  font-size: clamp(25px, 2.2vw, 31px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.event-copy__description {
  max-width: 565px;
  margin: 30px 0 34px 41px;
  color: #232323;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.35;
}

.event-details {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-left: 41px;
  color: var(--white);
}

.event-details__date,
.event-details__place {
  display: flex;
  min-height: 69px;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy);
  font-family: var(--condensed-font);
}

.event-details__date {
  width: 146px;
  flex: 0 0 146px;
  align-items: center;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
}

.event-details__date strong,
.event-details__date span {
  display: block;
  line-height: 1.05;
}

.event-details__date strong {
  font-size: 19px;
}

.event-details__date span {
  font-size: 22px;
  font-weight: 700;
}

.event-details__place {
  width: min(100%, 320px);
  padding: 10px 24px 9px;
  align-items: flex-start;
  flex-direction: column;
}

.event-details__place strong {
  font-size: 20px;
  line-height: 1.08;
}

.event-details__place span {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
}

.event-photos {
  position: relative;
  width: 100%;
  min-height: 430px;
}

.event-photos__main,
.event-photos__secondary {
  position: absolute;
  aspect-ratio: 1;
  height: auto;
}

.event-photos__main {
  top: 0;
  left: 0;
  width: min(79%, 385px);
}

.event-photos__secondary {
  right: 0;
  bottom: 0;
  width: min(52%, 250px);
}

.sponsors {
  position: relative;
  z-index: 3;
  padding: 8px 0 0;
}

.sponsors__panel {
  width: min(94%, 1360px);
  min-height: 402px;
  padding: 38px 58px 45px;
  margin-inline: auto;
  border-radius: 205px;
  background: var(--gradient-blue);
}

.sponsors__header {
  text-align: center;
}

.sponsors__header h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--condensed-font);
  font-size: clamp(34px, 3.2vw, 45px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.sponsors__header p {
  margin: 5px 0 28px;
  color: var(--white);
  font-family: var(--condensed-font);
  font-size: clamp(20px, 2vw, 27px);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 1.1;
}

.sponsors__grid {
  display: grid;
  width: min(100%, 1000px);
  margin-inline: auto;
  justify-items: center;
  grid-template-columns: repeat(8, 1fr);
  gap: 17px 15px;
}

.sponsors__grid span {
  width: clamp(75px, 7vw, 100px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
}

.highlights {
  position: relative;
  z-index: 1;
  min-height: 555px;
  padding: 225px 0 125px;
  margin-top: -62px;
  background: var(--white) url("../images/Web-Sochifo-18.png") center top / 100% 100% no-repeat;
}

.highlights__grid {
  display: grid;
  width: min(calc(100% - 40px), 1080px);
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-card {
  position: relative;
  display: flex;
  min-height: 145px;
  align-items: center;
  border-radius: 76px;
  background: var(--gradient-blue);
  color: var(--white);
}

.highlight-card__icon {
  position: absolute;
  top: -38px;
  right: 30px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
}

.highlight-card__icon--comments {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 38px;
}

.highlight-card__content {
  width: 100%;
  padding: 38px 26px 20px 31px;
}

.highlight-card h2 {
  margin: 0 0 2px;
  color: var(--white);
  font-family: var(--condensed-font);
  font-size: clamp(20px, 1.8vw, 26px);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 1;
}

.highlight-card p {
  margin: 0;
  color: var(--white);
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.3;
}

.site-footer {
  position: relative;
  z-index: 2;
  min-height: 245px;
  overflow: hidden;
  margin-top: -118px;
  color: var(--white);
}

.site-footer__wave {
  position: absolute;
  top: 14px;
  bottom: -35px;
  left: -10%;
  width: 120%;
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  background: var(--gradient-blue);
}

.site-footer__wave--front {
  top: 84px;
  bottom: -75px;
  left: -7%;
  width: 116%;
  border-radius: 50% 52% 0 0 / 24% 33% 0 0;
  background: #2e84c3;
  transform: rotate(-2.7deg);
  transform-origin: center top;
}

.site-footer__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 40px), 1100px);
  min-height: 245px;
  padding-top: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.footer-message {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer-message img {
  width: 91px;
  height: auto;
}

.footer-message p {
  margin: 0;
  font-family: var(--condensed-font);
  font-size: clamp(20px, 2vw, 27px);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 1.18;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.footer-socials > strong {
  font-family: var(--condensed-font);
  font-size: clamp(18px, 1.7vw, 23px);
  font-stretch: condensed;
}

.footer-socials__list {
  display: flex;
  gap: 9px;
}

.social-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: #2472b3;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

a.social-icon {
  transition: color 160ms ease, transform 160ms ease;
}

a.social-icon:hover,
a.social-icon:focus-visible {
  color: var(--navy);
  transform: translateY(-2px);
}

.social-icon--x {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.social-icon--tiktok {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hero__title {
    right: 4%;
    width: 56%;
  }

  .event-intro__grid {
    gap: 20px;
  }

  .event-copy {
    padding-left: 0;
  }

  .event-copy__description,
  .event-details {
    margin-left: 0;
  }

  .event-photos {
    min-height: 390px;
  }

  .sponsors__panel {
    min-height: 370px;
  }

  .sponsors__grid span {
    width: clamp(70px, 7.5vw, 88px);
  }

  .highlight-card__content {
    padding-right: 22px;
    padding-left: 26px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(calc(100% - 34px), 760px);
  }

  .hero {
    height: 520px;
    min-height: 520px;
    background-size: cover;
    background-position: center right;
  }

  .hero__inner {
    width: calc(100% - 34px);
  }

  .brand {
    top: 24px;
    width: 126px;
  }

  .menu-toggle {
    position: absolute;
    z-index: 7;
    top: 30px;
    right: 0;
    display: inline-flex;
    min-width: 84px;
    min-height: 42px;
    padding: 0 13px;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(34, 54, 132, 0.72);
    color: var(--white);
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .menu-toggle__bars,
  .menu-toggle__bars::before,
  .menu-toggle__bars::after,
  .menu-toggle__bars span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .menu-toggle__bars {
    position: relative;
    background: transparent;
  }

  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    position: absolute;
    left: 0;
    content: "";
    transition: transform 160ms ease, top 160ms ease;
  }

  .menu-toggle__bars::before {
    top: -6px;
  }

  .menu-toggle__bars::after {
    top: 6px;
  }

  .menu-toggle__bars span {
    transition: opacity 130ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
    opacity: 0;
  }

  .main-nav {
    position: fixed;
    z-index: 6;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    width: min(82vw, 340px);
    padding: 105px 34px 40px;
    place-items: start stretch;
    background: rgba(32, 52, 126, 0.98);
    box-shadow: -16px 0 40px rgba(16, 28, 77, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translateX(105%);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .main-nav a {
    display: block;
    padding: 17px 2px;
    font-size: 19px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero__title {
    top: 230px;
    right: 7%;
    width: 86%;
  }

  .event-intro {
    padding-top: 10px;
  }

  .event-intro__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .event-copy {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .event-heading h2,
  .event-copy__description {
    max-width: none;
  }

  .event-photos {
    width: min(100%, 570px);
    min-height: 490px;
    margin-inline: auto;
  }

  .event-photos__main {
    width: min(75%, 420px);
  }

  .event-photos__secondary {
    width: min(49%, 265px);
  }

  .sponsors__panel {
    min-height: 0;
    padding: 50px 56px 58px;
    border-radius: 110px;
  }

  .sponsors__header p {
    margin-bottom: 34px;
  }

  .sponsors__grid {
    width: min(100%, 480px);
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .sponsors__grid span {
    width: clamp(67px, 17vw, 94px);
  }

  .highlights {
    min-height: 810px;
    padding: 235px 0 145px;
    margin-top: -55px;
    background-size: auto 100%;
  }

  .highlights__grid {
    width: min(calc(100% - 60px), 470px);
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .highlight-card {
    min-height: 142px;
  }

  .highlight-card__content {
    padding-top: 37px;
  }

  .highlight-card h2 {
    font-size: 25px;
  }

  .highlight-card p {
    font-size: 13px;
  }

  .site-footer {
    min-height: 355px;
    margin-top: -92px;
  }

  .site-footer__wave {
    top: 24px;
    left: -30%;
    width: 160%;
  }

  .site-footer__wave--front {
    top: 112px;
    left: -24%;
    width: 154%;
  }

  .site-footer__content {
    min-height: 355px;
    padding-top: 124px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

  .footer-message {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .contact-strip__inner {
    justify-content: center;
  }

  .contact-strip a {
    font-size: 9px;
  }

  .hero {
    height: 400px;
    min-height: 400px;
  }

  .hero__inner {
    width: calc(100% - 28px);
  }

  .brand {
    top: 22px;
    width: 105px;
  }

  .menu-toggle {
    top: 27px;
  }

  .hero__title {
    top: 205px;
    right: 2%;
    width: 96%;
  }

  .event-heading {
    gap: 11px;
  }

  .event-heading__dot {
    width: 18px;
    height: 18px;
    margin-top: 6px;
  }

  .event-heading__kicker {
    font-size: 30px;
  }

  .event-heading h2 {
    font-size: 23px;
  }

  .event-copy__description {
    margin-top: 25px;
    margin-bottom: 27px;
    font-size: 14px;
  }

  .event-details {
    align-items: stretch;
    flex-direction: column;
  }

  .event-details__date,
  .event-details__place {
    width: 100%;
    min-height: 64px;
    flex-basis: auto;
  }

  .event-details__place {
    align-items: center;
    text-align: center;
  }

  .event-photos {
    min-height: 340px;
  }

  .event-photos__main {
    width: min(76%, 310px);
  }

  .event-photos__secondary {
    width: min(50%, 195px);
  }

  .sponsors {
    padding-top: 0;
  }

  .sponsors__panel {
    width: calc(100% - 20px);
    padding: 47px 30px 54px;
    border-radius: 60px;
  }

  .sponsors__header h2 {
    font-size: 34px;
  }

  .sponsors__header p {
    font-size: 19px;
    line-height: 1.2;
  }

  .sponsors__grid {
    width: min(100%, 260px);
    grid-template-columns: repeat(2, 1fr);
    gap: 19px 24px;
  }

  .sponsors__grid span {
    width: min(28vw, 92px);
  }

  .highlights {
    min-height: 795px;
    padding-top: 215px;
    padding-bottom: 130px;
  }

  .highlights__grid {
    width: calc(100% - 44px);
  }

  .highlight-card {
    min-height: 151px;
    border-radius: 64px;
  }

  .highlight-card__icon {
    right: 26px;
    width: 72px;
    height: 72px;
  }

  .highlight-card__content {
    padding: 37px 27px 22px;
  }

  .highlight-card h2 {
    font-size: 23px;
  }

  .highlight-card p {
    font-size: 12px;
  }

  .site-footer {
    min-height: 420px;
    margin-top: -86px;
  }

  .site-footer__content {
    min-height: 420px;
    padding-top: 137px;
    gap: 34px;
  }

  .footer-message {
    flex-direction: column;
    gap: 10px;
  }

  .footer-message img {
    width: 78px;
  }

  .footer-message p {
    font-size: 21px;
  }

  .footer-socials {
    flex-direction: column;
    gap: 10px;
  }

  .footer-socials__list {
    gap: 7px;
  }

  .social-icon {
    width: 31px;
    height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
