:root {
  color-scheme: light;
  --paper: #f3ece1;
  --cream: #fff8ec;
  --wine: #572537;
  --wine-deep: #361b2b;
  --ink: #3c272c;
  --muted: #725961;
  --line: #d9c8b5;
  --bronze: #7f5b36;
  --gold: #edc991;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --dock: calc(83px + env(safe-area-inset-bottom));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-bottom: calc(var(--dock) + 12px); background: #121823; }
body { margin: 0 auto; max-width: 600px; color: var(--ink); background: var(--paper); font: 15px/1.65 var(--sans); box-shadow: 0 0 100px #0d1016af; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #9c6742; outline-offset: 3px; }
h1,h2,p,ul,dl,dd,figure,blockquote { margin: 0; }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
section[id] { scroll-margin-top: 14px; }
.cinema { position: relative; isolation: isolate; display: grid; min-height: 575px; min-height: max(590px,100svh); overflow: hidden; background: #211a27; color: var(--cream); text-align: center; }
.cover,.hall { position: relative; grid-area: 1/1; display: grid; justify-items: center; grid-template-rows: 1fr auto; min-width: 0; }
.scene-images,.scene-interior,.scene-exterior { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-images { z-index: -2; }
.scene-exterior { object-fit: cover; object-position: center 60%; }
.cinema::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg,#11172470 1%,#11172438 30%,transparent 52%,#19152189 79%,#231725dd); }
.cinema::before { content: ""; position: absolute; z-index: 2; inset: 12px; border: 1px solid #fee1a86b; border-radius: 47% 47% 7px 7px / 10% 10% 7px 7px; pointer-events: none; }
.cinema[data-phase="opening"] .cover,.cinema[data-phase="open"] .cover { display: none; }
.cinema:not([data-phase="open"]) .hall { visibility: hidden; pointer-events: none; }
.cinema[data-phase="open"] .hall { visibility: visible; }
.cover-names { padding: clamp(46px,8svh,94px) 18px 12px; align-self: start; text-shadow: 0 2px 22px #0d1019d9; }
.eyebrow { color: #f6dcae; font-size: 10px; font-weight: 700; letter-spacing: .27em; text-transform: uppercase; }
.cover h1 { margin-top: 13px; font: clamp(53px,14.2vw,92px)/.83 var(--serif); letter-spacing: -.02em; }
.cover h1 span { display: block; }
.cover h1 i { display: block; color: var(--gold); font-size: .53em; line-height: .98; font-weight: 400; }
.cover-date { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 40px; padding: 9px 17px; color: inherit; background: transparent; text-decoration: none; font-size: 13px; font-weight: 700; }
.button:hover { filter: brightness(1.12); }
.primary { background: var(--wine); color: #fff9ed; }
.outline { border-color: var(--line); }
.open-card { margin-bottom: max(38px,calc(env(safe-area-inset-bottom) + 24px)); min-width: 177px; background: #f9e6c9; color: #3b2431; border-color: #e6bd82; box-shadow: 0 5px 30px #1a1122c9; }
.skip { position: absolute; z-index: 3; right: 25px; bottom: max(34px,calc(env(safe-area-inset-bottom) + 18px)); color: white; background: #221828d9; border-color: #f8ddab84; }
.hall { align-content: end; display: grid; grid-template-rows: 1fr; }
.hall-copy { width: min(100%,530px); align-self: end; padding: 18px 16px calc(var(--dock) + 15px); }
.hall-copy h2 { display: grid; justify-items: center; margin: 8px 0; font: 400 clamp(28px,7.9vw,46px)/.99 var(--serif); text-wrap: balance; }
.hall-name { display: block; min-width: 0; }
.hall-family { display: block; margin-top: 4px; color: #fff3dc; font-size: .59em; }
.hall-amp { margin: 2px 0 3px; color: var(--gold); font-size: .62em; }
.hall-copy p:not(.eyebrow) { font-size: 13px; color: #f4e3ce; }
.hall-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-top: 2px; font-size: 12px; text-underline-offset: 4px; }
.section { padding: 48px clamp(21px,6vw,58px); text-align: center; }
.section h2 { margin-bottom: 20px; color: var(--wine); font: 400 clamp(40px,11vw,56px)/.98 var(--serif); letter-spacing: -.018em; }
.invitation { display: grid; gap: 19px; background: var(--cream); justify-items: center; }
.invitation h2 { margin: 0; }
.invitation p:not(.arabic) { max-width: 39ch; }
.arabic { font: 500 clamp(22px,6vw,32px)/1.55 "Noto Naskh Arabic","Traditional Arabic",serif; color: #714d3d; }
.bismillah { margin: -5px 0 1px; font-size: 28px; }
.hosts,.invitation-names { display: grid; }
.hosts i,.invitation-names i { color: #8e4a60; font: italic 24px/1.15 var(--serif); margin: 3px 0; }
.invitation-names { width: 100%; border-block: 1px solid var(--line); padding: 18px 0; color: var(--wine); font: 31px/1.06 var(--serif); }
.pantun { color: #794659; font: italic 23px/1.2 var(--serif); }
.event { background: radial-gradient(ellipse at top,#704056,#351c2b); color: var(--cream); }
.event h2 { color: var(--cream); }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; max-width: 350px; margin: 0 auto 21px; }
.countdown span { padding: 7px 2px 9px; border: 1px solid #deba904f; border-radius: 10px; font-size: 10px; color: #f4d8b7; }
.countdown b { display: block; font: 400 35px/1 var(--serif); color: #fff6e8; font-variant-numeric: tabular-nums; }
.count-status { margin-bottom: 15px; }
.event .outline { border-color: #dfc3a183; }
.location { background: #e9dfce; }
.location-actions,.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
label,legend { font-size: 13px; font-weight: 700; }
form input:not([type="radio"]),form textarea { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #bba996; border-radius: 8px; background: #fffcf5; color: var(--ink); font-size: 16px; }
form textarea { resize: vertical; }
form fieldset { padding: 0; border: 0; margin: 4px 0; min-width: 0; }
form legend { margin-bottom: 5px; padding: 0; }
form button[type="submit"] { justify-self: start; margin-top: 6px; }
:where(button[type="submit"],.moderation button){scroll-margin-bottom: calc(var(--dock) + 15px);}
button:disabled { opacity: .62; cursor: wait; }
.form-status,.share-status { font-size: 13px; color: #365147; }
.form-status[data-error],.share-status[data-error] { color: #9b293e; }
.contact-list { list-style: none; padding: 0; margin: 0 auto 17px; max-width: 390px; display: grid; gap: 9px; }
.contact-list a { display: flex; align-items:center; gap: 9px; min-height: 51px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--cream); text-decoration: none; font-size: 13px; font-weight: 700; text-align: left; }
.contact-list a svg:last-child { margin-left: auto; }
.share-status { margin-top: 9px; }
footer { text-align: center; padding: 0 20px calc(var(--dock) + 30px); }
#replay { display: inline-grid; place-content: center; grid-auto-flow: column; align-items: center; gap: 2px; border: 1px solid #b8a28c; border-radius: 50%; width: 52px; height: 52px; font: 400 26px/1 var(--serif); color: var(--wine); text-decoration: none; }
#replay i { font-size: 17px; }
.music-button { position: absolute; top: max(22px, env(safe-area-inset-top)); right: max(19px,calc((100% - 600px)/2 + 21px)); z-index: 3; display: grid; place-content: center; width: 44px; height: 44px; border: 1px solid #f0d1a282; border-radius: 50%; color: var(--cream); background: #211c2bd4; }
.music-button[aria-pressed="true"] { background: #f8e4c5; color: var(--wine-deep); }
.no-script { padding: 15px; }
@media (max-width: 355px) { .cover h1 { font-size: 48px; } .attendance label { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .001ms !important; scroll-behavior: auto !important; } }
.static-doors { position: absolute; inset: 48% auto 7% 50%; width: min(77%, 31svh); translate: -50% 0; display: flex; }
.static-doors span { width: 50%; border: 2px solid #c8a571; background: linear-gradient(135deg,#9aa9e14d,#c3bbe921 63%,#e9ba7850); box-shadow: 0 0 0 1px #503047bb; position: relative; }
.static-doors span:first-child { border-top-left-radius: 98% 27%; }
.static-doors span:last-child { border-top-right-radius: 98% 27%; }
.static-doors span::after { content: ""; position: absolute; inset: 8% 12%; border: 1px solid #f5d2a08c; border-radius: inherit; background: repeating-linear-gradient(180deg, transparent 0 31%, #e1bb8f94 31% 32%, transparent 32% 33%); }
.static-doors span::before { content: ""; width: 3px; height: 14px; position: absolute; top: 55%; background: #af8456; border-radius: 3px; }
.static-doors span:first-child::before { right: 5px; } .static-doors span:last-child::before { left: 5px; }
.cinema[data-phase="open"] .static-doors { display: none; }
.music-button { position: fixed; }
.music-button[aria-pressed="true"]::after { content: ""; position: absolute; right: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #8d5264; }
.manual-copy { width: min(100%,365px); padding: 7px; font-size: 16px; }


/* Both illustrations meet at the center of the doorway. */
@property --door-clear {
  syntax: '<percentage>';
  inherits: false;
  initial-value: -12%;
}
.scene-entry { position: absolute; inset: 0; transform-origin: 50% 68.5%; }
.scene-interior { transform: scale(1.12); transform-origin: 50% 68.5%; }
.cinema[data-phase="opening"] .scene-exterior {
  mask-image: radial-gradient(ellipse 56% 60% at 50% 68.5%, transparent var(--door-clear), #000 calc(var(--door-clear) + 13%));
  animation: doorway-reveal var(--entrance-duration) both;
}
.cinema[data-phase="open"] .scene-entry { visibility: hidden; }
.cinema[data-phase="opening"] .scene-entry { animation: enter-hall var(--entrance-duration) cubic-bezier(.31,.37,.27,1) both; }
.cinema[data-phase="opening"] .scene-interior { animation: hall-approach var(--entrance-duration) cubic-bezier(.28,.62,.31,1) both; }
.cinema[data-phase="opening"] .scene-couple { animation: couple-reveal var(--entrance-duration) both; }
.cinema[data-phase="opening"] .cover { display: grid; pointer-events: none; animation: cover-recede .38s ease-out both; }
.cinema[data-phase="open"][data-arrived] :is(.hall-eyebrow,.hall-name,.hall-amp,.hall-details,.hall-link) {
  animation: title-rise .65s var(--arrival-delay, 0ms) cubic-bezier(.25,.7,.25,1) both;
}
.hall-amp { --arrival-delay: 100ms; }
.hall-name-second { --arrival-delay: 190ms; }
.hall-details { --arrival-delay: 330ms; }
.hall-link { --arrival-delay: 400ms; }
.hall-copy :focus-visible { animation: none !important; }
.cinema[data-phase="opening"] .static-doors span { animation-duration: var(--entrance-duration); animation-fill-mode: both; animation-timing-function: cubic-bezier(.32,.05,.32,1); }
.static-doors span:first-child { transform-origin: left center; animation-name: none; }
.static-doors span:last-child { transform-origin: right center; animation-name: none; }
.cinema[data-phase="opening"] .static-doors span:first-child { animation-name: swing-left; }
.cinema[data-phase="opening"] .static-doors span:last-child { animation-name: swing-right; }
@keyframes enter-hall {
  0%, 8% { transform: scale(1); opacity: 1; }
  42% { opacity: 1; }
  100% { transform: scale(2.06); opacity: 0; }
}
@keyframes doorway-reveal {
  0%, 20% { --door-clear: -14%; }
  46% { --door-clear: 23%; }
  100% { --door-clear: 126%; }
}
@keyframes hall-approach {
  0%, 15% { transform: scale(1); filter: brightness(.75) saturate(.78); }
  100% { transform: scale(1.12); filter: none; }
}
@keyframes swing-left { 0% { transform: scaleX(1); } 56%, 100% { transform: scaleX(.12) skewY(8deg); } }
@keyframes swing-right { 0% { transform: scaleX(1); } 56%, 100% { transform: scaleX(.12) skewY(-8deg); } }
@keyframes couple-reveal {
  0%, 51% { opacity: 0; transform: scale(.97); }
  92%, 100% { opacity: 1; transform: none; }
}
@keyframes cover-recede { to { opacity: 0; transform: translateY(-8px); } }

.floral-motion { position: absolute; inset: 0; pointer-events: none; }
.petal-field { position: fixed; inset: 0; z-index: 2; width: min(100%,var(--frame)); margin-inline: auto; overflow: hidden; pointer-events: none; }
.floral-motion { z-index: 0; }
.cover,.hall { z-index: 1; }
.scene-flowers { position: absolute; width: clamp(124px,34%,202px); height: auto; bottom: 5%; filter: drop-shadow(0 3px 1px #25172053); transform-origin: 50% 95%; }
.flowers-left { left: -16%; animation: sway-left 7s ease-in-out infinite alternate; }
.flowers-right { right: -16%; scale: -1 1; animation: sway-right 8s -2s ease-in-out infinite alternate; }
@keyframes sway-left { from { transform: rotate(-3deg); } to { transform: translateX(4px) rotate(3deg); } }
@keyframes sway-right { from { transform: rotate(3deg); } to { transform: translateX(-4px) rotate(-3deg); } }
.petal-field i { position: absolute; left: var(--x); top: -28px; height: var(--size); width: calc(var(--size) * .76); border-radius: 74% 19% 65% 37%; background: linear-gradient(145deg, #fff1d96b 0 40%, transparent 41%),var(--petal); opacity: 0; animation: petal-fall var(--fall) var(--phase) linear infinite; }
.petal-field .foreground { --petal-opacity: .72; filter: blur(1px); width: calc(var(--size) * 1.02); }
@keyframes petal-fall {
  0% { transform: translate3d(0,-15px,0) rotate(-28deg); opacity: 0; }
  12%, 83% { opacity: var(--petal-opacity, .49); }
  52% { transform: translate3d(var(--wind),53svh,0) rotate(155deg); }
  100% { transform: translate3d(calc(var(--wind) * .26),calc(100svh + 75px),0) rotate(345deg); opacity: 0; }
}
.cinema:not(.in-view) .scene-flowers { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .scene-flowers { animation: none !important; }
  .petal-field { display: none; }
}

.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.date-tile { display: grid; text-align: center; border: 1px solid #dbbba0; border-radius: 10px; overflow: hidden; }
.date-tile span:not(.sr-only) { background: #ead5bc; color: #5b3c42; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.date-tile strong { color: var(--wine); font: 400 43px/1.03 var(--serif); }
.calendar-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.calendar-actions .button { flex: 1 0 auto; padding-inline: 9px; font-size: 11px; }
.calendar-actions svg { width: 16px; height: 16px; }

.map-card { max-width: 430px; margin: auto; background: var(--cream); text-align: left; border: 1px solid #cbbb9e; box-shadow: 0 9px 22px #55323011; border-radius: 17px; overflow: hidden; }
.map-frame { position: relative; height: clamp(195px,55vw,250px); background: #e8e3d7; }
.map-tiles { position: absolute; inset: 0; overflow: hidden; background: #e4ded0; }
.map-tiles img { position: absolute; top: calc(50% + var(--y)); left: calc(50% + var(--x)); display: block; width: 256px; height: 256px; max-width: none; }
.map-marker { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-100%); display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50% 50% 50% 7px; background: var(--wine); color: var(--cream); border: 2px solid var(--cream); box-shadow: 0 4px 12px #32142160; }
.map-marker svg { width: 19px; height: 19px; }
.map-credit { position: absolute; bottom: 0; right: 0; padding: 1px 5px; color: #482936; background: #fffdf4e8; font-size: 10px; }
.map-expand { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--wine); background: #fffbef; border: 1px solid #cdb99e; border-radius: 13px; }
.map-copy { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 16px 14px 8px; }
.venue-pin { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: #f0dacb; color: var(--wine); }
.map-card .location-actions { padding: 7px 14px 15px; justify-content: start; }
.map-card .location-actions a { flex: 1 1 auto; }

.quick { position: fixed; left: 50%; bottom: max(11px,env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 24px),475px); display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 4px; z-index: 5; padding: 5px; border: 1px solid #bd8c6a91; border-radius: 20px; color: var(--cream); background: #351e2bf2; box-shadow: 0 11px 28px #1f12245e; }
.quick a { display: grid; place-items: center; align-content: center; gap: 3px; min-width: 0; min-height: 52px; border-radius: 14px; color: var(--cream); font-size: 11px; font-weight: 700; text-decoration: none; }
.quick svg { width: 18px; height: 18px; color: #f0cda4; }
.quick a:hover,.quick a[aria-current] { background: #6d4559; }
.quick .quick-calendar { background: #efd3ac; color: #462937; }
.quick .quick-calendar svg { color: #603e48; }
.quick .quick-calendar:hover,.quick .quick-calendar[aria-current] { background: #ffe4c0; }

/* Keep the central reading column comfortable on phones and in WhatsApp. */
:root { --paper: #f5ece5; --cream: #fff9ee; --ink: #39252e; }
.section { padding-block: clamp(39px,11vw,62px); padding-inline: clamp(16px,5.2vw,42px); }
.section h2 { margin-block-end: 20px; }
.invitation { gap: 17px; background: radial-gradient(ellipse at top,#f4e4d3 0%,#fff9ee 50%); }
.invitation h2 { margin: 0; line-height: 1.08; }
.invitation > p:not(.arabic) { max-width: 36ch; }
.invitation .hosts { font-size: 14px; }
.invitation-names { padding-block: 21px; }
.invitation-date { padding: 10px 17px; border: 1px solid #e2cab6; border-radius: 14px; background: #fff9ef; }
.invitation-date time { color: var(--wine); font-weight: 700; }
.hall-copy h2 { text-shadow: 0 2px 12px #321723db; }
.cover-names { animation: title-rise .72s cubic-bezier(.25,.7,.25,1) both; }
.cover-names h1 span:first-child { animation: title-rise .8s .10s both; }
.cover-names h1 span:last-child { animation: title-rise .8s .23s both; }
.cover-date { animation: title-rise .68s .32s both; }
.invitation [data-arrive].text-arrived { animation: paragraph-rise .78s cubic-bezier(.25,.7,.25,1) both; }
@keyframes paragraph-rise { from { opacity: .55; transform: translateY(6px); } }
.text-arrived { animation: title-rise .72s cubic-bezier(.25,.7,.25,1) both; }
@keyframes title-rise { from { opacity: .16; transform: translateY(13px); } to { opacity: 1; transform: none; } }

.countdown-wrap { margin: 0 auto; max-width: 420px; padding: 16px 9px 10px; background: linear-gradient(150deg,#fff1d4 0%,#f0d5c9 100%); color: #4b2c3b; border: 1px solid #ebc8a4; border-radius: 18px; box-shadow: 0 10px 26px #1a111d38; }
.countdown-wrap h3 { margin: 0 0 9px; font: 400 clamp(28px,8vw,40px)/1.1 var(--serif); }
.countdown { margin: 0; max-width: none; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; }
.countdown span { min-width: 0; color: #5d3945; background: #fff7e9b3; border: 1px solid #c7a28b89; border-radius: 10px; padding: 8px 0 7px; font-size: 10px; font-weight: 700; }
.countdown b { color: #512437; font: 400 clamp(37px,12.25vw,64px)/.93 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.032em; white-space: nowrap; margin-bottom: 3px; }
.count-status { margin: 0 0 5px; font-size: 15px; font-weight: 700; }
.quick { background: #fff4e5f5; color: #4d2b39; backdrop-filter: blur(10px); border-color: #b48a6b9c; box-shadow: 0 8px 24px #28151d55; padding: 4px; gap: 3px; }
.quick a,.quick svg { color: #4d2b39; }
.quick a:hover,.quick a[aria-current] { color: #4d2b39; background: #ecd9d1; }
.quick .quick-calendar,.quick .quick-calendar:hover,.quick .quick-calendar[aria-current] { background: #673445; color: #fff3e3; }
.quick .quick-calendar svg { color: #ffddba; }
@media (max-width: 360px) {
  .countdown-wrap { padding-inline: 5px; }
}

/* Calligraphic entrance and mobile controls. */
.cover-names { width: min(100%,520px); padding: clamp(54px,11svh,105px) 22px 12px; animation: none; }
.cover-names .eyebrow { color: #ffe6b8; font-size: 11px; letter-spacing: .31em; }
.ink-signature { display: block; width: min(100%,405px); height: auto; margin: 15px auto 1px; color: #fff0d7; stroke-width: 2.35; overflow: visible; filter: drop-shadow(0 2px 5px #17141c9c); }
.ink-signature path { vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; animation: pen-write var(--pen-time) var(--pen-start) linear both; }
.ink-signature .ink-amp,.ink-signature .ink-flourish { stroke: #dfb783; }
.ink-signature .ink-flourish { stroke-width: 1.3; }
@keyframes pen-write { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cover-details { display: grid; gap: 3px; margin: 3px auto 0; }
.cover-details .cover-date { color: #fff4dc; margin-top: 0; font-size: 14px; font-weight: 700; letter-spacing: .05em; animation: title-rise .65s .4s both; }
.cover-venue { color: #f5e5cf; font-size: 12px; animation: title-rise .7s .56s both; }
.open-card { border-radius: 50px; display: inline-flex; gap: 13px; padding: 5px 6px 5px 17px; min-height: 53px; min-width: 0; box-shadow: 0 9px 26px #1f142652; }
.open-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #622f40; color: #fff1d7; }
.open-icon svg { width: 18px; height: 18px; }
.open-card:hover .open-icon,.open-card:focus-visible .open-icon { background: #7b4052; }
.hall-eyebrow { letter-spacing: .25em; }
.hall-link { padding: 5px 12px; min-height: 42px; border: 1px solid #fff8e864; border-radius: 40px; text-decoration: none; }
.hall-link:hover { background: #fff4ea2c; }
.countdown-wrap { border-color: #edcaad; }
.countdown-wrap h3 { margin-block-end: 11px; }
.calendar-actions .button { min-height: 46px; }
.quick { width: min(calc(100% - 20px),475px); }
.quick a { min-height: 53px; touch-action: manipulation; transition: background-color .2s; }
.quick a[aria-current] span::after { content:""; display: block; margin: 2px auto -3px; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.contacts .contact-list a { min-height: 53px; }
@media (prefers-reduced-motion: reduce) {
  .ink-signature path,.cover-details .cover-date,.cover-venue { animation: none !important; }
  .ink-signature path { stroke-dashoffset: 0; }
}

@property --ink-progress {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}
.scroll-writing { transition: --ink-progress .17s cubic-bezier(.22,.61,.36,1); }
.invitation .writing-word {
  --ink-show: clamp(0, calc((var(--ink-progress) - var(--ink-order)) / .16), 1);
  display: inline-block;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  opacity: calc(.20 + .80 * var(--ink-show));
  clip-path: inset(-.2em calc((1 - var(--ink-show)) * 100% - .08em) -.24em -.11em);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-writing { transition: none; }
  .invitation .writing-word { opacity: 1; clip-path: none; }
}

/* Event ticket, touch controls and feedback. */
.event-ticket {
  max-width: 420px;
  margin: 0 auto 24px;
  border: 1px solid #e9c2a2;
  border-radius: 22px;
  background: linear-gradient(139deg,#fffbf1,#f6e0d1);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 13px 30px #24122258;
}
.ticket-main { display: grid; grid-template-columns: 70px minmax(0,1fr); align-items: center; gap: 15px; padding: 18px 15px 13px; }
.ticket-main .date-tile { border-color: #d4ae92; border-radius: 13px; background: #fff8ec; }
.ticket-main .date-tile span { background: var(--wine); color: var(--cream); padding-block: 3px; }
.ticket-main .date-tile strong { padding-block: 3px 7px; font-size: 50px; }
.ticket-details h3 { margin: 0 0 5px; color: var(--wine); font: 400 clamp(21px,6.1vw,31px)/1.05 var(--serif); }
.ticket-details p,.ticket-details a { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.45; }
.ticket-details svg { width: 15px; height: 15px; color: #8a4d60; }
.ticket-details a { width: fit-content; min-height: 34px; color: var(--wine); font-weight: 700; text-underline-offset: 3px; }
.ticket-calendar { margin: 0 15px; border-top: 1px dashed #c89e86; }
.ticket-calendar summary { display: flex; align-items: center; gap: 9px; padding-block: 11px; min-height: 49px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--wine); list-style: none; }
.ticket-calendar summary::-webkit-details-marker { display: none; }
.ticket-chevron { margin-left: auto; transition: rotate .24s ease; }
.ticket-calendar[open] .ticket-chevron { rotate: 180deg; }
.ticket-calendar .calendar-actions { margin: 0; padding-bottom: 13px; }
.ticket-calendar[open] .calendar-actions { animation: controls-in .28s ease-out both; }
.map-card { border-radius: 22px; }
.map-card .location-actions .button { flex: 1 1 auto; }
.map-card .location-actions svg { width: 17px; height: 17px; }
.address-status { padding: 0 15px 12px; }
.address-field { width: calc(100% - 30px); margin: 0 15px 15px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fffdf7; }

form[aria-busy] .form-submit svg { opacity: 0; }
.quick { border-radius: 24px; padding: 5px; }
.quick .quick-calendar { border-radius: 18px; box-shadow: 0 3px 8px #66334632; }
.quick :is(a,svg),.button,.guest-stepper button { transition: scale .17s ease, background-color .2s ease; }
.quick a:hover svg,.quick a[aria-current] svg { scale: 1.08; }
.quick a:active,.button:active,.guest-stepper button:active { scale: .97; }
@keyframes controls-in { from { opacity: .52; transform: translateY(-4px); } }
@media (max-width: 350px) { .ticket-main { grid-template-columns: 60px minmax(0,1fr); gap: 11px; } }
@media (prefers-reduced-motion: reduce) {
  .ticket-chevron,.attendance label,.quick :is(a,svg),.button,.guest-stepper button,.form-submit svg { transition: none; }
}

.event-program,.event-prayer { max-width: 420px; margin: 0 auto 22px; }
.event-program { border: 1px solid #e4bd9b50; border-radius: 18px; padding: 15px; text-align: left; }
.event-program h3,.event-prayer h3 { margin: 0 0 10px; font: 400 29px/1.05 var(--serif); }
.program-list { list-style: none; margin: 0; padding: 0; }
.program-list li { display: grid; grid-template-columns: 9ch minmax(0,1fr); align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.program-list li + li { border-top: 1px solid #e4bd9b40; }
.program-list time { color: #f4d1a8; font-weight: 700; }
.event-prayer { padding: 12px 12px 4px; }
.event-prayer p { color: #f4e0d5; font-size: 14px; }

/* Invitation layout */
:root {
  --wine: #612e43;
  --ink: #40262d;
  --cream: #fff8ec;
  --paper: #f6eadc;
  --line: #e1c7ac;
  --frame: 1140px;
}
html {
  background: radial-gradient(ellipse at top,#38232e,#16131d 75%) fixed;
}
body { max-width: var(--frame); }
.section { padding: clamp(46px,9vw,93px) clamp(18px,4.2vw,52px); }
.section > h2 { margin: 0 0 clamp(23px,4vw,42px); }
.cinema { background: #1e192b; }
.cinema::before {
  inset: clamp(9px,1.4vw,17px);
  border-radius: 46% 46% 14px 14px / 8% 8% 14px 14px;
  box-shadow: inset 0 0 0 4px #25152332;
}
.cinema::after { background: linear-gradient(180deg,#1a14393b 1%,#1a173434 32%,transparent 49%,#2f172877 65%,#25131ff5 100%); }
.cover-names { padding-top: clamp(55px,11svh,105px); }
.cover-details { display: inline-grid; padding: 7px 13px; border-block: 1px solid #efcc9a54; }
.open-card { background: linear-gradient(115deg,#fff0cd,#e9c08b); border-color: #ffe3ba; }
.hall-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hall-actions .hall-link { min-height: 44px; padding: 6px 13px; margin: 0; background: #f5d4a9; border-color: #f5d4a9; color: #402631; font-weight: 700; }
.hall-actions .hall-link-secondary { border-color: #f6d8b389; background: #301c2e81; color: #fff3df; }
.hall-actions .hall-link:hover { filter: brightness(1.14); }
.cinema[data-phase="open"][data-arrived] .hall-actions {
  animation: title-rise .65s .4s cubic-bezier(.25,.7,.25,1) both;
}
.cinema[data-phase="open"][data-arrived] .hall-actions .hall-link { animation: none; }
.music-button { right: max(14px,calc((100% - var(--frame))/2 + 22px)); width: auto; padding: 0 12px; gap: 6px; grid-auto-flow: column; align-items: center; font-size: 11px; font-weight: 700; }
.music-button svg { width: 16px; height: 16px; }
.invitation { display: block; background: #f3e1d1; }
.letter {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 17px;
  max-width: 700px;
  margin: auto;
  padding: clamp(24px,7vw,54px) clamp(10px,5vw,47px);
  background: radial-gradient(ellipse at top, #fffaf0,#fff7ea 63%,#f8eadb);
  border: 1px solid #d8b69a;
  border-radius: 49% 49% 16px 16px / 24px 24px 16px 16px;
  box-shadow: 0 12px 34px #67402e20;
  isolation: isolate;
}
.letter::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 1px solid #dcb99d66;
  border-radius: inherit;
}
.letter > p:not(.arabic) { max-width: 46ch; }
.letter .greeting { font-size: clamp(17px,5.4vw,30px); }
.letter .invitation-names { font-size: clamp(28px,7.5vw,45px); }
.letter .invitation-date { border-width: 0 0 1px; border-radius: 0; background: none; }
.letter .pantun { font-size: clamp(20px,5.5vw,29px); }
.event { background: radial-gradient(ellipse at 52% 0,#774057,#381e30 79%); }
.event-grid { display: grid; align-items: start; gap: 16px; width: min(100%,875px); margin: auto; }
.event-grid > * { width: 100%; margin: 0 auto; }
.event-grid .event-ticket { border-radius: 17px; }
.event-grid .event-program { padding: 18px; background: #fff8ee09; }
.event-grid .event-prayer { padding: 19px 14px; border-block: 1px solid #e4bd9b50; }
.event-grid .countdown-wrap { align-self: center; border-radius: 16px; }
.location { background: #edddcb; }
.map-card { max-width: 620px; box-shadow: 0 12px 36px #55323022; }
.map-frame { height: clamp(208px,52vw,295px); }
.map-copy { padding: 18px 17px 9px; }
.map-card .location-actions { padding-inline: 17px; }
.contacts { background: #f8ebd9; }
.contact-list { max-width: 600px; }
.contact-list a { background: #fffbf0; }
.contact-list a:hover { border-color: #a26f58; }
.card-footer { background: #391f30; color: var(--cream); padding-top: 35px; }
.footer-names { font: clamp(28px,8vw,44px)/1.12 var(--serif); color: #ffe9c7; }
.footer-names i { color: #e8b98a; }
#replay { width: auto; height: auto; min-height: 44px; margin-top: 12px; padding: 3px 12px; border-radius: 28px; color: var(--cream); font: 600 12px/1 var(--sans); gap: 6px; }

.quick { grid-template-columns: 1fr 1.25fr 1fr 1fr; width: min(calc(100% - 20px),440px); padding: 5px; border-radius: 19px; background: #fff8eeed; }
.quick .quick-calendar { border-radius: 14px; }
.quick .contents-toggle {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 53px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: #4d2b39;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}
.quick .contents-toggle:is(:hover,[aria-expanded="true"]) { background: #ecd9d1; }
.quick .contents-toggle:active { scale: .97; }
.contents-sheet {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: min(100%,470px);
  max-height: min(82svh,500px);
  padding: 15px 18px max(20px,env(safe-area-inset-bottom));
  background: #fff8ec;
  color: var(--wine);
  border: 1px solid #d0a582;
  border-radius: 21px 21px 0 0;
  box-shadow: 0 0 52px #1b0c244f;
}
.contents-sheet[open] { animation: sheet-in .25s ease-out both; }
.contents-sheet::backdrop { background: #211522a6; }
body:has(.contents-sheet[open]) { overflow: hidden; }
.contents-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.contents-header h2 { font: 36px/1.1 var(--serif); }
.contents-header button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--wine); background: #fffaf1; font-size: 24px; }
.contents-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.contents-links a { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 8px 9px; min-height: 45px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; font-size: 13px; font-weight: 700; }
.contents-links a::after { content: ""; width: 6px; height: 6px; flex: none; margin-right: 3px; border: solid #805163; border-width: 1.5px 1.5px 0 0; rotate: 45deg; }
.contents-links a:hover { background: #f2e1d7; }
@keyframes sheet-in { from { transform: translateY(20px); opacity: .5; } }

@media (min-width: 760px) {
  .cinema { min-height: max(590px, min(100svh,870px)); }
  .scene-images { left: 35%; width: auto; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 14%); }
  .static-doors { width: clamp(245px,53%,380px); }
  .cinema::before { border-radius: 17px; }
  .cinema::after { background: linear-gradient(90deg,#20182aea 3%,#20182a 32%,#20182a78 45%,transparent 66%),linear-gradient(0deg,#2114279c,transparent 40%); }
  .cover,.hall { grid-template-columns: 42% 1fr; }
  .cover { grid-template-rows: auto auto; align-content: center; }
  .cover-names { grid-column: 1; padding: 0 24px 16px; }
  .open-card { grid-column: 1; margin-bottom: 0; }
  .hall-copy { grid-column: 1; align-self: center; padding: 6px 16px 30px; }
  .hall-copy h2 { font-size: clamp(32px,4.8vw,62px); }
  .hall-family { margin-top: 6px; }
  .flowers-left { left: -10%; }
  .flowers-right { right: -9%; }
  .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .event-grid .event-ticket,.event-grid .event-program { align-self: stretch; }
  .event-grid .event-program { padding: 22px; }
  .contact-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contact-list a { font-size: 12px; }
  .contents-sheet { inset: auto 0 86px; border-radius: 20px; }
}
@media (max-width: 350px) {
  .letter { padding-inline: 9px; }
  .hall-actions .hall-link { padding-inline: 9px; }
}

.cover-actions { grid-row: 2; align-self: end; display: grid; justify-items: center; gap: 2px; margin-bottom: max(24px,env(safe-area-inset-bottom)); }
.cover-actions .open-card { margin: 0; }
.map-card .location-actions { display: grid; }

@media (min-width: 760px) {
  .cover-actions { grid-column: 1; margin-bottom: 0; }
}

/* Falling petals and floral borders */
.petal-field i { --petal-opacity: .49; box-shadow: inset 0 -1px #8f3f5840; }
.petal-field .foreground { --petal-opacity: .60; filter: blur(.5px); }
.crown-left,.crown-right {
  top: 2%;
  bottom: auto;
  width: clamp(92px,24%,190px);
  opacity: .87;
  transform-origin: 46% 15%;
  animation: crown-sway 8.3s ease-in-out infinite alternate;
}
.crown-left { left: -10%; rotate: 162deg; }
.crown-right { right: -9%; rotate: -161deg; scale: -1 1; animation-delay: -4s; }
@keyframes crown-sway { from { transform: translateY(-3px) rotate(-4deg); } to { transform: translateY(4px) rotate(4deg); } }

.flower-frame { position: relative; overflow: hidden; isolation: isolate; }
.flower-frame::before,.flower-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(102px,23vw,225px);
  aspect-ratio: .77;
  pointer-events: none;
  background: url("/scene/bunga.webp") center / contain no-repeat;
  opacity: .52;
  animation: border-sway 8.5s ease-in-out infinite alternate paused;
}
.flower-frame.flowers-in-view::before,.flower-frame.flowers-in-view::after { animation-play-state: running; }
.flower-frame::before { top: -17px; left: -22px; rotate: 154deg; transform-origin: 45% 15%; }
.flower-frame::after { bottom: -21px; right: -22px; scale: -1 1; rotate: -9deg; transform-origin: 53% 90%; animation-delay: -3.5s; }
.flower-frame:is(.event,.card-footer)::before,.flower-frame:is(.event,.card-footer)::after { opacity: .75; }
@keyframes border-sway { from { transform: rotate(-5deg); } to { transform: translateY(5px) rotate(4deg); } }
@media (min-width: 760px) {
  .flower-frame::before { left: -39px; }
  .flower-frame::after { right: -39px; }
}

.animated-title { position: relative; display: inline-block; }
.animated-title::after {
  content: "";
  display: block;
  width: 56%;
  height: 1px;
  margin: .4em auto 0;
  background: linear-gradient(90deg,transparent,currentColor 50%,transparent);
  opacity: .75;
}
.cover .animated-title,.cinema[data-phase="open"][data-arrived] .hall .animated-title,
#jemputan-title.text-arrived .animated-title { animation: title-unveil 1.25s .15s cubic-bezier(.22,.65,.26,1) both; }
.cover .animated-title::after,.cinema[data-phase="open"][data-arrived] .hall .animated-title::after,
#jemputan-title.text-arrived .animated-title::after { animation: title-line .65s .54s ease-out both; }
@keyframes title-unveil {
  from { opacity: .55; clip-path: inset(0 99% -.2em -.15em); transform: translateY(4px); }
  to { opacity: 1; clip-path: inset(0 -.15em -.2em -.15em); transform: none; }
}
@keyframes title-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .flower-frame::before,.flower-frame::after,
  .cover .animated-title,.cinema[data-phase="open"][data-arrived] .hall .animated-title,
  #jemputan-title.text-arrived .animated-title,
  .cover .animated-title::after,.cinema[data-phase="open"][data-arrived] .hall .animated-title::after,
  #jemputan-title.text-arrived .animated-title::after { animation: none !important; }
}

/* Lock the cover only once the enhanced opening is ready. */
html:has(.cinema[data-phase]:not([data-phase="open"])) { overflow: hidden; overscroll-behavior: none; }
.cinema[data-phase]:not([data-phase="open"]) { touch-action: none; }
.cinema[data-phase]:not([data-phase="open"]) ~ #card-content { display: none; }

@media (max-height: 590px) {
  .cinema:not([data-phase="open"]) { min-height: 100svh; }
  .cover-names { padding-top: max(16px, env(safe-area-inset-top)); }
  .cover .ink-signature { max-height: 24svh; }
  .cover-actions { margin-bottom: max(12px, env(safe-area-inset-bottom)); }
}

.petal-field.petals-paused i { animation-play-state: paused; }

@media (max-width: 759px) and (prefers-reduced-motion: no-preference) {
  /* Keep the large doorway image on transform/opacity during the phone transition. */
  .cinema[data-phase="opening"] .scene-exterior { mask-image: none; animation: none; }
  .cinema[data-phase="opening"] .scene-entry { animation: phone-enter var(--entrance-duration) both; }
  .cinema[data-phase="opening"] .scene-interior { animation: phone-hall-settle var(--entrance-duration) both; }
  .static-doors { perspective: 540px; }
  .cinema[data-phase="opening"] .static-doors span:first-child { animation-name: phone-door-left; }
  .cinema[data-phase="opening"] .static-doors span:last-child { animation-name: phone-door-right; }
  .cinema[data-phase="opening"] .scene-images::after {
    content: "";
    position: absolute;
    inset: 14% 0 0;
    background: radial-gradient(ellipse 70% 43% at 50% 63%,#ffe5b990,transparent);
    opacity: 0;
    pointer-events: none;
    animation: phone-door-glow var(--entrance-duration) both;
  }
  .cinema[data-phase="open"][data-arrived] .hall-copy h2 { animation: phone-text-settle .66s cubic-bezier(.22,.7,.3,1) both; }
  .cinema[data-phase="closed"] .open-icon svg { animation: phone-tap .7s 1.4s ease-out 2 alternate; }
  .open-card:active { transform: scale(.97); }
  .petal-field .petal-extra { display: none; }
  .petal-field .foreground { filter: none; }
  .petal-field i { animation-name: phone-petal-fall; }
  .motion-arrived { animation: phone-text-settle .57s cubic-bezier(.22,.7,.3,1) both; }

  @keyframes phone-enter {
    0%, 12% { transform: scale(1); opacity: 1; animation-timing-function: cubic-bezier(.26,.65,.39,1); }
    43% { transform: scale(1.34); opacity: .86; animation-timing-function: cubic-bezier(.25,.55,.35,1); }
    89%, 100% { transform: scale(1.92); opacity: 0; }
  }
  @keyframes phone-hall-settle {
    0%, 24% { transform: scale(1); opacity: .67; }
    100% { transform: scale(1.12); opacity: 1; }
  }
  @keyframes phone-door-left {
    0%, 5% { transform: rotateY(0); }
    61%, 100% { transform: rotateY(79deg); }
  }
  @keyframes phone-door-right {
    0%, 5% { transform: rotateY(0); }
    61%, 100% { transform: rotateY(-79deg); }
  }
  @keyframes phone-door-glow {
    0%, 17%, 100% { opacity: 0; }
    43% { opacity: .58; }
    73% { opacity: .22; }
  }
  @keyframes phone-text-settle {
    from { opacity: .62; transform: translateY(11px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes phone-tap {
    from { transform: translateX(0); }
    to { transform: translateX(4px); }
  }
  @keyframes phone-petal-fall {
    0% { transform: translate3d(0,-14px,0) rotate(-32deg) rotateY(0); opacity: 0; }
    13%, 83% { opacity: var(--petal-opacity,.49); }
    47% { transform: translate3d(calc(var(--wind) * .65),48svh,0) rotate(115deg) rotateY(165deg); }
    100% { transform: translate3d(calc(var(--wind) * -.28),calc(100svh + 65px),0) rotate(348deg) rotateY(360deg); opacity: 0; }
  }
}

.sound-button { right: auto; left: max(14px,calc((100% - var(--frame))/2 + 22px)); }

/* Full-screen phone layout */
.contact-copy { display: grid; gap: 2px; }
.contact-copy strong { font-weight: 600; }
.contact-copy>span { font-size: .875rem; font-weight: 400; }
@media (max-width: 759px) {
  :root { --dock: calc(78px + env(safe-area-inset-bottom)); }
  html { width: 100%; overflow-x: clip; background: #fff8ef; scroll-padding-top: 76px; }
  body { width: 100%; max-width: none; box-shadow: none; font-size: 1rem; line-height: 1.8; }
  main,#card-content { width: 100%; min-width: 0; }
  .section { padding: 54px max(22px,env(safe-area-inset-right)) 54px max(22px,env(safe-area-inset-left)); }
  section[id] { scroll-margin-top: 74px; }
  .section h2 { font-size: clamp(2.5rem,10vw,3.2rem); line-height: 1.08; margin-bottom: 28px; }
  .cinema { height: 100svh; min-height: 100svh; }
  .cinema::before { display: none; }
  .cinema::after { background: linear-gradient(180deg,#161429ce 0%,#22192b66 36%,transparent 59%,#221527b3 84%,#25162bec 100%); }
  .cover,.hall { width: 100%; min-height: 100svh; }
  .cover { display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
  .cinema[data-phase="opening"] .cover { display: flex; }
  .cover-names { width: 100%; padding: clamp(78px,13svh,126px) 24px 0; }
  .cover .eyebrow { font-size: .75rem; letter-spacing: .24em; }
  .cover .ink-signature { display: none; }
  .cover .cover-title {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    font: 400 clamp(2.6rem,10.8vw,3.65rem)/1.06 var(--serif);
    letter-spacing: -.015em;
    display: grid;
    gap: 5px;
    margin: 19px 0 0;
    text-wrap: balance;
    color: #fff2d9;
  }
  .cover-title span { animation: mobile-name-reveal 1.1s .2s cubic-bezier(.22,.6,.3,1) both; }
  .cover-title span:last-child { animation-delay: .65s; }
  .cover .cover-title i { font-size: .48em; color: #edc991; line-height: 1.1; }
  .cover-details { margin-top: 24px; padding: 12px 8px; width: fit-content; max-width: 100%; gap: 5px; }
  .cover-details .cover-date { font-size: .875rem; letter-spacing: .05em; }
  .cover-venue { font-size: .8125rem; }
  .cover-actions { width: 100%; padding: 0 24px; margin-bottom: max(28px,calc(env(safe-area-inset-bottom) + 18px)); }
  .cover-actions .open-card { width: min(100%,310px); justify-content: space-between; min-height: 56px; padding: 8px 9px 8px 24px; font-size: 1rem; border-radius: 18px; }
  .open-icon { width: 38px; height: 38px; border-radius: 12px; }
  .flowers-left { left: -12%; }
  .flowers-right { right: -12%; }
  .scene-flowers { width: min(31vw,145px); bottom: 7%; }
  .crown-left,.crown-right { width: 24vw; top: 1%; }
  .cinema[data-phase="open"] { height: auto; }
  .hall { display: flex; align-items: end; justify-content: center; }
  .hall-copy { max-width: 520px; padding: 25px 22px calc(var(--dock) + 28px); background: linear-gradient(0deg,#2b192de8 0%,#2b192d9c 70%,transparent); }
  .hall-copy h2 { font-size: clamp(2rem,8.7vw,2.7rem); line-height: 1.08; margin: 12px 0 16px; }
  .hall-family { font-size: .57em; line-height: 1.35; }
  .hall-copy p:not(.eyebrow) { font-size: .875rem; line-height: 1.65; }
  .hall-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; margin-top: 17px; }
  .hall-actions .hall-link { min-height: 48px; padding: 9px 8px; justify-content: center; font-size: .875rem; border-radius: 12px; line-height: 1.3; }
  .music-button { top: max(14px,env(safe-area-inset-top)); right: max(14px,env(safe-area-inset-right)); min-height: 44px; padding: 0 12px; font-size: .75rem; border-radius: 14px; backdrop-filter: blur(12px); }
  .sound-button { right: auto; left: max(14px,env(safe-area-inset-left)); }
  .invitation { background: #fff8ef; }
  .letter { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 24px; max-width: 520px; }
  .letter::after { display: none; }
  .letter p:not(.arabic) { width: 100%; max-width: 36ch; line-height: 1.85; }
  .letter .greeting { font-size: clamp(1.1rem,4.8vw,1.35rem); line-height: 1.9; }
  .letter .bismillah { font-size: 1.65rem; margin: 0; line-height: 1.8; }
  .letter h2 { font-size: clamp(2.7rem,10.5vw,3.2rem); margin: 0; }
  .letter .hosts { font-size: 1rem; gap: 2px; line-height: 1.7; }
  .hosts i { margin: 3px 0; }
  .letter .invitation-names { font-size: clamp(1.9rem,8vw,2.5rem); line-height: 1.22; padding: 25px 0; border-color: #dbc4b8; }
  .invitation-names>span { text-wrap: balance; }
  .letter .invitation-date { font-size: 1rem; border: 0; padding: 0; line-height: 1.9; }
  .letter .pantun { font-size: clamp(1.5rem,6.1vw,1.8rem); line-height: 1.5; }
  .event { background: #492638; }
  .event-grid { display: flex; flex-direction: column; gap: 23px; max-width: 520px; }
  .event-grid>* { max-width: none; width: 100%; }
  .event-grid .countdown-wrap { order: -1; padding: 0 0 8px; border: 0; background: transparent; box-shadow: none; }
  .countdown-wrap h3 { font: 400 1.4rem/1.3 var(--serif); margin: 0 0 18px; color: #f0d7bf; }
  .countdown { width: 100%; max-width: none; gap: 8px; margin: 0; }
  .countdown span { padding: 15px 2px 12px; border: 1px solid #d9b7a442; border-radius: 15px; background: #ffffff08; font-size: .8125rem; color: #eed8c8; }
  .countdown b { font: 400 clamp(2.55rem,11vw,3.4rem)/1 var(--serif); margin-bottom: 8px; color: #fff9ec; }
  .event-grid .event-ticket { border-radius: 20px; box-shadow: none; background: #fff8ee; border-color: #e7c9b3; }
  .ticket-main { grid-template-columns: 64px minmax(0,1fr); padding: 22px 17px 14px; gap: 14px; }
  .ticket-main .date-tile strong { font-size: 3rem; }
  .ticket-main .date-tile span { font-size: .75rem; padding-block: 5px; }
  .ticket-details h3 { font: 400 1.65rem/1.15 var(--serif); margin-bottom: 9px; }
  .ticket-details p,.ticket-details a { font-size: .875rem; line-height: 1.5; align-items: start; }
  .ticket-details svg { margin-top: 3px; }
  .ticket-details a { min-height: 44px; margin-top: 8px; text-decoration: none; }
  .ticket-calendar { margin-inline: 17px; }
  .ticket-calendar summary { min-height: 58px; font-size: .875rem; }
  .ticket-calendar .calendar-actions { display: grid; gap: 9px; padding-bottom: 18px; }
  .calendar-actions .button { min-height: 48px; font-size: .875rem; border-radius: 12px; }
  .event-grid .event-program { border-radius: 18px; padding: 22px 19px; }
  .event-program h3,.event-prayer h3 { font-size: 1.8rem; margin-bottom: 15px; }
  .program-list li { grid-template-columns: 9ch minmax(0,1fr); padding: 12px 0; font-size: .9375rem; gap: 14px; }
  .event-grid .event-prayer { padding: 25px 10px 5px; border-bottom: 0; }
  .event-prayer p { font-size: .9375rem; line-height: 1.85; }
  .location { background: #f3e7dc; }
  .map-card { width: 100%; max-width: 520px; border-radius: 20px; border-color: #dfcabb; box-shadow: 0 8px 26px #4a25310c; background: #fffaf3; }
  .map-frame { height: 230px; }
  .map-copy { grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 22px 18px 10px; }
  .map-copy h3 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 8px; }
  .map-copy p { font-size: .9375rem; line-height: 1.7; }
  .venue-pin { width: 38px; height: 38px; border-radius: 12px; }
  .map-card .location-actions { padding: 12px 18px 20px; gap: 9px; }
  .map-card .location-actions .button { min-height: 50px; font-size: .9375rem; border-radius: 12px; }
  .map-credit { font-size: .6875rem; }
  .contacts { background: #fff8ef; }
  .contact-list { width: 100%; max-width: 520px; gap: 12px; }
  .contacts .contact-list a { min-height: 78px; gap: 15px; border-color: #e3cfc1; border-radius: 16px; padding: 15px 17px; background: #fffcf7; }
  .contact-list a>svg { width: 25px; height: 25px; margin: 0; color: #714158; }
  .contact-copy strong { font-size: 1rem; }
  .contact-copy>span { font-size: .9375rem; color: var(--muted); }
  .share-buttons { width: 100%; max-width: 520px; margin: 22px auto 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .share-buttons .button { min-height: 50px; font-size: .9375rem; border-radius: 13px; background: #6a354d; color: #fff9ef; }
  .share-buttons .copy { background: transparent; color: #63344a; border-color: #dac0b4; }
  .card-footer { padding: 38px 24px calc(var(--dock) + 38px); }
  .footer-names { max-width: 360px; margin-inline: auto; font-size: 2rem; line-height: 1.2; text-wrap: balance; }
  #replay { font-size: .8125rem; padding: 10px 15px; }
  .quick { left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; border-width: 1px 0 0; border-radius: 20px 20px 0 0; padding: 8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); background: #fffaf3f2; backdrop-filter: blur(18px); box-shadow: 0 -5px 28px #3d223112; }
  .quick a,.quick .contents-toggle { min-height: 54px; padding: 6px 2px; font-size: .75rem; font-weight: 600; gap: 5px; line-height: 1.2; color: #694458; border-radius: 12px; }
  .quick svg { width: 21px; height: 21px; color: inherit; }
  .quick .quick-calendar,.quick .quick-calendar svg { background: transparent; color: #694458; box-shadow: none; }
  .quick a:hover,.quick a[aria-current],.quick .quick-calendar:hover,.quick .quick-calendar[aria-current],.quick .contents-toggle[aria-expanded="true"] { color: #63344b; background: #f1e5e9; }
  .quick a[aria-current] span::after { display: none; }
  .contents-sheet { width: 100%; max-width: none; border-radius: 24px 24px 0 0; padding: 22px 22px max(24px,env(safe-area-inset-bottom)); }
  .contents-header { margin-bottom: 20px; }
  .contents-header h2 { font-size: 2.2rem; }
  .contents-links { gap: 10px; }
  .contents-links a { min-height: 58px; padding: 13px; font-size: .875rem; border-radius: 13px; border-color: #e2cdbd; }
  .contents-links a::after { display: none; }
  .flower-frame::before,.flower-frame::after { width: min(30vw,130px); opacity: .33; }
  .petal-field .foreground { --petal-opacity: .36; }
}
@keyframes mobile-name-reveal {
  from { opacity: 0; clip-path: inset(0 100% -.2em 0); transform: translateY(5px); }
  to { opacity: 1; clip-path: inset(0 -.1em -.2em -.1em); transform: none; }
}
@media (max-width: 359px) {
  .section { padding-inline: 18px; }
  .cover-names { padding-inline: 18px; }
  .cover .cover-title { font-size: 2.6rem; }
  .letter .hosts { font-size: .9375rem; }
  .ticket-main { grid-template-columns: 55px minmax(0,1fr); gap: 11px; padding-inline: 14px; }
  .ticket-details h3 { font-size: 1.45rem; }
  .countdown { gap: 6px; }
  .countdown b { font-size: 2.5rem; }
  .hall-actions { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 759px) and (max-height: 650px) {
  .cover-names { padding-top: max(64px,calc(env(safe-area-inset-top) + 54px)); }
  .cover .cover-title { font-size: clamp(1.9rem,8vw,2.75rem); gap: 0; margin-top: 12px; }
  .cover-details { margin-top: 12px; padding-block: 6px; }
  .cover-actions { margin-bottom: max(16px,env(safe-area-inset-bottom)); }
  .cover .eyebrow { font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cover-title span { animation: none; clip-path: none; opacity: 1; }
}

/* Invitation as a calm, touch-first phone interface. */
.phone-header,.section-kicker,.contact-intro,.sheet-handle { display: none; }
@media (max-width:759px) {
  :root { --dock:calc(94px + env(safe-area-inset-bottom)); }
  html,body { background:#f2e9e7; }
  body:has(.cinema[data-phase="open"]) .phone-header { display:flex; }
  .phone-header { position:fixed; inset:0 0 auto; z-index:35; height:calc(66px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) 112px 0 18px; align-items:center; background:#fffaf5ed; border-bottom:1px solid #6b3c5110; backdrop-filter:blur(18px); }
  .phone-identity { display:flex; align-items:center; gap:10px; color:#543346; text-decoration:none; line-height:1.25; }
  .phone-identity>span:last-child { display:grid; gap:4px; }
  .phone-identity strong { font-size:.875rem; font-weight:600; }
  .phone-identity small { font-size:.75rem; color:#876b77; }
  .phone-monogram { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:1px solid #dac2c6; border-radius:50%; font:italic 24px var(--serif); background:#f2e6e8; }
  .phone-monogram span { font-size:13px; margin:0 1px; }
  body:has(.cinema[data-phase="open"]) .music-button { top:calc(11px + env(safe-area-inset-top)); width:42px; min-width:42px; height:42px; min-height:42px; padding:10px; right:15px; border-radius:50%; border:1px solid #e4d3d4; background:#f7eeeb; color:#61354d; box-shadow:none; z-index:40; }
  body:has(.cinema[data-phase="open"]) .sound-button { left:auto; right:65px; }
  body:has(.cinema[data-phase="open"]) .music-button[aria-pressed="true"] { background:#6a354d; border-color:#6a354d; color:#fff8ef; }
  .section { padding:32px 20px; margin:12px; width:calc(100% - 24px); border-radius:28px; overflow:hidden; box-shadow:0 3px 16px #44293704; }
  .section h2 { font-size:2.35rem; margin-bottom:24px; }
  .section-kicker { display:block; font-size:.75rem; line-height:1.5; letter-spacing:.14em; font-weight:600; margin:0 0 8px; text-align:center; color:#967284; }
  .event .section-kicker { color:#dfb9c7; }
  .invitation { margin-top:16px; padding-top:36px; }
  .letter { gap:26px; }
  .letter h2 { font-size:2.7rem; }
  .letter p:not(.arabic) { font-size:1rem; }
  .letter .invitation-names { font-size:clamp(1.9rem,8vw,2.5rem); }
  .letter .pantun { font-size:1.6rem; }
  .event { background:linear-gradient(145deg,#603248,#402334); }
  .event-grid { gap:16px; }
  .countdown-wrap h3 { font:500 .875rem/1.4 var(--sans); margin-bottom:14px; }
  .countdown { gap:7px; }
  .countdown span { padding:16px 2px 13px; background:#fff8ef0c; border-color:#fff1df1f; border-radius:18px; font-size:.75rem; }
  .countdown b { font-size:clamp(2.4rem,10.5vw,3.3rem); font-variant-numeric:tabular-nums; }
  .ticket-main { grid-template-columns:58px minmax(0,1fr); padding:20px 15px 12px; gap:12px; }
  .ticket-details h3 { font-size:1.5rem; }
  .ticket-details p,.ticket-details a { font-size:.875rem; }
  .event-grid .event-ticket { border:0; border-radius:22px; }
  .ticket-calendar { margin-inline:15px; }
  .event-grid .event-program { background:#ffffff08; border:1px solid #ffffff1c; border-radius:22px; padding:20px 16px; }
  .event-program h3,.event-prayer h3 { font-size:1.65rem; }
  .program-list li { font-size:.875rem; gap:8px; }
  .event-grid .event-prayer { padding:20px 4px 0; }
  .location { background:#fffbf6; padding-inline:16px; }
  .map-card { border:0; background:#f5ede7; box-shadow:none; border-radius:22px; }
  .map-frame { height:210px; }
  .map-copy { padding:18px 15px 5px; gap:10px; }
  .map-copy h3 { font-size:1rem; }
  .map-copy p { font-size:.875rem; }
  .map-card .location-actions { padding:10px 15px 18px; }
  .contacts { background:#fffbf6; }
  .contacts h2 { margin-bottom:10px; }
  .contact-intro { display:block; font-size:.875rem; color:#866d78; text-align:center; margin:0 0 24px; line-height:1.6; }
  .contact-list { display:grid; gap:0; border-radius:20px; background:#f5eeea; padding:0 16px; }
  .contact-list li { margin:0; min-width:0; }
  .contacts .contact-list a { border:0; border-bottom:1px solid #dfcfd0; border-radius:0; padding:17px 0; background:transparent; min-height:80px; gap:13px; }
  .contacts .contact-list li:last-child a { border-bottom:0; }
  .contact-list a>svg { box-sizing:content-box; flex-shrink:0; width:21px; height:21px; padding:11px; border-radius:15px; background:#e9dde1; }
  .contact-copy>span { font-size:.875rem; }
  .share-buttons { margin-top:20px; }
  .share-buttons .button { min-height:50px; border-radius:16px; }
  .card-footer { background:transparent; padding-top:24px; }
  .footer-names { font-size:1.8rem; }
  .quick { left:12px; right:12px; bottom:calc(10px + env(safe-area-inset-bottom)); width:calc(100% - 24px); border:1px solid #ffffffb3; border-radius:27px; padding:7px; gap:3px; box-shadow:0 8px 32px #43233425; background:#fffaf5f5; }
  .quick a,.quick .contents-toggle { min-height:58px; border-radius:20px; font-size:.75rem; gap:5px; color:#816777; transition:background .22s,color .22s,transform .22s; }
  .quick svg { width:22px; height:22px; }
  .quick a[aria-current],.quick .quick-calendar[aria-current],.quick .contents-toggle[aria-expanded="true"] { color:#fff8ef; background:#67364e; box-shadow:0 3px 9px #67364e26; }
  .quick .quick-calendar[aria-current] svg { color:inherit; }
  .quick a:active,.quick .contents-toggle:active { transform:scale(.94); }
  .contents-sheet { border:0; border-radius:30px 30px 0 0; background:#fffaf5; padding:12px 20px calc(26px + env(safe-area-inset-bottom)); box-shadow:0 -16px 60px #28162120; }
  .sheet-handle { display:block; width:38px; height:5px; border-radius:5px; background:#d5bfc5; margin:0 auto 22px; }
  .contents-header h2 { font:600 1.2rem var(--sans); }
  .contents-header button { width:38px; height:38px; background:#efe4e6; border:0; border-radius:50%; color:#67364e; }
  .contents-links a { background:#f3e9e9; border:0; min-height:62px; border-radius:18px; font-weight:500; }
  .contents-sheet::backdrop { background:#2c152954; backdrop-filter:blur(4px); }
  .flower-frame::before,.flower-frame::after { opacity:.22; width:96px; }
  .cover-actions .open-card { border-radius:23px; box-shadow:0 6px 28px #170e2638; }
  .hall-copy { border-radius:32px 32px 0 0; }
}
@media (max-width:359px) {
 .section { margin:10px; width:calc(100% - 20px); padding-inline:15px; }
 .ticket-main { grid-template-columns:49px minmax(0,1fr); gap:9px; padding-inline:12px; }
 .ticket-details h3 { font-size:1.35rem; }
 .phone-identity { gap:7px; }
 .phone-identity strong { font-size:.8125rem; }
 .countdown b { font-size:2.2rem; }
}
/* Floral event details and guest-controlled map. */
.event-ticket { position:relative; overflow:hidden; isolation:isolate; }
.event-ticket::after { content:""; position:absolute; right:-27px; top:-18px; width:135px; height:175px; background:url('/scene/bunga.webp') center/contain no-repeat; opacity:.21; pointer-events:none; z-index:-1; transform:rotate(-18deg); }
.event-program { position:relative; overflow:hidden; }
.event-program::after { content:""; position:absolute; right:-32px; bottom:-42px; width:130px; height:180px; background:url('/scene/bunga.webp') center/contain no-repeat; opacity:.18; pointer-events:none; transform:rotate(24deg); }
.map-frame { position:relative; overflow:hidden; touch-action:pan-y; }
.map-frame .map-tiles { transition:transform .35s ease; transform-origin:center; }
.map-tools { position:absolute; left:12px; top:12px; z-index:5; display:flex; flex-direction:column; gap:6px; }
.map-tools button { width:44px; height:44px; border:1px solid #dfcbd0; border-radius:14px; background:#fffaf5f5; color:#67364e; font:600 22px system-ui; box-shadow:0 3px 12px #39203219; cursor:pointer; }
.map-tools button:disabled { opacity:.5; }
.map-hint { font-size:.8125rem; color:#806474; margin:0; padding:12px 18px 0; text-align:center; }
.map-card .location-actions { display:grid; }
@media(prefers-reduced-motion:no-preference){.event-ticket::after { animation:detail-bloom 7s ease-in-out infinite alternate; } @keyframes detail-bloom { to {transform:rotate(-11deg) translateY(5px);} }}

/* Venue destination card: map first, clear navigation and address. */
#lokasi { background:#f8f0eb; }
/* Floral arch reference: layered frame, soft ivory light and slow reveals. */
.reference-monogram { font:400 clamp(3rem,13vw,5.5rem)/1 var(--serif); letter-spacing:-.1em; color:#f7dfc0; margin:0 auto 20px; text-shadow:0 2px 24px #50263b60; }
.reference-monogram span { font-style:italic; font-size:.4em; letter-spacing:0; margin-inline:4px; }
.scroll-cue { display:grid; justify-items:center; gap:3px; margin:16px 0 8px; font:500 .75rem/1.6 var(--sans); letter-spacing:.07em; color:#f2ddcc; }
.scroll-cue span { font:24px/1 var(--sans); }
.cinema .scene-exterior { filter:sepia(.16) saturate(.8); }
.cinema::after { background:linear-gradient(180deg,#45273a99,transparent 55%,#3a2039d9); }
.cinema .flowers-left,.cinema .flowers-right { width:clamp(125px,28vw,260px); bottom:0; }
.cinema .crown-left,.cinema .crown-right { opacity:.9; width:clamp(120px,26vw,250px); }
.cover-details { border-color:#efd5bb80; }
.invitation.flower-frame::before,.invitation.flower-frame::after { opacity:.4; width:min(35vw,190px); }
.invitation { background:radial-gradient(ellipse at center,#fffdf7,#f6e8e3); }
.letter .invitation-names { color:#78455e; }
@media(max-width:759px){
 .cover-names { padding-top:clamp(76px,10svh,100px); }
 .reference-monogram { font-size:3.5rem; margin-bottom:16px; }
 .cover .cover-title { font-size:clamp(2.3rem,9.7vw,3.3rem); margin-top:12px; }
 .cover-details { margin-top:16px; }
 .cinema .crown-left { left:-8%; top:7%; }
 .cinema .crown-right { right:-8%; top:7%; }
 .cinema .scene-flowers { filter:saturate(.75) brightness(1.09); }
 .hall-copy { background:linear-gradient(0deg,#42293aee,#57364ea6 70%,transparent); }
}
@media(max-width:759px) and (max-height:650px){
 .reference-monogram { font-size:2.4rem; margin-bottom:8px; }
 .cover .cover-title { font-size:1.9rem; margin-top:8px; }
 .cover-details { margin-top:10px; }
}
@media(prefers-reduced-motion:no-preference){
 .reference-monogram { animation:reference-reveal 1.8s ease both; }
 .scroll-cue span { animation:reference-scroll 2.2s ease-in-out infinite; }
 .motion-arrived { animation-duration:1s; }
 @keyframes reference-reveal { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none} }
 @keyframes reference-scroll { 50%{transform:translateY(5px);opacity:.5} }
}
/* Ivory palace and floral arch, matching the supplied video direction. */
.cinema { background:#f8edde; color:#67412e; }
.cinema::after { background:linear-gradient(180deg,transparent 15%,#fff7e12e 52%,#f8e7d166); }
.cinema .scene-exterior { filter:none; object-position:center; }
.cinema .floral-motion { display:none; }
.cinema .static-doors { opacity:.15; }
.cover-names { text-shadow:none; padding-top:clamp(120px,20svh,180px); }
.reference-monogram { color:#74452f; text-shadow:none; font-size:clamp(4rem,17vw,6rem); }
.cover .eyebrow { color:#79553a; }
.cover .cover-title { color:#67412e; }
.cover .cover-title i { color:#a57b4e; }
.cover-details { border-color:#b7926154; color:#67412e; }
.cover-actions .open-card { background:#765035; color:#fff9ef; border-color:#765035; box-shadow:0 5px 20px #573b2c20; }
.open-icon { background:#fff4dc22; color:#fff5e5; }
.hall-copy { background:linear-gradient(0deg,#fff5e7f7,#fff5e7d9 72%,transparent); color:#67412e; }
.hall-copy .eyebrow,.hall-copy h2,.hall-copy .hall-details,.scroll-cue { color:#67412e; }
.hall-copy .hall-amp { color:#9e704a; }
.hall-actions .hall-link { color:#fff9ed; background:#79513a; border-color:#79513a; }
.hall-actions .hall-link-secondary { color:#79513a; background:#fffaf1; }
.card-footer { background:#f6e9dc; color:#704732; }
.card-footer .footer-names { color:#704732; }
.card-footer .footer-names i { color:#9d7753; }
.card-footer #replay { color:#704732; border-color:#bba38e; background:#fff9f0; }
#card-content { background:#efe0d3; }
#jemputan { background:linear-gradient(#fffaf1ed,#fffaf1f2),url('/scene/gerbang-ivory.webp') center/cover; }
.event { background:#9b795f; }
.event .section-kicker,.event h2,.event-prayer,.event-prayer p,.event-program { color:#fffaf0; }
@media(max-width:759px){
 body:has(.cinema[data-phase="open"]) .phone-header { display:none; }
 html { scroll-padding-top:20px; }
 section[id] { scroll-margin-top:20px; }
 body:has(.cinema[data-phase="open"]) .music-button { top:max(12px,env(safe-area-inset-top)); }
 body:has(.cinema[data-phase="open"]) .sound-button { top:max(12px,env(safe-area-inset-top)); }
 .music-button { background:#fffaf0e8; color:#79503a; border:1px solid #d1b99d; }
 .cover-names { padding-top:clamp(125px,21svh,190px); }
 .cover .cover-title { font-size:clamp(2.4rem,10vw,3.4rem); color:#67412e; }
 .cover .cover-title i { color:#a57b4e; }
 .cover-details { margin-top:18px; }
 .reference-monogram { font-size:4.4rem; margin-bottom:18px; }
 .cover-actions { margin-bottom:max(46px,calc(env(safe-area-inset-bottom) + 32px)); }
 .cover-actions .open-card { width:min(100%,270px); }
 .hall-copy { background:linear-gradient(0deg,#fff5e7f7,#fff5e7db 75%,transparent); }
 .hall-copy p:not(.eyebrow) { color:#67412e; }
 .card-footer { background:#f6e9dc; padding-top:36px; }
 .card-footer .footer-names { color:#704732; }
 .quick { background:#fffbf2f5; }
 .section { border-radius:24px; }
 .event { background:#9b795f; }
}
@media(max-width:759px) and (max-height:650px){
 .cover-names { padding-top:94px; }
 .reference-monogram { font-size:2.6rem; margin-bottom:10px; }
 .cover .cover-title { font-size:1.9rem; }
 .cover-details { margin-top:10px; }
 .cover-actions { margin-bottom:22px; }
}
.cover .cover-details .cover-date,.cover .cover-venue { color:#67412e; text-shadow:none; }
.hall-copy .hall-family { color:#805e49; }

/* Animated garden: independent depth, floral wings and sunlight layers. */
.chapter-caption { font:600 .75rem/1.6 var(--sans); letter-spacing:.18em; color:#9b7658; }
.living-frame { position:absolute; inset:0; pointer-events:none; z-index:0; overflow:hidden; }
.living-side,.living-bottom,.palace-depth { position:absolute; inset:0; background:url('/scene/gerbang-ivory.webp') center/cover no-repeat; pointer-events:none; }
.living-side { transform-origin:50% 10%; }
.living-left { mask-image:linear-gradient(90deg,#000 0%,#000 7%,transparent 26%); }
.living-right { mask-image:linear-gradient(270deg,#000 0%,#000 7%,transparent 26%); }
.living-bottom { mask-image:linear-gradient(0deg,#000,transparent 19%); transform-origin:center bottom; }
.palace-depth { opacity:0; }
.water-light { position:absolute; inset:64% 27% 16%; background:repeating-linear-gradient(170deg,transparent 0 12px,#fffdf97a 13px,transparent 16px 26px); mask-image:radial-gradient(ellipse,#000,transparent 68%); mix-blend-mode:screen; opacity:.22; }
.garden-light { position:absolute; width:5px; height:5px; border-radius:50%; box-shadow:0 0 13px 4px #fff8d899; background:#fffdf0; opacity:.5; }
.light-one{left:17%;top:49%;}.light-two{right:13%;top:34%;}.light-three{left:66%;top:75%;}
.cover,.hall { z-index:1; }
.cinema .scene-couple { z-index:1; }
.cinema[data-phase="opening"] .living-frame { opacity:0; transition:opacity 1.8s; }
.cinema[data-phase="open"] .living-frame { opacity:.85; }
.cinema .static-doors { display:none; }
.cinema[data-phase="open"] .scene-interior { transform:translateY(var(--scene-scroll,0px)) scale(1.12); }
#card-content { background:#faf1e5; }
#jemputan { background:linear-gradient(#fff9efe8,#fff9eff2),url('/scene/gerbang-ivory.webp') center/cover; border-radius:46% 46% 0 0 / 5% 5% 0 0; }
.letter { gap:30px; }
.letter .hosts { color:#79543d; }
.letter .invitation-names { border-color:#bc9b6e69; }
.section-kicker { color:#977253; }
.event { background:#947459; color:#fff9ec; }
.event .event-grid .countdown-wrap { background:transparent; }
.event .event-ticket { box-shadow:0 10px 32px #4b32151a; }
.event-prayer { padding:32px 18px; }
.event-prayer h3 { font-style:italic; }
#hubungi { background:#fff8ef; }
#hubungi .contact-list { background:transparent; border-top:1px solid #dac2a6; border-bottom:1px solid #dac2a6; border-radius:0; padding:0; }
#hubungi .contact-list a { background:transparent; }
#hubungi .contact-list a>svg { color:#805c3f; background:#eee1cf; }
#hubungi .share-buttons .share { background:#805c3f; border-color:#805c3f; }
.quick { background:#fffbf2f5; border-color:#e1cdae; }
.quick a[aria-current],.quick .quick-calendar[aria-current],.quick .contents-toggle[aria-expanded="true"] { background:#805c3f; }
@media(max-width:759px){
 .section { margin:0; width:100%; border-radius:0; box-shadow:none; padding:58px 26px; }
 #jemputan { margin-top:0; padding-top:68px; border-radius:46% 46% 0 0 / 3% 3% 0 0; }
 .letter { gap:28px; }
 .letter h2 { font-size:2.9rem; }
 .event { background:#947459; }
 .event-grid { gap:25px; }
 .event-grid .event-ticket { border-radius:24px; }
 .event-grid .event-program { border-radius:0; border-width:1px 0; background:transparent; }
 .event-grid .event-prayer { padding:28px 6px 0; }
 #lokasi { padding:56px 20px; background:#f7ecdd; }
 #hubungi { padding:55px 26px 35px; }
 .contact-list a>svg { border-radius:50%; }
 .quick { width:calc(100% - 36px); left:18px; right:18px; border-radius:24px; padding:5px; box-shadow:0 4px 24px #563b2624; }
 .quick a,.quick .contents-toggle { min-height:52px; border-radius:18px; }
 .quick a[aria-current],.quick .quick-calendar[aria-current],.quick .contents-toggle[aria-expanded="true"] { background:#805c3f; }
 .music-button,body:has(.cinema[data-phase="open"]) .music-button { width:40px; min-width:40px; min-height:40px; height:40px; border-radius:50%; padding:10px; background:#fffaf0ed; color:#805c3f; }
 body:has(.cinema[data-phase="open"]) .music-button[aria-pressed="true"] { background:#805c3f; border-color:#805c3f; }
 .petal-field .petal-extra { display:block; }
 .hall-copy { padding-bottom:calc(var(--dock) + 25px); }
}
@media(prefers-reduced-motion:no-preference){
 .cinema.in-view .living-left { animation:garden-left 9s ease-in-out infinite alternate; }
 .cinema.in-view .living-right { animation:garden-right 10.5s ease-in-out infinite alternate; }
 .cinema.in-view .living-bottom { animation:garden-bottom 8s ease-in-out infinite alternate; }
 .cinema.in-view .garden-light { animation:garden-drift 8s ease-in-out infinite; }
 .cinema.in-view .light-two { animation-delay:-3s; }.cinema.in-view .light-three{animation-delay:-5s;}
 .cinema.in-view .water-light { animation:water-flow 6s linear infinite; }
 .cinema[data-phase="closed"].in-view .scene-entry { animation:palace-breathe 15s ease-in-out infinite alternate; }
 .cinema[data-phase="opening"] .scene-entry { animation:film-entry var(--entrance-duration) cubic-bezier(.22,.65,.3,1) both; }
 .cinema[data-phase="opening"] .scene-interior { animation:film-arrive var(--entrance-duration) ease-out both; }
 .cinema[data-phase="open"] .scene-couple img { animation:couple-float 7s ease-in-out infinite alternate; }
 .text-arrived { animation-duration:1.3s; }
 @keyframes garden-left { from{transform:rotate(-.7deg) scale(1.025)}to{transform:rotate(1deg) scale(1.045) translateY(3px)} }
 @keyframes garden-right { from{transform:rotate(.8deg) scale(1.035)}to{transform:rotate(-.8deg) scale(1.02) translateY(-3px)} }
 @keyframes garden-bottom { from{transform:scale(1.02)}to{transform:scale(1.045) translateY(4px)} }
 @keyframes garden-drift { 0%,100%{transform:translate(0,0);opacity:0}40%,65%{opacity:.7}80%{transform:translate(15px,-70px);opacity:0} }
 @keyframes water-flow { to{background-position:0 52px} }
 @keyframes palace-breathe { from{transform:scale(1)}to{transform:scale(1.045)} }
 @keyframes film-entry {
   0% { transform: scale(1); opacity: 1; }
   22% { transform: scale(1.08); opacity: 1; }
   54% { transform: scale(1.48); opacity: .66; }
   88%, 100% { transform: scale(2.02); opacity: 0; }
 }
 @keyframes film-arrive {
   0% { transform: scale(1.02); opacity: 1; }
   55% { transform: scale(1.09); }
   100% { transform: scale(1.12); opacity: 1; }
 }
 @keyframes couple-float { to{transform:translateY(-5px)} }
}
@media(prefers-reduced-motion:reduce){.living-frame,.water-light{display:none}.cinema .scene-entry,.scene-couple img{animation:none!important}}
.calendar-actions .primary,#lokasi .location-actions .primary { background:#805c3f; border-color:#805c3f; }
.contents-sheet { background:#fff8ed; }
.contents-links a { background:#f0e3d2; color:#79543d; }

/* Music player and unified action icons */
body:has(.cinema[data-phase="open"]) .sound-button { left:14px; right:auto; }
.music-button:not(.sound-button)[aria-pressed="true"] svg { stroke-width:3; }
.contact-list a>svg,.quick svg,.location-actions svg { stroke-width:1.6; }
/* Nama pasangan menjadi fokus utama kad. */
.cover .cover-title { font-size:clamp(3.2rem,7vw,5.4rem); line-height:1.05; }
.hall-copy h2 { font-size:clamp(3rem,6vw,4.8rem); }
.letter .invitation-names { font-size:clamp(2.6rem,5.5vw,4rem); line-height:1.15; }
@media(max-width:759px){
 .reference-monogram { font-size:3rem; margin-bottom:12px; }
 .cover .cover-title { font-size:clamp(2.9rem,12.5vw,3.9rem); line-height:1.05; }
 .hall-copy h2 { font-size:clamp(2.6rem,11.5vw,3.5rem); line-height:1.08; }
 .hall-family { font-size:.46em; }
 .letter .invitation-names { font-size:clamp(2.4rem,10.5vw,3.2rem); line-height:1.16; }
}
@media(max-width:759px) and (max-height:650px){
 .reference-monogram { font-size:2rem; margin-bottom:6px; }
 .cover .cover-title { font-size:clamp(2.3rem,10vw,2.9rem); }
}

/* A separate portrait and type area keeps the mobile hall legible at any height. */
#majlis.event {background:linear-gradient(160deg,#633e40,#493036 65%,#52363e);color:#fff7e9}
#majlis .countdown-wrap #count-title,#majlis .section-kicker {color:#ffe9ce}
#majlis .countdown span {color:#ffedd8;background:#ffffff0e;border-color:#ebd0ac5c}
#majlis .countdown b {color:#fff8ea;font-size:clamp(2.65rem,12vw,4.3rem);font-variant-numeric:tabular-nums}
#majlis .event-ticket::after {display:none}
#majlis .ticket-details h3 {line-height:1.18}
#majlis .ticket-main {align-items:center}
.cinema .static-doors {display:flex;opacity:.75;perspective:750px}
.cinema[data-phase=opening] .scene-entry {transform-origin:50% 48%}
@media(max-width:759px){
 .cinema .hall {flex-direction:column;justify-content:center;align-items:center;padding-top:max(64px,calc(env(safe-area-inset-top) + 55px))}
 .cinema:not([data-phase=open]) .hall {position:absolute;inset:0}
 .cinema .hall-copy {align-self:center;padding:8px 18px calc(var(--dock) + 16px);background:linear-gradient(transparent,#fff7eae6 14%,#fff7eaf5);border-radius:0;text-shadow:none}
 .hall .hall-copy h2 {margin:6px 0 10px;line-height:1.04;text-shadow:none}
 .hall-copy .hall-details {margin:6px auto}
 .hall .hall-actions {margin-top:5px}
 #majlis .ticket-main {gap:10px}
 .cinema .living-frame {transition:opacity 1.4s ease}
}
@media(prefers-reduced-motion:no-preference){
 .cinema[data-phase=open][data-arrived] .hall .hall-name {animation:unveil-name 1.25s cubic-bezier(.22,.7,.25,1) .15s both}
 .cinema[data-phase=open][data-arrived] .hall .hall-name-second {animation-delay:.54s}
 @keyframes unveil-name {from{clip-path:inset(0 100% 0 0);opacity:.2;transform:translateY(4px)}to{clip-path:inset(-4% -2%);opacity:1;transform:none}}
 @keyframes portrait-enter {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
}
.quick a[aria-current],.quick .quick-calendar[aria-current],.quick .contents-toggle[aria-expanded="true"] {background:#76503a;color:#fff9ed}
@media(hover:none){.quick a:not([aria-current]),.quick .quick-calendar:not([aria-current]) {background:transparent;color:#6d515a}}

/* Align the interactive area with the glass doors. */
.cinema {
  --door-width: min(88%, 560px);
  --door-top: max(64px, 10%);
  --door-bottom: max(145px, 22%);
}
.cinema:not([data-phase=open]) .scene-images {
  inset: 0;
  width: 100%;
  mask-image: none;
}
.cinema .static-doors {
  inset: var(--door-top) auto var(--door-bottom) 50%;
  width: var(--door-width);
  opacity: 1;
}
.static-doors span {
  border-color: #b38b51;
  background: linear-gradient(145deg, #fff9eb88, #fff5e266 62%, #e7cdb355);
  box-shadow: inset 0 0 0 2px #fff5dcb3, 0 2px 10px #74513622;
}
.static-doors span::after { background: none; border-color: #b9935d8c; }
.static-doors span::before { top: 72%; }

.door-trigger {
  position: absolute;
  z-index: 1;
  top: var(--door-top);
  bottom: var(--door-bottom);
  left: 50%;
  width: var(--door-width);
  transform: translateX(-50%);
  border-radius: 50% 50% 6px 6px / 20% 20% 6px 6px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.door-trigger:focus-visible { outline: 3px solid #86512d; outline-offset: -5px; }
.cover .cover-actions .cover-details {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 7px;
  padding: 6px 16px;
  border: 1px solid #b38b5170;
  border-radius: 14px;
  background: #fff6e9f5;
  line-height: 1.25;
}
.cover .cover-actions {
  position: absolute;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: min(90%, 370px);
  padding: 0;
}
.cover-actions .open-card { width: min(100%, 290px); }

.cover .cover-actions { z-index: 2; }
.petal-field .blossom {
  width: var(--size);
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 50%, #f9dc9b 0 12%, transparent 14%),
    radial-gradient(circle at 50% 26%, var(--petal) 0 24%, transparent 26%),
    radial-gradient(circle at 76% 46%, var(--petal) 0 24%, transparent 26%),
    radial-gradient(circle at 67% 75%, var(--petal) 0 24%, transparent 26%),
    radial-gradient(circle at 32% 75%, var(--petal) 0 24%, transparent 26%),
    radial-gradient(circle at 24% 46%, var(--petal) 0 24%, transparent 26%);
  box-shadow: none;
  filter: none;
}
@media (prefers-reduced-motion: no-preference) {
  .cinema[data-phase=closed] .scene-exterior {
    transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)) scale(1.045);
    transition: transform .42s ease-out;
  }
  .cinema[data-phase=open] .living-right { translate: 0 calc(var(--scene-scroll, 0px) * .45); }
  .flower-frame::before { translate: 0 var(--flower-depth, 0px); }
  .flower-frame::after { translate: 0 calc(var(--flower-depth, 0px) * -.7); }
}
@media (max-width: 759px) {
  .petal-field .petal-extra { display: none; }
}

/* The doors swing first, then the view advances through the opening. */
@media (prefers-reduced-motion: no-preference) {
  .cinema[data-phase="opening"] .static-doors span:first-child { animation-name: glass-hinge-left; }
  .cinema[data-phase="opening"] .static-doors span:last-child { animation-name: glass-hinge-right; }
  @keyframes glass-hinge-left {
    0% { transform: rotateY(0); }
    32% { transform: rotateY(-63deg); }
    63%, 100% { transform: rotateY(-87deg); }
  }
  @keyframes glass-hinge-right {
    0% { transform: rotateY(0); }
    32% { transform: rotateY(63deg); }
    63%, 100% { transform: rotateY(87deg); }
  }
}
@media (max-width: 759px) and (prefers-reduced-motion: no-preference) {
  .cinema.in-view .floral-motion { display: block; }
  .cinema .floral-motion .scene-flowers {
    width: clamp(88px, 30vw, 160px);
    opacity: .8;
    animation: phone-bouquet 4.2s ease-in-out infinite alternate;
  }
  .cinema .floral-motion .flowers-left { left: -14%; bottom: 10%; }
  .cinema .floral-motion .flowers-right { right: -14%; bottom: 10%; animation-delay: -2.1s; }
  .cinema .floral-motion .crown-left { left: -17%; top: 11%; animation-delay: -1s; }
  .cinema .floral-motion .crown-right { right: -17%; top: 11%; animation-delay: -3s; }
  .petal-field .blossom { --petal-opacity: .8; }
  .petal-field .foreground { --petal-opacity: .68; }
  @keyframes phone-bouquet {
    from { transform: translate3d(-4px, 4px, 0) rotate(-7deg); }
    to { transform: translate3d(7px, -7px, 0) rotate(8deg); }
  }
}

/* Keep the illustrated couple in front of the stage and the copy below it. */
@media (max-width: 759px) {
  .cinema[data-phase=open] .scene-interior {
    mask-image: linear-gradient(#000 0 43%, transparent 66%);
  }
  .cinema[data-phase=open] .living-frame { opacity: .4; }
  .cinema[data-phase=open] .floral-motion .crown-left,
  .cinema[data-phase=open] .floral-motion .crown-right { display: none; }
  .cinema .hall-copy {
    background: linear-gradient(180deg, #fff7e7, #fff9ef);
    box-shadow: 0 -12px 35px #fff7e85c;
    border-radius: 22px 22px 0 0;
  }
}
.music-button:not(.sound-button) svg { width: 21px; height: 21px; flex: none; }
.music-button:not(.sound-button)[aria-pressed=true] svg { stroke-width: 1.8; }

@media (prefers-reduced-motion: no-preference) {
  [data-slide].motion-arrived {
    --slide-from: -20px;
    animation: invitation-slide .82s cubic-bezier(.2,.7,.25,1) both;
  }
  .event-program[data-slide], .pantun[data-slide] { --slide-from: 20px; }
  .event-prayer.motion-arrived > p {
    animation: prayer-slide .85s .16s cubic-bezier(.2,.7,.25,1) both;
  }
  @keyframes invitation-slide {
    from { opacity: .22; transform: translate3d(var(--slide-from), 15px, 0); }
    to { opacity: 1; transform: none; }
  }
  @keyframes prayer-slide {
    from { opacity: .18; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* Anchor the couple to the pelamin in the artwork's own coordinates. */
.cinema .scene-interior,
.cinema:is([data-phase=opening],[data-phase=open]) .scene-interior {
  background: #f8edde;
  container-type: size;
}
.stage-art {
  position: absolute;
  top: 45%;
  left: 50%;
  width: max(100cqw, 66.667cqh);
  aspect-ratio: 2 / 3;
  transform: translate(-50%, -45%);
}
.stage-art .stage-background { display: block; width: 100%; height: 100%; }
.cinema .stage-art .scene-couple {
  position: absolute;
  opacity: 0;
  inset: auto auto 48% 50%;
  width: 30%;
  translate: -50% 0;
}
.cinema[data-phase=open] .stage-art .scene-couple { opacity: 1; }
.cinema .stage-art .scene-couple img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mask-image: none;
  animation: none;
  filter: drop-shadow(0 4px 6px #47243a55);
}
.music-button:not(.sound-button),
body:has(.cinema[data-phase=open]) .music-button:not(.sound-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: #fffaf0f5;
  color: #79543d;
  box-shadow: 0 4px 16px #5c36221a;
}
.music-button:not(.sound-button)[aria-pressed=true] {
  background: #805c3f;
  color: #fff8ef;
}
@media (max-width: 759px) {
  .sound-button span { display: none; }
  .cinema { --stage-height: clamp(220px, 39svh, 360px); }
  .cinema:is([data-phase=opening],[data-phase=open]) .scene-interior {
    height: var(--stage-height);
    overflow: hidden;
    mask-image: none;
    transform-origin: center top;
  }
  .cinema[data-phase=open] .scene-interior { transform: scale(1.12); }
  .stage-art {
    top: 86%;
    width: min(100cqw, 116cqh);
    transform: translate(-50%, -52%);
  }
  .cinema .hall {
    padding-top: var(--stage-height);
    justify-content: flex-start;
  }
}

.cinema:not([data-phase]) ~ #card-content #replay { display: none; }


/* Venue and directions */
#lokasi {
  --map-ink: #2f473b;
  --map-cream: #fffaf0;
  background: linear-gradient(150deg, #f7eddf, #eadfce);
  padding: clamp(46px, 7vw, 80px) clamp(16px, 4vw, 42px);
}
#lokasi h2 { color: var(--map-ink); }
#lokasi .map-card {
  display: grid;
  grid-template-areas: "venue" "map" "actions";
  max-width: 920px;
  padding: clamp(13px, 2vw, 22px);
  gap: 16px;
  border: 1px solid #daccb9;
  border-radius: 27px;
  background: var(--map-cream);
  box-shadow: 0 14px 40px #59422a19;
}
#lokasi .map-copy {
  grid-area: venue;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 6px 2px 0;
  text-align: left;
}
#lokasi .venue-pin { width: 42px; height: 42px; background: #e7eddf; color: var(--map-ink); }
#lokasi .map-copy h3 {
  margin: 0 0 5px;
  color: var(--map-ink);
  font: 400 clamp(1.75rem, 4vw, 2.6rem)/1.04 var(--serif);
}
#lokasi #venue-address { margin: 0; color: #575b4d; font-size: .875rem; line-height: 1.5; }
#lokasi .map-frame {
  grid-area: map;
  height: clamp(235px, 67vw, 345px);
  border: 1px solid #d6d9cc;
  border-radius: 18px;
  background: #e7ebdf;
}
#lokasi .map-marker {
  width: 42px;
  height: 42px;
  transform: translate(-50%, calc(-100% - 7px));
  border-radius: 50%;
  background: #365b49;
  z-index: 1;
  pointer-events: none;
}
#lokasi .map-marker::after {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: calc(50% - 7px);
  border: 7px solid transparent;
  border-top: 9px solid #365b49;
}
#lokasi .map-credit { right: auto; left: 0; line-height: 1.5; z-index: 2; }
#lokasi .map-expand { top: 10px; right: 10px; color: var(--map-ink); z-index: 3; }
#lokasi .map-tools {
  inset: auto 10px 14px auto;
  gap: 0;
  border: 1px solid #c7cebd;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 4px 14px #263c2e24;
}
#lokasi .map-tools button {
  border: 0;
  border-radius: 0;
  background: #fffdf6;
  color: var(--map-ink);
  box-shadow: none;
}
#lokasi .map-tools button + button { border-top: 1px solid #e3e5da; }
#lokasi .map-tools button:disabled { opacity: 1; color: #787f74; background: #f2f3eb; cursor: default; }
#lokasi .map-tools button:focus-visible { outline-offset: -3px; }
#lokasi .map-actions { grid-area: actions; min-width: 0; }
#lokasi .location-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0; }
#lokasi .location-actions .button { min-height: 48px; margin: 0; line-height: 1.2; border-radius: 14px; }
#lokasi .location-actions .primary { color: white; background: #365b49; border-color: #365b49; }
#lokasi .location-actions .outline { color: var(--map-ink); border-color: #c8cec0; background: transparent; }
#lokasi .address-field { width: 100%; }
#lokasi .address-status { margin-block: 8px; }
@media (min-width: 760px) {
  #lokasi .map-card {
    grid-template: "map venue" auto "map actions" 1fr / minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 16px clamp(18px, 4vw, 38px);
  }
  #lokasi .map-copy { align-self: end; padding: 32px 12px 0 0; }
  #lokasi .map-actions { align-self: start; padding-right: 12px; }
}

/* Shared surfaces across the invitation and the navigation dock. */
#majlis .event-ticket { border: 1px solid #ebd2b6; box-shadow: 0 14px 36px #2d192933; }
#majlis .event-program, #majlis .event-prayer { border-color: #e8c7a753; }
#hubungi .contact-list { border: 1px solid #e6d6c3; border-radius: 20px; background: #fffdf7; padding: 5px 13px; }
.quick {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  border-radius: 23px;
  background: #fffbf3f7;
  border-color: #dfccb3;
  box-shadow: 0 8px 28px #4c372830;
}
.quick a, .quick .quick-calendar, .quick .contents-toggle { border-radius: 17px; }
.quick .quick-calendar:not([aria-current]) { box-shadow: none; }
.quick a:not([aria-current]), .quick .quick-calendar:not([aria-current]) {
  background: transparent;
  color: #634739;
}
.quick .quick-calendar:not([aria-current]) svg { color: currentColor; }
.quick [aria-current] svg { color: currentColor; }
@media (hover: hover) {
  .quick a:not([aria-current]):hover, .quick .contents-toggle:hover { background: #f2e8da; }
}
@media (max-width: 759px) {
  .quick { width: calc(100% - 24px); left: 12px; right: 12px; }
}
