/* Designz website: editorial, print-inspired */
:root {
  --paper: #f4f1ea;
  --paper2: #ebe6da;
  --ink: #151515;
  --ink2: #4a463f;
  --mute: #8a8478;
  --line: #d9d2c3;
  --red: #ff4a1c;
  --blue: #2f5bea;
  --sun: #ffc531;
  --green: #3d9a5b;
  --pink: #ff8fb1;
  --lilac: #c8b6ff;
  --mat: #24614a;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* subtle paper grain */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0 0.42 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; margin: 0; }
em { font-style: italic; font-weight: 400; }
.eyebrow { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink2); margin: 0 0 14px; }
.hand { font-family: var(--hand); font-size: 1.35em; line-height: 1.1; color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--red); transition: transform 0.12s, box-shadow 0.12s; white-space: nowrap; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--red); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--red); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn.ghost:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn.big { height: 56px; padding: 0 28px; font-size: 17px; }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(18px, 4vw, 56px); background: rgba(244, 241, 234, 0.92); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-color: var(--line); }
.nav::after { content: ''; position: absolute; left: 0; bottom: -1.5px; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red), var(--sun) 50%, var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: 0 3px 3px 0; }
.wordmark { font: 700 30px/1 var(--serif); letter-spacing: -0.05em; text-decoration: none; }
.wordmark span, .big-mark .dot { color: var(--red); }
.links { display: flex; gap: 26px; }
.links a, .nav .link { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink2); background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1.5px no-repeat; transition: background-size 0.2s, color 0.2s; }
.links a:hover, .nav .link:hover { color: var(--ink); background-size: 100% 1.5px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: clamp(36px, 6vw, 80px) clamp(18px, 4vw, 56px) 70px; max-width: 1400px; margin: 0 auto; }
h1 { font-size: clamp(46px, 6.6vw, 98px); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; }
.scribble { position: relative; white-space: nowrap; font-style: italic; font-weight: 400; }
.scribble svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; animation: drawline 1.1s 1.05s cubic-bezier(.6, 0, .2, 1) backwards; filter: url(#rough); }
@keyframes drawline { from { stroke-dashoffset: 320; } }
/* headline words set one by one, like type being dropped into a forme */
h1 .w { display: inline-block; animation: rise 0.9s cubic-bezier(.2, .9, .25, 1) backwards; animation-delay: calc(var(--i) * 65ms + 0.1s); }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em) rotate(4deg); } }
.hl { background: linear-gradient(transparent 55%, rgba(255, 197, 49, 0.8) 38%, rgba(255, 197, 49, 0.8) 94%, transparent 94%) no-repeat 0 0 / 100% 100%; color: inherit; padding: 0 2px; animation: marker 0.8s 1.5s cubic-bezier(.6, 0, .2, 1) backwards; }
@keyframes marker { from { background-size: 0 100%; } }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink2); max-width: 560px; margin: 28px 0 32px; }
.cta { display: flex; gap: 16px; flex-wrap: wrap; }
.aside { margin: 26px 0 0; transform: rotate(-2deg); }

.hero-art { position: relative; height: clamp(440px, 46vw, 620px); }
.print { position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 14px 30px -10px rgba(40, 30, 10, 0.35); transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s; animation: pin 0.9s cubic-bezier(.2, .9, .3, 1.15) backwards; }
.print:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 28px 40px -14px rgba(40, 30, 10, 0.45); }
@keyframes pin { from { opacity: 0; translate: 0 -70px; scale: 1.12; } 60% { opacity: 1; } }
.p1 { animation-delay: 0.35s; } .p2 { animation-delay: 0.5s; } .p3 { animation-delay: 0.65s; }
.tape { animation: stick 0.4s ease-out backwards; }
.p1 .tape { animation-delay: 1.05s; } .p2 .tape { animation-delay: 1.2s; } .p3 .tape { animation-delay: 1.35s; }
@keyframes stick { from { opacity: 0; scale: 1.4; } }
.print canvas { display: block; width: 100%; background: var(--paper2); }
.print:hover { transform: rotate(0deg) translateY(-6px) scale(1.02) !important; z-index: 5; }
.p1 { width: 44%; left: 4%; top: 6%; transform: rotate(-5deg); z-index: 2; }
.p2 { width: 42%; right: 2%; top: 0; transform: rotate(4deg); z-index: 1; }
.p3 { width: 38%; left: 38%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
.tape { position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 220, 120, 0.65); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.tape.t2 { background: rgba(170, 200, 255, 0.6); transform: translateX(-50%) rotate(5deg); }
.sticker { position: absolute; right: 2%; bottom: 8%; width: 132px; height: 132px; z-index: 6; display: grid; place-items: center; background: var(--sun); border-radius: 50%; box-shadow: 2px 3px 0 var(--ink); animation: slap 0.5s 1.4s cubic-bezier(.3, 1.6, .5, 1) backwards; transition: rotate 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.sticker:hover { rotate: -12deg; }
@keyframes slap { from { opacity: 0; scale: 1.8; rotate: 30deg; } }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font: 600 15.5px var(--mono); letter-spacing: 1.5px; fill: var(--ink); }
.sticker b { font: 700 34px var(--serif); }
@keyframes spin { to { transform: rotate(1turn); } }
.note { position: absolute; margin: 0; font-size: 26px; color: var(--ink2); }
.note svg { width: 70px; height: 50px; fill: none; stroke: var(--ink2); stroke-width: 2.2; stroke-linecap: round; display: block; }
.n1 { left: 0; bottom: 0; transform: rotate(-4deg); z-index: 7; }

/* ---------- Ticker ---------- */
.tapes { position: relative; padding: 18px 0 34px; overflow: hidden; }
.ticker { position: relative; width: 104%; margin-left: -2%; border-block: 1.5px solid var(--ink); overflow: hidden; background: var(--sun); rotate: -1.2deg; z-index: 2; box-shadow: 0 6px 0 rgba(21, 21, 21, 0.08); }
.ticker.alt { background: var(--blue); color: var(--paper); rotate: 1.4deg; margin-top: -14px; z-index: 1; }
.ticker.alt .ticker-in { animation-direction: reverse; animation-duration: 60s; }
.ticker.alt span::after { color: var(--sun); }
.ticker-in { display: flex; width: max-content; animation: tick 50s linear infinite; }
.ticker span { font: 600 22px var(--serif); padding: 14px 26px; position: relative; }
.ticker span::after { content: '✳'; position: absolute; right: -8px; color: var(--red); }
.ticker span:nth-child(odd) { font-style: italic; font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 0 clamp(18px, 4vw, 56px); max-width: 1400px; margin: 0 auto; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; }
.inside { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; padding-top: 120px; }
.col-head { position: sticky; top: 110px; align-self: start; }
.col-head p:last-child { color: var(--ink2); max-width: 380px; margin-top: 18px; }
.toc { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.toc li { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background 0.2s, padding 0.2s; }
.toc li:hover { background: color-mix(in srgb, var(--c) 14%, var(--paper)); padding-left: 12px; padding-right: 12px; }
.toc li:nth-child(6n+1) { --c: var(--red); } .toc li:nth-child(6n+2) { --c: var(--blue); } .toc li:nth-child(6n+3) { --c: var(--sun); } .toc li:nth-child(6n+4) { --c: var(--green); } .toc li:nth-child(6n+5) { --c: var(--pink); } .toc li:nth-child(6n+6) { --c: var(--lilac); }
.toc .n { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -10px; border-radius: 50%; border: 1.5px solid transparent; font: 500 14px var(--mono); color: var(--red); transition: background 0.25s, border-color 0.25s, color 0.25s, rotate 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.toc li:hover .n { background: var(--c); border-color: var(--ink); color: var(--ink); rotate: -10deg; }
.toc h3 { font-size: 27px; margin-bottom: 4px; }
.toc p { margin: 0; color: var(--ink2); max-width: 560px; }
.toc .pg { font: 400 italic 15px var(--serif); color: var(--mute); }

.screen { padding-top: 110px; }
.window { margin: 0; border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: #111; box-shadow: 12px 12px 0 var(--blue), 12px 12px 0 1.5px var(--ink); }
.window .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); }
.window .bar i:nth-child(1) { background: var(--red); } .window .bar i:nth-child(2) { background: var(--sun); } .window .bar i:nth-child(3) { background: var(--blue); }
.window .bar span { margin-left: 8px; font: 500 12px var(--mono); color: var(--ink2); }
.caption { margin: 26px 0 0; color: var(--ink2); }
.live { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0e0e18; }
.live img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity 0.4s; }
.live.ready iframe { opacity: 1; }

/* Free / receipt */
.free > *, .remix > *, .hero > *, .inside > * { min-width: 0; }
.free { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.free-copy p:not(.eyebrow) { color: var(--ink2); max-width: 470px; margin: 20px 0 28px; }
.receipt { position: relative; justify-self: center; width: min(430px, 100%); padding: 30px 30px 40px; background: #fffdf8; font: 14px/1.5 var(--mono); transform: rotate(1.5deg); box-shadow: 0 18px 40px -16px rgba(40, 30, 10, 0.45);
}
.receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(135deg, #fffdf8 50%, transparent 50%) 0 0 / 16px 16px, linear-gradient(-135deg, #fffdf8 50%, transparent 50%) 0 0 / 16px 16px; }
.r-head { text-align: center; font-weight: 700; letter-spacing: 0.1em; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--ink); }
.r-head small { font-weight: 400; letter-spacing: 0; color: var(--mute); }
.r-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1.5px dotted var(--line); }
.r-row span { flex: 1; min-width: 0; }
.r-row.total { margin-top: 10px; padding-top: 12px; border-top: 1.5px dashed var(--ink); border-bottom: 0; font-weight: 700; font-size: 16px; }
.r-foot { text-align: center; color: var(--mute); margin: 22px 0 0; }
.stamp { position: absolute; right: 10px; top: 120px; padding: 8px 14px; border: 3px solid var(--red); border-radius: 8px; color: var(--red); font: 700 26px/1 var(--mono); text-align: center; transform: rotate(-14deg); opacity: 0.85; filter: url(#rough); }
.stamp small { font-size: 11px; font-weight: 500; }

/* Remix */
.remix { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.remix-copy p:not(.eyebrow) { color: var(--ink2); max-width: 470px; margin: 20px 0 28px; }
.palette-name { font: 500 13px var(--mono) !important; color: var(--mute) !important; margin-top: 16px !important; }
.remix-demo { position: relative; display: grid; place-items: center; }
.bit { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border: 1.5px solid var(--ink); pointer-events: none; z-index: 3; }
.rp { --bg: #f4f1ea; --ink: #151515; --a1: #ff4a1c; --a2: #2f5bea; --a3: #ffc531;
  position: relative; width: min(420px, 100%); aspect-ratio: 4 / 5; background: var(--bg); color: var(--ink); overflow: hidden; border: 1.5px solid #151515; box-shadow: 10px 10px 0 #151515; transition: background 0.5s, color 0.5s; }
.rp > * { transition: background 0.5s, color 0.5s, transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.rp-sun { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; right: -14%; top: 14%; background: var(--a1); }
.rp-kicker { position: absolute; left: 8%; top: 8%; font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: 0.12em; }
.rp-title { position: absolute; left: 7%; bottom: 20%; font: 400 clamp(72px, 9vw, 120px)/0.86 'Archivo Black', var(--sans); letter-spacing: -0.04em; color: var(--ink); }
.rp-star { position: absolute; right: 10%; bottom: 26%; font-size: 70px; color: var(--a2); }
.rp-foot { position: absolute; left: 8%; right: 8%; bottom: 7%; padding-top: 10px; border-top: 2px solid var(--ink); font: 500 14px var(--sans); }
.rp.shuffle .rp-sun { transform: scale(1.15) translate(-6%, 6%); }
.rp.shuffle .rp-star { transform: rotate(40deg) scale(1.1); }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 120px; }
.extras article { padding: 26px 24px 30px; border-top: 1.5px solid var(--ink); border-right: 1px solid var(--line); }
.extras article:last-child { border-right: 0; }
.extras article:nth-child(1) { --c: var(--sun); } .extras article:nth-child(2) { --c: var(--pink); } .extras article:nth-child(3) { --c: var(--green); } .extras article:nth-child(4) { --c: var(--lilac); }
.extras .n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); font: italic 400 30px var(--serif); color: var(--ink); transition: rotate 0.4s cubic-bezier(.3, 1.6, .5, 1), scale 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.extras article:hover .n { rotate: 14deg; scale: 1.08; }
.extras h3 { font-size: 24px; margin: 6px 0 8px; }
.extras p { margin: 0; color: var(--ink2); font-size: 16px; }

/* Doodle */
.doodle { padding-top: 130px; }
.doodle-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; align-items: end; margin-bottom: 30px; }
.doodle-head .eyebrow { grid-column: span 2; }
.doodle-head p:last-child { color: var(--ink2); margin: 0; }
.paper { position: relative; background: #fffdf8; border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: 8px 8px 0 var(--ink);
  background-image: linear-gradient(var(--paper2) 1px, transparent 1px), linear-gradient(90deg, var(--paper2) 1px, transparent 1px); background-size: 28px 28px; }
.paper canvas { display: block; width: 100%; height: 480px; cursor: crosshair; touch-action: none; }
.paper-ui { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 14px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 14px; font-size: 14px; }
.paper-ui label { display: flex; align-items: center; gap: 8px; }
.paper-ui input[type=range] { accent-color: var(--red); }
.inks { display: flex; gap: 6px; }
.inks button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--c); cursor: pointer; }
.inks button.on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink); }
.pg-hint { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font: 400 34px var(--hand); color: var(--mute); transition: opacity 0.4s; }

/* FAQ */
.faq { padding-top: 140px; }
.faq h2 { margin-bottom: 36px; }
.faq dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; margin: 0; border-top: 1.5px solid var(--ink); }
.faq dl > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq dt { font: 600 22px var(--serif); letter-spacing: -0.02em; margin-bottom: 8px; }
.faq dd { margin: 0; color: var(--ink2); }

.end { position: relative; text-align: center; padding-top: 130px; padding-bottom: 130px; }
.end h2 { font-size: clamp(42px, 6vw, 88px); max-width: 1000px; margin: 0 auto 36px; }
.end .hand { margin: 22px 0 0; transform: rotate(-1.5deg); }

/* Footer */
.foot { padding: 60px clamp(18px, 4vw, 56px) 40px; border-top: 1.5px solid var(--ink); }
.big-mark { font: 700 clamp(80px, 21vw, 330px)/0.8 var(--serif); letter-spacing: -0.06em; margin: 0 0 30px; }
.big-mark .l { display: inline-block; transition: translate 0.35s cubic-bezier(.3, 1.6, .5, 1), color 0.2s, rotate 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.big-mark .l:hover { translate: 0 -0.08em; rotate: -4deg; color: var(--c); -webkit-text-stroke: 3px var(--ink); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--ink2); font-size: 15px; }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; gap: 22px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { text-decoration: underline; }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }


/* ---------- Hero cut-outs: paper shapes behind the prints ---------- */
.hero-art { --mx: 0; --my: 0; }
.cutouts { position: absolute; inset: -6% -4%; pointer-events: none; z-index: 0; }
.cut { position: absolute; display: block; translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px); transition: translate 0.6s cubic-bezier(.2, .8, .2, 1); animation: drift 9s ease-in-out infinite alternate, popin 0.8s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.cut svg { display: block; width: 100%; height: 100%; overflow: visible; }
.c-sun { width: 46%; aspect-ratio: 1; left: 22%; top: 18%; border-radius: 50%; background: var(--sun); box-shadow: inset -10px -14px 0 rgba(255, 140, 0, 0.18); animation-delay: 0s, 0.15s; }
.c-blue { width: 22%; height: 60px; right: -3%; top: 44%; animation-delay: -3s, 0.3s; }
.c-blue path { fill: none; stroke: var(--blue); stroke-width: 11; stroke-linecap: round; filter: url(#rough); }
.c-leaf { width: 74px; height: 102px; left: -2%; top: 30%; rotate: -28deg; animation-delay: -5s, 0.25s; }
.c-leaf path { fill: var(--green); stroke: var(--ink); stroke-width: 1.5; }
.c-leaf .vein { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; stroke-linecap: round; }
.c-half { width: 92px; height: 46px; right: 30%; top: -2%; border-radius: 92px 92px 0 0; background: var(--red); rotate: 18deg; animation-delay: -2s, 0.4s; }
.c-dots { width: 120px; height: 90px; left: 30%; top: -4%; background: radial-gradient(circle, var(--ink) 2.2px, transparent 2.6px) 0 0 / 15px 15px; opacity: 0.55; animation-delay: -6s, 0.5s; }
@keyframes drift { from { transform: translateY(-6px) rotate(-2deg); } to { transform: translateY(8px) rotate(3deg); } }
@keyframes popin { from { opacity: 0; scale: 0.4; } }
.hero-art > .print, .hero-art > .sticker, .hero-art > .note { z-index: 2; }
.hero-art > .p1 { z-index: 3; } .hero-art > .p3 { z-index: 4; } .hero-art > .print:hover { z-index: 5; } .hero-art > .sticker { z-index: 6; } .hero-art > .note { z-index: 7; }

/* ---------- Workspace: eight tools, one desk ---------- */
.workspace { padding-top: 110px; }
.ws-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 46px; }
.ws-head > p { margin: 0; color: var(--ink2); max-width: 520px; }
.ws-head .hand { display: block; margin-top: 12px; transform: rotate(-1.5deg); }
.ws-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.ws-card:last-child:nth-child(odd) { grid-column: span 2; }
.ws-card { --tilt: -0.8deg; position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); rotate: var(--tilt); transition: rotate 0.35s cubic-bezier(.3, 1.4, .5, 1), translate 0.35s cubic-bezier(.3, 1.4, .5, 1), box-shadow 0.35s cubic-bezier(.3, 1.4, .5, 1); }
.ws-card:nth-child(2n) { --tilt: 0.9deg; }
.ws-card:nth-child(3n) { --tilt: -0.3deg; }
.ws-card:hover, .ws-card:focus-visible { rotate: 0deg; translate: -3px -5px; box-shadow: 11px 12px 0 var(--ink); outline: none; }
.ws-card:focus-visible { box-shadow: 11px 12px 0 var(--ink), 0 0 0 4px var(--paper), 0 0 0 6px var(--blue); }
.ws-art { position: relative; height: 168px; background: var(--c); border-bottom: 1.5px solid var(--ink); overflow: hidden; }
.ws-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ws-art svg :is(rect, path, circle) { stroke-linejoin: round; stroke-linecap: round; }
.ws-art svg :is(rect, path, circle):not([stroke]) { stroke: var(--ink); }
.ws-art svg :is(rect, path, circle):not([stroke-width]) { stroke-width: 2; }
.ws-art svg path:not([fill]) { fill: none; }
.ws-art.ruled { background-image: linear-gradient(rgba(47, 91, 234, 0.13) 1px, transparent 1px); background-size: 100% 14px; }
.ws-art.grid { background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px); background-size: 16px 16px; }
.ws-copy { position: relative; padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ws-n { position: absolute; right: 16px; top: 16px; font: 500 12px var(--mono); color: var(--mute); }
.ws-copy h3 { font-size: 25px; margin: 0 0 4px; }
.ws-copy h3 small { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 8px 3px; border-radius: 999px; background: var(--red); color: #fff; font: 600 11px var(--sans); letter-spacing: 0.04em; text-transform: uppercase; rotate: -6deg; }
.ws-copy p { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.ws-go { margin-top: auto; font: 600 14px var(--sans); display: inline-flex; align-items: center; gap: 6px; }
.ws-go::after { content: '→'; transition: translate 0.25s; }
.ws-card:hover .ws-go::after { translate: 5px 0; }

/* little looping scenes; paused until the grid is on screen */
.ws-grid:not(.live) * { animation-play-state: paused !important; }
.ws-art svg * { transform-box: fill-box; transform-origin: center; }
.d-b { animation: bob 3.2s ease-in-out infinite; }
.ws-art .d-c { animation: tip 4s ease-in-out infinite; transform-origin: 50% 100%; }
.d-a { animation: tip 5s -1s ease-in-out infinite reverse; }
@keyframes bob { 50% { transform: translate(-10px, 8px) scale(1.08); } }
@keyframes tip { 50% { transform: rotate(-8deg); } }
.v-head { animation: play 4.5s linear infinite; }
@keyframes play { from { transform: translateX(0); } to { transform: translateX(152px); } }
.v-strip { animation: flick 4.5s steps(3) infinite; }
@keyframes flick { 50% { opacity: 0.85; } }
.ws-art :is(.s-1, .s-2, .s-3) { transform-origin: 50% 100%; }
.s-1 { animation: fan1 4s ease-in-out infinite; } .s-2 { animation: fan2 4s ease-in-out infinite; } .s-3 { animation: fan3 4s ease-in-out infinite; }
@keyframes fan1 { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-16deg) translate(-14px, 0); } }
@keyframes fan2 { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(14deg) translate(14px, 0); } }
@keyframes fan3 { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-4px); } }
.ln { stroke-dasharray: 1; animation: write 5s ease-in-out infinite; }
.ws-art .ln:not([stroke-width]) { stroke-width: 3; }
.ln:nth-of-type(2) { animation-delay: 0.3s; } .ln:nth-of-type(3) { animation-delay: 0.6s; } .ln:nth-of-type(4) { animation-delay: 0.9s; } .ln:nth-of-type(5) { animation-delay: 1.2s; } .ln:nth-of-type(6) { animation-delay: 1.5s; }
@keyframes write { 0% { stroke-dashoffset: 1; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.tk { stroke-dasharray: 1; animation: tick 4.5s ease-out infinite; }
.tk:nth-of-type(3) { animation-delay: 0.5s; } .tk:nth-of-type(5) { animation-delay: 1s; }
@keyframes tick { 0%, 8% { stroke-dashoffset: 1; } 20%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.sig { stroke-dasharray: 1; animation: sign 4s ease-in-out infinite; }
@keyframes sign { 0%, 10% { stroke-dashoffset: 1; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.cube { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(35deg); animation: turn 9s linear infinite; }
.cube i { position: absolute; inset: 0; border: 2px solid var(--ink); background: rgba(255, 253, 248, 0.82); }
.cube i:nth-child(1) { transform: translateZ(32px); background: rgba(255, 197, 49, 0.9); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(32px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(32px); background: rgba(255, 253, 248, 0.92); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(32px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(32px); background: rgba(255, 143, 177, 0.9); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(32px); }
@keyframes turn { to { transform: rotateX(-24deg) rotateY(395deg); } }
.dim { position: absolute; left: 16px; bottom: 12px; font: 600 11px var(--mono); color: #fff; padding: 2px 6px; border: 1.5px dashed rgba(255, 255, 255, 0.7); border-radius: 4px; }
.ws-art.chat { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; }
.bub { max-width: 82%; padding: 7px 11px; border: 1.5px solid var(--ink); border-radius: 14px; font: 500 13px/1.3 var(--sans); background: #fffdf8; animation: say 6s ease-out infinite backwards; }
.bub.me { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.them:not(.done) { display: flex; gap: 4px; padding: 10px 12px; animation-name: think; animation-delay: 0.8s; }
.bub.them i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: dot 0.9s ease-in-out infinite; }
.bub.them i:nth-child(2) { animation-delay: 0.15s; } .bub.them i:nth-child(3) { animation-delay: 0.3s; }
.bub.done { animation-delay: 2.4s; margin-top: -42px; }
@keyframes say { 0% { opacity: 0; transform: translateY(8px) scale(0.9); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes think { 0% { opacity: 0; } 8%, 22% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes dot { 50% { transform: translateY(-3px); opacity: 0.4; } }

/* ---------- Full-width coloured bands with torn paper edges ---------- */
.band { --band: var(--paper); position: relative; background: var(--band); margin-top: 120px; }
.band::before, .band::after { content: ''; position: absolute; left: 0; right: 0; height: 16px; background: var(--band); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V9l9-3 7 4 11-6 8 5 13-4 6 3 12-7 9 6 10-2 8 4 14-5 7 3 9-4 12 5 6-3 11 4 9-6 10 5 8-2 13 4 7-5 10 3 9-6 12 6 8-3 6 4 13-5 9 3 11-4 7 5 10-3 9 2 12-6 8 6 10-4 7 3 11-5 9 6 8-3 13 4 9-5 7 2 10-3V16z'/%3E%3C/svg%3E") 0 0 / 400px 16px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V9l9-3 7 4 11-6 8 5 13-4 6 3 12-7 9 6 10-2 8 4 14-5 7 3 9-4 12 5 6-3 11 4 9-6 10 5 8-2 13 4 7-5 10 3 9-6 12 6 8-3 6 4 13-5 9 3 11-4 7 5 10-3 9 2 12-6 8 6 10-4 7 3 11-5 9 6 8-3 13 4 9-5 7 2 10-3V16z'/%3E%3C/svg%3E") 0 0 / 400px 16px repeat-x; }
.band + .band { margin-top: 44px; }
.band::before { top: -15px; }
.band::after { bottom: -15px; transform: scaleY(-1); -webkit-mask-position: 130px 0; mask-position: 130px 0; }
.band > section { padding-left: clamp(18px, 4vw, 56px); padding-right: clamp(18px, 4vw, 56px); }

/* cutting mat */
.band.mat { --band: var(--mat); color: var(--paper);
  background-image: linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px; background-position: -1px -1px; }
.band.mat .eyebrow { color: var(--sun); }
.band.mat .free-copy p:not(.eyebrow) { color: rgba(244, 241, 234, 0.82); }
.band.mat .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 3px 3px 0 var(--sun); }
.band.mat .btn:hover { box-shadow: 5px 5px 0 var(--sun); }
.band.mat .receipt { color: var(--ink); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.6); }
.band.mat h2 em { color: var(--sun); }

/* remix tints with whatever palette is showing */
.band.tint { --band: color-mix(in srgb, var(--tint, #ff4a1c) 16%, var(--paper)); }
.band.tint, .band.tint::before, .band.tint::after { transition: background-color 0.6s; }

/* finale */
.band.sunny { --band: var(--sun); margin-bottom: 0; }
.band.sunny .btn { box-shadow: 4px 4px 0 var(--red); }
.band.sunny .hand { color: var(--ink); }
.band.sunny h2 em { color: #c8310b; }
.end-cuts span { position: absolute; display: block; border: 1.5px solid var(--ink); animation: drift 8s ease-in-out infinite alternate; }
.end-cuts span:nth-child(1) { left: 6%; top: 22%; width: 90px; height: 90px; border-radius: 50%; background: var(--red); }
.end-cuts span:nth-child(2) { right: 8%; top: 18%; width: 70px; height: 70px; background: var(--blue); rotate: 14deg; animation-delay: -2s; }
.end-cuts span:nth-child(3) { left: 14%; bottom: 14%; width: 0; height: 0; border: 0; border-left: 46px solid transparent; border-right: 46px solid transparent; border-bottom: 80px solid var(--green); animation-delay: -4s; }
.end-cuts span:nth-child(4) { right: 14%; bottom: 18%; width: 110px; height: 55px; border-radius: 110px 110px 0 0; background: var(--pink); rotate: -12deg; animation-delay: -6s; }
.end-cuts span:nth-child(5) { left: 46%; top: 8%; width: 26px; height: 26px; border-radius: 50%; background: #fff; animation-delay: -1s; }
.end > *:not(.end-cuts) { position: relative; z-index: 1; }

@media (max-width: 1000px) {
  .ws-grid { grid-template-columns: 1fr 1fr; }
  .ws-head { grid-template-columns: 1fr; gap: 16px; }
  .cutouts .c-dots { display: none; }
  .ws-grid { grid-template-columns: 1fr 1fr; }
  .ws-head { grid-template-columns: 1fr; gap: 16px; }
  .cutouts .c-dots { display: none; }
  .hero, .inside, .free, .remix { grid-template-columns: 1fr; }
  .hero-art { height: 520px; max-width: 620px; width: 100%; margin: 0 auto; }
  .col-head { position: static; }
  .extras { grid-template-columns: 1fr 1fr; }
  .extras article:nth-child(2) { border-right: 0; }
  .links { display: none; }
  .doodle-head { grid-template-columns: 1fr; }
  .doodle-head .eyebrow { grid-column: auto; }
  .doodle-head p:last-child { margin-top: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .link { display: none; }
  .nav .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .hero-art { height: 400px; }
  .sticker { width: 100px; height: 100px; }
  .sticker text { font-size: 15px; }
  .sticker b { font-size: 26px; }
  .note { font-size: 21px; }
  .toc li { grid-template-columns: 44px 1fr; }
  .toc .pg { display: none; }
  .toc h3 { font-size: 22px; }
  .extras { grid-template-columns: 1fr; }
  .extras article { border-right: 0; }
  .faq dl { grid-template-columns: 1fr; }
  .window { box-shadow: 6px 6px 0 var(--ink); }
  .paper canvas { height: 400px; }
  .paper-ui { right: 12px; left: 12px; bottom: 12px; gap: 10px; }
  .receipt { padding: 24px 20px 36px; font-size: 13px; }
  .ws-grid { grid-template-columns: 1fr; gap: 26px; }
  .ws-card:last-child:nth-child(odd) { grid-column: auto; }
  .ws-art { height: 150px; }
  .ticker span { font-size: 18px; padding: 10px 20px; }
  .end-cuts { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scribble path { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; }
  .print, .tape, .sticker, h1 .w { opacity: 1; }
}
