@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --bg: #161616; --card: #222; --ink: #f6f6f0; --muted: #cccac6;
    --accent: #f6f6f0; --on-accent: #181818; --line: #555;
    --font-head: 'Cormorant Garamond', Georgia, serif; --font-name: var(--font-head);
    --font-body: 'DM Sans', Arial, sans-serif; --radius: 4px;
    --pattern-outer: 0; --pattern-inner: 0;
}
.sheet { max-width: 520px; }
.cover, .hero, .closing, .pj-sidebar { isolation: isolate; overflow: hidden; background: #202020; }
.cover::before, .hero::before, .closing::before, .pj-sidebar::before {
    content: ''; position: absolute; z-index: -1; inset: -50px 0;
    background: linear-gradient(180deg, #1112 20%, #1118 54%, #111e), var(--cover-img, none) center 35% / cover;
    filter: grayscale(1);
}
.cover, .hero, .closing { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 4rem 1.6rem max(4rem, 10svh); }
.hero { min-height: 100svh; }
.cover-inner { width: 100%; }
.cover .names, .hero .names, .pj-sidebar .names { font-size: clamp(3rem, 11vw, 4.8rem); line-height: 1; }
.cover .to-label { margin-top: 1.7rem; }
.eyebrow { color: #eee; letter-spacing: .3em; }
.hero .hero-photo, .hero .ornament, .hero .countdown, .deco { display: none; }
.pj-sidebar { display: none; }
.pj-opening { padding: 4rem 9%; }
.pj-opening-card > img { width: 55%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); }
.pj-verse { margin: 1.65rem auto 0; font: italic 1.4rem/1.45 var(--font-head); }
.pj-verse span, .story-date { font: 500 .7rem var(--font-body); letter-spacing: .15em; text-transform: uppercase; }
.intro, #kisah, #galeri, .floral-date { --bg: #f6f6f0; --card: #fff; --accent: #191919; --ink: #222; --muted: #555; --line: #c6c5be; color: var(--ink); background: var(--bg); }
.people { display: grid; gap: 1rem; }
.person img { width: min(82%, 300px); height: auto; aspect-ratio: 3/4; object-fit: cover; border: none; outline: none; border-radius: 0; filter: grayscale(1); }
.person h3, .title { font: 400 clamp(2.4rem, 8vw, 3.4rem)/1.08 var(--font-head); }
.person p { color: var(--muted); }
.card, .story li { box-shadow: none; }
#acara .card { padding: 2rem 1.4rem; text-align: center; }
#acara .card h3 { font-size: 2.3rem; }
#acara .actions { justify-content: center; }
.countdown div { border: 0; border-radius: 0; background: transparent; }
.wh-strip { display: flex; overflow-x: auto; gap: .45rem; margin: 1.5rem 0; }
.wh-strip img { width: 39%; flex: none; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(1); }
.gallery img { filter: grayscale(1); border-radius: 0; }
.closing { min-height: 85svh; }
@media (prefers-reduced-motion: no-preference) {
    .hero::before, .closing::before { transform: translateY(calc(var(--pj-depth, 0) * 46px)); }
}
@media (min-width: 800px) {
    .sheet { margin-right: 0; }
    .cover { left: auto; width: 520px; }
    .pj-sidebar { position: fixed; inset: 0 520px 0 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 6vw; text-align: left; }
    .float-nav { left: calc(100% - 260px); }
}
