/* ══════════════════════════════════════════════════════════════
   Rabih & Rita — Wedding Invitation
   Elegant black · silver · ivory, echoing the printed invitation
   ══════════════════════════════════════════════════════════════ */

:root {
  --theme-color1: #b9bbbd;
  --theme-color2: #f5f2ec;
  --theme-color3: #ffffff;
  --theme-color4: #8a8c8e;

  --theme-color1-rgb: 185, 187, 189;
  --theme-color2-rgb: 245, 242, 236;
  --theme-color3-rgb: 255, 255, 255;
  --theme-color4-rgb: 138, 140, 142;

  --ink: #171717;
  --ink-soft: #454545;
  --silver: #b9bbbd;
  --silver-soft: #d8dadc;
  --line: rgba(0, 0, 0, 0.09);
  --panel: #ffffff;
  --panel-soft: #f6f4ef;

  --text-color: #454545;
  --headings-color: #171717;

  --text-font: "Raleway", sans-serif;
  --title-font: "Cormorant Garamond", serif;
  --style-font: "Pinyon Script", "Great Vibes", cursive;
}

/* ── Global smoothness ──
   Deliberately narrow: a `*` selector here puts four animatable properties on
   every node in the document, which is enough to make the envelope opening
   drop frames. Only interactive elements need the easing. */
a,
button,
input,
textarea,
select,
.theme-btn,
.zz-map,
.custom-radio-box-two,
.custom-radio-box-two .checkmark {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

body {
  font-family: var(--text-font);
  color: var(--text-color);
  background: #ffffff;
}

.sec-title h2 {
  font-family: var(--style-font);
  color: var(--headings-color);
  letter-spacing: 0.01em;
}

.sec-title .sub-title {
  font-family: var(--title-font);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  font-size: 15px;
}

/* ── Buttons ── */
.theme-btn.btn-style-one {
  background: var(--ink);
  border: 1px solid var(--ink);
  /* border-radius: 4px; */
  letter-spacing: 0.22em;
  font-family: var(--text-font);
  font-weight: 500;
  text-transform: uppercase;
}

.theme-btn.btn-style-one:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.theme-btn .btn-title {
  font-size: 15px !important;
}

/* ══════════════════════════════════════════════════════════════
   Flourish ornament (extracted from the invitation)
   ══════════════════════════════════════════════════════════════ */
.flourish-divider {
  display: block;
  color: var(--silver);
  margin: clamp(10px, 1.8vh, 20px) auto;
  line-height: 0;
}

.flourish-divider .flourish {
  display: block;
  width: clamp(170px, 62%, 250px);
  height: auto;
  margin: 0 auto;
}

.flourish-divider.flip .flourish {
  transform: scaleY(-1);
}

/* ══════════════════════════════════════════════════════════════
   Envelope opening screen
   ══════════════════════════════════════════════════════════════ */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(
    ellipse 72% 58% at 50% 44%,
    #f7f7f7 0%,
    #e9e9e9 55%,
    #d6d6d6 100%
  );
  overflow: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.envelope-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: 2200px;
}

.envelope-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #f2f2f2;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #fdfdfd 0%, #f1f1f1 54%, #e2e2e2 100%);
  background-size:
    180px 180px,
    cover;
  transform-style: preserve-3d;
  transform-origin: 50% 44%;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition:
    transform 0.55s cubic-bezier(0.5, 0, 0.75, 0.3),
    opacity 0.45s ease;
}

.envelope-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(0, 0, 0, 0.16) 100%
  );
  clip-path: polygon(0 100%, 100% 100%, 50% 30%);
  z-index: 2;
}

.envelope-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.13) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(270deg, rgba(0, 0, 0, 0.13) 0%, rgba(255, 255, 255, 0) 26%);
  z-index: 1;
  pointer-events: none;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56%;
  background: linear-gradient(165deg, #fdfdfd 0%, #efefef 46%, #dcdcdc 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.16));
  transform-origin: top center;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.4, 0.02, 0.2, 1);
  z-index: 5;
}

.envelope-flap::after {
  content: "";
  position: absolute;
  inset: 10px 10px auto 10px;
  height: 94%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.62),
    rgba(255, 255, 255, 0)
  );
}

.wax-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(110px, 15vw, 168px);
  aspect-ratio: 1;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 7;
  background: none;
  box-shadow: none;
}

.wax-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: sealPulse 2.4s ease-in-out infinite;
}

.wax-seal-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes sealPulse {
  0%,
  100% {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.26));
  }

  50% {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.38));
  }
}

.envelope.opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
  transition-delay: 0.14s;
}

.envelope.opening .wax-seal {
  animation: sealBreak 0.5s cubic-bezier(0.36, 0, 0.55, 1) forwards;
}

@keyframes sealBreak {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }

  22% {
    transform: translate(-50%, -50%) scale(1.07) rotate(-1.5deg);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -46%) scale(0.86) rotate(-6deg);
    opacity: 0;
  }
}

.envelope.opening .envelope-body {
  opacity: 0;
  transform: scale(1.75);
  transition-delay: 0.78s;
}

body.revealed .page-wrapper {
  animation: pageFade 0.45s ease both;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.revealed .hero-section {
  animation: heroReveal 0.7s cubic-bezier(0.16, 0.84, 0.28, 1) both;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body.revealed .hero-invite > .invite-card {
  animation: inviteRise 0.65s cubic-bezier(0.16, 0.84, 0.28, 1) 0.08s both;
}

@keyframes inviteRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   Hero — invitation info (left) + couple photo (right)
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 100vh;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  height: 100%;
}

.hero-invite {
  flex: 1 1 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vh, 48px) clamp(28px, 5vw, 72px);
  background: #faf8f4;
}

.invite-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: clamp(22px, 3.4vh, 46px) clamp(20px, 3vw, 40px);
  position: relative;
}

.invite-card::before {
  top: 0;
}

.invite-card::after {
  bottom: 0;
}

.invite-intro {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 6px;
}

.couple-names {
  font-family: var(--style-font);
  font-size: clamp(58px, 8vw, 104px);
  line-height: 1;
  color: var(--ink);
  margin: clamp(2px, 1vh, 8px) 0;
  font-weight: 400;
}

.couple-names .amp {
  font-size: 0.62em;
  vertical-align: 0.06em;
  color: var(--silver);
  padding: 0 0.06em;
}

.invite-date {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.invite-time {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(16px, 1.7vw, 21px);
  color: var(--ink);
  margin-bottom: 12px;
}

.invite-place {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--ink-soft);
}

.invite-continues {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.9;
  color: var(--ink);
  margin: clamp(12px, 2.2vh, 22px) 0 clamp(10px, 1.8vh, 18px);
}

.invite-note {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--ink-soft);
}

.hero-photo {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  background: var(--panel-soft);
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
}

.hero-photo-frame img,
.hero-photo-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-scroll {
  display: none;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 22%
  );
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   Zigzag section — 4 photos (up/down) with 3 detail boxes
   ══════════════════════════════════════════════════════════════ */
.zigzag-section {
  position: relative;
  padding: 100px 0 0;
  background: white;
}

.zigzag-section .container-fluid {
  padding: 0;
}

.zz-head {
  margin-bottom: clamp(40px, 5vw, 70px);
  padding: 0 24px;
}

.zz-head .sub-title {
  display: block;
  margin-bottom: 22px;
}

.zz-head h2 {
  font-family: var(--style-font);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.zz-head .flourish-divider {
  color: var(--silver);
  margin-top: 14px;
}

/* ── Full-bleed zigzag: 4 absolutely-placed photos, one up one down ── */
.zigzag-track {
  position: relative;
  width: 100%;
  height: 30vw;
  min-height: 300px;
  margin: 0 auto;
}

.zz-photo {
  position: absolute;
  top: 0;
  width: 16.5vw;
  min-width: 130px;
  margin: 0;
  overflow: hidden;
  border: 2px solid #000;
  /* box-shadow: 0 18px 42px rgba(40, 34, 26, 0.18); */
}

.zz-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  padding: 10px;
  /* background: var(--bg-theme-color2); */
}

section > .container {
  padding: 0 !important;
}

.zz-photo:hover img {
  transform: scale(1.05);
}

.zz-photo.up {
  top: 0;
}

.zz-photo.down {
  top: 8vw;
}

.zz-photo:nth-child(1) {
  left: 2%;
}

.zz-photo:nth-child(2) {
  left: 28.5%;
}

.zz-photo:nth-child(3) {
  left: 55%;
}

.zz-photo:nth-child(4) {
  left: 81.5%;
}

/* ── Three separated detail cards ── */
.zz-boxes {
  display: flex;
  gap: 10px;
  /* max-width: 1080px; */
  margin: clamp(56px, 7vw, 92px) auto 0;
  padding: 0 10px;
}

.zz-box {
  flex: 1 1 0;
  text-align: center;
  border: 2px solid var(--paper-edge);
  background: white !important;
  /* background: #f6f3ef; */
  /* border: 1px solid var(--line); */
  /* border-radius: 14px; */
  /* box-shadow: 0 16px 42px rgba(40, 34, 26, 0.08); */
  padding: clamp(34px, 3vw, 48px) clamp(22px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.zz-place {
  display: none;
}

@media (min-width: 768px) {
  .zz-box:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .zz-box:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.contact-row {
  padding: 10px;
}

.page-wrapper {
  background-color: var(--bg-theme-color2) !important;
}

.zz-icon {
  display: block;
  width: clamp(46px, 4.4vw, 60px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto clamp(16px, 1.6vw, 22px);
  color: var(--silver);
}

.zz-label {
  display: block;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12px;
  color: #171717;
  /* margin-bottom: 16px; */
}

.zz-title {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: clamp(25px, 2.2vw, 30px);
  color: #171717;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.zz-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: #171717;
  margin: 14px auto;
}

.zz-text {
  font-family: var(--title-font);
  font-size: 16px;
  line-height: 1.5;
  color: #171717;
  margin: 5px 0;
}

.zz-text strong {
  color: #171717;
  font-weight: 600;
}

.zz-map {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--text-font);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #171717;
  border-bottom: 1px solid #171717;
  padding-bottom: 2px;
}

.zz-map:hover {
  color: #171717;
}

/* ── Countdown — larger, elegant ── */
.zz-count .time-counter {
  margin: 0;
  width: 100%;
}

.zz-count .time-countdown {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(6px, 1vw, 14px);
}

.zz-count .counter-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  min-width: 52px;
  padding: 0 clamp(4px, 0.8vw, 10px);
  margin: 0;
}

.zz-count .counter-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6%;
  height: 52%;
  width: 1px;
  background: var(--line);
}

.zz-count .counter-column .count {
  font-family: var(--title-font);
  font-weight: 500;
  font-size: clamp(38px, 3.6vw, 50px) !important;
  line-height: 1;
  color: #171717 !important;
  padding: 0 !important;
  margin-bottom: 8px;
  font-feature-settings: "lnum" 1;
}

.zz-count .counter-column .count::before {
  display: none;
}

.zz-count .counter-column sub {
  font-family: var(--text-font);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  bottom: 0;
  position: static;
  opacity: 1;
}

@media (max-width: 991px) {
  .zigzag-track {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 720px;
    padding: 0 20px;
  }

  .zz-photo {
    position: relative;
    width: auto;
    min-width: 0;
  }

  .zigzag-track .zz-photo {
    left: auto;
    top: auto;
  }

  .zz-photo.up {
    transform: translateY(-16px);
  }

  .zz-photo.down {
    top: 0;
    transform: translateY(16px);
  }
}

@media (max-width: 767px) {
  .contact-form-two .title,
  #rsvp .content-column .content-box .title,
  .zz-head h2 {
    font-size: 40px !important;
  }

  .zigzag-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 440px;
  }

  .zz-photo.up,
  .zz-photo.down {
    transform: none;
  }

  .zz-boxes {
    flex-direction: column;
    max-width: 380px;
  }

  .zz-box {
    flex: 0 0 auto;
  }

  .zz-place {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    border: 2px solid var(--paper-edge);
    background: white;
    /* background: var(--paper-soft); */
    overflow: hidden;
  }

  .contact-section-four.pull-up {
    padding-bottom: 0;
  }

  .zz-place img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    padding: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════
   Registry note — inside the "With Love" card, only for ?from=rita
   ══════════════════════════════════════════════════════════════ */
.registry {
  margin-top: clamp(30px, 3.5vw, 44px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.registry-note {
  font-family: var(--title-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 auto clamp(22px, 2.4vw, 30px);
  max-width: 42ch;
}

.registry-label {
  display: block;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12px;
  color: var(--silver);
  margin-bottom: 10px;
}

.registry-number {
  font-family: var(--title-font);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
  font-feature-settings: "lnum" 1;
}

/* ══════════════════════════════════════════════════════════════
   RSVP
   ══════════════════════════════════════════════════════════════ */
.contact-section-four {
  background: white;
  padding: clamp(48px, 6vw, 72px) 0;
  overflow-x: hidden;
}

.contact-section-four.pull-up {
  margin-top: 0;
}

#rsvp .container {
  max-width: 1300px !important;
}

#rsvp .row {
  align-items: stretch;
}

#rsvp .form-column {
  position: relative;
  text-align: left;
}

#rsvp .form-column .inner-column {
  padding: clamp(40px, 4.2vw, 62px) clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.contact-form-two,
.contact-form-two.style-two {
  padding: 0 !important;
  margin: 0;
  border: none;
  border-radius: 0;
}

.contact-form-two form > .row {
  margin-left: -8px;
  margin-right: -8px;
}

.contact-form-two form > .row > [class*="col-"],
.contact-form-two form > .row > [data-guest-fields] > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.form-head {
  text-align: center;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.contact-form-two .title {
  font-family: var(--style-font);
  font-size: 50px;
  color: var(--ink);
  margin-bottom: 2px;
  text-align: center;
  line-height: 1.05;
}

.form-head .flourish-divider {
  margin: 8px auto 0;
  color: var(--silver);
}

.form-head .flourish-divider .flourish {
  width: 190px;
}

.custom-radio-box-two {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 16px 12px 46px;
  border: 1px solid #f6f3ef;
  /* border-radius: 10px; */
  background: white;
  font-family: var(--text-font);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.custom-radio-box-two:has(input:checked) {
  border-color: var(--ink);
  background: #ffffff;
  color: var(--ink);
}

.custom-radio-box-two .checkmark {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
}

.custom-radio-box-two input ~ .checkmark {
  background-color: #fff;
  border: 1px solid var(--silver);
}

.custom-radio-box-two input:checked ~ .checkmark {
  background-color: var(--ink);
  border: none !important;
}

.contact-form-two .form-group {
  margin-bottom: 16px;
}

.contact-form-two
  .form-group
  .select2-container--default
  .select2-selection--single,
.contact-form-two .form-group select,
.contact-form-two .form-group textarea,
.contact-form-two .form-group input:not([type="submit"]) {
  text-align: left;
  font-size: 15px;
  font-family: var(--text-font);
  color: var(--ink);
  background: white;
  border: 1px solid #f6f3ef;
  /* border-radius: 10px; */
  padding: 15px 18px;
  height: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

#rsvp .row,
#rsvp .form-column,
#rsvp .content-column,
.contact-form-two,
.contact-form-two form,
.contact-form-two form > .row {
  max-width: 100%;
  min-width: 0;
}

#rsvp .row > [class*="col-"],
.contact-form-two form > .row > [class*="col-"],
.contact-form-two form > .row > [data-guest-fields] > [class*="col-"] {
  min-width: 0;
}

.contact-form-two .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-two .input-outer input::placeholder,
.contact-form-two .input-outer textarea::placeholder {
  color: #a49f97;
}

.contact-form-two .input-outer input:focus,
.contact-form-two .input-outer textarea:focus {
  border-color: var(--ink);
  background: #ffffff;
  /* box-shadow: 0 0 0 3px rgba(42, 39, 35, 0.06); */
  outline: none;
}

.submit-btn {
  text-align: center;
  margin-top: 18px;
}

.contact-form-two .form-group .theme-btn.btn-style-one {
  background-color: var(--ink);
  border: 1px solid var(--ink);
  padding: 16px 60px;
  /* border-radius: 8px; */
}

.contact-form-two .form-group .theme-btn.btn-style-one:hover {
  background-color: transparent;
  color: var(--ink);
}

#rsvp .content-column {
  background: #faf8f4;
  border-left: 1px solid var(--line);
}

.contact-row-form {
  border: 1px solid #f6f3ef;
  /* border-radius: 10px; */
}

#rsvp .content-column .inner-column::before {
  display: none;
}

.contact-section-four .content-column .rsvp-right-column {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  text-align: center;
  height: 100%;
}

.contact-section-four .content-column .rsvp-right-column .content-box {
  padding: clamp(40px, 4vw, 56px) clamp(28px, 3vw, 48px);
  flex-shrink: 0;
  margin-bottom: 0;
}

#rsvp .content-column .content-box .title {
  font-family: var(--style-font);
  font-size: clamp(36px, 3.8vw, 50px);
  color: var(--ink) !important;
  margin-bottom: 2px;
}

#rsvp .content-column .content-box .flourish-divider {
  margin: 8px auto 20px;
  color: var(--silver);
}

#rsvp .content-column .content-box .flourish-divider .flourish {
  width: 180px;
}

#rsvp .content-column .content-box .text {
  color: var(--ink-soft) !important;
  font-family: var(--title-font);
  font-size: 18px;
  line-height: 1.65;
}

.rsvp-map {
  position: relative;
  flex: 1;
  min-height: 240px;
  padding: 8px clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px);
}

.rsvp-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: none;
  border-radius: 8px;
  filter: grayscale(0.25);
}

/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-section {
    height: auto;
  }

  .hero-inner {
    flex-direction: column;
    height: auto;
  }

  .hero-invite {
    flex: none;
    width: 100%;
    height: auto;
    padding: 64px 26px 52px;
  }

  .hero-photo {
    flex: none;
    width: 100%;
    aspect-ratio: 1080 / 1936;
    height: auto;
    max-height: 88vh;
    min-height: 380px;
    position: relative;
    order: -1;
  }

  .hero-photo-frame {
    position: absolute;
    inset: 0;
  }

  #rsvp .content-column {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .contact-section-four .content-column .rsvp-right-column {
    min-height: auto;
  }

  .rsvp-map {
    padding: 8px 26px 30px;
  }
}

@media (max-width: 767px) {
  .hero-photo {
    aspect-ratio: auto;
    height: 100vh;
    height: 100svh;
    max-height: none;
  }

  .hero-photo::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    z-index: 2;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.52) 100%);
    pointer-events: none;
  }

  .hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    position: absolute;
    left: 50%;
    bottom: calc(clamp(10px, 2vh, 18px) + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    pointer-events: none;
  }

  .hero-scroll-text {
    font-family: var(--title-font);
    text-transform: uppercase;
    letter-spacing: 0.26em;
    text-indent: 0.26em;
    font-size: 11px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
  }

  .hero-scroll-arrow {
    width: 20px;
    height: 25px;
    display: block;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.65));
    animation: scrollCue 2s ease-in-out infinite;
  }

  @keyframes scrollCue {
    0%,
    100% {
      transform: translateY(0);
      opacity: 0.7;
    }

    50% {
      transform: translateY(7px);
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-scroll-arrow {
      animation: none;
      opacity: 0.9;
    }
  }

  .hero-invite {
    padding: 34px 16px 30px;
  }

  .invite-card {
    padding: 28px 4px;
  }

  .zigzag-section {
    padding: 80px 0 0;
  }

  .invite-intro {
    letter-spacing: 0.13em;
    font-size: 13px;
  }

  .couple-names {
    font-size: 60px;
    margin: 8px 0;
  }

  .invite-date {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .invite-time {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .invite-place {
    font-size: 12.5px;
    letter-spacing: 0.08em;
  }

  .invite-continues {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.9;
  }

  .contact-form-two .title {
    text-align: center;
  }

  .contact-section-four .content-column .rsvp-right-column .content-box {
    padding: 40px 24px;
  }

  #rsvp .form-column .inner-column {
    padding: 40px 22px 44px;
  }

  #rsvp .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .custom-radio-box-two {
    min-height: 50px;
    font-size: 13.5px;
  }
}

/* ── Misc cleanup ── */
span {
  text-decoration: none !important;
}
