:root { --night: #161014; --plum: #281823; --rose: #eaa0ad; --blush: #f5ccd1; --mist: #fdf4f2; --muted: #c5aab0; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--mist); background: var(--night); font-family: "DM Sans", sans-serif; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 35% at 50% -5%, #653c4d 0%, transparent 72%), radial-gradient(circle at 4% 34%, #4d263a55 0 1px, transparent 1.5px) 0 0 / 23px 23px; }
main { max-width: 620px; margin: auto; padding: 0 18px 40px; }
.hero { min-height: 57svh; padding: 60px 10px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 23px; color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }.eyebrow span { width: 22px; height: 1px; background: currentColor; opacity: .7; }
.event { margin: 0 0 5px; color: var(--muted); font: italic 16px "Playfair Display", serif; }
h1 { margin: 0; font: 600 clamp(48px, 15vw, 72px)/.98 "Playfair Display", serif; color: var(--mist); letter-spacing: -.06em; } h1 em { color: var(--rose); font-size: .8em; font-style: italic; }
.intro { max-width: 318px; margin: 24px 0 20px; color: #e3d2d4; font-size: 14px; line-height: 1.75; }.elapsed { width: min(100%, 360px); display: grid; gap: 5px; padding: 13px 14px; border-top: 1px solid #ffffff24; border-bottom: 1px solid #ffffff24; }.elapsed strong { color: var(--blush); font: 600 14px/1.5 "Playfair Display", serif; }.elapsed span { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }.scroll-cue { margin-top: 26px; color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }.scroll-cue b { margin-left: 8px; font-size: 16px; font-weight: 400; }
.gallery { columns: 2; column-gap: 10px; }.card { break-inside: avoid; margin: 0 0 10px; border: 1px solid #ffffff12; padding: 0; width: 100%; background: var(--plum); border-radius: 3px; overflow: hidden; display: block; cursor: pointer; box-shadow: 0 8px 24px #00000042; }.card img { display: block; width: 100%; min-height: 145px; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }.card:active img { transform: scale(1.04); opacity: .85; }.error { padding: 20px; color: var(--rose); text-align: center; }
dialog { width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; border: 0; background: #0f0a0ddf; place-items: center; }dialog[open] { display: grid; }dialog::backdrop { background: #0f0a0ddf; }.actions { position: fixed; z-index: 2; top: 18px; right: 18px; display: flex; gap: 10px; }.actions a, .close { width: 42px; height: 42px; border: 1px solid #ffffff2b; border-radius: 50%; background: #291b22; color: var(--blush); display: grid; place-items: center; font-size: 25px; line-height: 1; text-decoration: none; cursor: pointer; }.close { font-size: 30px; }.loader { position: fixed; display: grid; justify-items: center; gap: 13px; color: var(--mist); font-size: 14px; }.loader i { width: 34px; height: 34px; border: 3px solid #ffffff2b; border-top-color: var(--rose); border-radius: 50%; animation: spin .8s linear infinite; }dialog img { display: none; max-width: 100%; max-height: 100%; object-fit: contain; }dialog.loaded .loader { display: none; }dialog.loaded img { display: block; }@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 520px) { .gallery { columns: 3; } }
