:root {
  --ivory: #fff6e5;
  --gold: #e9bd72;
  --ink: #25120f;
  --wine: #732b31;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  color: var(--ivory);
  background: #20100d;
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  min-height: 100svh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body.invitation-closed { overflow: hidden; }
.details-preview .hero { display: none; }

.entry-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  color: #fff4dd;
  background: rgba(31, 13, 12, .22);
  backdrop-filter: blur(22px) brightness(.62) saturate(.72);
  -webkit-backdrop-filter: blur(22px) brightness(.62) saturate(.72);
  transition: opacity .35s ease, visibility .35s ease;
}
.entry-screen.entered { opacity: 0; visibility: hidden; }
.entry-content { width: min(520px, 100%); text-align: center; text-shadow: 0 3px 22px rgba(18,5,5,.5); }
.entry-content p { margin: 0 0 20px; font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.entry-content strong { display: block; font: 500 clamp(52px, 9vw, 84px)/.9 "Cormorant Garamond",serif; letter-spacing: -.045em; }
.entry-content strong i { color: var(--gold); font-weight: 400; }
.entry-content > span { display: block; margin: 24px 0 32px; color: #f5d8a8; font: italic 18px "Cormorant Garamond",serif; letter-spacing: .06em; }
.entry-content button { display: flex; align-items: center; gap: 22px; margin: 0 auto; padding: 8px 9px 8px 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: var(--ink); background: rgba(255,247,232,.94); font: 600 10px "Manrope",sans-serif; letter-spacing: .17em; text-transform: uppercase; cursor: pointer; }
.entry-content button b { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--wine); font-size: 16px; }
.entry-content small { display: block; margin-top: 13px; color: rgba(255,244,221,.68); font: italic 13px "Cormorant Garamond",serif; }

.scene, .shade, .grain { position: fixed; inset: 0; pointer-events: none; }
.scene {
  z-index: -3;
  background: url("wedding_png.png") center center / cover no-repeat;
  transform: translate3d(var(--scene-x, 0), var(--scene-y, 0), 0) scale(var(--scene-scale, 1.025));
  transition: transform .4s ease-out;
}
.shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(20, 8, 8, .08) 0 20%, rgba(15, 7, 6, .53) 88%),
    linear-gradient(180deg, rgba(19, 8, 8, .32), rgba(19, 8, 8, .06) 45%, rgba(19, 8, 8, .62));
}
.grain {
  z-index: 10;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.petal-layer, .firefly-layer { position: fixed; inset: 0; z-index: 12; pointer-events: none; overflow: hidden; }
.star-layer { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.star { position: absolute; width: var(--star-size, 2px); height: var(--star-size, 2px); border-radius: 50%; background: #fff0c7; box-shadow: 0 0 4px 1px rgba(255,220,151,.5); opacity: .16; animation: starTwinkle var(--twinkle-time, 4s) ease-in-out infinite; animation-delay: var(--twinkle-delay, 0s); }
.star.cross::before, .star.cross::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(255,237,194,.72); }
.star.cross::before { width: 7px; height: 1px; }.star.cross::after { width: 1px; height: 7px; }
@keyframes starTwinkle { 0%, 100% { opacity: .1; transform: scale(.75); } 48% { opacity: var(--star-peak, .65); transform: scale(1); } 58% { opacity: .22; transform: scale(.82); } }
.petal { position: absolute; top: -30px; width: 11px; height: 8px; border-radius: 80% 0 80% 0; background: #ee8c91; opacity: .8; animation: petalFall var(--fall, 7s) linear forwards; }
@keyframes petalFall { to { transform: translate(var(--drift, 80px), 110vh) rotate(760deg); opacity: .15; } }
.firefly { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffd980; box-shadow: 0 0 10px 3px rgba(255,196,77,.65); animation: fireflyFloat var(--float, 6s) ease-in-out infinite alternate; }
@keyframes fireflyFloat { to { transform: translate(35px,-42px); opacity: .25; } }
.scene-interactions { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.city-hotspot, .bulb, .story-spot { position: absolute; pointer-events: auto; cursor: pointer; }
.city-hotspot { width: 118px; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; color: white; background: none; text-shadow: 0 2px 8px #220b08; opacity: .84; transition: transform .25s, opacity .25s; }
.city-hotspot:hover { opacity: 1; transform: scale(1.08); }
.hotspot-ring { position: absolute; inset: 20px; border: 1px solid rgba(255,220,159,.85); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,215,147,.08); animation: ringPulse 2.5s ease-out infinite; }
.city-hotspot b { position: relative; margin-top: 118px; opacity: 0; transform: translateY(4px); font: 500 17px "Cormorant Garamond", serif; transition: opacity .25s, transform .25s; }
.city-hotspot small { position: relative; opacity: 0; transform: translateY(4px); white-space: nowrap; font: 600 7px "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; transition: opacity .25s, transform .25s; }
.city-hotspot:hover b, .city-hotspot:hover small, .city-hotspot:focus-visible b, .city-hotspot:focus-visible small, .city-hotspot.active b, .city-hotspot.active small { opacity: 1; transform: translateY(0); }
.city-hotspot { left: var(--hotspot-left); top: var(--hotspot-top); }
@keyframes ringPulse { 50% { box-shadow: 0 0 0 13px rgba(255,215,147,0); } }
.bulb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #ec9d42; box-shadow: 0 0 11px 3px #f1a53699; transition: box-shadow .2s, transform .2s; }
.bulb:hover, .bulb.lit { transform: scale(1.35); box-shadow: 0 0 24px 10px #ffd06c; }
.music-playing .bulb { animation: lightDance .65s ease-in-out infinite alternate; }
.music-playing .bulb:nth-of-type(even) { animation-delay: -.33s; }
@keyframes lightDance { to { transform: scale(1.25); box-shadow: 0 0 20px 7px #ffc859; } }
.bulb-one { left: 6%; top: 13%; }.bulb-two { left: 14%; top: 8%; }.bulb-three { left: 21%; top: 5%; }.bulb-four { right: 13%; top: 8%; }
@keyframes lightBreathe { 0%, 100% { opacity: .48; transform: translate(-50%,-50%) scale(.78); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.18); } }
@keyframes heartPeek { 0%, 70%, 89%, 100% { opacity: .24; transform: scale(.78); } 77%, 83% { opacity: .78; transform: scale(.98); } }
@keyframes haloInvite { 0%, 68%, 91%, 100% { box-shadow: 0 0 0 0 rgba(255,199,104,0); } 76% { box-shadow: 0 0 0 4px rgba(255,207,121,.28), 0 0 16px 6px rgba(255,174,54,.2); } 84% { box-shadow: 0 0 0 10px rgba(255,207,121,0), 0 0 22px 9px rgba(255,174,54,0); } }
@keyframes foundHeart { to { transform: scale(1.18); filter: drop-shadow(0 0 9px #ffd486); } }
.story-spot { width: 35px; height: 35px; border: 1px dashed transparent; border-radius: 50%; background: transparent; transition: border-color .25s, background .25s; }
.story-spot:hover { border-color: #ffd28aaa; background: #ffd28a22; }
.flowers-spot { left: 7%; top: 52%; }.poster-spot { right: 5%; top: 57%; }.chai-spot { left: 63%; bottom: 8%; }
.story-toast { position: fixed; z-index: 25; left: 50%; bottom: 76px; width: min(360px, calc(100% - 40px)); padding: 13px 18px; opacity: 0; transform: translate(-50%, 12px); border: 1px solid #ffe5b85c; border-radius: 2px; color: #ffe9c5; background: #341512e8; box-shadow: 0 12px 30px #16080566; text-align: center; font: italic 17px "Cormorant Garamond",serif; pointer-events: none; transition: .35s; }
.story-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cursor-spark { position: fixed; z-index: 30; width: 5px; height: 5px; border-radius: 50%; background: #ffd486; box-shadow: 0 0 8px #ffbd65; pointer-events: none; animation: sparkFade .65s forwards; }
@keyframes sparkFade { to { transform: scale(0) translateY(15px); opacity: 0; } }

main { position: relative; z-index: 2; width: 100%; scroll-behavior: smooth; scroll-snap-type: y proximity; }
.hero {
  height: 100svh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 42px;
  text-align: center;
  text-shadow: 0 2px 20px rgba(26, 8, 7, .75);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.bismillah-lockup {
  width: clamp(210px, 26vw, 340px);
  margin: 0 0 18px;
}
.bismillah-lockup img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 12px rgba(30, 8, 5, .48));
}
.eyebrow {
  margin: 0;
  color: #ffe6bd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.ornament { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; color: var(--gold); }
.ornament span { width: 52px; height: 1px; background: currentColor; opacity: .75; }
.ornament b { font-size: 9px; }
h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 42px);
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(64px, 10vw, 132px);
  letter-spacing: -.055em;
  line-height: .75;
}
h1 em { color: var(--gold); font-size: .55em; font-weight: 400; }
.invitation { margin: 30px 0 26px; font-family: "Cormorant Garamond", serif; font-size: clamp(18px, 2.2vw, 25px); font-style: italic; }
.personal-greeting { margin: 0 0 13px; padding: 7px 16px; border: 1px solid rgba(255,226,180,.45); border-radius: 999px; color: #ffe4b5; background: rgba(61,25,20,.35); font: italic 17px "Cormorant Garamond",serif; backdrop-filter: blur(8px); }
.date-lockup { display: flex; align-items: center; gap: 19px; }
.date-lockup span { min-width: 78px; padding-block: 8px; border-block: 1px solid rgba(255, 233, 195, .65); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.date-lockup strong { color: #ffe7bd; font-family: "Cormorant Garamond", serif; font-size: 56px; font-weight: 500; line-height: 1; }
.location { margin: 16px 0 29px; color: #fff1d7; font-size: 14px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.location span { color: var(--gold); font-size: 17px; }
.hero-events { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 64px); margin: 2px 0 27px; }
.hero-event { min-width: 180px; }
.hero-event > span { display: block; margin-bottom: 5px; color: rgba(255,235,201,.72); font-size: 8px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.hero-event strong { display: block; color: #ffe7bd; font: 500 clamp(42px, 5vw, 60px)/.9 "Cormorant Garamond",serif; }
.hero-event strong i { margin-right: 6px; font-size: .43em; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.hero-event small { display: block; margin-top: 7px; color: #fff1d7; font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.event-divider { color: var(--gold); font-size: 10px; }
.rsvp-button, .submit-button {
  border: 1px solid rgba(255, 236, 204, .85);
  border-radius: 999px;
  padding: 7px 8px 7px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  background: rgba(255, 246, 229, .96);
  font: 600 11px "Manrope", sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(23, 8, 6, .27);
  transition: transform .25s, background .25s;
}
.rsvp-button { color: #fff2da; background: rgba(43,16,13,.12); border-color: rgba(255,223,170,.76); box-shadow: 0 7px 24px rgba(23,8,6,.16); text-shadow: 0 2px 10px rgba(25,7,6,.65); backdrop-filter: blur(3px); }
.rsvp-button i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,224,176,.52); border-radius: 50%; color: var(--ivory); background: rgba(112,38,44,.72); font-size: 17px; font-style: normal; }
.rsvp-button:hover { transform: translateY(-3px); background: rgba(73,27,22,.28); }
.scroll-note { margin: auto 0 0; padding-top: 36px; color: inherit; font: italic 14px "Cormorant Garamond", serif; text-decoration: none; opacity: .8; transition: opacity .25s, transform .25s; }
.scroll-note span { display: inline-block; margin-left: 7px; color: var(--gold); transition: transform .25s; }
.scroll-note:hover { opacity: 1; transform: translateY(-2px); }
.scroll-note:hover span { transform: translateY(3px); }
.monument-hint { margin: 10px 0 0; color: rgba(255,239,210,.62); font: 600 8px "Manrope",sans-serif; letter-spacing: .18em; text-transform: uppercase; }

.music-player {
  position: fixed;
  z-index: 20;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: white;
  background: rgba(36, 15, 13, .42);
  backdrop-filter: blur(14px);
}
.music-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: white;
  background: none;
  font: 500 10px "Manrope", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.music-bars { width: 25px; height: 25px; display: flex; justify-content: center; align-items: center; gap: 2px; border-radius: 50%; background: var(--wine); }
.music-bars i { width: 2px; height: 8px; background: white; border-radius: 2px; }
.music-button[aria-pressed="true"] .music-bars i { animation: bounce .7s ease-in-out infinite alternate; }
.music-button[aria-pressed="true"] .music-bars i:nth-child(2) { animation-delay: -.35s; }
.music-button[aria-pressed="true"] .music-bars i:nth-child(3) { animation-delay: -.15s; }
.volume-divider { width: 1px; height: 22px; background: rgba(255,255,255,.2); }
.mute-button { height: 24px; padding: 0 2px; border: 0; color: #fff0d5; background: none; font: 600 8px "Manrope",sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.volume-slider { width: 74px; height: 3px; accent-color: #e7b86e; cursor: pointer; }
@keyframes bounce { to { height: 15px; } }

.details { position: relative; height: 100svh; min-height: 100svh; display: grid; place-items: center; padding: 70px 24px; scroll-snap-align: start; }
.screen-back { display: none; position: absolute; z-index: 8; top: 24px; left: 24px; padding: 9px 13px; border: 1px solid rgba(255,228,185,.28); border-radius: 999px; color: rgba(255,241,216,.82); background: rgba(42,16,13,.24); backdrop-filter: blur(8px); font: 600 9px "Manrope",sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color .25s, background .25s, transform .25s; }
.screen-back span { margin-right: 6px; color: var(--gold); font-size: 13px; }
.screen-back:hover { color: #fff5e4; background: rgba(68,26,21,.42); transform: translateX(-2px); }
.details-card {
  position: relative;
  isolation: isolate;
  width: min(570px, 100%);
  padding: clamp(38px, 6vw, 70px);
  text-align: center;
  background: rgba(47, 20, 16, .68);
  border: 1px solid rgba(255, 224, 177, .28);
  border-radius: 3px;
  backdrop-filter: blur(15px) saturate(.85);
  box-shadow: 0 25px 80px rgba(18, 7, 5, .35);
}
.details-card > * { position: relative; z-index: 1; }
.details-card h2, .rsvp-dialog h2 { margin: 20px 0; font: 500 clamp(42px, 6vw, 64px)/.9 "Cormorant Garamond", serif; }
.details-card h2 i { color: var(--gold); font-weight: 600; }
.details-copy { max-width: 420px; margin: 0 auto; color: rgba(255,246,229,.78); font: 400 17px/1.7 "Cormorant Garamond", serif; }
.event-dates { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 24px auto 0; }
.event-dates p { margin: 0; }
.event-dates span, .event-dates small { display: block; color: rgba(255,239,213,.58); font: 600 8px "Manrope",sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.event-dates strong { display: block; margin: 3px 0 2px; color: #ffe0ac; font: 500 21px "Cormorant Garamond",serif; }
.event-dates i { color: rgba(231,184,110,.68); font-size: 9px; }
.countdown-whisper { margin: 27px 0 -25px; color: #edc38a; font: italic 15px "Cormorant Garamond",serif; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 40px 0; }
.countdown div { padding: 13px 5px; border-inline-end: 1px solid rgba(255,255,255,.16); }
.countdown div:last-child { border: 0; }
.countdown strong { display: block; color: #ffe0ac; font: 500 32px "Cormorant Garamond", serif; }
.countdown span { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.text-button { padding: 5px 0; border: 0; border-bottom: 1px solid var(--gold); color: #ffe8c3; background: none; font: 500 11px "Manrope", sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.text-button span { margin-left: 8px; color: var(--gold); }
.action-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 25px; }
.action-row a { text-decoration: none; }
.direction-links { display: contents; }
.mobile-guide-button { display: none; }
.card-back { display: none; margin-top: 25px; color: rgba(255,239,213,.66); font: italic 14px "Cormorant Garamond",serif; text-decoration: none; transition: color .25s, transform .25s; }
.card-back span { display: inline-block; margin-left: 7px; color: var(--gold); transition: transform .25s; }
.card-back:hover { color: #fff4df; transform: translateY(-2px); }
.card-back:hover span { transform: translateY(-3px); }

.rsvp-dialog, .city-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: clamp(34px, 6vw, 62px);
  color: var(--ink);
  background: #fff7e9;
  border: 1px solid #e0c69e;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(18, 6, 5, .55);
}
.rsvp-dialog::backdrop, .city-dialog::backdrop { background: rgba(22, 8, 7, .72); backdrop-filter: blur(7px); }
.rsvp-dialog .eyebrow, .city-dialog .eyebrow { color: var(--wine); }
.rsvp-dialog h2, .city-dialog h2 { font-size: clamp(44px, 8vw, 65px); }
.form-intro { margin: -8px 0 28px; color: #6f5850; font-family: "Cormorant Garamond", serif; font-size: 18px; }
.close-button { position: absolute; top: 14px; right: 18px; border: 0; color: #6e4b42; background: none; font: 300 28px sans-serif; cursor: pointer; }
.rsvp-dialog label { display: block; margin: 20px 0 8px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rsvp-dialog label span { color: #9e8277; text-transform: none; }
input, select, textarea { width: 100%; padding: 13px 2px; border: 0; border-bottom: 1px solid #bca99a; border-radius: 0; color: var(--ink); background: transparent; font: 16px "Cormorant Garamond", serif; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--wine); }
fieldset { margin: 0; padding: 0; border: 0; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice { margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: 13px 8px; border: 1px solid #cfbba8; color: #73574e !important; text-align: center; text-transform: none !important; transition: .2s; }
.choice input:checked + span { color: white !important; background: var(--wine); border-color: var(--wine); }
.submit-button { width: 100%; justify-content: center; margin-top: 28px; padding: 17px; color: white; background: var(--wine); border: 0; border-radius: 2px; }
.submit-button { text-decoration: none; }
.wish-button { display: block; margin: 14px auto 0; border: 0; border-bottom: 1px solid #8d6358; padding: 4px 0; color: #70453d; background: none; font: 600 9px "Manrope",sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.wish-divider { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: #a1887c; font: italic 14px "Cormorant Garamond",serif; }
.wish-divider::before, .wish-divider::after { content: ""; height: 1px; flex: 1; background: #d8c6b7; }
.wish-button { margin-top: 18px; color: var(--wine); }
.success { padding: 50px 10px; text-align: center; }
.success > span { color: var(--gold); font-size: 24px; }
.success p { color: #6f5850; font: 18px/1.5 "Cormorant Garamond", serif; }
.success .text-button { margin-top: 20px; color: var(--wine); border-color: var(--wine); }

.city-dialog { width: min(700px, calc(100% - 28px)); }
.city-dialog h2 { margin-bottom: 12px; }
.city-intro { margin: 0 0 24px; color: #72584f; font: 18px/1.45 "Cormorant Garamond",serif; }
.guide-tabs { display: flex; gap: 8px; padding: 5px; background: #eadbc9; }
.guide-tabs button { flex: 1; padding: 11px; border: 0; color: #74584e; background: transparent; font: 600 9px "Manrope",sans-serif; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.guide-tabs button.active { color: white; background: var(--wine); }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.guide-item { position: relative; padding: 18px; color: var(--ink); background: #f7ead7; border: 1px solid #e0cbb0; text-decoration: none; transition: transform .2s, border-color .2s; }
.guide-item:hover { transform: translateY(-2px); border-color: #a36e5d; }
.guide-item small { color: var(--wine); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.guide-item strong { display: block; margin: 6px 0; font: 500 22px "Cormorant Garamond",serif; }
.guide-item span { color: #806a60; font: 14px/1.4 "Cormorant Garamond",serif; }
.guide-item i { position: absolute; right: 12px; top: 12px; color: #b27d53; font-style: normal; }
.guide-note { margin: 16px 0 0; color: #9a8176; font-size: 9px; letter-spacing: .08em; text-align: center; }

.reveal { opacity: 0; transform: translateY(12px); animation: reveal .9s cubic-bezier(.22,.7,.28,1) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }.reveal:nth-child(3) { animation-delay: .22s; }.reveal:nth-child(4) { animation-delay: .32s; }.reveal:nth-child(5) { animation-delay: .42s; }.reveal:nth-child(6) { animation-delay: .5s; }.reveal:nth-child(7) { animation-delay: .58s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
  html { scroll-snap-type: none; }
  main { scroll-snap-type: none; }
  .scene {
    background-image: url("wedding_mobile.png");
    background-position: center center;
    transform: translate3d(0, var(--mobile-scene-y, 0), 0) scale(var(--scene-scale, 1.01));
    transition: none;
    will-change: transform;
  }
  .shade {
    background:
      radial-gradient(circle at 50% 38%, rgba(20, 8, 8, .04) 0 22%, rgba(15, 7, 6, .44) 88%),
      linear-gradient(180deg, rgba(19, 8, 8, .38), rgba(19, 8, 8, .12) 38%, rgba(19, 8, 8, .72));
  }
  .grain { opacity: .07; }
  .hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: calc(100svh + 56px) 20px max(48px, env(safe-area-inset-bottom));
    overflow: visible;
  }
  .hero::before {
    content: "↓";
    position: absolute;
    left: 50%;
    top: calc(100svh - 82px);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    border: 1px solid rgba(255,232,196,.42);
    border-radius: 50%;
    color: rgba(255,241,216,.82);
    background: rgba(39, 15, 12, .18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font: 18px/1 "Cormorant Garamond",serif;
    text-shadow: 0 2px 12px rgba(23, 8, 6, .62);
    animation: scrollCue 2.4s ease-in-out infinite;
  }
  .bismillah-lockup {
    width: min(78vw, 290px);
    margin: 0 0 18px;
  }
  .hero .eyebrow {
    max-width: 300px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 9px;
    letter-spacing: .28em;
    line-height: 1.7;
    background: rgba(42,16,13,.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .ornament { margin: 15px 0 10px; gap: 8px; }
  .ornament span { width: 43px; }
  h1 { width: 100%; flex-direction: column; gap: 2px; font-size: clamp(56px, 18.2vw, 76px); line-height: .74; }
  h1 span { display: block; max-width: 100%; white-space: nowrap; }
  h1 em { margin: 2px 0 0; font-size: .38em; }
  .invitation { max-width: 280px; margin: 20px 0 19px; font-size: 18px; line-height: 1.24; }
  .hero-events { width: min(330px, 100%); gap: 8px; margin: 0 0 21px; }
  .hero-event { min-width: 0; flex: 1; padding: 8px 5px; border-radius: 10px; background: rgba(42,16,13,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .hero-event > span { margin-bottom: 4px; font-size: 7px; letter-spacing: .18em; }
  .hero-event strong { font-size: clamp(31px, 8.8vw, 38px); }
  .hero-event strong i { display: block; margin: 0 0 3px; font-size: 8px; letter-spacing: .12em; }
  .hero-event small { margin-top: 5px; font-size: 7px; letter-spacing: .11em; line-height: 1.35; }
  .event-divider { align-self: center; font-size: 8px; opacity: .82; }
  .rsvp-button {
    width: min(292px, 100%);
    justify-content: space-between;
    padding: 6px 7px 6px 21px;
    gap: 14px;
    font-size: 10px;
    letter-spacing: .14em;
    background: rgba(43,16,13,.32);
    backdrop-filter: blur(8px);
  }
  .rsvp-button i { width: 34px; height: 34px; flex: 0 0 34px; }
  .scroll-note { margin-top: 22px; padding-top: 0; font-size: 13px; opacity: .76; }
  .monument-hint { display: none; }
  .music-player {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    left: auto;
    width: auto;
    max-width: none;
    padding: 7px;
    gap: 0;
    border-color: rgba(255,255,255,.2);
    background: rgba(36, 15, 13, .34);
  }
  .music-button > span:last-child { display: none; }
  .music-bars { width: 30px; height: 30px; }
  .volume-divider, .mute-button, .volume-slider { display: none; }
  .rsvp-dialog { padding: 42px 26px 28px; }
  .card-back { display: inline-flex; align-items: center; min-height: 44px; }
  .scene-interactions { position: absolute; inset: 100svh 0 auto; height: 100svh; }
  .city-hotspot, .story-spot { display: none; }
  .city-hotspot { left: var(--hotspot-mobile-left); top: var(--hotspot-mobile-top); }
  .bulb { width: 11px; height: 11px; opacity: .82; box-shadow: 0 0 9px 2px #f1a53680; }
  .bulb-one { left: 11%; top: 18%; }.bulb-two { left: 28%; top: 15%; }.bulb-three { left: 43%; top: 12%; }.bulb-four { right: 24%; top: 13%; }
  .guide-list { grid-template-columns: 1fr; }
  .city-dialog { width: min(360px, calc(100% - 22px)); max-height: calc(100svh - 22px); padding: 38px 18px 20px; }
  .city-dialog h2 { margin: 10px 0; font-size: clamp(36px, 11vw, 44px); line-height: .95; }
  .city-intro { margin-bottom: 18px; font-size: 16px; line-height: 1.38; }
  .guide-tabs { gap: 5px; padding: 4px; }
  .guide-tabs button { padding: 10px 6px; font-size: 8px; letter-spacing: .1em; }
  .guide-list { gap: 8px; margin-top: 11px; }
  .guide-item { padding: 13px 34px 13px 14px; }
  .guide-item strong { margin: 4px 0; font-size: 19px; }
  .guide-item span { font-size: 13px; line-height: 1.3; }
  .guide-note { margin-top: 12px; font-size: 8px; line-height: 1.45; }
  .story-toast { bottom: max(20px, env(safe-area-inset-bottom)); width: min(300px, calc(100% - 32px)); padding: 10px 14px; font-size: 15px; }
  .details { height: auto; min-height: 100svh; padding: 30px 16px 28px; align-items: start; }
  .details-card {
    padding: 30px 18px 24px;
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    text-shadow: 0 2px 16px rgba(22, 7, 5, .72);
  }
  .details-card h2 { margin: 15px 0 16px; font-size: clamp(36px, 11vw, 46px); line-height: .95; }
  .details-copy {
    padding: 11px 14px;
    border: 1px solid rgba(255,226,177,.14);
    border-radius: 12px;
    color: rgba(255,246,229,.92);
    background: rgba(42,16,13,.28);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
  }
  .event-dates { gap: 12px; margin-top: 19px; }
  .event-dates span, .event-dates small { font-size: 7px; letter-spacing: .15em; }
  .event-dates strong { font-size: 18px; }
  .countdown-whisper { margin: 24px 0 -14px; }
  .countdown { margin: 28px 0 25px; gap: 0; }
  .countdown div { padding: 8px 2px; }
  .countdown strong { font-size: 28px; }
  .action-row { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: center; }
  .text-button { max-width: 100%; padding-bottom: 7px; font-size: 10px; letter-spacing: .14em; }
  .mobile-guide-button {
    display: inline-block;
    width: min(290px, 100%);
    padding: 12px 16px;
    border: 1px solid rgba(255,225,178,.42);
    border-radius: 999px;
    background: rgba(38, 14, 11, .2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    text-decoration: none;
  }
}

@keyframes scrollCue {
  0%, 100% { opacity: .55; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 8px); }
}

@media (max-width: 380px) {
  h1 { font-size: 17.8vw; }
  .date-lockup { gap: 11px; }
  .date-lockup span { min-width: 68px; }
  .date-lockup strong { font-size: 50px; }
  .hero { padding-inline: 16px; }
  .invitation { margin-top: 17px; }
  .hero-events { margin-bottom: 18px; }
  .hero-event strong { font-size: 30px; }
  .rsvp-button { width: min(280px, 100%); }
}

@media (min-width: 681px) and (max-height: 760px) {
  .details { padding-block: 58px 12px; }
  .details-card { padding: 24px 22px 20px; }
  .details-card h2 { margin: 12px 0; font-size: 40px; }
  .details-copy { font-size: 15px; line-height: 1.45; }
  .event-dates { margin-top: 13px; }
  .countdown-whisper { margin-top: 15px; }
  .countdown { margin: 31px 0 20px; }
  .countdown div { padding-block: 8px; }
  .card-back { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Guest navigation and readable event details. */
[hidden] { display: none !important; }
html { scroll-snap-type: none; scroll-padding-top: 24px; }
main { scroll-snap-type: none; }
.hero, .details { height: auto; min-height: 100svh; }
.hero { position: relative; gap: 0; overflow: hidden; }
.hero > .scene-interactions { position: absolute; inset: 0; }
.hero #cityHotspots { position: absolute; inset: 0; transform: translate3d(var(--scene-x, 0), var(--scene-y, 0), 0); transition: transform .4s ease-out; }
@media (min-width: 681px) {
  .hero { padding-block: 64px 40px; }
  .hero .city-hotspot { left: var(--door-x); top: var(--door-y); }
  .hero h1 { font-size: clamp(64px, 8.5vw, 110px); line-height: .9; }
  .hero .bismillah-lockup { width: clamp(220px, 24vw, 300px); margin-bottom: 24px; }
  .hero .eyebrow { margin-bottom: 28px; font-size: 10px; letter-spacing: .25em; }
  .hero .invitation { margin: 24px 0 28px; font-size: clamp(19px, 1.9vw, 23px); }
  .hero-events { margin-bottom: 28px; gap: clamp(24px, 4vw, 52px); }
  .hero-event strong { font-size: clamp(40px, 4.3vw, 52px); }
  .hero > .rsvp-button { min-width: 160px; justify-content: space-between; flex-shrink: 0; }
  .hero > .scroll-note { margin-top: 24px; padding-top: 0; }
}
.hero .ornament, .hero .monument-hint { display: none; }
.scene { background-image: url("wedding_png.jpg"); }
.rsvp-button { text-decoration: none; }
.city-hotspot.intro b, .city-hotspot.intro small { opacity: 1; transform: translateY(0); }
.mobile-opening { display: none; }
.city-hotspot b { margin-top: 122px; padding: 3px 12px 0; border-radius: 10px 10px 0 0; background: #291712d9; font-size: 20px; }
.city-hotspot small { padding: 4px 12px 7px; border-radius: 0 0 10px 10px; background: #291712d9; font-size: 10px; letter-spacing: .05em; }
.hero-event > span, .hero-event small { font-size: 11px; line-height: 1.5; }
.hero-event > span { color: #fff0d5; }
.invitation { color: #fff6e5; text-shadow: 0 2px 8px #20100d, 0 0 20px #20100d; }
.details { padding-block: 70px; }
.details-card { width: min(690px, 100%); padding: 36px; background: rgba(37,18,15,.91); }
.details-copy { color: #f9e7cd; font-size: 19px; line-height: 1.55; }
.event-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-items: stretch; gap: 14px; margin-top: 26px; }
.event-info { min-width: 0; padding: 20px 16px; border: 1px solid #e9bd7259; border-radius: 12px; background: #1d0d0aa6; }
.event-info .event-label { font: 600 12px/1.5 "Manrope",sans-serif; letter-spacing: .07em; color: #f3ce93; }
.event-info h3 { margin: 9px 0; font: 500 29px/1.15 "Cormorant Garamond",serif; color: #fff2dc; }
.event-info .event-time { margin: 0 0 10px; font: 600 16px/1.5 "Manrope",sans-serif; }
.event-info .event-venue { font: 400 16px/1.55 "Manrope",sans-serif; color: #f7e5ca; overflow-wrap: anywhere; }
.event-info .text-button { margin-top: 12px; font-size: 12px; letter-spacing: .02em; }
.text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 12px; letter-spacing: .08em; }
.mobile-guide-button { display: inline-flex; padding: 10px 18px; border: 1px solid #e9bd7280; border-radius: 999px; }
.countdown span { font-size: 11px; letter-spacing: .08em; opacity: 1; }
.countdown-whisper { font-size: 18px; }
.monument-hint { font-size: 10px; color: #ffe9c6; }
.music-button, .mute-button { min-height: 44px; }
.mute-button { min-width: 44px; }
.music-player { padding-block: 0; }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid #e9bd72; outline-offset: 4px; }
.city-dialog :focus-visible { outline-color: #732b31; }
body.guide-open { overflow: hidden; }
html.guide-open { overflow: hidden; }
.scene-controls-hidden { visibility: hidden; }
.city-dialog { width: min(660px, calc(100% - 28px)); height: min(800px, calc(100svh - 28px)); max-height: calc(100svh - 28px); padding: 0; overflow: hidden; }
.city-dialog[open] { display: flex; flex-direction: column; }
.guide-header { position: relative; flex: none; padding: 26px 26px 16px; border-bottom: 1px solid #dfc8a8; background: #fff7e9; }
.guide-header .eyebrow { padding-right: 44px; font-size: 11px; letter-spacing: .12em; }
.city-dialog h2 { margin: 10px 42px 18px 0; font: 500 44px/1 "Cormorant Garamond",serif; }
.close-button { width: 44px; height: 44px; top: 12px; right: 12px; border-radius: 50%; background: #f1e1cc; }
.guide-results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 26px 26px; scrollbar-gutter: stable; }
.city-intro { margin: 0 0 18px; color: #624b42; font: 400 17px/1.55 "Cormorant Garamond",serif; }
.city-choices { display: flex; gap: 8px; margin-bottom: 12px; }
.city-choices button { flex: 1; min-height: 44px; padding: 9px 12px; border: 1px solid #ae8d6b; border-radius: 999px; background: transparent; color: #53352c; font: 600 13px "Manrope",sans-serif; cursor: pointer; }
.city-choices button[aria-pressed="true"] { color: #fff7e9; background: #732b31; border-color: #732b31; }
.guide-tabs button { min-height: 44px; font-size: 12px; letter-spacing: .02em; }
.guide-list { margin-top: 0; }
.guide-item { padding: 18px 30px 18px 18px; }
.guide-item small { font-size: 11px; letter-spacing: .08em; }
.guide-item strong { font-size: 24px; line-height: 1.1; }
.guide-item span { color: #60483d; font: 400 15px/1.6 "Manrope",sans-serif; }
.guide-note { color: #634b3e; font-size: 12px; line-height: 1.6; letter-spacing: 0; }
@media (max-width: 680px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .scene { background-image: url("wedding_mobile.jpg"); transform: scale(1.01); will-change: auto; }
  .grain { display: none; }
  .mobile-opening { position: relative; display: flex; min-height: 100svh; flex-direction: column; align-items: center; justify-content: flex-end; padding: 80px 20px calc(32px + env(safe-area-inset-bottom)); text-align: center; }
  .mobile-opening > p { margin: 0; font: 500 36px/1.1 "Cormorant Garamond",serif; text-shadow: 0 2px 14px #160806; }
  .mobile-opening i { color: var(--gold); }
  .mobile-opening > span { max-width: 330px; margin-top: 10px; font: 500 12px/1.7 "Manrope",sans-serif; color: #fff0d8; text-shadow: 0 2px 6px #160806; }
  .mobile-opening a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: 16px; padding: 8px 18px; border: 1px solid #e9bd727d; border-radius: 999px; color: #ffedce; background: #291712d9; text-decoration: none; font-size: 13px; }
  .hero { padding: 48px 20px 36px; min-height: auto; background: linear-gradient(180deg, #25120f99, #25120fd9 28%, #25120fe6); }
  .hero .eyebrow { margin-bottom: 24px; padding: 0; background: none; backdrop-filter: none; }
  .hero > .rsvp-button { display: none; }
  .hero > .scroll-note { margin-top: 8px; }
  .hero::before { display: none; }
  #couple-names { scroll-margin-top: 100px; }
  .details-preview .mobile-opening { display: none; }
  .hero-event > span, .hero-event small { font-size: 10px; letter-spacing: .08em; }
  .hero-events { width: min(360px,100%); }
  .hero-event { padding: 12px 5px; background: #291712d9; }
  .hero-event strong i { font-size: 11px; }
  .invitation { font-size: 21px; }
  .details { min-height: auto; padding: 28px 12px; }
  .details-card { padding: 26px 16px; background: #25120feb; border: 1px solid #e9bd724d; border-radius: 14px; }
  .details-copy { padding: 0; border: 0; background: none; backdrop-filter: none; font-size: 18px; }
  .event-dates { grid-template-columns: 1fr; }
  .event-info h3 { font-size: 28px; }
  .event-info .event-label { font-size: 12px; }
  .countdown-whisper { font-size: 17px; }
  .countdown span { font-size: 11px; }
  .action-row { gap: 12px; }
  .text-button { font-size: 12px; }
  .mobile-guide-button { width: auto; padding: 8px 0; border: 0; border-bottom: 1px solid #e9bd724d; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 11px; color: #e1c9a6; }
  .city-dialog { width: calc(100% - 20px); height: calc(100svh - 20px); max-height: calc(100svh - 20px); padding: 0; border-radius: 14px; }
  .guide-header { padding: 22px 18px 12px; }
  .city-dialog h2 { font-size: 36px; margin-bottom: 14px; }
  .guide-results { padding: 18px; }
  .city-intro { font-size: 18px; }
  .guide-list { gap: 12px; }
  .guide-item { padding: 18px 28px 18px 16px; }
  .guide-item strong { font-size: 25px; }
  .guide-item span { font-size: 15px; }
  .guide-tabs button { font-size: 12px; padding: 10px 6px; }
  .guide-note { font-size: 12px; }
  .scene-interactions { display: none; }
  .music-button { min-width: 44px; }
  .music-player { padding: 0; position: absolute; }
}
@media (max-height: 520px) {
  .guide-header { padding-block: 12px 8px; }
  .guide-header .eyebrow { display: none; }
  .city-dialog h2 { margin-block: 0 8px; font-size: 28px; }
  .city-choices { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene { transform: none !important; transition: none; }
  .hero #cityHotspots { transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* A quiet closing to the invitation, with no mobile toolbar. */
@media (max-width: 680px) {
  .mobile-nav { display: none !important; }
  .invitation-closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 18px 14px;
    max-width: 330px;
    margin: 34px auto 8px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(233, 189, 114, .22);
    background: none;
    box-shadow: none;
  }
  .invitation-closing #openRsvpTwo {
    grid-column: 1 / -1;
    min-width: 144px;
    min-height: 48px;
    padding: 10px 28px;
    border: 1px solid rgba(233, 189, 114, .6);
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: .16em;
  }
  .invitation-closing #calendarButton,
  .invitation-closing #openCityGuide {
    width: auto;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: #ddc9ae;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .01em;
    text-transform: none;
  }
  .invitation-closing #calendarButton span,
  .invitation-closing #openCityGuide span { display: none; }
  .details-card > .card-back { display: none; }
  .details { padding-bottom: max(36px, env(safe-area-inset-bottom)); }
}
/* Mobile only: two invitation screens over the original artwork. */
@media (max-width: 680px) {
  body { padding-bottom: 0; }
  .mobile-opening { display: none; }
  .scene { display: block; background: url("wedding_mobile.jpg") center / cover no-repeat; transform: none; }
  .shade { display: block; background: linear-gradient(180deg, rgba(30,12,9,.16), rgba(30,12,9,.27) 42%, rgba(30,12,9,.08)); }
  .grain, .star-layer, .firefly-layer, .petal-layer { display: none; }
  .hero {
    height: auto;
    min-height: 100svh;
    justify-content: flex-start;
    padding: clamp(54px, 9svh, 88px) 20px 40px;
    background: none;
    text-shadow: 0 2px 9px #24110de0, 0 0 22px #24110d80;
  }
  .hero .bismillah-lockup { width: 165px; margin: 0 0 24px; }
  .hero .eyebrow, .hero .ornament, .hero > .monument-hint { display: none; }
  .hero h1 { display: flex; flex-direction: row; justify-content: center; align-items: baseline; flex-wrap: nowrap; gap: 8px; margin: 0; font-size: clamp(36px, 11vw, 54px); line-height: 1.1; }
  .hero h1 em { margin: 0; font-size: .55em; }
  .hero .invitation { max-width: 340px; margin: 18px 0 24px; font-size: 18px; line-height: 1.4; }
  .hero-events { display: flex; width: min(370px,100%); gap: 10px; margin: 0 0 24px; }
  .hero-event { min-width: 0; flex: 1; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-event > span { margin-bottom: 10px; font-size: 9px; letter-spacing: .14em; }
  .hero-event strong { font-size: 39px; line-height: 1; }
  .hero-event strong i { display: inline; margin-right: 4px; font-size: 12px; letter-spacing: .08em; }
  .hero-event small { margin-top: 9px; font-size: 9px; letter-spacing: .08em; }
  .event-divider { font-size: 7px; }
  .hero > .rsvp-button { display: flex; width: 150px; min-height: 48px; padding: 6px 7px 6px 22px; background: rgba(43,16,13,.16); backdrop-filter: blur(3px); }
  .hero > .scroll-note { display: inline-flex; align-items: center; min-height: 44px; margin: 12px 0 0; padding: 0; font-size: 13px; opacity: 1; }
  .details { min-height: 100svh; padding: 36px 24px max(36px, env(safe-area-inset-bottom)); background: rgba(32,14,10,.48); text-shadow: 0 2px 8px #20100d; }
  .details-card { width: 100%; max-width: 420px; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .details-card::before, .details-card::after, .details-card > .eyebrow, #detailsHeading, #detailsCopy, #countdownWhisper, #countdown { display: none; }
  .event-dates { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .event-info { padding: 24px 0; border: 0; border-radius: 0; background: none; }
  .event-info + .event-info { border-top: 1px solid rgba(233,189,114,.3); }
  .event-info .event-label { margin: 0; font-size: 11px; letter-spacing: .08em; }
  .event-info h3 { margin: 10px 0 6px; font-size: 27px; }
  .event-info .event-time { margin: 0 0 10px; font-size: 14px; font-weight: 400; }
  .event-info .event-venue { max-width: 300px; margin: 0 auto; font-size: 15px; line-height: 1.6; }
  .event-info .text-button { margin-top: 8px; min-height: 44px; padding: 8px 0; border: 0; font-size: 12px; text-transform: none; }
  .invitation-closing { margin-top: 4px; padding-top: 24px; }
  .invitation-closing #calendarButton, .invitation-closing #openCityGuide { color: #fff0d8; }
  .music-player { top: 8px; right: 8px; background: none; border: 0; box-shadow: none; }
}
/* Mobile scroll: a soft transition over the continuous artwork. */
@media (max-width: 680px) {
  .details { background: linear-gradient(180deg, transparent, rgba(32,14,10,.48) 140px); }
  .event-info + .event-info { position: relative; border-top: 0; margin-top: 10px; }
  .event-info + .event-info::before {
    content: "";
    position: absolute;
    top: -4px;
    left: calc(50% - 3px);
    width: 6px;
    height: 6px;
    background: #e9bd72;
    opacity: .65;
    transform: rotate(45deg);
  }
  .invitation-closing { border-top: 0; margin-top: 12px; }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .scroll-arrival.is-visible { animation: mobileArrival .85s cubic-bezier(.2,.65,.25,1) both; }
  .scroll-arrival:focus-within { animation: none; }
  @keyframes mobileArrival { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  .hero > .scroll-note span { display: inline-block; animation: gentleScrollCue 2.8s ease-in-out 3; }
  @keyframes gentleScrollCue { 0%, 100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(4px); opacity: 1; } }
}
/* A quiet picture-only opening on phones, followed by the invitation and details. */
@media (max-width: 680px) {
  .mobile-opening { display: block; height: 100svh; min-height: 100svh; padding: 0; background: #20100d url("wedding_mobile.jpg") center / contain no-repeat; }
  .mobile-opening > p, .mobile-opening > span, .mobile-opening > a { display: none; }
  .music-player { top: calc(100svh + 8px); }
  .hero-event .city-separator, .event-info .event-label .city-separator { display: none; }
  .hero-event .event-city, .event-info .event-label .event-city { display: block; margin-top: 5px; }
}