:root {
  color-scheme: dark;
  --ink: #080706;
  --paper: #f9f3e7;
  --gold: #d9b65a;
  --gold-light: #f7dfa0;
  --gold-deep: #9a7426;
  --muted: #c8bfae;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, #2a2116 0%, transparent 37rem),
    var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

button {
  font: inherit;
}

.invitation {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 2.5rem 1.25rem 1.5rem;
}

.hero {
  width: min(100%, 60rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.75rem;
  color: var(--gold-light);
  font-size: clamp(2.5rem, 8vw, 5.7rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 0 1.75rem rgb(217 182 90 / 18%);
}

.video-frame {
  position: relative;
  width: min(100%, 22rem);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(217 182 90 / 45%);
  border-radius: 0.2rem;
  box-shadow:
    0 1rem 3rem rgb(0 0 0 / 55%),
    0 0 0 0.35rem rgb(217 182 90 / 5%);
}

.invitation-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  background: #000;
  object-fit: contain;
}

.details {
  margin-top: 1.8rem;
}

.date {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(1.35rem, 3.3vw, 2.25rem);
  font-weight: 700;
}

.message {
  margin: 0.45rem 0 0;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
}

.more {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.share-button {
  min-height: 3.25rem;
  margin-top: 1.8rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--gold);
  border-radius: 0.15rem;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.share-button span:first-child {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1.25rem;
  vertical-align: -0.1rem;
}

.share-button:hover,
.share-button:focus-visible {
  background: var(--gold);
  color: var(--ink);
  outline: none;
}

.share-button:active {
  transform: translateY(1px);
}

.share-feedback {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
}

footer {
  position: absolute;
  bottom: 1.25rem;
  color: rgb(200 191 174 / 65%);
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glow {
  position: absolute;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: rgb(187 142 48 / 10%);
  filter: blur(4rem);
  pointer-events: none;
}

.glow--top {
  top: -19rem;
  left: -8rem;
}

.glow--bottom {
  right: -12rem;
  bottom: -20rem;
}

@media (max-width: 36rem) {

  .video-frame {
    width: 100%;
  }
  .invitation {
    align-content: center;
    padding-top: 2.25rem;
  }

  h1 {
    margin-bottom: 1.25rem;
  }

  .invitation-video {
    max-height: none;
  }

  footer {
    position: static;
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
