:root {
  color-scheme: light;
  --paper: #fbf8f2;
  --paper-deep: #f3ecdf;
  --paper-shadow: #e2d4c0;
  --ink: #323232;
  --muted-ink: #747474;
  --eggplant: #2c3c2a;
  --eggplant-dark: #2c3c2a;
  --mature-pink: #b98a9b;
  --sage: #7c8d76;
  --sage-light: #dce2d7;
  --gold: #bba171;
  --line: #dfd3c4;
  --white: #ffffff;
  --danger: #8b3d48;
  --success: #46674e;
  --shadow: 0 18px 50px rgba(62, 37, 57, 0.12);
  --radius-large: 28px;
  --sagegreen: #cfe0c1;
  --radius-medium: 16px;
  --radius-small: 10px;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(185, 138, 155, 0.11),
      transparent 22rem
    ),
    radial-gradient(
      circle at 92% 42%,
      rgba(124, 141, 118, 0.12),
      transparent 26rem
    ),
    var(--paper);
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 8px 12px;
  color: var(--white);
  background: var(--eggplant-dark);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.page-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
  border-bottom: 1px solid rgba(74, 48, 72, 0.12);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--eggplant);
  text-decoration: none;
}

.wordmark-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: -0.1em;
  background: var(--eggplant);
  border-radius: 50%;
}

.wordmark-mark span {
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0;
  line-height: 0.2;
}

.wordmark-text,
.header-note,
.site-footer {
  color: var(--eggplant);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark-text i {
  color: var(--eggplant);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: normal;
  text-transform: none;
}

.header-note {
  white-space: nowrap;
}

main {
  flex: 1;
}

.landing-view,
.rsvp-view {
  padding: clamp(64px, 9vw, 116px) 0 88px;
}

.landing-view {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.landing-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.landing-ornament span {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--mature-pink);
  border-radius: 50%;
}

.landing-ornament span:nth-child(2) {
  width: 14px;
  height: 14px;
  background: var(--sage);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 9vw, 92px);
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--eggplant);
  font-size: 0.72em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 38px);
}

.landing-copy,
.section-copy,
.confirmation-view > p:not(.eyebrow),
.hero-summary {
  color: var(--sage);
  font-size: 17px;
  line-height: 1.75;
}

.landing-signoff {
  margin: 30px 0 42px;
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: 22px;
  font-style: italic;
}

.landing-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  color: var(--eggplant);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.landing-card-divider {
  width: 5px;
  height: 5px;
  background: var(--mature-pink);
  border-radius: 50%;
}

.hero-intro {
  max-width: 760px;
  margin: 0 auto clamp(56px, 9vw, 100px);
  text-align: center;
}

.hero-intro h1 {
  margin-bottom: 16px;
}

.hero-summary {
  max-width: 560px;
  margin: 0 auto;
}

.invitation-section,
.rsvp-section,
.confirmation-view {
  max-width: 850px;
  margin: 0 auto;
}

.invitation-section {
  padding: clamp(28px, 6vw, 66px);
  background: var(--sagegreen);
  border: 1px solid rgba(223, 211, 196, 0.9);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 600px;
  margin-bottom: 40px;
}

.section-copy {
  margin-bottom: 0;
  font-size: 15px;
}

.invitation-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 0;
}

.envelope-scene {
  display: grid;
  place-items: center;
  width: min(100%, 370px);
  aspect-ratio: 1.2 / 1;
  perspective: 1200px;
}

.envelope {
  position: relative;
  width: min(84%, 330px);
  aspect-ratio: 1.46 / 1;
  background: #d8c6b1;
  border-radius: 3px 3px 9px 9px;
  box-shadow: 0 22px 34px rgba(74, 48, 72, 0.22);
  transform: rotate(-2deg);
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 700ms ease;
}

.envelope::before,
.envelope::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
}

.envelope::before {
  background: linear-gradient(
    145deg,
    transparent 49.5%,
    rgba(104, 68, 85, 0.16) 50%,
    transparent 51%
  );
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.envelope::after {
  background: linear-gradient(
    35deg,
    transparent 49.5%,
    rgba(104, 68, 85, 0.13) 50%,
    transparent 51%
  );
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.envelope-paper {
  position: absolute;
  z-index: 1;
  top: -7%;
  left: 10%;
  width: 80%;
  height: 74%;
  background: var(--paper);
  border: 1px solid rgba(74, 48, 72, 0.14);
  box-shadow: 0 3px 8px rgba(74, 48, 72, 0.12);
  transform: translateY(9%);
  transition: transform 800ms 100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.envelope-paper::before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "M  &  P";
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: clamp(21px, 4vw, 30px);
  letter-spacing: 0.07em;
  transform: translate(-50%, -50%);
}

.envelope-flap {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 68%;
  background: #cdb89f;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    z-index 0ms 300ms;
}

.envelope-pocket {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 65%;
  background: #d8c6b1;
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
}

.envelope-seal {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: 12px;
  letter-spacing: -0.08em;
  background: var(--paper);
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(56, 35, 56, 0.24);
  transform: translate(-50%, -50%);
  transition:
    opacity 300ms ease,
    transform 550ms ease;
}

.envelope-seal span {
  color: #cdb89f;
  font-size: 10px;
  letter-spacing: 0;
}

.envelope.is-open {
  box-shadow: 0 30px 50px rgba(74, 48, 72, 0.17);
  transform: rotate(0deg) translateY(12px);
}

.envelope.is-open .envelope-flap {
  z-index: 0;
  transform: rotateX(180deg);
}

.envelope.is-open .envelope-paper {
  transform: translateY(-54%);
}

.envelope.is-open .envelope-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
}

.open-button {
  margin-top: -3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--eggplant);
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 0 8px 20px rgba(74, 48, 72, 0.2);
}

.button-primary:hover:not(:disabled) {
  background: var(--eggplant-dark);
  border-color: var(--eggplant-dark);
  color: var(--white);
}

.button-secondary {
  color: var(--eggplant);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover:not(:disabled) {
  background: var(--paper-deep);
  border-color: var(--gold);
}

.invitation-gallery {
  margin-top: 74px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.invitation-gallery.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-heading {
  margin-bottom: 26px;
  text-align: center;
}

.gallery-heading .eyebrow {
  margin-bottom: 9px;
}

.gallery-heading h3 {
  margin-bottom: 7px;
}

.gallery-note {
  margin-bottom: 0;
  color: var(--muted-ink);
  font-size: 13px;
}

.invitation-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

.invitation-page {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 10px 14px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 12px 25px rgba(74, 48, 72, 0.1);
  cursor: zoom-in;
  transform: rotate(calc((var(--page-index) - 1) * 0.45deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.invitation-page:hover {
  z-index: 1;
  box-shadow: 0 18px 35px rgba(74, 48, 72, 0.15);
  transform: translateY(-4px) rotate(0deg);
}

.invitation-page img,
.image-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-deep);
}

.invitation-page:focus-visible {
  outline-offset: 7px;
}

.image-fallback {
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: 24px;
  text-align: center;
}

.invitation-page-caption {
  display: block;
  padding-top: 10px;
  color: var(--muted-ink);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.invitation-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  background: rgba(33, 22, 32, 0.82);
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease;
}

.invitation-lightbox.is-open {
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1120px);
  height: min(100%, 980px);
  padding: 18px clamp(12px, 3vw, 34px) 14px;
  background: var(--sagegreen);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.lightbox-title {
  margin: 0;
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: 22px;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px 8px 16px;
  color: var(--eggplant);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lightbox-close:hover {
  background: var(--eggplant);
  border-color: var(--gold);
  color: var(--white);
}

.lightbox-close span {
  color: var(--mature-pink);
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 0.7;
}

.lightbox-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  gap: clamp(8px, 2vw, 24px);
  margin: 14px 0 8px;
  touch-action: pan-y;
}

.lightbox-image-frame {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  flex: 1 1 auto;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(74, 48, 72, 0.18);
}

.lightbox-fallback {
  display: grid;
  place-items: center;
  width: min(100%, 600px);
  aspect-ratio: 1 / 1;
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: 26px;
  text-align: center;
  background: var(--paper-deep);
}

.lightbox-nav {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  color: var(--eggplant);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 7px 16px rgba(74, 48, 72, 0.12);
}

.lightbox-nav:hover:not(:disabled) {
  color: var(--white);
  background: var(--eggplant);
  border-color: var(--eggplant);
}

.lightbox-nav:disabled {
  cursor: default;
  opacity: 0.3;
}

.lightbox-instruction {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted-ink);
  font-size: 12px;
  text-align: center;
}

.rsvp-section {
  padding: clamp(72px, 10vw, 118px) 0 0;
}

.rsvp-section .section-heading {
  max-width: 650px;
}

.rsvp-form {
  padding: clamp(24px, 5vw, 50px);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: 0 12px 36px rgba(74, 48, 72, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-group,
.count-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label,
.count-wrapper label {
  color: var(--eggplant);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.field-group input,
.count-wrapper input {
  width: 100%;
  min-height: 51px;
  padding: 12px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field-group input::placeholder,
.count-wrapper input::placeholder {
  color: #a39599;
}

.field-group input:focus,
.count-wrapper input:focus {
  border-color: var(--eggplant);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(74, 48, 72, 0.1);
}

.event-fields {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.event-card {
  min-width: 0;
  margin: 0;
  padding: 22px;
  background: rgba(249, 246, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.event-legend {
  padding: 0 9px;
  color: var(--eggplant);
  font-family:
    Iowan Old Style,
    Baskerville,
    Georgia,
    serif;
  font-size: 29px;
  line-height: 1;
}

.event-prompt {
  margin: 6px 0 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.event-note,
.count-note {
  color: var(--muted-ink);
  font-size: 12px;
}

.event-note {
  margin-bottom: 17px;
}

.status-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.status-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.status-option {
  display: grid;
  place-items: center;
  min-height: 45px;
  padding: 9px;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.status-option:hover {
  border-color: var(--mature-pink);
}

.status-options input:checked + .status-option {
  color: var(--white);
  background: var(--eggplant);
  border-color: var(--eggplant);
}

.status-options input:focus-visible + .status-option {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.count-wrapper {
  max-width: 280px;
  margin-top: 18px;
}

.count-note {
  margin-top: -2px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 28px 0 24px;
  padding: 15px 17px;
  color: var(--muted-ink);
  background: var(--sage-light);
  border-radius: var(--radius-small);
}

.privacy-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.privacy-note-icon {
  flex: 0 0 auto;
  color: var(--sage);
  font-size: 15px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
}

.form-status {
  min-height: 21px;
  margin: 0;
  color: var(--muted-ink);
  font-size: 13px;
}

.form-status[data-kind="error"] {
  color: var(--danger);
}

.form-status[data-kind="loading"] {
  color: var(--eggplant);
}

.confirmation-view {
  padding: clamp(50px, 9vw, 90px) 24px;
  text-align: center;
}

.confirmation-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 28px;
  color: var(--white);
  font-size: 28px;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(70, 103, 78, 0.2);
}

.confirmation-view > p:not(.eyebrow) {
  max-width: 490px;
  margin: 0 auto 30px;
  font-size: 16px;
}

.site-footer {
  padding: 28px 0 32px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.submission-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.noscript-message {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  max-width: 680px;
  margin: auto;
  padding: 16px 18px;
  color: var(--white);
  background: var(--eggplant-dark);
  border-radius: 10px;
}

@media (max-width: 680px) {
  .page-shell {
    padding: 0 16px;
  }

  .site-header {
    min-height: 74px;
  }

  .wordmark-text {
    display: none;
  }

  .header-note {
    font-size: 10px;
  }

  .landing-view,
  .rsvp-view {
    padding-top: 62px;
    padding-bottom: 60px;
  }

  .landing-card {
    flex-direction: column;
    gap: 7px;
    border-radius: 18px;
  }

  .landing-card-divider {
    width: 5px;
    height: 5px;
  }

  .invitation-section {
    padding: 26px 18px 34px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .rsvp-form {
    padding: 20px 16px 24px;
    border-radius: 20px;
  }

  .event-card {
    padding: 18px 15px;
  }

  .status-option {
    font-size: 12px;
  }

  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-status {
    text-align: center;
  }

  .form-actions .button {
    width: 100%;
  }

  .invitation-lightbox {
    padding: 0;
  }

  .lightbox-dialog {
    width: 100%;
    height: 100%;
    padding: 14px 10px 12px;
    border: 0;
    border-radius: 0;
  }

  .lightbox-title {
    font-size: 19px;
  }

  .lightbox-viewport {
    gap: 5px;
    margin-top: 10px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .lightbox-image {
    max-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
