/* temp-inv-ekc11 · Sakura Pagi: merah muda lembut, kelopak, kemuning. Dasar: dasar-baru.css */
:root {
    --utama: #B23A5E; --utama-pekat: #7E2342; --aksen: #F2B5C4; --krem: #FFE4E8;
    --bg: #FFF5F2; --tinta: #44202E; --kartu: #FFFFFF; --garis: rgba(178,58,94,.28); --garis-kuat: rgba(126,35,66,.6);
    --input: #FFFFFF; --fokus: var(--utama); --latar: #F7DDE2;
    --judul: 'DM Serif Display', Georgia, serif; --isi: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lebar: 30rem; --radius: 1.25rem;
    --tb-bg: var(--utama-pekat); --tb-fg: #fff; --tb-garis: var(--utama-pekat); --tb-radius: 999px;
    --musik-bg: var(--utama-pekat); --musik-fg: #fff;
}
.nama-besar { margin: 0; font-family: var(--judul); font-weight: 400; line-height: 1; color: var(--utama-pekat); }
.nama-besar span { display: block; }
.nama-besar .dan { font-family: var(--isi); font-size: .35em; letter-spacing: .3em; margin: .7em 0; color: var(--utama-pekat); }
.nama-besar.kecil { font-size: 1.875rem; }
.nama-besar.kecil span { display: inline; }
.nama-besar.kecil .dan { margin: 0 .5em; font-size: .5em; }
.angka { display: flex; justify-content: center; gap: .5rem; margin: 0; font-weight: 700; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: var(--utama-pekat); }
.angka span + span::before { content: "\00B7"; margin-right: .5rem; }
.kecil-atas, .cover-kecil { margin: 0; text-transform: uppercase; letter-spacing: .3em; font-size: .75rem; font-weight: 700; color: var(--utama-pekat); }

/* Kelopak */
.hias { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hias i { position: absolute; width: 3rem; height: 3rem; border-radius: 80% 0 80% 0; background: var(--aksen); opacity: .75; transform: rotate(var(--r, 20deg)); }
.hias i:nth-child(1) { top: 8%; left: 8%; --r: 25deg; }
.hias i:nth-child(2) { top: 16%; right: 10%; --r: 110deg; width: 2.2rem; height: 2.2rem; }
.hias i:nth-child(3) { top: 44%; left: -1rem; --r: 70deg; width: 4rem; height: 4rem; opacity: .5; }
.hias i:nth-child(4) { top: 58%; right: -.5rem; --r: 200deg; width: 3.5rem; height: 3.5rem; opacity: .55; }
.hias i:nth-child(5) { bottom: 10%; left: 14%; --r: 150deg; width: 2.4rem; height: 2.4rem; }
.hias i:nth-child(6) { bottom: 6%; right: 18%; --r: 300deg; }
@media (prefers-reduced-motion: no-preference) { .cover .hias i { animation: jatuh 9s ease-in-out infinite alternate; } .cover .hias i:nth-child(even) { animation-duration: 12s; } }
@keyframes jatuh { to { transform: translateY(1.5rem) rotate(calc(var(--r) + 40deg)); } }

.cover { background: linear-gradient(170deg, #FFF5F2, #FFD9E0); color: var(--tinta); clip-path: inset(0); transition: clip-path 1.1s cubic-bezier(.7, 0, .3, 1); }
.cover.terbuka { clip-path: inset(50% 0); pointer-events: none; }
.cover-isi { z-index: 1; gap: 1.2rem; }
.cover .nama-besar { font-size: clamp(3.25rem, min(17vw, 10svh), 5rem); }
.cover-foto { width: min(10rem, 24svh); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 1rem 1rem; border: 4px solid #fff; box-shadow: 0 .75rem 2rem rgba(126,35,66,.2); }
.cover-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tamu { padding: .9rem 2rem; background: rgba(255,255,255,.85); border-radius: 1.25rem; }
.tamu p { margin: 0; font-size: .9375rem; }
.tamu-nama { font-size: 1.25rem !important; font-weight: 800; margin: .1rem 0 !important; color: var(--utama-pekat); }
@media (max-height: 560px) {
    .cover-isi { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; padding: .75rem 1.5rem; }
    .cover-foto { display: none; }
    .cover .nama-besar span { display: inline; }
    .cover .nama-besar .dan { margin: 0 .3em; }
}

.judul { text-align: center; font-weight: 400; font-size: 2rem; color: var(--utama-pekat); }
.judul::after { content: ""; display: block; width: 2.5rem; height: 3px; margin: .8rem auto 0; border-radius: 3px; background: var(--aksen); }
.awal { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 5rem 1.5rem; text-align: center; outline: 0; overflow: hidden; background: linear-gradient(170deg, #FFF5F2, #FFD9E0); }
.awal > *:not(.hias) { position: relative; z-index: 1; }
.awal .nama-besar { font-size: clamp(3.5rem, 18vw, 5.25rem); }
.pembuka { max-width: 22rem; margin: .5rem 0 0; }
.kutipan { max-width: 22rem; margin: 0 auto 2.5rem; text-align: center; font-size: 1.125rem; font-style: italic; }
.pasangan { display: grid; gap: 2.5rem; justify-items: center; }
.orang { text-align: center; max-width: 20rem; }
.potret { width: 11rem; margin: 0 auto 1.25rem; overflow: hidden; border-radius: 999px 999px 1rem 1rem; border: 4px solid #fff; box-shadow: 0 .75rem 2rem rgba(126,35,66,.18); }
.potret img, .monogram { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.monogram { display: grid; place-items: center; font-family: var(--judul); font-size: 4rem; color: var(--utama-pekat); background: var(--krem); }
.orang-nama { margin: 0 0 .5rem; font-family: var(--judul); font-weight: 400; font-size: 1.875rem; color: var(--utama-pekat); }
.orang-ortu { margin: 0; }

.lembut { background: var(--krem); }
.hitung { gap: .5rem; }
.hitung > div { padding: .9rem .25rem; background: #fff; border-radius: 1rem; }
.hitung b { color: var(--utama-pekat); font-weight: 400; font-size: 2rem; }
.hitung span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.acara { display: block; padding: 1.75rem 1.5rem; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: 0 .5rem 1.5rem rgba(126,35,66,.1); }
.acara-hari { display: none; }
.acara h3 { font-family: var(--judul); font-weight: 400; font-size: 1.75rem; color: var(--utama-pekat); }
.acara-tgl { font-weight: 800; }
.acara .aksi { justify-content: center; }
.galeri { gap: .75rem; }
.foto { border-radius: 999px 999px .75rem .75rem; }
.foto img { aspect-ratio: 3 / 4; }
.galeri .foto:nth-child(even) { margin-top: 1.5rem; }
.rekening li, .alamat-hadiah { text-align: center; box-shadow: 0 .5rem 1.5rem rgba(126,35,66,.1); }
.bank { letter-spacing: .15em; text-transform: uppercase; font-size: .8125rem; color: var(--utama-pekat); }
.norek { font-weight: 400; color: var(--utama-pekat); }
.form { margin-inline: auto; }
.penutup { position: relative; overflow: hidden; padding: 5rem 1.5rem 7rem; background: linear-gradient(180deg, var(--bg), #FFD9E0); }
.penutup > *:not(.hias) { position: relative; z-index: 1; }
.penutup a { color: var(--utama-pekat); }
