/*
  Crayon Tiger – "risograph zine" look.
  Paper, black ink outlines and flat spot colours, like a colouring page that's been coloured in.
*/

/* ===== Tokens ===== */
:root {
  --paper: #f6efe0;
  --paper-2: #efe4cc;
  --white: #fffdf8;
  --ink: #1a1714;
  --ink-soft: #4d463d;
  --pink: #ff48b0;
  --pink-ink: #c4006f;
  --blue: #3255a4;
  --yellow: #ffd400;
  --green: #00a95c;
  --orange: #ff6c2f;
  --sky: #7fb2ff;
  --lilac: #c9b6ff;
  --line: 2.5px solid var(--ink);
  --hard: 4px 4px 0 var(--ink);
  --hard-lg: 7px 7px 0 var(--ink);
  --radius: 14px;
  --container: 1200px;
  --section-padding: 92px;
  --header-h: 74px;
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper) var(--grain); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink-ink); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0 0 .45em; letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 54px); }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container-narrow { --container: 840px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* Handwritten kicker above headings */
.eyebrow { display: inline-block; font-family: var(--font-hand); font-weight: 700; font-size: 27px; line-height: 1; color: var(--pink-ink); margin-bottom: 10px; transform: rotate(-2deg); transform-origin: left; }
.eyebrow::before { content: "→ "; }
.eyebrow-light { color: var(--pink-ink); }

/* Marker highlight */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::before { content: ""; position: absolute; left: -.08em; right: -.1em; bottom: .02em; height: .5em; background: var(--yellow); z-index: -1; transform: rotate(-1.2deg) skewX(-8deg); border-radius: 3px 8px 4px 10px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: var(--line); border-radius: 999px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; padding: 11px 22px; min-height: 48px; color: var(--ink); background: var(--white); box-shadow: 3px 3px 0 var(--ink); transition: transform 150ms ease, box-shadow 150ms ease; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sm { padding: 7px 16px; min-height: 42px; font-size: 15px; }
.btn-lg { padding: 14px 28px; font-size: 19px; }
.btn-accent { background: var(--pink); }
.btn-primary, .btn-dark { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--pink); }
.btn-primary:hover, .btn-dark:hover { color: var(--paper); box-shadow: 5px 5px 0 var(--pink); }
.btn-ghost { background: var(--white); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper) var(--grain); border-bottom: 2.5px solid transparent; transition: border-color 200ms; }
.site-header.scrolled { border-color: var(--ink); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.04em; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo b { color: var(--ink); background: var(--pink); padding: 0 6px 2px; border-radius: 6px; margin-left: 2px; transform: rotate(-3deg); display: inline-block; }
.logo-mark { width: 42px; height: 42px; flex: none; transition: transform 300ms; }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.08); }
.logo-light, .logo-light:hover { color: var(--paper); }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a, .sub-toggle { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink); background: none; border: 0; min-height: 42px; }
.nav-list a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--yellow); color: var(--ink); }
.nav-list a[aria-current="page"], .has-sub.is-current > .sub-toggle { text-decoration: underline wavy var(--pink); text-underline-offset: 6px; }
.sub-toggle svg { flex: none; width: 18px; height: 18px; fill: currentColor; transition: transform 200ms; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--hard); display: none; }
.sub-menu.is-open { display: block; }
.sub-menu a { border-radius: 8px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: var(--line); background: var(--yellow); border-radius: 12px; padding: 12px 11px; flex-direction: column; justify-content: space-between; box-shadow: 2px 2px 0 var(--ink); }
.menu-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 3px; transition: transform 200ms, opacity 200ms; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 16px 0 0; font-size: 15px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); font-weight: 700; }
.breadcrumb [aria-current] { font-weight: 700; }

/* ===== Home hero ===== */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); letter-spacing: -0.045em; line-height: .92; margin-bottom: 26px; }
.hero h1 .hl { display: inline-block; }
.hero-lead { font-size: 20px; color: var(--ink-soft); max-width: 590px; margin-bottom: 30px; }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 16px; font-weight: 700; }
.hero-trust li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 12px; }
.quick-chars { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.quick-label { font-family: var(--font-hand); font-size: 24px; font-weight: 700; margin-right: 4px; }
.quick-chars a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; min-height: 42px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; transition: background 150ms; }
.quick-chars a::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); }
.quick-chars a:hover { background: var(--yellow); color: var(--ink); }

/* Riso overprint blobs + taped sheet */
.hero-visual { position: relative; padding: 20px 10px 70px; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border-radius: 50%; mix-blend-mode: multiply; z-index: 0; }
.hero-visual::before { width: 72%; aspect-ratio: 1; background: var(--pink); top: 0; right: -6%; opacity: .85; }
.hero-visual::after { width: 58%; aspect-ratio: 1; background: var(--sky); bottom: 40px; left: -4%; opacity: .9; }
.paper-sheet { position: relative; z-index: 1; display: block; width: min(100%, 440px); margin: 0 auto; padding: 18px; background: var(--white); border: 0; box-shadow: 0 2px 0 rgba(0,0,0,.05), 10px 12px 0 rgba(26,23,20,.18); transform: rotate(-3deg); transition: transform 300ms ease; }
.paper-sheet:hover { transform: rotate(-1deg) scale(1.01); }
.tape { position: absolute; top: -14px; width: 110px; height: 32px; background: rgba(255, 212, 0, .72); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.tape-l { left: -24px; transform: rotate(-24deg); }
.tape-r { right: -24px; transform: rotate(22deg); background: rgba(255, 72, 176, .55); }
.preview-art { display: block; aspect-ratio: 1; }
.preview-art svg { width: 100%; height: 100%; }
.preview-art .fill-anim { transition: fill 500ms ease; }
.crayons { position: absolute; z-index: 2; right: 0; bottom: 8px; display: flex; gap: 6px; transform: rotate(-8deg); }
.crayons i { width: 18px; height: 92px; background: var(--c); border: 2px solid var(--ink); border-radius: 3px 3px 2px 2px; clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
.crayons i:nth-child(even) { transform: translateY(10px); }
.hand-note { position: absolute; z-index: 2; left: 0; bottom: 0; margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: 28px; line-height: 1; transform: rotate(-5deg); }
.hand-note svg { width: 92px; height: 54px; margin: 2px 0 0 120px; transform: scaleY(-1) rotate(10deg); }

/* ===== Marquee ===== */
.marquee { position: relative; overflow: hidden; background: var(--yellow) var(--grain); border-block: var(--line); transform: rotate(-1.2deg); margin: 0 -10px; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee-row li { display: flex; align-items: center; gap: 22px; padding: 12px 11px; white-space: nowrap; }
.marquee-row a { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.marquee-row a:hover { text-decoration: underline wavy var(--pink); }
.marquee-row span { font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Inner page hero ===== */
.page-hero { position: relative; padding: 36px 0 64px; overflow: hidden; }
.page-hero-sm { padding: 40px 0 24px; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.04em; line-height: .95; }
.page-hero .hero-lead { font-size: 19px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-links a { padding: 6px 13px; border-radius: 8px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.jump-links a:hover { background: var(--yellow); }
.page-hero-visual { position: relative; justify-self: center; width: min(100%, 340px); }
.page-hero-visual::before { content: ""; position: absolute; inset: -8% -14% auto auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); mix-blend-mode: multiply; opacity: .8; }
.page-hero-visual::after { content: ""; position: absolute; inset: auto auto -10% -12%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); mix-blend-mode: multiply; z-index: -1; }
.hero-sheet { position: relative; z-index: 1; display: block; width: 100%; padding: 14px; border: 0; background: var(--white); box-shadow: 9px 11px 0 rgba(26,23,20,.18); transform: rotate(3deg); transition: transform 300ms; }
.hero-sheet::before { content: ""; position: absolute; top: -14px; left: 50%; width: 100px; height: 30px; margin-left: -50px; background: rgba(127, 178, 255, .7); transform: rotate(-4deg); }
.hero-sheet:hover { transform: rotate(1deg); }
.hero-char { position: relative; z-index: 1; border: var(--line); border-radius: var(--radius); box-shadow: var(--hard-lg); }
.sheet-fan { position: relative; z-index: 1; height: 300px; }
.sheet-fan img { position: absolute; top: 20px; left: 50%; width: 200px; margin-left: -100px; padding: 10px; background: var(--white); box-shadow: 6px 8px 0 rgba(26,23,20,.18); }
.sheet-fan img:nth-child(1) { transform: rotate(-14deg) translateX(-60px); }
.sheet-fan img:nth-child(2) { transform: rotate(10deg) translateX(60px); }
.sheet-fan img:nth-child(3) { transform: rotate(-2deg) translateY(30px); }

/* ===== Sections ===== */
.section { position: relative; padding: var(--section-padding) 0; }
.section-soft { background: var(--paper-2) var(--grain); border-block: var(--line); }
.section-dark { background: var(--blue) var(--grain); color: var(--white); border-block: var(--line); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head p:last-child { color: var(--ink-soft); font-size: 19px; margin-bottom: 0; }
.section-head-row { max-width: none; }
.center-cta { text-align: center; margin-top: 40px; }

/* Prose */
.prose h2 { margin-bottom: .55em; }
.prose h2:not(:first-child) { margin-top: 1.3em; }
.prose p, .prose li { font-size: 19px; }
.answer-box { position: relative; background: var(--yellow); border: var(--line); border-radius: var(--radius); padding: 26px 28px 24px; margin-bottom: 20px; box-shadow: var(--hard); }
.answer-box h2 { font-size: 28px; }
.answer-box p { margin: 0; }
.disclosure { font-size: 15px !important; color: var(--ink-soft); }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 40px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 27px; height: 27px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-weight: 700; font-size: 14px; }
.checklist li:nth-child(3n+2)::before { background: var(--sky); }
.checklist li:nth-child(3n)::before { background: var(--pink); }
.checklist.cross li::before { content: "✕"; background: var(--white); }
.steps-list { padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: 16px; margin: 0 0 1em; }
.steps-list li { counter-increment: st; position: relative; padding-left: 52px; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: -3px; width: 36px; height: 36px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--white); font-family: var(--font-display); font-weight: 800; box-shadow: 2px 2px 0 var(--ink); }
.member-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.member-list li { padding: 14px 18px; border-radius: 10px; background: var(--white); border: 2px solid var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; border: var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--hard); margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: 17px; }
caption { text-align: left; padding: 16px 18px 6px; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1.5px dashed rgba(26,23,20,.35); vertical-align: top; }
thead th { background: var(--yellow); border-bottom: var(--line); font-family: var(--font-display); font-size: 15px; font-weight: 800; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; }
.who-table td:last-child { white-space: nowrap; }

/* ===== Character tiles ===== */
.char-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.char-card { --bg: var(--pink); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 18px; border: var(--line); border-radius: var(--radius); background: var(--bg) var(--grain); color: var(--ink); text-decoration: none; box-shadow: var(--hard); transition: transform 180ms ease, box-shadow 180ms ease; }
.char-card:nth-child(6n+2) { --bg: var(--yellow); }
.char-card:nth-child(6n+3) { --bg: var(--sky); }
.char-card:nth-child(6n+4) { --bg: var(--green); }
.char-card:nth-child(6n+5) { --bg: var(--orange); }
.char-card:nth-child(6n+6) { --bg: var(--lilac); }
.char-card:hover { transform: translate(-3px, -3px) rotate(-.8deg); box-shadow: var(--hard-lg); color: var(--ink); }
.char-thumb { display: block; aspect-ratio: 1; background: var(--white); padding: 8px; transform: rotate(-2deg); box-shadow: 3px 4px 0 rgba(26,23,20,.25); }
.char-card:nth-child(even) .char-thumb { transform: rotate(2deg); }
.char-thumb img { width: 100%; height: 100%; object-fit: contain; }
.char-img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; }
.char-text { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.char-name { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1.05; }
.char-count { font-size: 14px; font-weight: 700; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
/* Homepage bento: Rumi big, last tile wide */
.bento .char-card:first-child { grid-column: span 2; grid-row: span 2; }
.bento .char-card:first-child .char-thumb { padding: 18px; }
.bento .char-card:first-child .char-name { font-size: 40px; }
.bento .char-card:last-child { grid-column: span 2; flex-direction: row; align-items: center; }
.bento .char-card:last-child .char-thumb { width: 42%; flex: none; }

/* ===== Gallery tools ===== */
.gallery-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: var(--ink); }
.search input { width: 100%; min-height: 50px; padding: 0 16px 0 46px; border: var(--line); border-radius: 999px; font: inherit; font-weight: 700; background: var(--white); box-shadow: 3px 3px 0 var(--ink); }
.search input::placeholder { color: #8a8174; }
.search input:focus { outline: none; background: #fffbe0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--ink); background: var(--white); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; min-height: 44px; transition: background 150ms; }
.chip:hover { background: var(--yellow); }
.chip.is-active { background: var(--ink); color: var(--paper); }
.grid-empty, .grid-note { text-align: center; margin-top: 30px; color: var(--ink-soft); }
.grid-note { font-family: var(--font-hand); font-size: 25px; font-weight: 700; color: var(--ink); }

/* ===== Sheet cards (taped paper) ===== */
.sheet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; padding-top: 10px; }
.sheet-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: var(--line); border-radius: 6px; box-shadow: var(--hard); transform: rotate(var(--r, -.7deg)); transition: transform 200ms ease, box-shadow 200ms ease; }
.sheet-card:nth-child(even) { --r: .8deg; }
.sheet-card:nth-child(3n) { --r: -.3deg; }
.sheet-card::before { content: ""; position: absolute; top: -13px; left: 50%; z-index: 2; width: 84px; height: 26px; margin-left: -42px; background: rgba(255, 212, 0, .75); transform: rotate(-3deg); }
.sheet-card:nth-child(3n+2)::before { background: rgba(255, 72, 176, .5); transform: rotate(4deg); }
.sheet-card:nth-child(3n)::before { background: rgba(127, 178, 255, .65); }
.sheet-card:hover { transform: rotate(0) translate(-2px, -4px); box-shadow: var(--hard-lg); }
.sheet-card[hidden] { display: none; }
.sheet-thumb { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 16px; background: none; border: 0; border-bottom: 2px dashed rgba(26,23,20,.3); cursor: pointer; }
.sheet-thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-hover { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; opacity: 0; transition: opacity 150ms, transform 150ms; white-space: nowrap; pointer-events: none; }
.thumb-hover svg { width: 16px; height: 16px; fill: currentColor; }
.sheet-thumb:hover .thumb-hover, .sheet-thumb:focus-visible .thumb-hover, .thumb-hover.is-on { opacity: 1; transform: translate(-50%, 0); }
.sheet-tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 9px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--sky); transform: rotate(-4deg); }
.sheet-tag.easy { background: var(--green); color: var(--ink); }
.sheet-tag.new { left: auto; right: 12px; background: var(--pink); transform: rotate(5deg); }
.sheet-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sheet-info h3 { font-size: 18px; margin: 0; }
.sheet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.sheet-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background 150ms; }
.sheet-btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.sheet-btn:hover { background: var(--yellow); color: var(--ink); }
.sheet-btn.primary { grid-column: 1 / -1; background: var(--pink); box-shadow: 2px 2px 0 var(--ink); }
.sheet-btn.primary:hover { background: #ff6cc0; }

/* ===== Online tool feature (blue riso band) ===== */
.feature-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark h2 { color: var(--white); }
.lead-light { color: #e6ebfa; font-size: 19px; margin-bottom: 28px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature { display: flex; gap: 14px; padding: 18px; border: 2px solid var(--white); border-radius: 12px; }
.feature h3 { font-size: 19px; margin-bottom: 4px; color: var(--white); }
.feature p { margin: 0; color: #dfe6f7; font-size: 16px; }
.f-icon { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--yellow); }

/* ===== Seasonal & styles ===== */
.season-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 20px; }
.season-card { position: relative; display: flex; flex-direction: column; padding: 20px; border: var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--hard); transition: transform 180ms, box-shadow 180ms; }
.season-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-lg); color: var(--ink); }
.season-card p { color: var(--ink-soft); font-size: 16px; }
.season-thumb { display: block; width: 96px; aspect-ratio: 1; margin-bottom: 14px; padding: 6px; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; transform: rotate(-4deg); }
.season-thumb img, .season-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.season-thumbs { display: flex; gap: 12px; margin-bottom: 16px; }
.season-thumbs img { width: 120px; height: 120px; padding: 8px; background: var(--white); box-shadow: 4px 5px 0 rgba(26,23,20,.25); transform: rotate(-5deg); }
.season-thumbs img + img { transform: rotate(4deg) translateY(8px); }
.card-link { margin-top: auto; font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.season-featured { background: var(--green) var(--grain); }
.season-featured p { color: var(--ink); }
.badge { align-self: flex-start; font-family: var(--font-hand); font-weight: 700; font-size: 22px; line-height: 1; background: var(--yellow); border: 2px solid var(--ink); padding: 4px 12px 6px; border-radius: 8px; margin-bottom: 14px; transform: rotate(-3deg); }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.style-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 180ms, box-shadow 180ms; }
.style-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); color: var(--ink); }
.style-card h3 { font-size: 19px; margin-bottom: 4px; }
.style-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.style-icon { flex: none; width: 64px; height: 64px; padding: 5px; border: 2px solid var(--ink); border-radius: 10px; background: var(--c); }
.style-icon img { width: 100%; height: 100%; object-fit: contain; background: var(--white); border-radius: 5px; }
.style-icon-book { display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 10px 8px; }
.style-icon-book i { width: 12px; border: 2px solid var(--ink); background: var(--white); border-radius: 2px; }
.style-icon-book i:nth-child(1) { height: 70%; } .style-icon-book i:nth-child(2) { height: 92%; background: var(--yellow); } .style-icon-book i:nth-child(3) { height: 60%; transform: rotate(12deg); transform-origin: bottom; }

/* ===== Steps (parents & teachers) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 26px; border: var(--line); border-radius: var(--radius); background: var(--white); }
.step p { color: var(--ink-soft); margin: 0; }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: .9; margin-bottom: 10px; color: var(--white); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--pink); }
.step:nth-child(2) .step-num { text-shadow: 4px 4px 0 var(--sky); }
.step:nth-child(3) .step-num { text-shadow: 4px 4px 0 var(--yellow); }

/* ===== Tips & palettes ===== */
.tips-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.palette-cards { position: relative; background: var(--white); border: var(--line); border-radius: 6px; padding: 30px 28px 26px; box-shadow: var(--hard); transform: rotate(1.2deg); }
.palette-cards::before { content: ""; position: absolute; top: -14px; left: 30px; width: 90px; height: 28px; background: rgba(255, 72, 176, .5); transform: rotate(-6deg); }
.palette-title { margin-bottom: 18px; font-size: 24px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.swatches-lg i { width: 50px; height: 50px; }
.palette-note { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: var(--line); border-radius: 12px; padding: 0 22px; transition: box-shadow 150ms; }
.faq details[open] { box-shadow: var(--hard); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; padding: 18px 46px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-size: 22px; line-height: 1; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pink); }
.faq-a p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* ===== Products ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { position: relative; padding: 22px; border: var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--hard); }
.product-rank { position: absolute; top: -16px; right: 16px; font-family: var(--font-display); font-weight: 800; font-size: 20px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; }
.product-img { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 14px; border: 2px dashed var(--ink-soft); border-radius: 8px; color: var(--ink-soft); font-family: var(--font-hand); font-size: 26px; }
.product-meta { list-style: none; padding: 0; margin: 0 0 12px; font-size: 16px; color: var(--ink-soft); }

/* ===== Forms ===== */
.contact-form { display: grid; gap: 18px; margin-top: 24px; padding: 28px; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--hard); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; min-height: 50px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fffbe0; box-shadow: 3px 3px 0 var(--ink); }
.field [aria-invalid="true"] { border-color: #b4002f; background: #fff1f3; }
.field-error { color: #b4002f; font-size: 15px; font-weight: 700; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 15px; color: var(--ink-soft); margin: 0; }
.contact-form .btn { justify-self: start; }

/* ===== Final CTA ===== */
.final-cta { padding: 90px 0; background: var(--pink) var(--grain); border-top: var(--line); text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); mix-blend-mode: multiply; left: -120px; bottom: -200px; }
.final-cta::after { content: ""; position: absolute; width: 300px; aspect-ratio: 1; border-radius: 50%; background: var(--sky); mix-blend-mode: multiply; right: -90px; top: -140px; }
.final-inner { position: relative; z-index: 1; max-width: 800px; }
.final-cta h2 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.04em; }
.final-cta h2 span { display: block; font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; font-size: .7em; transform: rotate(-2deg); margin-top: 6px; }
.final-inner p { font-size: 20px; margin-bottom: 28px; }
.final-cta .hero-actions { justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #d9d2c4; padding: 64px 0 0; font-size: 16px; overflow: hidden; }
.site-footer .logo b { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-about { margin: 14px 0 18px; max-width: 320px; }
.footer-h { color: var(--yellow); font-size: 18px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:not(.btn) { color: #d9d2c4; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--paper); text-decoration: underline wavy var(--pink); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px dashed rgba(246,239,224,.3); font-size: 14px; }
.disclaimer { opacity: .75; }
.footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 12.6vw, 190px); line-height: .78; letter-spacing: -0.06em; text-align: center; color: var(--ink); -webkit-text-stroke: 2px #4a4339; margin: 20px 0 -0.12em; user-select: none; }

/* ===== Coloring tool ===== */
.colorizer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.colorizer[hidden] { display: none; }
.cz-backdrop { position: absolute; inset: 0; background: rgba(26,23,20,.72); }
.cz-panel { position: relative; width: min(1100px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--paper) var(--grain); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 10px 10px 0 var(--ink); }
.cz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--yellow); border-bottom: var(--line); flex-wrap: wrap; }
.cz-title { font-size: 22px; margin: 0; }
.cz-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); font-weight: 700; color: var(--ink); }
.cz-btn svg { width: 18px; height: 18px; fill: currentColor; }
.cz-btn:hover { background: #fffbe0; }
.cz-btn:disabled { opacity: .4; cursor: default; }
.cz-btn-accent { background: var(--pink); box-shadow: 2px 2px 0 var(--ink); }
.cz-btn-accent:hover { background: #ff6cc0; }
.cz-close { background: var(--ink); color: var(--paper); }
.cz-close:hover { background: var(--ink); }
.cz-body { display: grid; grid-template-columns: 1fr 290px; min-height: 0; flex: 1; }
.cz-stage { display: grid; place-items: center; padding: 18px; min-height: 0; overflow: auto; }
.cz-canvas-wrap { position: relative; width: min(100%, calc(100dvh - 150px)); aspect-ratio: 1; background: #fff; border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(26,23,20,.25); overflow: hidden; touch-action: none; }
.cz-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#cz-paint { cursor: crosshair; }
#cz-lines { pointer-events: none; }
.cz-side { padding: 18px; border-left: var(--line); background: var(--white); overflow-y: auto; display: grid; gap: 20px; align-content: start; }
.cz-label { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.cz-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cz-tool { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); }
.cz-tool svg { width: 26px; height: 26px; fill: currentColor; }
.cz-tool span { font-size: 14px; font-weight: 700; }
.cz-tool.is-active { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
#cz-size { width: 100%; accent-color: var(--ink); }
#cz-palette { width: 100%; min-height: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 10px; font: inherit; font-weight: 700; margin-bottom: 12px; background: var(--white); }
.cz-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cz-swatch { aspect-ratio: 1; min-width: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); }
.cz-swatch.is-active { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.cz-custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 700; font-size: 15px; }
.cz-custom input { width: 44px; height: 44px; border: 0; padding: 0; background: none; }
.cz-hint { font-family: var(--font-hand); font-size: 21px; line-height: 1.2; margin: 0; padding: 12px; background: #fffbe0; border: 2px dashed var(--ink); border-radius: 10px; }
body.cz-open { overflow: hidden; }

/* ===== Reveal motion ===== */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 550ms ease, translate 550ms ease; transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ===== Responsive ===== */
@media (max-width: 1150px) {
  .nav-list a, .sub-toggle { padding: 8px 8px; font-size: 15px; }
}
@media (max-width: 1023px) {
  .hero-grid, .feature-grid, .tips-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .page-hero-visual { width: min(100%, 280px); }
  .char-grid, .sheet-grid, .style-grid { grid-template-columns: repeat(3, 1fr); }
  .bento .char-card:last-child { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .bento .char-card:last-child .char-thumb { width: auto; }
  .season-grid { grid-template-columns: 1fr 1fr; }
  .season-featured { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; background: var(--paper) var(--grain); border-block: var(--line); display: none; }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 10px 16px 20px; }
  .nav-list a, .sub-toggle { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 19px; font-family: var(--font-display); }
  .sub-menu { position: static; box-shadow: none; border: 0; border-left: 2.5px solid var(--ink); border-radius: 0; margin: 0 0 8px 14px; padding: 0 0 0 6px; background: transparent; min-width: 0; }
  .sub-menu a { font-family: var(--font-body); font-size: 17px; }
  .menu-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .cz-body { grid-template-columns: 1fr; overflow-y: auto; }
  .cz-side { border-left: 0; border-top: var(--line); }
  .cz-canvas-wrap { width: min(100%, 60dvh); }
}
@media (max-width: 767px) {
  :root { --section-padding: 64px; --header-h: 66px; }
  body { font-size: 17px; }
  .hero { padding: 36px 0 48px; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-lead, .prose p, .prose li { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .hand-note { font-size: 23px; }
  .hand-note svg { margin-left: 90px; width: 70px; }
  .crayons i { height: 70px; width: 15px; }
  .page-hero { padding: 24px 0 48px; }
  .page-hero-visual { width: min(100%, 230px); }
  .char-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .char-card { padding: 12px 12px 14px; gap: 10px; }
  .char-name { font-size: 19px; }
  .bento .char-card:first-child .char-name { font-size: 28px; }
  .sheet-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .sheet-card::before { width: 60px; margin-left: -30px; }
  .sheet-thumb { padding: 10px; }
  .sheet-info { padding: 10px 10px 12px; }
  .sheet-info h3 { font-size: 15px; }
  .sheet-btn { font-size: 14px; padding: 0 6px; gap: 4px; }
  .sheet-btn svg { width: 15px; height: 15px; }
  .sheet-tag { font-size: 10px; top: 8px; left: 8px; }
  .sheet-tag.new { right: 8px; }
  .feature-list, .style-grid, .steps, .season-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .search { max-width: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding: 4px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
  .chip { flex: none; }
  table { font-size: 16px; }
  th, td { padding: 11px 12px; }
  .marquee-row a { font-size: 18px; }
  .colorizer { padding: 0; }
  .cz-panel { border-radius: 0; border: 0; max-height: 100dvh; height: 100dvh; box-shadow: none; }
  .cz-top { padding: 8px 10px; }
  .cz-title { font-size: 18px; width: 100%; }
  .cz-btn { padding: 0 9px; }
  .cz-swatches { grid-template-columns: repeat(8, 1fr); }
  .reveal { transition-delay: 0ms !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}
@media print {
  .site-header, .site-footer, .colorizer, .marquee { display: none; }
}

/* Kicker inside long-form text blocks */
.prose .eyebrow { font-size: 27px; color: var(--pink-ink); margin-bottom: 10px; }
.prose .eyebrow + h2 { margin-top: 0; }
@media (max-width: 767px) {
  .hero-visual { max-width: 300px; padding-bottom: 56px; }
  .quick-chars { margin-top: 22px; }
}

/* Tilted marquee bleeds past the edges; keep it from adding horizontal scroll */
main { overflow-x: clip; }

/* Group filter above collection galleries */
.page-filters { margin-bottom: 26px; }

/* Keep portrait sheets inside their square boxes instead of stretching the box */
.char-thumb, .sheet-thumb { --pad: 12px; position: relative; overflow: hidden; }
.char-thumb { --pad: 8px; }
.bento .char-card:first-child .char-thumb { --pad: 18px; }
.char-thumb img, .sheet-thumb img { position: absolute; inset: var(--pad); width: calc(100% - var(--pad) * 2); height: calc(100% - var(--pad) * 2); object-fit: contain; }
.char-thumb, .sheet-thumb { padding: 0; }
.bento .char-card:first-child .char-thumb { padding: 0; }

/* Longer brand name on small phones */
@media (max-width: 400px) { .logo { font-size: 22px; gap: 4px; } .logo-mark { width: 34px; height: 34px; } }
