/* Tema Sinema - sinematik hitam & editorial foto */
:root {
    --sn-primary: #7A6B61;
    --sn-cream: #E8E4DA;
    --sn-black: #000;
    --sn-ink: #0b0b0b;
    --sn-line: rgba(232, 228, 218, .18);
    --sn-display: 'Noto Serif Display', Georgia, serif;
    --sn-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
    --sn-cap: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --sn-col: 480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sn {
    margin: 0; background: #000; color: var(--sn-cream);
    font: 300 16px/1.65 var(--sn-body);
    -webkit-font-smoothing: antialiased;
}
.sn img { max-width: 100%; display: block; }
.sn a { color: inherit; }
.sn h1, .sn h2, .sn h3 { margin: 0; font-family: var(--sn-display); font-weight: 300; line-height: 1.05; }
.sn em { font-style: italic; }

/* Label huruf kapital kecil */
.sn-label {
    font: 500 11px/1.4 var(--sn-cap); letter-spacing: .32em; text-transform: uppercase;
    color: var(--sn-cream); opacity: .85; margin: 0;
}
.sn-muted { color: rgba(232, 228, 218, .72); margin: 14px 0 0; }

/* Gradasi foto ke hitam */
.sn-fade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #00000000 33%, #000000 100%);
}
.sn-fade-both {
    background:
        linear-gradient(180deg, #000000 0%, #00000000 32%),
        linear-gradient(180deg, #00000000 50%, #000000 100%);
}

/* Kolom utama */
.sn-wrap { max-width: var(--sn-col); margin: 0 auto; background: #000; position: relative; overflow: hidden; }
@media (min-width: 560px) {
    .sn-wrap { box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 0 80px rgba(0, 0, 0, .9); }
    body.sn { background: radial-gradient(circle at 50% 0, #1a1714, #000 70%); }
}

.sn-section { padding: 88px 24px; position: relative; }
.sn-head { text-align: center; margin-bottom: 40px; }
.sn-title { font-size: clamp(38px, 11vw, 50px); margin-top: 12px !important; }

/* Tombol */
.sn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: 1px solid var(--sn-primary); border-radius: 0;
    background: var(--sn-primary); color: var(--sn-cream) !important;
    font: 600 11px/1 var(--sn-cap); letter-spacing: .28em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; transition: background .3s, color .3s, transform .3s;
}
.sn-btn:hover { background: var(--sn-cream); color: #000 !important; border-color: var(--sn-cream); }
.sn-btn:active { transform: scale(.97); }
.sn-btn-ghost { background: transparent; border-color: var(--sn-cream); }
.sn-btn-sm { padding: 11px 20px; font-size: 10px; }
.sn-btn-block { width: 100%; }

/* ---------- Sampul ---------- */
.sn-cover { background: #000; }
.sn-cover-col {
    position: relative; height: 100%; max-width: var(--sn-col); margin: 0 auto; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between; text-align: center;
}
.sn-cover-bg {
    position: absolute; inset: 0; background: center/cover no-repeat;
    animation: sn-kenburns 18s ease-in-out infinite alternate;
}
.sn-cover-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, #000000 0%, #00000000 32%),
        linear-gradient(180deg, #00000000 33%, #000000 92%);
}
.sn-cover-top { position: relative; padding: 48px 24px 0; animation: sn-in 1.2s .2s both; }
.sn-cover-inner { position: relative; padding: 0 24px 56px; animation: sn-in 1.2s .5s both; }
.sn-kicker { font: italic 300 20px/1 var(--sn-display); margin: 0 0 12px; opacity: .9; }
.sn-cover-names { font-size: clamp(44px, 13vw, 60px); font-weight: 200; }
.sn-cover-date { margin-top: 16px; letter-spacing: .5em; }
.sn-guest { margin: 32px auto 26px; padding: 18px 0; border-top: 1px solid var(--sn-line); border-bottom: 1px solid var(--sn-line); max-width: 300px; }
.sn-guest small { display: block; font: 400 12px/1.5 var(--sn-cap); letter-spacing: .08em; opacity: .7; }
.sn-guest strong { display: block; font: 400 24px/1.25 var(--sn-display); margin: 6px 0; }

@keyframes sn-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes sn-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.sn-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; }
.sn-hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
.sn-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, #000000 0%, #00000000 32%);
}
.sn-hero .sn-fade { z-index: 1; }
body.inv-opened .sn-hero-bg { animation: sn-zoomout 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sn-zoomout { from { transform: scale(1.15); filter: brightness(.4); } to { transform: scale(1); filter: none; } }
.sn-hero-text { position: relative; z-index: 2; width: 100%; padding: 0 24px 40px; text-align: center; }
.sn-hero-name { font-size: clamp(64px, 20vw, 96px); font-weight: 200; margin: 14px 0 10px; letter-spacing: -.01em; }
.sn-hero-date { font: 300 18px/1.3 var(--sn-display); margin: 0; opacity: .9; }

.sn-dateblock {
    display: flex; align-items: center; justify-content: center; gap: 22px;
    padding: 30px 24px 10px; font: 200 46px/1 var(--sn-display);
}
.sn-dateblock i { width: 1px; height: 44px; background: var(--sn-primary); }

/* ---------- Kutipan ---------- */
.sn-quote { text-align: center; padding-top: 70px; }
.sn-quote-mark { width: 34px; color: var(--sn-primary); margin: 0 auto 22px; display: block; }
.sn-quote blockquote { margin: 0; }
.sn-quote blockquote p { font: italic 300 21px/1.55 var(--sn-display); margin: 0 0 20px; }
.sn-quote cite { font-style: normal; color: var(--sn-primary); opacity: 1; }
.sn-greeting { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--sn-line); }
.sn-greeting h3 { font-size: 22px; font-style: italic; margin-bottom: 14px; }
.sn-greeting p { margin: 0; color: rgba(232, 228, 218, .78); }

/* ---------- Tokoh ---------- */
.sn-hosts { padding: 40px 0 60px; }
.sn-hosts .sn-head { padding: 0 24px; }
.sn-person { position: relative; }
.sn-person-photo { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; }
.sn-person-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.sn-person.is-visible .sn-person-photo img { transform: scale(1); }
.sn-person-text { position: relative; margin-top: -150px; padding: 0 24px 30px; text-align: center; z-index: 1; }
.sn-person-nick { display: block; font: 300 18px/1 var(--sn-display); color: var(--sn-cream); opacity: .8; margin: 12px 0 8px; }
.sn-person h3 { font-size: clamp(32px, 9vw, 42px); font-weight: 300; }
.sn-parents { margin: 18px 0 0; font-size: 15px; color: rgba(232, 228, 218, .8); }
.sn-parents small { display: block; margin-bottom: 6px; font-size: 10px; opacity: .65; }
.sn-desc { margin: 12px 0 0; font-size: 15px; color: rgba(232, 228, 218, .72); }
.sn-ig {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 16px;
    border: 1px solid var(--sn-line); font: 500 12px/1 var(--sn-cap); letter-spacing: .06em; text-decoration: none;
    transition: border-color .3s, background .3s;
}
.sn-ig:hover { border-color: var(--sn-cream); background: rgba(232, 228, 218, .06); }
.sn-amp { text-align: center; font: italic 200 90px/1 var(--sn-display); color: var(--sn-primary); margin: 10px 0 20px; }

/* ---------- Save the date ---------- */
.sn-save { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; }
.sn-save-bg { position: absolute; inset: 0; background: center/cover no-repeat; filter: grayscale(.4) brightness(.55); }
.sn-save-inner { position: relative; padding: 80px 24px; width: 100%; }
.sn-save-type { display: flex; flex-direction: column; align-items: center; margin-bottom: 26px !important; }
.sn-save-type span { font-size: clamp(96px, 30vw, 140px); font-weight: 200; line-height: .86; text-transform: uppercase; letter-spacing: -.02em; }
.sn-save-type em { font: italic 300 clamp(40px, 12vw, 56px)/1 var(--sn-display); color: var(--sn-cream); opacity: .85; margin: -2px 0 2px; }
.sn-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 30px; }
.sn-countdown div {
    border: 1px solid var(--sn-line); background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    padding: 16px 4px 12px;
}
.sn-countdown b { display: block; font: 300 34px/1 var(--sn-display); }
.sn-countdown span { display: block; margin-top: 8px; font: 500 9px/1 var(--sn-cap); letter-spacing: .24em; text-transform: uppercase; opacity: .7; }

/* ---------- Acara ---------- */
.sn-event { margin-bottom: 34px; border: 1px solid var(--sn-line); background: var(--sn-ink); }
.sn-event:last-child { margin-bottom: 0; }
.sn-event-photo { position: relative; aspect-ratio: 16 / 11; background: center/cover no-repeat; display: flex; align-items: flex-end; }
.sn-event-photo h3 { position: relative; z-index: 1; width: 100%; padding: 0 22px 14px; font-size: 38px; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.sn-event-body { padding: 22px 24px 30px; text-align: center; }
.sn-event-date { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; text-align: left; }
.sn-event-date b { font: 200 56px/1 var(--sn-display); color: var(--sn-cream); }
.sn-event-date span { display: block; }
.sn-event-date div span:last-child { font-family: var(--sn-display); font-size: 18px; margin-top: 4px; }
.sn-event-date div { padding-left: 14px; border-left: 1px solid var(--sn-primary); }
.sn-event-row { margin: 0 0 16px; font-size: 15px; color: rgba(232, 228, 218, .85); }
.sn-event-row small { display: block; margin-bottom: 4px; font-size: 10px; color: var(--sn-primary); opacity: 1; filter: brightness(1.5); }
.sn-event-row strong { font-weight: 600; color: var(--sn-cream); }
.sn-event .sn-btn { margin-top: 8px; }

/* ---------- RSVP ---------- */
.sn-rsvp { background: linear-gradient(180deg, #000, #0e0c0b 40%, #000); }
.sn-form { border: 1px solid var(--sn-line); padding: 28px 22px; background: rgba(232, 228, 218, .03); }
.sn-form .inv-field { margin-bottom: 18px; }
.sn-form .sn-label { display: block; font-size: 10px; margin-bottom: 8px; }
.sn-input {
    width: 100%; padding: 13px 14px; border: 1px solid var(--sn-line); border-radius: 0;
    background: rgba(0, 0, 0, .6); color: var(--sn-cream); font: 400 15px/1.4 var(--sn-body);
    -webkit-appearance: none; appearance: none; transition: border-color .3s;
}
select.sn-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E8E4DA' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
select.sn-input option { background: #111; color: #E8E4DA; }
.sn-input::placeholder { color: rgba(232, 228, 218, .4); }
.sn-input:focus { outline: none; border-color: var(--sn-cream); }

/* ---------- Live ---------- */
.sn-live { padding-top: 40px; }
.sn-live-box { border: 1px solid var(--sn-line); padding: 36px 22px; text-align: center; background: var(--sn-ink); }
.sn-live-badge {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; background: #b3261e; color: #fff;
    font: 600 11px/1 var(--sn-cap); letter-spacing: .3em; text-transform: uppercase;
}
.sn-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sn-blink 1.2s infinite; }
@keyframes sn-blink { 50% { opacity: .2; } }
.sn-live .sn-title { font-size: 40px; }
.sn-live .sn-btn { margin-top: 24px; }
.sn-video { position: relative; aspect-ratio: 16 / 9; margin-top: 22px; background: #111; }
.sn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sn-gallery .sn-video { margin: 0 0 6px; }

/* ---------- Galeri ---------- */
.sn-gallery { padding-left: 6px; padding-right: 6px; }
.sn-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; grid-auto-flow: dense; gap: 6px; }
.sn-mosaic a { overflow: hidden; display: block; position: relative; }
.sn-mosaic a:nth-child(6n + 1) { grid-row: span 3; }
.sn-mosaic a:nth-child(6n + 2), .sn-mosaic a:nth-child(6n + 3) { grid-row: span 2; }
.sn-mosaic a:nth-child(6n + 4) { grid-column: span 2; grid-row: span 2; }
.sn-mosaic a:nth-child(6n + 5), .sn-mosaic a:nth-child(6n) { grid-row: span 2; }
.sn-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform 1s ease, filter .6s; }
.sn-mosaic a:hover img { transform: scale(1.06); filter: none; }

/* ---------- Cerita ---------- */
.sn-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.sn-timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--sn-primary), rgba(122, 107, 97, .1)); }
.sn-timeline li { position: relative; padding-bottom: 46px; }
.sn-timeline li:last-child { padding-bottom: 0; }
.sn-timeline li::before {
    content: ''; position: absolute; left: -27px; top: 4px; width: 11px; height: 11px;
    border: 1px solid var(--sn-cream); background: #000; transform: rotate(45deg);
}
.sn-story-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 16px; }
.sn-story-img img { width: 100%; height: 100%; object-fit: cover; }
.sn-timeline .sn-label { color: var(--sn-primary); filter: brightness(1.5); }
.sn-timeline h3 { font-size: 28px; margin: 8px 0 10px; }
.sn-timeline p { margin: 0; color: rgba(232, 228, 218, .78); font-size: 15px; }

/* ---------- Hadiah ---------- */
.sn-gift { text-align: center; background: linear-gradient(180deg, #000, #0e0c0b 50%, #000); }
.sn-gift-panel { margin-top: 30px; text-align: left; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.sn-gift-panel.is-open { opacity: 1; transform: none; }
.sn-card {
    position: relative; margin-bottom: 16px; padding: 26px 22px; overflow: hidden;
    background: linear-gradient(135deg, var(--sn-primary), #1a1614 85%);
    border: 1px solid rgba(232, 228, 218, .2);
}
.sn-card::after {
    content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
    border: 1px solid rgba(232, 228, 218, .15); box-shadow: 0 0 0 26px rgba(232, 228, 218, .03);
}
.sn-card-chip { width: 40px; color: var(--sn-cream); opacity: .7; margin-bottom: 18px; }
.sn-card-bank { margin: 0; font: 600 13px/1 var(--sn-cap); letter-spacing: .3em; }
.sn-card-number { margin: 14px 0 4px; font: 300 30px/1.1 var(--sn-display); letter-spacing: .06em; word-break: break-all; }
.sn-card-name { margin: 0 0 20px; font-size: 14px; opacity: .8; }
.sn-card .sn-btn { background: var(--sn-cream); color: #000 !important; border-color: var(--sn-cream); }
.sn-card .sn-btn:hover { background: transparent; color: var(--sn-cream) !important; }
.sn-card-address { background: var(--sn-ink); }
.sn-card-address p:not(.sn-label) { margin: 10px 0 18px; }
.sn-attention { border: 1px dashed rgba(232, 228, 218, .35); padding: 18px 20px; margin-top: 6px; }
.sn-attention .sn-label { font-weight: 600; letter-spacing: .24em; }
.sn-attention .sn-label span { font-size: 15px; letter-spacing: 0; margin-right: 4px; }
.sn-attention p:last-child { margin: 8px 0 0; font-size: 14px; color: rgba(232, 228, 218, .75); }

/* ---------- Ucapan ---------- */
.sn-wish-list { max-height: 520px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--sn-primary) transparent; }
.sn-wish { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--sn-line); }
.sn-wish-avatar {
    flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: var(--sn-primary); color: var(--sn-cream); font: 400 18px/1 var(--sn-display);
}
.sn-wish strong { font-weight: 600; }
.sn-wish em { font: 500 10px/1 var(--sn-cap); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: #000; background: var(--sn-cream); padding: 3px 7px; margin-left: 4px; vertical-align: 2px; }
.sn-wish em:empty { display: none; }
.sn-wish p { margin: 6px 0 4px; font-size: 15px; color: rgba(232, 228, 218, .85); }
.sn-wish small { font-size: 12px; opacity: .5; }
.sn-empty { text-align: center; opacity: .6; font-style: italic; }

/* ---------- Penutup ---------- */
.sn-footer { position: relative; min-height: 90vh; display: flex; align-items: flex-end; text-align: center; }
.sn-footer-bg { position: absolute; inset: 0; background: center/cover no-repeat; filter: brightness(.6); }
.sn-footer-inner { position: relative; width: 100%; padding: 100px 24px 40px; }
.sn-closing { margin: 0 0 34px; color: rgba(232, 228, 218, .85); }
.sn-footer-names { font-size: clamp(46px, 14vw, 64px); font-weight: 200; margin: 12px 0 14px !important; }
.sn-signature { font: 300 17px/1.5 var(--sn-display); margin: 0; opacity: .85; }
.sn-credit { margin: 60px 0 0; font: 400 11px/1.5 var(--sn-cap); letter-spacing: .1em; opacity: .5; }
.sn-credit a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Reveal sedikit lebih sinematik */
.sn [data-reveal] { transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
    .sn-cover-bg, body.inv-opened .sn-hero-bg { animation: none; }
}
.sn-hero-name span { display: block; }
.sn-hero-amp { display: block; font: italic 200 .45em/1.1 var(--sn-display); color: var(--sn-cream); opacity: .8; }
