/* ════════════════════════════════════════════════════════════════
   LAB CINTA — laboratorium cinta yang lucu: mint, lilac & lemon
   di atas kertas milimeter, labu kaca berisi ramuan permen
   ════════════════════════════════════════════════════════════════ */
:root {
    --ink: #3d3a6b;
    --ink-s: #67648f;
    --paper: #f7fcf9;
    --mint: #bdf0db;
    --mint-d: #5fcfa6;
    --lilac: #d8ccff;
    --lilac-d: #9d84ee;
    --lemon: #fff1a1;
    --lemon-d: #ffd84a;
    --pink: #ff9cc2;
    --pink-d: #ff5f9c;
    --col: 480px;
    --f-b: 'Fredoka', 'Nunito', system-ui, sans-serif;
    --f-h: 'Caveat', 'Comic Sans MS', cursive;
    --f-m: 'Space Mono', ui-monospace, Menlo, monospace;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --bounce: cubic-bezier(.34, 1.56, .64, 1);
    --sh: 4px 4px 0 var(--ink);
    --gl: rgba(95, 207, 166, .2);
    --gm: rgba(95, 207, 166, .34);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font: 400 15px/1.7 var(--f-b);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
svg { display: block; }
.ico { width: 18px; height: 18px; flex: none; }

/* kertas milimeter (statis) */
.grid-bg, .sec, .cover, .side {
    background-image:
        linear-gradient(var(--gm) 1px, transparent 1px), linear-gradient(90deg, var(--gm) 1px, transparent 1px),
        linear-gradient(var(--gl) 1px, transparent 1px), linear-gradient(90deg, var(--gl) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px;
}

/* ── Tombol ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 26px; border: 3px solid var(--ink); border-radius: 99px;
    font: 600 14.5px/1.2 var(--f-b); letter-spacing: .02em; text-decoration: none; cursor: pointer;
    color: var(--ink); background: var(--pink);
    box-shadow: 0 4px 0 var(--ink);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease); -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.sm { padding: 9px 18px; font-size: 13px; background: var(--mint); }
.btn.full { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* ── Ubin unsur (tabel periodik) ── */
.el {
    --tw: 118px; --tb: var(--lilac);
    position: relative; flex: none; width: var(--tw); aspect-ratio: 1 / 1.16;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 16px 6px 9px; border: 3px solid var(--ink); border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%), var(--tb);
    box-shadow: var(--sh); text-align: center; overflow: hidden;
}
.el-g { --tb: var(--lilac); rotate: -4deg; }
.el-b { --tb: var(--mint); rotate: 4deg; }
.el-n { position: absolute; left: 8px; top: 5px; font: 700 calc(var(--tw) * .11)/1 var(--f-m); }
.el-h { position: absolute; right: 8px; top: 4px; font-size: calc(var(--tw) * .12); line-height: 1; color: var(--pink-d); }
.el-s { display: block; font: 700 calc(var(--tw) * .4)/1 var(--f-b); letter-spacing: -.02em; }
.el-name { display: block; max-width: 100%; margin-top: calc(var(--tw) * .06); font: 600 calc(var(--tw) * .115)/1.15 var(--f-b); overflow-wrap: anywhere; }
.lg .el-name { font-size: calc(var(--tw) * .095); }
.xl .el-name { font-size: calc(var(--tw) * .08); }
.el::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 6px; height: 0; border-bottom: 2px dotted rgba(61, 58, 107, .35); }
.el.xs { --tw: 50px; padding: 6px; aspect-ratio: 1; border-radius: 10px; box-shadow: 3px 3px 0 #1f1d40; }
.el.xs::after { display: none; }
.op { font: 700 26px/1 var(--f-b); color: var(--ink); }

/* ── Musik, partikel, toast ── */
.music-toggle-btn { position: fixed; bottom: 22px; right: max(14px, calc(50vw - var(--col) / 2 + 14px)); z-index: 1002; width: 44px; height: 44px; padding: 0; border: 3px solid var(--ink); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s; -webkit-tap-highlight-color: transparent; }
body.opened .music-toggle-btn { opacity: 1; pointer-events: auto; }
.music-toggle-btn svg { width: 18px; height: 18px; }
.music-toggle-btn.playing { animation: spinSlow 4s linear infinite; background: var(--mint); }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.floaties { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.fl { position: absolute; bottom: -40px; width: var(--s); aspect-ratio: 1; opacity: 0; border-radius: 50%; animation: rise var(--d) linear var(--w) infinite; }
.fl.f-b { border: 2px solid rgba(61, 58, 107, .55); background: radial-gradient(circle at 34% 30%, #fff 0 18%, rgba(255, 255, 255, .25) 22%, rgba(168, 233, 207, .35) 70%); }
.fl.f-m { border: 2px solid rgba(61, 58, 107, .55); background: radial-gradient(circle at 34% 30%, #fff 0 18%, rgba(203, 184, 255, .4) 24%); }
.fl.f-l { border: 2px solid rgba(61, 58, 107, .55); background: radial-gradient(circle at 34% 30%, #fff 0 18%, rgba(255, 226, 122, .5) 24%); }
.fl.f-h { border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21S3 15.2 3 9.1A4.8 4.8 0 0 1 12 6.8a4.8 4.8 0 0 1 9 2.3C21 15.2 12 21 12 21Z' fill='%23ff9cc2' stroke='%233d3a6b' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 10% { opacity: .85; } 85% { opacity: .7; } 100% { transform: translate3d(var(--x), -112vh, 0); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 8000; transform: translate(-50%, 24px); padding: 11px 22px; border-radius: 99px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: var(--ink); font-size: 13.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--bounce); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

[data-reveal] { opacity: 0; transform: translateY(26px) scale(.94); transition: opacity .7s ease var(--dl, 0s), transform .9s var(--bounce) var(--dl, 0s); }
[data-reveal].shown { opacity: 1; transform: none; }
.zi { animation: zoomIn .8s var(--bounce) var(--dl, 0s) both; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes bobR { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }

/* ════════════════════════════════════════════════════════════════
   COVER — labu besar "Eksperimen No. 01"
   ════════════════════════════════════════════════════════════════ */
.side { display: none; }
.cover {
    position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; overflow: hidden;
    background-color: #f5fbf8;
}
.cover::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 42% at 50% 34%, rgba(255, 156, 194, .28), rgba(255, 156, 194, 0) 70%), radial-gradient(50% 30% at 12% 92%, rgba(203, 184, 255, .4), rgba(203, 184, 255, 0) 70%), radial-gradient(50% 30% at 92% 86%, rgba(255, 226, 122, .45), rgba(255, 226, 122, 0) 70%); }
.cv-doodle { position: absolute; font: 700 22px/1 var(--f-h); color: rgba(61, 58, 107, .38); white-space: nowrap; pointer-events: none; }
.cv-doodle sub { font-size: .6em; }
.cv-doodle.c1 { left: 6%; top: 7%; rotate: -10deg; }
.cv-doodle.c2 { right: 6%; top: 15%; rotate: 8deg; font-size: 19px; }
.cv-doodle.c3 { left: 7%; bottom: 7%; rotate: 6deg; }
.cv-mol { position: absolute; right: 5%; bottom: 6%; width: 64px; opacity: .8; rotate: -12deg; }
.cover-in { position: relative; z-index: 3; width: 100%; max-width: 360px; padding: 0 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cv-kick { padding: 5px 16px; font: 700 11px/1.4 var(--f-m); letter-spacing: .16em; text-transform: uppercase; background: #fff; border: 2.5px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); }

.cv-flask-w { --fw: clamp(170px, 29vh, 240px); position: relative; width: var(--fw); height: calc(var(--fw) * 1.25); margin: 18px auto 0; }
.cv-flask { position: relative; width: 100%; height: 100%; transform-origin: 50% 70%; animation: bob 4s ease-in-out 1.2s infinite; }
.flask-svg { width: 100%; height: 100%; overflow: visible; }
.fl-t1 { font: 700 13px var(--f-m); letter-spacing: .12em; fill: var(--ink); }
.fl-t2 { font: 700 15px var(--f-b); fill: #ff4f93; }
.flask-svg .b1, .flask-svg .b2, .flask-svg .b3 { transform-box: fill-box; transform-origin: center; animation: potBub 3s ease-in infinite; }
.flask-svg .b2 { animation-duration: 3.6s; animation-delay: -1.2s; }
.flask-svg .b3 { animation-duration: 4.2s; animation-delay: -2.4s; }
@keyframes potBub { 0% { transform: translateY(0) scale(.5); opacity: 0; } 15% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translateY(-74px) scale(1); opacity: 0; } }
.froth { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); }
.burst { position: absolute; left: 50%; top: 64%; width: 0; height: 0; }
.burst svg { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); opacity: 0; }

.cv-formula { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: -4px; }
.cv-formula .el { --tw: 112px; }

.cv-badge { position: relative; width: min(300px, 100%); margin: 22px 0 18px; background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--sh); text-align: left; }
.bd-clip { position: absolute; left: 50%; top: -13px; width: 44px; height: 18px; margin-left: -22px; border: 3px solid var(--ink); border-radius: 7px; background: var(--lemon-d); }
.bd-clip::after { content: ''; position: absolute; left: 50%; top: 4px; width: 16px; height: 4px; margin-left: -8px; border-radius: 4px; background: var(--ink); }
.bd-top { display: flex; justify-content: space-between; gap: 8px; padding: 8px 14px 6px; border-bottom: 2.5px solid var(--ink); border-radius: 13px 13px 0 0; background: var(--lilac-d); color: #fff; font: 700 10px/1.3 var(--f-m); letter-spacing: .12em; }
.bd-body { display: flex; align-items: center; gap: 12px; padding: 10px 14px 12px; }
.bd-ava { flex: none; width: 48px; height: 54px; padding: 5px 8px 4px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--mint); }
.bd-ava svg { width: 100%; height: 100%; }
.bd-info { min-width: 0; flex: 1; }
.bd-l { display: block; font: 400 10.5px/1.4 var(--f-m); color: var(--ink-s); }
.bd-name { display: block; font: 600 17px/1.3 var(--f-b); overflow-wrap: anywhere; }
.bd-bar { display: block; width: 100%; max-width: 150px; height: 9px; margin-top: 5px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .75; }
.btn-open { background: var(--lemon-d); padding: 13px 30px; font-size: 15px; }
.btn-open .ico { animation: wig 2s ease-in-out infinite; }
@keyframes wig { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } }

/* pembukaan: ramuan bergolak → labu "pop" jadi hujan hati → layar bersih */
.cover.open { animation: coverOut .55s ease .85s forwards; pointer-events: none; }
@keyframes coverOut { to { opacity: 0; } }
.cover.open .cv-flask { animation: flaskPop .78s cubic-bezier(.4, 0, .6, 1) both; }
@keyframes flaskPop { 0% { transform: none; } 20% { transform: scale(.96, 1.04) rotate(-3deg); } 38% { transform: scale(1.05, .95) rotate(3deg); } 55% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.cover.open .froth { animation: froth .42s var(--bounce) both; }
@keyframes froth { to { transform: scale(1); } }
.cover.open .burst svg { animation: burst .95s cubic-bezier(.15, .75, .3, 1) .38s both; }
@keyframes burst { 0% { opacity: 0; transform: translate(0, 0) scale(.2); } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.15) rotate(var(--r)); } }
.cover.open .cv-kick, .cover.open .cv-formula, .cover.open .cv-badge, .cover.open .btn-open { animation: away .45s ease .1s both; }
@keyframes away { to { opacity: 0; transform: translateY(18px) scale(.94); } }

/* ════════════════════════════════════════════════════════════════
   KOLOM & BAGIAN
   ════════════════════════════════════════════════════════════════ */
.stage { max-width: var(--col); margin: 0 auto; position: relative; overflow: hidden; background: var(--paper); }
.sec { --bg: var(--paper); position: relative; padding: 84px 22px 92px; text-align: center; background-color: var(--bg); border-top: 3px solid var(--ink); }
.sec > * { position: relative; z-index: 2; }
/* tepi penggaris di atas tiap bagian */
.sec::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(61, 58, 107, .55) 0 2px, transparent 2px 50px) 0 0 / 100% 14px no-repeat,
                repeating-linear-gradient(90deg, rgba(61, 58, 107, .35) 0 1.5px, transparent 1.5px 10px) 0 0 / 100% 7px no-repeat; }
.sec-in { max-width: 380px; margin: 0 auto; }
.s-mint { --bg: #ebfaf3; }
.s-lilac { --bg: #f2eeff; --gl: rgba(157, 132, 238, .16); --gm: rgba(157, 132, 238, .28); }
.s-lemon { --bg: #fffbe3; --gl: rgba(232, 190, 40, .2); --gm: rgba(232, 190, 40, .32); }
.s-ink { --bg: #34315e; --gl: rgba(255, 255, 255, .05); --gm: rgba(255, 255, 255, .09); color: #f3f0ff; }
.sec-head { margin-bottom: 32px; }
.kick { display: inline-block; margin-bottom: 10px; padding: 3px 12px; font: 700 10.5px/1.5 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; }
.kick.w { background: var(--lemon-d); }
.title { position: relative; display: block; font: 700 31px/1.2 var(--f-b); letter-spacing: -.01em; }
.title::after { content: ''; display: block; width: 120px; height: 12px; margin: 8px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M3 7 Q13 1 23 7 T43 7 T63 7 T83 7 T103 7 T117 6' fill='none' stroke='%23ff5f9c' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec-sub { margin: 12px auto 0; max-width: 320px; font-size: 14px; line-height: 1.65; color: var(--ink-s); }
.salam { margin: 14px 0 10px; font: 600 16px/1.5 var(--f-b); }
.salam.w { color: var(--lemon-d); }
.body-c { max-width: 340px; margin: 0 auto 18px; font-size: 14.5px; color: var(--ink-s); }
.body-c.w { color: #e6e2ff; }

/* ════════════════════════════════════════════════════════════════
   HERO — rumus cinta + meja kerja penuh gelas
   ════════════════════════════════════════════════════════════════ */
.s-hero { min-height: max(100svh, 720px); padding: 0; border-top: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.s-hero::before { display: none; }
.s-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(70% 38% at 50% 30%, rgba(203, 184, 255, .35), rgba(203, 184, 255, 0) 70%), radial-gradient(60% 30% at 50% 92%, rgba(255, 156, 194, .3), rgba(255, 156, 194, 0) 70%); }
.s-hero > .doodle, .s-hero > .h-atom, .s-hero > .h-mol, .s-hero > .bench { position: absolute; z-index: 1; }
.doodle { font: 700 23px/1 var(--f-h); color: rgba(61, 58, 107, .34); white-space: nowrap; pointer-events: none; }
.doodle sup, .doodle sub { font-size: .6em; }
.doodle.h1 { left: 5%; top: 2.5%; rotate: -9deg; }
.doodle.h2 { right: 7%; top: 31%; rotate: 8deg; }
.doodle.h3 { left: 5%; top: 40%; rotate: -6deg; font-size: 20px; }
.doodle.h4 { right: 14%; top: 8%; font-size: 40px; rotate: 10deg; }
.h-atom { right: 6%; top: 14%; width: 48px; opacity: .85; }
.h-mol { left: 4%; top: 25%; width: 56px; rotate: 14deg; }
body.opened .h-atom { animation: spin 16s linear 1.2s infinite; }
body.opened .h-mol { animation: bobR 5s ease-in-out 1.2s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-in { position: relative; z-index: 3 !important; padding: 64px 20px 200px; width: 100%; }
.hz { opacity: 0; }
body.opened .hz { animation: hzPop .9s var(--bounce) var(--dl) both; }
@keyframes hzPop { from { opacity: 0; transform: scale(.5) translateY(26px); } to { opacity: 1; transform: none; } }
.chip { display: inline-block; padding: 5px 14px; font: 700 10.5px/1.4 var(--f-m); letter-spacing: .14em; text-transform: uppercase; background: #fff; border: 2.5px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); }
.petri { position: relative; width: 168px; height: 168px; margin: 22px auto 14px; border-radius: 50%; border: 7px solid #fff; box-shadow: 0 0 0 3px var(--ink), 6px 6px 0 3px var(--ink); background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 9%), linear-gradient(160deg, var(--lilac), var(--pink)); overflow: hidden; }
.petri img { width: 100%; height: 100%; object-fit: cover; }
.petri.mono { display: grid; place-items: center; }
.petri.mono span { font: 700 50px/1 var(--f-b); color: var(--ink); }
.petri.mono i { font-style: normal; margin: 0 4px; font-size: .6em; color: #fff; vertical-align: .25em; }
.hero-k { font: 700 25px/1.1 var(--f-h); color: var(--ink-s); }
.reaction { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 10px; }
.reaction .el { --tw: clamp(72px, 21vw, 90px); padding-top: 12px; }
.reaction .op { font-size: 22px; }
.arrow { display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.arrow small { font: 700 14px/1 var(--f-h); white-space: nowrap; margin-bottom: 2px; color: var(--pink-d); }
.arrow svg { width: clamp(36px, 11vw, 50px); height: 14px; }
.prod { flex: none; display: grid; place-items: center; width: clamp(44px, 13vw, 54px); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--lemon); box-shadow: 3px 3px 0 var(--ink); }
.prod svg { width: 64%; height: 64%; }
.names { margin-top: 8px; font: 700 clamp(46px, 13vw, 56px)/1.12 var(--f-h); color: var(--ink); overflow-wrap: anywhere; }
.names span { padding: 0 8px; background: linear-gradient(transparent 58%, var(--lemon) 58% 88%, transparent 88%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.names i { font-style: normal; color: var(--pink-d); }
.names.lg { font-size: clamp(38px, 11vw, 46px); }
.names.xl { font-size: clamp(32px, 9vw, 38px); }
.date-l { display: inline-block; margin-top: 14px; padding: 6px 16px; font: 700 12.5px/1.4 var(--f-m); background: var(--mint); border: 2.5px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); rotate: -1.5deg; }

/* meja kerja */
.bench { left: 0; right: 0; bottom: 0; height: 176px; pointer-events: none; }
.shelf { position: absolute; left: -10px; right: -10px; bottom: 26px; height: 16px; background: var(--lilac); border: 3px solid var(--ink); border-radius: 8px; }
.shelf::after { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 30px; background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(61, 58, 107, .1) 30px 32px); }
.ware { position: absolute; bottom: 38px; display: block; }
.ware svg { width: 100%; height: auto; }
.bench .w1 { left: 5%; width: 88px; }
.bench .w2 { left: 31%; width: 104px; }
.bench .w3 { left: 61%; width: 34px; }
.bench .w4 { right: 4%; width: 92px; }
body.opened .bench .ware { animation: bob 4.4s ease-in-out 1.4s infinite; }
body.opened .bench .w2 { animation-delay: 2.2s; animation-duration: 5s; }
body.opened .bench .w3 { animation-delay: 1.8s; animation-duration: 3.8s; }
body.opened .bench .w4 { animation-delay: 2.6s; animation-duration: 4.8s; }
.bub { position: absolute; left: var(--bx); bottom: 22%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 2px solid var(--ink); background: radial-gradient(circle at 35% 30%, #fff 0 25%, rgba(255, 255, 255, .5) 30%); opacity: 0; }
body.opened .bub { animation: bubUp var(--bd) ease-in var(--bw) infinite; }
@keyframes bubUp { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { opacity: 1; } 80% { opacity: .9; } 100% { transform: translateY(-110px) scale(1.15); opacity: 0; } }

/* ════════════════════════════════════════════════════════════════
   ISI
   ════════════════════════════════════════════════════════════════ */
.sec-ico { width: 62px; margin: 0 auto; }
.note { position: relative; margin-top: 30px; padding: 30px 18px 20px 30px; text-align: left; background: #fff linear-gradient(transparent 26px, rgba(157, 132, 238, .28) 26px 27px) 0 18px / 100% 27px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.note::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; border-left: 2px solid rgba(255, 95, 156, .5); }
.note-tag { position: absolute; left: 50%; top: -15px; translate: -50% 0; padding: 4px 16px; white-space: nowrap; font: 700 11px/1.4 var(--f-m); letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 216, 74, .92); border: 2px solid var(--ink); rotate: -2deg; }
.verse-t { font: 500 14.5px/27px var(--f-b); }
.verse-s { margin-top: 8px; font: 700 13px/27px var(--f-m); color: var(--pink-d); }

.person { position: relative; max-width: 330px; margin: 0 auto; padding: 30px 20px 26px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.p-code { position: absolute; left: 50%; top: -15px; translate: -50% 0; padding: 3px 14px; white-space: nowrap; font: 700 11px/1.5 var(--f-m); letter-spacing: .1em; text-transform: uppercase; background: var(--lilac); border: 2px solid var(--ink); border-radius: 99px; }
.pb .p-code { background: var(--mint); }
.p-flask { position: relative; width: 156px; margin: 26px auto 0; }
.p-flask::before { content: ''; position: absolute; left: 50%; top: -30px; width: 48px; height: 40px; margin-left: -24px; background: #fff; border: 3px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; }
.p-flask::after { content: ''; position: absolute; left: 50%; top: -36px; width: 62px; height: 12px; margin-left: -31px; background: #fff; border: 3px solid var(--ink); border-radius: 8px; }
.p-photo { position: relative; width: 156px; height: 156px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--ink); overflow: hidden; background: linear-gradient(180deg, #f6f2ff 0 50%, var(--lilac) 50%); }
.pb .p-photo { background: linear-gradient(180deg, #effcf6 0 50%, var(--mint) 50%); }
.p-photo > span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 64px/1 var(--f-b); color: var(--ink); }
.p-photo > .couple-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.tag { display: inline-block; margin: 16px 0 6px; padding: 2px 14px; font: 700 11px/1.6 var(--f-m); letter-spacing: .12em; text-transform: uppercase; background: var(--lemon); border: 2px solid var(--ink); border-radius: 99px; }
.p-name { font: 700 30px/1.15 var(--f-h); overflow-wrap: anywhere; }
.p-par { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--ink-s); }
.p-par b { font-weight: 600; color: var(--ink); }
.p-ware { position: absolute; right: 12px; bottom: 14px; width: 40px; rotate: 10deg; }
.pb .p-ware { right: auto; left: 12px; rotate: -10deg; }
body.opened .p-ware { animation: bob 4s ease-in-out infinite; }
.bond { display: flex; flex-direction: column; align-items: center; margin: 10px auto; }
.bond i { display: block; width: 10px; height: 22px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.bond svg { width: 40px; height: 40px; margin: 4px 0; }

.timer { max-width: 360px; margin: 0 auto 28px; padding: 14px 14px 12px; background: var(--lilac); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); }
.tm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding: 0 4px; font: 700 10px/1.3 var(--f-m); letter-spacing: .12em; }
.tm-led { width: 12px; height: 12px; border-radius: 50%; background: var(--pink-d); border: 2px solid var(--ink); box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .6); }
body.opened .tm-led { animation: live 1.4s ease-in-out infinite; }
.tm-knob { width: 22px; height: 22px; border-radius: 50%; background: var(--lemon-d); border: 2.5px solid var(--ink); background-image: linear-gradient(90deg, transparent 8px, var(--ink) 8px 11px, transparent 11px); }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd > div { min-width: 0; padding: 10px 2px 8px; background: #2f2c57; border: 3px solid var(--ink); border-radius: 14px; box-shadow: inset 0 3px 0 rgba(0, 0, 0, .25); }
.cd b { display: block; font: 700 clamp(22px, 7vw, 30px)/1.1 var(--f-m); color: #a8f0d2; font-variant-numeric: tabular-nums; }
.cd span { display: block; margin-top: 2px; font: 600 11px/1.3 var(--f-b); color: #e6e2ff; }
.tm-foot { margin-top: 10px; font: 400 10.5px/1.5 var(--f-m); color: var(--ink); }

.proto { position: relative; max-width: 360px; margin: 0 auto 28px; padding: 22px 20px 22px; text-align: left; background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
.proto.p2 { rotate: .8deg; }
.pr-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2.5px dashed rgba(61, 58, 107, .3); }
.pr-ware { flex: none; width: 56px; height: 60px; padding: 5px 9px 3px; background: var(--lemon); border: 2.5px solid var(--ink); border-radius: 14px; }
.p2 .pr-ware { background: var(--mint); }
.pr-ware svg { width: 100%; height: 100%; }
.pr-no { display: block; font: 700 11px/1.4 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-d); }
.ev-t { font: 700 27px/1.2 var(--f-b); }
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; position: relative; }
.steps::before { content: ''; position: absolute; left: 14px; top: 16px; bottom: 16px; border-left: 2.5px dotted rgba(61, 58, 107, .45); }
.steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.steps li > div { min-width: 0; overflow-wrap: anywhere; }
.steps small { display: block; font: 700 10px/1.5 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-s); }
.st-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); border: 2.5px solid var(--ink); font: 700 13px/1 var(--f-m); }
.p2 .st-n { background: var(--pink); }
.loc { max-width: 360px; margin: 36px auto 0; padding: 22px 18px; background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
.loc-k { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font: 700 11px/1.4 var(--f-m); letter-spacing: .12em; text-transform: uppercase; }
.loc-k .ico { width: 16px; height: 16px; color: var(--pink-d); }
.map { height: 210px; border-radius: 16px; border: 3px solid var(--ink); overflow: hidden; margin-bottom: 18px; z-index: 0; }
.loc-name { font: 700 19px/1.35 var(--f-b); overflow-wrap: anywhere; }
.loc-addr { margin: 4px 0 18px; font-size: 14px; color: var(--ink-s); overflow-wrap: anywhere; }
.loc .btn { margin-top: 4px; }

/* catatan lab */
.notebook { position: relative; max-width: 370px; margin: 0 auto; padding: 22px 18px 18px 48px; text-align: left; background: #fff linear-gradient(transparent 27px, rgba(95, 207, 166, .3) 27px 28px) 0 12px / 100% 28px; border: 3px solid var(--ink); border-radius: 8px 20px 20px 8px; box-shadow: 6px 6px 0 var(--ink); }
.nb-rings { position: absolute; left: 10px; top: 14px; bottom: 14px; width: 22px; background: radial-gradient(circle at 11px 11px, var(--paper) 0 5px, var(--ink) 5.5px 7.5px, transparent 8px) 0 0 / 22px 34px repeat-y; }
.notebook::before { content: ''; position: absolute; left: 38px; top: 0; bottom: 0; border-left: 2px solid rgba(255, 95, 156, .45); }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { padding: 4px 0 18px; }
.entry + .entry { padding-top: 16px; border-top: 2.5px dashed rgba(61, 58, 107, .25); }
.en-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.en-no { font: 700 11px/1.4 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--pink-d); }
.en-date { padding: 1px 10px; font: 700 11px/1.5 var(--f-m); background: var(--lemon); border: 2px solid var(--ink); border-radius: 99px; }
.entry h3 { font: 700 27px/1.15 var(--f-h); overflow-wrap: anywhere; }
.entry p { margin-top: 4px; font-size: 14.5px; line-height: 28px; color: var(--ink-s); overflow-wrap: anywhere; }

/* spesimen: polaroid yang ditempel selotip */
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; max-width: 390px; margin: 0 auto; }
.gal-i { position: relative; display: block; padding: 8px 8px 0; border: 2.5px solid var(--ink); border-radius: 6px; background: #fff; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; text-align: center; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.gal-i::before { content: ''; position: absolute; left: 50%; top: -11px; z-index: 2; width: 58px; height: 20px; margin-left: -29px; background: rgba(255, 216, 74, .78); border-left: 2px dashed rgba(61, 58, 107, .25); border-right: 2px dashed rgba(61, 58, 107, .25); rotate: -4deg; }
.gal-i:nth-child(3n+2)::before { background: rgba(168, 233, 207, .85); rotate: 5deg; }
.gal-i:nth-child(3n)::before { background: rgba(203, 184, 255, .85); rotate: -7deg; }
.gal-ph { display: block; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--ink); border-radius: 3px; background: #f2eeff; }
.gal-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-i:hover .gal-ph img { transform: scale(1.05); }
.gal-cap { display: block; padding: 4px 0 6px; font: 700 18px/1.3 var(--f-h); }
.gal-i.g0 { grid-column: span 2; rotate: -1.2deg; }
.gal-i.g0 .gal-ph, .gal-i:last-child:nth-child(even) .gal-ph { aspect-ratio: 16 / 10; }
.gal-i:last-child:nth-child(even) { grid-column: span 2; }
.gal-i.ph:last-child:nth-child(even) svg { width: 26%; }
.gal-i.g1 { rotate: 2deg; } .gal-i.g2 { rotate: -2deg; } .gal-i.g3 { rotate: 1.5deg; } .gal-i.g4 { rotate: -1.5deg; } .gal-i.g5 { rotate: 2deg; }
.gal-i.ph { cursor: default; }
.gal-i.ph .gal-ph { display: grid; place-items: center; background-color: #f2eeff; background-image: linear-gradient(rgba(157, 132, 238, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 132, 238, .22) 1px, transparent 1px); background-size: 14px 14px; }
.gal-i.ph.g1 .gal-ph, .gal-i.ph.g4 .gal-ph { background-color: #e9faf2; }
.gal-i.ph.g2 .gal-ph, .gal-i.ph.g5 .gal-ph { background-color: #fff8d6; }
.gal-i.ph.g3 .gal-ph { background-color: #ffe9f1; }
.gal-i.ph svg { width: 46%; height: 60%; }
.gal-i.ph.g0 svg { width: 24%; }
.gal-i.ph.g4 svg, .gal-i.ph.g5 svg { width: 58%; }

/* ── Kado (partial) ── */
.gift-box { max-width: 420px; margin: 0 auto; border: 3px solid var(--ink); border-radius: 22px; background: #fff; overflow: hidden; color: var(--ink); text-align: left; box-shadow: 6px 6px 0 var(--ink); }
.gift-wrap .gs-heading h2 { font-family: var(--f-b) !important; font-weight: 700 !important; font-size: 26px !important; color: var(--ink) !important; }
.gift-wrap .gs-heading h2::after { background: var(--pink-d) !important; }
.gift-wrap .gs-card, .gift-wrap .gs-bank-card { border: 2.5px solid var(--ink) !important; border-radius: 16px !important; }
.gift-wrap .gs-btn, .gift-wrap .gs-bank-copy { border-radius: 99px !important; font-family: var(--f-b) !important; border: 2.5px solid var(--ink) !important; }
.gift-wrap .gs-btn-buy { background: var(--mint) !important; color: var(--ink) !important; }
.gift-wrap .gs-bank-logo { background: var(--lilac) !important; color: var(--ink) !important; }
.gift-wrap .gs-bank-number { font-family: var(--f-m) !important; }

/* ── Form & ucapan ── */
.card { position: relative; max-width: 390px; margin: 0 auto; padding: 34px 20px 22px; text-align: left; background: #fff linear-gradient(90deg, transparent 0 calc(100% - 1px), transparent) ; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.clip { position: absolute; left: 50%; top: -18px; width: 104px; height: 32px; margin-left: -52px; background: var(--lilac-d); border: 3px solid var(--ink); border-radius: 10px 10px 14px 14px; }
.clip::after { content: ''; position: absolute; left: 50%; top: 6px; width: 34px; height: 8px; margin-left: -17px; border-radius: 6px; background: var(--paper); border: 2px solid var(--ink); }
.form-k { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2.5px dashed rgba(61, 58, 107, .25); font: 700 10.5px/1.5 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-s); text-align: center; }
.f-l { display: block; margin: 16px 0 6px; font: 700 11px/1.3 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--pink-d); }
.form label.f-l:first-of-type { margin-top: 0; }
.f-in { width: 100%; padding: 12px 14px; border: 2.5px solid var(--ink); border-radius: 12px; background: #f7fcf9; color: var(--ink); font: 400 15px/1.5 var(--f-b); outline: none; transition: box-shadow .2s, background .2s; resize: vertical; }
.f-in:focus { background: #fff; box-shadow: 0 0 0 4px rgba(168, 233, 207, .8); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch { position: relative; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch span { display: block; padding: 10px 2px; text-align: center; font-size: 13px; font-weight: 500; border: 2.5px solid var(--ink); border-radius: 12px; background: #f7fcf9; cursor: pointer; transition: transform .2s var(--bounce), background .2s; }
.ch input:checked + span { background: var(--mint); transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); font-weight: 600; }
.ch input:focus-visible + span { box-shadow: 0 0 0 4px rgba(203, 184, 255, .8); }
.form .btn { margin-top: 22px; }

.wish-head { display: flex; align-items: center; justify-content: space-between; max-width: 390px; margin: 44px auto 16px; }
.wish-head h3 { font: 700 30px/1.2 var(--f-h); }
.wh-live { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; }
.wh-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-d); border: 1.5px solid var(--ink); }
body.opened .wh-live i { animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.wishes { max-width: 390px; margin: 0 auto; display: grid; gap: 12px; max-height: 500px; overflow-y: auto; padding: 4px 8px 8px 4px; text-align: left; overscroll-behavior: contain; }
.wish-item { --av: var(--pink); display: flex; gap: 12px; padding: 13px 14px; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); }
.wish-item.new { animation: wishIn .7s var(--bounce) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px) scale(.9); } to { opacity: 1; transform: none; } }
.wish-avatar { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--av); color: var(--ink); border: 2.5px solid var(--ink); font: 700 17px/1 var(--f-b); }
.wish-body { min-width: 0; flex: 1; }
.wish-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wish-name { font: 600 15px/1.3 var(--f-b); overflow-wrap: anywhere; }
.wish-badge { padding: 1px 9px; border-radius: 99px; border: 2px solid var(--ink); font: 700 10px/1.6 var(--f-m); text-transform: uppercase; letter-spacing: .06em; }
.wish-badge.hadir { background: var(--mint); }
.wish-badge.tidak { background: #ffc9d9; }
.wish-badge.ragu { background: var(--lemon); }
.wish-message { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-s); overflow-wrap: anywhere; }
.wish-time { display: block; margin-top: 6px; font: 400 11px/1.4 var(--f-m); color: #9a97bd; }
.wish-empty { text-align: center; padding: 20px; color: var(--ink-s); }

/* ── Penutup ── */
.end { padding-top: 84px; padding-bottom: 200px; }
.end::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 50px) 0 0 / 100% 14px no-repeat, repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 1.5px, transparent 1.5px 10px) 0 0 / 100% 7px no-repeat; }
.end-formula { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 22px; }
.end-formula .op { color: var(--lemon-d); }
.end-formula .el-s { font-size: 21px; color: var(--ink); }
.end-formula .prod { width: 46px; box-shadow: 3px 3px 0 #1f1d40; }
.names.sm { font-size: 50px; color: #fff; margin: 8px 0 4px; }
.names.sm.lg { font-size: 40px; } .names.sm.xl { font-size: 34px; }
.names.sm span { background: linear-gradient(transparent 60%, rgba(255, 95, 156, .55) 60% 88%, transparent 88%); }
.names.sm i { color: var(--lemon-d); }
.fam { margin: 22px 0 26px; display: grid; gap: 14px; font-size: 14.5px; }
.fam span { display: block; margin-bottom: 2px; font: 700 10.5px/1.5 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.end-credit { font-size: 12.5px; opacity: .8; }
.end-bench { position: absolute !important; z-index: 1 !important; height: 150px; }
.end-bench .shelf { background: var(--mint); border-color: #1f1d40; }
.end-bench .ware { bottom: 38px; }
.end-bench .w1 { left: 4%; width: 70px; }
.end-bench .w3:nth-child(2) { left: 25%; width: 26px; }
.end-bench .w2 { left: 38%; width: 86px; }
.end-bench .w3:nth-child(4) { left: 64%; width: 26px; }
.end-bench .w4 { right: 4%; width: 72px; }

/* ── Lightbox ── */
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 7000; align-items: center; justify-content: center; background: rgba(40, 37, 78, .93); opacity: 0; transition: opacity .3s; }
.lb-img-wrap img { max-width: 92vw; max-height: 80vh; border: 6px solid #fff; border-radius: 8px; box-shadow: 0 0 0 3px var(--ink); }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; background: var(--lemon); color: var(--ink); font: 600 22px/1 var(--f-b); cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.lb-close { top: 18px; right: 18px; font-size: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font: 400 13px var(--f-m); letter-spacing: .1em; }

/* ════════════════════════════════════════════════════════════════
   DESKTOP: panel lab di kiri, undangan di kolom kanan
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
    .side { display: grid; place-items: center; position: fixed; top: 0; bottom: 0; left: 0; right: var(--col); z-index: 1; overflow: hidden; background-color: #f5fbf8; border-right: 3px solid var(--ink); }
    .side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(45% 40% at 50% 42%, rgba(255, 156, 194, .3), rgba(255, 156, 194, 0) 70%), radial-gradient(40% 30% at 10% 90%, rgba(203, 184, 255, .45), rgba(203, 184, 255, 0) 70%), radial-gradient(40% 30% at 90% 12%, rgba(255, 226, 122, .5), rgba(255, 226, 122, 0) 70%); }
    .side-in { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; }
    .sd-k { padding: 6px 18px; font: 700 12px/1.4 var(--f-m); letter-spacing: .16em; text-transform: uppercase; background: #fff; border: 2.5px solid var(--ink); border-radius: 99px; box-shadow: 3px 3px 0 var(--ink); }
    .sd-art { position: relative; width: min(42vh, 380px); aspect-ratio: 1; margin: 34px 0 18px; }
    .sd-photo { position: absolute; inset: 8%; border-radius: 50%; border: 10px solid #fff; box-shadow: 0 0 0 4px var(--ink), 9px 9px 0 4px var(--ink); overflow: hidden; background: linear-gradient(160deg, var(--lilac), var(--pink)); }
    .sd-photo img { width: 100%; height: 100%; object-fit: cover; }
    .sd-photo.none { display: grid; place-items: center; background: linear-gradient(180deg, #fff 0 50%, var(--lilac) 50%); }
    .sd-photo.none svg { width: 48%; height: 62%; }
    .sd-ware { position: absolute; bottom: 0; display: block; }
    .sd-ware svg { width: 100%; height: auto; }
    .sd-ware.w1 { left: -10%; width: 26%; }
    .sd-ware.w2 { left: 14%; width: 8%; bottom: -2%; }
    .sd-ware.w3 { right: -10%; width: 26%; }
    body.opened .sd-ware { animation: bob 4.6s ease-in-out infinite; }
    body.opened .sd-ware.w3 { animation-delay: -2s; }
    .sd-n { font: 700 clamp(48px, 5.4vw, 84px)/1.05 var(--f-h); color: var(--ink); overflow-wrap: anywhere; }
    .sd-n i { font-style: normal; color: var(--pink-d); }
    .sd-d { margin-top: 16px; padding: 6px 18px; font: 700 14px/1.5 var(--f-m); background: var(--mint); border: 2.5px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
    .sd-doodle { position: absolute; font: 700 28px/1 var(--f-h); color: rgba(61, 58, 107, .35); white-space: nowrap; }
    .sd-doodle sup, .sd-doodle sub { font-size: .6em; }
    .sd-doodle.d1 { left: 7%; top: 9%; rotate: -8deg; }
    .sd-doodle.d2 { right: 8%; top: 38%; rotate: 7deg; }
    .sd-doodle.d3 { left: 8%; bottom: 10%; rotate: -5deg; }
    .stage { margin-left: auto; margin-right: 0; width: var(--col); position: relative; z-index: 2; }
    .music-toggle-btn { right: 18px; }
    .toast { left: calc(100% - var(--col) / 2); }
    .floaties { left: auto; width: var(--col); }
    .cv-flask-w { --fw: clamp(180px, 30vh, 260px); }
}

@media (max-height: 720px) {
    .cv-flask-w { --fw: clamp(150px, 27vh, 200px); margin-top: 10px; }
    .cv-formula .el { --tw: 96px; }
    .cv-badge { margin: 16px 0 12px; }
    .bd-body { padding: 7px 12px 9px; }
}
@media (max-width: 370px) {
    .cv-formula .el { --tw: 100px; }
    .title { font-size: 28px; }
    .reaction { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
    [data-reveal], .hz { opacity: 1; transform: none; }
    .floaties, .bub { display: none; }
}
