:root {
  color-scheme: light;
  --paper: #f8f4ed;
  --paper-deep: #efe8de;
  --white: #fffdf8;
  --cream: #efe8de;
  --champagne: #bd9258;
  --gold: #bd9258;
  --gold-dark: #8e693e;
  --ink: #27211c;
  --muted: #776e64;
  --line: rgba(112, 89, 61, 0.22);
  --shadow: 0 18px 42px rgba(70, 50, 35, 0.14);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: #e9e3db;
  color: var(--ink);
  font-family: var(--sans);
}

body {
  margin: 0;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

.music-control {
  position: fixed;
  z-index: 30;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, calc((100vw - min(100vw, 520px)) / 2 + 18px));
  display: flex;
  max-width: min(176px, calc(100vw - 36px));
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(157, 116, 68, 0.34);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 8px 26px rgba(54, 40, 27, 0.12);
  color: var(--gold-dark);
  text-align: left;
  backdrop-filter: blur(10px);
}

.music-control[hidden] {
  display: none;
}

.music-control__disc {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(142, 105, 62, 0.58);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 3px, rgba(142, 105, 62, 0.12) 4px 5px),
    var(--white);
}

.music-control__disc::before,
.music-control__disc::after {
  position: absolute;
  content: "";
}

.music-control__disc::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.music-control__disc::after {
  right: -2px;
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(18deg);
}

.music-control__disc i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--white);
}

.music-control__copy {
  min-width: 0;
}

.music-control__copy strong,
.music-control__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-control__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 400;
}

.music-control__copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.music-control__wave {
  display: none;
}

.music-control.is-playing .music-control__disc {
  animation: music-spin 5s linear infinite;
}

.music-control.is-unavailable {
  opacity: 0.72;
}

.music-control:disabled {
  cursor: default;
}

button,
input,
textarea {
  font: inherit;
}

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

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

.invitation {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(53, 43, 33, 0.12);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.monogram {
  margin: 0;
  color: var(--gold);
  font-family: "Snell Roundhand", "Apple Chancery", cursive;
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
}

.monogram i {
  font-size: 0.52em;
  font-weight: 400;
}

.brand-logo {
  display: block;
  width: 176px;
  margin: 0 auto 4px;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.hero__twilight-photo,
.theme-image--twilight,
.twilight-stamp,
.opening-gate {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #e8ded1;
}

.hero__backdrop,
.hero__wash {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  z-index: -3;
  inset: -5%;
  background: url("/assets/optimized/h5-cover-1080.webp") center / cover;
  filter: blur(4px) saturate(0.72);
  animation: hero-background-breathe 11s ease-in-out infinite alternate;
}

.hero__wash {
  z-index: -2;
  background:
    linear-gradient(155deg, rgba(250, 247, 241, 0.97) 1%, rgba(249, 245, 238, 0.54) 48%, rgba(230, 215, 197, 0.86) 100%);
}

.hero__frame {
  position: absolute;
  z-index: 10;
  inset: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  border: 1px solid rgba(177, 132, 76, 0.62);
  pointer-events: none;
}

.hero__frame::before,
.hero__frame::after {
  position: absolute;
  width: 38px;
  height: 38px;
  content: "";
  border-color: rgba(177, 132, 76, 0.76);
  border-style: solid;
}

.hero__frame::before {
  top: -5px;
  left: -5px;
  border-width: 2px 0 0 2px;
  border-radius: 18px 0 0;
}

.hero__frame::after {
  right: -5px;
  bottom: -5px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 18px;
}

.hero__floral,
.hero__couple {
  position: absolute;
}

.hero__floral {
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero__floral--back {
  z-index: 0;
  top: 9%;
  right: -12%;
  width: 62%;
  opacity: 0.46;
  transform: rotate(7deg);
}

.hero__floral--front {
  z-index: 7;
  right: -24%;
  bottom: -7%;
  width: 62%;
  opacity: 0.44;
  transform: rotate(-10deg);
}

.hero__date-card {
  position: absolute;
  z-index: 3;
  top: 23%;
  right: 7%;
  display: grid;
  width: 34%;
  min-height: 174px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(164, 122, 70, 0.36);
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 18px 42px rgba(68, 50, 32, 0.11);
  color: var(--gold-dark);
  transform: rotate(3deg);
  animation: hero-paper-float 5s ease-in-out infinite;
  backdrop-filter: blur(6px);
}

.hero__date-card span,
.hero__date-card small,
.hero__date-card i {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__date-card strong {
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
}

.hero__date-card i {
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(164, 122, 70, 0.28);
}

.hero__couple {
  z-index: 5;
  bottom: -1%;
  left: -12%;
  width: 105%;
  filter: drop-shadow(0 15px 24px rgba(46, 35, 25, 0.15));
  animation: hero-couple-enter 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero__brand {
  position: absolute;
  z-index: 11;
  top: max(42px, calc(env(safe-area-inset-top) + 24px));
  left: 7%;
  width: 46%;
  text-align: center;
  animation: hero-fade-down 0.9s 0.15s both;
}

.hero__brand .brand-logo {
  width: 100%;
  margin-bottom: 4px;
  filter: saturate(1.18) contrast(1.18) brightness(0.8) drop-shadow(0 1px 4px rgba(255, 253, 248, 0.36));
}

.hero__invitation {
  position: absolute;
  z-index: 9;
  top: 44%;
  right: 5%;
  width: 37%;
  color: var(--gold-dark);
  text-align: right;
  animation: hero-fade-up 0.9s 0.4s both;
}

.hero__invitation > p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
}

.hero__invitation h1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.hero__invitation h1 i {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 400;
}

.hero__invitation > span {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", var(--serif);
  font-size: 8px;
  line-height: 1.5;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  text-shadow: 0 1px 8px rgba(255, 253, 248, 0.62);
}

.scroll-cue b {
  width: 1px;
  height: 30px;
  background: currentColor;
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.section-band {
  padding: 72px 28px;
}

.section-band h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
}

.welcome {
  position: relative;
  padding-top: 86px;
  padding-bottom: 82px;
  text-align: center;
  background: var(--white);
}

.welcome::before,
.welcome::after {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 40px;
  content: "";
  background: var(--line);
}

.welcome::before {
  top: 22px;
}

.welcome::after {
  bottom: 22px;
}

.welcome h2 {
  font-size: 34px;
}

.welcome__note {
  max-width: 290px;
  margin: 18px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 310px;
  margin: 42px auto 0;
}

.countdown div {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.countdown div:last-child {
  border-right: 0;
}

.countdown strong {
  display: block;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown__status {
  margin: 22px 0 0;
  color: var(--gold-dark);
  font-family: var(--serif);
}

.date-panel {
  background: var(--paper-deep);
}

.date-panel__date {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.date-panel__date span {
  font-size: 18px;
  text-align: center;
}

.date-panel__date strong {
  padding: 0 22px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
}

.date-panel__copy {
  padding-top: 40px;
}

.details-list {
  margin: 28px 0 0;
}

.details-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.details-list dt {
  color: var(--muted);
  font-size: 12px;
}

.details-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
}

.date-panel address {
  margin: 20px 0 0;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.button,
.submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--gold);
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.button > .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.button--line {
  background: transparent;
  color: var(--gold-dark);
}

.button--gold,
.button--dark,
.submit {
  background: var(--gold-dark);
  color: var(--white);
}

.photo-story {
  position: relative;
  min-height: 420px;
  background: #c9bbae;
}

.photo-story picture,
.photo-story img {
  width: 100%;
  min-height: 420px;
}

.photo-story img {
  object-fit: cover;
}

.photo-story__caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(72%, 320px);
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.9);
}

.photo-story__caption p {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-story__caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.section-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.schedule {
  background: var(--white);
}

.timeline {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 28px 56px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline li > span {
  color: #b8aa99;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
}

.timeline time {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.timeline strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.timeline p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.gallery {
  position: relative;
  min-height: 980px;
  padding: 50px 20px 90px;
  background: var(--paper-deep);
}

.gallery figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
}

.gallery__portrait img {
  height: 100%;
  object-fit: cover;
}

.gallery__portrait--left {
  width: 72%;
  height: 520px;
}

.gallery__portrait--right {
  width: 63%;
  height: 430px;
  margin: -54px 0 0 auto !important;
  border: 8px solid var(--paper-deep);
}

.gallery__words {
  position: relative;
  z-index: 2;
  width: 52%;
  margin: -46px 0 0 auto;
  color: var(--gold-dark);
  text-align: right;
}

.gallery__words span,
.gallery__words strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.88;
}

.gallery__words span {
  font-size: 34px;
}

.gallery__words strong {
  font-size: 72px;
}

.gallery__words p {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 13px;
}

.rsvp {
  padding-bottom: 98px;
  background: var(--white);
}

.rsvp-deck {
  position: relative;
  min-height: 520px;
  margin-top: 40px;
}

.rsvp-deck::before,
.rsvp-deck::after {
  position: absolute;
  right: 10px;
  left: 10px;
  min-height: 500px;
  border: 1px solid var(--line);
  content: "";
  background: rgba(248, 244, 237, 0.72);
  pointer-events: none;
}

.rsvp-deck::before {
  z-index: 0;
  top: -18px;
  transform: rotate(-1.5deg);
}

.rsvp-deck::after {
  z-index: 1;
  top: -9px;
  transform: rotate(1deg);
}

.rsvp-form {
  margin: 0;
}

.rsvp-layer {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 500px;
  align-content: center;
  padding: 38px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 48px rgba(66, 48, 31, 0.1);
  animation: rsvp-layer-enter 0.48s ease both;
}

.rsvp-progress {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rsvp-layer h3 {
  margin: 15px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.45;
}

.rsvp-layer > p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.rsvp-choice {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.rsvp-choice button {
  display: grid;
  min-height: 78px;
  align-content: center;
  justify-items: start;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.rsvp-choice button:first-child {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: var(--white);
}

.rsvp-choice strong,
.rsvp-choice span {
  display: block;
}

.rsvp-choice strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.rsvp-choice span {
  margin-top: 5px;
  color: inherit;
  font-size: 11px;
  opacity: 0.72;
}

.field > span,
.attendance-field legend,
.guest-count > div:first-child > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.rsvp-layer .field {
  display: block;
  margin-top: 26px;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--gold-dark);
}

.field textarea {
  resize: vertical;
}

.attendance-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.segmented label {
  cursor: pointer;
}

.segmented label:first-child {
  border-right: 1px solid var(--line);
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.segmented input:checked + span {
  background: var(--gold-dark);
  color: var(--white);
}

.guest-count {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.rsvp-layer .guest-count {
  margin-top: 28px;
}

.guest-count small {
  color: #a0968c;
  font-size: 11px;
}

.stepper {
  display: grid;
  grid-template-columns: 36px 38px 36px;
  align-items: center;
  border: 1px solid var(--line);
}

.stepper button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
}

.stepper button .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.stepper input {
  width: 38px;
  height: 36px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  appearance: textfield;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.stepper input::-webkit-inner-spin-button {
  display: none;
}

.submit {
  width: 100%;
  margin-top: 6px;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--gold-dark);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.layer-navigation {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 10px;
  margin-top: 34px;
}

.layer-navigation button {
  min-height: 50px;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  font-size: 13px;
}

.back-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.next-button {
  border: 1px solid var(--gold-dark);
  background: var(--gold-dark);
  color: var(--white);
}

.layer-navigation .submit {
  margin: 0;
}

.rsvp-summary {
  display: grid;
  margin-top: 30px;
}

.rsvp-summary div {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.rsvp-summary span {
  color: var(--muted);
  font-size: 12px;
}

.rsvp-summary strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  text-align: right;
}

.rsvp-success {
  justify-items: center;
  text-align: center;
}

.rsvp-success > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
}

.rsvp-success > span .icon {
  width: 22px;
  height: 22px;
}

.rsvp-success h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.rsvp-success p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.text-button {
  margin-top: 20px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  font-size: 12px;
}

.closing {
  position: relative;
  height: 780px;
  background: #c4c3c2;
}

.closing > picture,
.closing > picture > img {
  width: 100%;
  height: 100%;
}

.closing > picture > img {
  object-fit: cover;
  object-position: center;
}

.closing__copy {
  position: absolute;
  top: 45px;
  left: 28px;
  right: 28px;
  text-align: center;
}

.closing__copy .brand-logo {
  width: 168px;
  margin-bottom: 10px;
  filter: saturate(1.12) contrast(1.12) brightness(0.84);
}

.closing__copy strong,
.closing__copy span {
  display: block;
}

.closing__copy strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.closing__copy span {
  margin-top: 8px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", var(--serif);
  font-size: 12px;
}

.quick-actions {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 520px);
  min-height: 58px;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(112, 89, 61, 0.18);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 -8px 28px rgba(57, 45, 34, 0.08);
  backdrop-filter: blur(12px);
}

.quick-actions a {
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: center;
  gap: 2px;
  color: var(--gold-dark);
  text-decoration: none;
}

.quick-actions a + a {
  border-left: 1px solid rgba(112, 89, 61, 0.14);
}

.quick-actions span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 19px;
  line-height: 1;
}

.quick-actions span .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.55;
}

.quick-actions small {
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Modern editorial version: /modern */
.theme-modern {
  --paper: #f2f0eb;
  --paper-deep: #dedbd4;
  --white: #fff;
  --cream: #dedbd4;
  --champagne: #ef665d;
  --gold: #ef665d;
  --gold-dark: #191919;
  --ink: #151515;
  --muted: #66635e;
  --line: rgba(21, 21, 21, 0.2);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
  --serif: "Songti SC", "STSong", Georgia, serif;
}

.theme-modern .invitation {
  background: var(--paper);
}

.theme-modern .music-control {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(19, 19, 19, 0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.theme-modern .music-control__disc {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    repeating-radial-gradient(circle, transparent 0 3px, rgba(255, 255, 255, 0.14) 4px 5px),
    #181818;
}

.theme-modern .music-control__disc::before {
  background: #ef665d;
}

.theme-modern .music-control__copy small {
  color: rgba(255, 255, 255, 0.66);
}

.theme-modern .hero {
  min-height: 100svh;
  background: #171717;
}

.theme-modern .hero__backdrop {
  inset: 0;
  background: #171717 url("/assets/generated/modern-wall.webp") center / cover no-repeat;
  filter: grayscale(1) contrast(1.08) brightness(0.68);
  animation-duration: 14s;
}

.theme-modern .hero__wash {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.93) 0%, rgba(12, 12, 12, 0.54) 43%, rgba(12, 12, 12, 0.1) 74%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.72), transparent 42%);
}

.theme-modern .hero__frame,
.theme-modern .hero__floral {
  display: none;
}

.theme-modern .hero::before {
  position: absolute;
  z-index: 8;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.34);
}

.theme-modern .hero::after {
  position: absolute;
  z-index: 8;
  top: 17%;
  right: -7%;
  width: 145px;
  height: 145px;
  border: 28px solid rgba(239, 102, 93, 0.82);
  border-radius: 50%;
  content: "";
  mix-blend-mode: screen;
}

.theme-modern .hero__couple {
  right: -20%;
  bottom: -2%;
  left: auto;
  width: 112%;
  filter: grayscale(0.24) contrast(1.04) drop-shadow(0 22px 34px rgba(0, 0, 0, 0.35));
}

.theme-modern .hero__brand {
  top: max(64px, calc(env(safe-area-inset-top) + 46px));
  left: 38px;
  width: 42%;
  text-align: left;
}

.theme-modern .hero__brand .brand-logo {
  width: 116px;
  margin: 0 0 8px;
  filter: grayscale(1) brightness(0) invert(1);
}

.theme-modern .hero__brand .eyebrow {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.theme-modern .hero__date-card {
  z-index: 10;
  top: auto;
  right: 22px;
  bottom: 18%;
  width: 118px;
  min-height: 142px;
  border: 0;
  border-top: 3px solid #ef665d;
  background: rgba(18, 18, 18, 0.78);
  box-shadow: none;
  color: #fff;
  transform: none;
  animation: modern-date-float 5s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.theme-modern .hero__date-card strong {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.theme-modern .hero__date-card span,
.theme-modern .hero__date-card small,
.theme-modern .hero__date-card i {
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.theme-modern .hero__date-card i {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.theme-modern .hero__invitation {
  top: 24%;
  right: auto;
  left: 38px;
  width: 48%;
  color: #fff;
  text-align: left;
}

.theme-modern .hero__invitation > p {
  max-width: 150px;
  font-family: var(--sans);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.18;
}

.theme-modern .hero__invitation h1 {
  justify-content: flex-start;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 11px;
}

.theme-modern .hero__invitation h1 i {
  color: #ef665d;
}

.theme-modern .hero__invitation > span {
  max-width: 140px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--sans);
  font-size: 7px;
}

.theme-modern .scroll-cue {
  left: 39px;
  justify-items: start;
  color: #fff;
  font-family: var(--sans);
  transform: none;
}

.theme-modern .scroll-cue b {
  width: 44px;
  height: 1px;
  transform-origin: left;
}

.theme-modern .eyebrow {
  color: #ef665d;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.theme-modern .section-band {
  padding-top: 82px;
  padding-bottom: 82px;
}

.theme-modern .section-band h2 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.24;
}

.theme-modern .welcome {
  text-align: left;
  background: #fff;
}

.theme-modern .welcome::before,
.theme-modern .welcome::after {
  display: none;
}

.theme-modern .welcome h2 {
  max-width: 330px;
  font-size: 46px;
  line-height: 1.16;
}

.theme-modern .welcome__note {
  margin-left: 0;
  font-family: var(--sans);
  line-height: 1.8;
}

.theme-modern .countdown {
  max-width: none;
  margin-top: 50px;
}

.theme-modern .countdown strong {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.theme-modern .countdown span {
  font-family: var(--sans);
}

.theme-modern .date-panel {
  background: #171717;
  color: #fff;
}

.theme-modern .date-panel__date {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.theme-modern .date-panel__date strong {
  border-color: rgba(255, 255, 255, 0.18);
  color: #ef665d;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.theme-modern .details-list div {
  border-color: rgba(255, 255, 255, 0.16);
}

.theme-modern .details-list dt,
.theme-modern .date-panel address {
  color: rgba(255, 255, 255, 0.56);
}

.theme-modern .details-list dd {
  font-family: var(--sans);
}

.theme-modern .button--line {
  border-color: rgba(255, 255, 255, 0.54);
  color: #fff;
}

.theme-modern .button--gold,
.theme-modern .button--dark,
.theme-modern .submit {
  border-color: #ef665d;
  background: #ef665d;
  color: #171717;
}

.theme-modern .photo-story {
  min-height: 520px;
}

.theme-modern .photo-story picture,
.theme-modern .photo-story img {
  min-height: 520px;
}

.theme-modern .photo-story img {
  filter: grayscale(0.2) contrast(1.04);
}

.theme-modern .photo-story__caption {
  right: auto;
  bottom: 0;
  left: 0;
  width: 78%;
  padding: 25px 28px;
  background: #171717;
  color: #fff;
}

.theme-modern .photo-story__caption p {
  color: #ef665d;
  font-family: var(--sans);
  font-weight: 700;
}

.theme-modern .photo-story__caption strong {
  font-family: var(--sans);
  font-weight: 600;
}

.theme-modern .schedule {
  background: #f2f0eb;
}

.theme-modern .timeline li {
  grid-template-columns: 38px 66px 1fr;
  border-color: rgba(21, 21, 21, 0.22);
}

.theme-modern .timeline time {
  color: #ef665d;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.theme-modern .timeline strong {
  font-family: var(--sans);
  font-weight: 700;
}

.theme-modern .gallery {
  background: #fff;
}

.theme-modern .gallery__portrait--right {
  border-color: #fff;
}

.theme-modern .gallery__portrait img {
  filter: grayscale(0.18);
}

.theme-modern .gallery__words {
  color: #171717;
}

.theme-modern .gallery__words span,
.theme-modern .gallery__words strong {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.theme-modern .gallery__words strong {
  color: #ef665d;
}

.theme-modern .rsvp {
  background: #171717;
  color: #fff;
}

.theme-modern .rsvp .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.theme-modern .rsvp-deck::before,
.theme-modern .rsvp-deck::after {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.theme-modern .rsvp-layer {
  border: 0;
  border-top: 4px solid #ef665d;
  background: #f3f1ec;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  color: #171717;
}

.theme-modern .rsvp-layer h3,
.theme-modern .rsvp-choice strong {
  font-family: var(--sans);
  font-weight: 700;
}

.theme-modern .rsvp-choice button:first-child {
  border-color: #171717;
  background: #171717;
}

.theme-modern .quick-actions {
  border-top-color: rgba(21, 21, 21, 0.16);
  background: rgba(245, 243, 238, 0.94);
}

.theme-modern .quick-actions a {
  color: #171717;
}

.theme-modern .quick-actions a + a {
  border-left-color: rgba(21, 21, 21, 0.14);
}

/* Twilight Dancer version: /twilight */
.theme-twilight {
  --tw-accent: #d47765;
  --tw-night: #536884;
  --tw-deep: #415774;
  --tw-paper: #fff9f0;
  --tw-soft: #e7d8ce;
  --tw-glow: #efad9c;
  --tw-muted: #6c708c;
  --paper: #f3e7da;
  --paper-deep: #d9b9ad;
  --white: #fff9f0;
  --cream: #eee1d4;
  --champagne: #e2bd8c;
  --gold: #df7664;
  --gold-dark: #465a78;
  --ink: #30415f;
  --muted: #777582;
  --line: rgba(66, 84, 116, 0.2);
  --shadow: 0 22px 54px rgba(48, 65, 95, 0.17);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  background: #cad2dd;
}

.theme-twilight.is-gated {
  overflow: hidden;
}

.theme-twilight .invitation {
  background: var(--paper);
  box-shadow: 0 0 64px rgba(48, 65, 95, 0.22);
}

.theme-twilight .theme-image--default {
  display: none;
}

.theme-twilight .theme-image--twilight,
.theme-twilight .hero__twilight-photo {
  display: block;
}

.theme-twilight .opening-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: block;
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #d4a392 0%, #b18c92 37%, #777086 72%, #514c65 100%);
  color: #fff9f0;
  transform-origin: center top;
  transition:
    opacity 0.72s ease,
    transform 0.9s cubic-bezier(0.32, 0.72, 0.18, 1),
    filter 0.72s ease;
  will-change: opacity, transform, filter;
}

.theme-twilight .opening-gate::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 244, 231, 0.12) 50%, transparent 58%),
    linear-gradient(180deg, rgba(255, 235, 218, 0.1), transparent 45%);
  opacity: 0.82;
}

.theme-twilight .opening-gate__veil {
  position: absolute;
  z-index: 2;
  inset: 18px;
  border: 1px solid rgba(255, 249, 240, 0.38);
  transition: opacity 0.28s ease;
}

.theme-twilight .opening-gate__veil::before,
.theme-twilight .opening-gate__veil::after {
  position: absolute;
  width: 58px;
  height: 1px;
  content: "";
  background: rgba(255, 249, 240, 0.66);
}

.theme-twilight .opening-gate__veil::before {
  top: 18px;
  left: 18px;
}

.theme-twilight .opening-gate__veil::after {
  right: 18px;
  bottom: 18px;
}

.theme-twilight .opening-gate__content {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 34px;
  left: 34px;
  text-align: center;
  transform: translateY(-47%);
  animation: twilight-gate-enter 1s 0.15s both;
  transition: opacity 0.3s ease, transform 0.48s ease;
}

.theme-twilight .opening-gate__time,
.theme-twilight .opening-gate__eyebrow,
.theme-twilight .opening-gate__edition {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.theme-twilight .opening-gate__time {
  margin-bottom: 28px;
  opacity: 0.68;
}

.theme-twilight .opening-gate__edition {
  position: absolute;
  z-index: 3;
  top: max(42px, calc(env(safe-area-inset-top) + 24px));
  right: 32px;
  opacity: 0.62;
}

.theme-twilight .opening-gate__logo {
  display: block;
  width: 192px;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1) sepia(0.14);
  opacity: 0.92;
}

.theme-twilight .opening-gate__eyebrow {
  opacity: 0.7;
}

.theme-twilight .opening-gate h1 {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
}

.theme-twilight .opening-gate h1 i {
  color: rgba(255, 249, 240, 0.56);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
}

.theme-twilight .opening-gate__invitation {
  margin: 10px 0 32px;
  color: rgba(255, 249, 240, 0.76);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.theme-twilight .opening-gate button {
  display: grid;
  grid-template-columns: 1fr 28px;
  width: min(100%, 184px);
  min-height: 44px;
  margin: 0 auto;
  align-items: center;
  padding: 0 7px 0 22px;
  border: 1px solid rgba(255, 249, 240, 0.46);
  background: rgba(255, 249, 240, 0.06);
  color: #fff9f0;
  cursor: pointer;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.theme-twilight .opening-gate button i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 249, 240, 0.92);
  color: #5c566d;
  font-style: normal;
}

.theme-twilight .opening-gate button i .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.theme-twilight .opening-gate button:disabled {
  cursor: wait;
}

.theme-twilight .opening-gate small {
  display: block;
  margin-top: 14px;
  font-size: 8px;
  opacity: 0.52;
}

.theme-twilight .opening-gate.is-opening {
  pointer-events: none;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-2.5%) scale(1.018);
}

.theme-twilight .opening-gate.is-opening .opening-gate__content {
  animation: none;
  opacity: 0;
  transform: translateY(calc(-47% - 14px));
}

.theme-twilight .opening-gate.is-opening .opening-gate__veil {
  opacity: 0;
}

.theme-twilight .music-control {
  top: max(18px, env(safe-area-inset-top));
  width: 170px;
  min-height: 48px;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  overflow: hidden;
  border-color: rgba(80, 75, 101, 0.18);
  border-right: 2px solid color-mix(in srgb, var(--tw-accent) 78%, transparent);
  border-radius: 3px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 46%),
    rgba(255, 248, 242, 0.9);
  box-shadow:
    0 10px 30px rgba(55, 49, 70, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  color: var(--tw-deep);
  transition:
    width 0.4s cubic-bezier(0.2, 0.72, 0.2, 1),
    padding 0.4s ease,
    gap 0.4s ease,
    border-radius 0.4s ease,
    background 0.3s ease;
}

.theme-twilight .music-control__disc {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: rgba(80, 75, 101, 0.2);
  background:
    repeating-radial-gradient(circle, transparent 0 3px, rgba(255, 248, 242, 0.17) 3.5px 4px),
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--tw-glow) 72%, white), var(--tw-accent) 58%, #9f5c68 100%);
  box-shadow:
    0 4px 12px rgba(90, 63, 76, 0.2),
    inset 0 0 0 1px rgba(255, 248, 242, 0.2);
}

.theme-twilight .music-control__disc::before {
  width: 10px;
  height: 10px;
  border: 3px solid rgba(255, 248, 242, 0.88);
  background: var(--tw-deep);
  box-shadow: 0 0 0 1px rgba(80, 75, 101, 0.15);
}

.theme-twilight .music-control__disc::after {
  display: none;
}

.theme-twilight .music-control__disc i {
  display: none;
}

.theme-twilight .music-control__copy small {
  margin-top: 3px;
  color: color-mix(in srgb, var(--tw-deep) 62%, transparent);
  font-size: 7.5px;
}

.theme-twilight .music-control__copy {
  max-width: 90px;
  flex: 1;
  opacity: 1;
  transition: max-width 0.35s ease, opacity 0.2s ease;
}

.theme-twilight .music-control__copy strong {
  color: var(--tw-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.theme-twilight .music-control__wave {
  display: flex;
  width: 14px;
  height: 20px;
  flex: 0 0 14px;
  align-items: center;
  justify-content: space-between;
  opacity: 0.54;
  transition: width 0.25s ease, opacity 0.2s ease;
}

.theme-twilight .music-control__wave i {
  width: 1px;
  height: 4px;
  border-radius: 1px;
  background: var(--tw-accent);
  transform-origin: center;
}

.theme-twilight .music-control__wave i:nth-child(1) {
  height: 5px;
}

.theme-twilight .music-control__wave i:nth-child(2) {
  height: 10px;
}

.theme-twilight .music-control__wave i:nth-child(3) {
  height: 14px;
}

.theme-twilight .music-control__wave i:nth-child(4) {
  height: 7px;
}

.theme-twilight .music-control.is-playing .music-control__wave i {
  animation: music-wave 1s ease-in-out infinite alternate;
}

.theme-twilight .music-control.is-playing .music-control__wave i:nth-child(2) {
  animation-delay: -0.55s;
}

.theme-twilight .music-control.is-playing .music-control__wave i:nth-child(3) {
  animation-delay: -0.2s;
}

.theme-twilight .music-control.is-playing .music-control__wave i:nth-child(4) {
  animation-delay: -0.72s;
}

.theme-twilight .music-control.is-compact {
  width: 30px;
  min-height: 30px;
  gap: 0;
  padding: 2px;
  border-color: rgba(255, 249, 240, 0.42);
  border-radius: 50%;
  border-right-width: 1px;
  background: rgba(66, 61, 82, 0.12);
  box-shadow: none;
  color: #fff9f0;
  backdrop-filter: blur(8px);
}

.theme-twilight .music-control.is-compact .music-control__disc {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-color: rgba(255, 249, 240, 0.44);
  background:
    repeating-radial-gradient(circle, transparent 0 3px, rgba(255, 249, 240, 0.18) 3.5px 4px),
    rgba(80, 75, 101, 0.2);
  box-shadow: none;
}

.theme-twilight .music-control.is-compact .music-control__disc::before {
  width: 5px;
  height: 5px;
  border-width: 1px;
  background: rgba(255, 249, 240, 0.76);
  box-shadow: none;
}

.theme-twilight .music-control.is-compact .music-control__copy {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}

.theme-twilight .music-control.is-compact .music-control__wave {
  width: 0;
  flex-basis: 0;
  opacity: 0;
}

.theme-twilight .music-control.is-muted .music-control__disc {
  animation-play-state: paused;
  filter: saturate(0.55);
  opacity: 0.76;
}

.theme-twilight .music-control.is-muted .music-control__disc::after {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  display: block;
  width: 1px;
  height: 25px;
  border: 0;
  background: var(--tw-deep);
  transform: translate(-50%, -50%) rotate(-42deg);
}

.theme-twilight .music-control:focus-visible {
  outline: 1px solid var(--tw-accent);
  outline-offset: 3px;
}

.theme-twilight .hero {
  min-height: 100svh;
  background: #d5a489;
}

.theme-twilight .hero__twilight-photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  transform: scale(1);
  transition: transform 1.45s cubic-bezier(0.2, 0.72, 0.18, 1);
}

.theme-twilight .hero__twilight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: twilight-photo-breathe 14s ease-in-out infinite alternate;
}

.theme-twilight.is-gated .hero__twilight-photo {
  transform: scale(1.055);
}

.theme-twilight .hero__backdrop,
.theme-twilight .hero__frame,
.theme-twilight .hero__floral,
.theme-twilight .hero__couple,
.theme-twilight .hero__date-card,
.theme-twilight .twilight-stamp {
  display: none;
}

.theme-twilight .hero__wash {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(246, 201, 166, 0.26) 0%, rgba(229, 179, 153, 0.04) 43%, rgba(52, 71, 103, 0.78) 100%);
}

.theme-twilight .hero::before {
  position: absolute;
  z-index: 8;
  inset: 15px;
  border: 1px solid rgba(255, 249, 240, 0.5);
  content: "";
  pointer-events: none;
}

.theme-twilight .hero::after {
  position: absolute;
  z-index: 8;
  top: 15px;
  left: 15px;
  width: 76px;
  height: 4px;
  content: "";
  background: #df7664;
}

.theme-twilight .hero__brand {
  --brand-offset-x: 0px;
  --brand-top: max(34px, calc(env(safe-area-inset-top) + 20px));
  --brand-logo-width: 172px;
  --brand-logo-color: #5b5263;
  --brand-title-color: #5b5263;
  --brand-title-size: 7.5px;
  --brand-title-gap: 5px;
  --brand-logo-source: url("/assets/generated/cf-logo.png");
  top: var(--brand-top);
  right: 50%;
  left: auto;
  width: 220px;
  padding: 10px 16px 12px;
  text-align: center;
  transform: translateX(calc(50% + var(--brand-offset-x)));
  animation: none;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.theme-twilight .hero__brand::before {
  position: absolute;
  z-index: -1;
  inset: -18px -36px -12px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(255, 249, 240, 0.62) 0%, rgba(255, 249, 240, 0.2) 48%, transparent 74%);
  pointer-events: none;
}

.theme-twilight .hero__brand .brand-logo {
  width: var(--brand-logo-width);
  margin: 0 auto var(--brand-title-gap);
  background: var(--brand-logo-color);
  -webkit-mask: var(--brand-logo-source) center / contain no-repeat;
  mask: var(--brand-logo-source) center / contain no-repeat;
  opacity: 0.94;
}

.theme-twilight .hero__brand .brand-logo img {
  opacity: 0;
}

.theme-twilight .hero__brand .eyebrow {
  color: var(--brand-title-color);
  font-size: var(--brand-title-size);
  letter-spacing: 0.24em;
  text-shadow: 0 1px 10px rgba(255, 249, 240, 0.8);
}

.theme-twilight .hero__invitation {
  top: auto;
  right: 30px;
  bottom: 88px;
  left: 30px;
  width: auto;
  color: #fff9f0;
  text-align: left;
  text-shadow: 0 2px 18px rgba(42, 57, 87, 0.28);
  animation: none;
  transition: opacity 0.65s ease, transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.theme-twilight .hero__meta-line {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 249, 240, 0.58);
  color: rgba(255, 249, 240, 0.8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.theme-twilight .hero__meta-line i {
  width: 18px;
  height: 1px;
  background: var(--tw-glow);
}

.theme-twilight .hero__invitation > p {
  max-width: 280px;
  font-size: 30px;
  line-height: 1.36;
}

.theme-twilight .hero__invitation h1 {
  justify-content: flex-start;
  gap: 9px;
  margin-top: 15px;
  font-size: 13px;
}

.theme-twilight .hero__invitation h1 i {
  color: #efb5a6;
}

.theme-twilight .hero__invitation > span {
  margin-top: 9px;
  color: rgba(255, 249, 240, 0.78);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.theme-twilight .scroll-cue {
  right: 25px;
  bottom: max(25px, env(safe-area-inset-bottom));
  left: auto;
  color: #fff9f0;
  transform: none;
  transition: opacity 0.55s ease, transform 0.7s ease;
}

.theme-twilight.is-gated .hero__brand,
.theme-twilight.is-gated .hero__invitation,
.theme-twilight.is-gated .scroll-cue,
.theme-twilight.is-gated .hero::after {
  opacity: 0;
}

.theme-twilight.is-gated .hero__brand {
  transform: translate(calc(50% + var(--brand-offset-x)), -12px);
}

.theme-twilight.is-gated .hero__invitation {
  transform: translateY(22px);
}

.theme-twilight.is-gated .scroll-cue {
  transform: translateY(10px);
}

.theme-twilight.twilight-opened .hero__brand {
  transition-delay: 0.5s;
}

.theme-twilight.twilight-opened .hero__invitation {
  transition-delay: 0.68s;
}

.theme-twilight.twilight-opened .scroll-cue {
  transition-delay: 0.9s;
}

.theme-twilight.twilight-opened .hero::after {
  transition: opacity 0.5s 0.45s ease;
}

.theme-twilight .eyebrow {
  color: #d36958;
}

.theme-twilight .welcome {
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(70, 90, 120, 0.055) 32px),
    #fff9f0;
}

.theme-twilight .welcome::before,
.theme-twilight .welcome::after {
  background: rgba(211, 105, 88, 0.4);
}

.theme-twilight .welcome h2 {
  color: #3e5274;
}

.theme-twilight .welcome__note {
  color: #767382;
}

.theme-twilight .countdown {
  padding: 18px 0;
  border-top: 1px solid rgba(70, 90, 120, 0.16);
  border-bottom: 1px solid rgba(70, 90, 120, 0.16);
}

.theme-twilight .countdown strong {
  color: #d36958;
}

.theme-twilight .date-panel {
  position: relative;
  overflow: hidden;
  background: #536884;
  color: #fff9f0;
}

.theme-twilight .date-panel::after {
  position: absolute;
  right: -60px;
  bottom: -86px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 249, 240, 0.2);
  border-radius: 50%;
  content: "";
}

.theme-twilight .date-panel__date {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 249, 240, 0.22);
  color: #fff9f0;
}

.theme-twilight .date-panel__date strong {
  border-color: rgba(255, 249, 240, 0.22);
  color: #f0ab98;
}

.theme-twilight .date-panel__copy,
.theme-twilight .date-panel address,
.theme-twilight .date-panel .action-row {
  position: relative;
  z-index: 1;
}

.theme-twilight .date-panel .eyebrow {
  color: #f0b5a5;
}

.theme-twilight .details-list div {
  border-color: rgba(255, 249, 240, 0.18);
}

.theme-twilight .details-list dt,
.theme-twilight .date-panel address {
  color: rgba(255, 249, 240, 0.65);
}

.theme-twilight .button--line {
  border-color: rgba(255, 249, 240, 0.5);
  color: #fff9f0;
}

.theme-twilight .button--gold,
.theme-twilight .button--dark,
.theme-twilight .submit {
  border-color: #df7664;
  background: #df7664;
  color: #fff9f0;
}

.theme-twilight .photo-story {
  min-height: 520px;
  padding: 22px;
  background: #ead8cc;
}

.theme-twilight .photo-story::before {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 35px;
  padding: 6px 8px;
  content: "08 15 26";
  border: 1px solid rgba(255, 249, 240, 0.74);
  color: #fff9f0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.theme-twilight .photo-story picture,
.theme-twilight .photo-story img {
  min-height: 476px;
}

.theme-twilight .photo-story img {
  object-position: 44% center;
}

.theme-twilight .photo-story__caption {
  right: 10px;
  bottom: 2px;
  width: 74%;
  padding: 18px 20px 20px;
  border-top: 4px solid #df7664;
  background: #fff9f0;
  box-shadow: 0 14px 32px rgba(48, 65, 95, 0.14);
}

.theme-twilight .photo-story__caption p {
  color: #d36958;
}

.theme-twilight .schedule {
  background: #e7d8ce;
}

.theme-twilight .schedule .section-heading::after {
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 22px;
  content: "";
  background: #d36958;
}

.theme-twilight .timeline li {
  border-color: rgba(70, 90, 120, 0.18);
}

.theme-twilight .timeline li > span {
  color: #b28e86;
}

.theme-twilight .timeline time {
  color: #d36958;
}

.theme-twilight .gallery {
  min-height: 1020px;
  padding: 78px 22px 108px;
  background: #6c708c;
}

.theme-twilight .gallery::before {
  position: absolute;
  top: 28px;
  right: 24px;
  content: "NIGHT DANCER · FILM 06";
  color: rgba(255, 249, 240, 0.64);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.theme-twilight .gallery figure {
  overflow: visible;
  padding: 10px 10px 38px;
  background: #fff9f0;
  box-shadow: 0 18px 42px rgba(39, 49, 76, 0.24);
}

.theme-twilight .gallery figure::after {
  position: absolute;
  right: 12px;
  bottom: 13px;
  content: "C & F / 2026";
  color: #7f7a82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.theme-twilight .gallery figure picture.theme-image--twilight {
  display: block;
  height: 100%;
}

.theme-twilight .gallery figure picture.theme-image--default {
  display: none;
}

.theme-twilight .gallery__portrait--left {
  width: 73%;
  height: 522px;
  transform: rotate(-2deg);
}

.theme-twilight .gallery__portrait--right {
  width: 64%;
  height: 432px;
  margin-top: 14px !important;
  border: 0;
  transform: rotate(2.4deg);
}

.theme-twilight .gallery__portrait img {
  object-position: center;
}

.theme-twilight .gallery__words {
  width: 58%;
  margin-top: -32px;
  color: #fff9f0;
  text-align: right;
}

.theme-twilight .gallery__words span {
  font-size: 27px;
  letter-spacing: 0.08em;
}

.theme-twilight .gallery__words strong {
  color: #f0ad9c;
  font-size: 68px;
}

.theme-twilight .gallery__words p {
  color: rgba(255, 249, 240, 0.78);
}

.theme-twilight .rsvp {
  background: #415774;
  color: #fff9f0;
}

.theme-twilight .rsvp .section-heading > p:last-child {
  color: rgba(255, 249, 240, 0.64);
}

.theme-twilight .rsvp .eyebrow {
  color: #f0ad9c;
}

.theme-twilight .rsvp-deck::before,
.theme-twilight .rsvp-deck::after {
  border-color: rgba(255, 249, 240, 0.3);
  background: #8390a5;
  box-shadow: 0 16px 38px rgba(34, 46, 69, 0.16);
}

.theme-twilight .rsvp-deck::before {
  background: #dca69c;
}

.theme-twilight .rsvp-layer {
  border: 0;
  border-top: 4px solid #df7664;
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(70, 90, 120, 0.045) 30px),
    #fff9f0;
  box-shadow: 0 24px 54px rgba(32, 44, 67, 0.28);
  color: #30415f;
}

.theme-twilight .rsvp-progress,
.theme-twilight .form-status,
.theme-twilight .text-button {
  color: #d36958;
}

.theme-twilight .rsvp-choice button:first-child,
.theme-twilight .next-button {
  border-color: #465a78;
  background: #465a78;
  color: #fff9f0;
}

.theme-twilight .rsvp-choice button:last-child {
  background: rgba(255, 249, 240, 0.7);
}

.theme-twilight .closing {
  height: 820px;
  background: #536884;
}

.theme-twilight .closing::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(72, 91, 120, 0.24) 0%, rgba(63, 80, 108, 0.02) 48%, rgba(44, 61, 88, 0.58) 100%);
  pointer-events: none;
}

.theme-twilight .closing > picture,
.theme-twilight .closing > picture > img {
  height: 100%;
}

.theme-twilight .closing > picture > img {
  object-position: center;
}

.theme-twilight .closing__copy {
  z-index: 1;
  top: auto;
  bottom: 92px;
  color: #fff9f0;
  text-shadow: 0 2px 18px rgba(39, 52, 80, 0.3);
}

.theme-twilight .closing__copy .brand-logo {
  filter: brightness(0) invert(1) sepia(0.14);
}

.theme-twilight .closing__copy span {
  color: rgba(255, 249, 240, 0.78);
}

.theme-twilight .quick-actions {
  border-top-color: rgba(70, 90, 120, 0.18);
  background: rgba(255, 249, 240, 0.94);
  box-shadow: 0 -8px 28px rgba(48, 65, 95, 0.12);
  opacity: 0;
  transform: translateY(105%);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.theme-twilight.show-quick-actions .quick-actions {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.theme-twilight .quick-actions a {
  color: #465a78;
}

.theme-twilight .quick-actions span {
  position: relative;
}

.theme-twilight .quick-actions span::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--tw-accent);
  opacity: 0.8;
}

.theme-twilight .quick-actions a:nth-child(2) span::after {
  top: -2px;
  right: -4px;
  bottom: auto;
}

.theme-twilight .quick-actions a + a {
  border-left-color: rgba(70, 90, 120, 0.15);
}

.theme-twilight.palette-b {
  --tw-accent: #c5966c;
  --tw-night: #687c73;
  --tw-deep: #526a61;
  --tw-paper: #f8f3e9;
  --tw-soft: #e5ddd0;
  --tw-glow: #d9b69c;
  --tw-muted: #7d8178;
  --gold: #c5966c;
  --gold-dark: #526a61;
  --ink: #3f544d;
  --muted: #777970;
}

.theme-twilight.palette-c {
  --tw-accent: #b86572;
  --tw-night: #69738d;
  --tw-deep: #505d7a;
  --tw-paper: #faf3f1;
  --tw-soft: #e7d8dc;
  --tw-glow: #d8a7ac;
  --tw-muted: #80758a;
  --gold: #b86572;
  --gold-dark: #505d7a;
  --ink: #46516c;
  --muted: #7d737c;
}

.theme-twilight.palette-d {
  --tw-accent: #c55745;
  --tw-night: #455b79;
  --tw-deep: #344d6c;
  --tw-paper: #fff6e8;
  --tw-soft: #eadbc9;
  --tw-glow: #e4a083;
  --tw-muted: #64718a;
  --gold: #c55745;
  --gold-dark: #344d6c;
  --ink: #2f4563;
  --muted: #77747a;
}

.theme-twilight.palette-e {
  --tw-accent: #bd747a;
  --tw-night: #6b647c;
  --tw-deep: #504b65;
  --tw-paper: #fff8f2;
  --tw-soft: #ead8d5;
  --tw-glow: #dda18f;
  --tw-muted: #827489;
  --gold: #bd747a;
  --gold-dark: #504b65;
  --ink: #464158;
  --muted: #756d76;
}

.theme-twilight[class*="palette-"] {
  --paper: color-mix(in srgb, var(--tw-paper) 86%, var(--tw-soft));
  --paper-deep: var(--tw-soft);
  --white: var(--tw-paper);
  --champagne: var(--tw-glow);
}

.theme-twilight[class*="palette-"] .hero__wash {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--tw-glow) 42%, transparent) 0%,
      color-mix(in srgb, var(--tw-accent) 6%, transparent) 43%,
      color-mix(in srgb, var(--tw-deep) 82%, transparent) 100%
    );
}

.theme-twilight[class*="palette-"] .hero::after,
.theme-twilight[class*="palette-"] .hero__date-card,
.theme-twilight[class*="palette-"] .button--gold,
.theme-twilight[class*="palette-"] .button--dark,
.theme-twilight[class*="palette-"] .submit {
  border-color: var(--tw-accent);
  background-color: var(--tw-accent);
}

.theme-twilight[class*="palette-"] .hero__invitation h1 i,
.theme-twilight[class*="palette-"] .date-panel__date strong,
.theme-twilight[class*="palette-"] .date-panel .eyebrow,
.theme-twilight[class*="palette-"] .gallery__words strong,
.theme-twilight[class*="palette-"] .rsvp .eyebrow {
  color: var(--tw-glow);
}

.theme-twilight[class*="palette-"] .welcome {
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--tw-night) 6%, transparent) 32px),
    var(--tw-paper);
}

.theme-twilight[class*="palette-"] .welcome h2,
.theme-twilight[class*="palette-"] .countdown strong,
.theme-twilight[class*="palette-"] .timeline time,
.theme-twilight[class*="palette-"] .rsvp-progress,
.theme-twilight[class*="palette-"] .form-status,
.theme-twilight[class*="palette-"] .text-button {
  color: var(--tw-accent);
}

.theme-twilight[class*="palette-"] .date-panel {
  background: var(--tw-night);
}

.theme-twilight[class*="palette-"] .photo-story {
  background: color-mix(in srgb, var(--tw-soft) 82%, var(--tw-paper));
}

.theme-twilight[class*="palette-"] .photo-story__caption {
  border-top-color: var(--tw-accent);
  background: var(--tw-paper);
}

.theme-twilight[class*="palette-"] .schedule {
  background: var(--tw-soft);
}

.theme-twilight[class*="palette-"] .gallery {
  background: var(--tw-muted);
}

.theme-twilight[class*="palette-"] .gallery figure {
  background: var(--tw-paper);
}

.theme-twilight[class*="palette-"] .rsvp {
  background: var(--tw-deep);
}

.theme-twilight[class*="palette-"] .rsvp-deck::before {
  background: color-mix(in srgb, var(--tw-accent) 62%, var(--tw-paper));
}

.theme-twilight[class*="palette-"] .rsvp-deck::after {
  background: color-mix(in srgb, var(--tw-night) 70%, var(--tw-paper));
}

.theme-twilight[class*="palette-"] .rsvp-layer {
  border-top-color: var(--tw-accent);
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, color-mix(in srgb, var(--tw-night) 5%, transparent) 30px),
    var(--tw-paper);
  color: var(--ink);
}

.theme-twilight[class*="palette-"] .rsvp-choice button:first-child,
.theme-twilight[class*="palette-"] .next-button {
  border-color: var(--tw-night);
  background: var(--tw-night);
}

.theme-twilight[class*="palette-"] .closing {
  background: var(--tw-night);
}

.theme-twilight.palette-e .hero__wash {
  background:
    linear-gradient(180deg, rgba(236, 186, 166, 0.17) 0%, rgba(178, 140, 149, 0.03) 39%, rgba(75, 70, 96, 0.84) 100%);
}

.theme-twilight.palette-e .hero__date-card {
  border-color: rgba(255, 248, 242, 0.76);
  background:
    linear-gradient(145deg, rgba(205, 133, 129, 0.92), rgba(180, 105, 117, 0.88));
  box-shadow: 0 18px 38px rgba(67, 58, 82, 0.25);
}

.theme-twilight.palette-e .hero__invitation > p {
  text-wrap: balance;
}

.theme-twilight.palette-e .welcome {
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(80, 75, 101, 0.045) 32px),
    radial-gradient(circle at 50% 8%, rgba(221, 161, 143, 0.13), transparent 38%),
    var(--tw-paper);
}

.theme-twilight.palette-e .welcome h2::after {
  display: block;
  width: 38px;
  height: 1px;
  margin: 19px auto 0;
  content: "";
  background: var(--tw-accent);
}

.theme-twilight.palette-e .date-panel {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.025), transparent 44%),
    var(--tw-night);
}

.theme-twilight.palette-e .date-panel::before {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  content: "";
  border: 1px solid rgba(255, 248, 242, 0.23);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(255, 248, 242, 0.035);
}

.theme-twilight.palette-e .date-panel__date {
  padding-top: 22px;
}

.theme-twilight.palette-e .details-list dt {
  color: rgba(255, 248, 242, 0.54);
}

.theme-twilight.palette-e .details-list dd {
  color: #fff8f2;
}

.theme-twilight.palette-e .photo-story {
  background:
    linear-gradient(145deg, #f1e0dc 0%, #dccbd2 100%);
}

.theme-twilight.palette-e .photo-story__caption {
  border-top-width: 3px;
  box-shadow: 0 18px 38px rgba(74, 65, 88, 0.18);
}

.theme-twilight.palette-e .schedule {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.34), transparent 32%),
    #ead8d5;
}

.theme-twilight.palette-e .schedule::after {
  position: absolute;
  top: 74px;
  right: 25px;
  content: "08 / 15";
  color: rgba(80, 75, 101, 0.32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.theme-twilight.palette-e .timeline li {
  grid-template-columns: 26px 60px 1fr;
  border-color: rgba(80, 75, 101, 0.16);
}

.theme-twilight.palette-e .timeline time {
  color: #ad6872;
}

.theme-twilight.palette-e .timeline strong {
  color: #464158;
}

.theme-twilight.palette-e .timeline p {
  color: #746b73;
}

.theme-twilight.palette-e .gallery {
  background:
    linear-gradient(180deg, #8a7b91 0%, #756a80 48%, #655d75 100%);
}

.theme-twilight.palette-e .gallery::after {
  position: absolute;
  right: 24px;
  bottom: 49%;
  left: 24px;
  height: 1px;
  content: "";
  background: rgba(255, 248, 242, 0.22);
}

.theme-twilight.palette-e .gallery figure {
  box-shadow: 0 22px 48px rgba(52, 46, 67, 0.3);
}

.theme-twilight.palette-e .gallery__words strong {
  color: #e5a38f;
}

.theme-twilight.palette-e .rsvp {
  background:
    linear-gradient(180deg, #57516b 0%, #49465f 100%);
}

.theme-twilight.palette-e .rsvp-deck::before {
  background: #c98d91;
}

.theme-twilight.palette-e .rsvp-deck::after {
  background: #7e758c;
}

.theme-twilight.palette-e .rsvp-layer {
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(80, 75, 101, 0.045) 30px),
    #fff8f2;
  box-shadow: 0 26px 58px rgba(42, 39, 57, 0.36);
}

.theme-twilight.palette-e .rsvp-choice button:first-child,
.theme-twilight.palette-e .next-button {
  border-color: #655d78;
  background: #655d78;
}

.theme-twilight.palette-e .quick-actions {
  border-top-color: rgba(80, 75, 101, 0.14);
  background: rgba(255, 248, 242, 0.95);
}

.palette-picker {
  position: fixed;
  z-index: 60;
  right: max(12px, calc((100vw - min(100vw, 520px)) / 2 + 12px));
  bottom: max(70px, calc(env(safe-area-inset-bottom) + 70px));
  left: max(12px, calc((100vw - min(100vw, 520px)) / 2 + 12px));
  padding: 11px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 250, 244, 0.93);
  box-shadow: 0 16px 44px rgba(45, 55, 76, 0.22);
  color: #34455f;
  backdrop-filter: blur(16px);
}

.palette-picker header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.palette-picker header span {
  color: #817980;
  font-size: 10px;
}

.palette-picker header strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.palette-picker__options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.palette-picker__options button {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
  height: 35px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(54, 69, 95, 0.14);
  background: #fff;
  cursor: pointer;
}

.palette-picker__options button.is-active {
  border-color: #34455f;
  box-shadow: inset 0 0 0 1px #34455f;
}

.palette-picker__options i {
  height: 100%;
  background: var(--swatch);
}

.palette-picker__options span {
  position: absolute;
  right: 3px;
  bottom: 2px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  color: #34455f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
}

.palette-picker > p {
  margin: 7px 0 0;
  color: #77727a;
  font-size: 10px;
  line-height: 1.5;
}

.palette-picker > a {
  display: inline-block;
  margin-top: 5px;
  color: #34455f;
  font-size: 10px;
  text-underline-offset: 3px;
}

@keyframes twilight-gate-enter {
  from {
    opacity: 0;
    transform: translateY(calc(-47% + 18px));
  }

  to {
    opacity: 1;
    transform: translateY(-47%);
  }
}

@keyframes twilight-photo-breathe {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.055) translate3d(-0.6%, -0.4%, 0);
  }
}

@keyframes twilight-ticket-float {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }

  50% {
    transform: rotate(1deg) translateY(-7px);
  }
}

@keyframes modern-date-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.6);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes rsvp-layer-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.988);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-background-breathe {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.07) translate3d(-1%, -0.5%, 0);
  }
}

@keyframes hero-paper-float {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }

  50% {
    transform: rotate(2deg) translateY(-8px);
  }
}

@keyframes hero-couple-enter {
  from {
    opacity: 0;
    transform: translate3d(-18px, 26px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes music-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes music-wave {
  from {
    transform: scaleY(0.7);
  }

  to {
    transform: scaleY(3.4);
  }
}

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

  .scroll-cue b {
    animation: none;
  }

  .hero__backdrop,
  .hero__date-card,
  .hero__couple,
  .hero__brand,
  .hero__invitation,
  .music-control__disc {
    animation: none;
  }

  .music-control__wave i {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 360px) {
  .hero__invitation {
    right: 4%;
    width: 39%;
  }

  .hero__invitation > p {
    font-size: 17px;
  }

  .section-band {
    padding-right: 22px;
    padding-left: 22px;
  }

  .date-panel__date {
    gap: 12px;
  }

  .date-panel__date strong {
    padding: 0 15px;
    font-size: 62px;
  }

  .gallery__words strong {
    font-size: 62px;
  }
}

.poster-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #ece4da;
  padding: 18px;
}

.poster-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #dedbd8;
  box-shadow: 0 28px 70px rgba(36, 26, 18, 0.24);
}

.poster-body.is-export {
  padding: 0;
  background: #f3eee8;
}

.poster-body.is-export .poster-frame {
  width: 100vw;
  height: 100vh;
  box-shadow: none;
}

.poster-body.is-export .poster-copy {
  left: 62px;
  right: 62px;
}

.poster-body.is-export .poster-copy--top {
  top: 92px;
}

.poster-body.is-export .poster-copy--top p {
  margin-bottom: 30px;
  font-size: 28px;
}

.poster-body.is-export .poster-copy--top h1 {
  font-size: 90px;
}

.poster-body.is-export .poster-copy--top strong {
  margin-top: 32px;
  font-size: 38px;
}

.poster-body.is-export .poster-copy--bottom {
  bottom: 72px;
}

.poster-body.is-export .qr-box,
.poster-body.is-export .qr-placeholder {
  width: 248px;
  height: 248px;
  border-width: 18px;
  font-size: 34px;
}

.poster-body.is-export .qr-placeholder small {
  padding: 0 18px;
  font-size: 24px;
}

.poster-body.is-export .poster-copy--bottom p {
  margin-top: 30px;
  font-size: 42px;
}

.poster-body.is-export .poster-copy--bottom small {
  font-size: 32px;
}

.poster-frame img {
  height: 100%;
  object-fit: cover;
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 242, 238, 0.88) 0%, rgba(245, 242, 238, 0.22) 24%, rgba(245, 242, 238, 0) 52%, rgba(30, 25, 21, 0.52) 100%);
}

.poster-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 1;
  text-align: center;
}

.poster-copy--top {
  top: 36px;
  color: var(--ink);
}

.poster-copy--top p {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.poster-copy--top h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 500;
  font-size: 35px;
}

.poster-copy--top strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
}

.poster-copy--bottom {
  bottom: 28px;
  color: #fffaf4;
  text-shadow: 0 2px 14px rgba(35, 25, 18, 0.4);
}

.poster-copy--bottom p {
  margin: 12px 0 4px;
  font-weight: 600;
}

.poster-copy--bottom small {
  color: rgba(255, 250, 244, 0.85);
}

.qr-box,
.qr-placeholder {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  background: #f9f4ec;
  color: var(--ink);
  text-shadow: none;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(30, 27, 24, 0.22);
}

.qr-box {
  display: block;
  padding: 6px;
  background: #fff;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder small {
  display: block;
  padding: 0 6px;
  color: var(--ink);
  font-size: 10px;
}

.admin-body {
  min-height: 100vh;
  background: var(--paper);
}

.admin-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.admin-header {
  padding: 18px 0 24px;
}

.admin-header h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-weight: 500;
  font-size: 36px;
}

.admin-header p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 140px;
  gap: 12px;
  align-items: end;
  padding-bottom: 24px;
}

.admin-login span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-login input,
.admin-login select {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.metric-grid article {
  min-height: 96px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.metric-grid span {
  color: var(--muted);
  font-size: 12px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
}

.admin-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.admin-actions .button {
  min-width: 120px;
}

.guest-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.guest-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.guest-table th,
.guest-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guest-table th {
  color: var(--muted);
  font-weight: 500;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 680px) {
  .admin-login {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-actions {
    justify-content: stretch;
  }

  .admin-actions .button {
    flex: 1;
  }
}
