/* ==========================================================
   Forever After — floral cinematic visual system
   Palette sampled from the supplied Cream / Peach / Coral /
   Latte / Rain / Eucalyptus wedding reference.
   Loaded after the legacy theme so behavior stays untouched.
   ========================================================== */

@view-transition {
  navigation: auto;
}

@property --countdown-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

:root {
  --fa-cream: #f9f0eb;
  --fa-peach: #f7cab7;
  --fa-coral: #d37158;
  --fa-latte: #d99a71;
  --fa-rain: #d7e0dd;
  --fa-eucalyptus: #9e9f91;
  --fa-forest: #1d241f;
  --fa-eucalyptus-deep: #35443c;
  --fa-coral-deep: #87412f;
  --fa-shadow: 0 30px 90px rgba(29, 36, 31, 0.16);
  --fa-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fa-ease-dramatic: cubic-bezier(0.77, 0, 0.18, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body.home-page,
body.invitation-page,
body.upload-page-shell {
  background: var(--fa-cream);
  color: var(--fa-forest);
}

body::selection,
body *::selection {
  color: var(--fa-cream);
  background: var(--fa-coral-deep);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100000;
  padding: 12px 18px;
  border: 1px solid var(--fa-coral);
  border-radius: 999px;
  color: var(--fa-cream);
  background: var(--fa-forest);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 220ms var(--fa-ease);
}

.skip-link:focus {
  color: var(--fa-cream);
  transform: translateY(0);
}

.home-page a:focus-visible,
.invitation-page a:focus-visible,
.upload-page-shell a:focus-visible,
.upload-page-shell button:focus-visible,
.upload-page-shell input:focus-visible,
.upload-page-shell textarea:focus-visible,
.upload-page-shell label:focus-visible {
  outline: 3px solid var(--fa-peach);
  outline-offset: 4px;
}

.home-page .back-to-top,
.invitation-page .back-to-top,
.upload-page-shell .back-to-top {
  border-color: var(--fa-coral);
  background: rgba(211, 113, 88, 0.92);
  box-shadow: 0 12px 34px rgba(29, 36, 31, 0.2);
}

.home-page .back-to-top:hover,
.home-page .back-to-top:focus,
.invitation-page .back-to-top:hover,
.invitation-page .back-to-top:focus,
.upload-page-shell .back-to-top:hover,
.upload-page-shell .back-to-top:focus {
  border-color: var(--fa-coral-deep);
  background: var(--fa-coral-deep);
}

.home-page .back-to-top i,
.invitation-page .back-to-top i,
.upload-page-shell .back-to-top i {
  color: var(--fa-forest);
}

.home-page .back-to-top:hover i,
.home-page .back-to-top:focus i,
.invitation-page .back-to-top:hover i,
.invitation-page .back-to-top:focus i,
.upload-page-shell .back-to-top:hover i,
.upload-page-shell .back-to-top:focus i {
  color: var(--fa-cream);
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.11;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, transparent 0, rgba(255, 255, 255, 0.25) 0.6px, transparent 1.25px, transparent 4px),
    repeating-radial-gradient(circle at 83% 67%, transparent 0, rgba(29, 36, 31, 0.2) 0.7px, transparent 1.35px, transparent 5px);
  background-size: 8px 8px, 11px 11px;
  mix-blend-mode: soft-light;
}

.home-page .preloader,
.invitation-page .preloader,
.upload-page-shell .preloader {
  background: var(--fa-forest);
}

.home-page .preloader .loader-circle,
.invitation-page .preloader .loader-circle,
.upload-page-shell .preloader .loader-circle {
  border-color: rgba(247, 202, 183, 0.2);
}

.home-page .preloader .loader-line,
.invitation-page .preloader .loader-line,
.upload-page-shell .preloader .loader-line {
  border-color: var(--fa-peach);
}

.home-page .preloader img,
.invitation-page .preloader img,
.upload-page-shell .preloader img {
  filter: sepia(0.45) saturate(0.6) brightness(1.35);
}

.section-kicker,
.footer-kicker,
.portrait-role,
.story-chapter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fa-coral-deep);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-kicker::before,
.footer-kicker::before,
.portrait-role::before,
.story-chapter::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.editorial-heading {
  position: relative;
  z-index: 2;
}

.editorial-heading h2 {
  margin: 12px 0 0;
  color: var(--fa-forest);
  font-family: "Felidae", serif;
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.editorial-heading p {
  max-width: 430px;
  margin: 0;
  color: rgba(29, 36, 31, 0.66);
  font-size: 16px;
  line-height: 1.75;
}

.editorial-heading--center {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.editorial-heading--center .section-kicker {
  justify-content: center;
}

.editorial-heading--center .section-kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.editorial-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  width: min(100% - 9vw, 1540px);
  margin: 0 auto 100px;
}

.heading-flourish {
  display: flex;
  align-items: center;
  width: 180px;
  margin: 28px auto 0;
}

.heading-flourish::before,
.heading-flourish::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--fa-coral));
}

.heading-flourish::after {
  background: linear-gradient(90deg, var(--fa-coral), transparent);
}

.heading-flourish i {
  width: 9px;
  height: 9px;
  margin: 0 10px;
  border: 1px solid var(--fa-coral);
  transform: rotate(45deg);
}

/* Floating navigation */
.floating-nav,
.compact-nav {
  position: fixed;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(247, 202, 183, 0.28);
  background: rgba(29, 36, 31, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.floating-nav {
  top: 24px;
  left: 50%;
  width: min(calc(100% - 48px), 980px);
  min-height: 66px;
  padding: 7px 8px 7px 20px;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: navArrival 1s 0.7s var(--fa-ease) both;
}

.floating-nav__brand,
.compact-nav__brand {
  display: inline-flex;
  align-items: center;
  color: var(--fa-cream);
  font-family: "Felidae", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.floating-nav__brand:hover,
.compact-nav__brand:hover {
  color: var(--fa-peach);
}

.floating-nav__brand i,
.compact-nav__brand i {
  margin: 0 5px;
  color: var(--fa-coral);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.floating-nav__links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.floating-nav__links a {
  position: relative;
  padding: 13px 16px;
  border-radius: 999px;
  color: rgba(249, 240, 235, 0.74);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.floating-nav__links a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 9px;
  left: 16px;
  height: 1px;
  background: var(--fa-peach);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--fa-ease);
}

.floating-nav__links a:hover {
  color: var(--fa-cream);
}

.floating-nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.floating-nav__links .floating-nav__invitation {
  padding: 14px 22px;
  color: var(--fa-forest);
  background: var(--fa-peach);
}

.floating-nav__links .floating-nav__invitation::after {
  display: none;
}

.floating-nav__links .floating-nav__invitation:hover {
  color: var(--fa-forest);
  background: var(--fa-cream);
  transform: translateY(-1px);
}

/* Homepage hero */
.home-page .page-wrap {
  position: relative;
  background: var(--fa-cream);
}

.home-page .wpo-hero-static-s2 {
  height: max(860px, 100svh);
  min-height: 760px;
  isolation: isolate;
  overflow: hidden;
  color: var(--fa-cream);
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 224, 221, 0.3), transparent 29%),
    radial-gradient(circle at 12% 84%, rgba(211, 113, 88, 0.42), transparent 28%),
    linear-gradient(135deg, var(--fa-forest) 0%, var(--fa-eucalyptus-deep) 52%, var(--fa-forest) 100%);
}

.home-page .wpo-hero-static-s2::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.8;
}

.home-page .wpo-hero-static-s2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(29, 36, 31, 0.55), transparent 20%, transparent 80%, rgba(29, 36, 31, 0.4));
}

.hero-bloom {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  filter: grayscale(0.15) sepia(0.12) saturate(0.75);
  will-change: transform;
}

.hero-bloom img {
  width: 100%;
}

.hero-bloom--left {
  bottom: -23%;
  left: -13%;
  width: clamp(420px, 43vw, 790px);
  animation: bloomDriftLeft 14s ease-in-out infinite alternate;
}

.hero-bloom--right {
  top: -29%;
  right: -13%;
  width: clamp(390px, 39vw, 710px);
  animation: bloomDriftRight 17s ease-in-out infinite alternate;
}

.hero-geometry {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-geometry span {
  position: absolute;
  border: 1px solid rgba(247, 202, 183, 0.2);
  border-radius: 50% 50% 4px 4px;
}

.hero-geometry span:nth-child(1) {
  top: 12%;
  left: 50%;
  width: min(42vw, 620px);
  height: 76%;
  transform: translateX(-50%);
  animation: archDraw 1.8s 0.5s var(--fa-ease) both;
}

.hero-geometry span:nth-child(2) {
  top: 18%;
  left: 50%;
  width: min(35vw, 510px);
  height: 66%;
  border-color: rgba(215, 224, 221, 0.16);
  transform: translateX(-50%);
  animation: archDraw 1.8s 0.68s var(--fa-ease) both;
}

.hero-geometry span:nth-child(3) {
  top: 50%;
  left: 50%;
  width: min(66vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.045);
  transform: translate(-50%, -50%);
}

.home-page .wpo-hero-static-s2 .wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 0;
}

.home-page .hero-kicker {
  position: absolute;
  top: 132px;
  left: 50%;
  color: var(--fa-peach);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: heroKickerReveal 1s 0.35s var(--fa-ease) both;
}

.home-page .wpo-hero-static-s2 .wrapper .hero-title {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 100%;
  margin: 0;
  color: transparent;
  font-family: "Felidae", serif;
  font-size: clamp(124px, 15.3vw, 292px);
  font-weight: 400;
  line-height: 0.64;
  letter-spacing: -0.045em;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(249, 240, 235, 0.52);
  transform: translate(-50%, -50%);
  text-wrap: nowrap;
  animation: heroTitleReveal 1.45s 0.28s var(--fa-ease) both;
}

.home-page .hero-title span {
  display: block;
}

.home-page .hero-title span:last-child {
  color: rgba(249, 240, 235, 0.94);
  -webkit-text-stroke: 0;
  text-shadow: 0 15px 55px rgba(0, 0, 0, 0.18);
}

.home-page .wpo-hero-static-s2 .wrapper .hero-content {
  position: absolute;
  bottom: 118px;
  left: clamp(28px, 5vw, 96px);
  width: min(29vw, 410px);
  padding: 0 0 0 24px;
  border-left: 1px solid rgba(247, 202, 183, 0.5);
  animation: heroCopyReveal 1.15s 0.85s var(--fa-ease) both;
}

.home-page .wpo-hero-static-s2 .wrapper .hero-content p {
  max-width: none;
  margin: 0;
  padding: 0;
  color: rgba(249, 240, 235, 0.68);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.home-page .wpo-hero-static-s2 .wrapper .hero-content p span {
  display: block;
  margin-bottom: 4px;
  color: var(--fa-cream);
  font-family: "Felidae", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.hero-meta {
  position: absolute;
  right: clamp(30px, 5vw, 96px);
  bottom: 122px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(249, 240, 235, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-meta i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--fa-peach);
  transform: rotate(45deg);
}

.home-page .wpo-hero-static-s2 .overlay-image {
  bottom: 42px;
  left: 50%;
  z-index: 5;
  width: clamp(430px, 40vw, 650px);
  max-width: none;
  line-height: 0;
  transform: translateX(-50%);
  animation: portraitArrival 1.65s 0.25s var(--fa-ease) both;
  will-change: transform, opacity;
}

.home-page .wpo-hero-static-s2 .overlay-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 35px 35px rgba(0, 0, 0, 0.3));
}

.portrait-aura {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 0;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 224, 221, 0.34), rgba(211, 113, 88, 0.08) 52%, transparent 70%);
  filter: blur(10px);
  transform: translate(-50%, -50%);
  animation: auraBreathe 6s ease-in-out infinite alternate;
}

.home-page .wpo-hero-static-s2 .hero-circle {
  position: absolute;
  top: 31%;
  right: clamp(30px, 8vw, 150px);
  left: auto;
  z-index: 8;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none;
}

.home-page .hero-circle .circle-content {
  width: 132px;
  height: 132px;
  border-color: rgba(247, 202, 183, 0.36);
  color: var(--fa-peach);
  background: rgba(29, 36, 31, 0.44);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.home-page .hero-circle .circle-content svg textPath {
  fill: var(--fa-peach);
}

.home-page .hero-circle .circle-content .circle-big {
  border: 1px solid rgba(247, 202, 183, 0.3);
  background: rgba(215, 224, 221, 0.18);
}

.home-page .hero-circle .circle-content .circle-small {
  background: var(--fa-coral);
  box-shadow: 0 0 20px rgba(247, 202, 183, 0.6);
}

.home-page .hero-circle .circle-content .flower {
  opacity: 0.62;
  filter: sepia(0.5) saturate(0.7) brightness(1.3);
}

.hero-scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 100px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(249, 240, 235, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll-cue:hover {
  color: var(--fa-peach);
}

.hero-scroll-cue i {
  position: relative;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.hero-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fa-peach);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

.hero-marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  height: 44px;
  overflow: hidden;
  color: var(--fa-forest);
  background: var(--fa-peach);
}

.hero-marquee > div {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 200%;
  height: 100%;
  animation: marqueeLoop 23s linear infinite;
}

.hero-marquee span {
  padding: 0 5vw;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-marquee i {
  color: var(--fa-coral-deep);
  font-size: 9px;
  font-style: normal;
}

/* Countdown */
.home-page .wpo-wedding-date {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 140px 0 150px;
  background:
    radial-gradient(circle at 50% 10%, rgba(215, 224, 221, 0.16), transparent 27%),
    var(--fa-cream);
}

.home-page .wpo-wedding-date::before,
.home-page .wpo-wedding-date::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 154, 113, 0.18);
  border-radius: 50%;
}

.home-page .wpo-wedding-date::before {
  top: 90px;
  left: -150px;
  box-shadow: 0 0 0 38px rgba(217, 154, 113, 0.035), 0 0 0 80px rgba(217, 154, 113, 0.02);
}

.home-page .wpo-wedding-date::after {
  right: -170px;
  bottom: 30px;
  width: 340px;
  box-shadow: 0 0 0 42px rgba(211, 113, 88, 0.035);
}

.section-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: -1;
  width: min(80vw, 1100px);
  height: 260px;
  border-radius: 50%;
  background: rgba(217, 154, 113, 0.2);
  filter: blur(90px);
  transform: translate(-50%, -50%);
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: clamp(18px, 2.5vw, 42px);
  justify-content: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  animation: countdownPhase 9s linear infinite;
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  left: 5%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 154, 113, 0.55), transparent);
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock .box {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 245px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 113, 0.38);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(215, 224, 221, 0.54));
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.48), 0 24px 65px rgba(53, 68, 60, 0.1);
  transition: transform 500ms var(--fa-ease), box-shadow 500ms var(--fa-ease);
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock .box::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--countdown-angle),
    transparent 0 70%,
    var(--fa-peach) 76%,
    var(--fa-coral-deep) 84%,
    transparent 92% 100%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  transform: none;
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock .box::after {
  top: 50%;
  left: 50%;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border-color: rgba(211, 113, 88, 0.16);
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock .box:hover {
  transform: translateY(-9px);
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.65), 0 35px 75px rgba(53, 68, 60, 0.15);
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock .time {
  color: var(--fa-eucalyptus-deep);
  font-family: "Felidae", serif;
  font-size: clamp(54px, 5vw, 82px);
  font-weight: 400;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.home-page .wpo-wedding-date .wedding-date-wrap #clock span {
  display: block;
  margin-top: 12px;
  color: rgba(29, 36, 31, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* Couple portraits */
.home-page .wpo-couple-section-s2 {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 160px 0 190px;
  background:
    linear-gradient(90deg, rgba(211, 113, 88, 0.035) 1px, transparent 1px),
    linear-gradient(var(--fa-rain), var(--fa-cream));
  background-size: 120px 100%, 100% 100%;
}

.home-page .wpo-couple-section-s2::before {
  content: "N   &   C";
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: -1;
  color: rgba(211, 113, 88, 0.045);
  font-family: "Felidae", serif;
  font-size: clamp(180px, 29vw, 530px);
  line-height: 0.75;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.home-page .wpo-couple-section-s2 .couple-wrap {
  max-width: 1480px;
}

.home-page .wpo-couple-section-s2 .couple-items {
  position: relative;
  justify-content: center;
  min-height: 650px;
}

.home-page .wpo-couple-section-s2 .couple-items .couple-text {
  position: relative;
  z-index: 4;
  max-width: 310px;
}

.home-page .portrait-role {
  margin-bottom: 18px;
  color: var(--fa-coral-deep);
  font-size: 10px;
}

.home-page .wpo-couple-section-s2 .couple-items .couple-text h3 {
  padding: 0 0 18px;
  color: var(--fa-forest);
  font-size: clamp(42px, 4.3vw, 68px);
  font-weight: 400;
  line-height: 0.94;
}

.home-page .wpo-couple-section-s2 .couple-items .couple-text p {
  color: rgba(29, 36, 31, 0.64);
  font-size: 15px;
  line-height: 1.8;
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image {
  width: min(29vw, 440px);
  padding: 12px 12px 46px;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 113, 0.3);
  background: var(--fa-cream);
  box-shadow: 0 38px 90px rgba(29, 36, 31, 0.15);
  transition: box-shadow 600ms var(--fa-ease);
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image::after {
  content: "";
  position: absolute;
  inset: 12px 12px 46px;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 900ms var(--fa-ease);
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image:hover::after {
  transform: translateX(130%);
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image:hover {
  box-shadow: 0 48px 110px rgba(29, 36, 31, 0.22);
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image img {
  aspect-ratio: 0.78;
  object-fit: cover;
  transition: transform 1.2s var(--fa-ease), filter 800ms ease;
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.home-page .wpo-couple-section-s2 .couple-items .couple-image small {
  position: absolute;
  right: 18px;
  bottom: 5px;
  color: rgba(29, 36, 31, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.photo-corner {
  position: absolute;
  right: 23px;
  bottom: 23px;
  z-index: 2;
  width: 45px;
  height: 45px;
  border-right: 1px solid var(--fa-coral);
  border-bottom: 1px solid var(--fa-coral);
}

.home-page .wpo-couple-section-s2 .col:nth-child(1) .couple-image {
  left: 38px;
  transform: rotate(-5.5deg);
}

.home-page .wpo-couple-section-s2 .col:nth-child(2) .couple-items {
  align-items: center;
  margin-top: 80px;
}

.home-page .wpo-couple-section-s2 .col:nth-child(2) .couple-items .couple-image {
  transform: rotate(5deg);
}

.home-page .wpo-couple-section-s2 .love-birds {
  top: 58%;
  left: 50%;
  z-index: 5;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border: 1px solid rgba(217, 154, 113, 0.28);
  background: rgba(249, 240, 235, 0.88);
  box-shadow: 0 18px 50px rgba(29, 36, 31, 0.12), 0 0 0 14px rgba(249, 240, 235, 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.home-page .wpo-couple-section-s2 .love-birds::before {
  border-color: rgba(217, 154, 113, 0.38);
  animation: loveBirdOrbit 12s linear infinite;
}

.home-page .wpo-couple-section-s2 .love-birds img {
  width: 76px;
  filter: sepia(0.25) saturate(0.75);
}

/* Sticky story chapters */
.home-page .wpo-story-section-s2 {
  position: relative;
  isolation: isolate;
  padding: 165px 0 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(215, 224, 221, 0.17), transparent 28%),
    var(--fa-forest);
}

.home-page .wpo-story-section-s2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 120px;
  background: linear-gradient(var(--fa-coral), transparent);
}

.home-page .wpo-story-section-s2 .story-title {
  max-width: 1580px;
  margin: 0 auto 130px;
  padding: 0 5vw;
}

.home-page .wpo-story-section-s2 .story-title .section-kicker {
  justify-content: center;
  margin-bottom: 40px;
  color: var(--fa-peach);
}

.home-page .wpo-story-section-s2 .story-title .section-kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.home-page .wpo-story-section-s2 .story-title h2 {
  margin: 0;
  color: var(--fa-cream);
  font-size: clamp(72px, 9vw, 168px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-page .wpo-story-section-s2 .story-title .flower-shape {
  margin-top: 46px;
  filter: sepia(0.6) saturate(0.55) brightness(1.4);
  opacity: 0.7;
  animation: flowerFloat 7s ease-in-out infinite alternate;
}

.home-page .wpo-story-section-s2 .story-wrapper {
  counter-reset: storyChapter;
}

.home-page .wpo-story-section-s2 .story-wrapper > .story-card:nth-child(1) {
  --story-focus: 72% 50%;
}

.home-page .wpo-story-section-s2 .story-wrapper > .story-card:nth-child(2) {
  --story-focus: 66% 50%;
}

.home-page .wpo-story-section-s2 .story-wrapper > .story-card:nth-child(3) {
  --story-focus: 68% 50%;
}

.home-page .wpo-story-section-s2 .story-card {
  counter-increment: storyChapter;
  height: clamp(480px, 31.33vw, 600px);
  min-height: 0;
  isolation: isolate;
  background: var(--fa-forest);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.25);
}

.home-page .wpo-story-section-s2 .story-card::before {
  content: "0" counter(storyChapter);
  position: absolute;
  top: 7vh;
  right: 5vw;
  z-index: 3;
  color: rgba(249, 240, 235, 0.16);
  font-family: "Felidae", serif;
  font-size: clamp(88px, 13vw, 220px);
  font-weight: 400;
  line-height: 1;
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even)::before {
  right: auto;
  left: 5vw;
}

.home-page .wpo-story-section-s2 .story-card .image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-page .wpo-story-section-s2 .story-card .image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 36, 31, 0.72), transparent 57%),
    linear-gradient(0deg, rgba(29, 36, 31, 0.32), transparent 42%);
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even) .image::after {
  background:
    linear-gradient(-90deg, rgba(29, 36, 31, 0.72), transparent 57%),
    linear-gradient(0deg, rgba(29, 36, 31, 0.32), transparent 42%);
}

.home-page .wpo-story-section-s2 .story-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--story-focus, 50% 50%);
  transform: scale(1.015);
  transition: transform 4s ease;
}

.home-page .wpo-story-section-s2 .story-card:hover .image img {
  transform: scale(1.045);
}

.home-page .wpo-story-section-s2 .story-card .content {
  bottom: 0;
  left: 0;
  width: min(58%, 860px);
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even) .content {
  right: 0;
  left: auto;
}

.home-page .wpo-story-section-s2 .story-card .shape,
.home-page .wpo-story-section-s2 .story-card:nth-child(even) .content .shape {
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 76% 0, 100% 100%, 0 100%);
  background: linear-gradient(112deg, rgba(53, 68, 60, 0.9), rgba(211, 113, 88, 0.68) 64%, rgba(211, 113, 88, 0.04));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even) .content .shape {
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(-112deg, rgba(53, 68, 60, 0.9), rgba(211, 113, 88, 0.68) 64%, rgba(211, 113, 88, 0.04));
}

.home-page .wpo-story-section-s2 .story-card .text,
.home-page .wpo-story-section-s2 .story-card:nth-child(even) .text {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  padding: 0 7vw 9vh;
  text-align: left;
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even) .text {
  margin-left: auto;
  text-align: right;
}

.home-page .wpo-story-section-s2 .story-card .text .text-items {
  padding: 0;
}

.home-page .story-chapter {
  margin-bottom: 22px;
  color: var(--fa-peach);
  font-size: 10px;
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even) .story-chapter {
  flex-direction: row-reverse;
}

.home-page .wpo-story-section-s2 .story-card .text .text-items h3 {
  margin: 0 0 22px;
  color: var(--fa-cream);
  font-size: clamp(48px, 5.5vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.home-page .wpo-story-section-s2 .story-card .text .text-items p {
  max-width: 575px;
  color: rgba(249, 240, 235, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.home-page .wpo-story-section-s2 .story-card:nth-child(even) .text .text-items p {
  margin-left: auto;
}

/* Editorial gallery */
.home-page .wpo-portfolio-section-s2 {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 180px 0 210px;
  background:
    radial-gradient(circle at 8% 24%, rgba(215, 224, 221, 0.18), transparent 20%),
    radial-gradient(circle at 88% 78%, rgba(217, 154, 113, 0.16), transparent 23%),
    var(--fa-cream);
}

.home-page .wpo-portfolio-section-s2::before {
  content: "MEMORIES";
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: -1;
  color: transparent;
  font-family: "Felidae", serif;
  font-size: clamp(150px, 23vw, 430px);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(211, 113, 88, 0.07);
  transform: translate(-50%, -50%);
}

.gallery-heading {
  margin-bottom: 130px;
}

.home-page .wpo-portfolio-section-s2 .portfolio-all-items {
  max-width: 1740px;
}

.home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap {
  align-items: flex-start;
  gap: 0;
  padding: 0 25px;
}

.home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
  flex: 0 1 21%;
  max-width: 350px;
  border: 1px solid rgba(217, 154, 113, 0.24);
  background: var(--fa-cream);
  box-shadow: 0 28px 70px rgba(29, 36, 31, 0.15);
}

.home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 .image {
  padding: 11px 11px 45px;
}

.home-page .wpo-portfolio-section-s2 .portfolio-items-s2 .image img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

.home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 .image::before,
.home-page .wpo-portfolio-section-s2 .portfolio-items-s2 .image::after {
  content: none;
  display: none;
}

/* Schedule */
.home-page .wpo-event-section-s2 {
  position: relative;
  overflow: clip;
  background: var(--fa-forest);
}

.home-page .wpo-event-section-s2 .row {
  min-height: 900px;
}

.home-page .wpo-event-section-s2 .event-left-image {
  position: relative;
  height: 100%;
  min-height: 900px;
  overflow: hidden;
  background: none;
}

.home-page .wpo-event-section-s2 .event-left-image::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: url("../images/gallery/index-12.webp") center 42% / cover no-repeat;
  transform: scale(1.03);
  animation: scheduleImageBreath 16s ease-in-out infinite alternate;
}

.home-page .wpo-event-section-s2 .event-left-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 64%, rgba(29, 36, 31, 0.6)), linear-gradient(0deg, rgba(29, 36, 31, 0.28), transparent 38%);
}

.home-page .wpo-event-section-s2 .event-right {
  min-height: 900px;
  display: flex;
  align-items: center;
  margin-left: 0;
  padding: 100px 7vw;
  color: var(--fa-cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(211, 113, 88, 0.48), transparent 40%),
    linear-gradient(145deg, var(--fa-eucalyptus-deep), var(--fa-forest));
}

.home-page .wpo-event-section-s2 .event-right::before {
  content: "15";
  position: absolute;
  right: -0.04em;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.025);
  font-family: "Felidae", serif;
  font-size: clamp(300px, 38vw, 660px);
  line-height: 1;
}

.home-page .wpo-event-section-s2 .event-right .event-right-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
}

.home-page .wpo-event-section-s2 .event-right .event-title {
  margin-bottom: 70px;
}

.home-page .wpo-event-section-s2 .event-right .event-title .icon {
  position: absolute;
  top: -40px;
  right: 0;
  padding: 0;
  opacity: 0.22;
  filter: invert(1) sepia(0.4);
}

.home-page .wpo-event-section-s2 .event-right .event-title .icon img {
  width: 120px;
}

.home-page .wpo-event-section-s2 .event-right .event-title .section-kicker {
  color: var(--fa-peach);
}

.home-page .wpo-event-section-s2 .event-right .event-title h2 {
  margin: 16px 0 0;
  color: var(--fa-cream);
  font-size: clamp(72px, 7.2vw, 126px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.home-page .wpo-event-section-s2 .event-right .event-right-items {
  max-width: 560px;
  padding: 0;
}

.home-page .wpo-event-section-s2 .event-right .event-right-items h3 {
  padding: 0 0 28px;
  color: var(--fa-cream);
  font-size: 32px;
  font-weight: 400;
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul {
  position: relative;
  padding-left: 32px;
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 5px;
  width: 1px;
  background: linear-gradient(var(--fa-coral), rgba(217, 154, 113, 0.12));
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(249, 240, 235, 0.72);
  font-size: 15px;
  transition: color 300ms ease, padding 400ms var(--fa-ease);
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -32px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--fa-peach);
  border-radius: 50%;
  background: var(--fa-forest);
  box-shadow: 0 0 0 5px rgba(217, 154, 113, 0.08);
  transform: translateY(-50%);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul li:hover {
  padding-left: 8px;
  color: var(--fa-cream);
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul li:hover::before {
  background: var(--fa-peach);
  box-shadow: 0 0 0 8px rgba(217, 154, 113, 0.12);
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul li span {
  position: static;
  color: var(--fa-peach);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-page .wpo-event-section-s2 .event-right .event-right-items ul > li + li {
  margin: 0;
}

/* Final scene */
.home-page .wpo-site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 115%, rgba(217, 154, 113, 0.28), transparent 35%),
    linear-gradient(145deg, var(--fa-eucalyptus-deep), var(--fa-forest));
}

.home-page .wpo-site-footer::before,
.home-page .wpo-site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(247, 202, 183, 0.12);
  border-radius: 50% 50% 0 0;
}

.home-page .wpo-site-footer::before {
  bottom: -260px;
  left: 50%;
  width: min(70vw, 1000px);
  height: 740px;
  transform: translateX(-50%);
}

.home-page .wpo-site-footer::after {
  bottom: -330px;
  left: 50%;
  width: min(82vw, 1240px);
  height: 850px;
  transform: translateX(-50%);
}

.home-page .wpo-site-footer .wpo-upper-footer {
  padding: 150px 0 120px;
}

.home-page .wpo-site-footer .footer-title-left {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.home-page .footer-kicker {
  justify-content: center;
  margin-bottom: 38px;
  color: var(--fa-peach);
}

.home-page .footer-kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.home-page .wpo-site-footer .footer-title-left h2 {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--fa-cream);
  font-size: clamp(48px, 6.2vw, 104px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.footer-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 58px 0 50px;
  color: var(--fa-cream);
  font-family: "Felidae", serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.footer-signature i {
  margin: 0 18px;
  color: var(--fa-peach);
  font-family: Georgia, serif;
  font-size: 0.52em;
  font-style: italic;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid rgba(247, 202, 183, 0.35);
  border-radius: 999px;
  color: var(--fa-cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 350ms ease, background 350ms ease, border-color 350ms ease, transform 350ms var(--fa-ease);
}

.footer-actions a:first-child {
  color: var(--fa-forest);
  background: var(--fa-peach);
  border-color: var(--fa-peach);
}

.footer-actions a:hover {
  color: var(--fa-forest);
  background: var(--fa-cream);
  border-color: var(--fa-cream);
  transform: translateY(-3px);
}

/* ==========================================================
   Arabic invitation — an opening heirloom card
   ========================================================== */
.invitation-page {
  min-height: 100%;
  background: var(--fa-forest);
}

.invitation-page .page-wrapper {
  min-height: 100svh;
  background: var(--fa-forest);
}

.invitation-page main {
  position: relative;
  isolation: isolate;
}

.invitation-page main::before,
.invitation-page main::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 100;
  width: 51vw;
  pointer-events: none;
  background:
    linear-gradient(rgba(249, 240, 235, 0.92), rgba(215, 224, 221, 0.94)),
    url("../images/gallery/index-13.webp") center / cover;
  box-shadow: 0 0 80px rgba(29, 36, 31, 0.24);
}

.invitation-page main::before {
  left: 0;
  transform-origin: left center;
  animation: invitationCurtainLeft 1.05s 0.25s var(--fa-ease-dramatic) forwards;
}

.invitation-page main::after {
  right: 0;
  transform-origin: right center;
  animation: invitationCurtainRight 1.05s 0.25s var(--fa-ease-dramatic) forwards;
}

.invitation-page .wpo-invitation-area.rustic-invitation {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: 78px 0;
  background:
    linear-gradient(125deg, rgba(29, 36, 31, 0.64), rgba(53, 68, 60, 0.38)),
    url("../images/gallery/index-13.webp") center / cover no-repeat;
}

.invitation-page .wpo-invitation-area.rustic-invitation::before {
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(249, 240, 235, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(29, 36, 31, 0.2), rgba(29, 36, 31, 0.54));
}

.invitation-page .wpo-invitation-area.rustic-invitation::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(29, 36, 31, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(29, 36, 31, 0.12) 1px, transparent 1px);
  background-size: 110px 110px;
  mix-blend-mode: soft-light;
}

.invitation-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.invitation-orbit {
  position: absolute;
  border: 1px solid rgba(247, 202, 183, 0.16);
  border-radius: 50%;
  animation: invitationOrbit 26s linear infinite;
}

.invitation-orbit::before,
.invitation-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(247, 202, 183, 0.4);
  border-radius: 50%;
  background: rgba(247, 202, 183, 0.12);
}

.invitation-orbit::before {
  top: 12%;
  left: 13%;
}

.invitation-orbit::after {
  right: 8%;
  bottom: 24%;
}

.invitation-orbit--one {
  top: -22vw;
  left: -16vw;
  width: 50vw;
  height: 50vw;
}

.invitation-orbit--two {
  right: -19vw;
  bottom: -23vw;
  width: 56vw;
  height: 56vw;
  animation-direction: reverse;
  animation-duration: 34s;
}

.invitation-light {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(247, 202, 183, 0.14);
  filter: blur(100px);
  transform: translateX(-50%);
  animation: invitationLight 7s ease-in-out infinite alternate;
}

.invitation-floral {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.38;
  filter: sepia(0.28) saturate(0.68) brightness(0.86);
  will-change: transform;
}

.invitation-floral img {
  width: 100%;
}

.invitation-floral--left {
  bottom: -18%;
  left: -9%;
  width: min(42vw, 720px);
  animation: invitationFloralLeft 10s ease-in-out infinite alternate;
}

.invitation-floral--right {
  top: -17%;
  right: -8%;
  width: min(38vw, 650px);
  animation: invitationFloralRight 12s ease-in-out infinite alternate;
}

.invitation-page .wpo-invitation-area.rustic-invitation .hero-container,
.invitation-page .wpo-invitation-area.rustic-invitation .hero-inner {
  position: relative;
  z-index: 3;
}

.invitation-page .wpo-invitation-area.rustic-invitation .container {
  max-width: 1080px;
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-wrap {
  position: relative;
  width: min(100%, 880px);
  max-width: none;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(247, 202, 183, 0.64);
  background: rgba(53, 68, 60, 0.28);
  box-shadow: 0 45px 130px rgba(29, 36, 31, 0.34), 0 0 0 7px rgba(249, 240, 235, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: invitationCardArrival 0.9s 0.4s var(--fa-ease) both;
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 76px 64px;
  border: 1px solid rgba(211, 113, 88, 0.3);
  background-color: var(--fa-cream);
  background-image:
    radial-gradient(circle at 5% 5%, rgba(215, 224, 221, 0.17), transparent 24%),
    radial-gradient(circle at 95% 95%, rgba(217, 154, 113, 0.14), transparent 27%),
    repeating-linear-gradient(105deg, transparent 0, rgba(211, 113, 88, 0.018) 1px, transparent 2px, transparent 8px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(215, 224, 221, 0.74));
  box-shadow:
    inset 0 0 0 8px rgba(249, 240, 235, 0.7),
    inset 0 0 0 9px rgba(217, 154, 113, 0.36),
    inset 0 0 80px rgba(211, 113, 88, 0.055);
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item::before,
.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item::after {
  width: 118px;
  height: 118px;
  border-color: rgba(217, 154, 113, 0.62);
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item::before {
  top: 22px;
  right: 22px;
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item::after {
  bottom: 22px;
  left: 22px;
}

.invitation-card-glow {
  position: absolute;
  top: -40%;
  left: -65%;
  z-index: -1;
  width: 42%;
  height: 180%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: rotate(18deg);
  animation: invitationCardSheen 1.2s 1.15s var(--fa-ease) both;
}

.invitation-card-mark {
  position: absolute;
  top: 34px;
  right: 52px;
  z-index: 2;
  color: rgba(211, 113, 88, 0.42);
  font-family: "Felidae", serif;
  font-size: 18px;
  direction: ltr;
  letter-spacing: 0.08em;
}

.invitation-card-mark i {
  margin: 0 3px;
  color: var(--fa-coral);
  font-family: Georgia, serif;
  font-size: 0.7em;
  font-style: italic;
}

.invitation-page .wpo-invitation-area.rustic-invitation .rustic-flourish {
  z-index: 2;
  width: 88px;
  height: 88px;
  opacity: 0.25;
  filter: sepia(0.5) saturate(0.68);
}

.invitation-page .wpo-invitation-area.rustic-invitation .rustic-flourish-top {
  top: 32px;
  left: 38px;
  animation: invitationSwayTop 7s ease-in-out infinite alternate;
}

.invitation-page .wpo-invitation-area.rustic-invitation .rustic-flourish-bottom {
  right: 38px;
  bottom: 32px;
  animation: invitationSwayBottom 8s ease-in-out infinite alternate;
}

.invitation-date-seal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  padding: 14px;
  border: 1px solid rgba(217, 154, 113, 0.68);
  border-radius: 50%;
  color: var(--fa-coral-deep);
  background: rgba(249, 240, 235, 0.4);
  box-shadow: 0 0 0 6px rgba(217, 154, 113, 0.08), inset 0 0 28px rgba(217, 154, 113, 0.08);
  direction: rtl;
}

.invitation-date-seal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(211, 113, 88, 0.14);
  border-radius: inherit;
}

.invitation-date-seal span {
  grid-row: 1 / 3;
  align-self: auto;
  font-family: "Aref Ruqaa", serif;
  font-size: 37px;
  font-weight: 700;
  line-height: 1;
}

.invitation-date-seal small,
.invitation-date-seal em {
  align-self: end;
  color: rgba(29, 36, 31, 0.7);
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}

.invitation-date-seal em {
  align-self: start;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.invitation-page .wpo-invitation-area.rustic-invitation .invitation-quote {
  color: var(--fa-eucalyptus-deep);
  font-size: clamp(48px, 5vw, 68px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.invitation-page .wpo-invitation-area.rustic-invitation .family-line {
  position: relative;
  margin-top: 24px;
  padding: 19px 0;
  border-block: 1px solid rgba(217, 154, 113, 0.24);
}

.invitation-page .wpo-invitation-area.rustic-invitation .family-divider {
  color: var(--fa-coral);
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-copy {
  margin-top: 17px;
  color: var(--fa-eucalyptus-deep);
  font-size: 25px;
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .couple-names {
  max-width: 500px;
  margin-top: 5px;
  font-size: clamp(65px, 6.2vw, 84px);
}

.invitation-page .wpo-invitation-area.rustic-invitation .couple-names .name-part {
  color: transparent;
  background: linear-gradient(110deg, var(--fa-coral-deep) 10%, var(--fa-latte) 38%, var(--fa-peach) 48%, var(--fa-coral) 62%, var(--fa-coral-deep) 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: invitationFoil 7s 2s ease-in-out infinite alternate;
}

.invitation-page .wpo-invitation-area.rustic-invitation .couple-names .name-and {
  color: var(--fa-coral);
}

.invitation-page .wpo-invitation-area.rustic-invitation .ornamental-rule {
  max-width: 410px;
}

.invitation-page .wpo-invitation-area.rustic-invitation .ornamental-rule::before,
.invitation-page .wpo-invitation-area.rustic-invitation .ornamental-rule::after {
  background: linear-gradient(90deg, transparent, rgba(217, 154, 113, 0.82), transparent);
  transform-origin: center;
  animation: invitationRule 1.1s 2.2s var(--fa-ease) both;
}

.invitation-page .wpo-invitation-area.rustic-invitation .ornamental-rule span {
  background: var(--fa-coral-deep);
  border-color: var(--fa-coral);
  box-shadow: 0 0 0 5px rgba(217, 154, 113, 0.12);
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-details {
  max-width: 660px;
  margin-bottom: 26px;
  padding: 20px 28px;
  border: 1px solid rgba(217, 154, 113, 0.2);
  background: rgba(249, 240, 235, 0.26);
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-details p {
  color: var(--fa-eucalyptus-deep);
  font-size: 19px;
}

.invitation-page .wpo-invitation-area.rustic-invitation .invitation-footer {
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(217, 154, 113, 0.24);
}

.invitation-page .wpo-invitation-area.rustic-invitation .gift-options {
  padding: 12px 16px;
  border: 1px solid rgba(217, 154, 113, 0.18);
  background: rgba(249, 240, 235, 0.25);
}

.invitation-page .wpo-invitation-area.rustic-invitation .gift-options li {
  color: var(--fa-eucalyptus-deep);
  font-size: 13px;
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .venue-name {
  border-color: rgba(217, 154, 113, 0.3);
  background: rgba(249, 240, 235, 0.38);
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .location-button {
  position: relative;
  overflow: hidden;
  border-color: rgba(217, 154, 113, 0.66);
  color: var(--fa-cream);
  background: var(--fa-eucalyptus-deep);
  box-shadow: 0 12px 30px rgba(53, 68, 60, 0.2);
  transition: color 350ms ease, background 350ms ease, transform 350ms var(--fa-ease), box-shadow 350ms ease;
}

.invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .location-button::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -45%;
  width: 30%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(18deg);
  transition: left 750ms var(--fa-ease);
}

.invitation-page .wpo-invitation-area.rustic-invitation .location-button:hover,
.invitation-page .wpo-invitation-area.rustic-invitation .location-button:focus {
  color: var(--fa-forest);
  background: var(--fa-peach);
  box-shadow: 0 18px 38px rgba(53, 68, 60, 0.26);
  transform: translateY(-3px);
}

.invitation-page .wpo-invitation-area.rustic-invitation .location-button:hover::after {
  left: 120%;
}

.invite-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: invitationContentReveal 0.68s var(--fa-ease) forwards;
}

.invite-reveal--one { animation-delay: 0.55s; }
.invite-reveal--two { animation-delay: 0.63s; }
.invite-reveal--three { animation-delay: 0.71s; }
.invite-reveal--four { animation-delay: 0.79s; }
.invite-reveal--five { animation-delay: 0.87s; }
.invite-reveal--six { animation-delay: 0.95s; }
.invite-reveal--seven { animation-delay: 1.03s; }
.invite-reveal--eight { animation-delay: 1.11s; }

/* ==========================================================
   Guest upload experience — a living editorial guestbook
   ========================================================== */
.upload-page-shell {
  background: var(--fa-cream);
}

.upload-page-shell .page-wrapper {
  background: var(--fa-cream);
}

.compact-nav {
  top: 22px;
  left: 50%;
  width: min(calc(100% - 44px), 720px);
  min-height: 60px;
  padding: 7px 10px 7px 18px;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: navArrival 1s 0.65s var(--fa-ease) both;
}

.compact-nav > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.compact-nav > div a {
  padding: 11px 16px;
  border-radius: 999px;
  color: rgba(249, 240, 235, 0.76);
  font-size: 12px;
  font-weight: 700;
  transition: color 300ms ease, background 300ms ease;
}

.compact-nav > div a:last-child {
  color: var(--fa-forest);
  background: var(--fa-peach);
}

.compact-nav > div a:hover {
  color: var(--fa-forest);
  background: var(--fa-cream);
}

.upload-page-shell .upload-panel button:focus-visible,
.upload-page-shell .upload-panel input:focus-visible,
.upload-page-shell .upload-panel textarea:focus-visible,
.upload-page-shell .upload-panel label:focus-visible,
.upload-page-shell .upload-tabs button:focus-visible {
  outline-color: var(--fa-coral-deep);
}

.upload-page-shell .upload-page {
  overflow: hidden;
  color: var(--fa-forest);
  background:
    linear-gradient(90deg, rgba(211, 113, 88, 0.025) 1px, transparent 1px),
    var(--fa-cream);
  background-size: 100px 100%;
}

.upload-page-shell .upload-hero {
  min-height: max(610px, 72svh);
  isolation: isolate;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(29, 36, 31, 0.84) 0%, rgba(29, 36, 31, 0.45) 52%, rgba(29, 36, 31, 0.28) 100%),
    linear-gradient(0deg, rgba(29, 36, 31, 0.62), transparent 55%),
    url("../images/gallery/index-12.webp") center 43% / cover no-repeat;
}

.upload-page-shell .upload-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.upload-page-shell .upload-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -140px;
  left: -6%;
  z-index: 3;
  height: 210px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--fa-cream);
}

.upload-page-shell .upload-hero .shape-1,
.upload-page-shell .upload-hero .shape-2 {
  z-index: 2;
  width: min(38vw, 620px);
  pointer-events: none;
  opacity: 0.28;
  filter: sepia(0.2) saturate(0.7) brightness(0.9);
  will-change: transform;
}

.upload-page-shell .upload-hero .shape-1 {
  top: auto;
  bottom: -24%;
  left: -8%;
  animation: uploadFloralLeft 13s ease-in-out infinite alternate;
}

.upload-page-shell .upload-hero .shape-2 {
  top: -25%;
  right: -8%;
  bottom: auto;
  animation: uploadFloralRight 15s ease-in-out infinite alternate;
}

.upload-page-shell .upload-hero .shape-1 img,
.upload-page-shell .upload-hero .shape-2 img {
  opacity: 1;
}

.upload-hero__rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.upload-hero__rings span {
  position: absolute;
  top: 52%;
  left: 75%;
  border: 1px solid rgba(247, 202, 183, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.upload-hero__rings span:nth-child(1) {
  width: 36vw;
  height: 36vw;
  animation: uploadRing 18s linear infinite;
}

.upload-hero__rings span:nth-child(2) {
  width: 27vw;
  height: 27vw;
  border-style: dashed;
  border-color: rgba(247, 202, 183, 0.14);
  animation: uploadRing 24s linear infinite reverse;
}

.upload-hero__rings span:nth-child(3) {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--fa-peach);
  box-shadow: 0 0 30px rgba(247, 202, 183, 0.8), 0 0 0 8px rgba(247, 202, 183, 0.08);
}

.upload-page-shell .upload-hero__content {
  max-width: 850px;
  padding: 160px 0 180px;
  animation: uploadHeroContent 1.4s 0.35s var(--fa-ease) both;
}

.upload-page-shell .upload-eyebrow {
  gap: 12px;
  color: var(--fa-coral-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.upload-page-shell .upload-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.upload-page-shell .upload-hero .upload-eyebrow {
  color: var(--fa-peach);
}

.upload-page-shell .upload-hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  color: var(--fa-cream);
  font-size: clamp(78px, 10.5vw, 170px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.upload-page-shell .upload-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(249, 240, 235, 0.72);
}

.upload-page-shell .upload-hero p {
  max-width: 560px;
  color: rgba(249, 240, 235, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.upload-hero__details {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  color: rgba(249, 240, 235, 0.54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.upload-hero__details i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--fa-peach);
  transform: rotate(45deg);
}

.upload-hero__scroll {
  position: absolute;
  right: 5vw;
  bottom: 124px;
  z-index: 4;
  width: 1px;
  height: 80px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.upload-hero__scroll span {
  display: block;
  width: 100%;
  height: 45%;
  background: var(--fa-peach);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

.upload-page-shell .upload-workspace {
  position: relative;
  z-index: 5;
  margin-top: -20px;
  padding: 0 0 90px;
  background:
    radial-gradient(circle at 50% 32%, rgba(247, 202, 183, 0.22), transparent 38%),
    linear-gradient(180deg, var(--fa-cream) 0%, rgba(215, 224, 221, 0.72) 34%, rgba(215, 224, 221, 0.48) 100%);
}

.upload-workspace__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 20px 60px;
  max-width: 1180px;
  margin: 0 auto 65px;
  padding-top: 25px;
}

.upload-workspace__intro .upload-eyebrow {
  grid-column: 1 / -1;
}

.upload-workspace__intro h2 {
  margin: 0;
  color: var(--fa-forest);
  font-family: "Felidae", serif;
  font-size: clamp(56px, 6vw, 94px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.upload-workspace__intro p {
  margin: 0;
  color: rgba(29, 36, 31, 0.62);
  font-size: 15px;
  line-height: 1.75;
}

.upload-page-shell .upload-panel-grid {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  gap: 28px;
}

.upload-page-shell .upload-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px;
  border: 2px solid rgba(53, 68, 60, 0.38);
  border-radius: 2px 42px 2px 42px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 224, 221, 0.26), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(249, 240, 235, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 22px 48px rgba(29, 36, 31, 0.16),
    0 4px 12px rgba(29, 36, 31, 0.08);
  transition: border-color 450ms ease, box-shadow 600ms var(--fa-ease), transform 600ms var(--fa-ease);
}

.upload-page-shell .upload-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fa-coral), var(--fa-coral-deep), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 850ms var(--fa-ease);
}

.upload-page-shell .upload-panel:hover {
  border-color: rgba(135, 65, 47, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 30px 70px rgba(29, 36, 31, 0.2),
    0 6px 16px rgba(29, 36, 31, 0.1);
  transform: translateY(-6px);
}

.upload-page-shell .upload-panel:focus-within {
  border-color: rgba(135, 65, 47, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 28px 62px rgba(29, 36, 31, 0.2),
    0 0 0 4px rgba(211, 113, 88, 0.1);
}

.upload-page-shell .upload-panel:hover::before,
.upload-page-shell .upload-panel:focus-within::before {
  transform: scaleX(1);
}

.upload-panel__number {
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: -1;
  color: rgba(211, 113, 88, 0.07);
  font-family: "Felidae", serif;
  font-size: 110px;
  line-height: 0.8;
}

.upload-panel__orbit {
  position: absolute;
  right: -110px;
  bottom: -130px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(217, 154, 113, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(217, 154, 113, 0.025), 0 0 0 72px rgba(211, 113, 88, 0.018);
}

.upload-page-shell .upload-panel__header {
  position: relative;
  z-index: 1;
  gap: 16px;
  margin-bottom: 28px;
}

.upload-page-shell .upload-panel__icon {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border: 1px solid rgba(217, 154, 113, 0.32);
  border-radius: 50%;
  color: var(--fa-coral-deep);
  background: rgba(247, 202, 183, 0.22);
  font-size: 20px;
  box-shadow: 0 0 0 7px rgba(217, 154, 113, 0.055);
  transition: color 400ms ease, background 400ms ease, transform 600ms var(--fa-ease);
}

.upload-page-shell .upload-panel:hover .upload-panel__icon {
  color: var(--fa-cream);
  background: var(--fa-coral-deep);
  transform: rotate(-8deg) scale(1.06);
}

.upload-page-shell .upload-panel h3,
.upload-page-shell .recent-uploads h2 {
  color: var(--fa-forest);
  font-family: "Felidae", serif;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.upload-page-shell .upload-panel p,
.upload-page-shell .recent-uploads p {
  color: rgba(29, 36, 31, 0.58);
}

.upload-page-shell .upload-panel__header p {
  font-size: 14px;
}

.upload-page-shell .upload-label {
  margin: 22px 0 8px;
  color: var(--fa-eucalyptus-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.upload-page-shell .upload-panel .form-control {
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(53, 68, 60, 0.58);
  border-radius: 14px 3px 14px 3px;
  color: var(--fa-forest);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 16px rgba(29, 36, 31, 0.07);
  font-size: 15px;
  transition: border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.upload-page-shell .upload-panel textarea.form-control {
  min-height: 165px;
}

.upload-page-shell .upload-panel .form-control::placeholder {
  color: rgba(29, 36, 31, 0.36);
}

.upload-page-shell .upload-panel .form-control:focus {
  border-color: var(--fa-coral-deep);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(211, 113, 88, 0.2), 0 10px 24px rgba(29, 36, 31, 0.1);
}

.upload-page-shell .drop-zone {
  position: relative;
  isolation: isolate;
  min-height: 270px;
  gap: 8px;
  overflow: hidden;
  border: 2px dashed rgba(135, 65, 47, 0.68);
  border-radius: 30px 3px 30px 3px;
  color: var(--fa-eucalyptus-deep);
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 224, 221, 0.42), transparent 48%),
    rgba(215, 224, 221, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(29, 36, 31, 0.08);
  transition: border-color 350ms ease, background 350ms ease, transform 450ms var(--fa-ease), box-shadow 450ms ease;
}

.upload-page-shell .drop-zone::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, var(--fa-coral), var(--fa-coral-deep), var(--fa-eucalyptus), transparent 72%);
  opacity: 0;
  animation: none;
  transition: opacity 300ms ease;
}

.upload-page-shell .drop-zone::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(215, 224, 221, 0.62), rgba(249, 240, 235, 0.9));
}

.drop-zone__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(217, 154, 113, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(217, 154, 113, 0.025), 0 0 0 52px rgba(211, 113, 88, 0.018);
  transform: translate(-50%, -50%);
  transition: transform 800ms var(--fa-ease), border-color 400ms ease;
}

.upload-page-shell .drop-zone:hover,
.upload-page-shell .drop-zone:focus-within,
.upload-page-shell .drop-zone.is-dragging {
  border-color: var(--fa-coral-deep);
  background: var(--fa-cream);
  box-shadow: 0 18px 45px rgba(29, 36, 31, 0.1);
  transform: translateY(-3px);
}

.upload-page-shell .drop-zone:hover::before,
.upload-page-shell .drop-zone:focus-within::before,
.upload-page-shell .drop-zone.is-dragging::before {
  opacity: 1;
  animation: dropZoneOrbit 4s linear infinite;
}

.upload-page-shell .drop-zone.is-dragging {
  box-shadow: 0 24px 65px rgba(158, 159, 145, 0.18);
  transform: translateY(-7px) scale(1.01);
}

.upload-page-shell .drop-zone.is-dragging .drop-zone__halo {
  border-color: rgba(158, 159, 145, 0.42);
  transform: translate(-50%, -50%) scale(1.16);
}

.upload-page-shell .drop-zone__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(158, 159, 145, 0.28);
  border-radius: 50%;
  color: var(--fa-eucalyptus-deep);
  background: rgba(158, 159, 145, 0.08);
  font-size: 25px;
  transition: color 350ms ease, background 350ms ease, transform 550ms var(--fa-ease);
}

.upload-page-shell .drop-zone:hover .drop-zone__icon,
.upload-page-shell .drop-zone.is-dragging .drop-zone__icon {
  color: var(--fa-cream);
  background: var(--fa-eucalyptus-deep);
  transform: translateY(-4px) rotate(-7deg);
}

.upload-page-shell .drop-zone strong {
  margin-top: 7px;
  font-family: "Felidae", serif;
  font-size: 25px;
  font-weight: 400;
}

.upload-page-shell .drop-zone > span:not(.drop-zone__icon):not(.drop-zone__halo) {
  color: rgba(29, 36, 31, 0.48);
  font-size: 13px;
}

.upload-page-shell .drop-zone__button {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid var(--fa-eucalyptus-deep);
  border-radius: 999px;
  color: var(--fa-eucalyptus-deep);
  background: rgba(215, 224, 221, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 300ms ease, background 300ms ease, transform 300ms var(--fa-ease);
}

.upload-page-shell .drop-zone__button:hover {
  color: var(--fa-cream);
  background: var(--fa-eucalyptus-deep);
  transform: translateY(-2px);
}

.upload-formats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 2px 0;
  color: rgba(29, 36, 31, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.upload-page-shell .file-summary {
  margin-top: 14px;
}

.upload-page-shell .file-summary li {
  padding: 10px 2px;
  border-color: rgba(217, 154, 113, 0.18);
  color: rgba(29, 36, 31, 0.68);
  font-size: 12px;
}

.upload-page-shell .upload-action.theme-btn {
  min-height: 58px;
  margin-top: 20px;
  border: 1px solid var(--fa-eucalyptus-deep);
  border-radius: 999px;
  color: var(--fa-cream);
  background: var(--fa-eucalyptus-deep);
  box-shadow: 0 14px 32px rgba(53, 68, 60, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 350ms ease, box-shadow 350ms ease, transform 350ms var(--fa-ease);
}

.upload-page-shell .upload-action.theme-btn::after {
  background: var(--fa-peach);
}

.upload-page-shell .upload-action.theme-btn::before {
  content: "→";
  right: 28px;
  color: currentColor;
  font-size: 18px;
}

.upload-page-shell .upload-action.theme-btn:hover {
  color: var(--fa-forest);
  box-shadow: 0 20px 42px rgba(53, 68, 60, 0.24);
  transform: translateY(-3px);
}

.upload-page-shell .upload-action.theme-btn:disabled {
  transform: none;
}

.upload-page-shell .upload-status {
  font-size: 12px;
}

.upload-page-shell .upload-status.is-success {
  color: var(--fa-eucalyptus-deep);
}

.upload-page-shell .upload-status.is-error {
  color: var(--fa-coral-deep);
}

.upload-page-shell .recent-uploads {
  position: relative;
  isolation: isolate;
  padding: 120px 0 140px;
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 224, 221, 0.16), transparent 23%),
    linear-gradient(180deg, var(--fa-rain), var(--fa-cream));
}

.upload-page-shell .recent-uploads::before {
  content: "SHARED";
  position: absolute;
  top: 80px;
  right: -0.02em;
  z-index: -1;
  color: transparent;
  font-family: "Felidae", serif;
  font-size: clamp(140px, 24vw, 390px);
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(211, 113, 88, 0.06);
}

.upload-page-shell #uploads-container {
  position: relative;
}

.upload-page-shell .recent-uploads__header {
  align-items: flex-end;
  margin-bottom: 55px;
}

.upload-page-shell .recent-uploads__header h2 {
  margin-top: 12px;
  font-size: clamp(48px, 5.4vw, 78px);
}

.upload-page-shell .recent-uploads__header p {
  margin: 10px 0 0;
  font-size: 14px;
}

.upload-page-shell .upload-tabs {
  position: relative;
  gap: 0;
  padding: 5px;
  border-color: rgba(217, 154, 113, 0.32);
  border-radius: 999px;
  background: rgba(249, 240, 235, 0.72);
  box-shadow: 0 10px 32px rgba(29, 36, 31, 0.07);
}

.upload-page-shell .upload-tabs button {
  position: relative;
  z-index: 1;
  min-height: 45px;
  padding: 10px 22px;
  border-radius: 999px;
  color: rgba(29, 36, 31, 0.58);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: color 350ms ease, background 350ms ease, box-shadow 350ms ease, transform 350ms var(--fa-ease);
}

.upload-page-shell .upload-tabs button.active {
  color: var(--fa-cream);
  background: var(--fa-forest);
  box-shadow: 0 7px 18px rgba(29, 36, 31, 0.18);
}

.upload-page-shell .upload-tabs button:hover:not(.active) {
  color: var(--fa-coral-deep);
  transform: translateY(-1px);
}

.upload-page-shell .media-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 190px;
  gap: 14px;
}

.upload-page-shell .media-gallery figure {
  position: relative;
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 113, 0.24);
  border-radius: 2px 22px 2px 22px;
  background: var(--fa-rain);
  box-shadow: 0 18px 42px rgba(29, 36, 31, 0.12);
  animation: mediaCardArrival 700ms var(--fa-ease) both;
}

.upload-page-shell .media-gallery figure:nth-child(7n + 1),
.upload-page-shell .media-gallery figure:nth-child(11n + 6) {
  grid-column: span 2;
  grid-row: span 2;
}

.upload-page-shell .media-gallery figure:nth-child(2n) {
  animation-delay: 70ms;
}

.upload-page-shell .media-gallery figure:nth-child(3n) {
  animation-delay: 140ms;
}

.upload-page-shell .media-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.3) 46%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 900ms var(--fa-ease);
}

.upload-page-shell .media-gallery figure:hover::after {
  transform: translateX(130%);
}

.upload-page-shell .media-gallery img {
  transition: transform 1s var(--fa-ease), filter 600ms ease;
}

.upload-page-shell .media-gallery figure:hover img {
  filter: saturate(1.07) contrast(1.02);
  transform: scale(1.065);
}

.upload-page-shell .message-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.upload-page-shell .message-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 113, 0.28);
  border-radius: 2px 24px 2px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(249, 240, 235, 0.88));
  box-shadow: 0 18px 46px rgba(29, 36, 31, 0.09);
  transform: rotate(-0.45deg);
  transition: border-color 350ms ease, box-shadow 450ms ease, transform 500ms var(--fa-ease);
  animation: mediaCardArrival 700ms var(--fa-ease) both;
}

.upload-page-shell .message-card:nth-child(even) {
  transform: rotate(0.55deg);
}

.upload-page-shell .message-card::before {
  content: "“";
  position: absolute;
  top: -18px;
  right: 14px;
  color: rgba(211, 113, 88, 0.08);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
}

.upload-page-shell .message-card:hover {
  border-color: rgba(217, 154, 113, 0.54);
  box-shadow: 0 28px 62px rgba(29, 36, 31, 0.14);
  transform: translateY(-7px) rotate(0);
}

.upload-page-shell .message-card time {
  color: rgba(29, 36, 31, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.upload-page-shell .message-card strong {
  margin: 18px 0 12px;
  color: var(--fa-coral-deep);
  font-family: "Felidae", serif;
  font-size: 28px;
  font-weight: 400;
}

.upload-page-shell .message-card p {
  position: relative;
  color: rgba(29, 36, 31, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.upload-page-shell .empty-state {
  padding: 28px;
  border-color: rgba(217, 154, 113, 0.4);
  border-radius: 2px 24px 2px 24px;
  color: rgba(29, 36, 31, 0.58);
  background: rgba(249, 240, 235, 0.62);
  text-align: center;
}

.upload-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 80px 20px;
  overflow: hidden;
  color: var(--fa-cream);
  background:
    radial-gradient(circle at 50% 110%, rgba(217, 154, 113, 0.28), transparent 40%),
    linear-gradient(145deg, var(--fa-eucalyptus-deep), var(--fa-forest));
  text-align: center;
}

.upload-footer::before,
.upload-footer::after {
  content: "";
  position: absolute;
  bottom: -310px;
  left: 50%;
  width: min(80vw, 900px);
  height: 650px;
  border: 1px solid rgba(247, 202, 183, 0.13);
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.upload-footer::after {
  bottom: -365px;
  width: min(92vw, 1080px);
  height: 750px;
}

.upload-footer__mark {
  position: relative;
  z-index: 1;
  color: var(--fa-cream);
  font-family: "Felidae", serif;
  font-size: 72px;
  line-height: 1;
}

.upload-footer__mark i {
  color: var(--fa-peach);
  font-family: Georgia, serif;
  font-size: 0.45em;
  font-style: italic;
}

.upload-footer p {
  position: relative;
  z-index: 1;
  margin: 18px 0 32px;
  color: rgba(249, 240, 235, 0.68);
  font-size: 15px;
}

.upload-footer a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid rgba(247, 202, 183, 0.38);
  border-radius: 999px;
  color: var(--fa-cream);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 350ms ease, background 350ms ease, transform 350ms var(--fa-ease);
}

.upload-footer a:hover {
  color: var(--fa-forest);
  background: var(--fa-peach);
  transform: translateY(-3px);
}

/* ==========================================================
   Motion choreography
   ========================================================== */
@keyframes navArrival {
  from { opacity: 0; transform: translate(-50%, -22px) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes bloomDriftLeft {
  from { transform: translate3d(-1%, 1%, 0) rotate(-3deg) scale(1); }
  to { transform: translate3d(4%, -3%, 0) rotate(2deg) scale(1.04); }
}

@keyframes bloomDriftRight {
  from { transform: translate3d(2%, -1%, 0) rotate(1deg) scale(1.02); }
  to { transform: translate3d(-4%, 4%, 0) rotate(-3deg) scale(1.07); }
}

@keyframes archDraw {
  from { opacity: 0; clip-path: inset(100% 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes portraitArrival {
  0% { opacity: 0; transform: translate(-50%, 12%) scale(0.92); }
  65% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes heroKickerReveal {
  from { opacity: 0; letter-spacing: 0.9em; }
  to { opacity: 1; letter-spacing: 0.5em; }
}

@keyframes heroTitleReveal {
  from { opacity: 0; clip-path: inset(0 0 100%); letter-spacing: 0.01em; }
  to { opacity: 1; clip-path: inset(-0.24em 0); letter-spacing: -0.045em; }
}

@keyframes heroCopyReveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes auraBreathe {
  from { opacity: 0.56; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 0.94; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes scrollDrop {
  0% { transform: translateY(-110%); }
  50%, 100% { transform: translateY(115%); }
}

@keyframes marqueeLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes countdownPhase {
  from { --countdown-angle: 0deg; }
  to { --countdown-angle: 360deg; }
}

@keyframes loveBirdOrbit {
  to { transform: rotate(360deg); }
}

@keyframes flowerFloat {
  from { transform: translateY(0) rotate(40deg); }
  to { transform: translateY(-12px) rotate(51deg); }
}

@keyframes scheduleImageBreath {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes invitationCurtainLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-105%); visibility: hidden; }
}

@keyframes invitationCurtainRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(105%); visibility: hidden; }
}

@keyframes invitationOrbit {
  to { transform: rotate(360deg); }
}

@keyframes invitationLight {
  from { opacity: 0.5; transform: translateX(-50%) scale(0.88); }
  to { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes invitationFloralLeft {
  from { transform: rotate(-4deg) translate3d(-2%, 2%, 0); }
  to { transform: rotate(1deg) translate3d(3%, -2%, 0); }
}

@keyframes invitationFloralRight {
  from { transform: rotate(2deg) translate3d(2%, -1%, 0); }
  to { transform: rotate(-3deg) translate3d(-3%, 3%, 0); }
}

@keyframes invitationCardArrival {
  from { opacity: 0; transform: translateY(42px) scale(0.955) rotateX(3deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}

@keyframes invitationCardSheen {
  from { left: -65%; }
  to { left: 135%; }
}

@keyframes invitationSwayTop {
  from { transform: rotate(-21deg) translateY(0); }
  to { transform: rotate(-12deg) translateY(-7px); }
}

@keyframes invitationSwayBottom {
  from { transform: rotate(158deg) translateY(0); }
  to { transform: rotate(168deg) translateY(-6px); }
}

@keyframes invitationFoil {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}

@keyframes invitationRule {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes invitationContentReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes uploadFloralLeft {
  from { transform: rotate(-4deg) translate3d(-2%, 2%, 0); }
  to { transform: rotate(2deg) translate3d(4%, -2%, 0); }
}

@keyframes uploadFloralRight {
  from { transform: rotate(3deg) translate3d(2%, -2%, 0); }
  to { transform: rotate(-3deg) translate3d(-3%, 3%, 0); }
}

@keyframes uploadRing {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes uploadHeroContent {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dropZoneOrbit {
  to { transform: rotate(360deg); }
}

@keyframes mediaCardArrival {
  from { opacity: 0; clip-path: inset(8% 8% 8% 8%); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes viewFadeUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes viewClipReveal {
  from { opacity: 0.15; clip-path: inset(12% 10% 12% 10%); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes viewFadeOnly {
  from { opacity: 0.05; }
  to { opacity: 1; }
}

/* Progressive scroll-linked motion in supporting browsers. */
@supports (animation-timeline: view()) {
  .home-page .editorial-heading--split,
  .upload-page-shell .upload-workspace__intro,
  .upload-page-shell .recent-uploads__header,
  .upload-page-shell .upload-footer__mark {
    animation: viewFadeUp linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 34%;
  }

  .home-page .wpo-couple-section-s2 .couple-image img,
  .home-page .wpo-portfolio-section-s2 .portfolio-items-s2 .image,
  .home-page .wpo-event-section-s2 .event-left-image,
  .upload-page-shell .upload-panel {
    animation: viewClipReveal linear both;
    animation-timeline: view();
    animation-range: entry 3% cover 38%;
  }

  .home-page .wpo-story-section-s2 .story-card .text,
  .home-page .wpo-site-footer .footer-title-left {
    animation: viewFadeOnly linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 38%;
  }
}

/* ==========================================================
   Responsive composition
   ========================================================== */
@media (max-width: 1399px) {
  .home-page .wpo-hero-static-s2 .wrapper .hero-title {
    font-size: clamp(120px, 15vw, 220px);
  }

  .home-page .wpo-hero-static-s2 .overlay-image {
    width: clamp(400px, 42vw, 590px);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-image {
    width: min(31vw, 390px);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text {
    max-width: 270px;
  }

  .home-page .wpo-story-section-s2 .story-card .content {
    width: min(63%, 780px);
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
    max-width: 285px;
  }

  .home-page .wpo-event-section-s2 .event-right {
    padding-inline: 5vw;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-wrap {
    width: min(100%, 840px);
  }
}

@media (max-width: 1199px) {
  .editorial-heading--split {
    width: min(100% - 60px, 1120px);
    margin-bottom: 80px;
  }

  .home-page .wpo-hero-static-s2 {
    height: max(800px, 100svh);
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-title {
    font-size: 14.5vw;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content {
    width: min(30vw, 330px);
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content p {
    font-size: 13px;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content p span {
    font-size: 24px;
  }

  .hero-meta {
    max-width: 260px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock {
    grid-template-columns: repeat(4, minmax(150px, 205px));
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-image {
    width: min(31vw, 350px);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text {
    max-width: 245px;
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text h3 {
    font-size: 44px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap {
    padding-inline: 8px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
    max-width: 240px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-title h2 {
    font-size: 75px;
  }

  .upload-page-shell .upload-hero h1 {
    font-size: clamp(82px, 11vw, 130px);
  }

  .upload-workspace__intro,
  .upload-page-shell .upload-panel-grid {
    max-width: 1000px;
  }

  .upload-page-shell .message-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .editorial-heading--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
    width: min(100% - 48px, 820px);
    margin-bottom: 70px;
  }

  .editorial-heading--split p {
    max-width: 540px;
  }

  .home-page .wpo-hero-static-s2 .hero-circle {
    position: absolute;
    top: 29%;
    right: 34px;
    left: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
  }

  .home-page .wpo-hero-static-s2 .overlay-image {
    bottom: 42px;
    left: 50%;
    width: min(52vw, 520px);
    max-width: none;
  }

  .home-page .wpo-hero-static-s2 .wrapper {
    padding: 0;
    text-align: inherit;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-title {
    font-size: 15vw;
    line-height: 0.68;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content {
    left: 28px;
    width: 265px;
  }

  .hero-meta {
    right: 28px;
  }

  .home-page .wpo-wedding-date {
    padding: 110px 0 120px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock {
    grid-template-columns: repeat(2, minmax(170px, 225px));
    gap: 28px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock::before {
    top: 50%;
    right: 20%;
    left: 20%;
  }

  .home-page .wpo-couple-section-s2 {
    padding: 120px 0 140px;
  }

  .home-page .wpo-couple-section-s2 .couple-items {
    min-height: 0;
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-image {
    width: min(72vw, 480px);
    max-width: none;
  }

  .home-page .wpo-couple-section-s2 .col:nth-child(1) .couple-image,
  .home-page .wpo-couple-section-s2 .col:nth-child(2) .couple-items .couple-image {
    left: 0;
    transform: rotate(0);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text,
  .home-page .wpo-couple-section-s2 .col:nth-child(1) .couple-text,
  .home-page .wpo-couple-section-s2 .col:nth-child(2) .couple-items .couple-text {
    max-width: 480px;
    margin: 0 auto;
    padding-top: 38px;
    text-align: center;
  }

  .home-page .portrait-role {
    justify-content: center;
  }

  .home-page .portrait-role::after {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
  }

  .home-page .wpo-couple-section-s2 .col:nth-child(2) .couple-items {
    margin-top: 100px;
  }

  .home-page .wpo-story-section-s2 {
    padding-top: 120px;
  }

  .home-page .wpo-story-section-s2 .story-title {
    margin-bottom: 90px;
  }

  .home-page .wpo-story-section-s2 .story-card .content {
    width: min(74%, 700px);
  }

  .home-page .wpo-story-section-s2 .story-card .text,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .text {
    padding: 0 6vw 8vh;
  }

  .home-page .wpo-portfolio-section-s2 {
    padding: 130px 0 150px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px 20px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
    flex-basis: calc(33.333% - 20px);
    max-width: 280px;
    margin-top: 0;
    right: auto;
    left: auto;
  }

  .home-page .wpo-event-section-s2 .row {
    min-height: 0;
  }

  .home-page .wpo-event-section-s2 .event-left-image {
    height: 720px;
    min-height: 0;
  }

  .home-page .wpo-event-section-s2 .event-left-image::after {
    background: linear-gradient(0deg, rgba(29, 36, 31, 0.72), transparent 38%);
  }

  .home-page .wpo-event-section-s2 .event-right {
    min-height: 720px;
    padding: 90px max(32px, 8vw);
  }

  .home-page .wpo-event-section-s2 .event-right .event-right-wrap {
    margin: 0 auto;
  }

  .home-page .wpo-site-footer .wpo-upper-footer {
    padding: 120px 0 100px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation {
    padding: 46px 0;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-wrap {
    width: min(100%, 760px);
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item {
    padding: 70px 52px 58px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .invitation-quote {
    font-size: 54px;
  }

  .upload-page-shell .upload-hero {
    min-height: 620px;
  }

  .upload-page-shell .upload-hero__content {
    padding: 150px 0 175px;
  }

  .upload-page-shell .upload-hero h1 {
    font-size: 96px;
  }

  .upload-workspace__intro {
    grid-template-columns: 1fr;
    max-width: 740px;
  }

  .upload-page-shell .upload-panel-grid {
    max-width: 740px;
  }

  .upload-page-shell .media-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-grain {
    display: none;
  }

  .floating-nav {
    top: 14px;
    width: calc(100% - 28px);
    min-height: 58px;
    padding: 6px 7px 6px 16px;
  }

  .floating-nav__links a:not(.floating-nav__invitation) {
    display: none;
  }

  .floating-nav__links .floating-nav__invitation {
    padding: 12px 17px;
    font-size: 11px;
  }

  .home-page .wpo-hero-static-s2 {
    height: 860px;
    min-height: 860px;
  }

  .home-page .hero-kicker {
    top: 100px;
    width: 100%;
    font-size: 10px;
    letter-spacing: 0.4em;
    text-align: center;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-title {
    top: 190px;
    font-size: clamp(72px, 20vw, 132px);
    line-height: 0.66;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content {
    top: 300px;
    bottom: auto;
    left: 50%;
    width: min(calc(100% - 54px), 400px);
    padding-left: 16px;
    transform: translateX(-50%);
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content p {
    font-size: 12px;
    line-height: 1.55;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content p span {
    display: inline;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
  }

  .hero-meta,
  .hero-scroll-cue {
    display: none;
  }

  .home-page .wpo-hero-static-s2 .overlay-image {
    bottom: 42px;
    width: min(76vw, 350px);
  }

  .home-page .wpo-hero-static-s2 .hero-circle {
    top: 465px;
    right: -8px;
    z-index: 4;
  }

  .home-page .hero-circle .circle-content {
    width: 94px;
    height: 94px;
    padding: 2px;
    font-size: 8px;
    letter-spacing: 2.8px;
  }

  .home-page .hero-circle .circle-content .flower {
    top: 35px;
    left: 4px;
    width: 62px;
  }

  .hero-geometry span:nth-child(1) {
    top: 16%;
    width: 76vw;
    height: 69%;
  }

  .hero-geometry span:nth-child(2) {
    top: 20%;
    width: 64vw;
    height: 60%;
  }

  .hero-bloom--left {
    left: -45%;
    width: 620px;
    opacity: 0.13;
  }

  .hero-bloom--right {
    right: -58%;
    width: 570px;
    opacity: 0.12;
  }

  .hero-bloom,
  .upload-page-shell .upload-hero .shape-1,
  .upload-page-shell .upload-hero .shape-2,
  .invitation-floral {
    will-change: auto;
  }

  .home-page .back-to-top,
  .invitation-page .back-to-top,
  .upload-page-shell .back-to-top {
    display: none !important;
  }

  .hero-marquee {
    height: 42px;
  }

  .hero-marquee span {
    padding-inline: 9vw;
    font-size: 9px;
  }

  .editorial-heading h2 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .editorial-heading--center {
    margin-bottom: 50px;
  }

  .home-page .wpo-wedding-date {
    padding: 90px 0 100px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock {
    grid-template-columns: repeat(2, minmax(125px, 180px));
    gap: 16px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock .time {
    font-size: 52px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock span {
    margin-top: 6px;
    font-size: 8px;
  }

  .home-page .wpo-couple-section-s2 {
    padding: 90px 0 110px;
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-image {
    width: min(84vw, 440px);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text h3 {
    font-size: 48px;
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text p {
    font-size: 14px;
    padding: 0px 10px;
  }

  .home-page .wpo-couple-section-s2 .col:nth-child(2) .couple-items {
    margin-top: 78px;
  }

  .home-page .wpo-story-section-s2 {
    padding-top: 90px;
  }

  .home-page .wpo-story-section-s2 .story-title {
    margin-bottom: 65px;
  }

  .home-page .wpo-story-section-s2 .story-title h2 {
    font-size: clamp(52px, 14vw, 80px);
    line-height: 0.98;
  }

  .home-page .wpo-story-section-s2 .story-title .section-kicker {
    margin-bottom: 27px;
  }

  .home-page .wpo-story-section-s2 .story-card {
    position: relative;
    height: auto;
    min-height: 0;
    margin: 0;
  }

  .home-page .wpo-story-section-s2 .story-card .image {
    position: relative;
    inset: auto;
    height: clamp(260px, 76vw, 320px);
  }

  .home-page .wpo-story-section-s2 .story-card .image img {
    min-height: 0;
    height: 100%;
    transform: none;
  }

  .home-page .wpo-story-section-s2 .story-card:hover .image img {
    transform: none;
  }

  .home-page .wpo-story-section-s2 .story-card .image::after,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .image::after {
    background: linear-gradient(0deg, rgba(29, 36, 31, 0.92), rgba(53, 68, 60, 0.25) 65%, transparent);
  }

  .home-page .wpo-story-section-s2 .story-card .content,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .content {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    display: block;
    text-align: left;
  }

  .home-page .wpo-story-section-s2 .story-card .shape,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .content .shape {
    width: 100%;
    clip-path: none;
    background: linear-gradient(0deg, rgba(53, 68, 60, 0.96), rgba(211, 113, 88, 0.56) 58%, transparent);
  }

  .home-page .wpo-story-section-s2 .story-card .text,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .text {
    width: 100%;
    margin: 0;
    padding: 38px 26px 42px;
    text-align: left;
  }

  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .story-chapter {
    flex-direction: row;
  }

  .home-page .wpo-story-section-s2 .story-card .text .text-items h3 {
    font-size: 48px;
  }

  .home-page .wpo-story-section-s2 .story-card .text .text-items p,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even) .text .text-items p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .home-page .wpo-story-section-s2 .story-card::before,
  .home-page .wpo-story-section-s2 .story-card:nth-child(even)::before {
    top: 24px;
    right: 25px;
    left: auto;
    font-size: 100px;
  }

  .home-page .wpo-portfolio-section-s2 {
    padding: 100px 0 120px;
  }

  .gallery-heading {
    margin-bottom: 80px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap {
    gap: 34px 14px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
    flex-basis: calc(50% - 12px);
    max-width: 300px;
    margin-bottom: 0;
    transform: rotate(0);
  }

  .home-page .wpo-event-section-s2 .event-left-image {
    height: 620px;
  }

  .home-page .wpo-event-section-s2 .event-right {
    min-height: auto;
    padding: 82px 25px 90px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-title {
    margin-bottom: 50px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-title h2 {
    font-size: 64px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-right-items h3 {
    font-size: 28px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-right-items ul li {
    font-size: 13px;
  }

  .home-page .wpo-site-footer .wpo-upper-footer {
    padding: 90px 0 80px;
  }

  .home-page .wpo-site-footer .footer-title-left h2 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .footer-signature {
    margin: 42px 0 38px;
  }

  .footer-actions {
    flex-direction: column;
  }

  .footer-actions a {
    width: min(100%, 310px);
  }

  .invitation-page .wpo-invitation-area.rustic-invitation {
    padding: 24px 0;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .container {
    padding-inline: 12px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-wrap {
    width: 100%;
    padding: 8px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item {
    padding: 58px 28px 46px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item::before,
  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item::after {
    width: 70px;
    height: 70px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .rustic-flourish {
    width: 58px;
    height: 58px;
  }

  .invitation-card-mark {
    top: 24px;
    right: 31px;
  }

  .invitation-date-seal {
    width: 82px;
    height: 82px;
    margin-bottom: 20px;
    padding: 12px;
  }

  .invitation-date-seal span {
    font-size: 32px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .invitation-quote {
    font-size: 44px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .family-line {
    margin-top: 18px;
    padding: 14px 0;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .couple-names {
    font-size: 55px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-details {
    padding: 16px 18px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .invitation-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .gift-options {
    width: 100%;
    flex-basis: auto;
  }

  .invitation-floral--left {
    left: -34%;
    width: 90vw;
    opacity: 0.22;
  }

  .invitation-floral--right {
    right: -38%;
    width: 85vw;
    opacity: 0.2;
  }

  .compact-nav {
    top: 14px;
    width: calc(100% - 28px);
  }

  .upload-page-shell .upload-hero {
    min-height: 650px;
    background-position: 58% center;
  }

  .upload-page-shell .upload-hero__content {
    padding: 145px 0 180px;
  }

  .upload-page-shell .upload-hero h1 {
    font-size: clamp(70px, 20vw, 108px);
    line-height: 0.82;
  }

  .upload-page-shell .upload-hero p {
    font-size: 14px;
  }

  .upload-hero__rings {
    opacity: 0.45;
  }

  .upload-hero__rings span:nth-child(1) {
    width: 70vw;
    height: 70vw;
  }

  .upload-hero__rings span:nth-child(2) {
    width: 52vw;
    height: 52vw;
  }

  .upload-page-shell .upload-workspace {
    padding-bottom: 70px;
  }

  .upload-workspace__intro {
    gap: 20px;
    margin-bottom: 44px;
  }

  .upload-workspace__intro h2 {
    font-size: 58px;
  }

  .upload-page-shell .upload-panel {
    padding: 28px;
    border-radius: 2px 30px 2px 30px;
  }

  .upload-page-shell .recent-uploads {
    padding: 90px 0 110px;
  }

  .upload-page-shell .recent-uploads__header {
    align-items: stretch;
    margin-bottom: 40px;
  }

  .upload-page-shell .upload-tabs,
  .upload-page-shell .upload-tabs button {
    width: auto;
  }

  .upload-page-shell .upload-tabs {
    align-self: flex-start;
  }

  .upload-page-shell .media-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 185px;
  }

  .upload-page-shell .message-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .section-kicker,
  .footer-kicker,
  .portrait-role,
  .story-chapter {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .editorial-heading--split {
    width: calc(100% - 32px);
  }

  .home-page .wpo-wedding-date .container {
    padding-inline: 18px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock {
    grid-template-columns: repeat(2, minmax(118px, 155px));
    gap: 13px;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock .box {
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.48), 0 18px 40px rgba(53, 68, 60, 0.1);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-image {
    padding: 9px 9px 42px;
  }

  .home-page .wpo-story-section-s2 .story-card .text .text-items h3 {
    font-size: 42px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
    flex-basis: calc(50% - 8px);
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 .image {
    padding: 7px 7px 34px;
  }

  .home-page .wpo-event-section-s2 .event-left-image {
    height: 520px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-title h2 {
    font-size: 54px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-right-items ul li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-page .wpo-event-section-s2 .event-right .event-right-items ul li span {
    white-space: normal;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item {
    padding: 52px 19px 38px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .invitation-quote {
    font-size: 39px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .family-line p {
    font-size: 18px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-copy {
    font-size: 19px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .couple-names {
    column-gap: 7px;
    font-size: 47px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-details {
    padding: 14px 11px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .invitation-details p {
    font-size: 16px;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .venue-location {
    align-items: stretch;
    flex-direction: column;
  }

  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .venue-name,
  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item .wpo-event-text .location-button {
    width: 100%;
    justify-content: center;
  }

  .compact-nav {
    min-height: 56px;
    padding-left: 15px;
  }

  .compact-nav > div a {
    padding: 10px 12px;
    font-size: 10px;
  }

  .compact-nav > div a:first-child {
    display: none;
  }

  .upload-page-shell .upload-hero__content {
    padding-bottom: 170px;
  }

  .upload-hero__details {
    flex-wrap: wrap;
    gap: 10px;
  }

  .upload-page-shell .upload-hero .shape-1,
  .upload-page-shell .upload-hero .shape-2 {
    width: 85vw;
    opacity: 0.16;
  }

  .upload-page-shell .upload-panel {
    padding: 23px;
  }

  .upload-panel__number {
    top: 22px;
    right: 20px;
    font-size: 82px;
  }

  .upload-page-shell .upload-panel__icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .upload-page-shell .drop-zone {
    min-height: 250px;
    padding: 20px 14px;
  }

  .upload-formats {
    flex-direction: column;
    gap: 4px;
  }

  .upload-page-shell .recent-uploads__header h2 {
    font-size: 50px;
  }

  .upload-page-shell .media-gallery {
    grid-auto-rows: 170px;
    gap: 10px;
  }

  .upload-page-shell .media-gallery figure:nth-child(7n + 1),
  .upload-page-shell .media-gallery figure:nth-child(11n + 6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .upload-page-shell .media-gallery figure:only-child {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .upload-footer {
    min-height: 380px;
  }

  .upload-footer__mark {
    font-size: 58px;
  }
}

@media (max-width: 420px) {
  .home-page .wpo-hero-static-s2 .wrapper .hero-title {
    font-size: 22vw;
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content {
    top: 285px;
  }

  .home-page .wpo-hero-static-s2 .overlay-image {
    width: min(82vw, 330px);
  }

  .home-page .wpo-couple-section-s2 .couple-items .couple-text h3 {
    font-size: 43px;
  }

  .home-page .wpo-portfolio-section-s2 .portfolio-all-items .portfolio-wrap .portfolio-items-s2 {
    flex-basis: min(88%, 320px);
  }

  .upload-page-shell .upload-hero h1 {
    font-size: 68px;
  }

  .upload-workspace__intro h2 {
    font-size: 49px;
  }

  .upload-page-shell .upload-panel h3 {
    font-size: 31px;
  }
}

/* Motion and transparency are optional enhancements. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .wow {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .invite-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .splittext-line > *,
  .poort-text *,
  .home-page .portfolio-items-s2 {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .invitation-page main::before,
  .invitation-page main::after {
    display: none !important;
  }

  .hero-marquee > div,
  .home-page .wpo-hero-static-s2 .overlay-image,
  .home-page .wpo-event-section-s2 .event-left-image::before,
  .upload-page-shell .upload-hero__content {
    transform: none !important;
  }

  .home-page .wpo-hero-static-s2 .overlay-image {
    transform: translateX(-50%) !important;
  }

  .home-page .wpo-wedding-date .wedding-date-wrap #clock .box:hover,
  .upload-page-shell .upload-panel:hover,
  .upload-page-shell .message-card:hover {
    transform: none !important;
  }
}

@media (prefers-contrast: more) {
  .floating-nav,
  .compact-nav {
    background: var(--fa-forest);
  }

  .home-page .wpo-hero-static-s2 .wrapper .hero-content p,
  .upload-page-shell .upload-hero p,
  .home-page .wpo-story-section-s2 .story-card .text .text-items p {
    color: var(--fa-cream);
  }

  .upload-page-shell .upload-panel,
  .invitation-page .wpo-invitation-area.rustic-invitation .wpo-event-item {
    border-width: 2px;
  }
}
