:root{--wine:#380912;--night:#210408;--red:#751d2b;--rose:#d19a98;--ivory:#f7efe3;--paper:#fffbf4;--olive:#58633b;--gold:#b9965a;--ink:#2b070d;--serif:"Cormorant Garamond","Noto Serif Georgian",Georgia,serif;--sans:"Golos Text",Arial,sans-serif;--ease:cubic-bezier(.22,1,.36,1)}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--night)}body{margin:0;background:var(--night);color:var(--ivory);font:400 var(--body-size)/1.65 var(--sans)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}::selection{background:var(--rose);color:var(--ink)}.shell{width:min(1180px,calc(100% - 48px));margin:auto}.skip{position:absolute;top:-80px;left:16px;z-index:100;background:var(--paper);color:var(--ink);padding:11px}.skip:focus{top:16px}h1,h2,h3,p{margin-top:0}h1,h2,h3{text-wrap:balance}
:root {
  --georgian: "Noto Serif Georgian", Georgia, serif;
  --body-size: clamp(1rem, .925rem + .32vw, 1.125rem);
  --section-heading-size: clamp(2.75rem, 6.7vw, 6rem);
  --subheading-size: clamp(1.875rem, 3.55vw, 2.875rem);
}
h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}
h2 { font-size: var(--section-heading-size); }
h3 { font-size: var(--subheading-size); }
h2 em, h3 em { font-weight: inherit; }
.section-title {
  max-inline-size: 760px;
  margin: 0;
  text-wrap: pretty;
}
.section-title em {
  display: block;
  color: var(--section-accent, var(--rose));
}
em{font-weight:400}
.hero {
  height: calc(100svh + clamp(86px, 15svh, 160px));
  position: relative;
  background: var(--wine);
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform-origin: 50% 58%;
}
.hero-intro-complete .hero__photo { transform: scale(1.24); }
.hero__veil {
  position: absolute;
  inset: 0 0 -2px;
  background:
    linear-gradient(180deg, #2104080a 15%, #38091255 62%, #380912d9 84%, var(--wine) 96%),
    radial-gradient(ellipse at 49% 46%, #26040d5c 0%, #2104089e 68%, #210408b8 100%);
}
.hero__copy {
  position: absolute;
  z-index: 2;
  margin: auto;
  text-align: center;
  pointer-events: none;
}
.hero__intro-title {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
}
.hero__intro-name {
  padding-left: .26em;
  font: 600 clamp(17px, 3vw, 34px)/1 var(--serif);
  letter-spacing: .26em;
}
.hero__intro-lettering {
  color: #e3a7ad;
  font: 400 clamp(61px, min(15.8vw, 25svh), 184px)/1.04 "Noto Serif Georgian", Georgia, serif;
}
html { scrollbar-gutter: stable; }
html.hero-intro-playing {
  overflow: hidden;
  overscroll-behavior: none;
}
.hero-intro-playing .hero { touch-action: none; }
.hero-intro-playing .hero__copy, .hero-intro-playing .hero__veil { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100svh; }
  .hero-intro-complete .hero__photo { transform: none; }
}
.hero__line{width:min(260px,70vw);height:1px;margin:0 auto 20px;background:rgba(247,239,227,.7)}
.premiere{padding:clamp(86px,12vw,154px) 0 clamp(95px,13vw,175px);background:var(--wine)}.premiere__intro{max-width:980px;margin:0 auto clamp(35px,5vw,62px)}.mark{margin:0;color:var(--rose);font-size:12px;letter-spacing:.08em}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:0 21px;border:1px solid currentColor;background:transparent;color:var(--wine);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;transition:transform .2s var(--ease),background .2s,color .2s}.button:hover{transform:translateY(-2px);background:var(--wine);color:var(--paper)}.button:active{transform:translateY(0) scale(.98)}
.footer{padding:38px 0;background:var(--night);color:var(--rose);text-align:center;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.footer b{display:block;margin-bottom:6px;font:500 24px var(--serif);letter-spacing:.14em;color:var(--ivory)}.dialog{width:min(550px,calc(100% - 32px));padding:0;border:0;background:var(--paper);color:var(--wine);box-shadow:0 25px 90px rgba(0,0,0,.55)}.dialog::backdrop{background:rgba(23,3,7,.78)}.dialog__inner{position:relative;padding:43px}.close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;background:transparent;font-size:27px;color:var(--wine)}.form{display:grid;gap:16px;margin-top:25px}.form label{display:grid;gap:7px;font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.form input{min-height:45px;border:0;border-bottom:1px solid rgba(56,9,18,.35);outline:0;background:transparent;color:var(--wine)}.form input:focus{border-color:var(--red);box-shadow:0 2px 0 var(--red)}.reveal{opacity:0;transform:translateY(20px);transition:opacity .65s var(--ease),transform .65s var(--ease)}.reveal.on{opacity:1;transform:none}:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:760px){.shell{width:min(100% - 32px,1180px)}.button{min-height:42px;padding:0 10px;font-size:9px;letter-spacing:.04em}.dialog__inner{padding:40px 25px 28px}}@media(max-width:360px){.shell{width:min(100% - 24px,1180px)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}

/* Hero title and supporting type */
.hero__copy {
  inset: 0 clamp(12px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  max-width: 1000px;
}
.hero__philosophy {
  margin: 0;
  color: #fffcf7;
  font-size: var(--body-size);
  font-weight: 500;
  letter-spacing: .075em;
}
@font-face {
  font-family: "Great Vibes Hero";
  src: url("great-vibes-hero.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.hero__kind {
  margin: 0;
  color: #f6d7ca;
  font: 400 clamp(43px, 6.2vw, 78px)/1.03 "Great Vibes Hero", "Snell Roundhand", "Times New Roman", cursive;
}
@font-face {
  font-family: "Playfair Display";
  src: url("playfair-georgian-wedding.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
.hero__title {
  justify-self: center;
  width: max-content;
  margin: 0 0 18px;
  color: #ffecd1;
  font: 500 clamp(2.85rem, min(13.2vw, 24svh), 11rem)/.93 "Playfair Display", Georgia, serif;
  letter-spacing: -.025em;
  white-space: nowrap;
  transform: scaleX(.55);
}
.language-switcher {
  position: fixed;
  inset-block-start: max(12px, env(safe-area-inset-top));
  inset-inline-end: clamp(14px, 3vw, 44px);
  z-index: 5;
  color: var(--ivory);
  font: 600 .8125rem/1 "Golos Text", Arial, sans-serif;
  letter-spacing: .06em;
  text-shadow: 0 1px 2px var(--night), 0 0 2px var(--night), 0 0 8px var(--night);
}
.language-switcher__current, .language-switcher__options a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 8px;
}
.language-switcher__current { cursor: pointer; list-style: none; }
.language-switcher__current::-webkit-details-marker { display: none; }
.language-switcher__current::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  filter: drop-shadow(0 0 1px var(--night));
  transform: translateY(-2px) rotate(45deg);
}
.language-switcher__menu[open] .language-switcher__current::after {
  transform: translateY(2px) rotate(225deg);
}
.language-switcher__options {
  position: absolute;
  inset-inline: 0;
}
.language-switcher__options a[hidden] { display: none; }
.language-switcher__current:hover, .language-switcher__options a:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}
.hero__kind:lang(ka) { font-family: var(--georgian); font-size: clamp(1.15rem, 4.8vw, 3.25rem); }
html[lang="ka"] { --sans: "Noto Serif Georgian", Georgia, serif; }
html[lang="ka"] .invitation__hint { font-weight: 500; }
html[lang="ka"] .show__lead { font-style: normal; }

.hero__georgian {
  max-inline-size: 39ch;
  margin: clamp(18px, 3.6svh, 28px) auto 0;
  color: var(--paper);
  font: 500 clamp(18px, 2.1vw, 26px)/1.42 var(--georgian);
  text-wrap: balance;
  text-shadow: 0 1px 4px var(--night), 0 2px 14px var(--night);
}
@media (max-width: 560px) {
  :root {
    --section-heading-size: clamp(1.75rem, 8.2vw, 2.75rem);
    --body-size: clamp(.875rem, 3.6vw, 1rem);
  }
  .hero__kind { font-size: clamp(30px, 9vw, 48px); }
  .hero__line { width: 42%; }
}
@media (max-height: 430px) {
  .hero__kind { font-size: clamp(31px, 5vw, 49px); }
  .hero__line { margin-bottom: 12px; }
  .hero__georgian { margin-top: 12px; font-size: 17px; }
}

/* From the printed invitation to the story of the evening. */
.premiere__story {
  max-width: 980px;
  margin: clamp(64px, 9vw, 125px) auto 0;
}
.premiere__story .section-title {
  max-inline-size: none;
  margin-block-end: clamp(18px, 2.7vw, 36px);
  font-size: var(--section-heading-size);
  text-wrap: balance;
}
.premiere__story .section-title em { display: inline; }
.premiere__story p {
  max-width: 54ch;
  margin-bottom: 13px;
  color: #f0d9d1;
}
.premiere__story p:last-child { margin-bottom: 0; }

.show {
  --section-accent: #e9bca0;
  --show-background: #1d0d0d;
  --show-fade: clamp(100px, 15vw, 220px);
  overflow: clip;
  background: linear-gradient(180deg,
    var(--wine),
    #2d0c10 clamp(42px, 6vw, 90px),
    var(--show-background) var(--show-fade) calc(100% - var(--show-fade)),
    #2d0c10 calc(100% - clamp(42px, 6vw, 90px)),
    var(--wine));
  color: var(--ivory);
}
.show__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: clamp(28px, 4vw, 60px);
  position: relative;
  isolation: isolate;
  padding-block: clamp(65px, 8.5vw, 125px);
}
.show__layout > .section-title {
  grid-area: 1 / 1 / 2 / 10;
  position: relative;
  z-index: 1;
  max-inline-size: 9.5em;
  scroll-margin-block-start: 24px;
}
.show__scene {
  grid-area: 1 / 5 / 3 / -1;
  align-self: center;
  position: relative;
  z-index: -1;
  margin: 0 clamp(-48px, (1180px - 100vw) / 2, -24px) 0 0;
}
.show__image {
  display: block;
  width: 100%;
  height: auto;
  mask-image:
    linear-gradient(90deg, transparent, #0005 14%, #000 31%, #000 84%, #0008 94%, transparent),
    linear-gradient(180deg, transparent, #0002 8%, #000a 19%, #000 32%, #000 87%, transparent);
  mask-composite: intersect;
}
.show__story {
  grid-area: 2 / 1 / 3 / 6;
  max-inline-size: 41ch;
  color: #f3e4d8;
}
.show__lead {
  margin: 0 0 .55em;
  color: var(--ivory);
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  font-style: italic;
  line-height: 1.08;
}
.show__story p { margin: 0; }
.show__story p + p { margin-block-start: .8em; }
@media (min-width: 1050px) {
  .show__scene { grid-column-start: 4; }
}
@media (max-width: 800px) {
  .show__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 0;
  }
  .show__layout > .section-title {
    grid-area: 1 / 1;
    text-shadow: 0 2px 14px var(--show-background);
  }
  .show__scene {
    grid-area: 2 / 1;
    width: min(calc(100% + 24px), 680px);
    margin: clamp(-64px, -12vw, -38px) 0 0;
    justify-self: center;
  }
  .show__scene::before {
    content: "";
    position: absolute;
    inset: -8% 0 0;
    z-index: -1;
    background: radial-gradient(ellipse 37% 40% at 63% 43%, #b6633026, transparent);
  }
  .show__image {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 62% center;
    mask-image:
      radial-gradient(ellipse 64% 63% at 56% 49%, #000 60%, #0008 82%, transparent),
      linear-gradient(90deg, transparent, #000 15%, #000 90%, transparent),
      linear-gradient(180deg, transparent, #0006 12%, #000 31%, #000 76%, #0007 91%, transparent);
  }
  .show__story {
    grid-area: 3 / 1;
    max-inline-size: 50ch;
    margin-block-start: clamp(-46px, -7vw, -25px);
  }
  .show__lead {
    font-size: clamp(1.5rem, 5.3vw, 1.75rem);
    text-shadow: 0 2px 14px var(--show-background);
  }
}

.future {
  --chapter-spacing: clamp(64px, 8vw, 120px);
  --chapter-gap: clamp(24px, 4vw, 56px);
  padding-block: var(--chapter-spacing);
  background: var(--wine);
  color: var(--ivory);
}
.future .section-title {
  max-inline-size: none;
  margin-block-end: var(--chapter-gap);
  font-size: min(var(--section-heading-size), 11vw);
}
.future .section-title span { color: var(--rose); }
.future__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.future__project {
  display: grid;
  grid-row: span 3;
  grid-template-rows: auto auto 1fr;
  grid-template-rows: subgrid;
  align-items: start;
  row-gap: 14px;
  padding: clamp(12px, 1.6vw, 22px);
  padding-block-end: clamp(22px, 2.5vw, 34px);
  background: var(--paper);
  color: var(--ink);
}
.future__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #e7d9cf;
}
.future__image--atelier { object-position: 62% center; }
.future__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.45vw, 2.125rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: pretty;
}
.future__project p {
  margin: 0;
  line-height: 1.55;
}
.future__controls, .future__project[data-carousel-copy] { display: none; }
.future__status {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .future__carousel {
    --card-inset: clamp(12px, 3.5vw, 20px);
    position: relative;
    container-type: inline-size;
  }
  .future__list {
    position: relative;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }
  .future__list.has-controls { scrollbar-width: none; }
  .future__list.is-moving { scroll-snap-type: none; }
  .future__project[data-carousel-copy] { display: grid; }
  .future__list.has-controls .future__image { margin-block-end: 44px; }
  .future__project {
    grid-row: auto;
    grid-template-rows: auto auto 1fr;
    row-gap: 12px;
    padding: var(--card-inset);
    padding-block-end: 22px;
    scroll-snap-align: start;
  }
  .future__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .future__project p { font-size: clamp(.9375rem, 3.8vw, 1rem); }
  .future__controls:not([hidden]) {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .future__controls button {
    position: absolute;
    inset-block-start: calc(100cqi - var(--card-inset) + 6px);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #751d2b60;
    border-radius: 50%;
    background: #751d2b0d;
    color: var(--wine);
    font-size: 22px;
    line-height: 1;
    pointer-events: auto;
  }
  .future__controls button:first-child { inset-inline-start: var(--card-inset); }
  .future__controls button:last-child { inset-inline-end: var(--card-inset); }
  .future__controls button:active {
    background: var(--rose);
    color: var(--wine);
  }
}

/* Use a native scroll boundary until the invitation is fully open. */
html.envelope-scroll-held main {
  max-block-size: var(--envelope-page-limit);
  overflow: clip;
}
html.envelope-scroll-held .premiere__story { opacity: 0; }
html.envelope-scroll-held .premiere ~ section { visibility: hidden; }
html.envelope-scroll-held .footer { display: none; }
.invitation {
  --paper-ticket: #f6efe1;
  --envelope-paper: url("envelope-paper.webp");
  --ticket-unit: 1cqw;
  position: relative;
  container-type: inline-size;
  max-width: 980px;
  margin-inline: auto;
}
.invitation__frame { position: relative; isolation: isolate; }
@media (max-height: 520px) and (min-aspect-ratio: 4/3) {
  .invitation { max-width: min(980px, 155svh); }
}
.envelope__body, .envelope__pocket, .envelope__glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
[data-envelope-piece][hidden] { display: none; }
.envelope__body {
  background:
    linear-gradient(180deg, #26060cc9, #26060c28 28%, #26060c39),
    var(--envelope-paper) center / cover #681917;
  box-shadow: 0 21px 45px #19040982;
}
.envelope__pocket {
  z-index: 2;
  clip-path: polygon(0 0, 50% 49%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(145deg, #27080d19, #27080d59 49%, #1603068a),
    var(--envelope-paper) center / cover #681917;
}
.envelope__pocket::before {
  position: absolute;
  inset: 20% 0 0;
  content: "";
  clip-path: polygon(0 100%, 50% 12%, 100% 100%);
  background:
    linear-gradient(158deg, #f1a0851c, transparent 46%, #21040956),
    var(--envelope-paper) center bottom / cover #731d1b;
}
.envelope__hinge {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  perspective: 1300px;
  perspective-origin: 50% 0%;
}
.envelope__lid {
  --flap-shape: polygon(0 0, 100% 0, 52% 91%, 50% 92%, 48% 91%);
  position: absolute;
  inset: 0 0 auto;
  height: 62%;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
}
.envelope__lid::before, .envelope__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  clip-path: var(--flap-shape);
}
.envelope__lid::before {
  content: "";
  background: #33070bb3;
  transform: translate3d(0, 2.4%, -1px);
}
.envelope__face--front {
  background:
    radial-gradient(ellipse at 25% 0%, #f79e7c25, transparent 62%, #28070b3f),
    var(--envelope-paper) center 15% / cover #7a201f;
  border-top: 1px solid #e1a79746;
}
.envelope__face--inside {
  transform: rotateX(180deg);
  background:
    linear-gradient(160deg, #28080cc7, transparent 67%, #e5927221),
    var(--envelope-paper) center 85% / cover #681917;
}
.envelope__seal {
  position: absolute;
  left: 50%;
  top: 86%;
  width: clamp(46px, 13cqw, 124px);
  height: auto;
  transform: translate(-50%, -50%) rotate(-9deg);
  filter: drop-shadow(2px 5px 5px #2504089c);
  backface-visibility: hidden;
}
.envelope__imprint {
  position: absolute;
  inset: auto 0 11%;
  color: #e7b797;
  font: 500 clamp(14px, 2.2vw, 26px)/1 var(--serif);
  letter-spacing: .2em;
  text-align: center;
  text-shadow: 0 1px #431323;
}
.envelope__glint { z-index: 4; overflow: hidden; }
.envelope__glint span {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, #ffdfb70a 45%, #ffd0b015 51%, transparent 74%);
}
/* All dimensions of the printed ticket follow the actual invitation width. */
.invitation__ticket {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 2.2;
  color: var(--wine);
  text-align: center;
}
.invitation__ticket {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
.invitation__paper {
  --outer: 0%;
  --seam: 100%;
  --cut: calc(var(--ticket-unit) * 2.85);
  --scallop: calc(var(--ticket-unit) * 1.75);
  --edge-bite: calc(var(--ticket-unit) * .39);
  --edge-softness: calc(var(--ticket-unit) * .09);
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: calc(var(--ticket-unit) * 4) calc(var(--ticket-unit) * 3.5);
  background: var(--paper-ticket, #f6efe1);
  mask-image:
    radial-gradient(circle at var(--outer) 0%, transparent var(--cut), #000 calc(var(--cut) + var(--edge-softness))),
    radial-gradient(circle at var(--outer) 100%, transparent var(--cut), #000 calc(var(--cut) + var(--edge-softness))),
    radial-gradient(circle at var(--outer) 50%, transparent var(--cut), #000 calc(var(--cut) + var(--edge-softness))),
    radial-gradient(circle at var(--seam) 0%, transparent var(--cut), #000 calc(var(--cut) + var(--edge-softness))),
    radial-gradient(circle at var(--seam) 100%, transparent var(--cut), #000 calc(var(--cut) + var(--edge-softness))),
    radial-gradient(circle at var(--outer) 50%, transparent var(--edge-bite), #000 calc(var(--edge-bite) + var(--edge-softness)));
  mask-size: auto, auto, auto, auto, auto, 100% var(--scallop);
  mask-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
  mask-composite: intersect;
}
.invitation__main {
  --ticket-rail: calc(var(--ticket-unit) * 6.5);
  padding-inline-start: calc(var(--ticket-rail) + var(--ticket-unit) * 1.8);
}
.invitation__rail {
  position: absolute;
  z-index: 1;
  inset-block: calc(var(--ticket-unit) * 1.45);
  inset-inline-start: calc(var(--cut) + var(--ticket-unit) * .2);
  width: calc(var(--ticket-rail) - var(--cut));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-inline-end: max(1px, calc(var(--ticket-unit) * .12)) solid #a86b6a;
  color: var(--wine);
}
.invitation__rail span {
  flex: none;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  font-size: calc(var(--ticket-unit) * 2.45);
  line-height: 1;
  letter-spacing: .012em;
  text-transform: uppercase;
  white-space: nowrap;
}
.invitation__main::after {
  content: "";
  position: absolute;
  inset: var(--cut) 0;
  border-right: 1px dashed #91555b;
  pointer-events: none;
}
.invitation__brand, .invitation__kicker, .invitation__title, .invitation__limit,
.invitation__details, .invitation__stub > * {
  white-space: nowrap;
}
.invitation__brand {
  margin: 0 0 calc(var(--ticket-unit) * 1.35);
  color: var(--red);
  font-size: calc(var(--ticket-unit) * 2.3);
  line-height: 1.25;
  letter-spacing: .13em;
}
.invitation__brand span { font-family: "Noto Serif Georgian", Georgia, serif; letter-spacing: 0; }
.invitation__kicker {
  margin: 0;
  font-size: calc(var(--ticket-unit) * 2.3);
  line-height: 1.3;
}
.invitation__title {
  margin: calc(var(--ticket-unit) * .95) 0 0;
  color: var(--red);
  font: italic 500 calc(var(--ticket-unit) * 8.05)/.96 var(--serif);
  letter-spacing: -.045em;
}
.invitation__limit {
  margin: calc(var(--ticket-unit) * .72) 0 calc(var(--ticket-unit) * 2.1);
  font: 500 calc(var(--ticket-unit) * 3.35)/1 var(--serif);
}
.invitation__details {
  display: flex;
  justify-content: center;
  gap: calc(var(--ticket-unit) * 4.5);
  width: calc(var(--ticket-unit) * 40);
  margin: 0;
  padding-top: calc(var(--ticket-unit) * 1.1);
  border-top: 1px solid #9e6a60;
}
.invitation__details dt {
  color: var(--red);
  font-size: calc(var(--ticket-unit) * 2.05);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.invitation__details dd {
  margin: calc(var(--ticket-unit) * .15) 0 0;
  font-size: calc(var(--ticket-unit) * 2.45);
  line-height: 1.2;
}
.invitation__tail { position: relative; display: grid; min-width: 0; }
.invitation__stub {
  --outer: 100%;
  --seam: 0%;
  width: 100%;
  align-self: stretch;
  padding-inline: calc(var(--ticket-unit) * 1.8);
  border: 0;
  color: var(--wine);
  cursor: grab;
  user-select: none;
  touch-action: pan-x pinch-zoom;
  transform-origin: 8% 8%;
  transition: transform 320ms var(--ease);
}
.invitation__stub:focus-visible { outline-offset: calc(-1 * var(--cut)); }
.invitation__stub.is-dragging { cursor: grabbing; transition: none; }
.invitation__stub.is-torn { visibility: hidden; }
.invitation__stub small {
  font-size: calc(var(--ticket-unit) * 2.1);
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.invitation__stub strong {
  margin-block: calc(var(--ticket-unit) * .7) calc(var(--ticket-unit) * .55);
  color: var(--red);
  font: italic 500 calc(var(--ticket-unit) * 5.35)/.96 var(--serif);
  letter-spacing: -.04em;
}
.invitation__stub-copy { font-size: calc(var(--ticket-unit) * 2.3); line-height: 1.28; }
.invitation__hint {
  display: grid;
  gap: calc(var(--ticket-unit) * .45);
  justify-items: center;
  margin-top: calc(var(--ticket-unit) * 2.65);
  color: var(--red);
  font-size: calc(var(--ticket-unit) * 2.25);
  line-height: 1.3;
  font-weight: 600;
}
.invitation__arrow {
  --arrow-stroke: max(1px, calc(var(--ticket-unit) * .16));
  position: relative;
  width: calc(var(--ticket-unit) * 4.2);
  height: calc(var(--ticket-unit) * 3.45);
  transition: transform 180ms var(--ease);
}
.invitation__arrow::before, .invitation__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
}
.invitation__arrow::before {
  top: 4%;
  bottom: 9%;
  width: var(--arrow-stroke);
  background: currentColor;
  transform: translateX(-50%);
}
.invitation__arrow::after {
  bottom: 17%;
  width: 38%;
  aspect-ratio: 1;
  border-right: var(--arrow-stroke) solid currentColor;
  border-bottom: var(--arrow-stroke) solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}
.invitation__stub.is-dragging .invitation__arrow { transform: translateY(15%); }
@media (hover: hover) and (pointer: fine) {
  .invitation__stub:hover .invitation__hint { text-decoration: underline; }
}
.dialog {
  max-height: calc(100% - 24px);
  background: var(--application-paper, var(--paper));
}
.dialog.is-ticket {
  --application-paper: #f6efe1;
  background: transparent;
  box-shadow: none;
}
.dialog__card { position: relative; }
.dialog__inner {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}
.dialog.is-ticket .dialog__inner {
  --form-notch: clamp(10px, 2vw, 15px);
  background: var(--application-paper);
  mask-image:
    radial-gradient(circle at top left, transparent var(--form-notch), #000 calc(var(--form-notch) + 1px)),
    radial-gradient(circle at top right, transparent var(--form-notch), #000 calc(var(--form-notch) + 1px)),
    radial-gradient(circle at bottom left, transparent var(--form-notch), #000 calc(var(--form-notch) + 1px)),
    radial-gradient(circle at bottom right, transparent var(--form-notch), #000 calc(var(--form-notch) + 1px)),
    radial-gradient(circle at left center, transparent var(--form-notch), #000 calc(var(--form-notch) + 1px)),
    radial-gradient(circle at right center, transparent var(--form-notch), #000 calc(var(--form-notch) + 1px));
  mask-composite: intersect;
}
.dialog h2 {
  font-size: var(--subheading-size);
  overflow-wrap: anywhere;
}
.dialog .form .button { min-height: 44px; font-size: 11px; }
.dialog.is-entering { background: transparent; box-shadow: none; }
.dialog.is-entering .dialog__inner { background: var(--application-paper, var(--paper)); }
.dialog[open]::backdrop {
  opacity: 1;
  transition: opacity 240ms var(--ease);
}
.dialog.is-closing::backdrop { opacity: 0; }
@starting-style { .dialog[open]::backdrop { opacity: 0; } }
.dialog .mark { color: var(--red); }
.form__fields { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.form__fields input:not([type="checkbox"]) { font-size: 16px; }
.form .form__consent {
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.form .form__consent input { min-height: 0; margin: .35em 0 0; }
.form .button:disabled { opacity: .55; cursor: default; transform: none; background: transparent; color: var(--wine); }
.form__legal, .form__notice { margin: 0; font-size: .875rem; line-height: 1.5; }
.form__legal a, .footer__legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 16px; }
.footer__legal a { padding: 6px; font-size: .8125rem; letter-spacing: 0; text-transform: none; }

.legal-page { padding-block: clamp(28px, 6vw, 72px); }
.legal-page .shell { max-inline-size: 760px; }
.legal-page main { margin-block-start: 24px; }
.legal-page h1 {
  font: 500 clamp(2.25rem, 6.5vw, 4rem)/1.06 var(--serif);
  letter-spacing: -.025em;
}
.legal-page h2 { margin-block: 1.25em .45em; font-size: clamp(1.65rem, 4vw, 2.25rem); }
.legal-page p, .legal-page li { max-inline-size: 65ch; }
.legal-page a { color: var(--ivory); text-decoration: underline; text-underline-offset: .2em; }
.legal-page nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-page :lang(ka) { font-family: var(--georgian); }
.legal-page :lang(ru), .legal-page #en { font-family: var(--sans); }
.legal-page h3 { margin-block: 1.1em .45em; font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
.legal-page #ru, .legal-page #en {
  margin-block-start: clamp(32px, 6vw, 66px);
  padding-block-start: 12px;
  border-block-start: 1px solid #f7efe355;
}
