/* Celebrations other than a wedding: one name instead of two, the line under it, and ten openings.
   Markup and behaviour are in js/occasions.js. Loaded after openings.css. */

/* one name: a birthday, a shop, a family */
.names.solo span { font-size: 16cqw; }
.is3d .names.solo span { font-size: 18cqw; }
.tagline { margin: 4px auto 0; max-width: 88cqw; color: var(--w-soft, var(--i-hero-soft)); font: italic 500 5.4cqw/1.3 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif; }
.inv .cover.op .tagline { color: var(--op-soft); font-size: 5cqw; }
.inv .cover.op .names.solo span { font-size: 15cqw; }

/* shared pieces */
.op-sky, .op-rays, .op-door, .op-party, .op-home, .op-stagebg, .op-film, .op-lockwall, .op-space, .op-white { position: absolute; inset: 0; }
.op .op-ball, .op .op-gift, .op .op-scissors, .op .op-cake, .op .op-keyturn, .op .op-pullcord, .op .op-clap, .op .op-launch, .op .op-thali { position: absolute; left: 50%; translate: -50% 0; }
@keyframes oc-bob { 50% { translate: -50% -10px; } }
@keyframes oc-pulse { 50% { scale: 1.06; } }
@keyframes oc-drift { from { translate: -30cqw 0; } to { translate: 130cqw 0; } }
@keyframes oc-flicker { 50% { scale: .82 1.1; opacity: .85; } }
@keyframes oc-spin { to { rotate: 360deg; } }
@keyframes oc-num { 0% { opacity: 0; scale: 1.8; } 15% { opacity: 1; scale: 1; } 80% { opacity: 1; scale: .9; } 100% { opacity: 0; scale: .6; } }

/* ---------- balloon: it floats up and pops ---------- */
.cover.op-balloon { --op-name: #2a3a8a; --op-soft: #c2185b; --op-halo: rgba(255, 255, 255, .95); background: #9fd6ff; }
.op-sky { background: linear-gradient(#5fb4f6, #bfe6ff 55%, #fff4e0); }
.op-cloud { position: absolute; top: calc(8% + var(--i) * 11%); left: 0; width: 26cqw; height: 9cqw; border-radius: 99px; background: #fff; opacity: .85; box-shadow: 8cqw -3cqw 0 1cqw #fff, -6cqw 1cqw 0 -.5cqw #fff; animation: oc-drift calc(26s + var(--i) * 4s) linear infinite; animation-delay: calc(var(--i) * -5.3s); }
.op .op-ball { bottom: 90px; width: min(46cqw, 26svh); height: min(64cqw, 36svh); animation: oc-bob 2.6s ease-in-out infinite; transition: translate 1.1s cubic-bezier(.5, 0, .7, .4), scale .25s, opacity .25s; }
.op-ball b { position: absolute; inset: 0 0 26% 0; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: radial-gradient(circle at 34% 28%, #ffd0e6 0 9%, #ff3f8a 32%, #c4145c 96%); box-shadow: inset -8px -10px 24px rgba(120, 0, 50, .35); }
.op-ball b::after { content: ''; position: absolute; left: 44%; bottom: -5%; width: 12%; height: 7%; background: #c4145c; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.op-ball s { position: absolute; left: 50%; top: 74%; width: 2px; height: 26%; background: #fff; text-decoration: none; }
.op-balloon.open .op-ball { animation: none; translate: -50% -42svh; }
.op-balloon.burst .op-ball { scale: 2.4; opacity: 0; }
.op-balloon.burst .op-words { opacity: 0; transition: opacity .5s; }

/* ---------- gift box: the lid flies off ---------- */
.cover.op-giftbox { --op-name: #6a1b9a; --op-soft: #c2185b; --op-halo: rgba(255, 248, 252, .95); background: #ffe6f2; }
.op-sky.soft { background: radial-gradient(circle at 50% 70%, #fffdf6, #ffd8ec 55%, #d8c8ff); }
.op-rays { background: repeating-conic-gradient(from 0deg at 50% 70%, rgba(255, 255, 255, .55) 0 6deg, transparent 6deg 18deg); opacity: 0; transition: opacity .8s, scale 1s; }
.op .op-gift { bottom: 104px; width: min(56cqw, 30svh); aspect-ratio: 1 / 1.05; animation: oc-pulse 1.8s ease-in-out infinite; }
.op-gift .box { position: absolute; left: 6%; right: 6%; bottom: 0; height: 64%; border-radius: 6px; background: linear-gradient(90deg, transparent 43%, #ffd36a 43% 57%, transparent 57%), linear-gradient(#ff5fa8, #d81b70); box-shadow: inset -10px 0 0 rgba(0, 0, 0, .12); }
.op-gift .lid { position: absolute; left: 0; right: 0; top: 22%; height: 18%; border-radius: 6px; background: linear-gradient(90deg, transparent 43%, #ffd36a 43% 57%, transparent 57%), linear-gradient(#ff7fbf, #ff3f8a); transition: transform 1s cubic-bezier(.3, 1.4, .5, 1); z-index: 2; }
.op-gift .bow { position: absolute; left: 30%; right: 30%; top: 0; height: 26%; z-index: 3; background: radial-gradient(ellipse 28% 45% at 22% 60%, #ffd36a 96%, transparent), radial-gradient(ellipse 28% 45% at 78% 60%, #ffd36a 96%, transparent), radial-gradient(circle at 50% 75%, #f2b82a 18%, transparent 19%); transition: transform 1s cubic-bezier(.3, 1.4, .5, 1); }
.op-giftbox.open .op-gift { animation: none; }
.op-giftbox.open .op-gift .lid { transform: translate(18%, -170%) rotate(24deg); }
.op-giftbox.open .op-gift .bow { transform: translate(30%, -260%) rotate(40deg); }
.op-giftbox.open .op-rays { opacity: 1; animation: oc-spin 14s linear infinite; }
.op-giftbox.burst .op-gift, .op-giftbox.burst .op-words { opacity: 0; scale: 1.6; transition: opacity .6s, scale .6s; }

/* ---------- ribbon: golden scissors cut it ---------- */
.cover.op-ribbon { --op-name: #ffe9a8; --op-soft: #ffd0b0; --op-halo: rgba(60, 6, 12, .9); background: #5a0c14; }
.op-door { background: radial-gradient(ellipse at 50% 100%, rgba(255, 207, 106, .55), transparent 60%), linear-gradient(#2a4a6a, #1a2a40); }
.op-door i { position: absolute; bottom: 0; width: 34%; height: 58%; background: linear-gradient(#ffe8b8, #ffd07a); box-shadow: inset 0 0 0 6px #c8c8d0; transition: transform 1.2s ease .5s; }
.op-door i:first-child { left: 16%; transform-origin: 0 50%; }
.op-door i:last-child { right: 16%; transform-origin: 100% 50%; }
.op-band { position: absolute; left: 0; right: 0; top: 60%; height: 7%; z-index: 3; }
.op-band i { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(#ff3f5a, #c40f26 60%, #8a0a1a); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); transition: transform 1s cubic-bezier(.5, 0, .3, 1); }
.op-band .l { left: 0; transform-origin: 0 50%; }
.op-band .r { right: 0; transform-origin: 100% 50%; }
.op-band b { position: absolute; left: 50%; top: 50%; width: 22cqw; height: 22cqw; translate: -50% -50%; background: radial-gradient(circle, #ffd36a 14%, transparent 15%), radial-gradient(ellipse 45% 30% at 22% 50%, #ff3f5a 96%, transparent), radial-gradient(ellipse 45% 30% at 78% 50%, #ff3f5a 96%, transparent); transition: opacity .3s; }
.op .op-scissors { top: calc(60% - 30cqw); width: 26cqw; z-index: 4; animation: oc-bob 1.6s ease-in-out infinite; transition: translate .5s; }
.op-scissors .b1, .op-scissors .b2 { transform-origin: 32px 40px; transition: rotate .25s; }
.op-ribbon.open .op-scissors { animation: none; translate: -50% 18cqw; }
.op-ribbon.open .op-scissors .b1 { rotate: 14deg; }
.op-ribbon.open .op-scissors .b2 { rotate: -14deg; }
.op-ribbon.open .op-band b { opacity: 0; transition-delay: .5s; }
.op-ribbon.open .op-band .l { transform: rotate(70deg) scaleX(.6); transition-delay: .55s; }
.op-ribbon.open .op-band .r { transform: rotate(-70deg) scaleX(.6); transition-delay: .55s; }
.op-ribbon.open .op-door i:first-child { transform: perspective(600px) rotateY(70deg); }
.op-ribbon.open .op-door i:last-child { transform: perspective(600px) rotateY(-70deg); }
.op-ribbon.burst .op-scissors, .op-ribbon.burst .op-words { opacity: 0; transition: opacity .4s; }

/* ---------- candles: blow them out ---------- */
.cover.op-candles { --op-name: #fff2a8; --op-soft: #ffc8e0; --op-halo: rgba(40, 10, 60, .92); background: #2a1240; }
.op-party { background: radial-gradient(circle at 50% 74%, rgba(255, 190, 90, .5), transparent 46%), radial-gradient(circle at 20% 20%, #4a1e6a, #1e0a30 70%); transition: background .8s; }
.op .op-cake { bottom: 100px; width: min(64cqw, 34svh); height: min(60cqw, 32svh); }
.op-cake .plate { position: absolute; left: -6%; right: -6%; bottom: 0; height: 7%; border-radius: 50%; background: #e8e0f0; }
.op-cake .t1 { position: absolute; left: 4%; right: 4%; bottom: 5%; height: 36%; border-radius: 10px; background: linear-gradient(#ffb8d8 0 18%, #fff 18% 24%, #ff8fb8 24%); }
.op-cake .t2 { position: absolute; left: 20%; right: 20%; bottom: 40%; height: 26%; border-radius: 10px; background: linear-gradient(#fff 0 20%, #ffd0e4 20% 26%, #b48aff 26%); }
.op-cake .c { position: absolute; left: 24%; right: 24%; bottom: 65%; height: 32%; display: flex; justify-content: space-between; align-items: flex-end; }
.op-cake .c i { position: relative; width: 7%; height: 62%; border-radius: 2px; background: repeating-linear-gradient(45deg, #7fd3ff 0 5px, #fff 5px 9px); }
.op-cake .c b { position: absolute; left: 50%; bottom: 100%; width: 260%; height: 60%; translate: -50% 0; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: radial-gradient(circle at 50% 70%, #fff8c8 20%, #ffb01f 60%, transparent 70%); animation: oc-flicker .4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); transition: opacity .3s calc(var(--i) * .08s); }
.op-candles.open .op-cake .c b { opacity: 0; }
.op-candles.open .op-party { background: radial-gradient(circle at 50% 74%, rgba(255, 190, 90, .08), transparent 46%), radial-gradient(circle at 20% 20%, #3a1458, #14061e 70%); }
.op-candles.burst .op-cake { scale: 1.3; opacity: 0; transition: scale .7s, opacity .7s; }
.op-candles.burst .op-words { opacity: 0; transition: opacity .5s; }

/* ---------- key: the doors of the new home open ---------- */
.cover.op-key { --op-name: #ffe9a8; --op-soft: #ffd0a0; --op-halo: rgba(60, 20, 6, .9); background: #4a1e0a; }
.op-home { background: radial-gradient(ellipse at 50% 90%, #ffcf7a, #e8955a 40%, #7a3a1e 80%); perspective: 900px; }
.op-home .leaf { position: absolute; bottom: 10%; width: 32%; height: 58%; background: linear-gradient(90deg, rgba(0, 0, 0, .15), transparent 20%), repeating-linear-gradient(#8a3a1e 0 22%, #6a2a12 22% 24%); border: 6px solid #c99a35; box-sizing: border-box; transition: transform 1.3s cubic-bezier(.6, 0, .3, 1) .6s; }
.op-home .leaf.l { left: 18%; transform-origin: 0 50%; }
.op-home .leaf.r { right: 18%; transform-origin: 100% 50%; }
.op-home .toran { position: absolute; left: 16%; right: 16%; bottom: 66%; height: 6%; background: radial-gradient(circle at 50% 30%, #ffac08 34%, transparent 36%) 0 0 / 8% 100%, linear-gradient(#2f8a3c 0 30%, transparent 30%); }
.op .op-keyturn { bottom: calc(10% + 22%); width: 18cqw; z-index: 3; animation: oc-pulse 1.4s ease-in-out infinite; transition: rotate .8s; }
.op-key.open .op-keyturn { animation: none; rotate: 90deg; }
.op-key.open .op-home .leaf.l { transform: rotateY(-100deg); }
.op-key.open .op-home .leaf.r { transform: rotateY(100deg); }
.op-key.burst .op-keyturn, .op-key.burst .op-words { opacity: 0; transition: opacity .4s; }
.op-key.burst .op-home { scale: 1.5; transition: scale 1s; }

/* ---------- curtain: the stage opens ---------- */
.cover.op-curtain { --op-name: #ffe7a0; --op-soft: #ffd0dc; --op-halo: rgba(40, 0, 10, .92); background: #1a0610; }
.op-stagebg { background: radial-gradient(ellipse at 50% 40%, #fff2c8, #ffb84d 30%, #3a0a1a 70%); }
.op-drape { position: absolute; top: 0; bottom: 0; width: 52%; z-index: 2; background: repeating-linear-gradient(90deg, #7a0a1e 0 4%, #b0102e 4% 9%, #8a0a22 9% 12%); box-shadow: 0 0 30px rgba(0, 0, 0, .6); transition: transform 1.4s cubic-bezier(.6, 0, .3, 1); }
.op-drape.l { left: 0; transform-origin: 0 0; }
.op-drape.r { right: 0; transform-origin: 100% 0; }
.op-pelmet { position: absolute; left: 0; right: 0; top: 0; height: 9%; z-index: 3; background: radial-gradient(ellipse 50% 100% at 50% 0, #b0102e 98%, transparent) 0 0 / 16.6% 100%, #7a0a1e; border-bottom: 4px solid #e9c46a; }
.op .op-pullcord { right: 8%; left: auto; translate: none; top: 9%; z-index: 4; width: 40px; display: flex; flex-direction: column; align-items: center; animation: oc-pulse 1.4s ease-in-out infinite; }
.op-pullcord i { display: block; width: 3px; height: 34svh; background: #e9c46a; }
.op-pullcord b { width: 20px; height: 44px; border-radius: 10px 10px 4px 4px; background: radial-gradient(circle at 50% 8px, #ffd36a 0 8px, transparent 9px), repeating-linear-gradient(90deg, #e9c46a 0 3px, #c99a35 3px 5px); }
.op-curtain .op-words { z-index: 5; }
.op-curtain.open .op-drape.l { transform: translateX(-88%) scaleX(.5); }
.op-curtain.open .op-drape.r { transform: translateX(88%) scaleX(.5); }
.op-curtain.open .op-pullcord { animation: none; translate: 0 6svh; transition: translate .4s; }
.op-curtain.burst .op-words, .op-curtain.burst .op-pullcord { opacity: 0; transition: opacity .5s; }

/* ---------- clapperboard: action ---------- */
.cover.op-clapper { --op-name: #ffffff; --op-soft: #ffcf4a; --op-halo: rgba(0, 0, 0, .9); background: #0a0608; }
.op-film { background: radial-gradient(circle at 50% 40%, #3a1a22, #0a0608 70%), repeating-linear-gradient(transparent 0 30px, rgba(255, 255, 255, .04) 30px 32px); }
.op-film::before, .op-film::after { content: ''; position: absolute; top: 0; bottom: 0; width: 7cqw; background: repeating-linear-gradient(#0a0608 0 14px, #e8e0d0 14px 26px, #0a0608 26px 40px); opacity: .35; }
.op-film::before { left: 2cqw; }
.op-film::after { right: 2cqw; }
.op .op-clap { top: 20svh; width: 84cqw; z-index: 3; }
.op-clap .slate { display: block; padding: 22px 12px 18px; border-radius: 0 0 10px 10px; background: #15151a; border: 3px solid #e8e0d0; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.op-clap .slate small { display: block; margin-bottom: 8px; color: #ffcf4a; font: 700 3.6cqw 'Mukta', sans-serif; letter-spacing: .14em; }
.op-clap .arm { display: block; height: 11cqw; transform-origin: 0 100%; rotate: -24deg; background: repeating-linear-gradient(120deg, #15151a 0 8cqw, #f4ecdf 8cqw 16cqw); border: 3px solid #e8e0d0; border-radius: 8px 8px 0 0; transition: rotate .18s ease-in; }
.op-clapper.open .op-clap .arm { rotate: 0deg; }
.op-clapper.open::after { content: ''; position: absolute; inset: 0; z-index: 6; background: #fff; animation: oc-flash .5s ease-out .2s both; pointer-events: none; }
@keyframes oc-flash { from { opacity: .9; } to { opacity: 0; } }
.op-clapper.burst .op-clap { opacity: 0; scale: 1.2; transition: opacity .6s, scale .6s; }

/* ---------- phone: the invitation arrives as a notification ---------- */
.cover.op-phone { --op-name: #ffffff; --op-soft: #e0e8ff; --op-halo: rgba(0, 0, 0, .35); background: #1a1040; }
.op-lockwall { background: radial-gradient(circle at 20% 20%, #ff6fa5, transparent 45%), radial-gradient(circle at 80% 70%, #6f8bff, transparent 50%), linear-gradient(160deg, #3a1a6a, #12082a); }
.op-lock { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; padding-top: 8svh; transition: transform .7s cubic-bezier(.6, 0, .4, 1), opacity .7s; }
.op-lock .clock { margin: 0; color: #fff; font: 300 22cqw/1 'Mukta', sans-serif; letter-spacing: -.02em; }
.op-lock .day { margin: 4px 0 6svh; color: rgba(255, 255, 255, .85); font: 500 4.4cqw 'Mukta', sans-serif; }
.op .op-note { width: 90cqw; padding: 14px 16px 16px; border-radius: 22px; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); text-align: left; animation: oc-pulse 2.2s ease-in-out infinite; }
.op-note .app { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font: 600 3.4cqw 'Mukta', sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.op-note .app i { width: 6cqw; height: 6cqw; border-radius: 6px; background: linear-gradient(135deg, #ffd36a, #e5137a); }
.inv .cover.op .op-note .names { align-items: flex-start; margin: 6px 0 2px; }
.inv .cover.op .op-note .names span, .inv .cover.op .op-note .names.solo span { font-size: 9.6cqw; color: #fff; text-align: left; }
.inv .cover.op .op-note .names em { font-size: 4cqw; }
.inv .cover.op .op-note .when, .inv .cover.op .op-note .tagline { text-align: left; margin-left: 0; color: rgba(255, 255, 255, .9); }
.op-note .more { display: block; margin-top: 4px; color: rgba(255, 255, 255, .75); font: 500 3.6cqw 'Mukta', sans-serif; }
.op-lock .bar { position: absolute; bottom: 22px; width: 36cqw; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .85); }
.op-phone .op-hint { bottom: 64px; }
.op-phone.open .op-lock { transform: translateY(-100%); opacity: 0; }

/* ---------- countdown: three, two, one ---------- */
.cover.op-countdown { --op-name: #ffffff; --op-soft: #9fdcff; --op-halo: rgba(2, 4, 20, .92); background: #050a1e; }
.op-space { background: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 10% 85%, #fff, transparent), radial-gradient(circle at 50% 120%, #1a4aff, #050a1e 60%); }
.op .op-launch { bottom: 110px; width: min(52cqw, 28svh); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(79, 216, 255, .25), transparent 70%); animation: oc-pulse 1.6s ease-in-out infinite; }
.op-launch svg { position: absolute; inset: 0; rotate: -90deg; }
.op-launch circle { fill: none; stroke: #4fd8ff; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.op-launch b, .op-launch i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 22cqw/1 'Mukta', sans-serif; opacity: 0; font-style: normal; }
.op-launch b:first-of-type { opacity: 1; }
.op-countdown.open .op-launch { animation: none; }
.op-countdown.open .op-launch circle { animation: oc-ring 2.4s linear forwards; }
@keyframes oc-ring { to { stroke-dashoffset: 1; } }
.op-countdown.open .op-launch b { animation: oc-num .8s ease both; }
.op-countdown.open .op-launch b:nth-of-type(2) { animation-delay: .8s; }
.op-countdown.open .op-launch b:nth-of-type(3) { animation-delay: 1.6s; }
.op-countdown.open .op-launch i { animation: oc-num 1s ease 2.4s both; color: #ffe066; font-size: 16cqw; }
.op-countdown.burst .op-launch, .op-countdown.burst .op-words { opacity: 0; scale: 1.8; transition: opacity .6s, scale .6s; }

/* ---------- gulal: throw the colours ---------- */
.cover.op-gulal { --op-name: #7a1fbd; --op-soft: #e5137a; --op-halo: rgba(255, 255, 255, .95); background: #fffaf4; }
.op-white { background: radial-gradient(circle at 50% 80%, #fff, #fff3e8 60%, #ffe4ec); }
.op .op-thali { bottom: 100px; width: min(66cqw, 34svh); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ffe9a0 0 60%, #f2b82a 62% 70%, #c99a35 72%); box-shadow: 0 14px 30px rgba(150, 90, 0, .3); animation: oc-pulse 1.6s ease-in-out infinite; }
.op-thali i { position: absolute; width: 26%; height: 26%; border-radius: 50% 50% 40% 40%; left: calc(37% + cos(calc(var(--i) * 72deg)) * 22%); top: calc(37% + sin(calc(var(--i) * 72deg)) * 22%); background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .5), transparent 40%); }
.op-thali i:nth-child(1) { background-color: #ff3fa0; } .op-thali i:nth-child(2) { background-color: #ffd23f; } .op-thali i:nth-child(3) { background-color: #3fc8ff; } .op-thali i:nth-child(4) { background-color: #3fd07a; } .op-thali i:nth-child(5) { background-color: #b07aff; }
.op-puff { position: absolute; left: 50%; bottom: 24%; translate: -50% 0; width: 40cqw; height: 40cqw; border-radius: 50%; opacity: 0; scale: .2; filter: blur(14px); pointer-events: none; z-index: 4; transition: scale 1.2s cubic-bezier(.2, .8, .3, 1), opacity 1.2s, translate 1.2s; }
.op-puff:nth-of-type(1) { background: #ff3fa0; } .op-puff:nth-of-type(2) { background: #ffd23f; } .op-puff:nth-of-type(3) { background: #3fc8ff; } .op-puff:nth-of-type(4) { background: #3fd07a; } .op-puff:nth-of-type(5) { background: #b07aff; }
.op-gulal.open .op-thali { animation: none; }
.op-gulal.open .op-puff { opacity: .85; scale: 3.2; translate: calc(-50% + (var(--i) - 2) * 22cqw) calc(-30svh + var(--i) * 4svh); }
.op-gulal.burst .op-puff { opacity: 0; }
.op-gulal.burst .op-thali, .op-gulal.burst .op-words { opacity: 0; transition: opacity .5s; }

/* fitting the words around the objects */
.op-phone .op-words { display: none; }
.op-cake .plate { z-index: 0; height: 5%; }
.op-cake .t1, .op-cake .t2, .op-cake .c { z-index: 1; }
.op-home .leaf { height: 44%; }
.op-home .toran { bottom: 54%; }
.op .op-keyturn { bottom: calc(10% + 16%); }
.op .op-clap { top: 27svh; }

/* more lettering for names (fonts fetched by occasions.js only when chosen) */
.lettering-playfair .names span, .lettering-playfair .sign, .is3d.lettering-playfair .names span, .is3d.lettering-playfair .sign { font-family: 'Playfair Display', 'Tiro Devanagari Hindi', Georgia, serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-dancing .names span, .lettering-dancing .sign, .is3d.lettering-dancing .names span, .is3d.lettering-dancing .sign { font-family: 'Dancing Script', 'Kalam', cursive; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-pinyon .names span, .lettering-pinyon .sign, .is3d.lettering-pinyon .names span, .is3d.lettering-pinyon .sign { font-family: 'Pinyon Script', 'Tiro Devanagari Hindi', cursive; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-sacramento .names span, .lettering-sacramento .sign, .is3d.lettering-sacramento .names span, .is3d.lettering-sacramento .sign { font-family: 'Sacramento', 'Kalam', cursive; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-marcellus .names span, .lettering-marcellus .sign, .is3d.lettering-marcellus .names span, .is3d.lettering-marcellus .sign { font-family: 'Marcellus', 'Tiro Devanagari Hindi', Georgia, serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-cinzeldeco .names span, .lettering-cinzeldeco .sign, .is3d.lettering-cinzeldeco .names span, .is3d.lettering-cinzeldeco .sign { font-family: 'Cinzel Decorative', 'Yatra One', Georgia, serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-abril .names span, .lettering-abril .sign, .is3d.lettering-abril .names span, .is3d.lettering-abril .sign { font-family: 'Abril Fatface', 'Rozha One', Georgia, serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-lobster .names span, .lettering-lobster .sign, .is3d.lettering-lobster .names span, .is3d.lettering-lobster .sign { font-family: 'Lobster', 'Kalam', cursive; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-baloo .names span, .lettering-baloo .sign, .is3d.lettering-baloo .names span, .is3d.lettering-baloo .sign { font-family: 'Baloo 2', 'Baloo 2', sans-serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-kalam .names span, .lettering-kalam .sign, .is3d.lettering-kalam .names span, .is3d.lettering-kalam .sign { font-family: 'Kalam', 'Kalam', cursive; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-rozha .names span, .lettering-rozha .sign, .is3d.lettering-rozha .names span, .is3d.lettering-rozha .sign { font-family: 'Rozha One', 'Rozha One', Georgia, serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-modak .names span, .lettering-modak .sign, .is3d.lettering-modak .names span, .is3d.lettering-modak .sign { font-family: 'Modak', 'Modak', sans-serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }
.lettering-playfair .names span, .lettering-playfair .sign { font-style: italic; font-weight: 600; }
.lettering-dancing .names span, .lettering-baloo .names span, .lettering-kalam .names span, .lettering-cinzeldeco .names span { font-weight: 700; }
.lettering-cinzeldeco .names span, .lettering-marcellus .names span, .lettering-abril .names span, .lettering-modak .names span { font-size: 11.5cqw; }
.inv.lettering-cinzeldeco .cover.op .names span, .inv.lettering-abril .cover.op .names span, .inv.lettering-modak .cover.op .names span { font-size: 10.5cqw; }

/* English / Hindi switch for guests */
.langbtn { position: fixed; z-index: 45; left: max(14px, calc(50% - var(--col) / 2 + 14px)); bottom: 18px; height: 46px; min-width: 46px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--w-edge, var(--i-gold)); background: rgba(var(--w-shadow, 30, 10, 30), .82); color: var(--w-name, #fff); font: 600 15px/1 'Mukta', 'Tiro Devanagari Hindi', sans-serif; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.langbtn:focus-visible { outline: 3px solid #ffd36a; outline-offset: 3px; }
