:root {
  --blue: #0a319d;
  --ink: #11192c;
  --gold: #d3a044;
  --paper: #f6f1e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #e8eff7;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/city-breakfast-background.png");
  background-position: center 52%;
  background-size: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 250, 252, .95) 0%, rgba(247, 250, 252, .73) 34%, rgba(247, 250, 252, .08) 62%, transparent 78%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 55%, rgba(0, 0, 0, .08));
}

.event {
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(46px, 7vh, 94px) clamp(32px, 6vw, 104px) 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event__copy {
  width: min(735px, 55vw);
}

.event__title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(76px, 7.2vw, 132px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .81;
  text-transform: uppercase;
}

.event__subtitle {
  margin: clamp(17px, 2.3vh, 30px) 0 0;
  color: #111827;
  font-size: clamp(32px, 3.25vw, 59px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}

.ornament {
  position: relative;
  width: min(550px, 100%);
  height: 20px;
  margin: clamp(17px, 2.2vh, 29px) 0 clamp(13px, 1.8vh, 23px);
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 9px;
  width: calc(50% - 14px);
  height: 2px;
  background: var(--gold);
}

.ornament::before { left: 0; }
.ornament::after { right: 0; }

.ornament span {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.event__description {
  margin: 0;
  max-width: 720px;
  font-size: clamp(19px, 1.58vw, 29px);
  font-weight: 400;
  line-height: 1.25;
}

.event__details {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 36px);
  margin-top: clamp(19px, 2.3vh, 31px);
}

.detail {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #10182c;
  font-size: clamp(22px, 2vw, 35px);
  font-weight: 700;
  white-space: nowrap;
}

.detail__icon {
  width: clamp(43px, 4vw, 61px);
  height: auto;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail__icon:not(.detail__icon--clock) path:last-child {
  stroke-width: 3.8;
}

.details-divider {
  width: 2px;
  height: 53px;
  background: var(--gold);
}

.register-button {
  width: fit-content;
  margin-top: clamp(23px, 3vh, 39px);
  padding: 17px 24px 17px 28px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 30px rgba(10, 49, 157, .2);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.register-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.register-button:hover {
  background: #06277f;
  box-shadow: 0 14px 34px rgba(10, 49, 157, .28);
  transform: translateY(-2px);
}

.register-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.about {
  position: relative;
  z-index: 2;
  margin-top: calc(620px - 100svh);
  padding: clamp(54px, 6vw, 88px) clamp(24px, 6vw, 96px) clamp(76px, 8vw, 118px);
  overflow: hidden;
  background: #f6f1e8;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -18px 50px rgba(22, 32, 53, .12);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(180px, 45vw);
  height: 4px;
  background: var(--gold);
  transform: translateX(-50%);
}

.about__inner {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.about__header {
  margin-bottom: clamp(34px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about__brand {
  flex: 0 0 auto;
  padding: 4px 10px;
  line-height: 0;
  background: var(--blue);
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(10, 49, 157, .18);
}

.about__brand img {
  width: 145px;
  height: auto;
}

.about__eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.about h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.about__story {
  max-width: 770px;
}

.about__story p,
.about__invitation p {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.55;
}

.about__story p + p {
  margin-top: 28px;
}

.about__lead {
  font-size: clamp(22px, 1.9vw, 29px) !important;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.35 !important;
}

.solutions {
  position: relative;
  padding: clamp(30px, 3vw, 44px);
  color: #fff;
  background: var(--blue);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(10, 49, 157, .18);
}

.solutions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 14px 0 0;
}

.solutions h3 {
  margin: 0 0 25px;
  font-size: clamp(24px, 2vw, 31px);
  letter-spacing: -.025em;
}

.solutions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.solutions li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid rgba(255, 255, 255, .17);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.35;
}

.solutions li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.about__invitation {
  margin-top: clamp(50px, 6vw, 78px);
  padding-top: clamp(34px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  border-top: 1px solid rgba(17, 25, 44, .2);
}

.about__invitation p {
  max-width: 930px;
}

.register-button--light {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .hero {
    min-height: max(100svh, 780px);
    background-position: center top;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(244, 249, 253, .69) 0%, rgba(245, 249, 252, .53) 33%, rgba(255, 255, 255, .02) 55%, rgba(0, 0, 0, .04) 100%);
  }

  .event {
    min-height: max(100svh, 780px);
    padding: 54px clamp(23px, 8.8vw, 64px) 26px;
  }

  .event__copy {
    width: 100%;
  }

  .event__title {
    font-size: clamp(49px, 13vw, 92px);
    line-height: .88;
  }

  .event__subtitle {
    margin-top: 13px;
    font-size: clamp(23px, 6.2vw, 42px);
  }

  .ornament {
    width: 100%;
    margin: 15px 0 12px;
  }

  .event__description {
    max-width: 92%;
    font-size: clamp(15px, 4vw, 22px);
    line-height: 1.24;
  }

  .desktop-break {
    display: none;
  }

  .event__details {
    gap: clamp(13px, 4vw, 26px);
    margin-top: 17px;
  }

  .detail {
    gap: 8px;
    font-size: clamp(16px, 4.5vw, 27px);
  }

  .detail__icon {
    width: clamp(34px, 9.4vw, 51px);
  }

  .details-divider {
    height: 43px;
  }

  .register-button {
    margin-top: 20px;
    padding: 14px 18px 14px 20px;
    font-size: 16px;
  }

  .about {
    margin-top: calc(516px - max(100svh, 780px));
    padding: 40px 22px 72px;
    border-radius: 20px 20px 0 0;
  }

  .about__header {
    position: relative;
    margin-bottom: 30px;
    min-height: 64px;
    padding-right: 116px;
    display: block;
  }

  .about__inner,
  .about__grid,
  .about__story,
  .about__invitation {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .about__brand {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 7px;
  }

  .about__brand img {
    width: 104px;
  }

  .about__eyebrow {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: .13em;
  }

  .about h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about__story p,
  .about__invitation p {
    font-size: 17px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .about__lead {
    font-size: 22px !important;
  }

  .solutions {
    padding: 30px 25px;
    box-shadow: 0 14px 34px rgba(10, 49, 157, .18);
  }

  .about__invitation {
    margin-top: 66px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .register-button--light {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .event {
    padding-left: 20px;
    padding-right: 20px;
  }

  .event__details {
    gap: 10px;
  }

  .detail {
    font-size: 17px;
  }

  .detail__icon {
    width: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-button {
    transition: none;
  }
}
