@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=DM+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Great+Vibes&family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* ==========================================================================
   Firefly Keepsakes — site stylesheet
   One file for every page. Sections:
   1. Tokens   2. Base & accessibility   3. Header & menus   4. Buttons
   5. Home     6. Create page & catalog  7. Creator dialog   8. Cart drawer
   9. Content pages   10. Footer   11. Utilities
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
  --navy: #0d1a33;
  --navy-2: #1c315e;
  --gold: #f5c542;
  --gold-deep: #7a5a0c;       /* gold used as TEXT on light backgrounds (6:1) */
  --cream: #fffaf2;
  --paper: #fffdf8;
  --ink: #12213a;
  --muted: #566274;           /* 5.9:1 on cream */
  --line: #e6ddd0;
  --ok: #1f5130;  --ok-bg: #eef6ec;
  --warn: #8a3b00; --warn-bg: #fff4e5;
  --err: #9b1c1c; --err-bg: #fdf0ee;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;           /* height of the sticky bar */
  --tab-h: 108px;             /* logo tab height before scrolling */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(18, 33, 58, .10);
}

/* 2. Base & accessibility ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* Visible keyboard focus everywhere (WCAG 2.4.7 / 2.4.11) */
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .btn-primary:focus-visible { outline-color: var(--gold); }
.btn-primary:focus-visible { outline-color: var(--navy-2); }
.on-dark .btn-primary:focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px;
  font: 600 .9rem var(--font-ui); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 3. Header & menus ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h); background: #fffdf9;
  border-bottom: 1px solid rgba(13, 26, 51, .10);
}
.header-inner {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
}

/* The centre logo "tab". At the top of the page it hangs below the bar.
   Once the page is scrolled (JS adds .is-scrolled) it becomes bar height, so
   anything that sticks under the header (like the category bar) sits flush. */
.brand {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: grid; place-items: center;
  width: 148px; height: var(--tab-h);
  background: #fffdf9; border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 22px rgba(16, 25, 48, .08);
  transition: height .2s ease, border-radius .2s ease, box-shadow .2s ease;
  z-index: 2;
}
.brand img { width: 92px; height: 92px; transition: width .2s ease, height .2s ease; }
.site-header.is-scrolled .brand { height: 100%; border-radius: 0; box-shadow: none; }
.site-header.is-scrolled .brand img { width: 58px; height: 58px; }

.site-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-list li:nth-child(3) { margin-right: auto; }  /* three links each side of the logo, with the middle left free for it */
.nav-list a {
  display: inline-block; padding: 10px 2px; text-decoration: none;
  font: 600 .875rem/1 var(--font-ui); color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--gold); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--navy-2); }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; color: var(--ink);
}
.icon-btn:hover { background: rgba(13, 26, 51, .06); }
.icon-btn svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--gold); color: #111a2c; font: 700 .72rem/1 var(--font-ui);
}
.cart-count[data-zero="true"] { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1019px) {            /* the menu moves into the hamburger before six links get squeezed against the logo */
  .site-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: 0; }
  .brand { width: 128px; --tab-h: 96px; height: 96px; }
  .site-header.is-scrolled .brand { height: 100%; }
  .brand img { width: 80px; height: 80px; }
}

/* Native <dialog> is used for the menu, cart and creator: the browser gives us
   focus trapping, Esc to close and an inert page behind. */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(7, 16, 34, .62); }

.drawer {
  margin: 0; padding: 0; border: 0; background: #fffdf9;
  height: 100dvh; max-height: none; max-width: none; width: min(420px, 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, .25);
}
.drawer-left { margin-right: auto; }
.drawer-right { margin-left: auto; width: min(440px, 100%); }
.drawer[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .drawer-left[open] { animation: slide-l .22s ease; }
  .drawer-right[open] { animation: slide-r .22s ease; }
  @keyframes slide-l { from { transform: translateX(-30px); opacity: .4; } }
  @keyframes slide-r { from { transform: translateX(30px); opacity: .4; } }
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 14px 24px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.9rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: #fffdf9; }

.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a {
  display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none;
  font: 600 1.7rem/1.1 var(--font-display); color: var(--navy);
}
.menu-links a[aria-current="page"] { color: var(--gold-deep); }
.menu-note { margin-top: 24px; font: italic 1.15rem/1.4 var(--font-display); color: var(--muted); max-width: 260px; }

/* 4. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 26px; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; text-align: center;
  font: 700 .875rem/1.2 var(--font-ui);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #111a2c; box-shadow: 0 8px 22px rgba(245, 197, 66, .25); }
.btn-primary:hover { background: #f8d06a; }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: #26407a; }
.btn-outline { background: transparent; border-color: var(--navy-2); color: var(--navy-2); }
.btn-outline:hover { background: rgba(28, 49, 94, .06); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.link-arrow { font: 700 .875rem var(--font-ui); color: var(--navy-2); text-underline-offset: 4px; }

/* 5. Home ---------------------------------------------------------------- */
.on-dark { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

.hero {
  position: relative; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: 560px;
  background: linear-gradient(90deg, #081225 0%, #0e1930 45%, #322615 100%);
}
.hero-copy { position: relative; z-index: 2; padding: 110px var(--gutter) 64px; align-self: center; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 4.7rem); line-height: .94; letter-spacing: -.02em; max-width: 9em; }
.hero h1 span { display: block; color: var(--gold); }
.hero-copy > p { max-width: 30em; margin: 22px 0 0; font-size: 1.1rem; color: #f6f0e8; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-visual {
  position: relative; min-height: 420px; background-color: #1a2540;
  background-size: cover; background-position: center;
  background-image: radial-gradient(circle at 70% 40%, #2b3f73 0%, #1a2540 60%, #121b30 100%);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0e1930 0%, rgba(14, 25, 48, .15) 28%, rgba(0, 0, 0, .12) 100%);
}
.keepsake {
  position: absolute; z-index: 2; background: linear-gradient(135deg, #fafafa 0%, #c9c9c5 48%, #f5f5f2 100%);
  padding: 5px; box-shadow: 0 16px 32px rgba(0, 0, 0, .34);
  background-color: #ddd;
}
.keepsake img { width: 100%; height: 100%; object-fit: cover; background: #cfc6b5; }
.keepsake.round, .keepsake.round img { border-radius: 50%; }
.k1 { width: clamp(130px, 17vw, 220px); aspect-ratio: 1; left: 12%; top: 16%; }
.k2 { width: clamp(110px, 14vw, 180px); aspect-ratio: 1; left: 46%; top: 54%; }
.k3 { width: clamp(100px, 12vw, 156px); aspect-ratio: 3/4; right: 8%; top: 10%; border-radius: 14px; transform: rotate(6deg); }
.k3 img { border-radius: 9px; }
.k3::before { /* keychain loop */
  content: ""; position: absolute; left: 50%; top: -34px; width: 22px; height: 40px; transform: translateX(-50%);
  border: 4px solid #b9b9b5; border-bottom: 0; border-radius: 12px 12px 0 0; z-index: -1;
}
.spark {
  position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: #ffe38b;
  box-shadow: 0 0 9px 4px rgba(245, 197, 66, .55), 0 0 24px 10px rgba(245, 197, 66, .2);
  animation: glow 3.4s ease-in-out infinite;
}
.s1 { left: 8%; top: 24%; } .s2 { left: 62%; top: 12%; animation-delay: .8s; }
.s3 { right: 6%; top: 62%; animation-delay: 1.5s; } .s4 { left: 38%; bottom: 12%; animation-delay: 2.2s; }
@keyframes glow { 50% { opacity: .25; transform: translateY(-6px); } }

@media (max-width: 859px) {
  .hero { grid-template-columns: 1fr; min-height: 0; background: linear-gradient(180deg, #081225 0%, #0e1930 100%); }
  .hero-visual::before { background: linear-gradient(180deg, #0e1930 0%, rgba(14, 25, 48, .1) 30%, rgba(0, 0, 0, .1) 100%); }
  .hero-copy { padding: 84px var(--gutter) 40px; }
  .hero-visual { min-height: 360px; }
  .k1 { left: 8%; top: 14%; } .k2 { left: 44%; top: 50%; } .k3 { right: 6%; top: 8%; }
}

.section { padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .page-title { font-size: clamp(2.3rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.eyebrow { font: 700 .8rem/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.on-dark .eyebrow { color: var(--gold); }
.bg-paper { background: var(--paper); border-top: 1px solid var(--line); }

/* Product-type tiles on the home page */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tile {
  position: relative; display: block; height: 260px; border-radius: 16px; overflow: hidden; color: #fff;
  background: #223255; text-decoration: none;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 12, 27, .85), rgba(4, 12, 27, 0) 65%); }
.tile:hover img { transform: scale(1.03); }
.tile-copy { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.tile-copy h3 { font-size: 1.7rem; color: #fff; }
.tile-copy p { margin: 4px 0 0; font-size: .9rem; color: #f3efe6; }
@media (max-width: 960px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } .tile { height: 170px; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { text-align: center; }
.step-art { height: 308px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 1.6rem; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--gold-deep); }
.step p { color: var(--muted); max-width: 18em; margin: 8px auto 0; font-size: .98rem; }
/* The three step pictures share one set of numbers (all in CSS px) so the circle in step 2
   frames exactly what step 3 shows: the photo window, the ring's size, and the ring's centre (rx, ry)
   measured from the photo window's top-left. Change them here and both steps follow. */
/* The three step pictures share one set of numbers (all in CSS px) so the circle in step 2 frames exactly what step 3 shows:
   the photo window, the ring's size, and the ring's centre (rx, ry) measured from the photo window's top-left. */
.step-art { --ph-w: 108; --ph-h: 135; --ring: 100; --rx: 54; --ry: 77; --final: 156; }

/* A modern phone: brushed-metal frame, side buttons, black bezel, status bar, camera pill, glass glare, home bar */
.phone { position: relative; width: 144px; height: 292px; padding: 5px; border-radius: 31px;
  background: linear-gradient(145deg, #e4e5e8 0%, #a3a5ac 16%, #eceef0 38%, #8f9199 66%, #d4d5d9 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 0 1px #6c6e77, 0 30px 44px rgba(10, 22, 43, .30), 0 10px 16px rgba(10, 22, 43, .18); }
.phone::before { content: ""; position: absolute; right: -3px; top: 84px; width: 3px; height: 40px; border-radius: 0 2px 2px 0; background: linear-gradient(90deg, #8b8d95, #c9cacf); }
.phone::after { content: ""; position: absolute; left: -3px; top: 62px; width: 3px; height: 24px; border-radius: 2px 0 0 2px; background: linear-gradient(270deg, #8b8d95, #c9cacf); box-shadow: 0 36px 0 #a9abb2; }
.ph-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border: 4px solid #06070a; border-radius: 26px; background: #fbf8f1; }
.ph-bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 3px 13px 0 14px; }
.ph-time { font: 700 7.5px/1 var(--font-ui); color: #10131a; letter-spacing: .01em; }
.ph-sys { width: 31px; height: 8px; }
.ph-island { position: absolute; z-index: 4; top: 6px; left: 50%; width: 38px; height: 11px; margin-left: -19px; border-radius: 8px; background: radial-gradient(circle at 80% 50%, #1b2a4a 0 2px, transparent 2.5px), #05060a; }
.ph-app { position: absolute; inset: 26px 9px 0; }
.ph-nav { display: flex; align-items: center; gap: 5px; height: 16px; margin-bottom: 6px; }
.ph-nav i { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #f5c542, #d79f1d); }
.ph-nav b { height: 4px; width: 38px; border-radius: 3px; background: #1c315e; opacity: .85; }
.ph-nav b + b { width: 18px; margin-left: auto; background: #cfc6b3; opacity: 1; }
.ph-photo { position: relative; width: calc(var(--ph-w) * 1px); height: calc(var(--ph-h) * 1px); overflow: hidden; border-radius: 9px; background: #5a6577 url("../assets/home/scene-peaks.webp") center / cover; box-shadow: 0 1px 3px rgba(10, 22, 43, .22); }
.ph-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.crop-ring { position: absolute; box-sizing: border-box; left: calc((var(--rx) - var(--ring) / 2) * 1px); top: calc((var(--ry) - var(--ring) / 2) * 1px); width: calc(var(--ring) * 1px); height: calc(var(--ring) * 1px);
  border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 999px rgba(8, 14, 28, .42), 0 0 0 1px rgba(0, 0, 0, .25); }
.crop-ring::before, .crop-ring::after { content: ""; position: absolute; background: rgba(255, 255, 255, .55); }
.crop-ring::before { left: 50%; top: 4px; bottom: 4px; width: 1px; }
.crop-ring::after { top: 50%; left: 4px; right: 4px; height: 1px; }
.ph-ctl { display: grid; gap: 8px; margin-top: 11px; }
.ph-cta { display: flex; align-items: center; justify-content: center; gap: 5px; height: 22px; border-radius: 11px; background: linear-gradient(180deg, #f8cf56, #eeb52b); box-shadow: 0 2px 4px rgba(215, 159, 29, .45); }
.ph-cta svg { width: 9px; height: 9px; stroke: #1a1d28; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.ph-cta b { width: 34px; height: 4px; border-radius: 3px; background: #1a1d28; opacity: .8; }
.ph-hint { display: flex; justify-content: center; gap: 4px; }
.ph-hint i { width: 22px; height: 3px; border-radius: 2px; background: #d8cfbc; }
.ph-slider { position: relative; height: 4px; margin: 4px 4px 0; border-radius: 3px; background: #ddd4c2; }
.ph-slider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 3px; background: linear-gradient(90deg, #f5c542, #e5ad22); }
.ph-slider i { position: absolute; left: 62%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 22, 43, .4), 0 0 0 1px #e6dcc6; }
.ph-icons { display: flex; justify-content: center; gap: 9px; }
.ph-ic { position: relative; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #e0d6c1; box-shadow: 0 1px 2px rgba(10, 22, 43, .12); }
.ph-ic::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 1.7px; border-radius: 1px; background: #1c315e; }
.ph-ic.plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1.7px; height: 8px; border-radius: 1px; background: #1c315e; }
.ph-ic.rot::before { width: 9px; height: 9px; background: none; border: 1.7px solid #1c315e; border-right-color: transparent; border-radius: 50%; }
.ph-home { position: absolute; z-index: 3; bottom: 5px; left: 50%; width: 46px; height: 3.5px; margin-left: -23px; border-radius: 3px; background: #10131a; opacity: .85; }
.ph-glare { position: absolute; z-index: 5; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .07) 29%, rgba(255, 255, 255, 0) 30%), linear-gradient(0deg, rgba(10, 22, 43, .05), rgba(10, 22, 43, 0) 22%); }

/* The finished piece: a domed, glossy round magnet with a metal rim */
.final-piece { position: relative; width: 170px; height: 170px; padding: 7px; border-radius: 50%;
  background: conic-gradient(from 200deg, #fdfdfc, #c4c4bf 18%, #fafaf8 36%, #b4b4af 56%, #fdfdfc 74%, #cdcdc8 90%, #fdfdfc);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 26px 32px rgba(10, 22, 43, .26), 0 4px 6px rgba(10, 22, 43, .22); }
.final-piece::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 70% 52% at 30% 18%, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 68%), radial-gradient(circle at 72% 88%, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 46%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 -3px 6px rgba(0, 0, 0, .10); }
.fp-clip { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #5a6577 url("../assets/home/scene-peaks.webp") center / cover; }
.fp-photo {   /* the same photo window as the phone, enlarged so the ring's contents fill the circle */
  position: absolute; left: 50%; top: 50%; width: calc(var(--ph-w) * 1px); height: calc(var(--ph-h) * 1px);
  margin-left: calc(var(--rx) * -1px); margin-top: calc(var(--ry) * -1px);
  transform-origin: calc(var(--rx) * 1px) calc(var(--ry) * 1px); transform: scale(calc(var(--final) / var(--ring))); }
.fp-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } .step-art { height: 300px; } }

/* Advent feature band */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: linear-gradient(90deg, #09152c, #172441); color: #fff; overflow: hidden; }
.band-copy { padding: clamp(44px, 6vw, 80px) var(--gutter); align-self: center; }
.band-copy h2 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
.band-copy p { max-width: 30em; margin-top: 14px; color: #e9edf4; }
.band-art {
  min-height: 300px; background-color: #1f2c4a; background-size: cover; background-position: center;
  background-image: radial-gradient(circle at 60% 40%, #2c3f6f 0%, #1c2a4b 70%);
}
@media (max-width: 859px) { .band { grid-template-columns: 1fr; } }

/* Trust row */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw); }
.trust li { display: flex; align-items: center; gap: 14px; font: 600 .95rem/1.4 var(--font-ui); color: #26364d; }
.trust svg { flex: none; width: 34px; height: 34px; stroke: var(--navy-2); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* 6. Create page & catalog ---------------------------------------------- */
.page-hero { padding: 72px var(--gutter) 28px; text-align: center; }
.page-hero p { max-width: 36rem; margin: 14px auto 0; color: var(--muted); font-size: 1.05rem; }
.page-hero .create-subhead { max-width: 48rem; }
.page-hero .page-title { margin: 0; }

/* Category bar: full-bleed and sticky directly under the header bar. */
.category-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255, 250, 242, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.category-bar ul {
  display: flex; justify-content: center; gap: 10px; list-style: none; margin: 0;
  padding: 12px var(--gutter); overflow-x: auto; scrollbar-width: thin;
}
.category-bar a {
  display: block; white-space: nowrap; padding: 10px 16px; border: 1px solid #d9ceba; border-radius: 999px;
  background: #fffdf9; text-decoration: none; font: 600 .8125rem/1 var(--font-ui); color: #233653;
}
.category-bar a:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
@media (max-width: 1000px) { .category-bar ul { justify-content: flex-start; } }

.catalog { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gutter) 80px; }
.catalog-group { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 84px); }
.catalog-group:last-child { margin-bottom: 0; }
.catalog-group h2 { font-size: 2.2rem; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid #dfd5c6; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fffdf9; border: 1px solid #e6ddd0; border-radius: 18px; box-shadow: 0 8px 24px rgba(21, 31, 48, .05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover, .card:focus-within { box-shadow: 0 16px 34px rgba(21, 31, 48, .12); transform: translateY(-3px); }
.card-img { aspect-ratio: 4 / 3; background: #f3ecdf; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card-body h3 { font-size: 1.65rem; line-height: 1.05; }
.card-body p { margin: 8px 0 14px; font-size: .95rem; color: var(--muted); flex: 1; }
.card-meta { font: 600 .85rem var(--font-ui); color: var(--navy-2); margin-bottom: 10px; }
.badge { display: inline-block; align-self: flex-start; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: #f1e9d8; color: var(--gold-deep); font: 700 .75rem var(--font-ui); }
.card .btn { align-self: flex-start; min-height: 42px; padding: 10px 20px; }
.card .btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is the click target */
/* A transform would make the button (not the card) the box that ::after stretches to, shrinking the click target on hover. */
.card .btn, .card .btn:hover, .card .btn:active { transform: none; }
.card .btn:focus-visible { outline-offset: -4px; }
.card:focus-within { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.card .btn:focus-visible::after { outline: none; }

@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; min-height: 150px; }
  .card-img { flex: none; width: 112px; aspect-ratio: auto; }
  .card-body { padding: 14px 14px 16px; }
  .card-body h3 { font-size: 1.4rem; }
  .card-body p { font-size: .88rem; margin: 6px 0 10px; }
  .catalog { padding-top: 32px; }
  .catalog-group h2 { font-size: 1.9rem; }
}

.closing { background: var(--navy-2); color: #fff; text-align: center; padding: 76px var(--gutter) 84px; }
.closing h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 500; }
.closing p { margin: 12px auto 0; color: #d9dfeb; }

/* 7. Creator dialog ------------------------------------------------------ */
.creator {
  width: min(1120px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 24px; background: var(--paper); overflow: auto;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .35);
  --creator-top-h: 67px;                       /* height of the sticky top bar, so the pinned photo sits just beneath it */
  scroll-padding-top: calc(var(--creator-top-h) + 14px);      /* a control you tab to or focus is never left hidden under the top bar */
}
.creator-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 28px; background: #fffdf9; border-bottom: 1px solid var(--line); }
.creator-top p { margin: 0; font: 700 .8rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); }
.creator-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); grid-template-rows: auto 1fr; grid-template-areas: "stage head" "stage order"; }
.stage-head { grid-area: head; padding: 30px 32px 0; }
.stage-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.stage-head > p { margin: 8px 0 12px; color: var(--muted); }
.stage-head .perfect-for { margin: 8px 0 4px; }
.stage-head .crop-legend { margin: 0 0 8px; max-width: none; }
.stage-sticky { grid-area: stage; padding: 24px 36px 36px; background: #f7f1e8; }
/* The photo stays in view while the controls beside it scroll. */
.stage-card { position: sticky; top: calc(var(--creator-top-h) + 12px); background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 18px 45px rgba(20, 35, 63, .08); }

.stage { position: relative; width: 100%; max-width: min(460px, calc(100dvh - 190px)); margin: 0 auto; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e9e1d2; }
.stage canvas { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage canvas:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; border-radius: 0; box-shadow: inset 0 0 0 6px var(--navy-2); }
.stage-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stage-empty {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; background: #fff; border: 2px dashed #d9ceba; border-radius: 12px;
}
.stage-empty.is-dragover { background: #fff8e0; border-color: var(--gold-deep); }
.stage-empty h3 { font-size: 1.8rem; margin: 14px 0 6px; }
.stage-empty p { max-width: 22rem; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.upload-badge { width: 62px; height: 62px; border-radius: 50%; background: #fff5d3; display: grid; place-items: center; color: var(--gold-deep); }
.upload-badge svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.crop-legend { margin: 12px auto 0; max-width: 460px; font-size: .88rem; color: var(--muted); }
.crop-legend b { color: var(--ink); }
.tools { display: grid; gap: 14px; max-width: 460px; margin: 16px auto 0; }
.tool-row { display: flex; align-items: center; gap: 10px; }
.tool-row label { font: 600 .85rem var(--font-ui); min-width: 3.6rem; }
.tool-row input[type="range"] { flex: 1; min-width: 0; height: 28px; accent-color: var(--navy-2); }
.round-tool {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid #cfc4af; background: #fff; color: var(--navy-2);
}
.round-tool:hover { background: #f6f1e6; }
.round-tool svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nudge { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nudge-label { font: 600 .85rem var(--font-ui); margin-right: 4px; }
.text-btn { border: 0; background: none; padding: 10px 6px; color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; font-size: .92rem; }
.quality { margin: 4px 0 0; text-align: center; font-size: .9rem; padding: 8px 12px; border-radius: 10px; }
.quality[data-level="great"] { background: var(--ok-bg); color: var(--ok); }
.quality[data-level="ok"] { background: #f3f4ee; color: #3d4a2c; }
.quality[data-level="soft"], .quality[data-level="low"] { background: var(--warn-bg); color: var(--warn); }

.order-col { grid-area: order; padding: 14px 32px 36px; }
/* Everything you adjust (position, zoom, text) sits at the top of the right-hand column, above the size options. */
.edit-tools { margin: 0 0 26px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.edit-h { margin: 0 0 6px; font: 700 .76rem var(--font-ui); letter-spacing: .09em; text-transform: uppercase; color: var(--navy-2); }
.edit-tools .tools, .edit-tools .crop-tools { max-width: none; margin: 10px 0 0; }
.edit-tools .crop-legend { margin: 0 0 4px; max-width: none; }
.edit-tools .text-editor { max-width: none; margin: 18px 0 0; padding-top: 16px; }
.edit-tools .quality { margin: 10px 0 0; }
.shape-ic { display: inline-block; width: 22px; height: 13px; margin-right: 7px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.order-col h3 { font-size: 2.1rem; margin: 6px 0 10px; }
.order-col > p { color: var(--muted); font-size: .95rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field-label { padding: 0; margin: 22px 0 10px; font: 700 .8rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px 8px;
  border: 1.5px solid #d8cdbf; border-radius: 12px; background: #fffcf6; color: var(--navy-2); font: 600 .875rem/1.2 var(--font-ui);
}
.choice input:checked + label { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.choice input:focus-visible + label { outline: 3px solid var(--navy-2); outline-offset: 3px; }
.choice input:checked:focus-visible + label { outline-color: var(--gold-deep); }
.choice input:not(:checked) + label:hover { border-color: var(--navy-2); background: #fff; }

.preview-row { display: grid; grid-template-columns: 124px 1fr; gap: 18px; align-items: center; margin: 22px 0; }
.preview-piece {
  width: 120px; height: 120px; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #fafafa, #c9c9c5 48%, #f5f5f2);
  box-shadow: 0 14px 26px rgba(10, 22, 43, .18);
}
.preview-piece[data-shape="square"] { border-radius: 14px; }
.preview-piece canvas { width: 100%; height: 100%; border-radius: 50%; background: #efe7da; }
.preview-piece[data-shape="square"] canvas { border-radius: 9px; }
.preview-copy strong { display: block; font: 600 1.35rem/1.1 var(--font-display); color: var(--navy); }
.preview-copy span { display: block; margin-top: 4px; font-size: .88rem; color: var(--muted); }

.qty-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qty-row .field-label { margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #d8cdbf; border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; color: var(--navy-2); font-size: 1.3rem; line-height: 1; }
.qty button:hover { background: #f7f3ec; }
.qty input { width: 46px; height: 44px; border: 0; text-align: center; font: 700 1rem var(--font-ui); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-line { margin: 14px 0 0; font: 700 1.05rem var(--font-ui); color: var(--navy); }
.order-col .btn-block { margin-top: 18px; }
.fine { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }

.notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.notice-error { background: var(--err-bg); color: var(--err); }
.notice-ok { background: var(--ok-bg); color: var(--ok); }
.added { margin-top: 16px; padding: 18px; border: 1px solid #bfd2c1; border-radius: 18px; background: var(--ok-bg); color: var(--ok); }
.added:focus { outline: 3px solid var(--navy-2); outline-offset: 3px; }
.added h4 { font-size: 1.6rem; color: var(--ok); }
.added-item { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center; margin: 12px 0; padding: 10px; border: 1px solid #dce5dc; border-radius: 14px; background: #fff; color: var(--ink); }
.added-item img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #d7d7d3; }
.added-item img[data-shape="square"] { border-radius: 10px; }
.added-item strong { display: block; font: 700 .9rem var(--font-ui); }
.added-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* "You changed this after adding it": shown before Create another / Go to cart would throw away unsaved changes */
.unsaved { margin-top: 14px; padding: 16px; border: 1.5px solid #e2c36b; border-radius: 16px; background: #fff7dc; color: #4a3a05; }
.unsaved:focus { outline: 3px solid var(--navy-2); outline-offset: 3px; }
.unsaved p { margin: 0 0 12px; }
.unsaved .added-actions { grid-template-columns: 1fr; }
.unsaved .text-btn { margin-top: 10px; display: inline-block; }

@media (max-width: 860px) {
  .creator { width: 100%; height: 100dvh; max-height: none; border-radius: 0; margin: 0; }
  .added-actions { grid-template-columns: 1fr; }
  .stage-empty { padding: 12px; } .stage-empty p { display: none; } .stage-empty h3 { font-size: 1.45rem; margin: 8px 0 10px; } .upload-badge { width: 44px; height: 44px; }
}
/* phones and tablets held upright: the photo is pinned at the top (smaller), and the controls scroll underneath it */
@media (max-width: 860px) and (min-height: 521px) {
  .creator { scroll-padding-top: calc(var(--creator-top-h) + 34dvh + 64px); }          /* ...or under the pinned photo */
  .creator-grid { display: block; }
  .stage-head { padding: 20px 16px 4px; }
  .stage-sticky { position: sticky; top: var(--creator-top-h); z-index: 4; padding: 6px 16px 10px; box-shadow: 0 10px 14px -12px rgba(20, 35, 63, .45); }
  .stage-card { position: static; padding: 8px; border-radius: 16px; }
  .stage { max-width: min(100%, 34dvh); }
  .order-col { padding: 22px 16px 34px; }
}
/* phones on their side: a short screen keeps the photo beside the controls */
@media (max-width: 860px) and (max-height: 520px) {
  .creator-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stage-head { padding: 12px 16px 0; } .stage-head h2 { font-size: 1.5rem; } .stage-head > p, .stage-head .perfect-for { display: none; }
  .stage-sticky { padding: 6px 16px 14px; }
  .stage-card { top: calc(var(--creator-top-h) + 4px); padding: 8px; border-radius: 16px; }
  .stage { max-width: min(100%, calc(100dvh - 150px)); }
  .order-col { padding: 16px; }
}

/* "Perfect for" ideas under a product's intro line */
.perfect-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 14px; }
.pf-label { font: 700 .72rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-list { display: contents; margin: 0; padding: 0; list-style: none; }
.pf-list li { padding: 5px 12px; border: 1px solid #e3d8c6; border-radius: 999px; background: #fbf6ec; font: 600 .82rem var(--font-ui); color: var(--navy-2); }

/* 8. Cart drawer --------------------------------------------------------- */
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; border: 3px solid #d3d3cf; background: #efe7da; }
.cart-thumb[data-shape="square"] { border-radius: 12px; }
.cart-line strong { display: block; font: 600 1.25rem/1.1 var(--font-display); color: var(--navy); }
.cart-line small { display: block; margin-top: 2px; color: var(--muted); font-size: .85rem; }
.cart-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.cart-qty button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #d3c9b7; background: #fff; color: var(--navy-2); font-size: 1.1rem; line-height: 1; }
.cart-qty output { min-width: 28px; text-align: center; font: 700 .95rem var(--font-ui); }
.cart-remove { border: 0; background: none; padding: 8px; font-size: .85rem; color: var(--err); text-decoration: underline; text-underline-offset: 3px; }
.cart-price { font: 700 .95rem var(--font-ui); text-align: right; }
.empty-cart { text-align: center; padding: 56px 8px; color: var(--muted); }
.empty-cart p { margin-bottom: 18px; }
.subtotal { display: flex; justify-content: space-between; margin: 0 0 6px; font: 700 1rem var(--font-ui); }
.drawer-foot .fine { margin: 0 0 14px; }
.drawer-foot fieldset { margin-bottom: 14px; }
.drawer-foot legend { margin-top: 0; }
.drawer-foot .choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-foot .btn + .btn { margin-top: 10px; }

/* 9. Content pages ------------------------------------------------------- */
.content { max-width: 46rem; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.content.wide { max-width: 60rem; }
.content > h1 { font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.01em; margin-bottom: 18px; }
.content .lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.prose h2 { font-size: 2rem; margin: 2.2em 0 .5em; }
.prose h3 { font-size: 1.45rem; margin: 1.6em 0 .4em; }
.prose p, .prose li { max-width: 40rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a:not(.btn) { color: var(--navy-2); text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--gold-deep); }
.draft-note { margin: 0 0 28px; padding: 14px 16px; border: 1.5px dashed var(--warn); border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: .92rem; }
.updated { color: var(--muted); font-size: .92rem; }
.fill { background: #fff3c4; color: #5c4400; padding: 0 4px; border-radius: 4px; } /* placeholder text still to be filled in */

.faq-group h2 { font-size: 2rem; margin: 40px 0 8px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 2px; position: relative; font: 600 1rem/1.4 var(--font-ui); color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-body); color: var(--gold-deep); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 2px 18px; color: #3d4a5c; max-width: 40rem; }
details > div p:last-child { margin-bottom: 0; }

.contact-card { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.contact-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-card p { margin-bottom: .4em; }

.confirm { max-width: 38rem; margin: 0 auto; padding: 96px var(--gutter) 120px; text-align: center; }
.confirm h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); margin-bottom: 16px; }

/* 10. Footer ------------------------------------------------------------- */
.site-footer {
  background: radial-gradient(circle at 85% 20%, rgba(245, 197, 66, .13), transparent 22%), #0a152c;
  color: #d9dfeb; padding: 56px var(--gutter) 28px;
}
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .footer-tagline { margin: 0; max-width: 13em; font: 500 2.1rem/1.05 var(--font-display); color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 22rem; font-size: .95rem; }
.site-footer .footer-heading { margin: 0 0 14px; font: 700 .8rem var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { display: inline-block; padding: 5px 0; text-decoration: none; color: #e9edf4; font-size: .95rem; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; color: #fff; }
.social a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.legal-row { max-width: var(--maxw); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #b9c3d6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* 11. Utilities ---------------------------------------------------------- */
.center { text-align: center; }
.cta-row { margin-top: 40px; }
.mt-0 { margin-top: 0; }
noscript .notice { margin: 24px auto; max-width: 40rem; }


/* 13. Pricing bits */
.page-hero .price-banner, .price-banner { display: inline-block; margin: 20px auto 0; padding: 10px 20px; border-radius: 999px; background: #f6ecd3; color: var(--ink); font-weight: 500; max-width: 48rem; }
@media (min-width: 760px) { .page-hero .create-subhead, .page-hero .price-banner { white-space: nowrap; } }
.price-banner[hidden] { display: none; }
.price-line { max-width: 28rem; font: 600 .9rem/1.5 var(--font-ui); }
.subtotal.savings { color: var(--ok); }

/* Puzzle creator */
.puzzle-stage{position:relative;width:100%;max-width:560px;margin:0 auto;background:#e9e1d2;border-radius:18px;overflow:hidden;min-height:260px;display:grid;place-items:center}.puzzle-stage canvas{display:block;width:100%;height:auto;touch-action:none;background:#e9e1d2}.puzzle-stage .stage-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:24px;background:rgba(255,250,242,.88)}.puzzle-stage .stage-empty[hidden]{display:none}.puzzle-grid-options{grid-template-columns:repeat(3,minmax(0,1fr))}.puzzle-preview-copy{display:flex;justify-content:space-between;align-items:center;padding:14px 0 5px;border-top:1px solid var(--line);margin-top:16px}.puzzle-preview-copy strong{font-family:Montserrat,sans-serif;color:var(--navy)}.puzzle-preview-copy span{font-weight:700;color:#9a7519}.puzzle-creator .added-item img{object-fit:cover;border-radius:8px}@media(max-width:650px){.puzzle-grid-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Creator text tools */
.text-editor{max-width:460px;margin:16px auto 0;border-top:1px solid var(--line);padding-top:14px}.text-add{width:100%}.text-panel{margin-top:12px;padding:14px;border:1px solid #d8cdbf;border-radius:14px;background:#fffdf9}.text-input,.text-panel select{width:100%;min-height:42px;border:1px solid #cfc4af;border-radius:9px;background:#fff;padding:8px 10px;color:var(--ink)}.text-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.text-two label{font:600 .78rem var(--font-ui);color:var(--navy-2)}.text-two select{display:block;margin-top:5px}.text-buttons{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.text-buttons button{min-width:40px;min-height:38px;border:1px solid #cfc4af;border-radius:9px;background:#fff;color:var(--navy-2);padding:6px 9px}.text-buttons button.is-active{background:var(--navy-2);color:#fff;border-color:var(--navy-2)}.text-slider{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:8px;margin:8px 0;font:600 .78rem var(--font-ui)}.text-slider input{width:100%;accent-color:var(--navy-2)}.text-actions{display:flex;justify-content:space-between;align-items:center}.text-btn.danger{color:#8a0a1e}.puzzle-stage{position:relative;width:100%;max-width:460px;margin:0 auto;overflow:hidden;background:#d8d0c4;border-radius:12px}.puzzle-stage canvas{display:block;width:100%;touch-action:none;cursor:grab}.puzzle-stage canvas:active{cursor:grabbing}.puzzle-creator .crop-tools{max-width:460px;margin:16px auto 0}.puzzle-creator .zoom-row{display:flex;align-items:center;gap:10px}.puzzle-creator .zoom-row input{flex:1;accent-color:var(--navy-2)}
.specialty-dialog{width:min(980px,calc(100% - 24px));max-height:92vh}.specialty-wrap{padding:28px}.specialty-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:32px;align-items:start}.specialty-form{display:grid;gap:16px}.specialty-form label{display:grid;gap:6px;font:600 .84rem var(--font-ui);color:var(--navy-2)}.specialty-form input,.specialty-form select{width:100%;min-height:44px;border:1px solid #cfc4af;border-radius:9px;background:#fff;padding:9px 11px;color:var(--ink)}.specialty-preview{display:block;width:min(100%,489px);aspect-ratio:1;object-fit:contain;margin:18px auto 0;border-radius:16px;background:#eee7dc}.specialty-success{padding:30px;text-align:center}.ttt-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ttt-photos>div{display:grid;gap:10px}.ttt-photos canvas{width:100%;aspect-ratio:1;border-radius:50%;background:#e8e0d4;touch-action:none}@media(max-width:760px){.specialty-grid{grid-template-columns:1fr}.specialty-wrap{padding:18px}.ttt-photos{grid-template-columns:1fr 1fr}}

/* Product cards are one large click target; keep the pointer stable over every child. */
.card, .card * { cursor: pointer; }


/* Move-with-buttons disclosure (an alternative to dragging the photo) */
.move-details, .move-details:last-of-type { max-width: 340px; margin: 6px auto 0; border: 0; text-align: center; }
.move-details summary { display: inline-block; padding: 8px 4px; font: 600 .85rem var(--font-ui); color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.move-details summary::after { content: none; }
.move-details[open] .nudge { margin-top: 6px; }
.move-details .fine { margin-top: 8px; }

/* Advent product pop-up */
.advent-dialog { width: min(960px, calc(100% - 24px)); max-height: 92vh; }
.advent-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: start; padding: 28px; }
.advent-main { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: #f3ecdf; overflow: hidden; display: grid; place-items: center; }
.advent-main img { width: 100%; height: 100%; object-fit: cover; }
.advent-photo-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px; text-align: center; font: 600 .88rem var(--font-ui); color: var(--navy-2); background: rgba(255, 253, 249, .88); }
.advent-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.advent-thumb { display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 1.5px solid #d8cdbf; border-radius: 10px; background: #f3ecdf; overflow: hidden; }
.advent-thumb img { width: 100%; height: 100%; object-fit: cover; }
button.advent-thumb[aria-current="true"] { outline: 3px solid var(--navy-2); outline-offset: 1px; }
.advent-thumb.is-empty { border-style: dashed; color: #8a8071; font: 600 .78rem var(--font-ui); }
.advent-info h2 { margin: 0 0 4px; font-size: 2rem; line-height: 1.05; outline: none; }
.advent-price { margin: 0 0 14px; font: 700 1.35rem var(--font-ui); color: var(--navy-2); }
.advent-desc p { margin: 0 0 12px; color: var(--muted); }
.advent-facts { margin: 0 0 16px; padding-left: 20px; font: 600 .92rem var(--font-ui); color: var(--navy-2); }
.advent-info .btn-block { margin-top: 14px; }
@media (max-width: 760px) { .advent-wrap { grid-template-columns: 1fr; gap: 20px; padding: 18px; } }

/* Dishwasher magnets: the owner's numbered overview picture for a collection, a number picker, and the chosen design shown large */
.dwm-head { margin-bottom: 14px; }
.dwm-head .perfect-for { margin: 8px 0 8px; }
.dwm-head .fine { margin: 0; }
.dwm-collection { display: grid; gap: 6px; margin: 0 0 12px; font: 600 .84rem var(--font-ui); color: var(--navy-2); }
.dwm-collection select { width: 100%; min-height: 44px; border: 1px solid #cfc4af; border-radius: 9px; background: #fff; padding: 9px 11px; color: var(--ink); }
.dwm-overview { margin: 0 0 12px; }
.dwm-overview-wrap { position: relative; width: 100%; max-width: 350px; margin: 0 auto; }
.dwm-overview-wrap img { display: block; width: 100%; height: auto; transition: opacity .15s ease; }
.dwm-overview-wrap.is-loading img { opacity: .35; }
.dwm-hot { position: absolute; padding: 0; border: 0; border-radius: 16px; background: transparent; cursor: pointer; }
.dwm-hot:hover { background: rgba(28, 49, 94, .07); }
.dwm-hot.is-selected { background: rgba(245, 197, 66, .13); box-shadow: inset 0 0 0 3px var(--navy-2); }
.dwm-overview figcaption { margin-top: 6px; text-align: center; font: 500 .85rem var(--font-ui); color: var(--muted); }
.dwm-options { margin: 0 0 6px; padding: 0; border: 0; min-width: 0; }
.dwm-options legend { padding: 0; margin-bottom: 8px; font: 600 .84rem var(--font-ui); color: var(--navy-2); }
.dwm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }              /* thumbnail mode: used when a collection has no overview picture */
.dwm-opt { position: relative; display: block; cursor: pointer; }
.dwm-options .dwm-opt input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.dwm-face { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #f3ecdf; }
.dwm-face img { position: absolute; display: block; max-width: none; width: calc(var(--face-zoom, 1.272) * 100%); height: calc(var(--face-zoom, 1.272) * 100%); left: calc((1 - var(--face-zoom, 1.272)) * 50%); top: calc((1 - var(--face-zoom, 1.272)) * 50%); }
.dwm-opt .dwm-face { box-shadow: 0 0 0 1px #d8cdbf; transition: box-shadow .12s ease, transform .12s ease; }
.dwm-opt:hover .dwm-face { transform: translateY(-2px); }
.dwm-opt input:checked ~ .dwm-face { box-shadow: 0 0 0 3px var(--navy-2), 0 6px 16px rgba(21, 31, 48, .2); }
.dwm-opt input:focus-visible ~ .dwm-face { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--navy-2); }
.dwm-badge { position: absolute; z-index: 1; right: -3px; bottom: -3px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: var(--navy-2); color: #fff; font: 700 .82rem var(--font-ui); }
.dwm-opt input:checked ~ .dwm-badge { background: #f5c542; color: #1a1d28; }
/* with the overview picture shown, the number picker is a row of big round number buttons */
.dwm-grid.has-overview { display: flex; flex-wrap: wrap; gap: 10px; }
.dwm-grid.has-overview .dwm-opt { flex: 0 0 48px; width: 48px; height: 48px; }
.dwm-grid.has-overview .dwm-face { display: none; }
.dwm-grid.has-overview .dwm-badge { position: static; width: 48px; height: 48px; border: 2px solid var(--navy-2); background: #fff; color: var(--navy-2); font-size: 1.15rem; }
.dwm-grid.has-overview .dwm-opt input:checked ~ .dwm-badge { background: #f5c542; color: #1a1d28; }
.dwm-grid.has-overview .dwm-opt input:focus-visible ~ .dwm-badge { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--navy-2); }
/* the chosen design, shown large (the finished face) */
.dwm-stage { margin: 0; text-align: center; }
.dwm-face-big { width: min(100%, 340px, max(150px, calc(100dvh - 400px))); margin: 0 auto; box-shadow: 0 10px 30px rgba(21, 31, 48, .18); }
.dwm-stage figcaption { margin-top: 12px; font: 700 .95rem var(--font-ui); color: var(--navy-2); }
@media (prefers-reduced-motion: reduce) { .dwm-opt .dwm-face, .dwm-overview-wrap img { transition: none; } .dwm-opt:hover .dwm-face { transform: none; } }
@media (max-width: 760px) { .dwm-face-big { width: min(62%, 240px); } .dwm-grid.has-overview { gap: 8px; } .dwm-grid.has-overview .dwm-opt, .dwm-grid.has-overview .dwm-badge { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.05rem; } }

/* ==========================================================================
   Home page, Live Events page, Business & Fundraisers page, inquiry forms
   ========================================================================== */
.icon { width: 28px; height: 28px; stroke: var(--navy-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.on-dark .icon { stroke: var(--gold); }
.section-inner.narrow { max-width: 780px; }
.center-row { justify-content: center; }
.fine-print { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.copy-block { max-width: 62ch; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.7; color: #26364d; }

/* hero: one message, three evenly spaced pictures */
.hero-title-long { font-size: clamp(2.1rem, 4.6vw, 3.8rem) !important; line-height: 1.04 !important; max-width: none !important; }
.hero.hero-clean { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 0; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2)); background: linear-gradient(100deg, #081225 0%, #0e1930 62%, #14213f 100%); }
.hero-clean .hero-copy { padding: 76px 24px 52px 0; }
.hero-clean .hero-copy > p { max-width: 27em; margin-top: 16px; }
.hero-clean .button-row { margin-top: 24px; }
.hero-art, .inner-hero-art { position: relative; width: min(100%, 500px); margin-left: auto; aspect-ratio: 5 / 4; min-height: 0 !important; align-self: center; background: radial-gradient(ellipse at 58% 50%, rgba(70, 98, 168, .30) 0%, rgba(70, 98, 168, 0) 62%); }
.hero-art::before { display: none; }
.hero-art .ha, .inner-hero-art .ha { position: absolute; z-index: 2; height: auto; aspect-ratio: 1; border-radius: 50%; background: #1a2540; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 24px 50px rgba(0, 0, 0, .38); }
.hero-art .ha1, .inner-hero-art .ha1 { width: 51%; left: 41.5%; top: 16%; }
.hero-art .ha2, .inner-hero-art .ha2 { width: 28.5%; left: 8.5%; top: 50%; }
.hero-art .ha3, .inner-hero-art .ha3 { width: 18.5%; left: 17%; top: 16%; }
@media (max-width: 859px) { .hero.hero-clean { grid-template-columns: 1fr; } .hero-clean .hero-copy { padding: 84px 0 12px; } .hero-art, .inner-hero-art { width: min(100%, 440px); margin: 0 auto; } }

/* trust bar */
.trust-bar { padding: 22px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
.trust-bar ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: var(--maxw); margin: 0 auto; padding: 0; list-style: none; }
.trust-bar li { display: flex; align-items: center; gap: 12px; font: 600 .92rem/1.35 var(--font-ui); color: #26364d; }
@media (max-width: 859px) { .trust-bar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-bar ul { grid-template-columns: 1fr; } }

/* category tiles with icons */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cat-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; box-shadow: 0 6px 18px rgba(18, 33, 58, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7c9ae; }
.cat-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 10px; border-radius: 50%; background: #fff4cf; }
.cat-icon .icon { width: 30px; height: 30px; }
.cat-tile h3 { font-size: 1.55rem; }
.cat-tile p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } .cat-tile { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; } .cat-icon { margin: 0; } .cat-tile h3 { flex: 1; } .cat-tile p { flex-basis: 100%; } }

/* Advent band extras */
.advent-prices { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.advent-prices li { display: flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font: 600 .9rem var(--font-ui); }
.advent-prices b { color: var(--gold); font-size: 1.05rem; }
.advent-art { display: grid; place-items: center; padding: 24px; }
.advent-art svg { width: min(100%, 420px); height: auto; }

/* how it works, price strip, gift chips */
.price-strip { max-width: 44rem; margin: 34px auto 0; padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; color: #26364d; }
.link-row { margin-top: 20px; }
.gift-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gift-chips a { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--navy-2); background: #fff; color: var(--navy-2); font: 700 .95rem var(--font-ui); text-decoration: none; transition: background .15s, color .15s; }
.gift-chips a:hover { background: var(--navy-2); color: #fff; }

/* split block (events teaser) */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-title { font-size: clamp(2.1rem, 4vw, 3rem); }
.split-lede { margin: 14px 0 18px; color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.tick-list { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.tick-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #26364d; }
.pkg-mini { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pkg-mini li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(18, 33, 58, .05); }
.pkg-mini b { font: 700 1.55rem var(--font-display); color: var(--navy-2); }
.pkg-mini span { color: var(--muted); font-weight: 600; }
@media (max-width: 859px) { .split { grid-template-columns: 1fr; } }

/* business band */
.biz-band { background: #eaf0fb; }
.biz-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.biz-cards li { padding: 20px 18px; border-radius: var(--radius); background: #fff; border: 1px solid #d6dff1; }
.biz-cards .icon { margin-bottom: 8px; }
.biz-cards h3 { font-size: 1.3rem; }
.biz-cards p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 1000px) { .biz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .biz-cards { grid-template-columns: 1fr; } }

/* maker + FAQ preview + closing band */
.maker { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); max-width: 860px; margin: 0 auto; }
.maker img { flex: none; width: 120px; height: 120px; border-radius: 50%; background: #fffdf9; box-shadow: var(--shadow); }
.maker h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.maker p { margin: 0 0 10px; color: #26364d; }
.maker a:not(.btn), .link-row a, .copy-block a:not(.btn), .faq-mini a:not(.btn) { color: var(--navy-2); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 560px) { .maker { flex-direction: column; text-align: center; } }
.faq-mini details { border-bottom: 1px solid var(--line); }
.faq-mini summary { cursor: pointer; padding: 16px 0; font: 700 1.02rem var(--font-ui); color: var(--navy-2); }
.faq-mini details > div { padding: 0 0 16px; color: #26364d; max-width: 62ch; }
.faq-mini details > div p { margin: 0; }
.band-cta { padding: clamp(56px, 8vw, 96px) var(--gutter); text-align: center; background: linear-gradient(90deg, #09152c, #1a2a4c); color: #fff; }
.band-cta h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.band-cta p { margin-top: 12px; color: #e9edf4; }

/* inner-page hero (events, business) */
.inner-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 0; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2)); color: #fff; background: linear-gradient(90deg, #081225 0%, #0e1930 55%, #2a2117 100%); }
.inner-hero-copy { position: relative; z-index: 2; padding: 76px 24px 52px 0; align-self: center; }
.inner-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -.015em; max-width: 12em; }
.inner-hero-copy > p { max-width: 34em; margin: 18px 0 0; font-size: 1.08rem; color: #f2ecdf; }
@media (max-width: 859px) { .inner-hero { grid-template-columns: 1fr; } .inner-hero-copy { padding: 84px 0 12px; } }

/* icon cards and plain numbered steps */
.icon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.icon-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icon-grid li { padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(18, 33, 58, .05); }
.icon-grid .icon { width: 34px; height: 34px; margin-bottom: 10px; }
.icon-grid h3 { font-size: 1.45rem; }
.icon-grid p { margin: 6px 0 0; color: var(--muted); font-size: .97rem; }
.icon-grid a { color: var(--navy-2); font-weight: 700; }
@media (max-width: 1000px) { .icon-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) { .icon-grid, .icon-grid-4 { grid-template-columns: 1fr; } }
.plain-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.plain-steps li { text-align: center; }
.plain-steps .num { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold); color: #1a1d28; font: 700 1.5rem var(--font-display); }
.plain-steps h3 { font-size: 1.55rem; }
.plain-steps p { max-width: 20em; margin: 8px auto 0; color: var(--muted); }
@media (max-width: 760px) { .plain-steps { grid-template-columns: 1fr; gap: 30px; } }

/* event packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.pkg-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pkg { display: flex; flex-direction: column; gap: 4px; padding: 30px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: 0 8px 22px rgba(18, 33, 58, .06); }
.pkg h3 { font-size: 1.7rem; color: var(--navy-2); }
.pkg-big { margin: 10px 0 0; font: 700 2.5rem/1 var(--font-display); color: var(--ink); }
.pkg-sub { margin: 0; font: 700 1.05rem var(--font-ui); color: var(--gold-deep); }
.pkg-for { margin: 12px 0 0; color: var(--muted); font-size: .96rem; }
.pkg-details { display: grid; gap: 5px; margin: 14px 0 0; padding: 0; list-style: none; color: #34445c; font-size: .93rem; }
.pkg-details li::before { content: "✓ "; color: var(--gold-deep); font-weight: 800; }
.pkg-ideas { margin: 14px 0 0; color: #34445c; font-size: .9rem; line-height: 1.55; flex: 1; }
.pkg-extra { margin: 12px 0 0; color: var(--navy-2); font-size: .9rem; }
.pkg-custom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 24px 28px; border-radius: 18px; background: #f6ecd3; border: 1px solid #ead9ad; }
.pkg-custom h3 { font-size: 1.45rem; color: var(--navy-2); }
.pkg-custom p { max-width: 52rem; margin: 6px 0 0; color: #4b5870; }
.pkg-custom .btn { flex: none; }
.pkg-price { margin: 18px 0 14px; font: 700 1.1rem var(--font-ui); color: var(--navy-2); }
.pkg-featured { border: 2px solid var(--gold); box-shadow: 0 16px 40px rgba(245, 197, 66, .22); transform: translateY(-6px); }
@media (max-width: 1120px) and (min-width: 860px) { .pkg-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859px) { .pkg-grid { grid-template-columns: 1fr; } .pkg-featured { transform: none; } .pkg-custom { align-items: flex-start; flex-direction: column; } }

/* inquiry forms */
.inq { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.inq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.inq label { display: grid; gap: 6px; align-content: start; font: 600 .86rem var(--font-ui); color: var(--navy-2); }
.inq label.wide { grid-column: 1 / -1; }
.inq input[type="text"], .inq input[type="email"], .inq input[type="tel"], .inq input[type="date"], .inq input[type="url"], .inq select, .inq textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1.5px solid #cdbfa5; border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem var(--font-body); }
.inq textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.inq input:focus, .inq select:focus, .inq textarea:focus { outline: 3px solid rgba(28, 49, 94, .35); outline-offset: 1px; border-color: var(--navy-2); }
.inq .req { color: var(--err); }
.inq .opt { color: var(--muted); font-weight: 500; }
.inq .check { display: flex; align-items: flex-start; gap: 10px; font: 400 .95rem/1.45 var(--font-body); color: #26364d; }
.inq .check { padding: 4px 0; }
.inq .check input { flex: none; width: 24px; height: 24px; margin-top: 0; accent-color: var(--navy-2); }
.inq-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; border: 0; }
.inq-checks legend { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; font: 600 .86rem var(--font-ui); color: var(--navy-2); }
.inq .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inq-actions { display: flex; }
.inq-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.inq-status.is-ok { padding: 14px 16px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); }
.inq-status.is-err { padding: 14px 16px; border-radius: 12px; background: var(--err-bg); color: var(--err); }
.inq.is-done .inq-grid, .inq.is-done .wide, .inq.is-done .check, .inq.is-done .inq-checks, .inq.is-done .inq-actions { display: none; }
@media (max-width: 640px) { .inq-grid, .inq-checks { grid-template-columns: 1fr; } }

/* create page: "gift ideas" filter banner */
.filter-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 auto 22px; max-width: var(--maxw); padding: 14px 18px; border-radius: 14px; background: #fff4cf; color: #4a3a05; font-weight: 600; }
.filter-banner a { color: var(--navy-2); font-weight: 700; }
.card[hidden], .catalog-group[hidden], #categoryList li[hidden] { display: none !important; }
.inner-hero-copy { text-align: left; }
.inq .lbl { display: block; }

/* Pinned previews for the puzzle editor and the pop-up dialogs (Tic Tac Toe, ICE, allergy, dishwasher) */
.puzzle-stage { max-width: min(560px, calc((100dvh - 190px) * var(--pz-aspect, 1))); }
.sp-pin-grid { grid-template-rows: auto 1fr; grid-template-areas: "pin head" "pin form"; }
.sp-head { grid-area: head; }
.sp-sticky { grid-area: pin; align-self: stretch; }
.sp-pin-grid > .specialty-form { grid-area: form; }
.sp-sticky > :first-child { position: sticky; top: calc(var(--creator-top-h, 67px) + 6px); }
.sp-sticky .specialty-preview { width: min(100%, 489px, calc(92dvh - 150px)); }
.dwm-layout > .specialty-form { position: sticky; top: calc(var(--creator-top-h, 67px) + 8px); align-self: start; }
@media (max-width: 860px) and (min-height: 521px) {
  .puzzle-stage { max-width: min(100%, calc(38dvh * var(--pz-aspect, 1))); min-height: 0; }
  .puzzle-stage:has(.stage-empty:not([hidden])) { min-height: min(260px, 34dvh); }
}
@media (max-width: 860px) and (max-height: 520px) {
  .puzzle-stage { max-width: min(100%, calc((100dvh - 150px) * var(--pz-aspect, 1))); }
}
@media (max-width: 760px) {
  .specialty-grid.sp-pin-grid { display: block; }
  .sp-sticky { position: sticky; top: var(--creator-top-h, 67px); z-index: 3; padding: 6px 0 10px; margin: 0 0 8px; background: var(--paper); box-shadow: 0 10px 14px -12px rgba(20, 35, 63, .45); }
  .sp-sticky > :first-child { position: static; }
  .sp-sticky .specialty-preview { width: min(100%, 34dvh); margin-top: 6px; }
  .sp-sticky .ttt-photos canvas { max-width: 34dvh; margin: 0 auto; }
}
/* Phones and short screens: the dishwasher chooser's large preview is pinned at the top while you pick a design underneath it */
@media (max-width: 760px), (max-height: 520px) {
  .specialty-grid.dwm-layout { display: flex; flex-direction: column; align-items: stretch; }
  .dwm-layout > .specialty-form { display: contents; }
  .dwm-layout .dwm-stage { order: -1; position: sticky; top: var(--creator-top-h, 67px); z-index: 3; margin: 0 0 8px; padding: 6px 0 10px; background: var(--paper); box-shadow: 0 10px 14px -12px rgba(20, 35, 63, .45); }
  .dwm-layout .dwm-face-big { width: min(100%, 34dvh); }
  .dwm-layout .dwm-stage figcaption { margin-top: 6px; }
}

/* the show offer's note in the cart */
.show-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #fff4cf; color: #4a3a05; font: 600 .86rem/1.4 var(--font-ui); }

/* ==========================================================================
   Tooele Holiday Boutique page, and the home page's show link
   ========================================================================== */
.inner-hero-copy > p.show-offer { display: inline-flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 14px 20px; max-width: 34em; border-radius: 16px; background: rgba(245, 197, 66, .14); border: 1px solid rgba(245, 197, 66, .6); color: #fff; font: 600 1.02rem/1.4 var(--font-ui); }
.show-offer .icon { width: 32px; height: 32px; stroke: var(--gold); }
.show-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.show-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(18, 33, 58, .06); }
.show-art { height: 200px; display: grid; place-items: center; margin-bottom: 10px; }
.show-art-square, .show-art-round { position: relative; display: block; width: 150px; height: 150px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #d9d3c6, 0 16px 26px rgba(10, 22, 43, .22); }
.show-art-square { border-radius: 14px; }
.show-art-round { border-radius: 50%; }
.show-art-key { isolation: isolate; margin-top: 18px; }
.show-art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.key-ring { position: absolute; z-index: -1; left: 50%; top: -32px; width: 60px; height: 60px; margin-left: -30px; box-sizing: border-box; border: 7px solid #aeb2bb; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 3px 6px rgba(10, 22, 43, .28); }
.show-card h3 { font-size: 1.55rem; }
.show-card p { margin: 6px 0 0; color: var(--muted); font-size: .98rem; }
.show-card .show-price { flex: 1; margin: 14px 0 18px; font: 700 .9rem/1.4 var(--font-ui); color: var(--navy-2); }
.show-mix { margin: 22px 0 0; text-align: center; color: var(--muted); font-weight: 600; }
.show-advent.catalog { max-width: none; margin: 0; padding: 0; }
.show-else { padding: 36px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(18, 33, 58, .06); text-align: center; }
.show-else h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.show-else p { max-width: 36em; margin: 12px auto 0; color: #26364d; }
.show-else .button-row { justify-content: center; margin-top: 20px; }
.icon-grid a:not(.btn) { color: var(--navy-2); font-weight: 700; }
.show-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font: 600 .88rem var(--font-ui); text-decoration: none; }
.show-pill span { padding: 4px 11px; border-radius: 999px; background: var(--gold); color: #1a1d28; font-weight: 700; font-size: .8rem; letter-spacing: .03em; text-transform: uppercase; }
.show-pill:hover { background: rgba(255, 255, 255, .18); }
.show-advent .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .show-advent .card-grid { grid-template-columns: 1fr; } }
.show-art-ornament { isolation: isolate; margin-top: 24px; }
.orn-cap { position: absolute; z-index: 1; left: 50%; top: -15px; width: 36px; height: 20px; margin-left: -18px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #f9dd86, #c9971f); box-shadow: 0 2px 4px rgba(10, 22, 43, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.orn-loop { position: absolute; z-index: -1; left: 50%; top: -46px; width: 34px; height: 36px; margin-left: -17px; box-sizing: border-box; border: 3px solid #c9971f; border-bottom: 0; border-radius: 50% 50% 0 0; }
