@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant-italic-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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;
}

:root {
  --bg: #15100c;
  --bg-raised: #1e1711;
  --field: #261d16;
  --line: rgba(244, 235, 223, .14);
  --text: #f4ebdf;
  --muted: #b5a797;
  --accent: #f4ad76;
  --accent-hover: #ffc79c;
  --on-accent: #24160c;
  --error: #ff9c8a;
  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 40px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 17px/1 var(--sans);
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 10px 40px -12px rgba(244, 173, 118, .55);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 14px 44px -10px rgba(244, 173, 118, .7); }
.btn:active { transform: none; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 15px; box-shadow: none; }
.btn--ghost { background: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: rgba(244, 235, 223, .06); box-shadow: inset 0 0 0 1px rgba(244, 235, 223, .3); }

.link {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(244, 173, 118, .5);
  background: none;
  color: var(--accent);
  font: 500 17px/1.3 var(--sans);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

/* header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  padding: 22px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(21, 16, 12, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.brand img { height: 26px; width: auto; }
.header__btn { opacity: 0; pointer-events: none; transition: opacity .3s, background .2s; }
.header.is-scrolled .header__btn { opacity: 1; pointer-events: auto; }

/* hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 980px);
  padding: 160px 0 72px;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  animation: hero-photo 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(21, 16, 12, .86) 24%, rgba(21, 16, 12, 0) 62%),
    linear-gradient(to right, rgba(21, 16, 12, .78) 0%, rgba(21, 16, 12, .3) 48%, rgba(21, 16, 12, 0) 75%),
    linear-gradient(to bottom, rgba(21, 16, 12, .6) 0%, rgba(21, 16, 12, 0) 22%);
}
.hero__content { width: 100%; }
.hero__title { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
.hero__title-main {
  display: block;
  font-size: clamp(76px, 11.2vw, 176px);
  line-height: .88;
  letter-spacing: -.025em;
  font-style: italic;
  animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__title-sub {
  display: block;
  margin-top: 24px;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -.005em;
  animation: rise 1s .3s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 52px;
  animation: rise 1s .45s cubic-bezier(.2, .7, .2, 1) both;
}
.when { display: flex; }
.when div { padding: 2px 32px; border-left: 1px solid var(--line); }
.when dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.when dd { font: 500 30px/1.15 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes hero-photo { from { opacity: 0; transform: scale(1.06); } }

.tagline {
  max-width: 1020px;
  margin-top: 150px;
  text-align: center;
  font: italic 500 clamp(30px, 3.6vw, 50px)/1.22 var(--serif);
  text-wrap: balance;
}
.tagline::after {
  content: "";
  display: block;
  width: 1px;
  height: 88px;
  margin: 56px auto 0;
  background: linear-gradient(var(--accent), rgba(244, 173, 118, 0));
}

/* features */
.feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 72px;
  align-items: center;
  margin-top: 130px;
}
.tagline + .feature { margin-top: 72px; }
.feature--reverse { grid-template-columns: 5fr 7fr; }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.feature__media::after {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(244, 173, 118, .13), rgba(244, 173, 118, 0));
}
.feature__title { font: 500 clamp(36px, 3.7vw, 54px)/1.04 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.feature__sub { margin-top: 12px; color: var(--accent); font: italic 500 26px/1.2 var(--serif); }
.feature__body { margin-top: 30px; max-width: 30em; color: var(--muted); }
.feature__body b { color: var(--text); font-weight: 500; }
.feature .link { margin-top: 34px; }

/* guests */
.guests { margin-top: 170px; }
.guests__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.guests__title { max-width: 11em; font: 500 clamp(40px, 5.2vw, 76px)/1 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.guests__label { padding-bottom: 10px; color: var(--muted); font: italic 500 26px/1.2 var(--serif); white-space: nowrap; }
.guests picture {
  display: block;
  margin-top: 56px;
  padding: 44px 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-raised);
}
.guests__logos { width: 100%; height: auto; }

/* final */
.final { position: relative; margin-top: 170px; isolation: isolate; }
.final::before {
  content: "";
  position: absolute;
  inset: -80px 0 auto;
  z-index: -1;
  height: 620px;
  background: radial-gradient(50% 60% at 50% 45%, rgba(244, 173, 118, .16), rgba(244, 173, 118, 0));
}
.final__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final__title { font: italic 500 clamp(56px, 8.4vw, 132px)/.95 var(--serif); letter-spacing: -.025em; }
.final__date { margin: 28px 0 40px; font: 500 30px/1.2 var(--serif); font-variant-numeric: lining-nums; }
.final__photo {
  width: 100%;
  height: auto;
  margin-top: 96px;
  border-radius: 6px;
}

/* footer */
.footer { margin-top: 72px; padding: 30px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.footer a { text-underline-offset: 3px; text-decoration-color: rgba(181, 167, 151, .5); }
.footer a:hover { color: var(--text); }

.sticky-cta { display: none; }

/* modal */
.modal {
  width: min(1040px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--bg-raised);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.modal[open] { animation: modal-in .35s cubic-bezier(.2, .7, .2, 1); }
.modal::backdrop { background: rgba(10, 7, 5, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 16, 12, .55);
  color: var(--text);
  cursor: pointer;
  transition: background .2s;
}
.modal__close:hover { background: rgba(21, 16, 12, .9); }
.modal__grid { display: grid; grid-template-columns: 1.1fr .9fr; max-height: inherit; }
.modal__main { display: flex; flex-direction: column; justify-content: center; padding: 52px 56px 44px; overflow-y: auto; }
.modal__aside { position: relative; min-height: 100%; }
.modal__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.modal__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-raised) 0%, rgba(30, 23, 17, 0) 30%);
}
.modal__title { font: italic 500 48px/1 var(--serif); letter-spacing: -.015em; }
.modal__lead { margin-top: 14px; max-width: 26em; color: var(--muted); font-size: 15px; line-height: 1.5; }

.form { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; line-height: 1.3; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
  font: 400 16px/1 var(--sans);
  caret-color: var(--accent);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: rgba(181, 167, 151, .55); }
.field input:hover { border-color: rgba(244, 235, 223, .28); }
.field input:focus { outline: 0; border-color: var(--accent); background: #2b2119; box-shadow: 0 0 0 3px rgba(244, 173, 118, .18); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: none; }
/* Chrome paints autofilled fields with its own light background unless it is covered by an inset shadow. */
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--field) inset;
  transition: background-color 9999s;
}
.field__error { color: var(--error); font-size: 13px; line-height: 1.3; }
.field__error:not(:empty) { margin-top: 6px; }

.field--consent { margin-top: 4px; }
.field .consent {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.consent input { position: absolute; top: 0; left: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(244, 235, 223, .35);
  border-radius: 6px;
  background: var(--field) center / 14px no-repeat;
  transition: background-color .15s, border-color .15s;
}
.consent input:checked + .consent__box {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%2324160c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent input[aria-invalid="true"] + .consent__box { border-color: var(--error); }
.consent a { color: var(--text); text-underline-offset: 3px; }
.form__submit { width: 100%; margin-top: 8px; }
.form__error { color: var(--error); font-size: 14px; text-align: center; }
.form__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.thanks { display: none; flex-direction: column; align-items: flex-start; padding: 40px 0; outline: 0; }
.thanks__mark { color: var(--accent); }
.thanks h3 { margin: 28px 0 36px; font: italic 500 48px/1 var(--serif); letter-spacing: -.015em; }
.modal.is-done .modal__form { display: none; }
.modal.is-done .thanks { display: flex; }
.modal.is-done .modal__main { min-height: 440px; }

/* privacy page */
.doc { max-width: 800px; padding-top: 32px; padding-bottom: 96px; }
.doc h1 { margin: 64px 0 20px; font: 500 clamp(36px, 5vw, 56px)/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.doc h2 { margin: 44px 0 12px; font: 500 30px/1.15 var(--serif); }
.doc p, .doc li { color: #d9cdbf; font-size: 16px; line-height: 1.6; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc a { text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 32px; }
  .when div:first-child { padding-left: 0; border-left: 0; }
  .feature, .feature--reverse { gap: 48px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .header { padding: 16px 0; }
  .header.is-scrolled { padding: 10px 0; }
  .brand { font-size: 15px; gap: 9px; }
  .brand img { height: 21px; }
  .header__btn { display: none; }

  .hero { display: block; min-height: 0; padding: 0 0 8px; }
  .hero__photo {
    position: relative;
    height: 62svh;
    min-height: 340px;
    max-height: 560px;
    -webkit-mask-image: linear-gradient(to bottom, #000 42%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 42%, transparent 96%);
  }
  .hero::before { bottom: auto; height: 120px; z-index: 0; background: linear-gradient(to bottom, rgba(21, 16, 12, .75), rgba(21, 16, 12, 0)); }
  .hero__content { position: relative; z-index: 1; margin-top: -120px; }
  .hero__title-main { font-size: clamp(60px, 18.4vw, 104px); }
  .hero__title-sub { margin-top: 16px; font-size: clamp(27px, 7.4vw, 40px); }
  .hero__cta { align-items: stretch; gap: 28px; margin-top: 36px; }
  .hero__cta .btn { width: 100%; }
  .when { justify-content: space-between; }
  .when div { flex: 1; padding: 0 0 0 16px; }
  .when div:first-child { padding-left: 0; }
  .when dd { font-size: clamp(21px, 6vw, 28px); }

  .tagline { margin-top: 88px; text-align: left; }
  .tagline::after { height: 64px; margin: 36px 0 0; }
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 28px; margin-top: 88px; }
  .tagline + .feature { margin-top: 48px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media { margin: 0 calc(var(--gutter) * -1); }
  .feature__media img { border-radius: 0; }
  .feature__sub { font-size: 23px; }
  .feature__body { margin-top: 20px; }
  .feature .link { margin-top: 24px; }

  .guests { margin-top: 110px; }
  .guests__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .guests__label { padding: 0; font-size: 22px; white-space: normal; }
  .guests picture { margin-top: 32px; padding: 24px 16px; }

  .final { margin-top: 110px; }
  .final__content { align-items: stretch; text-align: left; }
  .final__date { margin: 20px 0 32px; font-size: 24px; }
  .final__photo { margin-top: 56px; }
  .final > .wrap:last-child { padding: 0; }
  .final__photo { border-radius: 0; }

  .footer { margin-top: 0; padding: 28px 0 120px; border-top: 0; }
  .footer .wrap { flex-direction: column; }

  .sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(21, 16, 12, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    font-size: 14px;
    line-height: 1.3;
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .sticky-cta.is-visible { transform: none; }

  .modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; box-shadow: none; }
  .modal__grid { grid-template-columns: 1fr; height: 100%; }
  .modal__aside { display: none; }
  .modal__main { justify-content: flex-start; padding: 64px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
  .modal__close { top: 10px; right: 10px; background: none; }
  .modal__title, .thanks h3 { font-size: 40px; }
  .modal.is-done .modal__main { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
