/* Magic Moments by Hailey — storefront styles
   Single, deliberate dark "after-dark at the park" theme. Every color is a token. */

:root {
  --bg: #0d0716;
  --bg-2: #160b26;
  --surface: #1b0f2e;
  --surface-2: #241540;
  --line: rgba(246, 193, 119, 0.18);
  --line-strong: rgba(246, 193, 119, 0.42);
  --text: #fbf6ff;
  --muted: #b9a6d1;
  --pink: #ff4fa3;
  --pink-2: #ff8ac4;
  --gold: #f6c177;
  --gold-2: #ffe3b3;
  --lilac: #c9a7ff;
  --shadow: 0 30px 80px -30px rgba(255, 79, 163, 0.35), 0 20px 50px -30px rgba(0, 0, 0, 0.8);
  --radius: 22px;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
body::before {
  /* soft aurora behind everything */
  content: "";
  position: fixed; inset: -20%;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(255, 79, 163, 0.28), transparent 60%),
    radial-gradient(50% 45% at 85% 20%, rgba(201, 167, 255, 0.22), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(246, 193, 119, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  z-index: -2;
  animation: aurora 24s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
#sparkles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#pixie { position: fixed; inset: 0; z-index: 70; pointer-events: none; mix-blend-mode: screen; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(13, 7, 22, 0.85), rgba(13, 7, 22, 0.55));
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12); }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav .etsy { color: var(--bg); background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--pink) 130%); font-weight: 700; }
.nav .etsy:hover { color: var(--bg); filter: brightness(1.08); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); position: relative; min-height: calc(100vh - 68px); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.9rem, 7.2vw, 6.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.wordmark em {
  font-style: italic; font-weight: 400;
}
/* Small, soft starbursts twinkle in quick randomized bursts over gradient lettering. */
.wordmark em {
  position: relative;
  display: inline-block;
  color: var(--gold-2);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .wordmark em {
    background: linear-gradient(100deg, var(--gold-2), var(--gold) 25%, var(--pink-2) 60%, var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.wordmark .word-glint {
  position: absolute;
  width: 0.16em;
  height: 0.16em;
  overflow: visible;
  color: #fff;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
  pointer-events: none;
  opacity: 0;
  transform: scale(0.35);
}
.wordmark .word-glint:nth-child(1) { left: 3%; top: 42%; }
.wordmark .word-glint:nth-child(2) { left: 16%; top: 69%; }
.wordmark .word-glint:nth-child(3) { left: 28%; top: 31%; width: 0.13em; height: 0.13em; }
.wordmark .word-glint:nth-child(4) { left: 39%; top: 56%; }
.wordmark .word-glint:nth-child(5) { left: 51%; top: 36%; width: 0.12em; height: 0.12em; }
.wordmark .word-glint:nth-child(6) { left: 64%; top: 16%; }
.wordmark .word-glint:nth-child(7) { left: 72%; top: 66%; width: 0.13em; height: 0.13em; }
.wordmark .word-glint:nth-child(8) { left: 83%; top: 38%; }
.wordmark .word-glint:nth-child(9) { left: 94%; top: 60%; width: 0.12em; height: 0.12em; }
.wordmark .word-glint:nth-child(10) { left: 8%; top: 60%; width: 0.12em; height: 0.12em; }
.wordmark .word-glint:nth-child(11) { left: 21%; top: 39%; }
.wordmark .word-glint:nth-child(12) { left: 31%; top: 74%; width: 0.11em; height: 0.11em; }
.wordmark .word-glint:nth-child(13) { left: 43%; top: 23%; width: 0.13em; height: 0.13em; }
.wordmark .word-glint:nth-child(14) { left: 55%; top: 66%; }
.wordmark .word-glint:nth-child(15) { left: 61%; top: 46%; width: 0.11em; height: 0.11em; }
.wordmark .word-glint:nth-child(16) { left: 77%; top: 24%; width: 0.12em; height: 0.12em; }
.wordmark .word-glint:nth-child(17) { left: 87%; top: 72%; width: 0.13em; height: 0.13em; }
.wordmark .word-glint:nth-child(18) { left: 98%; top: 36%; width: 0.11em; height: 0.11em; }
@media (prefers-reduced-motion: reduce) {
  .wordmark .word-glint { animation: none; opacity: 0.5; transform: scale(0.75); }
}
.shimmer {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 20%, #fff 38%, var(--pink-2) 55%, var(--gold) 75%, var(--gold-2) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  filter: drop-shadow(0 0 22px rgba(255, 79, 163, 0.25));
}
@keyframes shimmer { to { background-position: -260% 0; } }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 54ch; margin: 0 0 32px; }
.lede strong { color: var(--text); font-weight: 600; }

.cta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.cta-secondary { display: contents; }
.cta-row .btn { justify-content: center; text-align: center; padding: 12px 8px; font-size: clamp(0.68rem, 1.05vw, 0.88rem); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  position: relative; isolation: isolate;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn-primary {
  color: #2a0a1c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 40%, var(--pink) 140%);
  box-shadow: 0 12px 30px -10px rgba(246, 193, 119, 0.55), 0 0 0 0 rgba(255, 79, 163, 0.5);
  animation: glowpulse 3.2s ease-in-out infinite;
}
@keyframes glowpulse {
  0%, 100% { box-shadow: 0 12px 30px -10px rgba(246, 193, 119, 0.55), 0 0 0 0 rgba(255, 79, 163, 0.45); }
  50%      { box-shadow: 0 14px 34px -10px rgba(246, 193, 119, 0.7), 0 0 0 12px rgba(255, 79, 163, 0); }
}
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(246, 193, 119, 0.08); }

.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.stat {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(27, 15, 46, 0.6);
  font-size: 0.86rem; color: var(--muted);
}
.stat b { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }

/* medallion */
.medallion { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; }
.medallion .ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pink), var(--gold), var(--lilac), #fff, var(--pink));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 14s linear infinite; opacity: 0.9;
}
.medallion .ring.r2 { inset: 7%; animation-duration: 22s; animation-direction: reverse; opacity: 0.5; }
.medallion .ring.r3 { inset: 14%; animation-duration: 30s; opacity: 0.3; }
@keyframes spin { to { transform: rotate(360deg); } }
.medallion .disc {
  width: 66%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255, 79, 163, 0.08), 0 0 80px rgba(255, 79, 163, 0.35), var(--shadow);
  border: 1px solid var(--line-strong);
  animation: bob 6s ease-in-out infinite;
}
.medallion .disc img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.medallion .spark {
  position: absolute; width: 22px; height: 22px; color: var(--gold-2);
  filter: drop-shadow(0 0 8px var(--gold));
  animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { transform: scale(0.6); opacity: 0.35; } 50% { transform: scale(1.15); opacity: 1; } }
/* review cards: siblings of the medallion, never its grid children */
.hero-visual { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.floating-tag {
  position: absolute; padding: 12px 16px; border-radius: 16px; width: 200px;
  background: rgba(27, 15, 46, 0.92); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); font-size: 0.82rem; line-height: 1.35; box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite; z-index: 2;
  opacity: 1; transition: opacity 700ms ease-in-out;
}
.floating-tag.is-fading { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .floating-tag { transition: none; }
}
.floating-tag[hidden] { display: none; }
.floating-tag .stars { display: block; color: var(--gold); font-size: 0.68rem; letter-spacing: 2px; margin-bottom: 4px; }
.floating-tag b { color: var(--gold-2); font-weight: 600; font-family: var(--display); font-size: 0.98rem; display: block; text-wrap: pretty; }
.floating-tag small { display: block; color: var(--muted); font-size: 0.72rem; margin-top: 5px; }
/* disc is 58% and centred (21% inset). Cards live in the 21% corner margins, outside the photo. */
.medallion .disc { width: 58%; }
.ft-1 { left: -30px; top: -38px; animation-delay: -2s; }
.ft-2 { right: -30px; bottom: -52px; animation-delay: -4s; }
html { overflow-x: hidden; }
@media (max-width: 1100px) { .floating-tag { width: 180px; } .ft-1 { left: -24px; } .ft-2 { right: -24px; } }
@media (max-width: 900px) {
  .hero-visual { max-width: 520px; }
  .medallion { max-width: 280px; margin-inline: auto; }
  .hero-tags { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
  .floating-tag { position: static; width: auto; flex: 1 1 0; max-width: 250px; animation: none; }
}

/* ---------- Review ribbon ---------- */
.ribbon {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 79, 163, 0.08), rgba(246, 193, 119, 0.08), rgba(201, 167, 255, 0.08));
  overflow: hidden; padding: 14px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ribbon-track { display: flex; gap: 48px; width: max-content; animation: marquee 120s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 0.95rem; color: var(--muted); }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.8rem; }
.quote i { font-style: italic; color: var(--text); font-family: var(--display); font-size: 1.05rem; }
.quote span { font-size: 0.8rem; opacity: 0.7; }

/* ---------- Collection ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.collection-shipping { margin: 12px 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--gold-2); }
.modal-dispatch { color: var(--gold-2); font-size: 0.8rem; line-height: 1.35; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 em { font-style: italic; font-weight: 400; color: var(--gold-2); }
.count { font-size: 0.95rem; color: var(--muted); }
.count b { color: var(--text); font-variant-numeric: tabular-nums; }

.toolbar {
  position: sticky; top: 68px; z-index: 30;
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px; margin-bottom: 30px; border-radius: 18px;
  background: rgba(22, 11, 38, 0.82); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.toolbar-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px;
  padding: 0 14px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(246, 193, 119, 0.12); }
.search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; outline: none; min-width: 0; }
.search input::placeholder { color: var(--muted); }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none;
  height: 44px; padding: 0 40px 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text); font: inherit;
}
.select::after { content: "⌄"; position: absolute; right: 14px; top: 8px; color: var(--gold); pointer-events: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 0.86rem; font-weight: 600;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"] {
  color: #2a0a1c; border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--pink-2) 140%);
  box-shadow: 0 8px 20px -10px rgba(246, 193, 119, 0.7);
}
.chip small { opacity: 0.7; font-weight: 500; margin-left: 4px; }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.select select option { background-color: var(--surface); color: var(--text); }
.select select option:checked { background-color: var(--surface-2); color: var(--gold-2); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.collection-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.collection-pagination[hidden] { display: none; }
.page-status { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.star-page { display: grid; place-items: center; width: 48px; height: 44px; padding: 4px; border: 0; border-radius: 10px; background: transparent; color: var(--gold-2); }
.star-page svg { width: 36px; height: 24px; overflow: visible; filter: drop-shadow(0 0 3px rgba(246, 193, 119, 0.55)); }
.star-page-prev svg { transform: scaleX(-1); }
.star-trail { fill: var(--gold); opacity: 0.85; }
.star-head { fill: #fff4d9; filter: drop-shadow(0 0 2px rgba(255, 244, 217, 0.8)); }
.star-chevron { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.shooting-star { transition: transform .3s ease; }
.star-page:hover:not(:disabled) .shooting-star { transform: translateX(2px); }
.star-page:hover:not(:disabled) { color: var(--gold-2); background: rgba(246, 193, 119, 0.04); }
.star-page:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.star-page:disabled { opacity: 0.3; cursor: default; }
@media (prefers-reduced-motion: reduce) { .shooting-star { transition: none; } .star-page:hover:not(:disabled) .shooting-star { transform: none; } }

.card {
  position: relative; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(160deg, rgba(246, 193, 119, 0.35), rgba(255, 79, 163, 0.12) 40%, rgba(201, 167, 255, 0.25));
  transform-style: preserve-3d; will-change: transform;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  animation: rise .6s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 28ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (hover: hover) { .card:hover { box-shadow: var(--shadow); z-index: 2; } }
.card::before {
  /* holographic sheen that follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
@media (hover: hover) { .card:hover::before { opacity: 1; } }
.card-inner { border-radius: calc(var(--radius) - 1px); overflow: hidden; background: var(--surface); height: 100%; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .card:hover .card-media img { transform: scale(1.07); } }
.price {
  position: absolute; left: 12px; top: 12px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(13, 7, 22, 0.78); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); font-weight: 800; font-size: 0.92rem; color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.ship { position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(255, 79, 163, 0.85); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.new-badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2a0a1c; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.005em; }
.card .sub { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lilac); padding: 3px 8px; border-radius: 6px; background: rgba(201, 167, 255, 0.1); }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-actions .btn { padding: 10px 14px; font-size: 0.86rem; flex: 1; justify-content: center; animation: none; }
@media (max-width: 560px) {
  .card-body { padding: 12px; }
  .card h3 { font-size: 0.98rem; }
  .card .sub, .tags { display: none; }
}

.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty b { color: var(--text); font-family: var(--display); font-size: 1.3rem; display: block; margin-bottom: 6px; }

/* ---------- Custom orders / FAQ ---------- */
.band { position: relative; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(27, 15, 46, 0.6), rgba(13, 7, 22, 0.2)); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }
.band p { color: var(--muted); max-width: 52ch; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.steps .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #2a0a1c; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 0.92rem; }

.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); overflow: hidden; }
details[open] { border-color: var(--line-strong); }
summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; color: var(--gold); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details div { padding: 0 18px 18px; color: var(--muted); font-size: 0.95rem; }
.notice { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 79, 163, 0.1); border: 1px solid rgba(255, 79, 163, 0.35); font-size: 0.92rem; }
.notice b { color: var(--pink-2); }

/* ---------- Footer ---------- */
footer { padding: 48px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer .brand { font-size: 1rem; color: var(--text); }
footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
html.modal-scroll-locked { overflow: hidden; overscroll-behavior: none; }
body.modal-scroll-locked { position: fixed; top: var(--locked-scroll-top); left: 0; right: 0; width: 100%; overflow: hidden; }
body.modal-scroll-locked .modal { touch-action: pan-x; overscroll-behavior: none; }
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 3, 12, 0.78); backdrop-filter: blur(10px); }
.modal-card {
  position: relative; width: min(960px, 100%); max-height: min(90vh, 760px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: 26px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  animation: pop .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-media { background: var(--surface-2); min-height: 320px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.modal-body .eyebrow { margin-bottom: 0; }
.modal-body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; margin: 0; }
.modal-body .full { color: var(--muted); font-size: 0.9rem; }
.modal-price { font-family: var(--display); font-size: 2rem; color: var(--gold-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.modal-price small { font-family: var(--body); font-size: 0.8rem; color: var(--muted); margin-left: 8px; font-weight: 500; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(13, 7, 22, 0.7); color: var(--text); font-size: 1.2rem; display: grid; place-items: center; z-index: 2; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(13, 7, 22, 0.7); color: var(--text); font-size: 1.3rem; display: grid; place-items: center; }
.modal-nav.prev { left: 12px; } .modal-nav.next { right: 12px; }
@media (max-width: 760px) {
  .modal { padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); align-items: center; }
  .modal-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: min(760px, calc(100vh - 24px)); height: min(760px, calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)))); max-height: 100%; border-radius: 20px; overflow: hidden; }
  .modal-body { min-width: 0; padding: 14px 16px; gap: 8px; overflow: visible; }
  .modal-body .eyebrow { font-size: 0.62rem; line-height: 1.3; letter-spacing: 0.08em; overflow-wrap: anywhere; }
  .modal-body .eyebrow::before { display: none; }
  .modal-body h3 { font-size: 1.25rem; line-height: 1.15; }
  .modal-body .full { font-size: 0.75rem; line-height: 1.35; overflow-wrap: anywhere; }
  .modal-price { font-size: 1.5rem; line-height: 1.3; }
  .modal-price small { font-size: 0.72rem; }
  .modal-actions { gap: 6px; }
  .modal-actions .btn { padding: 10px 8px; min-height: 44px; font-size: 0.78rem; animation: none; }
  .modal-close { top: 10px; right: 10px; }
  .modal-media { min-height: 0; overflow: hidden; }
  .modal-media img { display: block; object-fit: contain; }
  .modal-nav { display: none; }
}
@media (max-width: 760px) and (max-height: 500px) and (orientation: landscape) {
  .modal-card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: minmax(0, 1fr); }
  .modal-body { justify-content: center; padding: 12px; gap: 6px; }
  .modal-body h3 { font-size: 1.1rem; }
  .modal-actions { margin-top: 0; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card { opacity: 1; transform: none; }
  #sparkles { display: none; }
}

/* ---------- Phones & small tablets (<= 720px) ----------
   Desktop layout above is untouched; everything here only kicks in on narrow screens. */
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }

  /* header: compact brand, hamburger menu, section links in a drop-down panel */
  .top .wrap { height: 60px; gap: 10px; }
  .brand { font-size: 1rem; gap: 10px; line-height: 1.1; min-width: 0; }
  .brand img { width: 34px; height: 34px; flex: 0 0 auto; }
  .nav { margin-left: auto; }
  .nav a:not(.etsy) { display: none; }
  .nav .etsy { padding: 8px 12px; font-size: 0.86rem; white-space: nowrap; }
  .menu-btn {
    display: grid; gap: 5px; place-content: center; flex: 0 0 auto;
    width: 42px; height: 42px; padding: 0; border-radius: 12px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--gold-2); transition: transform .25s, opacity .25s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .top.menu-open .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
    background: rgba(13, 7, 22, 0.96); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    animation: pop .25s cubic-bezier(.2,.8,.2,1);
  }
  .top.menu-open .nav a { display: block; padding: 13px 14px; font-size: 1.05rem; text-align: left; }
  .top.menu-open .nav .etsy { margin-top: 6px; text-align: center; font-size: 1rem; }

  /* hero: don't force a full-screen minimum height on phones */
  .hero { min-height: 0; padding-top: 28px; }
  .wordmark { font-size: clamp(2.5rem, 12.5vw, 3.4rem); }
  .lede { margin-bottom: 26px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .stats { gap: 8px; margin-top: 26px; }
  .stat { padding: 8px 12px; font-size: 0.82rem; }

  /* sticky toolbar: search + sort share one row, chips scroll sideways */
  .toolbar { top: 60px; padding: 10px; gap: 10px; border-radius: 14px; }
  .toolbar-row { flex-wrap: nowrap; gap: 8px; }
  .search { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 12px; }
  .search input { font-size: 16px; } /* 16px stops iOS from zooming the page on focus */
  .select { flex: 0 0 auto; }
  .select select { height: 42px; padding: 0 30px 0 12px; font-size: 0.9rem; max-width: 150px; }
  .select::after { right: 11px; top: 7px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -10px; padding: 0 10px; -webkit-overflow-scrolling: touch; -webkit-mask: linear-gradient(90deg, #000 90%, transparent); mask: linear-gradient(90deg, #000 90%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 8px 12px; }

  /* sections */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 20px; }
  .steps li { padding: 12px 14px; }
  summary { padding: 14px 16px; }
  details div { padding: 0 16px 16px; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Small phones (<= 480px): brand name on two tidy lines instead of wrapping at random */
@media (max-width: 480px) {
  .brand span { white-space: nowrap; font-size: 0.95rem; }
  .brand em { display: block; font-size: 0.85em; }
}

/* Small phones (<= 400px): tighter grid and header */
@media (max-width: 400px) {
  .grid { gap: 10px; }
  .card-body { padding: 10px; gap: 8px; }
  .card h3 { font-size: 0.92rem; }
  .card-actions .btn { padding: 9px 10px; font-size: 0.8rem; }
  .price { left: 8px; top: 8px; padding: 5px 9px; font-size: 0.84rem; }
  .ship { right: 8px; top: 44px; font-size: 0.62rem; }
  .new-badge { left: 8px; bottom: 8px; font-size: 0.62rem; }
  .hero-tags { flex-direction: column; align-items: stretch; }
  .floating-tag { max-width: none; }
}

/* Touch screens: no tilt/sheen leftovers, marquee never sticks paused */
@media (hover: none) {
  .card { will-change: auto; }
  .card-media { cursor: default; }
  .ribbon:hover .ribbon-track { animation-play-state: running; }
}
