/* ==========================================================================
   Sama Anjar — wedding lawn page (EN + AR)
   Loaded after styles.css on /weddings and /ar/weddings only.
   ========================================================================== */

.wedding-page {
  --blush: #f9e8e3;
  --blush-2: #f2d4cc;
  --rose: #b24a5a;
  --rose-deep: #8a3343;
  --rose-soft: #e8a5ad;
  --gold: #c49a4c;
  --gold-soft: #ecdcb2;
  --plum: #2a1729;
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.8-4.6-9.7-9.6C1.1 8 3.2 4.3 7 4.3c2.2 0 3.8 1.2 5 3.1 1.2-1.9 2.8-3.1 5-3.1 3.8 0 5.9 3.7 4.7 7.1C19.8 16.4 12 21 12 21Z'/%3E%3C/svg%3E");
}

.wedding-page ::selection {
  color: var(--white);
  background: var(--rose);
}

.wedding-page :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline-color: var(--rose);
}

.wedding-page .eyebrow {
  color: var(--rose-deep);
}

.wedding-page .eyebrow::before {
  width: 13px;
  height: 13px;
  background: currentColor;
  border-radius: 0;
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
  animation: heartbeat 2.4s var(--ease) infinite;
}

.wedding-page .eyebrow.on-dark {
  color: var(--rose-soft);
}

.wedding-page .section-title em,
.wedding-page .display em {
  color: var(--rose);
}

.wedding-page .btn-rose {
  color: var(--white);
  background: var(--rose);
  box-shadow: 0 14px 34px rgba(178, 74, 90, 0.32);
}

.wedding-page .btn-rose:hover {
  background: var(--rose-deep);
  box-shadow: 0 18px 44px rgba(178, 74, 90, 0.45);
}

.wedding-page .btn-outline {
  border-color: rgba(138, 51, 67, 0.3);
}

.wedding-page .btn-outline:hover {
  border-color: var(--rose-deep);
  background: rgba(178, 74, 90, 0.05);
}

.wedding-page .scroll-progress {
  background: linear-gradient(90deg, var(--rose-soft), var(--rose));
}

.timeline-steps,
.plan-legend {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gold-text {
  color: var(--gold);
  background: linear-gradient(100deg, #e9c477 20%, #fff1cc 40%, #e9c477 60%) 0 0 / 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

.heart-glyph {
  display: block;
  color: var(--rose-soft);
  background: currentColor;
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
  animation: heartbeat 2.4s var(--ease) infinite;
}

.wedding-page .marquee-group i {
  width: 24px;
  height: 24px;
}

.wedding-page .marquee-group span:nth-child(4n + 3) {
  color: var(--rose);
}

.wedding-page .words-ready .word.is-lit {
  color: var(--navy);
}

.wedding-page .intro-statement em,
.wedding-page .words-ready em .word.is-lit {
  color: var(--rose);
}

/* --------------------------------------------------------------------------
   Hero: full-bleed photo that drifts from golden hour into evening
   -------------------------------------------------------------------------- */

.wed-hero {
  display: flex;
  min-height: 100svh;
  padding: 10px;
}

.wed-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
  border-radius: var(--radius-xl);
}

.wed-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  animation: ken-burns-slow 24s ease-in-out infinite alternate;
}

.wed-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.wed-media .night {
  animation: day-to-night 22s ease-in-out infinite;
}

.wed-frame.is-paused .wed-media,
.wed-frame.is-paused .wed-media .night {
  animation-play-state: paused;
}

.wed-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(42, 23, 41, 0.9) 0%, rgba(42, 23, 41, 0.5) 36%, rgba(42, 23, 41, 0) 66%),
    linear-gradient(90deg, rgba(42, 23, 41, 0.55) 0%, rgba(42, 23, 41, 0) 58%);
}

html[dir="rtl"] .wed-frame::before {
  background:
    linear-gradient(0deg, rgba(42, 23, 41, 0.9) 0%, rgba(42, 23, 41, 0.5) 36%, rgba(42, 23, 41, 0) 66%),
    linear-gradient(-90deg, rgba(42, 23, 41, 0.55) 0%, rgba(42, 23, 41, 0) 58%);
}

.petal-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wed-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: 140px clamp(22px, 5vw, 72px) clamp(28px, 5vw, 64px);
}

.wed-copy {
  max-width: 760px;
}

.love-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-inline: 8px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.love-chip .pulse-heart {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: var(--rose);
  border-radius: 50%;
}

.love-chip .pulse-heart::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
}

.love-chip .pulse-heart::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--rose);
  animation: ping 2s ease-out infinite;
}

.wed-title {
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(3.1rem, 7.4vw, 6.8rem);
  line-height: 0.98;
}

.wedding-page .wed-title em {
  color: var(--rose-soft);
}

html[lang="ar"] .wed-title {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.25;
}

.rotator {
  display: inline-grid;
  font-style: italic;
  color: var(--gold-soft);
}

html[lang="ar"] .rotator {
  font-style: normal;
}

.rotator > span {
  grid-area: 1 / 1;
  opacity: 0;
  animation: word-cycle 9s var(--ease) infinite 1.6s;
}

.rotator > span:nth-child(2) {
  animation-delay: 4.6s;
}

.rotator > span:nth-child(3) {
  animation-delay: 7.6s;
}

.rotator > span:first-child {
  opacity: 1;
  animation-name: word-cycle-first;
}

.wed-lead {
  max-width: 580px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.wed-hero .hero-actions {
  margin-top: 30px;
}

.wed-hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.wed-hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.wed-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.wed-aside {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.wedding-page .wed-aside .spin-badge {
  position: relative;
  top: auto;
  inset: auto;
  transform: none;
  animation: zoom-in 1s var(--ease) both 1.2s;
}

.wedding-page .spin-badge circle {
  fill: var(--blush-2);
}

.wedding-page .spin-badge text {
  fill: var(--rose-deep);
}

.wedding-page .spin-badge .badge-ring {
  stroke: var(--rose-deep);
}

.wedding-page .spin-badge .badge-text {
  color: var(--rose-deep);
}

.wedding-page .spin-badge .badge-core {
  inset: 34%;
  color: var(--rose);
}

.wedding-page .spin-badge .badge-core .icon {
  fill: currentColor;
  stroke: none;
  animation: heartbeat 2.4s var(--ease) infinite;
}

.day-night-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.day-night-chip .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

.day-night-chip .moon {
  animation: chip-moon 22s ease-in-out infinite;
}

.day-night-chip .sun {
  position: absolute;
  animation: chip-sun 22s ease-in-out infinite;
}

.day-night-chip .icons {
  position: relative;
  display: grid;
  place-items: center;
}

.rings-art {
  width: clamp(80px, 9vw, 120px);
  color: var(--gold-soft);
  pointer-events: none;
}

.rings-art path,
.rings-art circle,
.draw-art path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rings-art circle,
.rings-art path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s var(--ease) forwards 1.4s;
}

.rings-art circle:nth-of-type(2) {
  animation-delay: 1.8s;
}

.rings-art path {
  animation-delay: 2.4s;
}

.twinkle {
  position: absolute;
  z-index: 2;
  width: 14px;
  aspect-ratio: 1;
  background: #ffe9b0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none;
}

.twinkle.t1 { top: 16%; left: 12%; }
.twinkle.t2 { top: 30%; left: 44%; width: 10px; animation-delay: 0.8s; }
.twinkle.t3 { top: 12%; right: 22%; width: 12px; animation-delay: 1.6s; }
.twinkle.t4 { top: 40%; right: 8%; width: 9px; animation-delay: 2.2s; }
.twinkle.t5 { top: 22%; left: 70%; width: 8px; animation-delay: 1.1s; }

/* Pointer trail + burst hearts (created by weddings.js) */

.trail-heart,
.burst-heart {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 14px;
  height: 14px;
  color: var(--rose);
  background: currentColor;
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
  pointer-events: none;
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   Intro + vows
   -------------------------------------------------------------------------- */

.wed-intro {
  overflow: hidden;
}

.draw-art {
  display: block;
  width: min(240px, 60%);
  margin-top: 26px;
  color: var(--rose);
}

.js .draw-art path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s var(--ease) 0.2s;
}

.js .draw-art.is-visible path {
  stroke-dashoffset: 0;
}

.vows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(48px, 7vw, 88px);
}

.vow {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s ease;
}

.vow:hover {
  transform: translateY(-4px);
  border-color: rgba(178, 74, 90, 0.25);
  box-shadow: 0 18px 50px rgba(138, 51, 67, 0.12);
}

.vow-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--rose-deep);
  background: var(--blush);
  border-radius: 50%;
  transition: transform 0.6s var(--ease), background-color 0.4s ease, color 0.4s ease;
}

.vow:hover .vow-icon {
  color: var(--white);
  background: var(--rose);
  transform: rotate(-8deg) scale(1.06);
}

.vow strong {
  display: block;
  margin-top: 20px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
}

html[lang="ar"] .vow strong {
  font-weight: 600;
}

.vow p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Golden hour / evening comparison
   -------------------------------------------------------------------------- */

.lawn {
  padding-block: 0 clamp(80px, 11vw, 150px);
}

.lawn .section-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.compare {
  --pos: 50%;
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1600 / 737;
  background: var(--plum);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(42, 23, 41, 0.25);
  user-select: none;
  touch-action: pan-y;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-night {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 18px rgba(255, 233, 176, 0.8);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 92px;
  height: 46px;
  color: var(--rose-deep);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}

.compare-handle .icon {
  width: 18px;
  height: 18px;
}

.compare-handle i {
  width: 1.5px;
  height: 18px;
  background: var(--blush-2);
}

.compare:hover .compare-handle,
.compare:has(.compare-range:focus-visible) .compare-handle {
  transform: translate(-50%, -50%) scale(1.08);
}

.compare:has(.compare-range:focus-visible) .compare-handle {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.compare-tag {
  position: absolute;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(42, 23, 41, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.compare-tag .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

.compare-tag.day { left: 18px; }
.compare-tag.night { right: 18px; }

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.lawn-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.lawn-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--rose-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
}

.lawn-tags .icon {
  width: 18px;
  height: 18px;
  color: var(--rose);
}

/* --------------------------------------------------------------------------
   Layout plan (illustrated top-down view of the lawn)
   -------------------------------------------------------------------------- */

.layout-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
}

.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.plan-grid .lead {
  margin: 20px 0 28px;
}

.plan-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.plan-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 80%;
  margin: 16px auto 0;
  counter-reset: plan;
}

.plan-scroll {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.plan-legend button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding-block: 12px;
  padding-inline: 12px 18px;
  text-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.3s ease, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.plan-legend button {
  height: 100%;
}

.plan-legend button:hover,
.plan-legend button:focus-visible,
.plan-legend button.is-active {
  border-color: rgba(178, 74, 90, 0.35);
  box-shadow: 0 14px 36px rgba(138, 51, 67, 0.12);
  transform: translateY(-3px);
}

.plan-legend button::before {
  counter-increment: plan;
  content: counter(plan);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--rose-deep);
  background: var(--blush);
  border-radius: 50%;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.plan-legend button.is-active::before,
.plan-legend button:hover::before {
  color: var(--white);
  background: var(--rose);
}

.plan-legend strong {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

.plan-legend span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.venue-plan {
  position: relative;
  width: 80%;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 24px);
  padding-top: 64px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55) 70%),
    var(--blush);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: background-color 0.8s ease;
}

.venue-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(178, 74, 90, 0.35), transparent 60%),
    linear-gradient(170deg, var(--plum) 0%, var(--night) 100%);
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.venue-plan.is-night::before {
  opacity: 1;
}

.venue-plan svg {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.venue-plan figcaption {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  transition: color 0.6s ease;
}

.venue-plan.is-night figcaption {
  color: rgba(251, 246, 236, 0.65);
}

.plan-toggle {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: var(--plum);
  border: 0;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(42, 23, 41, 0.25);
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s var(--ease);
}

.plan-toggle:hover {
  transform: translateY(-2px);
}

.plan-toggle .icon {
  width: 18px;
  height: 18px;
  color: var(--gold-soft);
}

.venue-plan.is-night .plan-toggle {
  color: var(--plum);
  background: var(--gold-soft);
}

.venue-plan.is-night .plan-toggle .icon {
  color: var(--rose-deep);
}

.plan-mountains {
  fill: none;
  stroke: rgba(86, 102, 122, 0.55);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: stroke 0.8s ease;
}

.plan-stars circle {
  fill: #fff5d6;
  opacity: 0;
  transition: opacity 1s ease;
}

.venue-plan.is-night .plan-stars circle {
  opacity: 0.9;
  animation: star-blink 3s ease-in-out infinite;
}

.venue-plan.is-night .plan-stars circle:nth-child(3n) { animation-delay: 1s; }
.venue-plan.is-night .plan-stars circle:nth-child(3n + 1) { animation-delay: 2s; }

.plan-tree {
  fill: rgba(31, 122, 85, 0.42);
}

.plan-poplar {
  fill: rgba(31, 122, 85, 0.62);
}

.plan-lawn {
  fill: rgba(31, 122, 85, 0.16);
  stroke: var(--leaf);
  stroke-width: 1.5;
  transition: fill 0.8s ease;
}

.venue-plan.is-night .plan-lawn {
  fill: rgba(64, 120, 82, 0.35);
}

.venue-plan.is-night .plan-mountains {
  stroke: rgba(232, 165, 173, 0.6);
}

.plan-lights line {
  stroke: rgba(138, 51, 67, 0.22);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  transition: stroke 0.8s ease;
}

.plan-bulb {
  fill: #f2d48a;
  opacity: 0.6;
  transition: opacity 0.8s ease;
}

.venue-plan.is-night .plan-lights line {
  stroke: rgba(255, 228, 160, 0.4);
}

.venue-plan.is-night .plan-bulb {
  opacity: 1;
  fill: #ffe8a8;
  filter: drop-shadow(0 0 4px rgba(255, 214, 130, 0.95));
  animation: glow 2.6s ease-in-out infinite;
}

.venue-plan.is-night .plan-bulb:nth-of-type(odd) {
  animation-delay: 1.3s;
}

.plan-table-top {
  fill: var(--white);
  stroke: var(--rose-soft);
  stroke-width: 1.5;
}

.plan-chair {
  fill: var(--gold);
  opacity: 0.75;
}

.venue-plan.is-night .plan-table-top {
  fill: #fff7e6;
  stroke: #ffd98a;
  filter: drop-shadow(0 0 5px rgba(255, 214, 130, 0.6));
}

.plan-stage {
  fill: var(--sand);
  stroke: var(--rose);
  stroke-width: 2;
  transition: fill 0.8s ease;
}

.plan-stage-ring {
  fill: none;
  stroke: rgba(178, 74, 90, 0.35);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.venue-plan.is-night .plan-stage {
  fill: #f6e2c4;
  filter: drop-shadow(0 0 16px rgba(255, 200, 150, 0.75));
}

.plan-pulse {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: plan-pulse 3s ease-out infinite;
}

.plan-dance {
  fill: none;
  stroke: none;
}

.plan-walker {
  fill: var(--rose);
}

.plan-label {
  fill: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 4px;
  stroke-linejoin: round;
  transition: fill 0.8s ease, stroke 0.8s ease;
}

.plan-label.small {
  font-size: 12px;
  font-weight: 700;
}

.venue-plan.is-night .plan-label {
  fill: var(--cream);
  stroke: rgba(42, 23, 41, 0.7);
}

.venue-plan.is-night [data-plan-area="stage"] .plan-label {
  fill: var(--navy);
  stroke: rgba(255, 255, 255, 0.85);
}

[data-plan-area] {
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.venue-plan.has-active [data-plan-area]:not(.is-active) {
  opacity: 0.3;
}

.venue-plan [data-plan-area].is-active {
  filter: drop-shadow(0 8px 18px rgba(138, 51, 67, 0.3));
}

@media (prefers-reduced-motion: no-preference) {
  .js .venue-plan [data-plan-area],
  .js .venue-plan .plan-lights {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 1s var(--ease), filter 0.4s ease;
  }

  .js .venue-plan.is-visible [data-plan-area],
  .js .venue-plan.is-visible .plan-lights {
    opacity: 1;
    transform: none;
  }

  .js .venue-plan.is-visible.has-active [data-plan-area]:not(.is-active) {
    opacity: 0.3;
  }

  .js .venue-plan [data-plan-area="mountains"] { transition-delay: 0.1s; }
  .js .venue-plan [data-plan-area="trees"] { transition-delay: 0.3s; }
  .js .venue-plan [data-plan-area="lawn"] { transition-delay: 0.5s; }
  .js .venue-plan [data-plan-area="stage"] { transition-delay: 0.8s; }
  .js .venue-plan [data-plan-area="tables"] { transition-delay: 1s; transform: none; }
  .js .venue-plan .plan-lights { transition-delay: 3.3s; }

  .js .venue-plan.has-active [data-plan-area] {
    transition-delay: 0s;
  }

  /* Tables pop in ring by ring. */
  .js .venue-plan .plan-table {
    opacity: 0;
    transform: scale(0.3);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .js .venue-plan.is-visible .plan-table {
    opacity: 1;
    transform: none;
  }

  .js .venue-plan .plan-table:nth-child(1) { transition-delay: 1.10s; }
  .js .venue-plan .plan-table:nth-child(2) { transition-delay: 1.16s; }
  .js .venue-plan .plan-table:nth-child(3) { transition-delay: 1.22s; }
  .js .venue-plan .plan-table:nth-child(4) { transition-delay: 1.28s; }
  .js .venue-plan .plan-table:nth-child(5) { transition-delay: 1.34s; }
  .js .venue-plan .plan-table:nth-child(6) { transition-delay: 1.40s; }
  .js .venue-plan .plan-table:nth-child(7) { transition-delay: 1.46s; }
  .js .venue-plan .plan-table:nth-child(8) { transition-delay: 1.52s; }
  .js .venue-plan .plan-table:nth-child(9) { transition-delay: 1.58s; }
  .js .venue-plan .plan-table:nth-child(10) { transition-delay: 1.64s; }
  .js .venue-plan .plan-table:nth-child(11) { transition-delay: 1.80s; }
  .js .venue-plan .plan-table:nth-child(12) { transition-delay: 1.85s; }
  .js .venue-plan .plan-table:nth-child(13) { transition-delay: 1.90s; }
  .js .venue-plan .plan-table:nth-child(14) { transition-delay: 1.95s; }
  .js .venue-plan .plan-table:nth-child(15) { transition-delay: 2.00s; }
  .js .venue-plan .plan-table:nth-child(16) { transition-delay: 2.05s; }
  .js .venue-plan .plan-table:nth-child(17) { transition-delay: 2.10s; }
  .js .venue-plan .plan-table:nth-child(18) { transition-delay: 2.15s; }
  .js .venue-plan .plan-table:nth-child(19) { transition-delay: 2.20s; }
  .js .venue-plan .plan-table:nth-child(20) { transition-delay: 2.25s; }
  .js .venue-plan .plan-table:nth-child(21) { transition-delay: 2.30s; }
  .js .venue-plan .plan-table:nth-child(22) { transition-delay: 2.35s; }
  .js .venue-plan .plan-table:nth-child(23) { transition-delay: 2.40s; }
  .js .venue-plan .plan-table:nth-child(24) { transition-delay: 2.45s; }
  .js .venue-plan .plan-table:nth-child(25) { transition-delay: 2.50s; }
  .js .venue-plan .plan-table:nth-child(26) { transition-delay: 2.55s; }
  .js .venue-plan .plan-table:nth-child(27) { transition-delay: 2.70s; }
  .js .venue-plan .plan-table:nth-child(28) { transition-delay: 2.76s; }
  .js .venue-plan .plan-table:nth-child(29) { transition-delay: 2.82s; }
  .js .venue-plan .plan-table:nth-child(30) { transition-delay: 2.88s; }
  .js .venue-plan .plan-table:nth-child(31) { transition-delay: 2.94s; }
  .js .venue-plan .plan-table:nth-child(32) { transition-delay: 3.00s; }
  .js .venue-plan .plan-table:nth-child(33) { transition-delay: 3.06s; }
  .js .venue-plan .plan-table:nth-child(34) { transition-delay: 3.12s; }
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.wed-timeline {
  --progress: 0;
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}

.wed-timeline::before,
.timeline-fill {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
}

.wed-timeline::before {
  background: repeating-linear-gradient(180deg, rgba(178, 74, 90, 0.25) 0 6px, transparent 6px 12px);
}

.timeline-fill {
  background: linear-gradient(180deg, var(--rose-soft), var(--rose));
  transform: scaleY(var(--progress));
  transform-origin: top;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(14px, 2vw, 22px);
}

.timeline-dot {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--rose-deep);
  background: var(--cream);
  border: 2px solid rgba(178, 74, 90, 0.25);
  border-radius: 50%;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, transform 0.6s var(--ease);
}

.timeline-step.is-lit .timeline-dot {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(178, 74, 90, 0.12);
}

.timeline-card {
  grid-row: 1;
  grid-column: 1;
  padding: clamp(20px, 2.6vw, 30px);
  text-align: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.6s var(--ease);
}

.timeline-step:nth-child(odd) .timeline-card {
  grid-column: 3;
  text-align: start;
}

.timeline-step.is-lit .timeline-card {
  box-shadow: 0 18px 50px rgba(138, 51, 67, 0.12);
}

.timeline-card .when {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[lang="ar"] .timeline-card .when {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.timeline-card h3 {
  margin-top: 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

html[lang="ar"] .timeline-card h3 {
  font-weight: 600;
  line-height: 1.4;
}

.timeline-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Love note (evening photo behind)
   -------------------------------------------------------------------------- */

.love-note {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(100px, 14vw, 190px);
  color: var(--cream);
  text-align: center;
  background: var(--plum);
}

.love-note > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.love-note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(42, 23, 41, 0.55), rgba(42, 23, 41, 0.88) 75%);
}

.love-note blockquote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

html[lang="ar"] .love-note blockquote {
  font-weight: 600;
  line-height: 1.45;
}

.love-note blockquote em {
  font-style: italic;
  color: var(--rose-soft);
}

html[lang="ar"] .love-note blockquote em {
  font-style: normal;
}

.love-note .draw-art {
  margin: 30px auto 0;
  color: var(--rose-soft);
}

.love-note .sign {
  margin-top: 18px;
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

html[lang="ar"] .love-note .sign {
  letter-spacing: 0;
  font-size: 1rem;
}

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

.float-hearts i {
  position: absolute;
  bottom: -40px;
  width: 22px;
  height: 22px;
  color: var(--rose-soft);
  background: currentColor;
  -webkit-mask: var(--heart) center / contain no-repeat;
  mask: var(--heart) center / contain no-repeat;
  opacity: 0;
  animation: rise 14s linear infinite;
}

.float-hearts i:nth-child(1) { left: 6%; animation-delay: 0s; }
.float-hearts i:nth-child(2) { left: 16%; width: 14px; height: 14px; animation-delay: 3s; animation-duration: 11s; }
.float-hearts i:nth-child(3) { left: 27%; width: 30px; height: 30px; animation-delay: 6s; color: var(--rose); }
.float-hearts i:nth-child(4) { left: 39%; width: 12px; height: 12px; animation-delay: 1.5s; animation-duration: 10s; }
.float-hearts i:nth-child(5) { left: 52%; animation-delay: 8s; color: var(--gold-soft); }
.float-hearts i:nth-child(6) { left: 63%; width: 16px; height: 16px; animation-delay: 4.5s; animation-duration: 12s; }
.float-hearts i:nth-child(7) { left: 74%; width: 26px; height: 26px; animation-delay: 2s; color: var(--rose); }
.float-hearts i:nth-child(8) { left: 85%; width: 13px; height: 13px; animation-delay: 7s; animation-duration: 9s; }
.float-hearts i:nth-child(9) { left: 93%; animation-delay: 10s; color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   FAQ tweaks
   -------------------------------------------------------------------------- */

.wedding-page .faq-list details[open] summary::after {
  background:
    linear-gradient(var(--white), var(--white)) center / 12px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 12px no-repeat,
    var(--rose);
}

.wedding-page .faq-list details p a {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Inquiry (invitation card)
   -------------------------------------------------------------------------- */

.wed-inquiry {
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
}

.invite-card {
  position: relative;
  padding-top: clamp(64px, 7vw, 84px);
  border: 0;
  box-shadow: 0 30px 80px rgba(138, 51, 67, 0.14);
}

.invite-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-soft);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.invite-card .form-title {
  text-align: center;
}

.invite-card .form-sub {
  grid-column: 1 / -1;
  margin-top: -8px;
  color: var(--muted);
  text-align: center;
}

.wax-seal {
  position: absolute;
  top: -34px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-left: -38px;
  color: rgba(255, 255, 255, 0.92);
  background: radial-gradient(circle at 35% 30%, #d06a78 0%, var(--rose) 45%, var(--rose-deep) 100%);
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.08),
    inset 0 -6px 12px rgba(0, 0, 0, 0.2),
    0 10px 24px rgba(138, 51, 67, 0.35);
  rotate: -8deg;
}

.wax-seal .icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
}

.js .invite-card .wax-seal {
  opacity: 0;
  transform: scale(1.8);
}

.js .invite-card.is-visible .wax-seal {
  animation: stamp 0.9s var(--ease) forwards 0.5s;
}

.wedding-page .form-field input,
.wedding-page .form-field select,
.wedding-page .form-field textarea {
  background: #fdf8f5;
}

.wedding-page .form-field input:hover,
.wedding-page .form-field select:hover,
.wedding-page .form-field textarea:hover {
  border-color: var(--blush-2);
}

.wedding-page .form-field input:focus,
.wedding-page .form-field select:focus,
.wedding-page .form-field textarea:focus {
  background: var(--white);
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(178, 74, 90, 0.14);
}

.wedding-page .form-field ::placeholder {
  color: #9aa5b3;
}

.wedding-page .contact-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(178, 74, 90, 0.45), transparent 55%),
    linear-gradient(160deg, var(--plum) 0%, var(--night) 100%);
}

.wedding-page .contact-card a .icon {
  color: var(--rose-soft);
}

.wedding-page .contact-card a:hover {
  border-color: rgba(232, 165, 173, 0.6);
}

.contact-card .contact-note {
  margin-bottom: 8px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
}

.contact-card .contact-note em {
  color: var(--rose-soft);
}

/* Mobile booking bar */

.wedding-page .mobile-booking-bar {
  background: var(--plum);
}

.wedding-page .mobile-booking-bar > span {
  white-space: nowrap;
}

.wedding-page .mobile-booking-bar strong {
  color: var(--rose-soft);
}

.wedding-page .mobile-booking-bar .go {
  color: var(--white);
  background: var(--rose);
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

@keyframes heartbeat {
  0%, 40%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1.06); }
}

@keyframes shimmer {
  to { background-position: -220% 0; }
}

@keyframes word-cycle {
  0% { opacity: 0; transform: translateY(45%); filter: blur(6px); }
  6%, 28% { opacity: 1; transform: none; filter: blur(0); }
  34%, 100% { opacity: 0; transform: translateY(-45%); filter: blur(6px); }
}

/* First word is visible on load, then joins the cycle. */
@keyframes word-cycle-first {
  0%, 28% { opacity: 1; transform: none; filter: blur(0); }
  34%, 94% { opacity: 0; transform: translateY(-45%); filter: blur(6px); }
  95% { opacity: 0; transform: translateY(45%); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* Golden hour → evening → golden hour. */
@keyframes day-to-night {
  0%, 8% { opacity: 0; }
  22%, 78% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes chip-moon {
  0%, 8% { opacity: 0; transform: rotate(-40deg) scale(0.6); }
  22%, 78% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: rotate(-40deg) scale(0.6); }
}

@keyframes chip-sun {
  0%, 8% { opacity: 1; transform: none; }
  22%, 78% { opacity: 0; transform: rotate(60deg) scale(0.6); }
  92%, 100% { opacity: 1; transform: none; }
}

@keyframes ken-burns-slow {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

@keyframes glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes star-blink {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.25; }
}

@keyframes rise {
  0% { opacity: 0; transform: translateY(0) rotate(-10deg) scale(0.8); }
  10% { opacity: 0.85; }
  50% { transform: translateY(-50vh) translateX(24px) rotate(10deg) scale(1); }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(-12px) rotate(-8deg) scale(1.1); }
}

@keyframes stamp {
  0% { opacity: 0; transform: scale(1.8); }
  60% { opacity: 1; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes plan-pulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .vows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-plan,
  .plan-legend {
    width: 100%;
  }

  .plan-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  /* Keep the wide plan legible: it scrolls sideways inside its card. */
  .plan-scroll svg {
    width: 760px;
    max-width: none;
  }

  .venue-plan figcaption::before {
    content: attr(data-swipe) " ";
    display: block;
    margin-bottom: 2px;
    color: var(--rose-soft);
    font-weight: 800;
  }
}

@media (max-width: 960px) {
  .wed-hero-inner,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .wed-hero-inner {
    padding-top: 130px;
  }

  .wed-aside {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }

  .wedding-page .wed-aside .spin-badge {
    width: 110px;
  }

  .wed-timeline::before,
  .timeline-fill {
    left: 29px;
  }

  html[dir="rtl"] .wed-timeline::before,
  html[dir="rtl"] .timeline-fill {
    left: auto;
    right: 29px;
    margin-left: 0;
    margin-right: -1px;
  }

  .timeline-step {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
  }

  .timeline-dot {
    grid-column: 1;
  }

  .timeline-card,
  .timeline-step:nth-child(odd) .timeline-card {
    grid-column: 2;
    text-align: start;
  }

  .compare {
    aspect-ratio: 4 / 3;
  }

  .compare img {
    object-position: 62% center;
  }
}

@media (max-width: 640px) {
  .wed-hero {
    padding: 6px;
  }

  .wed-frame {
    min-height: 680px;
  }

  .wed-hero-inner {
    padding: 120px 20px 24px;
    gap: 22px;
  }

  .wed-hero .hero-actions .btn {
    flex: 1 1 100%;
  }

  .wedding-page .wed-aside .spin-badge {
    width: 92px;
  }

  .rings-art {
    width: 76px;
  }

  .vows,
  .plan-legend {
    grid-template-columns: 1fr;
  }

  .compare {
    aspect-ratio: 4 / 5;
  }

  .compare-tag {
    top: 12px;
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .compare-tag.day { left: 12px; }
  .compare-tag.night { right: 12px; }

  .venue-plan {
    padding-top: 62px;
  }

  .wedding-page .reservation-form {
    grid-template-columns: 1fr;
  }

  .wedding-page .floating-whatsapp {
    display: none;
  }

  .wedding-page .site-footer {
    padding-bottom: 80px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion: hold the evening photo, show everything at rest
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .petal-canvas,
  .float-hearts,
  .twinkle,
  .plan-walker,
  .day-night-chip .sun {
    display: none;
  }

  .wed-media,
  .wed-media .night,
  .day-night-chip .moon {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .rotator > span {
    animation: none !important;
    opacity: 0;
  }

  .rotator > span:first-child {
    opacity: 1;
  }

  .rings-art circle,
  .rings-art path,
  .js .draw-art path {
    stroke-dashoffset: 0;
    animation: none !important;
  }

  .js .invite-card .wax-seal {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .plan-pulse,
  .venue-plan.is-night .plan-bulb,
  .venue-plan.is-night .plan-stars circle {
    animation: none !important;
  }
}
