@font-face { font-family: Chaviera; src: url('./floral-5/chaviera.ttf') format('truetype'); font-display: swap; }
:root {
    --bg: #fff; --card: #fff; --ink: #16365e; --accent: #16365e; --muted: #4f6177; --line: #ccddeb;
    --font-head: Chaviera, Georgia, serif; --font-name: var(--font-head); --font-body: 'Trebuchet MS', sans-serif;
    --blue: #345f91; --paper: url('./floral-5/paper.webp');
}
body.theme-floral-5 { --portrait: var(--cover-img, var(--paper)); }
body::before, .sheet::before, .hero { display: none; }
.sheet { max-width: 500px; }
.cover, .floral-opening, .intro, #acara { background: white var(--paper) top center / cover no-repeat; }
.cover { overflow: auto; padding: 1.5rem; }
.cover-inner { margin: auto; width: 100%; }
.cover .names, .title { font-family: var(--font-head); color: var(--blue); font-weight: 400; }
.cover .names { font-size: clamp(2rem, 9vw, 2.65rem); margin-bottom: .35rem; }
.eyebrow { color: var(--ink); letter-spacing: .025em; text-transform: none; font-variant: small-caps; font-size: .94rem; }
.cover .eyebrow { margin-bottom: .4rem; }
.to-label { margin: .5rem 0; }
.to-name { font: bold 1rem var(--font-body); color: var(--blue); margin: .8rem 0; }
.btn { font-size: .83rem; padding: .65rem 1.2rem; }
.floral-portrait, .floral-picture { position: relative; background: var(--portrait) center 35% / cover; }
.floral-portrait { width: min(47vw,200px,27svh); aspect-ratio: 5/6; border-radius: 100px; margin: 0 auto 2rem; box-shadow: 0 12px 22px #0003; }
.floral-portrait::before, .floral-picture::before, .person::before { content: ''; position: absolute; width: 62%; height: 95%; left: -35%; top: -4%; background: url('./floral-5/left.webp') center / contain no-repeat; pointer-events: none; }
.floral-portrait::after { content: ''; position: absolute; width: 42%; height: 51%; bottom: -3%; right: -8%; background: url('./floral-5/frame.webp') center / contain no-repeat; }
.floral-side { display: none; }
.floral-opening { min-height: 100svh; display: grid; place-items: center; }
.floral-arch { width: min(70vw,300px); padding-bottom: 3.5rem; border: 4px solid #dbe9f4; border-radius: 150px 150px 24px 24px; background: white; box-shadow: 0 0 0 5px #ffffffad, 0 12px 36px #16365e24; }
.floral-picture { aspect-ratio: 4/5; border-radius: 150px 150px 0 0; margin-bottom: 2rem; }
.floral-arch .names { font-size: 1.9rem; }
.floral-arch .date { font: italic 1rem Georgia,serif; }
.floral-date .countdown div { background: var(--accent); }
.floral-date .countdown :is(b,span) { color: white; }
.person { position: relative; max-width: 270px; margin: 2rem auto; }
.person img { width: 72%; height: auto; aspect-ratio: 4/5; border-radius: 110px 110px 20px 20px; }
.person::before { left: -5%; top: 2%; height: 70%; width: 38%; }
.sheet #acara .card { border-radius: 90px 90px 12px 12px; text-align: center; padding-top: 2.5rem; }
.title { font-size: 2.4rem; }
#amplop .card { background: #fff url('./floral-5/gift.webp') center / cover; }
.gallery img { border-radius: 4px; }
@media (min-width: 800px) {
    .sheet { margin-right: 0; }
    .cover { left: auto; width: 500px; }
    .floral-side { position: fixed; inset: 0 500px 0 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; text-align: center; color: white;
        background: linear-gradient(180deg, #00000000, #152f55cf), var(--portrait) 50% 75% / cover; }
    .floral-side strong { font: 400 clamp(2rem,4vw,4rem) var(--font-head); }
    .floral-side p { margin: .7rem 0; font-weight: 600; }
}

@font-face { font-family: Photograph; src: url('./wiwaha/photograph.ttf') format('truetype'); font-display: swap; }
.floral-date, #kisah, #amplop { background: #16365e; color: white; }
.floral-date .title, #kisah .title, #acara .title, #ucapan .title { font-family: Photograph, var(--font-head); font-size: 2.85rem; }
.floral-date .title, #amplop .title { color: white; }
#kisah .title { color: #b8daf7; }
#kisah .sub-lead { color: #ecf5ff; }
#kisah .story li, #amplop .card { color: var(--ink); }
.floral-date .countdown div { border-color: #b8daf7; }
#acara .title { color: #16365e; }
#acara .card {
    background: linear-gradient(#ffffff80, #ffffff80), white var(--paper) bottom center / 100% auto no-repeat;
}
#galeri {
    background: linear-gradient(#ffffffb0, #ffffffb0), white var(--paper) top center / cover no-repeat;
}
#ucapan {
    background: linear-gradient(#ffffff69, #ffffff69), white var(--paper) top center / cover no-repeat;
}
.closing {
    min-height: 85svh;
    display: grid;
    align-content: end;
    padding-bottom: 4rem;
    background: linear-gradient(to top, #16365e, transparent), #aabdd0 var(--portrait) top center / cover no-repeat;
}
.closing :is(.lead, .eyebrow, .names) { color: white; }
@media (max-width: 767px) {
    #acara .card { background-position: center; background-size: cover; }
    #ucapan { background-image: linear-gradient(#ffffff33, #ffffff33), var(--paper); }
}
#ucapan .title { color: #173650; }
.person h3 { color: #345f91; }
.cover .btn { background: linear-gradient(156deg,#16365e,#3c709f); }


/* Warnai tekstur dan daun secara terpisah dari foto pasangan. */
.cover, .floral-opening, .intro, #acara {
    background-color: #658dbd;
    background-blend-mode: luminosity;
}
#acara .card, #galeri, #ucapan {
    background-color: #658dbd;
    background-blend-mode: normal, luminosity;
}
.floral-portrait::before, .floral-portrait::after, .floral-picture::before, .person::before {
    filter: grayscale(1) sepia(1) hue-rotate(170deg) saturate(1.8);
}
.floral-date, #kisah, #amplop {
    background: linear-gradient(145deg, #234e7d, #132d52);
}
.floral-picture { background: none; }
.floral-photo-window {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
}
.floral-photo-window::before {
    content: '';
    position: absolute;
    inset: -20px 0;
    background: var(--portrait) center 35% / cover;
}
.floral-picture::before { z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
    .floral-photo-window::before { transform: translateY(calc(var(--floral-depth, 0) * 18px)); }
    .floral-picture::before, .person::before { transform: translateY(calc(var(--floral-depth, 0) * -22px)); }
}
