/* Shared visual system for the wedding invitation. */
:root{--ink:#102d30;--cream:#faf7f0;--gold:#dfc38b;--muted:#b8cbca}
body{background:var(--cream);line-height:1.6;-webkit-font-smoothing:antialiased}
header{height:96px;padding:16px max(24px,calc((100% - 1120px)/2));justify-content:center;background:var(--cream);color:var(--ink);border-bottom:1px solid #183a3c12}
.brand span{font-size:38px}.brand small{font-size:10px;letter-spacing:2px;margin-top:6px}
a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.hero{height:auto;min-height:680px;background:#173c3e}.hero:after{background:linear-gradient(90deg,#07282d99,#07282d30)}
.hero-inner{max-width:1120px;min-height:680px;padding:64px 24px 90px;gap:48px}.hero-copy{width:auto;flex:1;padding-top:0}.bouquet{width:210px;height:110px;margin-bottom:16px}.names{font-size:clamp(60px,7vw,96px);white-space:normal;line-height:1.25}.banner-details{font-size:16px;line-height:1.8;margin-top:24px}.portrait{width:310px;height:470px;align-self:center;border-radius:160px 160px 24px 24px;border:1px solid #fff6;box-shadow:0 24px 60px #001a2a40}.scroll{width:16px;height:16px;bottom:36px;border-width:2px}
.events{height:auto;min-height:0;padding:80px 24px;background:#153a3b}.events::after{content:none}.event-content{max-width:1120px;margin:auto}.event-content>.reveal{text-align:center}.events h2{font:400 clamp(36px,4vw,48px)/1.2 Georgia,serif;color:#fff8eb;margin-bottom:14px}.hint{font-size:14px;color:#c2d2d2}
.cards{gap:24px;margin:40px auto 0;max-width:820px}.event-card{width:auto;flex:1;height:auto;min-height:280px;padding:32px;border-radius:20px;background:linear-gradient(135deg,#56332d,#352d2d);border:1px solid #dfc38b55;box-shadow:0 12px 32px #0002;color:#f2d49e}.event-card.blue{background:linear-gradient(135deg,#213d3e,#14282b);color:#ffe0a3}.event-card{isolation:isolate}.event-card::before{content:'';display:block;position:absolute;inset:0;z-index:-1;background:url('bg-mehndi.png') center/cover no-repeat;opacity:.3;border:0;border-radius:inherit;box-shadow:none;pointer-events:none}.event-card.blue::before{background-image:url('bg-barat.png');opacity:.3}.event-card::after{display:none}.event-card time,.blue time{font-size:12px;letter-spacing:1px;color:inherit}.event-card h3{font-size:58px;margin:24px 0 8px}.event-card p{font-size:10px;letter-spacing:2px}.event-card .decoration{font:14px Georgia,serif;letter-spacing:0;margin-top:25px}.event-card .card-link{display:block;margin-top:20px;font-size:12px;letter-spacing:.02em}
.event-hero,.event-hero.mehndi{padding:72px 24px 56px;background:radial-gradient(ellipse at top,#43604b66,transparent 70%),#142f2d}.event-hero.barat{background:radial-gradient(ellipse at top,#81534566,transparent 70%),#342526}.event-hero h1{font:400 clamp(38px,5vw,60px)/1.2 Georgia,serif;letter-spacing:.08em;margin:0 0 28px;color:#fff0d0;text-shadow:none}.event-portrait{width:380px;height:420px;border-radius:190px 190px 20px 20px;box-shadow:0 18px 45px #0003}.back-home{left:max(24px,calc((100% - 1120px)/2));top:20px;font-size:12px;background:transparent;padding:8px 0}
.invitation{padding:72px 24px;min-height:0;background-color:#14282b}.invitation:before{background:#0b1c23b3}.invitation-inner{max-width:700px;padding:90px 48px;background:#112428de;border:1px solid #dfc38b55;border-radius:24px;text-shadow:none;box-shadow:0 24px 60px #0003}.invitation-inner:before,.invitation-inner:after{display:none}.invitation-corner{width:115px;opacity:.8}.bismillah{font-size:29px;margin-bottom:28px;color:#f4e5c9}.invite-intro{font-size:14px;line-height:1.9;margin-bottom:28px;color:#d2dbd7}.invite-intro strong{font-weight:500;color:#f5eee0}.invite-name{font-size:clamp(40px,5vw,56px);line-height:1.35;margin:18px 0;color:#f2d49e;text-shadow:none}.with{font-size:11px;letter-spacing:3px;margin:22px 0}.family-line{font-size:13px;color:#c2d2d2}.inshallah{font-size:26px;color:#f4e5c9}
.date-block{gap:24px;margin:28px 0 32px}.date-side{font-size:11px;letter-spacing:1.5px;border-width:1px;padding:14px 4px;min-width:90px}.date-number strong{font:400 60px/1 Georgia,serif}.date-number span{font-size:12px;letter-spacing:2px;display:block;margin-top:8px}.programme{display:block;border-top:1px solid #dfc38b33;border-bottom:1px solid #dfc38b33;padding:22px 0;margin:28px 0}.programme h3{font-size:11px;font-weight:500;letter-spacing:2px;text-transform:uppercase;margin:0 0 12px;color:var(--gold)}.brace{display:none}.programme ul{text-align:center;font-size:14px;line-height:2}.programme strong{font-weight:500;color:#f5eee0}.venue{font-size:13px;line-height:1.9;margin:22px 0 0}.venue a{display:inline-block;color:#f4e5c9}.event-separator{height:1px;background:#dfc38b22}
.contact,.event-page .contact{height:auto;min-height:0;padding:64px max(24px,calc((100% - 1120px)/2));background:#0a1e28;gap:48px}.contact h2{font-size:36px}.contact .footer-logo{width:240px;max-width:26%}.contact .family{font-size:14px!important;gap:10px 24px}.contact-title{font-size:13px;letter-spacing:1.5px}.phone-link span{font-size:18px}.contact .phone-link{font-size:14px}
@media(min-width:1600px){.hero{height:auto}.events{height:auto}}
@media(max-width:900px){.hero-inner{gap:28px;min-height:600px}.hero{min-height:600px}.portrait{width:250px;height:390px}.names{font-size:68px}.contact .family{grid-template-columns:1fr}}
@media(max-width:600px){header{height:84px;padding:14px 20px}.brand span{font-size:30px}.brand small{font-size:8px;letter-spacing:1px}.hero{min-height:0}.hero-inner{min-height:0;flex-direction:column-reverse;padding:36px 24px 70px;gap:26px}.portrait{width:210px;height:315px;align-self:center;border-radius:120px 120px 18px 18px}.hero-copy{width:100%;flex:none}.bouquet{display:none}.names{font-size:58px}.banner-details{font-size:14px;margin-top:16px}.scroll{bottom:24px}.events{padding:48px 24px}.cards{flex-direction:column;gap:16px;margin-top:28px}.event-card{width:100%;min-height:0;padding:26px;flex:none}.event-card h3{font-size:50px;margin-top:18px}.event-card .decoration{margin-top:18px}.event-hero,.event-hero.mehndi{padding:70px 24px 36px}.event-portrait{width:280px;height:315px}.event-hero h1{font-size:38px}.invitation{padding:36px 16px}.invitation-inner{padding:80px 20px;border-radius:20px}.invitation-corner{width:90px}.bismillah{font-size:24px}.invite-intro{font-size:13px}.invite-name{font-size:40px}.date-block{gap:14px}.date-side{min-width:72px;font-size:10px;letter-spacing:1px}.date-number strong{font-size:52px}.programme ul{font-size:13px}.contact,.event-page .contact{flex-direction:column;align-items:flex-start;padding:44px 24px;gap:30px}.contact h2{font-size:32px}.contact .family{font-size:13px!important}.contact .footer-logo{width:130px!important;max-width:45%;align-self:center}.event-separator{height:1px}}

/* High-contrast gold lettering on both event cards. */
.event-card,.event-card.blue{color:#ffe0a3;text-shadow:0 2px 5px #0009}
.event-card time,.event-card.blue time{color:#ffe6b5;font-size:14px;font-weight:600;letter-spacing:.6px}
.event-card h3{color:#ffe0a3;font-size:62px;line-height:1.25}
.event-card p{color:#ffe6b5;font-size:12px;font-weight:600;letter-spacing:1.5px}
.event-card .decoration{color:#ffe6b5;font:500 14px/1.6 Inter,Arial,sans-serif}
.event-card .card-link{color:#ffe0a3;font-size:14px;font-weight:600}
@media(max-width:600px){.event-card h3{font-size:54px}.event-card time,.event-card.blue time{font-size:13px}.event-card p{font-size:11px}}

.event-card::before,.event-card.blue::before{transform:scale(1.2);transform-origin:center}

/* Taller event cards with prominent titles and compact details. */
.event-card{min-height:360px;padding:40px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.event-card h3{font-size:80px;line-height:1.15;margin:14px 0 6px}
.event-card p{margin:0;line-height:1.4}
.event-card .decoration{margin-top:14px;line-height:1.4}
.event-card .card-link{margin-top:12px;line-height:1.4}
@media(max-width:600px){.event-card{min-height:320px;padding:32px 24px}.event-card h3{font-size:70px;margin:12px 0 6px}.event-card .decoration{margin-top:12px}.event-card .card-link{margin-top:10px}}

/* Simple, readable event invitations. */
.event-card,.event-card.blue{min-height:350px;padding:36px 28px;background:#142a2b;color:#ffe1a6;text-shadow:none;border-color:#dfc38b66}
.event-card::before,.event-card.blue::before{opacity:.2}
.event-card time,.event-card.blue time{font-size:14px;font-weight:500;letter-spacing:.4px;line-height:1.6;color:#f5e6c7}
.event-card h3{font-family:Georgia,serif;font-size:58px;font-weight:400;line-height:1.2;margin:20px 0 12px;color:#ffe1a6}
.event-card p{font-size:14px;font-weight:400;letter-spacing:0;line-height:1.6;margin:0;color:#f5e6c7}
.event-card .card-link{margin-top:26px;padding:10px 18px;border:1px solid #dfc38b66;border-radius:24px;font-size:13px;font-weight:500;line-height:1.5;color:#ffe1a6;background:#10222488}
.event-card:hover .card-link{background:#dfc38b18;border-color:#dfc38b}
@media(max-width:600px){.event-card,.event-card.blue{min-height:310px;padding:30px 22px}.event-card h3{font-size:50px;margin:16px 0 10px}.event-card p{font-size:13px}.event-card .card-link{margin-top:22px}}

/* Distinct celebration colors with elegant script titles. */
.event-card{background:linear-gradient(135deg,#512b3c,#2e1d2b);border-color:#e2b78066}
.event-card.blue{background:linear-gradient(135deg,#204b4d,#102e36);border-color:#a9cec366}
.event-card h3{font-family:'Great Vibes',cursive;font-size:76px;font-weight:400;line-height:1.25;margin:14px 0 8px;color:#ffe1a6;text-shadow:0 2px 8px #0003}
.event-card.blue h3{color:#f9e5b8}
@media(max-width:600px){.event-card h3{font-size:66px;margin:12px 0 8px}}

/* Full-opacity artwork with shading for readable card content. */
.event-card::before{opacity:1;background-image:linear-gradient(180deg,transparent 0%,transparent 35%,#00000066 65%,#000000dd 100%),url('bg-mehndi.png')}
.event-card.blue::before{opacity:1;background-image:linear-gradient(180deg,transparent 0%,transparent 35%,#00000066 65%,#000000dd 100%),url('bg-barat.png')}
.event-card time,.event-card.blue time,.event-card p{color:#fff0d5;text-shadow:0 1px 4px #0008}
.event-card h3,.event-card.blue h3{color:#ffe1a6;text-shadow:0 2px 10px #0009}
.event-card .card-link{background:#102224d9;border-color:#dfc38b99}

.music-toggle{position:fixed;bottom:20px;right:20px;z-index:50;display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #dfc38b88;border-radius:28px;background:#102224f2;color:#ffe1a6;font:500 13px Inter,Arial,sans-serif;box-shadow:0 4px 20px #0003;cursor:pointer}.music-toggle:focus-visible{outline:2px solid #dfc38b;outline-offset:4px}@media(max-width:600px){.music-toggle{bottom:12px;right:12px;padding:10px 14px}}

html{background:#0a1e28}

/* Welcome screen shown when the browser blocks music autoplay */
html.welcome-open,html.welcome-open body{overflow:hidden}
.welcome-gate{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#163b3d,#0a1e28 70%);transition:opacity .6s ease,visibility .6s}
.welcome-gate.is-hidden{opacity:0;visibility:hidden}
.welcome-card{text-align:center;color:#f3d28b;animation:arrive 1s ease both}
.welcome-card img{display:block;width:min(220px,60vw);height:auto;margin:0 auto 12px}
.welcome-card p{margin:0 0 28px;font:400 15px Georgia,serif;letter-spacing:2px;text-transform:uppercase;color:#e9dcc0}
.welcome-card button{min-height:48px;padding:12px 32px;border:1px solid #dfc38b;border-radius:28px;background:#dfc38b;color:#0a1e28;font:600 15px Inter,Arial,sans-serif;letter-spacing:1px;cursor:pointer;box-shadow:0 8px 30px #0005}
.welcome-card button:hover{background:#f3d28b}
.welcome-card button:focus-visible{outline:2px solid #fff;outline-offset:4px}

/* Weather: keep the layout inside the screen on tablets and phones */
@media(max-width:900px){.weather-copy{width:100%;max-width:640px}.weather-intro{max-width:none}}
@media(max-width:600px){.weather h2{font-size:30px}.weather .forecast-head{align-items:center;justify-content:space-between}.weather .day .weather-icon{width:36px;height:36px;margin-bottom:12px;font-size:22px}}
@media(max-width:380px){.weather{padding:44px 16px}.weather .forecast{padding:16px}.weather .days{grid-template-columns:1fr}.weather .day{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}.weather .day .weather-icon{grid-row:span 3;margin:0}.weather .day small,.weather .day h4,.weather .day p{margin:0}}
