:root {
  --ink: #171311;
  --chocolate: #3b2418;
  --brown: #5a351e;
  --gold: #a87835;
  --gold-light: #c49a55;
  --cream: #e8dcc8;
  --sand: #d5c2a5;
  --paper: #f4ecdf;
  --white: #fffaf2;
  --display: "Noto Naskh Arabic", serif;
  --ruqaa: "Aref Ruqaa", serif;
  --body: "Noto Kufi Arabic", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--chocolate);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.intro-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 12px auto auto 12px;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: max(2rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  color: var(--cream);
  background: var(--ink);
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.intro-image {
  position: absolute;
  inset: -4%;
  background-image: linear-gradient(rgba(23, 19, 17, 0.14), rgba(23, 19, 17, 0.34)), url("intro-bg-v2.png");
  background-position: center center;
  background-size: cover;
  filter: blur(12px) brightness(0.72);
  transform: scale(1.12);
  transition: filter 2.2s cubic-bezier(0.2, 0.7, 0.2, 1), transform 5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.9s ease;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(196, 154, 85, 0.12), transparent 34%),
    radial-gradient(circle at center, transparent 10%, rgba(23, 19, 17, 0.35) 68%, rgba(23, 19, 17, 0.82) 120%);
}

.intro.is-ready .intro-image {
  filter: blur(0) brightness(0.78);
  transform: scale(1.04);
}

.intro-scene {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  text-align: center;
  transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.65s ease;
}

.intro-bismillah,
.intro-jasmine-seal,
.intro-prelude,
.intro h1,
.intro-groom,
.intro-whisper,
.enter-button {
  opacity: 0;
  transform: translateY(24px);
}

.intro.is-ready .intro-bismillah { animation: intro-text 0.9s 0.25s both; }
.intro.is-ready .intro-jasmine-seal { animation: intro-bloom 1.1s 0.5s both; }
.intro.is-ready .intro-prelude { animation: intro-text 0.9s 0.68s both; }
.intro.is-ready h1 { animation: intro-title 1.15s 0.88s both; }
.intro.is-ready .intro-groom { animation: intro-text 0.9s 1.18s both; }
.intro.is-ready .intro-whisper { animation: intro-text 0.85s 1.38s both; }
.intro.is-ready .enter-button { animation: intro-text 0.8s 1.58s both; }

.intro-bismillah {
  margin: 0 0 clamp(1.1rem, 3vh, 1.8rem);
  color: rgba(232, 220, 200, 0.88);
  font-family: var(--display);
  font-size: clamp(1.1rem, 3.8vw, 1.45rem);
}

.intro-jasmine-seal {
  display: block;
  width: clamp(34px, 9vw, 48px);
  aspect-ratio: 1;
  margin: 0 auto clamp(0.8rem, 2.2vh, 1.2rem);
  background: url("jasmine-sprite.png") center / contain no-repeat;
  filter: sepia(0.2) saturate(0.8) drop-shadow(0 8px 20px rgba(196, 154, 85, 0.24));
}

.intro-prelude {
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  font-size: clamp(0.76rem, 2.5vw, 0.94rem);
}

.intro h1 {
  margin: 0;
  color: var(--cream);
  font-family: var(--ruqaa);
  font-size: clamp(5.9rem, 22vw, 10.5rem);
  font-weight: 700;
  line-height: 0.76;
  text-shadow: 0 22px 55px rgba(0, 0, 0, 0.38), 0 0 34px rgba(196, 154, 85, 0.08);
}

.intro h1 span {
  display: block;
  color: var(--gold-light);
  font-size: 0.48em;
  line-height: 1.2;
}

.intro-groom {
  margin: 1.25rem 0 0.35rem;
  color: var(--white);
  font-family: var(--ruqaa);
  font-size: clamp(2.7rem, 9vw, 4.2rem);
  line-height: 1.05;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.intro-whisper {
  margin: 0 0 1.55rem;
  color: rgba(232, 220, 200, 0.76);
  font-size: clamp(0.82rem, 2.8vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.enter-button,
.primary-button,
.share-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.enter-button {
  position: relative;
  overflow: hidden;
  color: var(--chocolate);
  background: rgba(232, 220, 200, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.enter-button::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -40%;
  width: 26%;
  height: 260%;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(25deg);
  animation: button-light 3.8s 2.2s infinite;
}

.intro-farewell {
  position: absolute;
  z-index: 4;
  margin: 0;
  opacity: 0;
  color: var(--cream);
  font-family: var(--ruqaa);
  font-size: clamp(3.8rem, 17vw, 8rem);
  filter: blur(14px);
  transform: scale(0.9);
  transition: opacity 0.5s ease, filter 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.intro.is-opening .intro-scene {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(-28px) scale(0.96);
}

.intro.is-opening .intro-image {
  filter: blur(5px) brightness(0.62);
  transform: scale(1.1) translateY(-1%);
}

.intro.is-opening .intro-farewell {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.intro.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.intro[hidden] { display: none; }

.jasmine-drift {
  position: fixed;
  z-index: 8;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}

body:not(.intro-open) .jasmine-drift { opacity: 1; }

.jasmine-petal {
  --size: 54px;
  --start: 10vw;
  --sway: 9vw;
  --duration: 17s;
  --delay: 0s;
  --turn: 320deg;
  position: absolute;
  top: -22vh;
  left: var(--start);
  width: var(--size);
  aspect-ratio: 1;
  opacity: 0;
  background: url("jasmine-sprite.png") center / contain no-repeat;
  filter: drop-shadow(0 7px 8px rgba(59, 36, 24, 0.16));
  animation: jasmine-fall var(--duration) linear var(--delay) infinite;
  will-change: transform, opacity;
}

.petal-one { --start: 7vw; --size: 48px; --duration: 18s; --delay: -4s; --sway: 12vw; --turn: 280deg; }
.petal-two { --start: 24vw; --size: 34px; --duration: 15s; --delay: -11s; --sway: -8vw; --turn: -240deg; }
.petal-three { --start: 42vw; --size: 58px; --duration: 22s; --delay: -8s; --sway: 7vw; --turn: 360deg; }
.petal-four { --start: 61vw; --size: 40px; --duration: 16s; --delay: -2s; --sway: -10vw; --turn: -310deg; }
.petal-five { --start: 78vw; --size: 52px; --duration: 20s; --delay: -14s; --sway: 9vw; --turn: 260deg; }
.petal-six { --start: 91vw; --size: 31px; --duration: 14s; --delay: -7s; --sway: -7vw; --turn: -300deg; }
.petal-seven { --start: 53vw; --size: 28px; --duration: 19s; --delay: -16s; --sway: 13vw; --turn: 390deg; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  min-height: 100svh;
  padding: clamp(5rem, 8vw, 8rem) max(6vw, 2rem) 0;
  overflow: hidden;
  color: var(--cream);
  background: radial-gradient(ellipse at 27% 45%, rgba(196, 154, 85, 0.13), transparent 34%), linear-gradient(135deg, #171311 0%, #3b2418 62%, #271810 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  width: 100%;
  min-width: 0;
  max-width: 590px;
  padding-bottom: 4rem;
  text-align: right;
}

.verse {
  max-width: 640px;
  margin: 0 0 2.5rem;
  color: rgba(246, 239, 228, 0.98);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.85;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.42);
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.hero-copy h2 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(6.3rem, 11vw, 10.4rem);
  font-weight: 700;
  line-height: 0.72;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.hero-copy h2 span {
  display: block;
  margin-top: 0.42em;
  color: var(--cream);
  font-size: 0.54em;
  line-height: 1;
}

.hero-message {
  max-width: 560px;
  margin: 2rem 0;
  color: rgba(232, 220, 200, 0.82);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 2.15;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.text-link {
  min-height: 48px;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(196, 154, 85, 0.55);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  isolation: isolate;
  align-self: end;
  justify-self: center;
  width: min(104%, 650px);
  height: min(80svh, 780px);
  min-height: 600px;
  overflow: hidden;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 5% -10% -3%;
  opacity: 0.62;
  background:
    linear-gradient(to bottom, rgba(23, 19, 17, 0.18), rgba(23, 19, 17, 0.08) 48%, rgba(23, 19, 17, 0.78)),
    url("intro-bg-v2.png") center 70% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  filter: saturate(0.8) contrast(1.08);
  transform: scale(1.04);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 8% -12% -2%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(196, 154, 85, 0.36), transparent 43%),
    radial-gradient(ellipse at 50% 90%, rgba(168, 120, 53, 0.2), transparent 45%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-portrait img {
  position: absolute;
  z-index: 3;
  inset: 0 50% auto auto;
  width: auto;
  height: min(112svh, 1080px);
  min-height: 980px;
  max-width: 116%;
  object-fit: contain;
  transform: translateX(50%);
  transform-origin: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.88) 52%, transparent 59%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.88) 52%, transparent 59%);
  filter:
    drop-shadow(0 34px 48px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 22px rgba(196, 154, 85, 0.13));
}

.portrait-light {
  position: absolute;
  z-index: 2;
  inset: 10% 2% 4%;
  background: radial-gradient(ellipse at 50% 38%, rgba(196, 154, 85, 0.38), rgba(168, 120, 53, 0.08) 46%, transparent 72%);
  filter: blur(22px);
}

.hero-portrait p {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 2.2rem;
  margin: 0;
  color: rgba(232, 220, 200, 0.72);
  font-family: var(--display);
  font-size: 1.05rem;
}

.section {
  position: relative;
  padding: clamp(5.5rem, 12vw, 9rem) 1.25rem;
}

.welcome {
  overflow: hidden;
  background: linear-gradient(150deg, #f6efe4, var(--cream));
  text-align: center;
}

.welcome-inner {
  width: min(100%, 800px);
  margin: 0 auto;
}

.welcome h2,
.contact h2 {
  margin: 0.35rem 0 1.5rem;
  color: var(--chocolate);
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 6.8rem);
  line-height: 1.06;
}

.welcome-copy {
  margin: 0 auto;
  color: var(--brown);
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.4vw, 2.3rem);
  line-height: 1.95;
}

.signature {
  margin: 3rem 0 0;
  color: rgba(90, 53, 30, 0.78);
  font-size: 0.86rem;
}

.signature strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--chocolate);
  font-family: var(--display);
  font-size: 1.8rem;
}

.details {
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 0, rgba(196, 154, 85, 0.09), transparent 34%),
    linear-gradient(145deg, #171311, #352116 72%, #24160f);
}

.details-heading {
  width: min(100%, 760px);
  margin: 0 auto clamp(2.8rem, 6vw, 4.2rem);
  text-align: center;
}

.details-heading h2 {
  margin: 0.2rem 0 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 5.7rem);
  font-weight: 700;
  line-height: 1.1;
}

.details-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  width: min(100%, 980px);
  margin: 0 auto;
  border-block: 1px solid rgba(196, 154, 85, 0.22);
}

.date-card,
.location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: clamp(2.8rem, 6vw, 4.5rem);
  text-align: center;
}

.location-card { border-inline-start: 1px solid rgba(196, 154, 85, 0.22); }

.date-weekday {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
}

.date-main {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.hijri-date {
  margin: 0.4rem 0 0;
  color: rgba(232, 220, 200, 0.72);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.dinner-note {
  margin: 2rem 0 0;
  padding-top: 1.6rem;
  color: rgba(232, 220, 200, 0.94);
  border-top: 1px solid rgba(196, 154, 85, 0.18);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
}

.location-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.location-content h3 {
  margin: 0.2rem 0 0.8rem;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.location-content h3 span {
  display: block;
  margin-top: 0.38rem;
  color: var(--gold-light);
  font-size: 0.55em;
}

.location-content > p:not(.section-kicker) {
  max-width: 390px;
  margin: 0 0 1.8rem;
  color: rgba(232, 220, 200, 0.7);
  font-size: 0.95rem;
  line-height: 1.95;
}

.primary-button {
  align-self: center;
  width: min(100%, 360px);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(232, 220, 200, 0.72);
}

.primary-button svg,
.share-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact {
  background: linear-gradient(160deg, var(--paper), #eadcc7);
  text-align: center;
}

.contact-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.contact h2 { font-size: clamp(3.2rem, 8vw, 5.7rem); }

.contact-intro {
  max-width: 650px;
  margin: 0 auto 2.8rem;
  color: var(--brown);
}

.phone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
  width: min(100%, 740px);
  margin: 0 auto 3rem;
}

.phone-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--chocolate);
  border-bottom: 1px solid rgba(90, 53, 30, 0.28);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.phone-list a:hover,
.phone-list a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.phone-label {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
}

.phone-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1rem, 2.5vw, 1.13rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.share-button {
  color: var(--cream);
  background: var(--chocolate);
  border: 1px solid var(--chocolate);
}

.share-status {
  min-height: 1.6rem;
  margin: 0.7rem 0 0;
  color: var(--brown);
  font-size: 0.78rem;
}

footer {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 4rem 1.25rem max(4rem, env(safe-area-inset-bottom));
  color: var(--cream);
  background: var(--ink);
  text-align: center;
}

footer p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 6vw, 3.5rem);
}

footer span {
  color: rgba(232, 220, 200, 0.55);
  font-size: 0.78rem;
}

.enter-button:hover,
.enter-button:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.share-button:hover,
.share-button:focus-visible,
.text-link:hover,
.text-link:focus-visible { transform: translateY(-2px); }

.enter-button:focus-visible,
.primary-button:focus-visible,
.share-button:focus-visible,
.text-link:focus-visible,
.phone-list a:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes intro-text {
  from { opacity: 0; transform: translateY(24px); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes intro-title {
  from { opacity: 0; transform: translateY(38px) scale(0.94); filter: blur(12px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes intro-bloom {
  from { opacity: 0; transform: translateY(15px) rotate(-12deg) scale(0.55); filter: blur(8px); }
  to { opacity: 0.78; transform: translateY(0) rotate(0) scale(1); filter: blur(0); }
}

@keyframes button-light {
  0%, 58% { transform: translateX(-520%) rotate(25deg); }
  78%, 100% { transform: translateX(800%) rotate(25deg); }
}

@keyframes jasmine-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -12vh, 0) rotate(0deg) scale(0.78);
  }
  12% { opacity: 0.34; }
  52% { transform: translate3d(var(--sway), 58vh, 0) rotate(170deg) scale(1); }
  88% { opacity: 0.26; }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--sway) * -0.45), 132vh, 0) rotate(var(--turn)) scale(0.82);
  }
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6.2rem 1.25rem 0;
    text-align: center;
  }

  .hero-copy {
    max-width: 660px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .verse, .hero-message { margin-inline: auto; }
  .hero-copy h2 { font-size: clamp(6.2rem, 24vw, 9.2rem); }

  .hero-portrait {
    width: min(110%, 620px);
    height: min(72svh, 680px);
    min-height: 560px;
    margin-top: 3.5rem;
  }

  .hero-portrait::before { inset: 1% -17% -3%; }
  .hero-portrait::after { inset: 4% -20% -2%; }
  .hero-portrait img {
    height: min(126svh, 1050px);
    min-height: 950px;
    max-height: 1050px;
    max-width: 120%;
    transform: translateX(50%);
  }
  .hero-portrait p { right: 50%; transform: translateX(50%); }

  .details-inner {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(100%, 620px);
  }

  .date-card,
  .location-card {
    width: 100%;
    min-height: auto;
    margin: 0 auto;
  }

  .location-card {
    border-inline-start: 0;
    border-top: 1px solid rgba(196, 154, 85, 0.22);
  }
}

@media (max-width: 620px) {
  .intro { padding-inline: 1.1rem; }
  .intro-image { background-position: center center; }
  .intro-bismillah { margin-bottom: clamp(0.9rem, 2.5vh, 1.4rem); }
  .hero { padding-top: 5.2rem; }

  .verse {
    max-width: 350px;
    font-size: clamp(1.3rem, 5.8vw, 1.55rem);
    line-height: 1.9;
  }

  .hero-message {
    width: 100%;
    max-width: 350px;
    padding-inline: 0.2rem;
    font-size: 1rem;
    line-height: 2;
  }

  .hero-portrait {
    height: 72svh;
    min-height: 560px;
    max-height: 680px;
  }

  .hero-portrait img {
    height: 126svh;
    min-height: 950px;
    max-height: 1050px;
  }

  .hero-portrait::before { background-position: center 68%; }

  .details { padding-inline: 1rem; }
  .details-heading { margin-bottom: 2.5rem; }

  .date-card,
  .location-card { padding: 3rem 0.4rem; }

  .date-main { font-size: clamp(2.75rem, 13vw, 3.6rem); }
  .location-content h3 { font-size: clamp(3.5rem, 16vw, 4.3rem); }

  .primary-button { width: 100%; }

  .jasmine-petal { --size: 38px; }
  .petal-one { --size: 40px; }
  .petal-three { --size: 44px; }
  .petal-five { --size: 42px; }
  .petal-six,
  .petal-seven { display: none; }

  .phone-list {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  footer { min-height: 230px; }
}

@media (max-width: 380px) {
  .intro h1 { font-size: 5.55rem; }
  .intro-groom { font-size: 2.55rem; }
  .intro-whisper { margin-bottom: 1.35rem; }
  .hero-copy h2 { font-size: 5.8rem; }
  .hero-message { max-width: 310px; font-size: 0.96rem; }
  .verse { max-width: 315px; font-size: 1.22rem; }
  .date-main { font-size: 2.55rem; }

  .primary-button {
    padding-inline: 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  .intro-scene { transform: scale(0.82); }
  .intro-bismillah { margin-bottom: 1rem; }
  .hero { min-height: 780px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .jasmine-drift { display: none; }

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