/* ============================================================
   ART DIRECTION: LUXURY EDITORIAL / BLUE ROMANCE
   Referensi pendekatan visual:
   - Editorial typography dan ruang kosong yang lega.
   - Fotografi pasangan sebagai fokus, bukan dekorasi berlebihan.
   - Detail stationery, garis tipis, dan aksen champagne.
   File ini sengaja dipisahkan agar aturan dasar tetap mudah dibaca.
   Dashboard tidak menggunakan stylesheet ini.
   ============================================================ */

:root {
    --editorial-ink: #142b46;
    --editorial-navy: #173653;
    --editorial-blue: #6687a8;
    --editorial-dust: #dce7ef;
    --editorial-pale: #edf3f7;
    --editorial-paper: #fbfaf6;
    --editorial-warm: #f3efe7;
    --editorial-champagne: #b89c73;
    --editorial-line: rgba(25, 54, 82, 0.16);
    --editorial-serif: "Cormorant Garamond", Georgia, serif;
    --editorial-sans: "DM Sans", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    background: var(--editorial-paper);
    color: var(--editorial-ink);
    font-family: var(--editorial-sans);
    letter-spacing: 0.005em;
}

/* ------------------------------------------------------------
   COVER: seperti kartu undangan yang dibuka sebelum memasuki acara
   ------------------------------------------------------------ */
.cover-screen {
    background:
        linear-gradient(120deg, rgba(13, 34, 57, 0.88), rgba(29, 62, 91, 0.62)),
        url("assets/img/hero-editorial.jpg") center 42% / cover no-repeat;
}

.cover-screen::before {
    inset: 24px;
    border: 1px solid rgba(236, 226, 207, 0.55);
    border-radius: 2px;
}

.cover-screen::after {
    top: auto;
    right: -180px;
    bottom: -310px;
    width: 560px;
    height: 560px;
    border-color: rgba(236, 226, 207, 0.18);
}

.cover-card {
    width: min(100%, 610px);
    border: 0;
    border-radius: 0;
    padding: clamp(2.4rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3.6rem);
    background: transparent;
    backdrop-filter: none;
}

.cover-card::before,
.cover-card::after {
    position: absolute;
    left: 50%;
    width: 54px;
    height: 1px;
    background: var(--editorial-champagne);
    content: "";
    transform: translateX(-50%);
}

.cover-card::before { top: 0; }
.cover-card::after { bottom: 0; }

.cover-card .eyebrow {
    color: rgba(255, 255, 255, 0.76);
    letter-spacing: 0.28em;
}

.cover-monogram {
    margin: 1.4rem 0 0.6rem;
    color: #f5f0e8;
    font-family: var(--editorial-serif);
    font-size: clamp(2.5rem, 7vw, 4.1rem);
    font-weight: 400;
    letter-spacing: 0.08em;
}

.cover-monogram span {
    color: #d6c3a2;
    font-family: "Allura", cursive;
}

.cover-card h1 {
    margin: 0 auto 1rem;
    color: #fffdf9;
    font-family: var(--editorial-serif);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.cover-card h1 span { color: #d6c3a2; }

.cover-date {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.cover-recipient {
    display: grid;
    gap: 0.2rem;
    width: min(100%, 330px);
    margin: 2rem auto 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.9rem 1rem;
}

.cover-recipient span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cover-recipient strong {
    color: #fffdf9;
    font-family: var(--editorial-serif);
    font-size: 1.55rem;
    font-weight: 500;
}

.cover-card .button-light {
    min-width: 190px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2px;
    background: #f6f3ed;
    color: var(--editorial-ink);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cover-note {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.12em;
}

/* ------------------------------------------------------------
   HEADER: kontras jelas di atas latar biru muda
   ------------------------------------------------------------ */
.site-header {
    top: 18px;
    width: min(calc(100% - 56px), 1320px);
    min-height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 3px;
    padding: 0 22px;
    background: rgba(250, 252, 253, 0.72);
    box-shadow: 0 8px 28px rgba(22, 49, 75, 0.045);
    backdrop-filter: blur(16px);
}

.brand { color: var(--editorial-ink); }
.brand-symbol { color: var(--editorial-navy); }
.brand-symbol span,
.brand-name i { color: var(--editorial-champagne); }
.brand-name { color: var(--editorial-ink); }

.main-nav { gap: clamp(13px, 2vw, 28px); }
.main-nav a {
    color: #536a80;
    font-size: 0.65rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.main-nav a:hover { color: var(--editorial-ink); }
.main-nav a::after { background: var(--editorial-champagne); }

.music-button {
    border-color: rgba(25, 54, 82, 0.25);
    background: transparent;
    color: var(--editorial-ink);
    font-size: 0.63rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.music-button:hover,
.music-button.is-playing {
    background: var(--editorial-navy);
    color: #fff;
}

/* ------------------------------------------------------------
   HERO: komposisi majalah, foto menjadi elemen utama
   ------------------------------------------------------------ */
.hero-section {
    min-height: min(920px, 100svh);
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    padding: 150px max(6vw, calc((100vw - 1220px) / 2)) 112px;
    background:
        radial-gradient(ellipse at 14% 18%, rgba(255, 255, 255, 0.92), transparent 37%),
        linear-gradient(118deg, #f3f5f3 0%, #e4edf3 48%, #cad9e6 100%);
}

.hero-section::before {
    right: -210px;
    bottom: -360px;
    width: 820px;
    height: 820px;
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-section::after {
    position: absolute;
    top: 23%;
    left: 48%;
    width: 1px;
    height: 42%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.7), transparent);
    content: "";
    pointer-events: none;
}

.hero-copy { max-width: 590px; padding: 1.3rem 0 2rem; }
.hero-copy .eyebrow {
    margin-bottom: 2rem;
    color: #71869a;
    letter-spacing: 0.28em;
}

.hero-kicker {
    margin-bottom: 0.35rem;
    color: var(--editorial-blue);
    font-family: var(--editorial-sans);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 0.8rem -4px;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(5.2rem, 8.2vw, 8.5rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.77;
}

.hero-copy h1 span {
    color: var(--editorial-champagne);
    font-family: "Allura", cursive;
    font-size: 0.8em;
    font-weight: 400;
}

.ornament-divider {
    width: 205px;
    justify-content: flex-start;
    gap: 10px;
    margin: 1.6rem 0 1.2rem;
    color: var(--editorial-champagne);
}
.ornament-divider span { width: 74px; background: rgba(184, 156, 115, 0.68); }

.hero-description {
    max-width: 390px;
    margin-bottom: 1.7rem;
    color: #586d80;
    font-family: var(--editorial-serif);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-style: italic;
    line-height: 1.42;
}

.wedding-date-pill {
    gap: 13px;
    margin-bottom: 1.2rem;
    color: var(--editorial-ink);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.calendar-icon {
    width: 34px;
    height: 34px;
    border-color: rgba(25, 54, 82, 0.28);
    color: var(--editorial-blue);
}

.countdown { gap: 0; margin: 0 0 1.8rem; }
.countdown-item {
    min-width: 70px;
    border: 0;
    border-right: 1px solid rgba(25, 54, 82, 0.16);
    border-radius: 0;
    padding: 0.45rem 0.9rem 0.4rem 0;
    margin-right: 0.9rem;
    background: transparent;
}
.countdown-item:last-child { border-right: 0; }
.countdown-item strong {
    color: var(--editorial-ink);
    font-size: 2rem;
    font-weight: 400;
}
.countdown-item span {
    color: #75879a;
    font-size: 0.55rem;
    letter-spacing: 0.16em;
}

.button-primary {
    min-height: 50px;
    border-radius: 2px;
    padding: 0.9rem 1.5rem;
    background: var(--editorial-navy);
    box-shadow: none;
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.button-primary:hover { background: #244c6d; box-shadow: 0 12px 26px rgba(20, 43, 70, 0.15); }

.hero-visual {
    max-width: 650px;
    padding: 0 0 54px 22px;
}
.hero-photo-frame {
    aspect-ratio: 0.88 / 1;
    border: 9px solid rgba(255, 255, 255, 0.82);
    border-radius: 2px;
    background: #d8e3ec;
    box-shadow: 0 34px 80px rgba(28, 56, 82, 0.19);
}
.hero-photo-frame::before {
    position: absolute;
    z-index: 2;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    content: "";
    pointer-events: none;
}
.hero-photo-frame::after {
    border-radius: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(15, 37, 60, 0.16));
}
.hero-photo-frame img {
    object-position: center 39%;
    filter: saturate(0.86) contrast(1.02);
    transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.1s ease;
}
.hero-photo-frame:hover img { transform: scale(1.035); filter: saturate(0.98) contrast(1.02); }

.photo-caption {
    right: 4px;
    bottom: 5px;
    gap: 14px;
    color: #526b82;
    font-size: 1.15rem;
}
.caption-line { width: 42px; background: var(--editorial-champagne); }
.hero-flower { color: #7893aa; opacity: 0.45; }
.flower-one { top: 4%; left: -16px; font-size: 2.2rem; }
.flower-two { right: -28px; bottom: 24%; color: var(--editorial-champagne); font-size: 2rem; }

.scroll-cue {
    bottom: 27px;
    color: #657d92;
    font-size: 0.58rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}
.scroll-cue-icon { color: var(--editorial-champagne); }

/* ------------------------------------------------------------
   SECTION RHYTHM: halaman terasa seperti beberapa bab editorial
   ------------------------------------------------------------ */
.section-shell { width: min(calc(100% - 56px), 1180px); }
.section-heading { max-width: 720px; margin-bottom: 3.8rem; }
.section-heading .eyebrow {
    color: #7d91a4;
    font-size: 0.62rem;
    letter-spacing: 0.27em;
}
.section-heading h2 {
    color: var(--editorial-ink);
    font-size: clamp(3rem, 5.4vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}
.section-heading h2 em {
    color: var(--editorial-blue);
    font-size: 1.12em;
}
.section-heading::after {
    width: 58px;
    margin-top: 1.5rem;
    background: var(--editorial-champagne);
}
.section-lead {
    max-width: 560px;
    color: #748597;
    font-size: 0.8rem;
    line-height: 1.9;
}

.intro-section {
    max-width: 920px;
    padding-top: clamp(6rem, 10vw, 9rem);
    padding-bottom: clamp(6rem, 10vw, 9rem);
}
.intro-section::before,
.intro-section::after { color: rgba(103, 135, 166, 0.13); font-size: 8rem; }
.intro-section::before { left: -10px; top: 28%; }
.intro-section::after { right: -10px; bottom: 18%; }
.intro-section .section-heading h2 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.12;
}
.intro-copy {
    max-width: 690px;
    color: #596e81;
    font-size: 0.88rem;
    line-height: 2.05;
}
.quran-quote {
    max-width: 710px;
    border-top-color: rgba(184, 156, 115, 0.5);
    border-bottom-color: rgba(184, 156, 115, 0.5);
    padding: 1.8rem 1.5rem;
    color: #486984;
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.quran-quote cite { color: #9a876c; letter-spacing: 0.16em; }
.intro-closing { color: #83909b; font-size: 0.75rem; }

/* ------------------------------------------------------------
   COUPLE: panel foto dan identitas diseimbangkan seperti spread majalah
   ------------------------------------------------------------ */
.couple-section {
    padding-top: clamp(5rem, 8vw, 7rem);
    padding-bottom: clamp(5rem, 8vw, 7rem);
    background: linear-gradient(180deg, #edf2f5 0%, #e6edf2 100%);
}
.couple-layout {
    max-width: 1080px;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.2fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
}
.person-card { padding: 1.2rem 0; }
.person-label {
    color: #8296a7;
    font-size: 0.61rem;
    letter-spacing: 0.23em;
}
.person-card h3 {
    margin: 0.7rem 0 1rem;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 500;
    line-height: 1.02;
}
.person-family { color: #78899a; font-size: 0.76rem; line-height: 1.9; }
.person-family strong { color: #526b80; font-weight: 600; }
.couple-photo-wrap {
    overflow: hidden;
    aspect-ratio: 0.82 / 1;
    border: 8px solid rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    background: #d5e1e9;
    box-shadow: 0 24px 55px rgba(27, 55, 80, 0.13);
}
.couple-photo-wrap img { object-fit: cover; object-position: center 54%; filter: saturate(0.86); }
.couple-photo-mark {
    right: 17px;
    bottom: 14px;
    color: #fff;
    font-family: var(--editorial-serif);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ------------------------------------------------------------
   EVENT: jadwal terbaca dan dua lokasi tidak tertukar
   ------------------------------------------------------------ */
.event-section { padding-top: clamp(6rem, 9vw, 8rem); padding-bottom: clamp(6rem, 9vw, 8rem); }
.event-date-banner {
    max-width: 790px;
    border-top: 1px solid var(--editorial-line);
    border-bottom: 1px solid var(--editorial-line);
    padding: 1.5rem 2rem;
    background: transparent;
}
.event-date-day {
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(4rem, 7vw, 5.5rem);
    font-weight: 400;
}
.event-date-banner strong { color: var(--editorial-blue); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.event-date-banner div span { color: #718395; font-size: 0.8rem; }
.event-date-year { color: #a18d70; letter-spacing: 0.2em; }
.event-cards { gap: 18px; }
.event-card {
    min-height: 330px;
    border: 1px solid rgba(33, 66, 94, 0.13);
    border-radius: 2px;
    padding: 2.4rem 2rem;
    background: #f6f7f5;
    box-shadow: none;
}
.event-card-featured {
    border-color: #244763;
    background: linear-gradient(145deg, #193b59, #315875);
    box-shadow: 0 18px 40px rgba(25, 54, 82, 0.13);
}
.event-card-icon { color: #b9a17e; }
.event-card .event-type {
    color: #8296a8;
    font-size: 0.61rem;
    letter-spacing: 0.22em;
}
.event-card h3 {
    color: var(--editorial-ink);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 500;
}
.event-card > p:not(.event-type) { color: #81909c; font-size: 0.73rem; }
.event-card .event-location { color: #526b80; font-family: var(--editorial-serif); font-size: 1.4rem; line-height: 1.2; }
.event-card-featured .event-type,
.event-card-featured > p:not(.event-type) { color: rgba(255, 255, 255, 0.68); }
.event-card-featured h3,
.event-card-featured .event-location { color: #fff; }
.event-card-featured .event-card-rule { background: rgba(255, 255, 255, 0.25); }
.map-action {
    min-height: 42px;
    border: 1px solid rgba(25, 54, 82, 0.24);
    border-radius: 2px;
    padding: 0.65rem 0.9rem;
    background: transparent;
    color: var(--editorial-ink);
    font-size: 0.61rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.map-action svg { stroke: currentColor; }
.map-action:hover { background: var(--editorial-navy); color: #fff; }
.map-action-light { border-color: rgba(255, 255, 255, 0.48); color: #fff; }
.map-action-light:hover { border-color: #fff; background: #fff; color: var(--editorial-navy); }
.event-flow {
    max-width: 880px;
    margin: 4rem auto 3.5rem;
    border-top: 1px solid var(--editorial-line);
    border-bottom: 1px solid var(--editorial-line);
    padding: 2.5rem clamp(1rem, 4vw, 3rem);
    background: #f7f8f6;
}
.event-flow-heading h3 { color: var(--editorial-ink); font-size: 2rem; font-weight: 400; }
.event-flow-heading h3 em { color: var(--editorial-blue); }
.event-flow-heading p:not(.eyebrow) { color: #7b8b99; font-size: 0.75rem; }
.event-flow-list { gap: 0; }
.event-flow-list li { border-bottom: 1px solid rgba(25, 54, 82, 0.1); padding: 1rem 0; }
.event-flow-list li:last-child { border-bottom: 0; }
.event-flow-time { color: #9a8566; font-size: 0.63rem; letter-spacing: 0.12em; }
.event-flow-list strong { color: var(--editorial-ink); font-family: var(--editorial-serif); font-size: 1.25rem; font-weight: 500; }
.event-flow-list small { color: #82909d; font-size: 0.69rem; }
.venue-grid { gap: 18px; }
.venue-panel {
    border: 1px solid rgba(25, 54, 82, 0.12);
    border-radius: 2px;
    background: #f5f6f3;
    box-shadow: none;
}
.venue-photo { min-height: 290px; }
.venue-photo img { min-height: 290px; filter: saturate(0.82); transition: transform 0.8s ease; }
.venue-panel:hover .venue-photo img { transform: scale(1.025); }
.venue-copy h3 { color: var(--editorial-ink); font-family: var(--editorial-serif); font-size: clamp(2rem, 3vw, 2.7rem); }
.venue-copy p:not(.eyebrow) { color: #758696; font-size: 0.76rem; }
.venue-note { color: #8995a0; font-size: 0.68rem; }

/* ------------------------------------------------------------
   STORY: alur seperti bab dalam album foto
   ------------------------------------------------------------ */
.story-section {
    padding-top: clamp(6rem, 9vw, 8rem);
    padding-bottom: clamp(6rem, 9vw, 8rem);
    background: #eaf0f4;
}
.story-timeline { max-width: 900px; }
.story-timeline::before { left: 91px; background: rgba(93, 125, 153, 0.3); }
.story-item { grid-template-columns: 92px minmax(0, 1fr); gap: 38px; padding-bottom: 3.6rem; }
.story-year {
    width: 66px;
    height: 66px;
    border-color: rgba(93, 125, 153, 0.38);
    background: #f8f8f5;
    color: #58758f;
    font-size: 1.25rem;
}
.story-content { padding: 0.25rem 0 1.2rem; }
.story-content time { color: #9a8566; font-size: 0.61rem; letter-spacing: 0.19em; }
.story-content h3 { color: var(--editorial-ink); font-size: clamp(1.8rem, 3vw, 2.35rem); font-weight: 400; }
.story-content p { max-width: 690px; color: #718292; font-size: 0.78rem; line-height: 2; }

/* ------------------------------------------------------------
   GALLERY: bentuk dan jarak terinspirasi layout editorial
   ------------------------------------------------------------ */
.gallery-section { padding-top: clamp(6rem, 9vw, 8rem); padding-bottom: clamp(6rem, 9vw, 8rem); }
.gallery-grid {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: 290px 290px;
    gap: 14px;
}
.gallery-item {
    border: 7px solid #fff;
    border-radius: 2px;
    background: #dce6ed;
    box-shadow: 0 15px 35px rgba(27, 55, 80, 0.08);
}
.gallery-item img { filter: saturate(0.82) contrast(1.02); }
.gallery-item:hover img { filter: saturate(0.98); }
.gallery-number {
    right: 13px;
    bottom: 13px;
    width: 32px;
    height: 32px;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(20, 43, 70, 0.28);
    color: #fff;
    font-family: var(--editorial-serif);
}

/* ------------------------------------------------------------
   WEDDING GIFT: kartu rekening seperti detail stationery premium
   ------------------------------------------------------------ */
.gift-section { max-width: 980px; padding-top: clamp(5rem, 8vw, 7rem); padding-bottom: clamp(5rem, 8vw, 7rem); }
.bank-card {
    max-width: 520px;
    min-height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 3px;
    padding: 2rem 2.2rem;
    background:
        radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(132deg, #173653 0%, #315875 62%, #607f99 100%);
    box-shadow: 0 24px 55px rgba(24, 53, 80, 0.16);
}
.bank-card::after { border-color: rgba(255, 255, 255, 0.2); }
.bank-name { font-family: var(--editorial-serif); font-size: 1.55rem; font-weight: 500; letter-spacing: 0.08em; }
.bank-owner { letter-spacing: 0.15em; }
.bank-number-row strong { font-size: 1.75rem; letter-spacing: 0.08em; }
.copy-button { border-radius: 2px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ------------------------------------------------------------
   RSVP: form sederhana dan bersih, fokus pada kemudahan tamu
   ------------------------------------------------------------ */
.rsvp-section {
    padding-top: clamp(6rem, 9vw, 8rem);
    padding-bottom: clamp(6rem, 9vw, 8rem);
    background: #eaf0f4;
}
.rsvp-form {
    max-width: 680px;
    gap: 10px;
    border: 1px solid rgba(25, 54, 82, 0.12);
    padding: clamp(1.3rem, 4vw, 2.4rem);
    background: rgba(251, 250, 246, 0.82);
    box-shadow: 0 18px 42px rgba(27, 55, 80, 0.055);
}
.rsvp-form label {
    color: #536e86;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    border: 1px solid rgba(35, 70, 108, 0.19);
    border-radius: 2px;
    padding: 0.95rem 1rem;
    background: #fff;
    color: var(--editorial-ink);
    font-size: 0.78rem;
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    border-color: #718da6;
    box-shadow: 0 0 0 3px rgba(102, 135, 168, 0.12);
}
.field-note { color: #8593a0; font-size: 0.66rem; line-height: 1.7; }
.field-note a { color: #486984; text-decoration: underline; text-underline-offset: 3px; }
.form-submit { justify-self: stretch; margin-top: 0.9rem; }
.wishes-heading { border-bottom-color: rgba(25, 54, 82, 0.18); }
.wishes-heading h3 { color: var(--editorial-ink); font-size: 1.7rem; font-weight: 400; }
.wishes-heading span { color: #8795a1; }
.wish-card {
    border: 1px solid rgba(25, 54, 82, 0.11);
    border-radius: 2px;
    background: rgba(251, 250, 246, 0.9);
}
.wish-card strong { color: var(--editorial-ink); }
.wish-card p { color: #748596; }
.empty-state { border-color: rgba(93, 125, 153, 0.34); border-radius: 2px; }

/* ------------------------------------------------------------
   TICKET: konsisten dengan warna dan bentuk kartu undangan
   ------------------------------------------------------------ */
.ticket-confirmation {
    border: 1px solid rgba(25, 54, 82, 0.16);
    border-radius: 2px;
    background: linear-gradient(135deg, #f8fafb, #e8f0f5);
}
.issued-ticket-card { border-radius: 2px; }
.issued-ticket-qr { border-radius: 2px; }

/* ------------------------------------------------------------
   FOOTER: penutup dengan warna navy dan aksen hangat
   ------------------------------------------------------------ */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 24px 3.5rem;
    background: #142f4a;
}
.site-footer::before,
.site-footer::after {
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.site-footer::before { top: -220px; left: -120px; }
.site-footer::after { right: -150px; bottom: -240px; width: 420px; height: 420px; }
.footer-monogram { color: #d4c2a3; }
.footer-monogram span { color: #fff; }
.site-footer .eyebrow { letter-spacing: 0.23em; }
.site-footer h2 {
    color: #f8f6f0;
    font-family: var(--editorial-serif);
    font-size: clamp(3.3rem, 7vw, 5.3rem);
    letter-spacing: -0.035em;
}
.site-footer h2 em { color: #c4ad89; font-family: "Allura", cursive; }
.site-footer > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; }
.footer-line { background: #b89c73; }

/* ------------------------------------------------------------
   MOTION: hanya gerakan kecil yang tidak mengganggu aksesibilitas
   ------------------------------------------------------------ */
@keyframes editorial-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
    .section-heading,
    .event-card,
    .venue-panel,
    .story-item,
    .gallery-item,
    .bank-card,
    .rsvp-form {
        animation: editorial-rise 0.7s ease both;
    }
}

/* ------------------------------------------------------------
   RESPONSIVE: jaga hierarki dan keterbacaan di ponsel
   ------------------------------------------------------------ */
@media (max-width: 980px) {
    .site-header { width: calc(100% - 32px); padding: 0 16px; }
    .main-nav { gap: 13px; }
    .main-nav a { font-size: 0.59rem; }
    .hero-section { min-height: auto; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero-copy h1 { font-size: clamp(4.6rem, 9vw, 6.8rem); }
    .hero-visual { padding-left: 8px; }
    .couple-layout { gap: 1.3rem; }
    .person-card h3 { font-size: 2rem; }
}

@media (max-width: 760px) {
    .site-header {
        top: 10px;
        width: calc(100% - 24px);
        min-height: 64px;
        border-radius: 2px;
        padding: 0 13px;
    }
    .brand { gap: 7px; }
    .brand-symbol { font-size: 1rem; }
    .brand-name { font-size: 0.88rem; }
    .music-button { min-height: 36px; padding: 0.4rem 0.65rem; }
    .music-button #musicLabel { display: none; }
    .hero-section {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 130px 26px 92px;
    }
    .hero-section::after { display: none; }
    .hero-copy { max-width: 620px; padding: 0; }
    .hero-copy .eyebrow { margin-bottom: 1.2rem; }
    .hero-copy h1 { font-size: clamp(4.8rem, 17vw, 7.2rem); }
    .hero-description { max-width: 440px; font-size: 1.35rem; }
    .hero-visual { width: min(100%, 520px); justify-self: center; padding: 0 12px 42px; }
    .hero-photo-frame { aspect-ratio: 1.08 / 1; }
    .photo-caption { right: 8px; bottom: 0; font-size: 1rem; }
    .scroll-cue { bottom: 18px; }
    .section-shell { width: min(calc(100% - 36px), 1180px); }
    .section-heading { margin-bottom: 2.6rem; }
    .couple-section { padding-right: 18px; padding-left: 18px; }
    .couple-layout { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .couple-photo-wrap { grid-column: 1 / -1; grid-row: 1; width: min(100%, 420px); justify-self: center; aspect-ratio: 1.12 / 1; }
    .person-card { text-align: center; }
    .person-card h3 { font-size: clamp(1.7rem, 5vw, 2.2rem); }
    .person-card-right { text-align: center; }
    .event-date-banner { padding: 1.2rem 1rem; }
    .event-card { min-height: 300px; }
    .venue-grid { grid-template-columns: 1fr; }
    .venue-panel { grid-template-columns: 1fr; }
    .venue-photo,
    .venue-photo img { min-height: 240px; max-height: 290px; }
    .gallery-grid { grid-template-rows: 230px 190px; }
    .story-timeline::before { left: 34px; }
    .story-item { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; }
    .story-year { width: 54px; height: 54px; font-size: 1rem; }
    .story-content h3 { font-size: 1.75rem; }
    .rsvp-form { padding: 1.25rem; }
}

@media (max-width: 520px) {
    .cover-screen::before { inset: 12px; }
    .cover-card { padding: 2.2rem 1rem; }
    .cover-card h1 { font-size: clamp(2.4rem, 11vw, 3.3rem); }
    .hero-section { padding-right: 20px; padding-left: 20px; }
    .hero-copy h1 { font-size: clamp(4.25rem, 18vw, 5.7rem); }
    .hero-description { font-size: 1.22rem; }
    .countdown-item { min-width: 61px; margin-right: 0.55rem; padding-right: 0.55rem; }
    .countdown-item strong { font-size: 1.65rem; }
    .section-heading h2 { font-size: clamp(2.7rem, 12vw, 3.5rem); }
    .intro-section::before { left: -12px; }
    .intro-section::after { right: -12px; }
    .event-date-year { display: none; }
    .event-cards { grid-template-columns: 1fr; }
    .event-card { min-height: 285px; }
    .event-flow { margin-top: 3rem; padding: 1.8rem 1.1rem; }
    .event-flow-list li { grid-template-columns: 94px minmax(0, 1fr); gap: 10px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 160px; gap: 9px; }
    .gallery-item-tall { grid-row: span 2; }
    .gallery-item-wide { grid-column: 2; }
    .bank-card { min-height: 245px; padding: 1.5rem; }
    .bank-number-row strong { font-size: clamp(1.2rem, 5vw, 1.6rem); }
    .wishes-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .wish-card-top { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
