@font-face {
  font-family: "Corsivo Invito";
  src: url("/corsivo.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: #3b2b25;
  background: #f6efe8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(182, 132, 106, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(138, 112, 87, 0.10), transparent 28%),
    linear-gradient(180deg, #f8f1ea, #fffaf6 42%, #f6ede5);
}

body.envelope-lock {
  overflow: hidden;
}

a {
  color: #8c4f39;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3rem) 0;
}

.invite-shell {
  padding-top: clamp(1.2rem, 3vw, 2.4rem);
}

.narrow {
  width: min(720px, calc(100% - 2rem));
}

.card,
.alert,
.success {
  border: 1px solid rgba(150, 111, 89, 0.14);
  border-radius: 28px;
  padding: clamp(1.25rem, 4vw, 2.2rem);
  background: rgba(255, 252, 249, 0.94);
  box-shadow: 0 22px 60px rgba(63, 45, 37, 0.08);
  margin-bottom: 1rem;
}

.hero {
  position: relative;
  padding: clamp(1rem, 2vw, 2rem) 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  top: 0.6rem;
  left: 0;
  width: clamp(7rem, 18vw, 12rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(157, 101, 78, 0.7), rgba(157, 101, 78, 0));
}

.hero::after {
  right: clamp(0.5rem, 2vw, 1.5rem);
  top: clamp(0.4rem, 1.8vw, 1.2rem);
  width: clamp(0.55rem, 1vw, 0.8rem);
  height: clamp(0.55rem, 1vw, 0.8rem);
  background: rgba(157, 101, 78, 0.14);
}

.hero-inner {
  max-width: 36rem;
}

.page-linkback {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.page-linkback a,
.text-link {
  color: #8c4f39;
  text-decoration: none;
}

.page-linkback a:hover,
.text-link:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 8vw, 4.5rem);
  line-height: 1;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-weight: 600;
  color: #2f211d;
}

.hero-kicker {
  display: block;
  margin-bottom: 0.7rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.04em;
  color: #9d654e;
}

.hero-copy,
.muted {
  max-width: 62ch;
}

.hero-copy {
  margin: 0;
  font-size: 1.05rem;
  color: #644d43;
}

.hero-note {
  margin: 1.2rem 0 0;
  max-width: 28ch;
  font-size: 0.98rem;
  color: #876557;
}

.landing-shell {
  padding-top: clamp(1rem, 4vw, 3rem);
}

.invitation-landing {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #eee5dc, #e6dcd1 62%, #e1d6ca);
}

.invitation-landing::before,
.invitation-landing::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.55;
}

.invitation-landing::before {
  top: 0;
  right: 0;
  width: min(22vw, 260px);
  height: min(30vw, 360px);
  background-image: url("/invitation-bloom-top.webp");
  background-position: top right;
}

.invitation-landing::after {
  left: 0;
  bottom: 0;
  width: min(22vw, 290px);
  height: min(22vw, 260px);
  background-image: url("/invitation-bloom-bottom.webp");
  background-position: bottom left;
}

.invitation-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vh, 4.5rem) clamp(1rem, 4vw, 3rem);
  isolation: isolate;
  overflow: hidden;
}

.invitation-sheet {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
  justify-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.3rem, 4vw, 4rem);
  border: 1px solid rgba(150, 111, 89, 0.18);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(248, 241, 234, 0.96)),
    linear-gradient(180deg, rgba(167, 178, 143, 0.06), transparent 28%);
  box-shadow: 0 28px 80px rgba(63, 45, 37, 0.12);
  z-index: 1;
  width: min(100%, 46rem);
}

.invitation-sheet::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(184, 149, 127, 0.18);
  border-radius: 28px;
  pointer-events: none;
}

.invitation-sheet > * {
  position: relative;
  z-index: 1;
}

.envelope-shell {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  pointer-events: none;
}

.has-envelope-motion .envelope-shell {
  display: block;
}

.envelope-shell[hidden] {
  display: none !important;
}

.envelope-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(73, 60, 51, 0.14), rgba(73, 60, 51, 0.06) 20%, rgba(73, 60, 51, 0.14));
  box-shadow: inset 0 0 120px rgba(58, 49, 42, 0.18);
  transition: opacity 420ms ease-out;
}

.envelope-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background:
    linear-gradient(180deg, rgba(246, 237, 228, 0.4), rgba(108, 90, 77, 0.16), rgba(246, 237, 228, 0.4));
  opacity: 0.8;
  transform: translateX(-50%);
  transition: opacity 320ms ease-out;
}

.envelope-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(180deg, #a9af9d, #a1a895 56%, #9ba28f);
  transition:
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 980ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 340ms ease-out;
}

.envelope-panel::before,
.envelope-panel::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.38;
  mix-blend-mode: multiply;
}

.envelope-panel-left {
  left: 0;
  box-shadow:
    inset -18px 0 28px rgba(60, 51, 45, 0.18),
    inset -1px 0 0 rgba(244, 235, 225, 0.35);
}

.envelope-panel-left::before {
  top: -1.4rem;
  left: -2.4rem;
  width: min(42vw, 18rem);
  height: min(42vw, 18rem);
  background-image: url("/invitation-bloom-top.webp");
}

.envelope-panel-left::after {
  bottom: -2rem;
  left: -1.8rem;
  width: min(38vw, 15rem);
  height: min(38vw, 15rem);
  background-image: url("/invitation-bloom-bottom.webp");
}

.envelope-panel-right {
  right: 0;
  box-shadow:
    inset 18px 0 28px rgba(60, 51, 45, 0.18),
    inset 1px 0 0 rgba(244, 235, 225, 0.35);
}

.envelope-panel-right::before {
  top: -1.2rem;
  right: -2.6rem;
  width: min(34vw, 15rem);
  height: min(34vw, 15rem);
  background-image: url("/invitation-bloom-top.webp");
  transform: scaleX(-1);
}

.envelope-panel-right::after {
  right: -2.2rem;
  bottom: -1.8rem;
  width: min(42vw, 18rem);
  height: min(42vw, 18rem);
  background-image: url("/invitation-bloom-bottom.webp");
  transform: scaleX(-1);
}

.envelope-band {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 0.28rem;
  z-index: 5;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(250, 244, 232, 0.88), rgba(216, 199, 181, 0.95));
  box-shadow:
    0 0 0 1px rgba(170, 148, 129, 0.18),
    0 4px 12px rgba(86, 70, 58, 0.12);
  transform-origin: center;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 280ms ease-out;
}

.envelope-band-left {
  transform: translateY(-50%) rotate(8deg);
}

.envelope-band-right {
  transform: translateY(-50%) rotate(-8deg);
}

.envelope-seal-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  transition:
    transform 460ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms ease-out;
  pointer-events: auto;
}

.envelope-seal-button {
  width: clamp(5rem, 9vw, 6.8rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease;
}

.envelope-seal-button:hover,
.envelope-seal-button:focus-visible {
  transform: scale(1.04);
}

.envelope-seal-button:focus-visible {
  outline: 2px solid rgba(140, 79, 57, 0.45);
  outline-offset: 4px;
}

.envelope-seal {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(69, 52, 40, 0.18));
}

.envelope-seal-hint {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5ede3;
  text-shadow: 0 2px 6px rgba(76, 62, 53, 0.25);
}

.has-envelope-motion .invitation-stage[data-envelope="closed"] .invitation-sheet {
  opacity: 0;
  transform: translateY(4vh) scale(0.96);
}

.has-envelope-motion .invitation-sheet {
  transition:
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .invitation-sheet,
.has-envelope-motion .invitation-stage[data-envelope="open"] .invitation-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-panel-left {
  transform: translateX(-104%);
  box-shadow: inset -4px 0 10px rgba(60, 51, 45, 0.1);
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-panel-right {
  transform: translateX(104%);
  box-shadow: inset 4px 0 10px rgba(60, 51, 45, 0.1);
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-shell::before,
.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-shell::after {
  opacity: 0;
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-band-left {
  transform: translate(-12%, -50%) rotate(14deg);
  opacity: 0;
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-band-right {
  transform: translate(12%, -50%) rotate(-14deg);
  opacity: 0;
}

.has-envelope-motion .invitation-stage[data-envelope="opening"] .envelope-seal-wrap {
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
}

.invitation-announcement,
.invitation-line {
  margin: 0;
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #605852;
  text-align: center;
}

.invitation-pair {
  width: min(100%, 34rem);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.invitation-name {
  display: grid;
  gap: 0.2rem;
  width: fit-content;
  justify-items: center;
  text-align: center;
}

.invitation-name strong {
  margin: 0;
  display: block;
  padding-bottom: 1.7rem;
  font-family: "Corsivo Invito", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 0.8;
  color: #a76035;
}

.invitation-name span {
  margin: 0;
  position: relative;
  z-index: 1;
  justify-self: end;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
  color: #a76035;
}

.invitation-ampersand {
  align-self: center;
  font-family: "Corsivo Invito", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  margin: -0.15rem 0 0.25rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 0.85;
  color: #6a7457;
  text-align: center;
}

.invitation-detail {
  margin: 0;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  letter-spacing: 0.02em;
  color: #4f4843;
  text-align: center;
}

.invitation-place {
  margin: 0 0 0.4rem;
  font-family: "Corsivo Invito", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.75vw, 1.45rem);
  line-height: 0.9;
  text-align: center;
  color: #6a7457;
}

.invitation-cta {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  width: min(100%, 34rem);
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

.invitation-cta-copy {
  margin: 0;
  text-align: center;
  max-width: 32ch;
  color: #60483f;
}

.invitation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.1rem;
  align-items: center;
}

h2 {
  margin-top: 1.5rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

input,
select,
textarea,
button {
  width: 100%;
  border: 1px solid #dbc4b6;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fffdfa;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(156, 101, 78, 0.22);
  outline-offset: 2px;
  border-color: #b17257;
}

button,
.button-link {
  display: inline-block;
  border: 0;
  background: linear-gradient(180deg, #9b5f46, #7f4833);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(127, 72, 51, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

button:hover,
.button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(127, 72, 51, 0.26);
  filter: saturate(1.03);
}

.form {
  display: grid;
  gap: 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.invite-stage {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
}

.photo-stage {
  align-items: center;
}

.invite-form-wrap {
  min-width: 0;
}

.invite-form {
  margin-bottom: 0.85rem;
}

.counters label {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid #e6d6cb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.detail-section + .detail-section {
  padding-top: 0.6rem;
}

.section-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.4rem;
}

.section-heading h2 {
  margin: 0;
}

.section-heading .muted {
  margin: 0;
}

.member-card {
  display: grid;
  gap: 0.85rem;
  border: 0;
  border-top: 1px solid #e6d7cc;
  border-radius: 0;
  padding: 1.1rem 0 0.35rem;
  margin: 1rem 0 0;
  background: transparent;
}

.member-card legend {
  padding-right: 0.65rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-size: 1.15rem;
  color: #6a4c40;
}

.upload-form input[type="file"] {
  padding: 0.95rem;
  background: rgba(255, 252, 249, 0.96);
}

.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
}

.check input {
  width: auto;
}

.alert {
  border: 1px solid #d95858;
  color: #842929;
  background: #fff3f3;
}

.success {
  border: 1px solid #6ea96e;
  color: #286228;
  background: #f1fff1;
}

.muted,
.center-link {
  color: #71574d;
}

.center-link,
.thanks {
  text-align: center;
}

.center-link {
  margin-top: 0.35rem;
}

.gallery-shell {
  display: grid;
  gap: 1.5rem;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.gallery-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 12rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-tile {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(150, 111, 89, 0.14);
  border-radius: 24px;
  background: rgba(255, 252, 249, 0.92);
  box-shadow: 0 18px 48px rgba(63, 45, 37, 0.06);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(63, 45, 37, 0.09);
}

.gallery-tile img,
.gallery-video-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
}

.gallery-video-placeholder {
  display: grid;
  place-content: center;
  gap: 0.4rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(167, 178, 143, 0.24), rgba(155, 95, 70, 0.16));
  color: #5f483e;
}

.gallery-video-placeholder span {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  font-size: 1.35rem;
}

.gallery-video-placeholder small {
  font-size: 0.9rem;
}

.gallery-meta {
  font-size: 0.94rem;
  color: #6c5449;
}

.gallery-dialog {
  width: min(92vw, 1100px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: rgba(255, 252, 249, 0.98);
  box-shadow: 0 30px 90px rgba(47, 33, 29, 0.24);
}

.gallery-dialog::backdrop {
  background: rgba(47, 33, 29, 0.48);
  backdrop-filter: blur(2px);
}

.gallery-stage {
  display: grid;
  place-items: center;
  min-height: min(68vh, 760px);
  padding: clamp(2rem, 4vw, 3rem);
}

.gallery-stage img,
.gallery-stage video {
  max-width: 100%;
  max-height: 62vh;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(47, 33, 29, 0.14);
}

.gallery-caption {
  display: grid;
  gap: 0.25rem;
  padding: 0 2rem 2rem;
}

.gallery-caption p {
  margin: 0;
  color: #6c5449;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 252, 249, 0.96);
  color: #7f4833;
  box-shadow: 0 10px 24px rgba(47, 33, 29, 0.12);
}

.gallery-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.6rem;
}

.gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

.gallery-nav.prev {
  left: 1rem;
}

.gallery-nav.next {
  right: 1rem;
}

.empty-gallery {
  text-align: center;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stats span {
  border-radius: 999px;
  background: #f1e2d7;
  padding: 0.45rem 0.8rem;
}

.admin-item {
  border-top: 1px solid #eadbd1;
  padding: 1rem 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #eadbd1;
  padding: 0.6rem;
  text-align: left;
}

@media (max-width: 760px) {
  .invite-stage {
    grid-template-columns: 1fr;
  }

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

  .hero-inner {
    max-width: none;
  }

  .invitation-sheet {
    border-radius: 28px;
    padding-top: 2.4rem;
    padding-bottom: 3.4rem;
  }

  .invitation-landing::before {
    width: min(35vw, 150px);
    height: min(52vw, 220px);
  }

  .invitation-landing::after {
    width: min(36vw, 160px);
    height: min(36vw, 150px);
  }

  .invitation-sheet::before {
    inset: 0.7rem;
  }

  .envelope-panel-left::before,
  .envelope-panel-right::after {
    width: min(48vw, 12rem);
    height: min(48vw, 12rem);
  }

  .envelope-panel-left::after,
  .envelope-panel-right::before {
    width: min(42vw, 10rem);
    height: min(42vw, 10rem);
  }

  .envelope-seal-wrap {
    gap: 0.4rem;
  }

  .envelope-seal-button {
    width: clamp(4.1rem, 16vw, 5.2rem);
  }

  .envelope-band {
    left: 15%;
    right: 15%;
  }

  .gallery-header {
    flex-direction: column;
    align-items: start;
  }

  .gallery-actions {
    min-width: 0;
  }

  .gallery-close,
  .gallery-nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .gallery-nav.prev {
    left: 0.5rem;
  }

  .gallery-nav.next {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .invitation-preview,
  .invitation-copy,
  .invitation-stage,
  .hero-inner,
  .invite-form,
  .member-card,
  .center-link {
    animation: rise-fade 520ms ease-out both;
  }

  .invite-form {
    animation-delay: 70ms;
  }

  .member-card {
    transition: transform 180ms ease, border-color 180ms ease;
  }

  .member-card:hover {
    transform: translateX(2px);
    border-color: #d9b7a4;
  }
}

@keyframes rise-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .envelope-shell {
    display: none !important;
  }

  .invitation-sheet {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
