@font-face {
  font-family: "Lexend";
  src: url("assets/Lexend-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #4e2142;
  --pink: #c43581;
  --soft-pink: #fdf3f8;
  --muted-pink: #b985a1;
  --white: #fff;
  --max: 1300px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Lexend", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.hero {
  min-height: 625px;
  color: #fff;
  background: linear-gradient(180deg, #5d2b67 0%, rgba(93,43,103,.6) 26%, rgba(255,255,255,0) 58%), url("assets/resized_2560px.png") bottom center / cover no-repeat;
}
.hero__inner { position: relative; min-height: 625px; padding-top: 48px; }
.hero__copy { margin-left: auto; width: 100%; text-align: right; }
.hero__copy h1,
.hero__copy h2 { margin: 0 0 12px; font-size: 40px; line-height: 1.4; font-weight: 700; }
.hero__copy h2 sup,
.footer h2 sup { font-size: .55em; line-height: 0; vertical-align: super; }
.hero__copy p { margin: 0 0 4px; font-size: 23px; font-weight: 700; }

.info-card {
  position: absolute;
  z-index: 3;
  top: 347px;
  right: 0;
  width: 430px;
  min-height: 650px;
  padding: 60px 80px;
  color: var(--ink);
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}
.info-card__item { margin-bottom: 50px; }
.info-card__title { display: flex; align-items: center; gap: 15px; font-size: 30px; }
.info-card__title img { width: 31px; height: auto; object-fit: contain; }
.info-card__item:nth-child(2) .info-card__title img { width: 28px; }
.info-card__date { margin-top: 10px; font-size: 45px; line-height: 1.7; }
.info-card__item p { margin: 12px 0 0; font-size: 15px; font-weight: 600; line-height: 1.7; }
.president h3 { margin: 0 0 15px; font-size: 30px; }
.president__photo { width: 93px; height: 93px; margin-bottom: 8px; border-radius: 50%; }
.button {
  display: inline-flex;
  min-width: 145px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 17px 32px;
  color: #fff;
  background: var(--pink);
  border: 0;
  border-radius: 19px;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  transition: background-color .2s ease, transform .2s ease;
}
.button:not(:disabled):hover,
.button:not(:disabled):focus-visible { background: #a52a6b; transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; background: #aaa; box-shadow: none; }

.main { position: relative; overflow: hidden; padding-bottom: 90px; }
.main > .container { position: relative; z-index: 1; }
.decor {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.decor--wash { width: 1705px; height: 1705px; left: -1524px; top: -250px; background: #c43581; opacity: .1; }
.decor--left-ring { width: 223px; height: 223px; left: -74px; top: 1028px; border: 1px solid #c43581; }
.decor--left-disc { width: 394px; height: 394px; left: -278px; top: 1820px; background: #c43581; opacity: .5; }
.decor--left-large-ring { width: 816px; height: 816px; left: -609px; top: 2100px; border: 1px solid #c43581; opacity: .35; }
.decor--right-ring { width: 78px; height: 78px; right: 15px; top: 140px; border: 1px solid #c43581; opacity: .3; }
.decor--right-wash { width: 135px; height: 135px; right: 50px; top: 170px; background: #c43581; opacity: .1; }
.decor--right-disc { width: 223px; height: 223px; right: -150px; top: 1550px; background: #c43581; opacity: .5; }

.sponsors { display: flex; align-items: center; flex-wrap: wrap; }
.sponsors--top { width: 74%; min-height: 340px; padding-top: 55px; padding-bottom: 40px; flex-direction: column; align-items: flex-start; }
.sponsor-row { display: flex; align-items: center; flex-wrap: wrap; }
.sponsor-row--primary { gap: 32px; margin-bottom: 16px; }
.sponsor-row--secondary { gap: 25px; }
.sponsor-row--primary img:nth-child(1) { width: 90px; }
.sponsor-row--primary img:nth-child(2) { width: 182px; }
.sponsor-row--primary img:nth-child(3) { width: 120px; }
.sponsor-row--primary img:nth-child(4) { width: 84px; }
.sponsor-row--secondary img:nth-child(1) { width: 155px; }
.sponsor-row--secondary img:nth-child(2) { width: 125px; max-height: 95px; }
.sponsor-row--secondary img:nth-child(3) { width: 135px; max-height: 95px; object-fit: contain; }
.sponsor-row--secondary img:nth-child(4) { width: 65px; max-height: 82px; object-fit: contain; }

.content-layout { display: grid; grid-template-columns: minmax(0, 770px) 430px; gap: 100px; align-items: start; min-width: 0; }
.program,
.sidebar { min-width: 0; }
.program h2 { margin: 0 0 90px; font-size: 47px; line-height: 1.4; }
.program-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 20px; align-items: baseline; margin-bottom: 40px; }
.program-row > div { min-width: 0; }
.program-row time { padding-top: 0; font-size: 24px; font-weight: 400; line-height: 1.7; }
.program-row h3 { margin: 0 0 3px; font-size: 24px; line-height: 1.7; }
.block-row h3 { font-size: 33px; }
.program-row h4 { margin: 4px 0 2px; font-size: 33px; line-height: 1.3; font-weight: 400; }
.program-row p { margin: 0 0 2px; font-size: 15px; font-weight: 500; line-height: 1.7; }
.chairs { margin-bottom: 20px; color: rgba(78,33,66,.5); font-size: 15px; }
.talk { margin-bottom: 20px; font-size: 15px; line-height: 1.7; }
.talk strong,
.talk span { display: block; }
.talk span { margin-top: 3px; font-weight: 500; }
.block-row { margin-bottom: 40px; }
.simple-row { margin-bottom: 40px; }
.conclusion { margin-bottom: 40px; }

.sidebar { padding-top: 530px; }
.invitation { margin-bottom: 100px; text-align: center; }
.invitation__art { position: relative; display: block; width: 100%; max-width: 430px; container-type: inline-size; text-decoration: none; }
.invitation__art img { width: 100%; border-radius: 25px; box-shadow: 0 10px 20px rgba(0,0,0,.15); transition: box-shadow 250ms ease; }
.invitation__art:hover img,
.invitation__art:focus-visible img { box-shadow: 0 0 25px rgba(196,53,129,.51); }
.invitation__art span { position: absolute; z-index: 1; display: flex; align-items: center; overflow: hidden; white-space: nowrap; background: #fff; font-weight: 700; line-height: 1; }
.invite-date { left: 35%; top: 47.35%; width: 53%; height: 2.4%; font-size: 2.1cqw; }
.invite-email { left: 12.7%; bottom: 8.15%; width: 53%; height: 2%; font-size: 1.28cqw; }
.invite-domain { right: 4%; bottom: 6.25%; width: 31%; height: 2.5%; justify-content: flex-end; color: var(--pink); font-size: 2.35cqw; }
.invite-venue { left: 35%; top: 59.5%; width: 61%; height: 7.2%; align-items: flex-start !important; white-space: normal !important; text-align: left; font-size: 1.55cqw; line-height: 1.35 !important; }
.invitation__art--en .invite-date { top: 47.25%; }
.invitation a { display: inline-block; margin-top: 30px; color: var(--pink); font-size: 20px; font-weight: 600; text-underline-offset: 2px; transition: color 250ms ease; }
.invitation a:hover,
.invitation a:focus-visible { color: var(--ink); }
.guarantee { margin-top: 115px; }
.guarantee h3,
.secretariat h3 { margin: 0 0 20px; font-size: 27px; line-height: 1.4; }
.guarantee p { margin: 0 0 28px; font-size: 17px; font-weight: 500; }
.secretariat { margin-top: 95px; }
.cbt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; font-size: 15px; }
.cbt img { width: 82px; }
.secretariat p { margin-top: 24px; font-size: 17px; font-weight: 500; line-height: 1.6; }
.secretariat p a { text-decoration: none; }

.accreditation { padding-top: 34px; padding-bottom: 125px; border-top: 1px solid #777; }
.accreditation h3 { margin: 0 0 28px; font-size: 24px; font-weight: 400; }
.accreditation h4 { margin: 30px 0 12px; color: var(--pink); font-size: 17px; text-decoration: underline; }
.accreditation p { margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.button--bottom { margin-top: 23px; }

.footer { position: relative; overflow: hidden; min-height: 590px; padding: 85px 0 30px; background: var(--soft-pink); border-top: 5px solid var(--pink); }
.footer-ring { position: absolute; border: 1px solid #c43581; border-radius: 50%; opacity: .2; pointer-events: none; }
.footer-ring--large { width: 1705px; height: 1705px; left: -1400px; bottom: -600px; }
.footer-ring--small { width: 1017px; height: 1017px; left: -700px; bottom: 0; }
.footer__inner { position: relative; min-height: 470px; }
.footer h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.4; }
.footer h2 + h2 { margin-bottom: 24px; }
.footer p { margin: 0 0 2px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.sponsors--footer { width: 790px; gap: 22px 30px; margin-top: 40px; }
.sponsors--footer img:nth-child(1) { width: 90px; }
.sponsors--footer img:nth-child(2) { width: 182px; }
.sponsors--footer img:nth-child(3) { width: 120px; }
.sponsors--footer img:nth-child(4) { width: 84px; }
.sponsors--footer img:nth-child(5) { width: 220px; }
.sponsors--footer img:nth-child(6) { width: 170px; max-height: 90px; }
.sponsors--footer img:nth-child(7) { width: 135px; max-height: 90px; object-fit: contain; }
.sponsors--footer img:nth-child(8) { width: 52px; max-height: 70px; object-fit: contain; }
.credit { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.credit img { width: 86px; }

@media (max-width: 1279px) {
  .hero__copy { width: 90%; }
  .info-card { position: static; margin: 40px 0 100px auto; }
  .hero { min-height: 900px; }
  .hero__inner { min-height: 900px; }
  .sponsors--top { width: 100%; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 50px; }
  .sidebar { padding-top: 0; }
}

@media (max-width: 900px) {
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 30px; }
  .invitation { margin: 0; }
  .guarantee,
  .secretariat { margin: 0; }
  .footer { min-height: 680px; }
}

@media (max-width: 992px) {
  .decor,
  .footer-ring { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 20px); }
  .hero { min-height: 625px; background-position: top center; background-size: auto 625px; }
  .hero__inner { min-height: 625px; padding-top: 48px; }
  .hero__copy { width: 100%; text-align: left; }
  .hero__copy h1,
  .hero__copy h2 { margin-bottom: 17px; font-size: 28px; line-height: 1.4; }
  .hero__copy p { margin-bottom: 12px; font-size: 18px; line-height: 1.7; }
  .info-card { width: 100%; min-height: 0; margin-top: 112px; margin-bottom: 20px; padding: 40px; border-radius: 25px; }
  .info-card__title { font-size: 20px; }
  .info-card__date { font-size: 24px; }
  .info-card__item { margin-bottom: 50px; }
  .president h3 { font-size: 20px; }
  .main { padding-top: 0; padding-bottom: 70px; }
  .sponsors--top { min-height: 0; padding: 30px 0 70px; align-items: center; }
  .sponsor-row { justify-content: center; gap: 24px; }
  .sponsor-row--primary { margin-bottom: 16px; }
  .sponsor-row img:nth-child(n) { width: auto; max-width: 38%; max-height: 76px; }
  .sponsor-row--secondary img:nth-child(4) { width: 60px; }
  .program h2 { margin-bottom: 40px; font-size: 28px; }
  .program-row { grid-template-columns: 1fr; margin-bottom: 55px; }
  .program-row,
  .program-row > div,
  .program-row h3,
  .program-row h4,
  .program-row p,
  .chairs,
  .talk { width: 100%; max-width: 100%; min-width: 0; }
  .simple-row,
  .block-row,
  .conclusion { margin-bottom: 40px; }
  .program-row time { margin-bottom: 12px; font-size: 24px; }
  .program-row h3 { font-size: 24px; }
  .block-row h3 { font-size: 28px; }
  .break-row h3,
  .conclusion h3 { font-size: 20px; }
  .program-row h4 { font-size: 24px; }
  .program-row h4,
  .program-row p,
  .chairs,
  .talk { overflow-wrap: anywhere; }
  .talk { font-size: 15px; }
  .sidebar { display: block; }
  .invitation { margin-bottom: 70px; }
  .guarantee,
  .secretariat { margin: 70px 0 0; }
  .accreditation { padding-bottom: 80px; }
  .accreditation h3 { margin-bottom: 40px; font-size: 16px; }
  .footer { min-height: 760px; padding-top: 55px; }
  .footer h2 { font-size: 24px; text-align: center; }
  .footer p { font-size: 18px; text-align: center; }
  .sponsors--footer { width: 100%; justify-content: center; gap: 20px; }
  .sponsors--footer img:nth-child(n) { width: auto; max-width: 42%; max-height: 72px; }
  .sponsors--footer img:nth-child(8) { width: 52px; }
  .credit { position: static; justify-content: flex-end; margin-top: 55px; }
}

@media (max-width: 350px) {
  .hero__copy h1,
  .hero__copy h2 { font-size: 25px; }
}
