:root {
  --ivory: #f6f0e7;
  --ivory-deep: #eee5d8;
  --paper: #fbf8f2;
  --blush: #ead8d3;
  --gold: #a87c2d;
  --gold-light: #d7b776;
  --gold-dark: #74511b;
  --ink: #2d2925;
  --ink-soft: #696058;
  --shadow: 0 24px 70px rgba(75, 55, 28, 0.13), 0 5px 18px rgba(75, 55, 28, 0.08);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 22%, rgba(226, 196, 179, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 72%, rgba(219, 194, 143, 0.15), transparent 28rem),
    var(--ivory);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
  height: 100svh;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
a:focus-visible {
  outline-color: var(--gold);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
}

.paper-noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(87deg, rgba(90, 70, 42, 0.032) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(3deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--gold);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Açılış */
.opening {
  position: fixed;
  z-index: 80;
  inset: 0;
  min-height: 100svh;
  overflow: hidden;
  background: #fbfaf7;
  transition: opacity 900ms var(--ease-luxury), visibility 900ms;
}

.opening.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.open-invitation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: #fbfaf7;
  border: 0;
  cursor: pointer;
}

.opening__image {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.001);
}

.opening__intro {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 48px), 420px);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 750ms var(--ease-luxury), transform 950ms var(--ease-luxury);
  pointer-events: none;
}

.opening__monogram {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 18px);
  color: var(--gold-dark);
  font: italic 400 clamp(3.9rem, 18vw, 6.8rem)/0.9 "Cormorant Garamond", Georgia, serif;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 0 26px rgba(189, 145, 67, 0.14);
}

.opening__monogram span,
.opening__monogram b {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(8px) scale(0.92);
  animation: monogramGather 1.8s var(--ease-luxury) both;
}

.opening__monogram b {
  font-size: 0.5em;
  font-weight: 400;
  animation-delay: 0.35s;
}

.opening__monogram span:last-child {
  animation-delay: 0.7s;
}

.opening__prompt {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 24px;
  color: var(--gold-dark);
  font: italic 400 clamp(1.15rem, 4.8vw, 1.55rem)/1.35 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.045em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 0;
  animation: promptReveal 1.1s var(--ease-luxury) 1.6s both;
  pointer-events: none;
}

.opening__prompt::before,
.opening__prompt::after {
  content: "";
  display: inline-block;
  width: clamp(28px, 9vw, 50px);
  height: 1px;
  margin: 0 12px 0.24em;
  background: linear-gradient(90deg, transparent, rgba(168, 124, 45, 0.72));
}

.opening__prompt::after {
  background: linear-gradient(90deg, rgba(168, 124, 45, 0.72), transparent);
}

.opening__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(250, 247, 239, 0.54), rgba(244, 237, 227, 0.82)),
    repeating-linear-gradient(88deg, rgba(116, 81, 27, 0.025) 0 1px, transparent 1px 5px);
  box-shadow: inset 0 0 120px rgba(255, 253, 248, 0.38);
  backdrop-filter: blur(8px) saturate(0.72);
  -webkit-backdrop-filter: blur(8px) saturate(0.72);
  opacity: 0.9;
  transition: opacity 900ms var(--ease-luxury), backdrop-filter 900ms var(--ease-luxury);
}

.opening__dust {
  position: absolute;
  z-index: 1;
  top: 34%;
  left: 50%;
  width: 1px;
  height: 1px;
}

.opening__dust i {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(202, 159, 80, 0.9);
  box-shadow: 0 0 8px rgba(218, 180, 105, 0.78);
  opacity: 0;
  animation: dustGather 2.7s var(--ease-luxury) var(--d) both;
}

.opening.is-opening .opening__veil {
  opacity: 0;
  backdrop-filter: blur(0) saturate(1);
  -webkit-backdrop-filter: blur(0) saturate(1);
}

.opening.is-opening .opening__intro {
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.98);
}

@keyframes monogramGather {
  0% { opacity: 0; filter: blur(8px); transform: translateY(8px) scale(0.92); }
  62% { opacity: 0.9; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes promptReveal {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes dustGather {
  0% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0.2); }
  28% { opacity: 0.82; }
  72% { opacity: 0.58; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.1); }
}

.opening__light {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 43%, rgba(255, 244, 205, 0.08) 47%, rgba(255, 235, 170, 0.34) 50%, rgba(255, 247, 218, 0.07) 53%, transparent 57%);
  opacity: 0;
  transform: translateX(-60%);
  animation: openingGold 5.8s ease-in-out 0.7s infinite;
  mix-blend-mode: screen;
}

@keyframes openingGold {
  0%, 14% { opacity: 0; transform: translateX(-60%); }
  25% { opacity: 0.48; }
  42%, 100% { opacity: 0; transform: translateX(60%); }
}

/* 15 saniyelik sinematik açılış */
.cinema {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  background: #fbfaf7;
  transition: opacity 800ms var(--ease-luxury), visibility 800ms;
}

.cinema.is-visible {
  visibility: visible;
  opacity: 1;
}

.cinema.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cinema__stage {
  position: relative;
  width: 100vw;
  height: 100svh;
  isolation: isolate;
  perspective: 1600px;
}

.envelope-card,
.envelope-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.intro-invitation {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  background: #f2efe7;
  clip-path: inset(14% 12% 14% 12%);
  transform: translate3d(0, 58%, -20px) scale(0.72);
  transform-origin: center center;
  filter: drop-shadow(0 18px 32px rgba(77, 54, 24, 0.18));
  will-change: transform, opacity, filter;
}

.intro-invitation::before,
.invitation-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px;
  pointer-events: none;
  background: #f2efe7 url("assets/davetiye.webp") center / cover no-repeat;
  filter: blur(18px) saturate(0.72);
  opacity: 0.2;
  transform: scale(1.04);
}

.envelope-card {
  z-index: 1;
  transform: translate3d(0, 0, 0) scale(1.001);
}

.envelope-front {
  z-index: 3;
  clip-path: inset(4.8% 0 0 0);
  transform: translate3d(0, 0, 0) scale(1.001);
}

.envelope-card__image,
.envelope-front__image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.intro-invitation__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.gold-sweep {
  position: absolute;
  z-index: 3;
  inset: -30%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 244, 201, 0.1) 47%, rgba(255, 234, 165, 0.52) 50%, rgba(255, 248, 220, 0.08) 53%, transparent 58%);
  transform: translateX(-65%);
  mix-blend-mode: screen;
}

.cinema__vignette {
  position: absolute;
  z-index: 5;
  inset: -25%;
  pointer-events: none;
  background: radial-gradient(circle, transparent 48%, rgba(102, 77, 43, 0.08) 100%);
}

.cinema.is-playing .envelope-card,
.cinema.is-playing .envelope-front {
  animation: envelopeReveal 15s linear both;
}

.cinema.is-playing .intro-invitation {
  animation: invitationReveal 15s linear both;
}

.cinema.is-playing .gold-sweep--envelope {
  animation: envelopeGold 15s linear both;
}

.cinema.is-playing .gold-sweep--invitation {
  animation: invitationGold 15s linear both;
}

@keyframes envelopeReveal {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.001); }
  13.3% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.018); }
  30% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.018); }
  46.7% { opacity: 0.82; transform: translate3d(0, 55%, 0) scale(1); }
  52% { opacity: 0; transform: translate3d(0, 100%, 0) scale(0.98); }
  100% { opacity: 0; transform: translate3d(0, 100%, 0) scale(0.98); }
}

@keyframes invitationReveal {
  0%, 26.7% { opacity: 0; transform: translate3d(0, 58%, -20px) scale(0.72); clip-path: inset(14% 12% 14% 12%); filter: drop-shadow(0 18px 32px rgba(77, 54, 24, 0.18)); }
  30% { opacity: 1; transform: translate3d(0, 52%, 0) scale(0.74); clip-path: inset(13% 11% 13% 11%); filter: drop-shadow(0 18px 32px rgba(77, 54, 24, 0.18)); }
  46.7% { opacity: 1; transform: translate3d(0, -2%, 0) scale(0.9); clip-path: inset(5% 4% 5% 4%); filter: drop-shadow(0 12px 24px rgba(77, 54, 24, 0.12)); }
  60% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); clip-path: inset(0 0 0 0); filter: none; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); clip-path: inset(0 0 0 0); filter: none; }
}

@keyframes envelopeGold {
  0%, 3% { opacity: 0; transform: translateX(-65%); }
  7% { opacity: 0.75; }
  14% { opacity: 0; transform: translateX(60%); }
  100% { opacity: 0; transform: translateX(60%); }
}

@keyframes invitationGold {
  0%, 85% { opacity: 0; transform: translateX(-65%); }
  90% { opacity: 0.52; }
  98%, 100% { opacity: 0; transform: translateX(65%); }
}

.skip-intro {
  position: absolute;
  z-index: 8;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(var(--safe-bottom) + 4px);
  min-width: 52px;
  min-height: 42px;
  padding: 8px;
  color: rgba(64, 55, 47, 0.65);
  background: transparent;
  border: 0;
  font: 400 0.67rem/1 "Montserrat", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.sound-control {
  position: fixed;
  z-index: 90;
  top: calc(var(--safe-top) + 2px);
  right: max(16px, env(safe-area-inset-right));
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--gold-dark);
  background: rgba(250, 247, 240, 0.78);
  border: 1px solid rgba(168, 124, 45, 0.28);
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: opacity 500ms ease, color 250ms ease, background 250ms ease;
}

.sound-control.is-visible {
  opacity: 1;
  visibility: visible;
}

.sound-control svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-control span {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sound-control__off {
  display: none;
}

.sound-control[aria-pressed="true"] .sound-control__on {
  display: none;
}

.sound-control[aria-pressed="true"] .sound-control__off {
  display: block;
}

/* Davetiye ve içerik */
main {
  position: relative;
  z-index: 1;
}

.invitation-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: #f2efe7;
}

.invitation-frame {
  position: relative;
  width: 100%;
  height: 100svh;
  opacity: 0;
  transform: none;
  background: #f2efe7;
}

.invitation-frame.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s var(--ease-luxury), transform 1.2s var(--ease-luxury);
}

.invitation-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.invitation-frame__line {
  display: none;
}

.scroll-cue {
  position: absolute;
  bottom: calc(var(--safe-bottom) + 14px);
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--gold-dark);
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 24px;
  background: linear-gradient(var(--gold-light), transparent);
}

.scroll-cue small {
  font-size: 0.59rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.details-page {
  min-height: 100svh;
  display: grid;
  align-content: center;
  background: linear-gradient(180deg, var(--ivory) 0%, #f7f0e7 56%, rgba(235, 220, 207, 0.32) 100%);
}

.section {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 34px 20px;
  text-align: center;
}

.section__content {
  width: min(100%, 920px);
  margin-inline: auto;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(2.1rem, 6vw, 3.4rem)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.045em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-size: clamp(0.67rem, 1.8vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section__subtitle {
  margin: 8px 0 16px;
  color: var(--gold-dark);
  font: 500 clamp(0.72rem, 2vw, 0.8rem)/1.5 "Montserrat", sans-serif;
  letter-spacing: 0.12em;
}

.section__copy {
  max-width: 490px;
  margin: 26px auto 34px;
  color: var(--ink-soft);
  font: 300 clamp(1.12rem, 3vw, 1.36rem)/1.55 "Cormorant Garamond", Georgia, serif;
}

.section__ornament {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  transform: translateX(-50%);
}

.section__ornament span {
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.section__ornament span:last-child {
  transform: rotate(180deg);
}

.section__ornament i {
  width: 7px;
  height: 7px;
  display: block;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.outline-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 19px;
  color: var(--gold-dark);
  text-decoration: none;
  border: 1px solid rgba(168, 124, 45, 0.62);
  background: rgba(255, 253, 248, 0.28);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.outline-button:hover {
  color: #fffdf8;
  background: var(--gold-dark);
  box-shadow: 0 12px 28px rgba(116, 81, 27, 0.14);
}

.outline-button svg,
.text-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.section--lcv::after,
.section--timeline::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 0;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 124, 45, 0.28), transparent);
}

.section--timeline {
  min-height: auto;
  padding-block: 34px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 810px;
  margin: 22px auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 124, 45, 0.12), var(--gold), rgba(168, 124, 45, 0.12));
}

.timeline__item {
  position: relative;
  margin: 0;
  padding: 0 8px;
}

.timeline__symbol {
  position: relative;
  z-index: 1;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--gold);
  background: var(--ivory);
  border: 1px solid rgba(168, 124, 45, 0.55);
  border-radius: 50%;
  font: 400 1.1rem/1 "Cormorant Garamond", Georgia, serif;
}

.timeline__rings {
  padding-left: 5px;
  font-size: 1.25rem;
  letter-spacing: -0.48em;
}

.timeline__infinity {
  font-size: 1.7rem;
}

.timeline h3 {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: clamp(0.64rem, 1.7vw, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline time {
  color: var(--ink);
  font: 400 clamp(1.4rem, 4.5vw, 1.9rem)/1 "Cormorant Garamond", Georgia, serif;
}

.section--venue {
  overflow: hidden;
}

.section--venue::before {
  content: "";
  position: absolute;
  width: min(62vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(168, 124, 45, 0.18);
  border-radius: 50% 50% 0 0;
  transform: translateY(32%);
  pointer-events: none;
}

.venue-arch {
  position: relative;
  width: min(100%, 680px);
  z-index: 1;
}

.venue-arch__date {
  margin: 0;
  color: var(--gold-dark);
  font: 400 clamp(1.45rem, 5vw, 2.1rem)/1.1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.13em;
}

.venue-arch__day {
  margin: 4px 0 10px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.26em;
}

.venue-arch__flourish {
  display: block;
  margin-bottom: 22px;
  color: var(--blush);
  font: italic 400 2.8rem/1 "Cormorant Garamond", Georgia, serif;
}

.venue-arch h2 {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: 0.04em;
}

.venue-arch__location {
  margin: 5px 0 14px;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.21em;
}

.text-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 250ms ease, gap 250ms ease;
}

.text-link:hover {
  color: var(--ink);
  gap: 13px;
}

.closing {
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 38px 24px calc(var(--safe-bottom) + 28px);
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(235, 220, 207, 0.32));
}

.closing__ornament {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.8rem;
}

.closing__names {
  margin: 0;
  color: var(--ink);
  font: italic 400 clamp(2.7rem, 10vw, 4.5rem)/1 "Cormorant Garamond", Georgia, serif;
}

.closing__message {
  max-width: 510px;
  margin: 12px auto 0;
  color: var(--ink-soft);
  font: 300 clamp(1rem, 3vw, 1.3rem)/1.45 "Cormorant Garamond", Georgia, serif;
}

.closing__date {
  margin: 15px 0 0;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.closing__credit {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(105, 96, 88, 0.72);
  font-size: 0.75rem;
  line-height: 1.6;
}

.closing__credit a {
  color: inherit;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: calc(var(--safe-bottom) + 18px);
  left: 18px;
  max-width: 430px;
  margin-inline: auto;
  padding: 13px 16px;
  color: var(--ink);
  background: rgba(251, 248, 242, 0.95);
  border: 1px solid rgba(168, 124, 45, 0.42);
  box-shadow: 0 14px 40px rgba(68, 49, 24, 0.12);
  font-size: 0.78rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.noscript {
  position: fixed;
  z-index: 200;
  inset: auto 0 0;
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--gold);
  text-align: center;
}

@media (max-width: 520px) {
  .sound-control span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .sound-control {
    min-width: 44px;
    justify-content: center;
    padding-inline: 9px;
  }

  .section {
    min-height: 0;
    padding-inline: 18px;
  }

  .timeline {
    width: calc(100% + 10px);
    margin-left: -5px;
  }

  .timeline::before {
    right: 8%;
    left: 8%;
  }

  .timeline__item {
    padding-inline: 3px;
  }

  .timeline__symbol {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
  }

  .timeline h3 {
    min-height: 2.4em;
    display: grid;
    place-items: center;
    line-height: 1.4;
    letter-spacing: 0.09em;
  }

  .section--venue::before {
    width: 118vw;
  }
}

@media (min-width: 900px) {
  .section--lcv {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cinema.is-playing .intro-invitation {
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
  }

  .cinema.is-playing .envelope-card,
  .cinema.is-playing .envelope-front {
    opacity: 0;
  }
}

@media (prefers-contrast: more) {
  :root {
    --gold: #76510f;
    --gold-dark: #543706;
    --ink-soft: #4b443e;
  }
}
