@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');:root{--navy:#111d32;--gold:#d8b77b;--cream:#f7f1e7;--muted:#c3c8d0;--line:#ffffff25}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--navy);color:var(--cream);font-family:'DM Sans',system-ui,sans-serif}button{font:inherit;cursor:pointer}[hidden]{display:none!important}.screen{min-height:100svh}.home{display:flex;flex-direction:column;align-items:center;text-align:center;padding:max(32px,env(safe-area-inset-top)) 22px 28px;background:radial-gradient(ellipse at 50% 15%,#34435a,var(--navy) 58%)}.ornament{color:var(--gold);font-size:2rem;margin:4px 0 12px}.eyebrow{font-size:.68rem;letter-spacing:.24em;font-weight:700;color:var(--gold);margin:0 0 10px}.home h1,.sub-header h2{font-family:'Playfair Display',Georgia,serif;font-weight:500}.home h1{font-size:clamp(2.65rem,11vw,4.6rem);line-height:1.02;margin:4px 0 14px}.intro,.sub-intro{color:var(--muted);font-size:.9rem;line-height:1.65;max-width:360px}.home-photo{width:min(100%,430px);height:clamp(125px,28vw,205px);border-radius:20px;border:1px solid #d8b77b66;background:linear-gradient(135deg,#536b80,#253a51 48%,#17283d);display:flex;align-items:end;justify-content:center;padding:15px}.home-photo span{font-size:.62rem;letter-spacing:.2em;color:#f3dfbd}.choices{width:min(100%,480px);display:grid;gap:12px;margin-top:22px}.choice{display:flex;align-items:center;gap:14px;text-align:left;background:#ffffff0c;border:1px solid var(--line);border-radius:17px;padding:17px 15px;color:var(--cream)}.choice-icon{width:43px;height:43px;flex:none;border-radius:50%;display:grid;place-items:center;background:#d8b77b1c;color:var(--gold);font-size:1.5rem}.choice-copy{display:grid;gap:4px;flex:1}.choice-copy small{font-size:.75rem;line-height:1.4;color:var(--muted)}.chevron{color:var(--gold);font-size:1.3rem}.footer-note{font-family:'Playfair Display',Georgia,serif;color:#d8c7a7;margin:24px 0 5px}.connection-status{font-size:.68rem;color:#9da8b7}.subpage{padding:max(25px,env(safe-area-inset-top)) 18px 30px;background:linear-gradient(180deg,#1b2d44,var(--navy) 260px)}.sub-header{display:flex;align-items:center;gap:14px;max-width:1000px;margin:auto}.back{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#ffffff0d;color:var(--cream);font-size:1.4rem}.sub-header .eyebrow{margin-bottom:4px}.sub-header h2{font-size:clamp(1.8rem,7vw,2.5rem);margin:0}.sub-intro{max-width:1000px;margin:18px auto 22px}.memory-grid,.party-grid{max-width:1000px;margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memory-card,.media-card{margin:0;border-radius:14px;overflow:hidden;background:#ffffff0c;border:1px solid var(--line)}.memory-card img,.media-card img,.media-card video{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#263950}.memory-card figcaption,.media-card figcaption{padding:9px 10px;color:#e5d7bf;font-family:'Playfair Display',Georgia,serif}.upload-panel{max-width:1000px;margin:0 auto 24px;padding:17px;border:1px solid #d8b77b66;border-radius:17px;background:#ffffff09}.upload-button{display:block;background:var(--gold);color:#172238;font-weight:700;border-radius:12px;padding:15px;text-align:center;cursor:pointer}.upload-panel input{position:absolute;width:1px;height:1px;opacity:0}.upload-help,.privacy-note{font-size:.72rem;color:var(--muted);line-height:1.5}.upload-progress{font-size:.78rem;color:var(--gold);white-space:pre-line}.gallery-heading{max-width:1000px;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between}.gallery-heading h3{font-family:'Playfair Display',Georgia,serif;font-size:1.35rem;font-weight:500}.refresh{border:1px solid var(--line);background:#ffffff0b;color:var(--cream);border-radius:20px;padding:8px 12px}.empty{grid-column:1/-1;color:var(--muted);font-size:.85rem;padding:20px 0}.privacy-note{max-width:1000px;margin:22px auto}.lightbox{position:fixed;inset:0;background:#050a12f5;z-index:5;display:grid;place-items:center;padding:55px 12px 20px}.lightbox img,.lightbox video{max-width:100%;max-height:85svh}.close-lightbox{position:absolute;right:15px;top:15px;width:42px;height:42px;border:0;border-radius:50%;background:#ffffff20;color:white;font-size:1.8rem}@media(min-width:650px){.home{padding-left:7vw;padding-right:7vw}.memory-grid,.party-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.subpage{padding-left:7vw;padding-right:7vw}}@media(min-width:950px){.memory-grid,.party-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}