@font-face {
  font-family: Cormorant; src: url("../files/79aab396eb5c197f/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: Cormorant; src: url("../files/79aab396eb5c197f/fonts/cormorant-garamond-cyrillic-500-normal.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1;
}
@font-face {
  font-family: Cormorant; src: url("../files/79aab396eb5c197f/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-style: italic; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: Cormorant; src: url("../files/79aab396eb5c197f/fonts/cormorant-garamond-cyrillic-500-italic.woff2") format("woff2");
  font-style: italic; font-weight: 500; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1;
}
@font-face {
  font-family: Manrope; src: url("../files/79aab396eb5c197f/fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: Manrope; src: url("../files/79aab396eb5c197f/fonts/manrope-cyrillic-500-normal.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1;
}

:root {
  color-scheme: dark;
  --paper: #fff6ed;
  --gold: #edc48e;
  --muted: #e9c9c3;
  --back: #24101e;
  --glass-opacity: 25%;
  --gutter: clamp(21px, 4.3vw, 78px);
  --display: Cormorant, Georgia, serif;
  --body: Manrope, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 290px; background: var(--back); color: var(--paper); font: 500 1rem/1.55 var(--body); }
button, select, input, textarea { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
button, select { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible, canvas:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 4px;
}
::selection { color: var(--back); background: var(--gold); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 12; top: 18px; left: 18px; padding: 10px 16px; background: var(--back); }

.experience {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.world, .world > *:not(.object-tag) { position: absolute; inset: 0; }
.world { z-index: -1; background: var(--back); }
.poster {
  background-image:
    linear-gradient(180deg, #35102477, transparent 25%, transparent 72%, #350c245a),
    radial-gradient(ellipse at 50% 37%, #d51e482b, transparent 73%),
    linear-gradient(90deg, transparent calc(50% - 2px), #410d27cf 50%, transparent calc(50% + 2px)),
    repeating-linear-gradient(90deg, #410d27, #9a153d 1.05vw, #d23d62 1.9vw, #b91f4c 2.5vw, #781033 3.45vw, #410d27 4.1vw);
  background-color: #741435;
  background-size: cover;
  background-position: center;
}
[data-render="fallback"] .poster {
  --poster-image: url("../files/08da10e2d248c918/real/tree.webp");
  background-image: linear-gradient(180deg, #27122480, transparent 25%, #341528a3), var(--poster-image);
}
[data-render="fallback"][data-scene="6"] .poster { --poster-image: url("../files/08da10e2d248c918/real/table.webp"); }
[data-render="fallback"][data-scene="1"] .poster { --poster-image: url("../files/c4725384d36f9448/posters/forest-ceremony.webp"); }
[data-render="fallback"][data-scene="2"] .poster { --poster-image: url("../files/c4725384d36f9448/posters/olive-arch.webp"); }
[data-render="fallback"][data-scene="3"] .poster { --poster-image: url("../files/c4725384d36f9448/posters/ivory-ceremony.webp"); }
[data-render="fallback"][data-scene="4"] .poster { --poster-image: url("../files/d7ba705fc0f0d132/gallery/winter-entrance.webp"); }
[data-render="fallback"][data-scene="8"] .poster { --poster-image: url("../files/c4725384d36f9448/posters/scarlet-entrance.webp"); }
[data-render="fallback"][data-scene="12"] .poster {
  background: #321d2c url("../files/d7ba705fc0f0d132/gallery/soprano-portal.webp") center 42% / min(100%, 58svh) auto no-repeat;
}
[data-render="fallback"]:is([data-scene="1"], [data-scene="2"], [data-scene="3"], [data-scene="4"], [data-scene="8"]) .poster {
  background-color: #321d2c;
  background-repeat: no-repeat;
  background-size: cover, min(100%, 940px) auto;
  background-position: center, center 40%;
}
#stage { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; opacity: 0; transition: opacity .34s ease; }
[data-render="live"] #stage { opacity: 1; }
#stage:focus-visible { outline-offset: -5px; }
#stage.is-dragging { cursor: grabbing; }
#stage.has-object { cursor: pointer; }
[data-render="loading"] #stage, [data-render="fallback"] #stage { visibility: hidden; }
.world-shade {
  pointer-events: none;
  background:
    linear-gradient(180deg, #2010179e 0%, #2b151c21 11%, transparent 23%),
    linear-gradient(0deg, #211019f5 0%, #26151fa1 11%, #2d17221c 25%, transparent 37%);
}
.hall-curtain {
  --hall-curtain-travel: 1550ms;
  position: absolute;
  z-index: 9;
  inset: 0;
  display: flex;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}
.experience:is([data-intro="closed"], [data-intro="reveal"]) .hall-curtain { visibility: visible; }
.hall-preparation {
  position: absolute;
  z-index: 10;
  inset: calc(50% + clamp(75px, 14vw, 115px)) 18px auto;
  margin: 0;
  color: var(--paper);
  font-size: clamp(.85rem, 3vw, 1rem);
  text-align: center;
  text-shadow: 0 2px 9px #1e0716;
}
.hall-curtain__panel {
  position: relative;
  flex: 0 0 50%;
  overflow: hidden;
  background:
    linear-gradient(180deg, #250817a1, transparent 32%, #1e071644 65%, #210813c7),
    repeating-linear-gradient(90deg, #3b0b23 0, #6e112f .95vw, #b9204c 1.7vw, #d13e61 2.3vw, #a51c45 3vw, #590f2b 4vw, #3b0b23 4.7vw);
  background-color: #771331;
  box-shadow: inset 0 0 7rem #22091c90;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.hall-curtain__panel img {
  position: absolute;
  top: 50%;
  width: clamp(110px, 12vw, 136px);
  height: auto;
  border: 1px solid #edc48ed9;
  border-radius: 50%;
  outline: 1px solid #edc48e72;
  outline-offset: 5px;
  background: #fff8f1;
}
.hall-curtain__panel:first-child img { right: 0; transform: translate(50%, -50%); }
.hall-curtain__panel:last-child img { left: 0; transform: translate(-50%, -50%); }
[data-intro="reveal"] .hall-curtain__panel {
  transition: transform var(--hall-curtain-travel) cubic-bezier(.43,.08,.18,1);
}
[data-intro="reveal"] .hall-curtain__panel img {
  opacity: 0;
  transition: opacity .5s ease .24s;
}
[data-intro="reveal"] .hall-curtain__panel:first-child { transform: translate3d(-101%, 0, 0); }
[data-intro="reveal"] .hall-curtain__panel:last-child { transform: translate3d(101%, 0, 0); }
.experience:is([data-intro="closed"], [data-intro="reveal"]) #stage { transition: none; }

.site-header {
  grid-row: 1;
  position: relative;
  margin: 0 var(--gutter);
  min-height: 70px;
  padding: 11px 0;
  border-bottom: 1px solid #edc48e54;
}
.header-actions, .control-row { display: flex; align-items: center; gap: 9px; }
.hall-nav-icon { display: none; }

.glass {
  --glass-edge: 232 193 154;
  --glass-tint: 148 43 76;
  --glass-depth: 91 32 59;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px 5px 12px 5px;
  background: transparent;
  color: var(--paper);
  transform: perspective(360px) translateZ(0);
  transform-style: preserve-3d;
  text-shadow: 0 1px 3px #2a1024df;
  transition: transform .16s ease;
}
.glass::before, .glass::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}
.glass::before {
  inset: 0;
  z-index: -1;
  transform: translateZ(-1px);
  border: 1px solid rgb(var(--glass-edge) / .65);
  background: linear-gradient(145deg, rgb(var(--glass-edge) / var(--glass-opacity)), rgb(var(--glass-tint) / var(--glass-opacity)) 57%, rgb(var(--glass-depth) / var(--glass-opacity)));
  -webkit-backdrop-filter: blur(5px) saturate(1.1);
  backdrop-filter: blur(5px) saturate(1.1);
  box-shadow: inset 0 1px 0 #f7d5a93d, inset 0 -1px 0 #371529a8;
}
.glass::after {
  inset: 4px 0 -3px;
  z-index: -2;
  transform: translateZ(-4px);
  border-bottom: 3px solid rgb(var(--glass-depth) / .86);
  box-shadow: 0 4px 9px -4px #2b1324c9, 0 1px 0 rgb(var(--glass-edge) / .28);
}
.glass:active:not(:disabled) { transform: perspective(360px) translate3d(0, 2px, 0) rotateX(-5deg); }
.glass:focus-within:has(select:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) {
  .glass:hover:not(:disabled, :active) { transform: perspective(360px) translate3d(0, -1px, 4px) rotateX(4deg); }
  .glass:hover::before { border-color: rgb(var(--glass-edge) / .84); }
}
.compact-button { min-height: 40px; padding: 5px 13px; line-height: 1.2; font-size: .875rem; }
.button-primary, .tour-button[aria-pressed="true"] {
  --glass-tint: 197 53 83;
  --glass-depth: 126 36 59;
  --glass-edge: 246 204 149;
}
.header-contact { position: relative; z-index: 3; }
.contact-button { cursor: pointer; list-style: none; white-space: nowrap; }
.contact-button::-webkit-details-marker { display: none; }
.contact-label-short { display: none; }
.contact-options {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0;
  display: grid; gap: 3px; width: 202px; padding: 5px;
  border: 1px solid #edc48e70; border-radius: 12px 5px 12px 5px;
  background: linear-gradient(145deg, #522038fa, #311528fa);
  box-shadow: 0 14px 32px #240e20bb;
}
.header-contact:not([open]) .contact-options { display: none; }
.contact-options a {
  display: grid; gap: 2px; padding: 7px 10px;
  border-radius: 7px 3px 7px 3px; line-height: 1.35;
}
.contact-options a:hover, .contact-options a:focus-visible { background: #efc3931a; }
.contact-options a:focus-visible { outline-offset: -2px; }
.contact-options strong { color: var(--gold); font-size: .875rem; }
.contact-options span { color: var(--muted); font-size: .75rem; }
.chevron {
  position: absolute; right: 12px; top: calc(50% - 5px);
  pointer-events: none;
  width: 6px; height: 6px;
  border: solid var(--gold); border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.tour-button { flex: 0 0 40px; min-width: 40px; padding: 0; }
.tour-icon { width: 12px; height: 13px; margin-inline-start: 2px; background: var(--gold); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tour-button[aria-pressed="true"] .tour-icon {
  margin: 0;
  width: 10px;
  border: solid var(--gold);
  border-width: 0 3px;
  background: transparent;
  clip-path: none;
}

.scene-bottom {
  grid-row: 3;
  margin: 0 var(--gutter);
  padding: 15px 0 max(25px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  column-gap: 30px;
  row-gap: 14px;
  pointer-events: none;
  text-shadow: 0 1px 7px #2d1125d0;
}
.scene-copy, .scene-controls { pointer-events: auto; }
.scene-copy { width: min(635px, 55vw); }
.eyebrow {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 7px; color: var(--gold);
  font-size: .875rem; letter-spacing: .12em; text-transform: uppercase;
}
.ornament { width: 8px; height: 8px; flex: 0 0 8px; transform: rotate(45deg); border: 1px solid currentColor; }
h1, h2 { font: 500 1rem/1 var(--display); margin: 0; }
:is(h1, #scene-title) { font-size: clamp(2.85rem, 5.3vw, 5.3rem); letter-spacing: -.045em; line-height: .89; text-wrap: balance; text-shadow: 0 2px 15px #2f1428c7; }
.scene-description { margin: 9px 0 0; color: var(--muted); line-height: 1.42; }
.reference-source { display: inline-block; margin-top: 5px; font-size: .875rem; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.scene-controls { flex: 0 1 279px; }
.scene-hint { margin: 0 0 6px; color: var(--muted); text-align: right; font-size: .875rem; line-height: 1.3; }
.object-tag {
  position: absolute;
  left: 0; top: 0; z-index: 1;
  padding: 5px 9px;
  pointer-events: none;
  background: #391a30f5;
  border: 1px solid #edc48e72;
  border-radius: 4px;
  color: var(--gold);
  font-size: .875rem;
  max-width: min(230px, 50vw);
}
.render-status {
  position: absolute; inset-block-start: calc(100% + 11px); inset-inline-end: 0;
  z-index: 1; margin: 0; padding: 5px 9px;
  background: #3b1c31eb; border-radius: 5px;
  color: var(--muted); font-size: .875rem; max-width: 100%; pointer-events: none;
}
.noscript { color: var(--muted); margin: 10px var(--gutter); }

dialog {
  width: min(100% - 28px, 532px); max-height: calc(100svh - 28px);
  overflow: auto; padding: clamp(18px, 4vw, 34px); border: 1px solid #edc48e7f; border-radius: 12px 5px 12px 5px;
  background: linear-gradient(145deg, #54223a, #32182c); color: var(--paper); box-shadow: 0 22px 60px #200d1bbe;
}
dialog::backdrop { background: #2d132985; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
body:has(dialog[open]) { overflow: hidden; }
dialog h2 { font-size: clamp(1.85rem, 6vw, 2.8rem); }

@media (max-width: 660px) {
  :root { --gutter: clamp(15px, 5vw, 31px); }
  .site-header { min-height: 59px; padding-block: 8px; }
  .scene-bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 6px max(19px, env(safe-area-inset-bottom, 0px)); }
  .scene-copy { width: 100%; }
  :is(h1, #scene-title) { font-size: clamp(2.46rem, 10vw, 4rem); letter-spacing: -.045em; }
  .eyebrow { font-size: .8125rem; letter-spacing: .075em; margin-bottom: 4px; }
  .scene-description { margin-top: 5px; font-size: .94rem; }
  .scene-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
  .scene-hint { width: 100%; text-align: left; font-size: .8125rem; margin: 0; }
  .control-row { width: 100%; }
  .world-shade { background: linear-gradient(180deg, #201017a6, #30192229 13%, transparent 26%), linear-gradient(0deg, #211019f5, #291720a5 14%, #2d172225 32%, transparent 43%); }
}
@media (pointer: coarse), (max-width: 660px) {
  .glass::before, dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 580px) {
  .contact-label-full { display: none; }
  .contact-label-short { display: inline; }
  .header-actions { gap: .25rem; }
  .site-header .contact-button { padding-inline: .5rem; font-size: .8rem; }
  .header-actions .compact-button {
    inline-size: clamp(2.125rem, 11.8vw, 2.75rem);
    min-block-size: 2.5rem;
    padding-inline: 0;
  }
  .hall-nav-label { display: none; }
  .hall-nav-icon { position: relative; display: block; color: var(--gold); }
  .hall-nav-icon--foyer { width: 12px; height: 15px; border: 1px solid; border-radius: 2px 2px 0 0; }
  .hall-nav-icon--foyer::after {
    content: ""; position: absolute; top: 7px; right: 2px; width: 2px; height: 2px; border-radius: 50%; background: currentColor;
  }
}
@media (max-width: 360px) {
  .compact-button { padding-inline: 9px; }
  .tour-button { padding: 0; }
}
@media (max-height: 570px) and (min-width: 661px) {
  :is(h1, #scene-title) { font-size: clamp(2.05rem, 4.2vw, 4rem); }
  .site-header { min-height: 56px; }
  .scene-bottom { padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .experience:not([data-intro="closed"][data-render="loading"]) .hall-curtain { display: none; }
}
