:root {
  color-scheme: dark;
  font-family: "Manrope Variable", system-ui, sans-serif;
  color: #f7f8f4;
  background: #10232b;
  scroll-behavior: smooth;
}

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

body, h1, h2, p, dl, dd {
  margin: 0;
}

input, button {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #ffb77a;
  outline-offset: 4px;
}

.event {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(20px, 2.18vw, 42px) 0 clamp(64px, 8vw, 154px);
}
.event::before, .event::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: url("./sparks.webp") center/100% 100% no-repeat;
}
.event::before {
  top: 1%;
  right: -13%;
  width: 28%;
  height: min(72vw, 1380px);
  transform: rotate(16deg);
  opacity: 0.65;
}
.event::after {
  top: min(42vw, 805px);
  left: 20%;
  width: 54%;
  height: min(72vw, 1380px);
  transform: rotate(-12deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  width: min(83.333%, 1600px);
  aspect-ratio: 1.74;
  margin-inline: auto;
  border-radius: clamp(20px, 2.1vw, 40px);
  background: #142830;
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url("./forest.webp") center bottom/cover no-repeat;
  mask-image: linear-gradient(transparent 9%, rgba(0, 0, 0, 0.3333333333) 62%, rgba(0, 0, 0, 0.6));
}
.hero__illustration {
  position: absolute;
  z-index: -1;
  top: -7%;
  left: -10%;
  width: 115%;
  height: auto;
  pointer-events: none;
}
.hero__content {
  position: absolute;
  inset: 4.5% 9.35% 8.65% auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 37.5%;
  text-align: center;
}
.hero__logo {
  width: 36%;
  height: auto;
}
.hero__title {
  margin-top: 5.55cqw;
  font-weight: 300;
  line-height: 1.08;
  text-transform: uppercase;
  transform: scaleX(1.22);
}
.hero__title span {
  display: block;
  font-size: 3.14cqw;
  letter-spacing: 0.012em;
}
.hero__title strong {
  display: block;
  font-size: 5.28cqw;
  font-weight: inherit;
  letter-spacing: -0.035em;
}
.hero__route {
  margin-top: 1.6cqw;
  transform: scaleX(1.15);
  color: #ef792e;
  font-size: 2.25cqw;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}
.hero__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  margin-block: auto 3.75cqw;
}
.hero__details dt {
  color: #a0b4b5;
  font-size: clamp(10px, 1.05cqw, 16px);
  text-transform: uppercase;
}
.hero__details dd {
  margin-top: 3px;
  font-size: clamp(12px, 1.5cqw, 24px);
}

.event-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(44px, 5.05cqw, 80px);
  padding: 8px 12px;
  border: 0;
  border-radius: 100vw;
  background: linear-gradient(#e8833e, #dc6b34 55%, #e87e59);
  box-shadow: inset 0 0 26px rgba(255, 216, 177, 0.5019607843);
  color: #fff;
  cursor: pointer;
  font-size: clamp(14px, 1.12cqw, 18px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.event-button:hover:not(:disabled) {
  filter: brightness(1.12);
}
.event-button:active:not(:disabled) {
  transform: translateY(1px);
}
.event-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.ticket {
  --cut: clamp(16px, 2.1vw, 40px);
  --seam: 61.25%;
  --hole: #0000 calc(var(--cut) - 1px), #000 var(--cut);
  position: relative;
  display: grid;
  container-type: inline-size;
  grid-template-columns: var(--seam) 1fr;
  width: min(72.8%, 1400px);
  min-height: min(36vw, 690px);
  margin: clamp(56px, 7.8vw, 150px) auto 0;
  background: #13272e;
  scroll-margin-top: 24px;
  mask-image: radial-gradient(circle at 0 0, var(--hole)), radial-gradient(circle at 100% 0, var(--hole)), radial-gradient(circle at 0 100%, var(--hole)), radial-gradient(circle at 100% 100%, var(--hole)), radial-gradient(circle at var(--seam) 0, var(--hole)), radial-gradient(circle at var(--seam) 100%, var(--hole));
  mask-composite: intersect;
}
.ticket::after {
  position: absolute;
  inset: calc(var(--cut) * 1.45) auto calc(var(--cut) * 1.45) var(--seam);
  width: 1px;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(rgba(153, 178, 182, 0.2) 0 63%, transparent 63% 100%) 0 0/100% clamp(26px, 3.05vw, 60px);
}
.ticket__intro {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 32px 24px;
  text-align: center;
}
.ticket__intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url("./snow.webp") center/cover no-repeat;
  opacity: 0.17;
}
.ticket__intro h2 {
  font-size: clamp(30px, 4.45cqw, 64px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.99;
  transform: scaleX(1.2);
}
.ticket__intro p {
  max-width: 25em;
  margin-top: clamp(16px, 2cqw, 30px);
  font-size: clamp(12px, 1.22cqw, 18px);
  line-height: 1.42;
  text-wrap: pretty;
}
.ticket > .wpcf7 {
  display: flex;
  min-width: 0;
}
.ticket__form {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 4.55cqw 4.25cqw 5.9cqw 5.2cqw;
}
.ticket__form input:not([type=submit], [type=checkbox]):focus {
  outline: none;
}
.ticket__form.wpcf7-form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.ticket__form.wpcf7-form.sent > .wpcf7-response-output {
  display: grid;
  flex: 1;
  place-items: center;
  margin: 0;
  padding: 16px 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-align: center;
  text-wrap: balance;
}
.ticket__form.wpcf7-form.sent > .ticket__action {
  order: 1;
  margin-top: 0;
  padding-top: 0;
}
.ticket__form .wpcf7-not-valid-tip {
  color: #ffac96;
  font-size: 0.75rem;
}
.ticket__form .wpcf7-list-item {
  margin: 0;
}
.ticket__fields {
  display: grid;
  gap: clamp(12px, 2.45cqw, 34px);
}
.ticket__field {
  display: grid;
  gap: 4px;
  font-size: clamp(11px, 1cqw, 15px);
}
.ticket__field input {
  min-width: 0;
  width: 100%;
  padding: 3px 0 clamp(9px, 1cqw, 17px);
  border: 0;
  border-bottom: 1px solid rgba(154, 183, 186, 0.1607843137);
  border-radius: 0;
  background: transparent;
  color: #f7f8f4;
  font-size: clamp(13px, 1.25cqw, 18px);
}
.ticket__field input::placeholder {
  color: #92a8ad;
}
.ticket__field input[aria-invalid=true] {
  border-bottom-color: #ffac96;
}
.ticket__error {
  color: #ffac96;
  font-size: 0.75rem;
  line-height: 1.4;
}
.ticket__error:empty {
  display: none;
}
.ticket__consent {
  margin-bottom: 8px;
  font-size: clamp(11px, 0.95cqw, 14px);
  line-height: 20px;
}
.ticket__consent label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  cursor: pointer;
}
.ticket__consent input[type=checkbox] {
  appearance: none;
  position: relative;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border: 1px solid #ef792e;
  border-radius: 2px;
  background: #ef792e;
  cursor: pointer;
}
.ticket__consent input[type=checkbox]:checked::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 8px;
  border: solid #10232b;
  border-width: 0 2px 2px 0;
  content: "";
  transform: translate(-50%, -60%) rotate(45deg);
}
@media (forced-colors: active) {
  .ticket__consent input[type=checkbox] {
    appearance: auto;
  }
  .ticket__consent input[type=checkbox]:checked::after {
    content: none;
  }
}
.ticket__consent a {
  text-underline-offset: 0.2em;
}
.ticket__action {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: clamp(28px, 4.65cqw, 68px);
}
.ticket__action .wpcf7-spinner {
  position: absolute;
  right: 8px;
  bottom: 10px;
  margin: 0;
}
.ticket .event-button {
  min-height: clamp(44px, 5.8cqw, 80px);
}

@media (max-width: 820px) {
  .hero {
    width: calc(100% - 32px);
    aspect-ratio: auto;
  }
  .hero__illustration {
    top: -1%;
    left: -15%;
    width: 170%;
  }
  .hero__content {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 128cqw;
    padding: 20px 5% 24px;
    background: linear-gradient(transparent 30%, rgba(20, 40, 48, 0.9098039216) 61%, transparent);
  }
  .hero__logo {
    width: clamp(104px, 24cqw, 160px);
    margin-bottom: 44cqw;
  }
  .hero__title {
    margin-top: 0;
    transform: scaleX(1.09);
  }
  .hero__title span {
    font-size: clamp(22px, 5.9cqw, 42px);
  }
  .hero__title strong {
    font-size: clamp(38px, 10cqw, 68px);
  }
  .hero__route {
    margin-top: 12px;
    font-size: clamp(17px, 4.5cqw, 28px);
  }
  .hero__details {
    margin-block: 24px 18px;
  }
  .hero__details dd {
    font-size: clamp(12px, 3.35cqw, 18px);
  }
  .ticket {
    --seam: 0px;
    --intro-height: 235px;
    grid-template-columns: 1fr;
    grid-template-rows: var(--intro-height) auto;
    width: min(100% - 32px, 640px);
    mask-image: radial-gradient(circle at 0 0, var(--hole)), radial-gradient(circle at 100% 0, var(--hole)), radial-gradient(circle at 0 100%, var(--hole)), radial-gradient(circle at 100% 100%, var(--hole)), radial-gradient(circle at 0 var(--intro-height), var(--hole)), radial-gradient(circle at 100% var(--intro-height), var(--hole));
  }
  .ticket::after {
    inset: var(--intro-height) calc(var(--cut) * 1.5) auto;
    height: 1px;
    width: auto;
    background: repeating-linear-gradient(90deg, rgba(153, 178, 182, 0.2666666667) 0 16px, transparent 16px 24px);
  }
  .ticket__intro h2 {
    font-size: clamp(34px, 10cqw, 54px);
  }
  .ticket__intro p {
    font-size: 14px;
  }
  .ticket__form {
    padding: 30px 24px;
  }
  .ticket__fields {
    gap: 16px;
  }
  .ticket__field, .ticket__consent {
    font-size: 12px;
  }
  .ticket__field input {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .event-button {
    transition: none;
  }
}
.event-details {
  --section-gap: clamp(64px, 7.6vw, 146px);
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--section-gap);
  width: min(72.8%, 1400px);
  margin: var(--section-gap) auto 0;
}
.event-details::before {
  position: absolute;
  z-index: -1;
  inset-block: -14% -12%;
  left: 50%;
  width: 100vw;
  translate: -50%;
  pointer-events: none;
  content: "";
  background: url("./star.webp") right -4% top 7%/clamp(86px, 13vw, 250px) no-repeat, url("./star.webp") left -5% bottom 21%/clamp(86px, 13vw, 250px) no-repeat, url("./sparks.webp") left bottom/65% 75% no-repeat, url("./sparks.webp") right 3% top 25%/45% 86% no-repeat;
  opacity: 0.8;
}
.event-details h2 {
  font-size: clamp(28px, 3.15vw, 60px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.program {
  --marker-size: clamp(48px, 6vw, 113px);
  text-align: center;
}
.program h2 {
  transform: scaleX(1.14);
}
.program__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: clamp(24px, 3.1vw, 60px) 0 0;
  padding: 0;
  list-style: none;
}
.program__timeline::before {
  position: absolute;
  inset: calc(1lh + var(--marker-size) / 2) 0 auto;
  height: 1px;
  background: rgba(164, 185, 186, 0.1411764706);
  content: "";
  font-size: clamp(16px, 1.85vw, 36px);
  line-height: 1.15;
}
.program__timeline li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 0 4px;
}
.program__timeline time {
  font-size: clamp(16px, 1.85vw, 36px);
  font-weight: 300;
  line-height: 1.15;
}
.program__timeline img {
  display: block;
  width: var(--marker-size);
  height: var(--marker-size);
}
.program__timeline span {
  max-width: 15ch;
  margin-top: calc(var(--marker-size) * -0.13);
  font-size: clamp(12px, 1.1vw, 21px);
  line-height: 1.2;
  text-wrap: balance;
}

@media (821px <= width < 962px) {
  .venue {
    margin-inline: calc((100% - 700px) / 2);
  }
}
.venue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(16px, 2.4vw, 46px);
  row-gap: 16px;
}
.venue__guide {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 1.2vw, 24px);
  border-radius: clamp(18px, 2.1vw, 40px);
  background: #283438;
}
.venue__guide h2 {
  color: #ed822c;
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 800;
}
.venue__address {
  margin-top: 4px;
  font-size: clamp(0.875rem, 1.5vw, 1.5rem);
  line-height: 1.16;
}
.venue__routes {
  display: grid;
  gap: clamp(8px, 1vw, 16px);
  margin-top: clamp(8px, 1.2vw, 24px);
}
.venue__directions {
  --icon-size: clamp(28px, 3vw, 48px);
  position: relative;
  padding-inline-start: calc(var(--icon-size) + clamp(8px, 1vw, 16px));
  font-size: clamp(0.875rem, 1.35vw, 1.25rem);
  line-height: 1.18;
}
.venue__directions dt {
  color: var(--route-color);
  font-size: clamp(1rem, 1.65vw, 1.875rem);
  font-weight: 800;
}
.venue__directions--metro {
  --route-color: #f16c6c;
}
.venue__directions--taxi {
  --route-color: #74be86;
}
.venue__icon {
  position: absolute;
  inset: 4px auto auto 0;
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  padding: calc(var(--icon-size) * 0.12);
  border-radius: 50%;
  background: var(--route-color);
  color: #fff;
}
.venue__route-label {
  margin-top: 2px;
  color: var(--route-color);
  font-size: clamp(0.75rem, 1.15vw, 1.125rem);
}
.venue__password {
  font-size: clamp(13px, 1.2vw, 23px);
}
.venue__password strong {
  display: block;
  font-size: clamp(17px, 1.9vw, 36px);
  font-weight: 750;
}
.venue__map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(18px, 2.1vw, 40px);
}

.event-invitation {
  text-align: center;
}
.event-invitation h2 {
  font-size: clamp(26px, 2.8vw, 54px);
}
@media (min-width: 821px) {
  .event-invitation h2 {
    transform: scaleX(1.12);
  }
}
.event-invitation p {
  margin-block: 12px 18px;
  color: #b2c3c3;
  font-size: clamp(12px, 0.88vw, 17px);
}
.event-invitation .event-button {
  width: min(100%, clamp(270px, 31vw, 595px));
  margin-inline: auto;
}

.event-invitation .event-button {
  min-height: clamp(44px, 4.2vw, 80px);
  font-size: clamp(14px, 1.02vw, 18px);
}

@media (max-width: 820px) {
  .event-details {
    width: min(100% - 32px, 640px);
  }
  .program {
    --marker-size: 50px;
  }
  .program__timeline {
    grid-template-columns: 1fr;
    gap: 10px;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }
  .program__timeline::before {
    inset: calc(var(--marker-size) / 2) auto calc(var(--marker-size) / 2) calc(3.2em + var(--marker-size) / 2);
    width: 1px;
    height: auto;
  }
  .program__timeline li {
    grid-template-columns: 3.2em var(--marker-size) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    padding: 0;
  }
  .program__timeline span {
    max-width: none;
    margin-top: 0;
    font-size: 14px;
    text-wrap: pretty;
  }
  .venue {
    grid-template-columns: 1fr;
  }
  .venue__guide {
    padding: 16px;
  }
}
.event {
  padding-bottom: clamp(36px, 5.2vw, 100px);
}

.guest-info,
.event-footer {
  width: min(72.8%, 1400px);
  margin-inline: auto;
}

.guest-info {
  position: relative;
  isolation: isolate;
  margin-top: clamp(40px, 4.15vw, 80px);
}
.guest-info::before {
  position: absolute;
  z-index: -1;
  top: -28%;
  bottom: -75%;
  left: 50%;
  width: 100vw;
  translate: -50%;
  background: url("./sparks.webp") center bottom/min(65%, 1280px) 90% no-repeat;
  pointer-events: none;
  content: "";
}
.guest-info__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1.52fr;
  gap: clamp(10px, 1.03vw, 20px);
  margin-top: clamp(10px, 1.03vw, 20px);
}

.guest-card {
  min-width: 0;
  min-height: clamp(160px, 16.7vw, 320px);
  padding: clamp(16px, 1.6vw, 31px);
  border-radius: clamp(18px, 2.1vw, 40px);
  background: #13272e;
}
.guest-card h2 {
  margin-bottom: clamp(6px, 0.55vw, 11px);
  font-size: clamp(21px, 2.03vw, 39px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.guest-card p {
  color: #b2c3c3;
  font-size: clamp(12px, 0.85vw, 16px);
  line-height: 1.5;
}
.guest-card__contacts {
  margin-top: clamp(10px, 1.1vw, 21px);
  font-size: clamp(13px, 1.14vw, 22px);
  font-style: normal;
  overflow-wrap: anywhere;
}
.guest-card__contacts a {
  text-underline-offset: 0.14em;
}

.guest-dress {
  display: grid;
  grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
  align-items: center;
  gap: clamp(16px, 2.3vw, 44px);
  padding-right: clamp(16px, 3.1vw, 60px);
}
.guest-dress__palette {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(5px, 0.52vw, 10px);
}
.guest-dress__palette img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(8px, 1.15vw, 22px);
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px clamp(24px, 5.8vw, 110px);
  margin-top: clamp(36px, 4.2vw, 80px);
  padding-inline: clamp(0px, 3.5vw, 67px);
  color: #b2c3c3;
  font-size: clamp(11px, 0.7vw, 14px);
}
.event-footer__logo {
  width: clamp(72px, 7vw, 135px);
  height: auto;
  margin-inline-end: auto;
}
.event-footer__documents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 820px) {
  .guest-info,
  .event-footer {
    width: min(100% - 32px, 640px);
  }
  .guest-info__cards {
    grid-template-columns: 1fr;
  }
  .guest-card {
    min-height: auto;
    padding: 20px;
  }
  .guest-card p {
    font-size: 14px;
  }
  .guest-dress {
    grid-template-columns: 1fr;
  }
  .event-footer {
    padding-inline: 0;
  }
  .event-footer__documents {
    order: 1;
    flex-basis: 100%;
    flex-direction: column;
  }
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.consent-page {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
  padding-block: clamp(32px, 6vw, 96px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.consent-page__back {
  display: inline-block;
  margin-bottom: 24px;
}
.consent-page h1 {
  margin-bottom: 24px;
  font-size: clamp(22px, 3.5vw, 40px);
  line-height: 1.2;
  text-wrap: balance;
}
.consent-page p + p {
  margin-top: 16px;
}
.consent-page a {
  text-underline-offset: 0.2em;
}
