/**
 * Guest photo upload page (pages/guest-photos/index.php) — the "album home".
 * Mobile-first: guests arrive by scanning a QR at the wedding, almost always
 * on a phone. Full-bleed cover-photo hero (couple names + stats), one big
 * upload CTA overlapping the hero edge, and the inline album grid below
 * (grid/lightbox styles come from guest-photos-shared.css, loaded first).
 * Design system = the /g/ gallery's --gg-* tokens (Cormorant Garamond +
 * DM Sans, warm cream palette), declared in guest-photos-shared.css.
 * New files under public/ are auto-revved by the gulp glob — no build change.
 */*{box-sizing:border-box}.gu-body{margin:0;min-height:100vh;min-height:100dvh;background-color:var(--gg-bg);font-family:var(--gg-sans);color:var(--gg-fg);-webkit-font-smoothing:antialiased}/* ── Hero (cover photo or brand-gradient fallback) ───────────────────────── */.gu-hero{position:relative;min-height:46vh;min-height:46dvh;display:flex;align-items:flex-end;background-size:cover;background-position:center;background-color:#23273a/* paint while the cover photo streams in */}/* No cover image: warm brand gradient (dark enough for the white type). */.gu-hero-fallback{background-image:linear-gradient(150deg, #23273a 0%, #453354 55%, #b06a45 125%)}/* Bottom scrim so names/stats stay readable over any photo. */.gu-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 30%, rgba(20, 20, 30, 0.65))}.gu-hero-inner{position:relative;z-index:1;width:100%;max-width:40rem;margin:0 auto;/* Extra bottom room: the CTA button overlaps this edge from below. */padding:88px 20px 44px;padding-left:max(20px, env(safe-area-inset-left));padding-right:max(20px, env(safe-area-inset-right));text-align:center;color:#fff}/* The fixed demo banner overlays the hero top — budget for it. */.gu-demo .gu-hero-inner{padding-top:120px}/* Phones get the compact banner variant (guest-photos-shared.css ≤480px):
   1-2 flowing 12px lines ≈ 28-45px tall, so 96px (vs the 88px base) clears
   it without the old 120px gap. */@media (max-width: 480px){.gu-demo .gu-hero-inner{padding-top:96px}}.gu-eyebrow{display:block;font-size:0.72rem;letter-spacing:0.28em;text-transform:uppercase;color:#FFB88A}/* .gu-hero scope outranks the .gu-title card styling the heading also
   carries (the e2e suites assert .gu-header .gu-title). */.gu-hero .gu-hero-names{margin:0.75rem 0 0;font-family:var(--gg-display);font-weight:400;font-size:clamp(2.4rem, 9vw, 3.6rem);line-height:1.05;letter-spacing:-0.01em;color:#fff}/* Gallery-style gradient accent (guest-gallery.css .italic-accent) — own
   copy: the accents block was not extracted into the shared file. */.italic-accent{font-style:italic;background:var(--gg-gradient-primary);-webkit-background-clip:text;background-clip:text;color:transparent}.gu-hero .gu-subtitle{margin:0.9rem auto 0;max-width:30rem;font-size:0.95rem;line-height:1.55;color:rgba(255, 255, 255, 0.88)}.gu-stats{margin-top:0.9rem;display:flex;align-items:center;justify-content:center;gap:0.5rem;font-size:0.82rem;letter-spacing:0.02em;color:rgba(255, 255, 255, 0.82)}.gu-stats[hidden]{display:none}.gu-stats-sep{opacity:0.6}/* ── Content column ──────────────────────────────────────────────────────── */.gu-main{max-width:40rem;margin:0 auto;padding:0 20px 3rem;padding-left:max(20px, env(safe-area-inset-left));padding-right:max(20px, env(safe-area-inset-right));padding-bottom:max(3rem, env(safe-area-inset-bottom))}/* ── Upload CTA (overlaps the hero bottom edge) ──────────────────────────── */.gu-picker{text-align:center}/* Visually hidden but focusable/clickable via the styled button. */.gu-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}.gu-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:14px 24px;border-radius:999px;border:none;font-family:inherit;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;transition:filter 0.15s ease,background-color 0.15s ease,transform 0.1s ease}.gu-btn:active{transform:scale(0.98)}.gu-btn-primary{background:var(--gg-gradient-primary);color:#fff;box-shadow:0 12px 28px -12px rgba(244, 129, 63, 0.75)}.gu-btn-primary:hover{filter:brightness(0.96)}.gu-btn-secondary{background:var(--gg-card);color:var(--gg-primary);border:1px solid rgba(244, 129, 63, 0.5);margin-top:12px}.gu-btn-secondary:hover{background:var(--gg-accent-soft);border-color:var(--gg-primary)}/* The big camera button rides up over the hero's bottom edge. */.gu-cta{position:relative;z-index:2;margin-top:-26px;min-height:56px;max-width:22rem}.gu-hint{margin:12px 0 0;font-size:0.78rem;color:var(--gg-muted)}/* Returning guest: "Uploading as Ana · change" one-liner under the CTA. */.gu-name-known{margin-top:12px;font-size:0.88rem;color:var(--gg-muted)}.gu-name-known[hidden]{display:none}.gu-name-change{background:none;border:none;padding:0;margin-left:4px;font-family:inherit;font-size:0.88rem;color:var(--gg-primary);text-decoration:underline;cursor:pointer}.gu-name-change:hover{color:#d96a2c}/* ── Cards (progress / thank-you / status states) ────────────────────────── */.gu-progress,.gu-done,.gu-status{margin:20px auto 0;background:var(--gg-card);border:1px solid var(--gg-border);border-radius:1.5rem;box-shadow:var(--gg-shadow-soft);padding:28px 22px;text-align:center}.gu-progress[hidden],.gu-done[hidden]{display:none}.gu-title{margin:0 0 8px;font-family:var(--gg-display);font-weight:500;font-size:1.7rem;line-height:1.15;letter-spacing:-0.01em;color:var(--gg-fg)}.gu-subtitle{margin:0 0 8px;font-size:0.92rem;line-height:1.55;color:var(--gg-muted)}.gu-status{max-width:26rem;margin-top:28px;padding:3rem 2rem}.gu-status-icon{width:64px;height:64px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--gg-accent-soft);color:var(--gg-primary)}.gu-done-icon{background:rgba(22, 163, 74, 0.1);color:#16a34a}/* Progress */.gu-progress-label{font-size:0.9rem;font-weight:500;color:var(--gg-fg);margin-bottom:12px;min-height:20px}.gu-progress-track{height:10px;border-radius:999px;background:var(--gg-border);overflow:hidden}.gu-progress-bar{height:100%;width:0%;border-radius:999px;background:var(--gg-gradient-primary);transition:width 0.25s ease}.gu-error-list{list-style:none;margin:14px 0 0;padding:0;text-align:left;font-size:0.82rem;color:#c2410c}.gu-error-list li{margin-top:6px}.gu-error-list:empty{display:none}/* ── Inline gallery / lock note ──────────────────────────────────────────── */.gu-gallery{margin-top:1rem}.gu-locknote{margin:2.5rem auto 0;max-width:24rem;text-align:center;color:var(--gg-muted)}.gu-locknote-icon{width:44px;height:44px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--gg-accent-soft);color:var(--gg-primary)}.gu-locknote-text{margin:0;font-size:0.9rem;line-height:1.55}.gu-locknote-cta{max-width:16rem;margin-top:16px}/* ── Name bottom sheet ───────────────────────────────────────────────────── */.gu-sheet-backdrop{position:fixed;inset:0;z-index:999;background:rgba(20, 20, 30, 0.45)}.gu-sheet-backdrop[hidden]{display:none}.gu-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:var(--gg-card);border-radius:1.5rem 1.5rem 0 0;box-shadow:0 -12px 40px rgba(30, 30, 47, 0.2);padding:24px 20px;padding-bottom:max(24px, env(safe-area-inset-bottom));text-align:center;animation:gu-sheet-up 0.22s ease}.gu-sheet[hidden]{display:none}@keyframes gu-sheet-up{from{transform:translateY(24px);opacity:0.6}to{transform:translateY(0);opacity:1}}/* Grab-handle pill (mobile only — the ≥768px centered dialog has no drag).
   Pattern copied from mobile-bottom-sheet.css, colored with the page's own
   token. Top padding shrinks so pill + gap ≈ the original 24px and the title
   doesn't shift. Load-bearing invariant: the name INPUT starts well below
   swipe-to-dismiss's top-48px drag band, so typing can never start a drag. */@media (max-width: 767px){.gu-sheet{padding-top:10px}.gu-sheet::before{content:'';display:block;width:36px;height:4px;background:var(--gg-border);border-radius:2px;margin:0 auto 14px}}.gu-sheet-title{margin:0 0 14px;font-family:var(--gg-display);font-weight:500;font-size:1.45rem;line-height:1.2}.gu-name{margin-bottom:16px;text-align:left}.gu-name-input{width:100%;min-height:48px;padding:10px 16px;border:1px solid var(--gg-border);border-radius:999px;background:var(--gg-card);font-family:inherit;/* 16px minimum or iOS Safari zooms the viewport on focus and the guest
       lands on a scrolled, broken-looking page. */font-size:16px;color:var(--gg-fg);text-align:center}.gu-name-input::placeholder{color:var(--gg-muted)}.gu-name-input:focus{outline:2px solid var(--gg-primary);outline-offset:-1px}/* Scoped under .gu-name to outrank the base .gu-hint margin. */.gu-name .gu-hint{margin:8px 0 0;text-align:center}.gu-sheet-skip{display:inline-block;margin-top:12px;background:none;border:none;padding:6px 12px;font-family:inherit;font-size:0.9rem;color:var(--gg-muted);text-decoration:underline;cursor:pointer}.gu-sheet-skip:hover{color:var(--gg-fg)}/* Visually hidden, screen-reader accessible (input label — the sheet title
   already shows the same question). */.gu-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}/* ── Desktop ─────────────────────────────────────────────────────────────── */@media (min-width: 768px){.gu-hero{min-height:400px}.gu-demo .gu-hero-inner{padding-top:100px}/* Centered dialog instead of an edge-glued sheet on big screens. */.gu-sheet{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%, -50%);width:min(420px, calc(100vw - 48px));border-radius:1.5rem;animation:none}}@media (prefers-reduced-motion: reduce){.gu-sheet{animation:none}.gu-progress-bar{transition:none}}