/* Enchanted Reflections · Virtual Photo Booth */
/* Fonts are bundled with the site (SIL Open Font License) */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/great-vibes-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
:root {
  --navy: #00154f;
  --navy-2: #0c2569;
  --gold: #f4af1b;
  --gold-soft: #fff3d6;
  --cream: #fbf8f1;
  --ink: #18203d;
  --muted: #5b6382;
  --line: #e6e0d2;
  --white: #fff;
  --ok: #1f8a4c;
  --warn: #b26a00;
  --danger: #c0392b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 21, 79, 0.06), 0 8px 24px rgba(0, 21, 79, 0.08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; }
body.no-scroll { overflow: hidden; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
img { max-width: 100%; }
code { background: rgba(0, 21, 79, 0.08); padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid transparent;
  font: 600 0.95rem var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.08s, background 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 16px rgba(244, 175, 27, 0.35); }
.btn-gold:hover { background: #ffbd2e; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: rgba(0, 21, 79, 0.05); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(0, 21, 79, 0.06); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 0.85rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cards, chips, forms */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: #eef0f6; color: var(--navy); }
.chip-live { background: #e3f5ea; color: var(--ok); }
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.chip-warn { background: #fff1d9; color: var(--warn); }
.chip-muted { background: #eef0f4; color: var(--muted); }
@keyframes pulse { 50% { opacity: 0.3; } }
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; color: var(--navy); }
.hint { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 400 1rem var(--sans); color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 21, 79, 0.12); }
textarea { min-height: 80px; resize: vertical; }
.field { margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); margin: 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.switch-row { display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 14px; background: var(--cream); border-radius: 12px; margin-bottom: 14px; }
.form-error { color: var(--danger); font-size: 0.9rem; min-height: 1.2em; margin: 6px 0; }
.input-copy { display: flex; gap: 8px; }
.input-copy input { font-size: 0.9rem; }

/* Header */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.topbar a { text-decoration: none; }
.topbar .logo { height: 46px; width: auto; display: block; }
.logo-text { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.topbar nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.topbar nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.topbar nav a:hover { background: rgba(0, 21, 79, 0.06); }
@media (max-width: 720px) { .topbar nav .hide-sm { display: none; } }
.demo-banner { background: var(--gold-soft); color: #6b4a00; font-size: 0.85rem; padding: 8px 16px; text-align: center; border-bottom: 1px solid #f1d38f; }

/* Toasts & modals */
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 500; transition: opacity 0.35s, transform 0.35s; }
.toast-ok { background: #17633a; }
.toast-err { background: var(--danger); }
.toast.out { opacity: 0; transform: translateY(8px); }
.modal-wrap { position: fixed; inset: 0; background: rgba(5, 12, 40, 0.55); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 12px; overflow-y: auto; }
.modal { position: relative; background: #fff; border-radius: 20px; padding: 26px 22px 22px; width: min(100%, 520px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.modal-wide { width: min(100%, 760px); }
.modal-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; color: var(--muted); cursor: pointer; border-radius: 50%; }
.modal-x:hover { background: #f1f1f4; }
.modal h2 { font-size: 1.5rem; padding-right: 30px; }

/* Auth card */
.auth { max-width: 420px; margin: 8vh auto; padding: 0 16px; }
.auth .card { padding: 28px 24px; }
.auth .logo { height: 70px; display: block; margin: 0 auto 14px; }
.tabs { display: flex; background: var(--cream); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 999px; font: 600 0.9rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--navy); box-shadow: var(--shadow); }

/* Dashboard */
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; font: 700 1.6rem var(--serif); color: var(--navy); }
.stat span { font-size: 0.82rem; color: var(--muted); }
.events { display: grid; gap: 14px; }
.ev { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: start; }
.ev-date { background: var(--navy); color: #fff; border-radius: 14px; text-align: center; padding: 8px 4px; }
.ev-date b { display: block; font: 700 1.6rem/1 var(--serif); color: var(--gold); }
.ev-date span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.ev h3 { margin: 0 0 4px; font-size: 1.25rem; }
.ev-meta { display: flex; gap: 8px 14px; flex-wrap: wrap; font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; align-items: center; }
.ev-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .ev { grid-template-columns: 1fr; } .ev-date { display: flex; gap: 8px; align-items: baseline; justify-content: center; padding: 6px; } .ev-date b { font-size: 1.2rem; } }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { color: var(--navy); }
.notice { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; background: var(--gold-soft); color: #5c4000; border: 1px solid #f1d38f; }
.notice-ok { background: #e7f6ed; color: #145a32; border-color: #b9e3c8; }

/* Frame preview inside the event form */
.frame-preview { display: flex; gap: 10px; align-items: flex-end; justify-content: center; background: var(--cream); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.frame-preview canvas { height: 180px; width: auto; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); }
.layout-checks { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.color-in { display: flex; gap: 8px; align-items: center; }
.color-in input[type="color"] { width: 48px; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; }

/* QR modal */
.qr-box { text-align: center; }
.qr-box canvas { width: 240px; height: 240px; image-rendering: pixelated; border-radius: 12px; border: 1px solid var(--line); }

/* Gallery */
.gal-head { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 16px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { position: relative; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 2 / 3; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: contain; background: #f3f0e8; display: block; }
.tile.is-hidden img { opacity: 0.35; filter: grayscale(1); }
.tile .tag { position: absolute; top: 8px; left: 8px; }
.tile .tools { position: absolute; inset: auto 0 0 0; display: flex; gap: 4px; justify-content: center; padding: 8px; background: linear-gradient(transparent, rgba(0, 10, 40, 0.65)); }
.tile .tools button { border: 0; background: rgba(255, 255, 255, 0.95); color: var(--navy); border-radius: 999px; padding: 6px 10px; font: 600 0.75rem var(--sans); cursor: pointer; }
.tile .tools button.danger { color: var(--danger); }
.lightbox { position: fixed; inset: 0; background: rgba(3, 8, 28, 0.94); z-index: 60; display: flex; flex-direction: column; }
.lightbox .lb-img { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.lightbox .lb-bar { display: flex; gap: 8px; justify-content: center; padding: 12px; flex-wrap: wrap; }
.lightbox .lb-bar .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* Share panel (client) */
.share { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.share canvas { width: 150px; height: 150px; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 560px) { .share { grid-template-columns: 1fr; justify-items: center; text-align: center; } .share .input-copy { width: 100%; } }

/* ---------------- Guest booth ---------------- */
.booth-body { background: var(--navy); color: #fff; min-height: 100vh; min-height: 100dvh; overflow-x: hidden;
  background-image: radial-gradient(circle at 15% 10%, rgba(244, 175, 27, 0.16), transparent 40%), radial-gradient(circle at 90% 85%, rgba(120, 150, 255, 0.18), transparent 45%); }
.booth { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 16px; }
.booth h1, .booth h2 { color: #fff; }
.screen { flex: 1; display: flex; flex-direction: column; }
.welcome { justify-content: center; text-align: center; gap: 10px; }
.welcome .kicker { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; }
.welcome h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); margin: 4px 0; }
.welcome .sub { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; }
.sparkle { color: var(--gold); font-size: 1.4rem; letter-spacing: 0.6em; }
.powered { color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; text-align: center; margin-top: 18px; }
.layouts { display: grid; gap: 12px; margin-top: 8px; }
.layout-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 14px; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.layout-card:hover, .layout-card:focus-visible { border-color: var(--gold); background: rgba(255, 255, 255, 0.11); outline: none; }
.layout-card b { font: 700 1.2rem var(--serif); display: block; }
.layout-card span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.layout-card .arrow { color: var(--gold); font-size: 1.4rem; }
.mini { display: grid; gap: 3px; background: #fff; padding: 4px 4px 12px; border-radius: 3px; margin: 0 auto; }
.mini i { display: block; background: linear-gradient(135deg, #f6d365, #fda085); border-radius: 1px; }
.mini-strip { width: 26px; } .mini-strip i { height: 15px; }
.mini-polaroid { width: 52px; } .mini-polaroid i { height: 44px; }
.mini-grid4 { width: 52px; grid-template-columns: 1fr 1fr; } .mini-grid4 i { height: 26px; }
.booth-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-height: 44px; }
.booth-top .title { flex: 1; text-align: center; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; }
.icon-btn:disabled { opacity: 0.35; }
.viewfinder { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); margin: 0 auto; }
.viewfinder video, .viewfinder img.still { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewfinder.mirror video { transform: scaleX(-1); }
.countdown { position: absolute; inset: 0; display: grid; place-items: center; font: 700 7rem var(--serif); color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); pointer-events: none; }
.countdown.pop { animation: pop 0.9s ease-out; }
@keyframes pop { 0% { transform: scale(1.6); opacity: 0; } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0.2; } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash 0.45s ease-out; }
@keyframes flash { 0% { opacity: 0.95; } 100% { opacity: 0; } }
.cam-main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.shot-count { white-space: nowrap; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.45); padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.cam-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: rgba(255, 255, 255, 0.85); }
.thumbs { display: flex; gap: 6px; justify-content: center; min-height: 44px; margin: 10px 0 4px; }
.thumbs canvas, .thumbs .ph { height: 44px; width: auto; border-radius: 4px; border: 2px solid rgba(255, 255, 255, 0.6); }
.thumbs .ph { width: 58px; border-style: dashed; border-color: rgba(255, 255, 255, 0.25); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; border: 1.5px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; padding: 8px 14px; border-radius: 999px; font: 600 0.88rem var(--sans); cursor: pointer; }
.filters button.on { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.cam-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.shutter { justify-self: center; width: 84px; height: 84px; border-radius: 50%; border: 5px solid #fff; background: var(--gold); cursor: pointer; box-shadow: 0 0 0 6px rgba(244, 175, 27, 0.25); font: 700 0.85rem var(--sans); color: var(--navy); }
.shutter:disabled { opacity: 0.5; }
.review { align-items: center; text-align: center; gap: 14px; }
.review .result { max-height: 62vh; max-height: 62dvh; max-width: 100%; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.review .actions { display: grid; gap: 10px; width: 100%; max-width: 360px; }
.review .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.saved-badge { color: #8ff0b4; font-weight: 600; }
.closed { justify-content: center; text-align: center; }

/* ---------------- Slideshow ---------------- */
.show-body { margin: 0; background: var(--navy); color: #fff; height: 100vh; overflow: hidden;
  background-image: radial-gradient(circle at 20% 20%, rgba(244, 175, 27, 0.14), transparent 45%), radial-gradient(circle at 80% 90%, rgba(120, 150, 255, 0.16), transparent 50%); }
.show { display: grid; grid-template-columns: 1fr minmax(240px, 26vw); height: 100vh; }
.show-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 4vh 3vw; overflow: hidden; }
.show-stage img { position: absolute; max-height: 88vh; max-width: 90%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 1.1s ease, transform 1.1s ease; transform: scale(0.97); }
.show-stage img.on { opacity: 1; transform: scale(1) rotate(var(--tilt, 0deg)); }
.new-badge { position: absolute; top: 4vh; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); padding: 6px 16px; border-radius: 999px; font-weight: 700; z-index: 3; animation: pop 1.2s; }
.show-side { background: rgba(0, 0, 0, 0.18); border-left: 1px solid rgba(255, 255, 255, 0.08); padding: 4vh 2vw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.6vh; }
.show-side h1 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.6rem); margin: 0; }
.show-side .date { color: var(--gold); font-weight: 600; letter-spacing: 0.06em; }
.show-side canvas { width: min(19vw, 260px); height: auto; background: #fff; padding: 8px; border-radius: 14px; }
.show-side .scan { font-size: clamp(0.9rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, 0.85); }
.show-side .count { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.show-empty { text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 1.4rem; }
.show-controls { position: fixed; top: 12px; left: 12px; display: flex; gap: 8px; opacity: 0; transition: opacity 0.3s; z-index: 5; }
body:hover .show-controls { opacity: 1; }
@media (max-width: 760px), (orientation: portrait) { .show { grid-template-columns: 1fr; grid-template-rows: 1fr auto; } .show-side { flex-direction: row; padding: 12px; border-left: 0; } .show-side canvas { width: 90px; } .show-side .scan { display: none; } }

/* ---------------- Printable sign ---------------- */
.sign-page { background: #e9e6df; }
.sign { width: 8.5in; min-height: 11in; margin: 24px auto; background: #fff; box-shadow: var(--shadow); padding: 0.6in; display: flex; flex-direction: column; align-items: center; text-align: center; border: 14px solid var(--navy); outline: 3px solid var(--gold); outline-offset: -26px; }
.sign .logo { height: 1.1in; margin-bottom: 0.15in; }
.sign .kicker { color: var(--gold); font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; font-size: 14pt; }
.sign h1 { font-size: 44pt; margin: 0.08in 0 0.1in; }
.sign .scan { font-size: 17pt; color: var(--ink); margin-bottom: 0.25in; }
.sign canvas { width: 3.6in; height: 3.6in; }
.sign .ev { display: block; font-family: var(--serif); font-size: 22pt; color: var(--navy); margin-top: 0.2in; }
.sign .date { color: var(--muted); font-size: 13pt; }
.sign ol { display: flex; gap: 0.3in; list-style: none; padding: 0; margin: 0.3in 0 0; counter-reset: s; }
.sign ol li { counter-increment: s; font-size: 12pt; max-width: 1.8in; }
.sign ol li::before { content: counter(s); display: grid; place-items: center; width: 0.42in; height: 0.42in; margin: 0 auto 6px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 15pt var(--serif); }
.sign .foot { margin-top: auto; padding-top: 0.25in; font-size: 11pt; color: var(--muted); }
.sign-tools { text-align: center; margin: 18px; }
@media screen and (max-width: 860px) { .sign { transform-origin: top center; zoom: 0.5; } }
@media print { .sign-page { background: #fff; } .sign-tools, .demo-banner { display: none !important; } .sign { margin: 0; box-shadow: none; width: auto; min-height: 10in; } @page { size: letter; margin: 0.25in; } }

/* ---------------- Sales page ---------------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; color: var(--navy); background: var(--gold-soft); border: 1px solid #f1d38f; padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.phone { width: 260px; margin: 0 auto; background: #0b0f22; border-radius: 40px; padding: 14px; box-shadow: 0 30px 60px rgba(0, 21, 79, 0.3); position: relative; }
.phone-screen { background: var(--navy); border-radius: 28px; height: 500px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.phone-screen canvas { height: 92%; width: auto; transform: rotate(-3deg); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.phone-badge { position: absolute; right: -24px; bottom: 60px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); color: var(--navy); font-weight: 600; font-size: 0.9rem; }
section.band { padding: 56px 0; }
section.band.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; }
.steps .card { counter-increment: st; }
.steps .card::before { content: counter(st); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 1.2rem var(--serif); margin-bottom: 12px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features .card h3 { margin-bottom: 6px; }
.features .ic { font-size: 1.5rem; color: var(--gold); }
@media (max-width: 860px) { .steps, .features { grid-template-columns: 1fr; } }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.pkg { display: flex; flex-direction: column; }
.pkg .price { font: 700 2.6rem var(--serif); color: var(--navy); }
.pkg .price small { font: 500 0.95rem var(--sans); color: var(--muted); }
.pkg ul { padding: 0; list-style: none; margin: 12px 0 20px; flex: 1; }
.pkg li { padding: 6px 0 6px 26px; position: relative; }
.pkg li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.pkg.featured { border: 2px solid var(--gold); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
footer.site { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding: 34px 0; font-size: 0.92rem; }
footer.site a { color: #fff; }
footer.site .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 28px; }

/* Strip design options in the event form */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 52px; height: 40px; border-radius: 10px; border: 2px solid var(--line); cursor: pointer; font: 700 1rem var(--serif); display: grid; place-items: center; }
.swatch.on { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 21, 79, 0.15); }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 10px 0 14px; }
.design-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.design-card b { color: var(--navy); }
.design-card .size { font-size: 0.8rem; color: var(--muted); }
.design-card .thumb { height: 150px; display: grid; place-items: center; background: var(--cream); border-radius: 8px; overflow: hidden; }
.design-card .thumb img, .design-card .thumb canvas { max-height: 140px; max-width: 100%; width: auto; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.design-card .row { gap: 6px; }
.design-card .status { font-size: 0.8rem; font-weight: 600; }
.mini-img { height: 56px; width: auto; max-width: 64px; object-fit: contain; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); margin: 0 auto; }
