/* Flower Bless: editorial botanical typography and compact couple profiles. */
.theme-flower-bless {
  --fb-forest: #234b3a;
  --fb-gold: #b9924d;
  --fb-ink: #22372f;
  --fb-muted: #63736b;
  --fb-paper: #fffdf8;
  overflow-x: hidden;
}

.theme-flower-bless .cover-content h1 {
  max-width: 620px;
  margin: 22px auto 18px;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(62px, 7.4vw, 102px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}

.theme-flower-bless .cover-content h1 span {
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.theme-flower-bless .cover-content h1 em {
  margin: .04em .12em;
  font-family: "Great Vibes", cursive;
  font-size: .53em;
  color: #e3c47f;
}

.theme-flower-bless .section-heading h2,
.theme-flower-bless .invite-section > h2,
.theme-flower-bless .story-copy h2,
.theme-flower-bless .gift-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.theme-flower-bless .opening-section {
  padding-top: 86px;
  padding-bottom: 88px;
}

.theme-flower-bless .opening-section > h2 {
  width: min(650px, 100%);
  margin: 13px auto 0;
  font-size: clamp(40px, 4.35vw, 58px);
  line-height: 1.06;
}

.theme-flower-bless .opening-section .lead-copy {
  width: min(600px, 100%);
  color: #586a61;
  font: 500 14px/1.85 "Lora", Georgia, serif;
  overflow-wrap: anywhere;
}

.theme-flower-bless .couple-section {
  padding: 92px max(24px, 5vw) 104px;
}

.theme-flower-bless .couple-section .section-heading {
  margin-bottom: 50px;
}

.theme-flower-bless .couple-section .section-heading h2 {
  width: min(680px, 100%);
  margin: 13px auto 0;
  font-size: clamp(38px, 4vw, 53px);
  line-height: 1.12;
}

.theme-flower-bless .couple-layout {
  width: min(1160px, 100%);
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  gap: 24px;
}

.theme-flower-bless .couple-card {
  grid-template-columns: minmax(176px, 220px) minmax(0, 1fr);
  gap: 25px;
  align-items: center;
}

.theme-flower-bless .couple-bride {
  grid-template-columns: minmax(0, 1fr) minmax(176px, 220px);
}

.theme-flower-bless .portrait-wrap {
  height: 306px;
  border-radius: 118px 118px 8px 8px;
  box-shadow: 0 22px 52px rgba(35, 75, 58, .14);
}

.theme-flower-bless .portrait-wrap img,
.theme-flower-bless .portrait-wrap:after {
  border-radius: 110px 110px 5px 5px;
}

.theme-flower-bless .couple-copy {
  width: 100%;
  padding: 4px 0;
}

.theme-flower-bless .couple-copy > small {
  margin-bottom: 12px;
  color: #98743a;
  font: 700 9px/1.4 "Poppins", sans-serif;
  letter-spacing: .2em;
}

.theme-flower-bless .couple-card h3 {
  max-width: 330px;
  margin: 0;
  color: var(--fb-forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 2.45vw, 39px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: none;
  overflow-wrap: normal;
}

.theme-flower-bless .couple-bride h3,
.theme-flower-bless .couple-bride .lineage,
.theme-flower-bless .couple-bride p {
  margin-left: auto;
}

.theme-flower-bless .lineage {
  max-width: 330px;
  margin: 10px 0 19px;
  color: #896a38;
  font: italic 600 15px/1.45 "Cormorant Garamond", Georgia, serif;
}

.theme-flower-bless .couple-copy p {
  max-width: 330px;
  color: var(--fb-muted);
  font: 500 12.5px/1.7 "Poppins", sans-serif;
}

.theme-flower-bless .couple-copy p > strong {
  max-width: 330px;
  margin-top: 5px;
  color: #31493f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.theme-flower-bless .couple-copy .parent-join {
  margin: 3px 0 1px;
  color: #8b978f;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: 1;
}

.theme-flower-bless .couple-amp {
  width: 76px;
}

.theme-flower-bless .couple-amp:before,
.theme-flower-bless .couple-amp:after {
  height: 58px;
}

.theme-flower-bless .couple-amp > span {
  font-size: 52px;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .theme-flower-bless .couple-layout {
    width: min(720px, 100%);
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .theme-flower-bless .couple-card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    text-align: left;
  }

  .theme-flower-bless .couple-bride {
    grid-template-columns: minmax(0, 1fr) 220px;
    text-align: right;
  }

  .theme-flower-bless .couple-bride .portrait-wrap,
  .theme-flower-bless .couple-bride .couple-copy {
    text-align: right;
  }

  .theme-flower-bless .couple-bride .portrait-wrap {
    grid-column: 2;
    grid-row: 1;
  }

  .theme-flower-bless .couple-bride .couple-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .theme-flower-bless .couple-amp {
    width: auto;
    margin: 0 auto;
  }

  .theme-flower-bless .couple-amp:before,
  .theme-flower-bless .couple-amp:after {
    height: 28px;
  }
}

@media (max-width: 900px) {
  .theme-flower-bless .couple-section {
    padding: 72px 18px 88px;
  }

  .theme-flower-bless .couple-section .section-heading {
    margin-bottom: 34px;
  }

  .theme-flower-bless .couple-section .section-heading h2 {
    width: min(292px, 100%);
    margin: 12px auto 0;
    text-align: center;
    font-size: clamp(31px, 8.7vw, 34px);
    line-height: 1.13;
    letter-spacing: -.025em;
  }

  .theme-flower-bless .couple-layout {
    width: min(430px, 100%);
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    overflow: hidden;
  }

  .theme-flower-bless .couple-card,
  .theme-flower-bless .couple-bride {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 22px 18px 25px;
    border-top: 2px solid rgba(185, 146, 77, .75);
    border-bottom: 1px solid rgba(35, 75, 58, .11);
    background: rgba(255, 255, 255, .55);
    text-align: center;
  }

  .theme-flower-bless .couple-bride .portrait-wrap,
  .theme-flower-bless .couple-bride .couple-copy {
    grid-column: 1;
    grid-row: auto;
    text-align: center;
  }

  .theme-flower-bless .couple-copy {
    min-width: 0;
    overflow: hidden;
  }

  .theme-flower-bless .portrait-wrap {
    width: min(205px, 62vw);
    height: min(264px, 80vw);
  }

  .theme-flower-bless .couple-card h3 {
    max-width: 340px;
    margin: 0 auto;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.03;
  }

  .theme-flower-bless .couple-card .lineage {
    margin: 9px auto 15px;
    font-size: 14px;
  }

  .theme-flower-bless .couple-card p {
    margin: 0 auto;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .theme-flower-bless .couple-card p > strong {
    margin-right: auto;
    margin-left: auto;
    font-size: 13px;
  }

  .theme-flower-bless .couple-amp {
    width: auto;
    margin: -1px auto;
  }

  .theme-flower-bless .couple-amp:before,
  .theme-flower-bless .couple-amp:after {
    height: 24px;
  }

  .theme-flower-bless .couple-amp > span {
    font-size: 44px;
  }
}

@media (max-width: 799px) {
  .theme-flower-bless .cover-content {
    width: min(100%, 330px);
  }

  .theme-flower-bless .cover-content h1 {
    margin: 15px auto 12px;
    font-size: clamp(55px, 17vw, 70px);
    line-height: .91;
  }

  .theme-flower-bless .cover-date {
    font-size: 10px;
    letter-spacing: .17em;
  }

  .theme-flower-bless .opening-section {
    padding: 58px 18px 38px;
  }

  .theme-flower-bless .opening-section > h2 {
    width: min(292px, 100%);
    margin: 12px auto 0;
    text-align: center;
    font-size: clamp(31px, 8.7vw, 34px);
    line-height: 1.13;
    letter-spacing: -.025em;
  }

  .theme-flower-bless .opening-section .lead-copy {
    width: min(304px, 100%);
    padding: 0 2px;
    font-size: 12.5px;
    line-height: 1.78;
  }

  .theme-flower-bless .opening-section .center-ornament {
    width: min(170px, 52vw);
    max-height: 142px;
    margin-top: 26px;
  }

  .theme-flower-bless .couple-section {
    padding-top: 46px;
  }

  .theme-flower-bless .couple-section:before,
  .theme-flower-bless .couple-section:after {
    display: none;
  }

  .theme-flower-bless .couple-section .section-heading {
    margin-bottom: 28px;
  }

  .theme-flower-bless .couple-section .section-label {
    font-size: 8px;
    letter-spacing: .2em;
  }

  .theme-flower-bless .couple-card,
  .theme-flower-bless .couple-bride {
    position: relative;
    border-top: 0;
  }

  .theme-flower-bless .couple-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(190px, 62%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #b9924d 16%, #b9924d 84%, transparent);
  }
}

@media (max-width: 360px) {
  .theme-flower-bless .cover-content h1 {
    font-size: 52px;
  }

  .theme-flower-bless .couple-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .theme-flower-bless .couple-card h3 {
    font-size: 29px;
  }
}

/* The remaining sections share one restrained ivory, forest, and antique-gold language. */
.theme-flower-bless .date-section,
.theme-flower-bless .gallery-section,
.theme-flower-bless .wishes-section {
  background: linear-gradient(155deg, rgba(255, 253, 248, .97), rgba(241, 244, 237, .95)) !important;
}

.theme-flower-bless .date-section .section-heading,
.theme-flower-bless .gallery-section .section-heading,
.theme-flower-bless .wishes-section .section-heading {
  margin-bottom: 36px;
}

.theme-flower-bless .section-heading p {
  color: var(--fb-muted);
  font: 500 13px/1.75 "Poppins", sans-serif;
}

.theme-flower-bless .countdown {
  width: min(560px, 100%);
  margin-bottom: 34px;
  border-color: rgba(35, 75, 58, .18);
}

.theme-flower-bless .countdown > div {
  padding: 17px 8px;
}

.theme-flower-bless .countdown strong {
  color: var(--fb-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.theme-flower-bless .countdown span {
  color: #718078;
  font: 700 8px/1.4 "Poppins", sans-serif;
  letter-spacing: .1em;
}

.theme-flower-bless .event-layout {
  width: min(920px, 100%);
  gap: 18px;
}

.theme-flower-bless .event-card {
  min-width: 0;
  padding: 42px 28px 30px;
  border: 1px solid rgba(35, 75, 58, .12);
  border-top: 2px solid var(--fb-gold);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 48px rgba(35, 75, 58, .07);
}

.theme-flower-bless .event-card small {
  color: #8e6b34;
  font: 700 9px/1.4 "Poppins", sans-serif;
  letter-spacing: .18em;
}

.theme-flower-bless .event-card h3 {
  margin: 13px 0 11px;
  color: var(--fb-forest);
  font: 500 clamp(27px, 3vw, 34px)/1.1 "Playfair Display", Georgia, serif;
}

.theme-flower-bless .event-card p {
  min-height: 44px;
  color: var(--fb-muted);
  font: 500 12px/1.75 "Poppins", sans-serif;
}

.theme-flower-bless .event-actions a {
  min-height: 43px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 10px;
}

.theme-flower-bless .story-section {
  background: linear-gradient(145deg, #1f4a38, #2d624c) !important;
}

.theme-flower-bless .story-photo {
  min-height: 640px;
}

.theme-flower-bless .story-photo img {
  filter: saturate(.88) contrast(.98);
}

.theme-flower-bless .story-copy {
  padding-top: 68px;
  padding-bottom: 68px;
}

.theme-flower-bless .story-copy h2 {
  max-width: 560px;
  margin: 14px 0 18px;
  font-size: clamp(39px, 4.6vw, 57px);
  line-height: 1.08;
}

.theme-flower-bless .story-intro {
  max-width: 540px;
  margin: 0 0 27px;
  color: rgba(255, 255, 255, .78);
  font: 500 13px/1.8 "Lora", Georgia, serif;
}

.theme-flower-bless .story-copy li {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
}

.theme-flower-bless .story-copy time {
  color: #e1c27d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
}

.theme-flower-bless .story-copy strong {
  font: 600 15px/1.4 "Lora", Georgia, serif;
}

.theme-flower-bless .story-copy li p {
  margin-top: 4px;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
}

.theme-flower-bless .gallery-grid {
  width: min(980px, 100%);
  grid-auto-rows: 230px;
  gap: 8px;
}

.theme-flower-bless .gallery-item {
  border-radius: 3px;
  background: #e8ebe5;
}

.theme-flower-bless .gallery-item img {
  filter: saturate(.9) contrast(.98);
}

.theme-flower-bless .gift-section {
  padding-top: 90px;
  padding-bottom: 110px;
}

.theme-flower-bless .gift-panel {
  width: min(610px, 100%);
  padding: 46px 38px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(24, 57, 44, .48);
  box-shadow: 0 24px 70px rgba(10, 30, 22, .2);
}

.theme-flower-bless .gift-panel > p {
  max-width: 480px;
  margin-right: auto;
  margin-left: auto;
  font-size: 12px;
}

.theme-flower-bless .bank-card.haf-wallet {
  border: 1px solid rgba(185, 146, 77, .28);
  border-radius: 12px;
  background: linear-gradient(145deg, #fffefb, #f1f5ee);
  box-shadow: 0 20px 52px rgba(5, 27, 18, .2);
}

.theme-flower-bless .gift-address {
  min-height: 44px;
  padding: 0 18px;
  border-color: rgba(255, 255, 255, .42);
  border-radius: 8px;
  font-size: 10px;
}

.theme-flower-bless .wishes-layout {
  width: min(940px, 100%);
  gap: 20px;
}

.theme-flower-bless .rsvp-form {
  padding: 30px;
  border-top: 2px solid var(--fb-gold);
  border-radius: 3px;
  background: rgba(255, 255, 255, .88);
}

.theme-flower-bless .rsvp-form label {
  color: #40554b;
  font-size: 10px;
  letter-spacing: .06em;
}

.theme-flower-bless .rsvp-form input,
.theme-flower-bless .rsvp-form select,
.theme-flower-bless .rsvp-form textarea {
  min-height: 45px;
  border-radius: 7px;
  color: var(--fb-ink);
  font-size: 12px;
}

.theme-flower-bless .rsvp-form textarea {
  min-height: 105px;
}

.theme-flower-bless .rsvp-form button {
  min-height: 47px;
  border-radius: 7px;
  font-size: 11px;
}

.theme-flower-bless .wish-list article {
  padding: 17px;
  border-left: 2px solid rgba(185, 146, 77, .7);
  border-radius: 2px;
}

.theme-flower-bless .wish-list article > div {
  background: var(--fb-forest);
}

.theme-flower-bless .closing-section h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
}

.theme-flower-bless .closing-section p {
  font-family: "Lora", Georgia, serif;
}

@media (max-width: 900px) {
  .theme-flower-bless .story-section {
    grid-template-columns: 1fr;
  }

  .theme-flower-bless .story-photo {
    min-height: min(470px, 112vw);
  }

  .theme-flower-bless .story-copy {
    padding: 56px 22px 66px;
  }

  .theme-flower-bless .story-copy h2 {
    font-size: clamp(34px, 9.5vw, 43px);
  }

  .theme-flower-bless .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }

  .theme-flower-bless .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
}

@media (max-width: 799px) {
  .theme-flower-bless .invite-section:not(.opening-section) {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .theme-flower-bless .date-section,
  .theme-flower-bless .gallery-section,
  .theme-flower-bless .wishes-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .theme-flower-bless .date-section .section-heading,
  .theme-flower-bless .gallery-section .section-heading,
  .theme-flower-bless .wishes-section .section-heading {
    margin-bottom: 26px;
  }

  .theme-flower-bless .section-heading p {
    max-width: 310px;
    font-size: 12px;
  }

  .theme-flower-bless .countdown {
    margin-bottom: 25px;
  }

  .theme-flower-bless .countdown > div {
    padding: 13px 3px;
  }

  .theme-flower-bless .countdown strong {
    font-size: 25px;
  }

  .theme-flower-bless .event-layout,
  .theme-flower-bless .wishes-layout {
    grid-template-columns: 1fr;
  }

  .theme-flower-bless .event-card {
    padding: 35px 20px 24px;
  }

  .theme-flower-bless .event-card p {
    min-height: 0;
    font-size: 11.5px;
  }

  .theme-flower-bless .event-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .theme-flower-bless .event-actions a {
    width: 100%;
    padding: 0 8px;
  }

  .theme-flower-bless .gallery-grid {
    grid-auto-rows: 145px;
    gap: 6px;
  }

  .theme-flower-bless .gift-section {
    padding: 72px 16px calc(102px + env(safe-area-inset-bottom));
  }

  .theme-flower-bless .gift-panel {
    padding: 34px 16px;
  }

  .theme-flower-bless .bank-card.haf-wallet {
    padding: 23px 18px 20px;
  }

  .theme-flower-bless .rsvp-form {
    padding: 23px 18px;
  }

  .theme-flower-bless .wish-list article {
    padding: 15px;
  }

  .theme-flower-bless .invite-dock a span {
    font-size: 8px;
    line-height: 1.15;
  }

  .theme-flower-bless .back-top {
    right: 12px;
    bottom: calc(132px + env(safe-area-inset-bottom));
  }

  .theme-flower-bless .music-toggle {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

}

@media (max-width: 360px) {
  .theme-flower-bless .event-actions {
    grid-template-columns: 1fr;
  }

  .theme-flower-bless .gallery-grid {
    grid-auto-rows: 132px;
  }

  .theme-flower-bless .invite-dock a span {
    font-size: 7.5px;
  }
}

/* Flower Bless motion: editorial reveals with restrained botanical movement. */
.theme-flower-bless .reveal {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 42px, 0) scale(.975);
  transition:
    opacity .72s cubic-bezier(.2, .72, .25, 1),
    transform .88s cubic-bezier(.16, .78, .24, 1),
    filter .5s ease;
  will-change: opacity, transform;
}

.theme-flower-bless .reveal.visible {
  opacity: 1;
  filter: none;
  transform: none;
  will-change: auto;
}

.theme-flower-bless .couple-groom.reveal {
  transform: translate3d(-64px, 24px, 0) scale(.97);
}

.theme-flower-bless .couple-bride.reveal {
  transform: translate3d(64px, 24px, 0) scale(.97);
}

.theme-flower-bless .couple-groom.reveal.visible,
.theme-flower-bless .couple-bride.reveal.visible {
  transform: none;
}

.theme-flower-bless .portrait-wrap img {
  transform: scale(1.09);
  transition: transform 1.55s cubic-bezier(.16, .78, .24, 1), filter .45s ease;
}

.theme-flower-bless .couple-card.visible .portrait-wrap img {
  transform: scale(1);
}

.theme-flower-bless .event-card:nth-child(2),
.theme-flower-bless .gallery-item:nth-child(even),
.theme-flower-bless .wish-list article:nth-child(even) {
  transition-delay: .1s;
}

.theme-flower-bless .gallery-item.reveal {
  transform: translate3d(0, 34px, 0) scale(.95);
}

.theme-flower-bless .gallery-item.reveal.visible {
  transform: none;
}

.theme-flower-bless .gallery-item.reveal.visible img {
  animation: flowerBlessPhotoDrift 11s ease-in-out .9s infinite alternate;
}

.theme-flower-bless .story-photo.reveal.visible img,
.theme-flower-bless .closing-section.reveal.visible {
  animation: flowerBlessPhotoDrift 13s ease-in-out .8s infinite alternate;
}

body.theme-flower-bless:not(.motion-none) .center-ornament,
body.theme-flower-bless:not(.motion-none) .section-header-art {
  transform-origin: 50% 82%;
  animation: flowerBlessSway 7s ease-in-out infinite;
}

body.theme-flower-bless:not(.motion-none) .corner-frame {
  animation: flowerBlessBreathe 8s ease-in-out infinite;
}

@keyframes flowerBlessSway {
  0%, 100% { transform: translateY(2px) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1.15deg); }
}

@keyframes flowerBlessBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes flowerBlessPhotoDrift {
  from { transform: scale(1); }
  to { transform: scale(1.065); }
}

@media (max-width: 799px) {
  .theme-flower-bless .couple-groom.reveal,
  .theme-flower-bless .couple-bride.reveal {
    transform: translate3d(0, 44px, 0) scale(.96);
  }

  .theme-flower-bless .couple-groom.reveal.visible,
  .theme-flower-bless .couple-bride.reveal.visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-flower-bless .reveal,
  .theme-flower-bless .portrait-wrap img {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  body.theme-flower-bless .center-ornament,
  body.theme-flower-bless .section-header-art,
  body.theme-flower-bless .corner-frame,
  .theme-flower-bless .gallery-item img,
  .theme-flower-bless .story-photo img {
    animation: none;
  }
}
