/* Emerald Grande Wedding Invitation Stylesheet */

@font-face {
  font-family: "Bickham Script Pro 3";
  src: url("/templates/emerald/fonts/bickham-script-pro-3-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --emerald-deep: #092c20;
  --emerald-rich: #0e3b2b;
  --emerald-accent: #17533d;
  --gold-primary: #c5a059;
  --gold-light: #e5cd96;
  --gold-dark: #8c6f32;
  --cream-paper: #fbf9f4;
  --cream-soft: #f4eee2;
  --ink-charcoal: #192620;
  --ink-muted: #53655c;
}

.emerald-site {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  background-color: var(--cream-paper);
  color: var(--ink-charcoal);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
  user-select: none;
}

/* ================= ENVELOPE OVERLAY ================= */
.emerald-envelope-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 100;
  pointer-events: auto;
  overflow: hidden;
  background: transparent;
}

.emerald-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  height: 100%;
  overflow: hidden;
  transition: transform 3s cubic-bezier(0.45, 0, 0.2, 1);
  will-change: transform;
}

.emerald-door-left {
  left: 0;
  z-index: 5;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

.emerald-door-right {
  right: 0;
  z-index: 1;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
}

.emerald-door-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.emerald-door-left .emerald-door-img {
  object-position: right center;
}

.emerald-door-right .emerald-door-img {
  object-position: left center;
}

/* When opening: doors part left and right, moving all the way off-screen */
.emerald-envelope-overlay.is-opening .emerald-door-left {
  transform: translateX(calc(-100% - clamp(180px, 30vw, 260px)));
}

.emerald-envelope-overlay.is-opening .emerald-door-right {
  transform: translateX(calc(100% + 40px));
}

/* Wax Seal Interaction - Physically attached to the right edge of left door */
.emerald-seal-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
  background: none;
  border: none;
  padding: 0;
}

.emerald-seal-btn {
  position: relative;
  width: clamp(195px, 44vw, 265px);
  height: clamp(195px, 44vw, 265px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.42));
}

.emerald-seal-btn:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.52));
}

.emerald-seal-btn:active {
  transform: scale(0.95);
}

.emerald-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.emerald-customer-monogram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: #806126;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

/* Curved 'Tap to Open' Gold Text Arched Around the Top of the Wax Seal */
.emerald-seal-curved-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 142%;
  height: 142%;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
  transition: opacity 0.22s ease-out;
}

.emerald-seal-curved-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  fill: rgba(232, 213, 163, 0.95);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
  animation: emeraldCurvedPulse 3s ease-in-out infinite;
}

@keyframes emeraldCurvedPulse {
  0%, 100% {
    opacity: 0.88;
    fill: rgba(232, 213, 163, 0.88);
  }
  50% {
    opacity: 1;
    fill: #fdf5df;
    filter: drop-shadow(0 0 8px rgba(232, 213, 163, 0.8)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
  }
}

/* When opening: text disappears immediately, seal rides with left door */
.emerald-envelope-overlay.is-opening .emerald-seal-curved-svg {
  opacity: 0 !important;
}

/* ================= STAGE: CURTAINS & CHANDELIER ================= */
.emerald-stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, #fdfbf7 0%, #f4ecdc 70%, #eae0cb 100%);
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(60px, 8vh, 100px) 24px 110px;
  box-sizing: border-box;
}

/* Fixed Top Valance - Stretches to touch sides, offset high out of screen so only a small trim peeks through */
.emerald-curtain-top {
  position: fixed;
  top: clamp(-125px, -8.5vw, -65px);
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(95px, 12.5vw, 165px);
  z-index: 28;
  pointer-events: none;
  object-fit: fill;
  object-position: top center;
  filter: drop-shadow(0 6px 16px rgba(9, 44, 32, 0.32));
}

/* Side Curtains - FULL HEIGHT DRAPES, 100% UNCROPPED */
.emerald-curtain-left,
.emerald-curtain-right {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100dvh;
  width: auto;
  z-index: 35;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(9, 44, 32, 0.3));
  will-change: transform;
}

.emerald-curtain-left {
  left: clamp(-45px, -5vw, -20px);
  object-position: top left;
  transform-origin: top left;
  transform: translateX(0);
}

.emerald-curtain-right {
  right: clamp(-45px, -5vw, -20px);
  object-position: top right;
  transform-origin: top right;
  transform: translateX(0);
}

/* When opening */
.emerald-stage.stage-opening .emerald-curtain-left {
  animation: curtainPartLeft 3.2s cubic-bezier(0.4, 0, 0.2, 1) .5s both;
}

.emerald-stage.stage-opening .emerald-curtain-right {
  animation: curtainPartRight 3.2s cubic-bezier(0.4, 0, 0.2, 1) .5s both;
}

@keyframes curtainPartLeft {
  0% {
    transform: translateX(15%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes curtainPartRight {
  0% {
    transform: translateX(-15%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ================= SIDE FLOWERS (FLORAL GARLANDS) ================= */
.emerald-side-flowers {
  position: fixed;
  top: 50%;
  height: clamp(480px, 68vh, 760px);
  width: auto;
  max-width: 19vw;
  object-fit: contain;
  z-index: 37;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45));
  will-change: transform, opacity;
}

.emerald-flowers-left {
  left: 0;
  transform: translateY(-50%);
}

.emerald-flowers-right {
  right: 0;
  transform: translateY(-50%);
}

.emerald-stage.stage-opening .emerald-flowers-left {
  animation: flowersPartLeft 2.4s cubic-bezier(0.22, 1, 0.36, 1) 3.8s both;
}

.emerald-stage.stage-opening .emerald-flowers-right {
  animation: flowersPartRight 2.4s cubic-bezier(0.22, 1, 0.36, 1) 3.8s both;
}

@keyframes flowersPartLeft {
  0% {
    transform: translateY(-50%) translateX(-110%);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

@keyframes flowersPartRight {
  0% {
    transform: translateY(-50%) translateX(110%);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}

/* ================= CHANDELIERS ================= */

/* Base Chandelier Rig */
.emerald-chandelier-rig {
  position: fixed;
  pointer-events: none;
  transform-origin: top center;
  will-change: transform;
}

/* Center Chandelier - Hidden on large screens (desktop/tablet landscape) */
.emerald-chandelier-center {
  display: none;
  left: 50%;
  top: 0;
  z-index: 38;
}

.emerald-chandelier-center.rig-enter {
  animation: chandelierDropBounceCenter 3.4s cubic-bezier(0.22, 1, 0.36, 1) .8s both;
}

@keyframes chandelierDropBounceCenter {
  from { transform: translateX(-50%) translateY(-110%); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* Center Sway */
.emerald-chandelier-center .emerald-chandelier-sway {
  transform-origin: top center;
  will-change: transform;
  animation: chandelierSmoothSwayCenter 4.6s ease-in-out infinite alternate;
}

@keyframes chandelierSmoothSwayCenter {
  0% {
    transform: rotate(-2.8deg);
  }
  50% {
    transform: rotate(2.8deg);
  }
  100% {
    transform: rotate(-2.8deg);
  }
}

/* Dual Side Chandeliers for Large Screens: Stately, elegant, positioned down to the sides */
.emerald-chandelier-left,
.emerald-chandelier-right {
  display: block;
  top: -14px;
  z-index: 24;
}

.emerald-chandelier-left {
  left: clamp(80px, 14vw, 280px);
}

.emerald-chandelier-right {
  right: clamp(80px, 14vw, 280px);
  left: auto;
}

.emerald-chandelier-left.rig-enter,
.emerald-chandelier-right.rig-enter {
  animation: chandelierDropBounceSide 3.4s cubic-bezier(0.22, 1, 0.36, 1) .8s both;
}

@keyframes chandelierDropBounceSide {
  from { transform: translateY(-110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Side Chandeliers Swaying in graceful harmony */
.emerald-sway-left {
  transform-origin: top center;
  will-change: transform;
  animation: chandelierSmoothSwayLeft 4.8s ease-in-out infinite alternate;
}

.emerald-sway-right {
  transform-origin: top center;
  will-change: transform;
  animation: chandelierSmoothSwayRight 5.2s ease-in-out infinite alternate -0.9s;
}

@keyframes chandelierSmoothSwayLeft {
  0% {
    transform: rotate(-2.2deg);
  }
  50% {
    transform: rotate(2.2deg);
  }
  100% {
    transform: rotate(-2.2deg);
  }
}

@keyframes chandelierSmoothSwayRight {
  0% {
    transform: rotate(2.2deg);
  }
  50% {
    transform: rotate(-2.2deg);
  }
  100% {
    transform: rotate(2.2deg);
  }
}

/* Sizing of Desktop Side Chandeliers: Stately, refined, slightly bigger */
.emerald-chandelier-left .emerald-chandelier-img,
.emerald-chandelier-right .emerald-chandelier-img {
  display: block;
  width: clamp(150px, 14.5vw, 210px);
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(140, 111, 50, 0.32)) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.18));
}

/* Chandelier Sparkle Glow */
.emerald-chandelier-glow {
  position: absolute;
  inset: 25% 15% 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 205, 150, 0.35) 0%, rgba(197, 160, 89, 0.1) 50%, transparent 80%);
  filter: blur(12px);
  pointer-events: none;
  animation: glowBreathe 3s ease-in-out infinite alternate;
}

@keyframes glowBreathe {
  0% {
    opacity: 0.6;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ================= HERO INVITATION TEXT (MATCHING CAMILLE & ANTOINE REFERENCE) ================= */
.emerald-hero-content {
  position: relative;
  z-index: 38;
  max-width: min(60vw, 720px);
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ornate Gold Dividers */
.emerald-ornate-divider {
  width: clamp(140px, 32vw, 190px);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.emerald-ornate-top {
  margin-bottom: 0.75rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 100ms both;
}

.emerald-ornate-bottom {
  margin-top: 1.15rem;
  margin-bottom: 1.25rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 900ms both;
}

.emerald-ornate-divider-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(184, 150, 88, 0.2));
}

.emerald-hero-eyebrow {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(0.8rem, 2.4vw, 1rem);
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #1a3c2c;
  margin-bottom: 0.65rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}

.emerald-hero-name-one {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 6.5vw, 4.25rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0c3325;
  margin: 0;
  overflow-wrap: anywhere;
  width: 100%;
  animation: bwLuxuryNameReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 320ms both;
}

/* Flourish 'and' with long sweeping curved lines */
.emerald-hero-and-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -0.2rem auto;
  width: 100%;
  animation: bwHandwritingReveal 2s cubic-bezier(0.22, 1, 0.36, 1) 480ms both;
}

.emerald-hero-and-flourish {
  width: clamp(190px, 58vw, 290px);
  max-width: 90%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(184, 150, 88, 0.22));
}

.emerald-hero-name-two {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 6.5vw, 4.25rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0c3325;
  margin: 0;
  overflow-wrap: anywhere;
  width: 100%;
  animation: bwLuxuryNameReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 640ms both;
}

.emerald-hero-invite {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #1a3c2c;
  line-height: 1.8;
  margin-top: 1.05rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 780ms both;
}

/* Scroll indicator with gold vertical stem and diamond star arrow */
.emerald-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.25rem auto 0;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1000ms both;
}

.emerald-scroll-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.64rem, 2vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #1a3c2c;
  margin-bottom: 0.35rem;
}

.emerald-scroll-arrow-img {
  width: 13px;
  height: 38px;
  display: block;
  animation: emeraldScrollBounce 2.2s ease-in-out infinite;
}

@keyframes emeraldScrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

.emerald-hero-date-section {
  margin-top: 1.5rem;
  width: 100%;
}

.emerald-hero-date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.08rem, 3.2vw, 1.4rem);
  font-weight: 600;
  color: var(--emerald-deep);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-top: 0;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1100ms both;
}

.emerald-slot-digit-window {
  display: inline-block;
  overflow: hidden;
  height: 1.18em;
  line-height: 1.18em;
  width: 0.62em;
  vertical-align: -0.12em;
  font-variant-numeric: tabular-nums;
  position: relative;
}

.emerald-slot-digit-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emerald-slot-digit-cell {
  display: block;
  width: 100%;
  text-align: center;
  height: 1.18em;
  line-height: 1.18em;
}

.emerald-slot-text {
  display: inline;
}

.emerald-hero-venue {
  margin-top: 0.8rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1120ms both;
}

.emerald-hero-venue-name {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  font-weight: 600;
  color: var(--emerald-deep);
  letter-spacing: 0.04em;
}

.emerald-hero-venue-location {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 4px;
}

.emerald-hero-rsvp-wrap {
  margin-top: 2rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1240ms both;
}

/* Keyframe animations matching Burgundy */
@keyframes bwLuxurySmallReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
    letter-spacing: 0.28em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: 0.2em;
  }
}

@keyframes bwLuxuryNameReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
    letter-spacing: 0.12em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: 0.04em;
  }
}

@keyframes bwHandwritingReveal {
  from {
    opacity: 0;
    clip-path: inset(-80% 100% -80% -30%);
    transform: translateY(8px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    clip-path: inset(-80% -30% -80% -30%);
    transform: translateY(0);
    filter: blur(0);
  }
}

.bw-word {
  display: inline-block;
  white-space: nowrap;
}

.bw-letter {
  display: inline-block;
  animation: bwLetterReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bwLetterReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.bw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.emerald-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 1.25rem auto 0.95rem;
  animation: bwLuxurySmallReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 920ms both;
}

.emerald-rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--emerald-deep);
  color: #fbf9f4;
  padding: 14px 34px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(9, 44, 32, 0.24);
  transition: all 0.3s ease;
  border: 1px solid rgba(197, 160, 89, 0.4);
  cursor: pointer;
  text-decoration: none;
}

.emerald-rsvp-btn:hover {
  transform: translateY(-2px);
  background: var(--emerald-rich);
  box-shadow: 0 12px 26px rgba(9, 44, 32, 0.32);
  border-color: var(--gold-light);
}

.emerald-rsvp-deadline {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 12px;
}

/* Modal for RSVP Reply */
.emerald-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 44, 32, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.emerald-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 36px 30px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(197, 160, 89, 0.35);
  text-align: center;
}

/* ================= ROUND SOUND TOGGLE BUTTON ================= */
.emerald-sound-btn {
  position: fixed;
  top: clamp(14px, 2.5vh, 22px);
  right: clamp(14px, 2.5vw, 24px);
  z-index: 150;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.45);
  background: rgba(255, 255, 255, 0.88);
  color: #092c20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(197, 160, 89, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
}

.emerald-sound-btn:hover {
  transform: scale(1.08);
  background: #ffffff;
  border-color: rgba(197, 160, 89, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18), 0 3px 8px rgba(197, 160, 89, 0.35);
  color: #8c6f32;
}

.emerald-sound-btn:active {
  transform: scale(0.93);
}

/* Keep the invitation within the floral frame at every viewport width. */
.emerald-hero-content .bw-word {
  display: inline !important;
  white-space: normal !important;
}

.emerald-hero-and-wrap {
  gap: 0.7rem;
  max-width: 320px;
  margin: 0.3rem auto 0.5rem;
}



.emerald-hero-and {
  font-family: "Pinyon Script", cursive;
  font-kerning: normal;
  font-feature-settings: "liga" 1, "calt" 1;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--gold-dark);
}

.emerald-scroll-indicator {
  position: absolute;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 38;
  width: max-content;
  max-width: 60%;
  text-decoration: none;
  text-align: center;
  animation: none;
}

.emerald-scroll-indicator:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 6px;
}

.emerald-details {
  position: relative;
  z-index: 38;
  width: min(60%, 640px);
  margin: 0 auto;
  padding: 72px 0 96px;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  scroll-margin-top: 40px;
}

.emerald-details h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.emerald-details .emerald-rsvp-btn {
  margin-top: 2rem;
  max-width: 100%;
}

/* Reference composition: airy small caps, tall names, and a handwritten connector. */
.emerald-hero-eyebrow,
.emerald-hero-invite {
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #38534a;
  animation-name: emeraldTextReveal;
}

.emerald-hero-name-one,
.emerald-hero-name-two {
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  animation-name: emeraldTextReveal;
}

.emerald-hero-and-wrap {
  position: relative;
  height: clamp(80px, 21vw, 140px);
  margin: 0 auto 8px;
  max-width: 100%;
}


.emerald-hero-and {
  position: relative;
  font-size: clamp(64px, 18vw, 120px);
  line-height: 1;
  transform: rotate(-7deg);
  color: #b48a3e;
}


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

@media (max-width: 900px), (max-width: 1024px) and (orientation: portrait) {
  .emerald-chandelier-left,
  .emerald-chandelier-right { display: none; }

  .emerald-chandelier-center {
    display: block;
    top: 1.5dvh;
    z-index: 24;
  }

  .emerald-chandelier-center .emerald-chandelier-img {
    width: min(58vw, 28dvh);
    filter: drop-shadow(0 12px 20px rgba(140, 111, 50, 0.25));
  }

  .emerald-stage {
    justify-content: flex-start;
    padding: 34dvh 0 max(145px, 18dvh);
    overflow: hidden;
  }

  .emerald-hero-content {
    width: 60%;
    max-width: 600px;
    padding: 0;
  }

  .emerald-ornate-divider { width: 31vw; }
  .emerald-ornate-top { margin-bottom: 1.5dvh; }
  .emerald-ornate-bottom { margin: 2dvh auto 0; }

  .emerald-hero-eyebrow {
    font-size: clamp(12px, 3.45vw, 24px);
    line-height: 1.6;
    margin: 0 0 2dvh;
    width: 100%;
  }

  .emerald-hero-invite {
    font-size: clamp(12px, 3.45vw, 24px);
    line-height: 1.7;
    margin: 2.2dvh 0 0;
    width: 100%;
    text-wrap: balance;
  }

  .emerald-curtain-left { left: clamp(-55px, -12vw, -30px); }
  .emerald-curtain-right { right: clamp(-55px, -12vw, -30px); }

  .emerald-side-flowers {
    top: 44%;
    height: 34dvh;
    max-width: 19vw;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
  }

  .emerald-scroll-indicator { bottom: 7.5dvh; }
  .emerald-scroll-label {
    font-size: clamp(10px, 2.6vw, 18px);
    letter-spacing: 0.25em;
  }
  .emerald-scroll-arrow-img { height: 44px; width: 12px; margin-top: 8px; }
}

/* The opening scene belongs to the document, including every decorative layer. */
.emerald-stage { overflow: clip; }
.emerald-stage .emerald-curtain-top,
.emerald-stage .emerald-curtain-left,
.emerald-stage .emerald-curtain-right,
.emerald-stage .emerald-side-flowers,
.emerald-stage .emerald-chandelier-rig { position: absolute; }
.emerald-stage .emerald-curtain-left,
.emerald-stage .emerald-curtain-right { height: 100%; }
.emerald-story { position: relative; background: #fbf9f4; }
.emerald-section {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 28px;
  text-align: center;
  overflow: clip;
  transition: opacity 1.5s ease, transform 1.5s cubic-bezier(.22,1,.36,1);
  scroll-margin-top: 24px;
}
.emerald-section > :not(.emerald-section-floral) { position: relative; z-index: 1; }
.emerald-reveal-pending { opacity: 0; transform: translateY(24px); }
.emerald-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  max-width: 580px;
  margin: 14px auto 32px;
  color: #123e2f;
  text-wrap: balance;
}
.emerald-section h3 { font-size: clamp(25px, 3vw, 34px); font-weight: 400; line-height: 1.2; }
.emerald-section p { max-width: 460px; margin-left: auto; margin-right: auto; font-size: 18px; line-height: 1.7; color: #53655c; }
.emerald-story .emerald-kicker { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #96753c; }
.emerald-dress-section { padding-bottom: 0; }
.emerald-dress-section h2 { font-size: clamp(48px, 10vw, 80px); margin-bottom: 8px; }
.emerald-dress-section h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(30px, 7vw, 48px); margin: 20px 0; }
.emerald-dress-section p { max-width: 340px; font-style: italic; margin-bottom: 40px; }
.emerald-dress-rule { display: block; width: 160px; margin: 0 auto; color: #96753c; }
.emerald-dress-rule::before, .emerald-dress-rule::after { content: ''; display: inline-block; width: 52px; height: 1px; background: #b69a65; vertical-align: middle; margin: 0 8px; }

/* Interactive Disco Ball with Curved Hint Text Underneath */
.emerald-disco-ball-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 15px auto 0;
  position: relative;
  z-index: 5;
}

.emerald-disco-ball-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.emerald-disco-ball-btn:hover {
  transform: scale(1.04);
}

.emerald-disco-ball-btn:active {
  transform: scale(0.97);
}

.emerald-disco-ball {
  width: clamp(140px, 38vw, 210px);
  aspect-ratio: 1;
  margin: 0 auto;
  pointer-events: auto;
  filter: drop-shadow(0 10px 28px rgba(18, 62, 47, 0.2));
  transition: filter 0.3s ease;
  position: relative;
  z-index: 2;
}

.emerald-disco-ball-btn.is-dancing .emerald-disco-ball {
  filter: drop-shadow(0 14px 36px rgba(197, 160, 89, 0.5));
}

.emerald-disco-ball canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Curved hint text stacked under the disco ball, cradling its bottom edge */
.emerald-disco-curved-svg {
  width: clamp(230px, 56vw, 320px);
  height: clamp(80px, 20vw, 115px);
  margin-top: clamp(-55px, -14vw, -78px);
  overflow: visible;
  pointer-events: none;
  position: relative;
  z-index: 3;
}

.emerald-disco-curved-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.26em;
  fill: #8c6f32;
  text-transform: uppercase;
  transition: fill 0.3s ease;
}

.emerald-disco-ball-btn:hover .emerald-disco-curved-text,
.emerald-disco-ball-btn.is-dancing .emerald-disco-curved-text {
  fill: #c5a059;
}

.emerald-dancers {
  display: grid;
  width: min(100%, 500px);
  margin: clamp(12px, 3vh, 24px) auto 0;
}

.emerald-dancers img {
  grid-area: 1 / 1;
  width: 100%;
  align-self: end;
}

/* Still state: only the first dancer image is visible */
.emerald-dancers-still img:first-child {
  opacity: 1;
}

.emerald-dancers-still img:last-child {
  display: none;
}

/* Dancing state: alternate animation */
.emerald-dancers-animated img:first-child {
  animation: emerald-dancer-step .7s steps(1) infinite;
}

.emerald-dancers-animated img:last-child {
  animation: emerald-dancer-step .7s steps(1) infinite reverse;
}

.emerald-reveal-pending .emerald-dancers img { animation-play-state: paused; }
@keyframes emerald-dancer-step { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .emerald-dancers-animated img { animation: none; }
  .emerald-dancers-animated img:last-child { display: none; }
}
.emerald-countdown-section { padding-bottom: 64px; }
.emerald-section-floral { position: absolute; width: 140px; height: 280px; object-fit: contain; right: -66px; top: -45px; opacity: .55; transform: rotate(-24deg); pointer-events: none; }
.emerald-countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 540px; margin: 40px auto 24px; }
.emerald-countdown-date {
  margin: -8px auto 34px !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 2.8vw, 23px) !important;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.emerald-countdown-date + .emerald-countdown { margin-top: 0; }
.emerald-countdown > div + div { border-left: 1px solid #c5a05940; }
.emerald-countdown span { display: block; color: #123e2f; font-size: clamp(35px, 7vw, 65px); font-weight: 300; font-variant-numeric: tabular-nums; line-height: 1.1; }
.emerald-countdown small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; margin-top: 14px; color: #96753c; }
.emerald-tiny-ornament { display: block; color: #b48a3e; font-size: 30px; margin-top: 32px; }
.emerald-venue-section {
  padding: 0;
  background: #f3efe5;
}
.emerald-venue-arch {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(720px, 140vw, 1080px);
  margin: 0;
  padding: clamp(100px, 18vw, 180px) 20% clamp(90px, 16vw, 160px);
  background: #f7f2e8;
}
.emerald-venue-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.emerald-venue-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  text-align: center;
}
.emerald-venue-content > h2 {
  margin-bottom: 16px;
}
.emerald-venue-gate {
  display: block;
  width: min(82%, 310px);
  height: auto;
  margin: 0 auto -8px;
  filter: drop-shadow(0 14px 18px rgba(9, 44, 32, .2));
  transform-origin: bottom center;
  animation: emeraldGateReveal 1.5s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes emeraldGateReveal {
  from { opacity: 0; transform: translateY(22px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.emerald-venue-arch h3 { margin: 12px 0; color: #123e2f; }
.emerald-venue-arch .emerald-text-link { margin-top: 24px; }

@media (min-width: 901px) {
  .emerald-venue-arch {
    min-height: clamp(650px, 62vw, 820px);
    padding: 90px 22%;
  }

  .emerald-venue-frame {
    inset: 50% auto auto 50%;
    width: 72vw;
    max-width: none;
    height: auto;
    aspect-ratio: 1060 / 1484;
    object-fit: contain;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .emerald-venue-content {
    max-width: 560px;
  }

  .emerald-venue-gate {
    width: min(62%, 285px);
  }
}
.emerald-text-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-bottom: 1px solid #b48a3e; padding: 5px 0; font-size: 12px; letter-spacing: .1em; color: #123e2f; }
.emerald-timeline-section { overflow: visible; background: #fbf7ed; }
.emerald-timeline-layout {
  display: grid;
  grid-template-columns: clamp(84px, 20vw, 120px) 1px minmax(0, 1fr);
  column-gap: clamp(18px, 5vw, 42px);
  width: min(100%, 570px);
  margin: 52px auto 0;
  text-align: left;
}
.emerald-timeline-illustrations {
  display: grid;
  grid-template-rows: repeat(5, minmax(165px, auto));
}
.emerald-timeline-illustrations > span {
  display: grid;
  place-items: start center;
  padding-top: 10px;
  color: #6f7255;
}
.emerald-timeline-illustrations img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.emerald-timeline-rail {
  position: relative;
  align-self: stretch;
  min-height: 825px;
  background: linear-gradient(to bottom, transparent, #aa8b50 5%, #aa8b50 95%, transparent);
}
.emerald-timeline-heart {
  position: sticky;
  top: calc(50svh - 17px);
  align-self: start;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -16.5px;
  color: #9b7a3e;
  filter: drop-shadow(0 3px 5px rgba(70, 49, 17, .18));
}
.emerald-timeline-heart svg { width: 25px; height: 25px; fill: #9b7a3e; stroke-width: 1; }
.emerald-timeline {
  display: grid;
  grid-template-rows: repeat(5, minmax(165px, auto));
  list-style: none;
  margin: 0;
  padding: 0;
}
.emerald-timeline li { padding: 4px 0 34px; }
.emerald-timeline h3 {
  margin: 6px 0 8px;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(32px, 6vw, 46px);
  color: #264a3b;
}
.emerald-timeline p { margin: 0; font-size: 16px; line-height: 1.55; }

/* `hidden` creates a non-scrolling ancestor that prevents sticky positioning. */
.emerald-site { overflow-x: clip; }

.emerald-rsvp-section { background: #f3efe5; }
.emerald-rsvp-envelope { width: min(100%, 540px); aspect-ratio: 1 / 1.7; margin: 60px auto 12px; isolation: isolate; container-type: inline-size; }
.emerald-rsvp-envelope > img { position: absolute; inset: 0 auto auto 0; width: 100%; height: auto; pointer-events: none; }
.emerald-rsvp-envelope-back { z-index: 0; }
.emerald-rsvp-envelope-front { z-index: 2; }
.emerald-rsvp-envelope > .emerald-rsvp-envelope-orchids { top: 12%; left: -4%; width: 23%; z-index: 4; }
.emerald-rsvp-heart { position: absolute; top: 0; left: 50%; width: 82%; opacity: 0; z-index: 1; will-change: transform; transform: translate(-50%, -50%) scale(.56); }
.emerald-rsvp-heart > img { display: block; width: 100%; height: auto; }
.emerald-rsvp-heart p { position: absolute; inset: 22% 19% 31%; display: flex; align-items: center; justify-content: center; margin: 0; color: #fff4dd; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(16px, 5.6cqw, 29px); font-style: italic; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; }
.emerald-section-icon { width: 42px; height: 42px; stroke-width: 1; color: #96753c; margin: 0 auto 22px; }
.emerald-rsvp-form-wrap { max-width: 460px; margin: 32px auto 0; padding: clamp(20px, 4vw, 36px); background: #fbf9f4; border: 1px solid #b48a3e40; border-radius: 4px; }
.emerald-rsvp-form-wrap input, .emerald-rsvp-form-wrap textarea { font-size: 16px; }
.emerald-rsvp-form-wrap label { font-size: 10px; letter-spacing: .12em; }
.emerald-rsvp-form-wrap .emerald-form-error { color: #9b2929; font-size: 15px; }
.emerald-closing-scene {
  background: #f3efe5;
  width: 100%;
}

.emerald-closing-card {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: start center;
  width: 100%;
  min-height: clamp(620px, 75vh, 850px);
  padding: 80px 24px 200px;
  border: 0;
  background: transparent;
  color: #123e2f;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.emerald-closing-painting {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% bottom;
  mask-image: linear-gradient(to bottom, transparent, #000 38%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 38%);
}

.emerald-closing-badge {
  position: relative;
  display: block;
  width: min(76vw, 350px);
  filter: drop-shadow(0 12px 18px #192d2630);
  container-type: inline-size;
}

/* Bigger screens: center badge vertically and horizontally when at the very bottom */
@media (min-width: 768px) {
  .emerald-closing-scene {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .emerald-closing-card {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    place-items: center;
    padding: 32px 24px;
    box-sizing: border-box;
  }

  .emerald-closing-badge {
    margin: auto;
    width: min(36vw, 370px);
  }

  .emerald-closing-painting {
    object-position: center 55%;
  }
}

.emerald-closing-badge > img { display: block; width: 100%; height: auto; pointer-events: none; }
.emerald-closing-badge-copy { position: absolute; inset: 23% 20% 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.emerald-closing-label { font-size: clamp(8px, 3cqw, 11px); letter-spacing: .18em; text-transform: uppercase; }
.emerald-closing-initials { display: flex; align-items: center; gap: .06em; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26cqw; line-height: 1; font-weight: 400; }
.emerald-closing-initials > span { font-family: "Pinyon Script", cursive; font-size: .48em; color: #858754; }
.emerald-closing-message { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(15px, 5.4cqw, 19px); font-style: italic; line-height: 1.35; text-wrap: balance; overflow-wrap: anywhere; }
.emerald-script-heading { font-family: "Pinyon Script", cursive; font-size: 38px !important; }
.emerald-story a:focus-visible, .emerald-story button:focus-visible { outline: 2px solid #b48a3e; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  .emerald-site *, .emerald-site *::before, .emerald-site *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .emerald-reveal-pending { opacity: 1; transform: none; }
}

/* Landscape painting with a dark emerald veil for readable countdown text. */
.emerald-countdown-section {
  background-color: #263b2c;
  background-image: linear-gradient(rgba(8, 25, 18, .48), rgba(8, 25, 18, .58)), url("/templates/emerald/countdown-background.png");
  background-size: cover;
  background-position: center;
}
.emerald-countdown-section h2,
.emerald-countdown-section p,
.emerald-countdown-section .emerald-countdown span {
  color: #fffaf0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.emerald-countdown-section .emerald-kicker,
.emerald-countdown-section .emerald-countdown small,
.emerald-countdown-section .emerald-tiny-ornament {
  color: #f2dfb7;
}
.emerald-countdown-section .emerald-countdown > div + div {
  border-left-color: rgba(242, 223, 183, .4);
}

/* Overlap the painting beneath the stage; only the paper fades, not the curtains. */
.emerald-site { background-color: #f4eee2; }
.emerald-stage {
  z-index: 1;
  isolation: isolate;
  background: transparent;
}
.emerald-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, #fdfbf7 0%, #f4ecdc 70%, #eae0cb 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), rgba(0, 0, 0, .85) calc(100% - 135px), rgba(0, 0, 0, .5) calc(100% - 90px), rgba(0, 0, 0, .15) calc(100% - 45px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), rgba(0, 0, 0, .85) calc(100% - 135px), rgba(0, 0, 0, .5) calc(100% - 90px), rgba(0, 0, 0, .15) calc(100% - 45px), transparent 100%);
  pointer-events: none;
}
.emerald-story {
  z-index: 0;
  margin-top: -180px;
  background-color: #f4eee2;
}
.emerald-countdown-section {
  padding-top: clamp(240px, 26vw, 300px);
  /* A moving or fading section would expose the overlap during its reveal. */
  transform: none;
  opacity: 1;
}

/* Let the landscape develop softly as the invitation opens. */
.emerald-countdown-section {
  background-image: none;
  background-color: transparent;
}
.emerald-countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #263b2c;
  background-image: linear-gradient(rgba(8, 25, 18, .48), rgba(8, 25, 18, .58)), url("/templates/emerald/countdown-background.png");
  background-size: cover;
  background-position: center;
  animation: emeraldPaintingBloom 4s ease-in-out .3s both;
}
@keyframes emeraldPaintingBloom {
  from { opacity: 0; filter: blur(12px); }
  to { opacity: 1; filter: blur(0); }
}

/* Reserve the final stage height before the envelope opens. */
.emerald-hero-pending { visibility: hidden; }
.emerald-hero-pending,
.emerald-hero-pending * { animation-play-state: paused !important; }

/* A pressed-flower portrait bridges the landscape and the venue paper. */
.emerald-countdown-section { padding-bottom: 210px; }
.emerald-portrait-section {
  z-index: 2;
  margin-top: -140px;
  padding: 0 0 48px;
  overflow: visible;
  background: linear-gradient(to bottom, transparent 140px, #f3efe5 140px);
}
.emerald-portrait-composition {
  width: min(82vw, 600px);
  margin: 0 auto;
  isolation: isolate;
}
.emerald-portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.emerald-portrait-mask {
  position: absolute;
  inset: 14.5% 13.5%;
  overflow: hidden;
  border-radius: 50%;
  background: #d7c3a2;
}
.emerald-portrait-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.emerald-gold-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 14px 20px rgba(67, 45, 11, .2));
}
.emerald-portrait-flower {
  position: absolute;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(25, 38, 32, .14));
}
.emerald-portrait-orange { width: 52%; left: -28%; top: 22%; z-index: 0; transform: rotate(-18deg); }
.emerald-portrait-green { width: 32%; right: -19%; top: 20%; z-index: 2; transform: rotate(12deg); }
.emerald-portrait-petal { width: 29%; left: -15%; top: -5%; z-index: 2; transform: rotate(-12deg); }
.emerald-portrait-composition figcaption {
  margin: 30px -8% 0;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.3;
  color: #244638;
  text-align: center;
}
