:root {
  --paper: #faf6ef;
  --cream: #f2e9dc;
  --ink: #313d35;
  --muted: #697367;
  --gold: #a47b43;
  --gold-light: #d9bb8e;
  --sage: #697c6b;
  --serif: "Ibarra Real Nova", Georgia, serif;
  --display: "Berkshire Swash", Georgia, serif;
  --sans: Poppins, sans-serif;
  --screen-height: min(870px, calc(100dvh - 68px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: #e7e2d8;
  color: var(--ink);
}
body {
  margin: 0;
  font: 400 13px/1.85 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(#f0eadeb3, #e6decebf),
    url("../assets/images/gallery/gallery-1.webp") center/cover;
  filter: blur(20px);
  scale: 1.05;
  pointer-events: none;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
svg:not(.svg-defs) {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.desktop-scene {
  display: none;
}
.preview-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 26px 20px;
}
.phone-shell {
  position: relative;
  width: 440px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid #aa926a99;
  background: #d1c1a6;
  border-radius: 33px;
  box-shadow:
    0 28px 80px #453d2c33,
    0 3px 8px #53463122;
}
.invitation {
  position: relative;
  height: var(--screen-height);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 27px;
  background: var(--paper);
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior: contain;
  container-type: inline-size;
}
.invitation::-webkit-scrollbar {
  display: none;
}
.marble {
  background-color: var(--paper);
  background-image:
    url("../assets/images/theme/bgtop.webp"),
    url("../assets/images/theme/bgbtn.webp");
  background-position:
    center top,
    center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.eyebrow {
  font: 500 9px/1.5 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #815e34;
}
.names {
  font: 400 clamp(32px, 9.8cqw, 43px)/1.18 var(--display);
  color: #3b422f;
}
.names span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.fine-rule {
  position: relative;
  width: 90px;
  height: 1px;
  margin: 22px auto;
  background: #b6925955;
}
.fine-rule::before {
  content: "";
  position: absolute;
  left: calc(50% - 3px);
  top: -2.5px;
  width: 6px;
  height: 6px;
  rotate: 45deg;
  background: var(--gold-light);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font: 500 11px/1.5 var(--sans);
  letter-spacing: 0.035em;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0) scale(0.97);
}
.primary {
  background: var(--gold-light);
  color: #30392b;
  box-shadow: 0 7px 20px #aa89512b;
}
.primary:hover {
  background: #cdae7e;
}
.outline {
  background: #faf6ef88;
  border-color: #ae865566;
  color: #654a2b;
}
.outline:hover {
  background: #e8d7bb;
}
.small {
  font-size: 11px;
  color: var(--muted);
}
.cover {
  position: relative;
  isolation: isolate;
  min-height: var(--screen-height);
  overflow: hidden;
  background-image: url("../assets/images/theme/bg1.webp");
  background-size: 100% auto;
  background-position: center -75px;
}
.cover-content {
  position: relative;
  z-index: 2;
  min-height: var(--screen-height);
  padding: 80px 25px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cover-content > .eyebrow {
  margin-bottom: 23px;
}
.cover-photo {
  width: min(62cqw, 250px, calc(var(--screen-height) * 0.32));
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 5px;
  border: 1px solid #a7804a88;
  box-shadow: 0 12px 30px #b3a48730;
}
.cover-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 50%;
}
.cover .names {
  margin-top: 25px;
}
.cover-date {
  margin-top: 13px;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #7b6851;
}
.guest {
  margin: 22px 0 24px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.guest p {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.09em;
}
.guest strong {
  display: block;
  font: 500 16px/1.5 var(--serif);
  margin-top: 4px;
}
.cover .button {
  min-width: 205px;
}
.cover-reveal {
  animation: coverIn 1.2s var(--ease) both;
}
.cover-reveal:nth-child(2) {
  animation-delay: 0.15s;
}
.cover-reveal:nth-child(3) {
  animation-delay: 0.35s;
}
.cover-reveal:nth-child(4) {
  animation-delay: 0.5s;
}
.cover-reveal:nth-child(5) {
  animation-delay: 0.65s;
}
.cover-reveal:nth-child(6) {
  animation-delay: 0.8s;
}
.cover.is-opening {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  pointer-events: none;
  animation: coverExit 0.85s cubic-bezier(0.65, 0, 0.25, 1) both;
}
.decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.decor > img {
  position: absolute;
  width: 37%;
  max-width: none;
  animation: leafSway 5s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.scene-visible .decor > img,
.cover .decor > img {
  animation-play-state: running;
}
.decor .top-left {
  top: -1%;
  left: -7%;
  transform-origin: top left;
}
.decor .top-right {
  top: -1%;
  right: -7%;
  transform-origin: top right;
  animation-delay: -2.5s;
}
.decor .bottom-left {
  left: -5%;
  bottom: -1%;
  transform-origin: bottom left;
}
.decor .bottom-right {
  right: -5%;
  bottom: -1%;
  transform-origin: bottom right;
  animation-delay: -2.5s;
}
.page-content {
  position: relative;
}
.opening-motion {
  animation: pageEnter 1.1s var(--ease) both;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: var(--screen-height);
  padding-bottom: 40px;
  overflow: hidden;
}
.hero-slides {
  position: relative;
  height: 440px;
  overflow: hidden;
  mask-image: linear-gradient(#000 0 72%, transparent 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.3s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-copy {
  position: relative;
  z-index: 3;
  margin-top: -18px;
  padding: 0 26px;
  text-align: center;
}
.hero-copy .eyebrow {
  margin-bottom: 12px;
}
.hero .names {
  font-size: 42px;
}
.hero-date {
  font-size: 11px;
  color: #6f755e;
  letter-spacing: 0.04em;
  margin: 13px 0 28px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 318px;
  margin: auto;
  gap: 10px;
}
.countdown > div {
  padding: 15px 0 11px;
  background: #e9d8bc9c;
  border: 1px solid #b4915755;
  border-radius: 8px;
}
.countdown strong {
  font: 400 29px/1.2 var(--serif);
  color: #6d5839;
}
.countdown span {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #796345;
}
.hero-bouquet {
  width: 95px;
  margin: 27px auto 14px;
}
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #687061;
}
.scroll-cue span {
  font-size: 19px;
  margin-top: 4px;
  animation: cueFloat 2.5s ease-in-out infinite;
}
.opening-motion .hero-slides {
  animation: heroPhotoIn 2s var(--ease) both;
}
.opening-motion .hero-copy > .eyebrow {
  animation: contentIn 1.2s var(--ease) 0.65s both;
}
.opening-motion .hero-copy > .names {
  animation: contentIn 1.4s var(--ease) 0.85s both;
}
.opening-motion .hero-copy > .hero-date {
  animation: contentIn 1.3s var(--ease) 1.1s both;
}
.opening-motion .hero-copy > .countdown {
  animation: contentIn 1.3s var(--ease) 1.3s both;
}
.opening-motion .hero-copy > .hero-bouquet {
  animation: contentIn 1.4s var(--ease) 1.5s both;
}
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 14px;
}
.section-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 56px);
  max-width: 390px;
  margin: 0 auto;
  padding: 82px 0 105px;
}
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}
.section-heading h2,
.closing h2 {
  font: 400 35px/1.2 var(--display);
  color: #3d422f;
}
.section-heading > .eyebrow {
  margin-bottom: 16px;
}
.section-heading > p:not(.eyebrow) {
  margin: 23px auto 0;
  color: #687162;
  font-size: 12px;
}
.intro {
  text-align: center;
}
.arabic {
  font:
    400 23px/1.85 Georgia,
    serif;
  color: #45533c;
}
.intro .arabic:first-child {
  margin-bottom: 35px;
}
.intro .section-heading h2 {
  font-size: 30px;
}
.verse {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid #c1ad8455;
}
.verse .arabic {
  font-size: 22px;
  margin-bottom: 25px !important;
}
.verse blockquote {
  font: 400 16px/1.8 var(--serif);
  margin: 0 auto 22px;
  max-width: 330px;
  color: #4a5644;
}
.intro .section-inner {
  padding-bottom: 150px;
}
.person {
  text-align: center;
  padding: 24px 15px 30px;
  position: relative;
  background: #fcf9f277;
  border: 1px solid #c7b28c55;
  border-radius: 120px 120px 6px 6px;
}
.person-photo {
  width: 205px;
  max-width: 85%;
  aspect-ratio: 1;
  margin: 0 auto 25px;
  padding: 4px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 50%;
}
.person h3 {
  font: 400 34px/1.2 var(--display);
  margin: 11px 0 18px;
  color: #3c4430;
}
.person p:not(.eyebrow) {
  font-size: 12px;
}
.person .person-location {
  margin: 12px 0;
  color: #798071;
  font-size: 11px;
}
.instagram {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #ab895966;
  padding: 5px 4px;
  text-decoration: none;
  color: #815e33;
}
.couple-divider {
  position: relative;
  text-align: center;
  margin: 26px auto;
  width: 105px;
  aspect-ratio: 1;
}
.couple-divider img {
  width: 100%;
  opacity: 0.7;
}
.couple-divider span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 italic 43px var(--serif);
  color: #7b6239;
}
.couple .section-inner {
  padding-bottom: 120px;
}
.photo-interlude {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #576250;
}
.photo-interlude > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.75;
}
.photo-interlude::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #192c2399);
}
.photo-interlude > p {
  position: absolute;
  z-index: 1;
  bottom: 35px;
  left: 30px;
  color: #fcf8ed;
  font: 400 36px/1.2 var(--serif);
}
.photo-interlude > p > span {
  font-family: var(--display);
  font-size: 44px;
}
.events .section-inner {
  padding-bottom: 115px;
}
.event-card {
  padding: 30px 25px;
  background: #fffdf89c;
  border: 1px solid #b5955c5c;
  border-radius: 8px;
  margin-bottom: 24px;
}
.event-index {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #816038;
  margin-bottom: 13px;
}
.event-card h3 {
  font: 400 28px/1.15 var(--serif);
  color: #3d4a35;
}
.event-date {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 23px 0 12px;
}
.event-date > strong {
  font: 400 64px/1 var(--serif);
  color: #8b6a3d;
}
.event-date > div {
  padding-left: 17px;
  border-left: 1px solid #b38e5466;
}
.event-date span {
  font-size: 10px;
  color: var(--muted);
}
.event-date p {
  font: 500 19px/1.6 var(--serif);
}
.event-time {
  font-size: 11px;
  color: #687461;
  margin-bottom: 24px;
}
.event-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #c7b69055;
}
.event-location svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #927247;
}
.event-location h4 {
  font: 500 17px/1.35 var(--serif);
}
.event-location p {
  font-size: 11px;
  margin-top: 4px;
  color: #707869;
}
.event-card .button {
  margin-top: 21px;
  min-height: 39px;
  padding: 9px 18px;
  font-size: 10px;
}
.event-note {
  text-align: center;
  font-size: 12px;
  margin-top: 30px;
}
.event-note .button {
  margin-top: 23px;
}
.story-entry {
  position: relative;
  margin-top: 35px;
  padding-left: 30px;
  border-left: 1px solid #b9975966;
}
.story-entry > span {
  position: absolute;
  left: -12px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid #baa072;
  color: #8a6d40;
  font: 500 10px/22px var(--sans);
  text-align: center;
}
.story-entry h3 {
  font: 400 25px/1.3 var(--serif);
  margin-bottom: 15px;
}
.story-entry p {
  font-size: 12px;
  color: #66735e;
}
.story .section-inner {
  padding-bottom: 125px;
}
.timeline {
  margin: 0;
  padding: 10px 0 0 23px;
  list-style: none;
  border-left: 1px solid #96a38766;
}
.timeline li {
  position: relative;
  padding: 0 0 34px 2px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 3px;
  width: 10px;
  height: 10px;
  background: #788b6c;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #91a18188;
}
.timeline time {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #708163;
}
.timeline h3 {
  font: 500 23px/1.3 var(--serif);
  margin: 11px 0;
}
.timeline p {
  font-size: 12px;
  color: #64735b;
}
.bank-row {
  padding: 24px;
  margin: 0 0 17px;
  background: #faf7efb3;
  border: 1px solid #b6a07255;
  border-radius: 8px;
}
.bank-brand {
  display: block;
  font: 500 22px/1.3 var(--serif);
  color: #765a34;
}
.bank-row > img {
  max-width: 95px;
  max-height: 29px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.bank-row > p:not(.bank-number) {
  font-size: 12px;
  color: #67725f;
  margin-top: 4px;
}
.bank-row .bank-number {
  font: 400 26px/1.3 var(--serif);
  letter-spacing: 0.025em;
  margin: 22px 0 5px;
  overflow-wrap: anywhere;
}
.copy-button {
  border: 0;
  border-bottom: 1px solid #b9996566;
  padding: 6px 0;
  margin-top: 14px;
  background: transparent;
  color: #806137;
  font-size: 10px;
  letter-spacing: 0.025em;
}
.copy-button span {
  margin-left: 12px;
}
.physical-gift {
  text-align: center;
  font-size: 12px;
  margin-top: 35px;
}
.physical-gift .button {
  margin-top: 17px;
}
.address-panel {
  padding: 20px;
  border: 1px dashed #b2925c77;
  margin-top: 22px;
  background: #f4ecdbcc;
  border-radius: 8px;
}
.address-panel > strong {
  font: 500 21px var(--serif);
}
.address-panel .small {
  margin-top: 10px;
}
.gifts .section-inner {
  padding-bottom: 145px;
}
.wishes {
  background: #f4ecdf;
}
.rsvp-form {
  padding: 24px 22px;
  border: 1px solid #b89b6755;
  background: #fcf9f38c;
  border-radius: 8px;
}
.rsvp-form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #4f5c43;
  margin-bottom: 7px;
}
.rsvp-form label > span {
  font-size: 9px;
  color: #7b8274;
  font-weight: 400;
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #b7aa8d80;
  background: #fffdf8;
  color: #3a4730;
  padding: 11px 12px;
  border-radius: 5px;
  min-height: 44px;
  margin-bottom: 19px;
  font-size: 12px;
}
.rsvp-form textarea {
  min-height: 120px;
  resize: vertical;
}
.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: #838978;
}
.rsvp-form .button {
  width: 100%;
  margin-top: 2px;
}
.local-note {
  text-align: center;
  font-size: 9px;
  color: #7a806c;
  margin-top: 14px;
}
.guest-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 11px;
  color: #4f5c43;
}
.guest-counter > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.guest-counter button {
  width: 31px;
  height: 31px;
  border: 1px solid #c1ac84;
  border-radius: 50%;
  background: #faf7ef;
  font-size: 18px;
  line-height: 1;
}
.guest-counter button:disabled {
  opacity: 0.4;
  cursor: default;
}
.wish-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 32px 0 16px;
  padding: 18px 0;
  border-top: 1px solid #bca97f55;
  border-bottom: 1px solid #bca97f55;
}
.wish-stats p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wish-stats strong {
  font: 500 25px var(--serif);
  color: #7c643b;
}
.wish-stats span {
  font-size: 10px;
  color: #6f7a61;
}
.wish-list {
  opacity: 1;
  overflow-wrap: anywhere;
}
.wish {
  padding: 20px 0;
  border-bottom: 1px solid #bca97f44;
  animation: contentIn 0.5s var(--ease) both;
}
.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.wish-name {
  font: 600 15px/1.5 var(--serif);
  color: #3f4d34;
}
.wish-badge {
  font-size: 8px;
  background: #d8e1d1;
  color: #415734;
  padding: 3px 7px;
  border-radius: 10px;
  white-space: nowrap;
}
.wish-badge.absent {
  background: #e8ded0;
  color: #79644a;
}
.wish > p {
  font-size: 12px;
  margin-top: 9px;
  color: #616e55;
}
.wish > time {
  display: block;
  font-size: 9px;
  color: #838772;
  margin-top: 9px;
}
.load-more {
  display: flex;
  margin: 23px auto 0;
}
.video-panel {
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid #b2935f66;
  border-radius: 8px;
  background: #ddd6c6;
}
.video-cover {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.video-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.74);
}
.play-icon {
  position: absolute;
  left: calc(50% - 26px);
  top: calc(50% - 30px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 3px;
  background: #f7eddaeb;
  border: 1px solid #b89a6377;
  color: #6c5430;
  font-size: 19px;
}
.video-label {
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  color: #faf6ee;
  font: 400 24px var(--serif);
}
.video-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-link {
  display: block;
  text-align: right;
  font-size: 10px;
  text-decoration: none;
  color: #8a683c;
  margin: 10px 0 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 0.82;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #e1d7c6;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: scale 0.45s var(--ease);
}
.gallery-item:hover img {
  scale: 1.05;
}
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 1.18;
}
.gallery-item:last-child {
  grid-column: span 2;
  aspect-ratio: 1.5;
}
.gallery .section-inner {
  padding-bottom: 155px;
}
.closing {
  text-align: center;
  min-height: var(--screen-height);
}
.closing .section-inner {
  padding: 75px 0 125px;
}
.closing-bouquet {
  width: 100px;
  margin: 0 auto 24px;
}
.closing h2 {
  margin: 17px 0 25px;
}
.closing .section-inner > p:not(.eyebrow) {
  font-size: 12px;
  color: #6d765f;
}
.closing-photo {
  width: 225px;
  max-width: 80%;
  aspect-ratio: 1;
  margin: 35px auto 28px;
  padding: 5px;
  border: 1px solid #ba9a6766;
  border-radius: 50%;
}
.closing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 50%;
}
.closing .names {
  font-size: 35px;
}
.closing .closing-family {
  font-size: 10px !important;
  letter-spacing: 0.08em;
}
.footer {
  position: relative;
  text-align: center;
  padding: 24px 25px 100px;
  background: #eee5d6;
  color: #768169;
  font-size: 10px;
}
.footer > img {
  width: 48px;
  margin: 0 auto 10px;
}
.footer a {
  display: inline-block;
  margin-top: 8px;
  color: #886a41;
  text-decoration: none;
  font-size: 9px;
}
.floating-controls {
  position: absolute;
  z-index: 50;
  top: 18px;
  right: 17px;
  display: flex;
  gap: 6px;
}
.floating-controls button {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #b99b6766;
  background: #faf6efdc;
  color: #746041;
  box-shadow: 0 3px 10px #5e50341a;
}
.floating-controls svg {
  width: 16px;
  height: 16px;
}
.floating-controls button[aria-pressed="true"] {
  background: #d9bb8e;
  color: #37472f;
}
.floating-controls button:disabled {
  opacity: 0.5;
  cursor: default;
}
.bottom-nav {
  position: absolute;
  z-index: 50;
  bottom: 16px;
  left: 21px;
  right: 21px;
  height: 58px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid #b7986066;
  border-radius: 30px;
  background: #fcf6e8ee;
  box-shadow: 0 7px 22px #453b2822;
  backdrop-filter: blur(8px);
}
.bottom-nav a {
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: #8a744f;
  transition:
    background 0.2s,
    color 0.2s;
}
.bottom-nav a[aria-current] {
  background: #d4b17a;
  color: #35472c;
}
.bottom-nav svg {
  width: 19px;
  height: 19px;
}
.lightbox {
  padding: 13px;
  width: min(92vw, 700px);
  max-height: 94dvh;
  background: #f8f1e5;
  border: 0;
  border-radius: 8px;
  overflow: visible;
  color: #49573b;
}
.lightbox::backdrop {
  background: #17271ae8;
  backdrop-filter: blur(5px);
}
.lightbox > img {
  display: block;
  max-height: 78dvh;
  max-width: 100%;
  width: auto;
  margin: auto;
  object-fit: contain;
}
.lightbox > #closeLightbox {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 35px;
  height: 35px;
  border: 1px solid #baa17488;
  border-radius: 50%;
  background: #faf6eff2;
  font-size: 25px;
  line-height: 1;
}
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 12px;
  font-size: 11px;
}
.lightbox-toolbar button {
  width: 40px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  color: #877047;
  font-size: 23px;
}
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 10px);
  background: #334a30;
  color: #faf6eb;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 11px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 24px #28342033;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.noscript-note {
  position: fixed;
  bottom: 0;
  z-index: 60;
  background: var(--paper);
  padding: 10px;
  font-size: 11px;
}
.reveal {
  opacity: 1;
}
.motion-ready .reveal {
  opacity: 0;
}
.motion-ready .reveal.is-visible {
  animation: contentIn 1.2s var(--ease) both;
}
.motion-ready .person.is-visible {
  animation: portraitIn 1.5s var(--ease) both;
}
.motion-ready .gallery-item.is-visible {
  animation: portraitIn 1.2s var(--ease) both;
}
@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes portraitIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes coverIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes coverExit {
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}
@keyframes pageEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes heroPhotoIn {
  from {
    opacity: 0.3;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes leafSway {
  from {
    rotate: -1.2deg;
  }
  to {
    rotate: 1.2deg;
  }
}
@keyframes cueFloat {
  50% {
    translate: 0 5px;
  }
}
@media (min-width: 1100px) {
  :root {
    --screen-height: 100dvh;
  }
  body::before {
    display: none;
  }
  .desktop-scene {
    position: fixed;
    inset: 0 500px 0 0;
    display: block;
    overflow: hidden;
    background: #3e4934;
  }
  .desktop-photo {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 40%;
  }
  .desktop-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0e1c2110 35%, #142419b3 100%);
  }
  .desktop-copy {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 9%;
    text-align: center;
    color: #faf4e6;
    padding: 0 40px;
  }
  .desktop-copy .eyebrow {
    color: #e6d4b5;
    font-size: 11px;
    margin-bottom: 17px;
  }
  .desktop-copy h2 {
    font: 400 clamp(40px, 5vw, 65px)/1.1 var(--display);
    text-shadow: 0 3px 15px #12261b22;
  }
  .desktop-copy h2 span {
    font: 400 italic 48px var(--serif);
    color: #e7cca0;
  }
  .desktop-copy > p:last-child {
    font: 400 17px var(--serif);
    letter-spacing: 0.06em;
  }
  .desktop-foliage {
    position: absolute;
    bottom: -1%;
    left: -3%;
    width: 220px;
    opacity: 0.65;
  }
  .preview-stage {
    width: 500px;
    margin-left: auto;
    padding: 0;
  }
  .phone-shell {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .invitation {
    border-radius: 0;
  }
  .toast {
    left: auto;
    right: 32px;
    transform: translateY(10px);
    max-width: 420px;
  }
  .toast.show {
    transform: translateY(0);
  }
}
@media (min-width: 601px) and (max-height: 780px) {
  .cover-content {
    padding: 54px 24px 48px;
  }
  .cover-photo {
    width: min(180px, 38cqw);
  }
  .cover-content > .eyebrow {
    margin-bottom: 15px;
  }
  .cover .names {
    font-size: 34px;
    margin-top: 18px;
  }
  .guest {
    margin: 16px 0 18px;
  }
  .cover-date {
    margin-top: 10px;
  }
  .hero-slides {
    height: 370px;
  }
  .hero .names {
    font-size: 36px;
  }
}
@media (max-width: 600px) {
  :root {
    --screen-height: 100dvh;
  }
  .preview-stage {
    padding: 0;
    min-height: 100dvh;
  }
  .phone-shell {
    width: 100%;
    max-width: 500px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .invitation {
    border-radius: 0;
  }
  .cover-content {
    padding: 75px 24px 100px;
  }
  .section-inner {
    width: calc(100% - 48px);
  }
  .floating-controls {
    top: 13px;
    right: 13px;
  }
  .bottom-nav {
    left: 14px;
    right: 14px;
    bottom: max(13px, env(safe-area-inset-bottom));
    height: 58px;
  }
  .hero-slides {
    height: 440px;
  }
  .hero .names {
    font-size: 38px;
  }
}
@media (max-width: 600px) and (max-height: 740px) {
  .cover-content {
    padding: 45px 24px 83px;
  }
  .cover-photo {
    width: min(190px, 54cqw);
  }
  .cover-content > .eyebrow {
    margin-bottom: 15px;
  }
  .cover .names {
    font-size: 34px;
    margin-top: 18px;
  }
  .guest {
    margin: 16px 0 18px;
  }
  .cover-date {
    margin-top: 10px;
  }
  .cover .button {
    min-height: 42px;
  }
  .hero-slides {
    height: 360px;
  }
}
@media (max-width: 360px) {
  .section-heading h2 {
    font-size: 29px;
  }
  .names {
    font-size: 34px;
  }
  .hero .names {
    font-size: 32px;
  }
  .countdown {
    gap: 7px;
  }
  .countdown strong {
    font-size: 25px;
  }
  .section-inner {
    width: calc(100% - 40px);
  }
  .event-card {
    padding: 24px 20px;
  }
  .rsvp-form {
    padding: 20px 16px;
  }
  .bottom-nav svg {
    width: 18px;
    height: 18px;
  }
  .floating-controls button {
    width: 31px;
    height: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .cover.is-opening {
    opacity: 0;
    transform: none;
  }
}
