:root {
  --ink: #17111b;
  --muted: #6f6572;
  --paper: #fffdf9;
  --cream: #f7f1ea;
  --purple: #7836d9;
  --teal: #049aaa;
  --pink: #a95be6;
  --gold: #f4bd4f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

.site-header {
  align-items: center; backdrop-filter: blur(18px); background: rgba(255,253,249,.93);
  border-bottom: 1px solid rgba(30,18,33,.09); display: flex; height: 82px;
  justify-content: space-between; padding: 0 max(5vw,24px); position: sticky; top: 0; z-index: 30;
}
.brand { align-items: center; display: inline-flex; }
.brand img { height: 72px; object-fit: contain; width: 72px; }
.site-header nav { align-items: center; display: flex; gap: 30px; }
.site-header nav a { color: #544a57; font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--purple); }
.site-header .nav-cta { background: var(--ink); border-radius: 999px; color: #fff; padding: 12px 18px; }
.site-header .nav-cta:hover { background: var(--purple); color: #fff; }

.hero { background: var(--cream); display: grid; grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr); min-height: 680px; overflow: hidden; padding: 94px max(7vw,32px) 76px; position: relative; }
.hero-copy { max-width: 720px; position: relative; z-index: 2; }
.eyebrow { align-items: center; color: var(--purple); display: flex; font-size: 12px; font-weight: 900; gap: 10px; letter-spacing: .2em; margin: 0 0 22px; text-transform: uppercase; }
.eyebrow > span { background: var(--pink); border-radius: 50%; height: 8px; width: 8px; }
.hero h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(64px,7.6vw,112px); font-weight: 400; letter-spacing: -.065em; line-height: .86; margin: 0; }
.hero h1 em { background: linear-gradient(90deg,var(--purple),var(--pink)); background-clip: text; color: transparent; font-weight: 400; }
.hero-text { color: #625765; font-size: 18px; line-height: 1.7; margin: 36px 0 30px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { align-items: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; display: inline-flex; font-size: 14px; font-weight: 900; gap: 12px; justify-content: center; padding: 15px 21px; transition: .2s ease; }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 10px 25px rgba(23,17,27,.14); }
.button.primary:hover { background: var(--purple); transform: translateY(-2px); }
.button.secondary { background: rgba(255,255,255,.65); border-color: rgba(23,17,27,.14); }
.button.secondary:hover { background: #fff; border-color: var(--purple); }
.hero-stats { border-top: 1px solid rgba(23,17,27,.14); display: flex; gap: 44px; margin-top: 48px; padding-top: 28px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: Georgia,serif; font-size: 28px; }
.hero-stats span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-top: 3px; text-transform: uppercase; }
.hero-art { min-height: 500px; position: relative; z-index: 1; }
.sticker-burst { align-items: center; border: 8px solid #fff; box-shadow: 0 28px 60px rgba(74,42,78,.22); color: #fff; display: flex; font-weight: 1000; justify-content: center; position: absolute; text-align: center; }
.burst-one { background: linear-gradient(145deg,#ffca48,#ff6c74); border-radius: 46% 54% 42% 58% / 60% 46% 54% 40%; font-size: 30px; height: 230px; left: 8%; top: 4%; transform: rotate(-8deg); width: 230px; }
.burst-two { background: linear-gradient(135deg,#12b6b5,#5f35d9); border-radius: 50%; bottom: 7%; font-size: 24px; height: 220px; right: 3%; transform: rotate(9deg); width: 220px; }
.burst-three { background: linear-gradient(135deg,#d932bf,#6c35db); border-radius: 36% 64% 62% 38% / 43% 35% 65% 57%; font-size: 70px; height: 155px; right: 2%; top: 2%; transform: rotate(17deg); width: 155px; }
.scribble { bottom: 12%; font-family: Georgia,serif; font-size: 18px; font-style: italic; left: 3%; position: absolute; transform: rotate(-8deg); }
.orb { border-radius: 50%; filter: blur(2px); opacity: .55; position: absolute; }
.orb-one { background: #f5c3e4; height: 340px; right: 25%; top: -160px; width: 340px; }
.orb-two { background: #bce9e5; bottom: -200px; height: 430px; right: -60px; width: 430px; }

.section { padding: 110px max(5vw,24px); }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin: 0 auto 50px; max-width: 1480px; }
.section-heading h2, .custom-card h2 { font-family: Georgia,serif; font-size: clamp(42px,5vw,72px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 0; }
.section-heading > p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 490px; }
.collection-grid { display: grid; gap: 24px; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 auto; max-width: 1480px; }
.collection-card { background: #fff; border: 1px solid #e9e2ea; border-radius: 26px; box-shadow: 0 10px 30px rgba(31,22,32,.05); overflow: hidden; transition: .25s ease; }
.collection-card:hover { box-shadow: 0 20px 45px rgba(31,22,32,.11); transform: translateY(-5px); }
.collection-image { background: #f4efe9; border: 0; cursor: pointer; display: block; height: 280px; overflow: hidden; padding: 0; position: relative; width: 100%; }
.collection-image img { height: 100%; object-fit: cover; transition: .35s ease; width: 100%; }
.collection-card:hover .collection-image img { transform: scale(1.025); }
.collection-count { background: rgba(23,17,27,.84); border-radius: 999px; bottom: 15px; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .08em; padding: 8px 11px; position: absolute; right: 15px; text-transform: uppercase; }
.collection-body { border-top: 5px solid var(--accent); padding: 24px; }
.tone { color: var(--accent); font-size: 10px; font-weight: 1000; letter-spacing: .18em; text-transform: uppercase; }
.collection-body h3 { font-family: Georgia,serif; font-size: 29px; font-weight: 400; letter-spacing: -.025em; margin: 8px 0 9px; }
.collection-body p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; min-height: 44px; }
.collection-actions { align-items: center; border-top: 1px solid #eee7ef; display: flex; justify-content: space-between; margin-top: 20px; padding-top: 17px; }
.collection-actions button, .collection-actions a { background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 900; padding: 0; }
.collection-actions button:hover, .collection-actions a:hover { color: var(--accent); }

.library-section { background: var(--ink); color: #fff; padding: 108px max(5vw,24px); scroll-margin-top: 80px; }
.library-inner { margin: 0 auto; max-width: 1480px; }
.library-heading { margin-bottom: 38px; }
.library-heading > p { color: #bfb4c3; }
.eyebrow.light { color: #d5a9f2; }
.filters { background: #251e28; border: 1px solid #3c3240; border-radius: 22px; padding: 18px; }
.search-box { align-items: center; background: #fff; border-radius: 14px; color: #655b67; display: flex; gap: 10px; padding: 0 16px; }
.search-box > span { font-size: 25px; transform: rotate(-15deg); }
.search-box input { background: transparent; border: 0; color: var(--ink); height: 52px; outline: 0; width: 100%; }
.filter-chips { display: flex; gap: 8px; margin-top: 13px; overflow-x: auto; padding-bottom: 2px; }
.filter-chips button { background: #332a36; border: 1px solid #4a3f4d; border-radius: 999px; color: #d8cedb; cursor: pointer; flex: 0 0 auto; font-size: 11px; font-weight: 800; padding: 9px 13px; }
.filter-chips button:hover, .filter-chips button.active { background: linear-gradient(90deg,var(--purple),var(--pink)); border-color: transparent; color: #fff; }
.results-line { align-items: center; display: flex; justify-content: space-between; margin: 24px 0 18px; }
.results-line p { color: #c8bdcb; font-size: 13px; margin: 0; }
.results-line strong { color: #fff; }
.result-actions { align-items: center; display: flex; gap: 16px; }
.result-actions button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 12px; font-weight: 900; padding: 0; }
.result-actions button:hover, .results-line a { color: #d8a9f4; }
.results-line a { font-size: 12px; font-weight: 900; }
.sticker-grid { display: grid; gap: 16px; grid-template-columns: repeat(6,minmax(0,1fr)); }
.sticker-card { background: #fff; border: 3px solid transparent; border-radius: 17px; color: var(--ink); overflow: hidden; position: relative; }
.sticker-card.selected { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(169,91,230,.17); }
.select-check { align-items: center; background: rgba(255,255,255,.92); border: 2px solid #b7adb9; border-radius: 7px; color: #fff; cursor: pointer; display: flex; font-size: 14px; font-weight: 1000; height: 27px; justify-content: center; left: 9px; padding: 0; position: absolute; top: 9px; width: 27px; z-index: 4; }
.sticker-card.selected .select-check { background: linear-gradient(135deg,var(--purple),var(--pink)); border-color: transparent; }
.sticker-image { align-items: center; aspect-ratio: 1; background: linear-gradient(145deg,#f8f3ee,#efe9e1); border: 0; cursor: zoom-in; display: flex; justify-content: center; overflow: hidden; padding: 10px; position: relative; width: 100%; }
.sticker-image::before { background-image: linear-gradient(45deg,rgba(120,54,217,.035) 25%,transparent 25%),linear-gradient(-45deg,rgba(4,154,170,.04) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(120,54,217,.035) 75%),linear-gradient(-45deg,transparent 75%,rgba(4,154,170,.04) 75%); background-position: 0 0,0 8px,8px -8px,-8px 0; background-size: 16px 16px; content: ""; inset: 0; position: absolute; }
.sticker-image img { height: 100%; object-fit: contain; position: relative; transition: .25s ease; width: 100%; z-index: 1; }
.sticker-card:hover .sticker-image img { transform: scale(1.05); }
.sticker-info { align-items: center; display: flex; justify-content: space-between; padding: 13px; }
.sticker-info span { color: var(--purple); display: block; font-size: 9px; font-weight: 900; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.sticker-info strong { display: block; font-size: 13px; margin-top: 3px; }
.card-select { background: #eee8f5; border: 0; border-radius: 999px; color: var(--purple); cursor: pointer; flex: 0 0 auto; font-size: 10px; font-weight: 900; padding: 8px 10px; }
.sticker-card.selected .card-select { background: var(--purple); color: #fff; }
.load-more { background: transparent; border: 1px solid #5a4d5f; border-radius: 999px; color: #fff; cursor: pointer; display: block; font-size: 13px; font-weight: 900; margin: 36px auto 0; padding: 14px 22px; }
.empty-state { border: 1px dashed #625467; border-radius: 22px; color: #cfc4d2; padding: 70px 20px; text-align: center; }
.empty-state strong { color: #fff; font-family: Georgia,serif; font-size: 28px; font-weight: 400; }

.custom-section { padding: 95px max(5vw,24px); }
.custom-card { align-items: center; background: linear-gradient(115deg,#e9dfef,#f7e4ed 48%,#dcefee); border-radius: 34px; display: flex; gap: 40px; justify-content: space-between; margin: 0 auto; max-width: 1480px; overflow: hidden; padding: 62px; position: relative; }
.custom-card > div { max-width: 850px; }
.custom-card p:not(.eyebrow) { color: #64596a; line-height: 1.7; margin: 24px 0 0; max-width: 750px; }
footer { align-items: center; background: #0e0a10; color: #fff; display: flex; justify-content: space-between; padding: 34px max(5vw,24px); }
footer img { height: 74px; object-fit: contain; width: 74px; }
footer p { color: #a99eac; font-size: 13px; }
footer > a { color: #eab2da; font-size: 12px; font-weight: 900; }

.selection-tray { align-items: center; backdrop-filter: blur(16px); background: rgba(255,255,255,.97); border: 1px solid #ddd3df; border-radius: 18px; bottom: 20px; box-shadow: 0 20px 55px rgba(23,17,27,.28); display: flex; gap: 14px; left: 50%; max-width: calc(100% - 28px); padding: 12px 14px 12px 16px; position: fixed; transform: translateX(-50%); z-index: 80; }
.selection-tray > div { align-items: center; display: flex; gap: 8px; white-space: nowrap; }
.selection-tray > div strong { align-items: center; background: var(--purple); border-radius: 50%; color: #fff; display: flex; height: 31px; justify-content: center; min-width: 31px; }
.selection-tray > div span { color: #625765; font-size: 12px; font-weight: 800; }
.selection-tray button { cursor: pointer; font-size: 12px; font-weight: 900; }
.clear-selection { background: none; border: 0; color: #776d7a; padding: 10px; }
.download-selection { background: var(--ink); border: 0; border-radius: 999px; color: #fff; padding: 12px 17px; white-space: nowrap; }
.download-selection:disabled { cursor: wait; opacity: .7; }
.download-error { background: #fff2f5; border-radius: 10px; color: #a31c51; font-size: 11px; left: 0; margin: 0; padding: 9px 12px; position: absolute; top: -50px; width: 100%; }
.modal { align-items: center; backdrop-filter: blur(8px); background: rgba(8,4,10,.84); display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 100; }
.modal-card { background: #fff; border-radius: 26px; box-shadow: 0 35px 90px rgba(0,0,0,.45); max-width: 620px; overflow: hidden; position: relative; width: 100%; }
.modal-card > img { background: #f4eee8; height: min(65vh,590px); object-fit: contain; padding: 28px; width: 100%; }
.modal-close { align-items: center; background: rgba(23,17,27,.87); border: 0; border-radius: 50%; color: #fff; cursor: pointer; display: flex; font-size: 23px; height: 40px; justify-content: center; position: absolute; right: 14px; top: 14px; width: 40px; z-index: 2; }
.modal-info { align-items: center; display: flex; justify-content: space-between; padding: 20px 24px; }
.modal-info span { color: var(--purple); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.modal-info h3 { font-family: Georgia,serif; font-size: 26px; font-weight: 400; margin: 4px 0 0; }

@media (max-width:1180px) {
  .hero { grid-template-columns: 1.2fr .8fr; }
  .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sticker-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width:820px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 70px; }
  .hero-art { display: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-heading > p { max-width: 100%; }
  .sticker-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .custom-card { align-items: start; flex-direction: column; padding: 44px 30px; }
}
@media (max-width:580px) {
  .site-header { height: 72px; padding: 0 16px; }
  .brand img { height: 62px; width: 62px; }
  .site-header .nav-cta { padding: 10px 13px; }
  .hero { padding: 56px 20px; }
  .hero h1 { font-size: 54px; }
  .hero-text { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-stats { gap: 22px; justify-content: space-between; }
  .hero-stats strong { font-size: 23px; }
  .hero-stats span { font-size: 8px; }
  .section, .library-section, .custom-section { padding: 76px 16px; }
  .collection-grid { grid-template-columns: 1fr; }
  .results-line { align-items: start; flex-direction: column; gap: 10px; }
  .result-actions { align-items: start; flex-direction: column; gap: 10px; }
  .sticker-grid { gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .custom-card { border-radius: 24px; padding: 38px 24px; }
  .custom-card .button { width: 100%; }
  footer { align-items: start; flex-direction: column; gap: 18px; }
  footer p { margin: 0; }
  .selection-tray { bottom: 10px; gap: 8px; padding: 9px 10px; width: calc(100% - 20px); }
  .selection-tray > div span { display: none; }
  .clear-selection { padding: 8px 4px; }
  .download-selection { flex: 1; }
  .modal-info { align-items: stretch; flex-direction: column; gap: 15px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ── pay-to-get gate (customer mode) ── */
.download-error:not(.hidden){display:block}
.set-buy{cursor:pointer;font:inherit;font-weight:700;border:1px solid #d9c9ee;background:#fff;color:#3a2b52;border-radius:10px;padding:8px 14px}
.set-buy:hover{border-color:#a855f7;color:#7c3aed}
.gate{background:#fff;border:1px solid #ecdff7;border-radius:16px;padding:18px 20px;text-align:left;box-shadow:0 16px 40px -26px rgba(90,40,130,.55)}
.gate>strong{display:block;font-size:1.02rem;color:#1a1023}
.gate .gate-q{margin:6px 0 12px;color:#5b5170;font-size:.92rem;font-weight:600}
.gate-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.gate-options{grid-template-columns:1fr}}
.gate-cta{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border-radius:12px;text-decoration:none;border:1px solid transparent;transition:transform .15s,filter .15s}
.gate-cta>span{font-weight:800}
.gate-cta>small{font-weight:500;opacity:.92;font-size:.76rem}
.gate-cta.digital{background:linear-gradient(120deg,#7c3aed,#d946ef);color:#fff}
.gate-cta.printed{background:#faf6ff;border-color:#d9c9ee;color:#3a2b52}
.gate-cta:hover{transform:translateY(-2px);filter:brightness(1.04)}
.gate-note{display:block;margin-top:10px;color:#8a7da3;font-size:.76rem}
