/* Ian's Stickers: cream paper, black ink, loud sticker colors. Light only. */
:root {
  color-scheme: light only;
  --paper: #fbf5e9;
  --line: #e2d7c1;
  --ink: #141414;
  --muted: #5d574c;
  --pop: #ff5a36;
  --sun: #ffd23f;
  --sky: #4cc9f0;
  --leaf: #2ec27e;
  --display: "Bagel Fat One", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(20,20,20,.07) 1px, transparent 1.2px); background-size: 18px 18px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 8px; }

.mock { background: var(--ink); color: #f5efe2; text-align: center; font-size: 13px; padding: 8px 16px; }
.mock b { color: var(--sun); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 18px 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 22px/1 var(--display); text-decoration: none; }
.dot { width: 30px; height: 30px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pill { font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.pill:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 2.5px solid var(--ink); background: var(--pop); color: #fff; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* Hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 12px 16px 56px; display: grid; gap: 28px; align-items: center; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(56px, 15vw, 120px); margin-top: 10px; line-height: 1; }
.hero-copy .lede { margin-top: 26px; }
h1 span { color: var(--pop); display: inline-block; transform: rotate(-3deg); text-shadow: 4px 4px 0 var(--ink); }
.lede { color: var(--muted); font-size: 18px; max-width: 46ch; margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Stage: a briefcase you can sticker-bomb */
.stage { position: relative; width: 100%; aspect-ratio: 1 / .82; user-select: none; -webkit-user-select: none; }
.case { position: absolute; inset: 10% 2% 4%; }
.handle { position: absolute; left: 34%; right: 34%; top: -11%; height: 16%; border: clamp(9px, 2.4vw, 16px) solid #3b2314; border-bottom: 0; border-radius: 40px 40px 0 0; }
.lid { position: absolute; inset: 0; border-radius: clamp(18px, 4vw, 30px); background:
    radial-gradient(120% 80% at 30% 10%, rgba(255,255,255,.18), transparent 50%),
    repeating-linear-gradient(115deg, rgba(0,0,0,.03) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #a0603a, #7a4325 60%, #5e321a);
  box-shadow: inset 0 0 0 clamp(6px, 1.4vw, 10px) rgba(0,0,0,.12), inset 0 -10px 30px rgba(0,0,0,.25), 0 30px 50px -20px rgba(60,30,10,.55), 0 4px 0 #4a2814; }
.lid::before { content: ""; position: absolute; inset: clamp(10px, 2.4vw, 18px); border: 2px dashed rgba(255,226,190,.45); border-radius: clamp(12px, 3vw, 22px); }
.lid::after { content: ""; position: absolute; left: 0; right: 0; top: 22%; height: 3px; background: rgba(0,0,0,.25); box-shadow: 0 1px 0 rgba(255,255,255,.12); }
.clasp { position: absolute; top: 15%; width: 11%; height: 13%; border-radius: 8px; background: linear-gradient(180deg, #f6d77b, #c9962c 55%, #9b6f18); box-shadow: 0 3px 0 #6e4d0e, inset 0 1px 0 rgba(255,255,255,.6); }
.clasp.l { left: 16%; } .clasp.r { right: 16%; }
.tag { position: absolute; right: 7%; bottom: 8%; font: 700 12px/1 var(--body); letter-spacing: .2em; color: #f6d77b; padding: 6px 9px; border: 1.5px solid rgba(246,215,123,.6); border-radius: 6px; }

/* Stickers: the white die-cut edge is a fat white stroke behind each design */
.sticker { position: absolute; left: 0; top: 0; width: var(--w, 22%); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; transform: rotate(var(--r, 0deg)); transition: transform .3s cubic-bezier(.2,.8,.2,1), filter .25s, left .5s cubic-bezier(.2,.8,.2,1), top .5s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 2px 1.5px rgba(0,0,0,.4)); z-index: 1; -webkit-tap-highlight-color: transparent; }
.sticker svg, .art svg, .info-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cut { fill: #fff; stroke: #fff; stroke-width: 9; stroke-linejoin: round; }
.sticker:hover { filter: drop-shadow(0 5px 4px rgba(0,0,0,.35)); }
.sticker.lift { cursor: grabbing; transition: filter .2s, transform .2s; filter: drop-shadow(0 20px 14px rgba(0,0,0,.35)); transform: rotate(calc(var(--r, 0deg) - 6deg)) scale(1.12); z-index: 50 !important; }
.sticker.drop { animation: slap .35s cubic-bezier(.2,1.6,.4,1); }
@keyframes slap { 40% { transform: rotate(var(--r, 0deg)) scale(.94); } }
.sticker:focus-visible { outline-offset: 6px; border-radius: 12px; }
.shine { opacity: 0; transition: opacity .3s; }
.sticker:hover .shine, .sticker.lift .shine { opacity: 1; }

.hint { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%) rotate(-2deg); font: 700 13px/1 var(--body); background: var(--sun); border: 2px solid var(--ink); padding: 7px 12px; border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; pointer-events: none; transition: opacity .4s; z-index: 60; }
.hint.gone { opacity: 0; }

/* Info card */
.info { position: fixed; z-index: 100; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(360px, calc(100vw - 32px)); background: #fff; border: 2.5px solid var(--ink); border-radius: 22px; padding: 20px; box-shadow: 6px 6px 0 var(--ink); animation: pop .3s cubic-bezier(.2,1.4,.4,1); }
.info[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) translateY(16px) scale(.96); } }
.info-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 22px/1 var(--body); cursor: pointer; }
.info-art { width: 84px; height: 84px; transform: rotate(-6deg); filter: drop-shadow(0 3px 2px rgba(0,0,0,.3)); }
.info h2 { font-size: 32px; margin-top: 12px; }
.info p { color: var(--muted); margin-top: 6px; }
.info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0 16px; font-size: 15px; }
.info dt { color: var(--muted); font-weight: 600; }
.info dd { margin: 0; font-weight: 700; }

/* Sheet */
.sheet { background: #fff; border-block: 2.5px solid var(--ink); padding: 64px 16px; }
.sheet-head { max-width: 1180px; margin: 0 auto 28px; }
.sheet h2 { font-size: clamp(44px, 9vw, 76px); }
.grid { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 20px; padding: 14px; display: grid; gap: 6px; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; scroll-margin-top: 20px; }
.card:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--ink); }
.card.flash { animation: flash 1.2s ease; }
@keyframes flash { 30% { background: var(--sun); } }
.card .art { width: 70%; aspect-ratio: 1; margin: 8px auto 6px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.28)); transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.card:hover .art { transform: rotate(-8deg) scale(1.06); }
.card h3 { font-size: 21px; }
.card p { font-size: 14px; color: var(--muted); }
.card .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; border-top: 2px dashed var(--line); padding-top: 8px; margin-top: 4px; }

/* How it works */
.how { padding: 64px 16px; }
.steps { max-width: 1180px; margin: 0 auto; display: grid; gap: 14px; }
.steps > div { background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
.steps b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--ink); font: 20px/1 var(--display); }
.steps h3 { font-size: 26px; margin: 12px 0 6px; }
.steps p { color: var(--muted); }
.steps > div:nth-child(2) b { background: var(--sky); }
.steps > div:nth-child(3) b { background: var(--leaf); }

.foot { text-align: center; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }

@media (min-width: 820px) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: 40px; padding-top: 32px; padding-bottom: 88px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .sheet, .how { padding-block: 96px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.cut [fill="none"] { fill: none; }
