:root {
  --paper: #ffffff;
  --ink: #1b2140; /* Body text, near-black navy */
  --blue: #2148d6; /* Blue fineliner ink: headings accents, borders, links */
  --blue-deep: #17368f;
  --sun: #ffd23f; /* Sunny highlighter yellow: marks, offsets, bands */
  --sun-soft: #fff3c2;
  --muted: #4a5170; /* 7:1 on white for secondary copy */
  --rule: #cdd6f5;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;
  --font-body: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
  --space: clamp(64px, 9vw, 128px);
  --wob: 26px 14px 30px 12px / 14px 30px 12px 26px;
  --wob-alt: 14px 30px 12px 26px / 26px 14px 30px 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-hand); font-weight: 700; line-height: .95; color: var(--blue-deep); }
h1 { font-size: clamp(60px, 8vw, 118px); letter-spacing: -.01em; }
h2 { font-size: clamp(48px, 6.4vw, 92px); letter-spacing: -.01em; }
h3 { font-size: clamp(32px, 3.4vw, 46px); }
p + p { margin-top: 1em; }
a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; width: 100%; height: auto; }
main { overflow: hidden; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 10; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flush { padding-top: 0; }
.lead-gap { margin-top: 24px; }
.gap-top { margin-top: 8px; }
.h2-sm { font-size: clamp(40px, 4.6vw, 64px); }
.actions.centered { justify-content: center; }

/* Hand-drawn borders and marks */
.wob { border: 2.5px solid var(--blue); border-radius: var(--wob); background: var(--paper); }
.mark { background: linear-gradient(100deg, transparent 0 4%, var(--sun) 4% 96%, transparent 96%) no-repeat 0 68% / 100% 46%; padding: 0 .08em; }
.js .mark { background-size: 0% 46%; transition: background-size .9s cubic-bezier(.3, .7, .2, 1) .15s; }
.js .mark.drawn { background-size: 100% 46%; }
.hand { font-family: var(--font-hand); font-weight: 700; color: var(--blue); }
.kicker { font-family: var(--font-hand); font-size: 28px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.doodle { width: 1em; height: 1em; flex: none; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: .5em; min-height: 52px; padding: 10px 26px; background: var(--sun); color: var(--ink); border: 2.5px solid var(--blue); border-radius: var(--wob-alt); font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 4px 4px 0 var(--blue); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--blue); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--blue); }
.button.ghost { background: var(--paper); }
.text-link { font-weight: 800; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); border-bottom: 2px dashed var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-hand); font-weight: 700; font-size: 38px; line-height: 1; color: var(--blue-deep); text-decoration: none; }
.wordmark .doodle { width: 34px; height: 34px; }
.desktop-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; }
.desktop-nav a:not(.button) { color: var(--ink); text-decoration: none; padding: 6px 0; background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 100% / 0 6px; transition: background-size .25s ease; }
.desktop-nav a:not(.button):hover, .desktop-nav a[aria-current="page"] { background-size: 100% 6px; }
.desktop-nav .button { min-height: 44px; padding: 6px 18px; font-size: 16px; box-shadow: 3px 3px 0 var(--blue); }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 6px 14px; border: 2.5px solid var(--blue); border-radius: var(--wob-alt); font-weight: 800; background: var(--paper); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-links { display: grid; gap: 4px; padding: 16px 0 8px; font-size: 20px; font-weight: 700; }
.mobile-links a { display: block; padding: 10px 2px; min-height: 44px; color: var(--ink); }
.mobile-links a[aria-current="page"] { color: var(--blue); }
.mobile-links .button { margin-top: 10px; justify-content: center; font-size: 18px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 var(--space); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-top: 14px; }
.lede { font-size: 20px; max-width: 34ch; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 34px; }
.hero-art { position: relative; transform: rotate(-2deg); }
.hero-art .wob { padding: 14px; background: var(--sun-soft); }
.hero-art img { border-radius: 14px 26px 16px 22px; }
.hero-note { position: absolute; right: -14px; bottom: -26px; background: var(--paper); padding: 6px 14px 8px; transform: rotate(4deg); font-family: var(--font-hand); font-size: 28px; font-weight: 700; color: var(--blue); }
.hero-note::after { content: ""; }

/* Sections and bands */
.section { padding-block: var(--space); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { max-width: 46ch; }
.band { background: var(--sun); color: var(--ink); border-top: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); }
.band h2, .band h3 { color: var(--blue-deep); }
.band .button { background: var(--paper); }

/* Work preview on home: asymmetric tiles */
.preview-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 36px); }
.tile { margin: 0; }
.tile .wob { padding: 10px; transform: rotate(var(--tilt, 0deg)); transition: transform .3s cubic-bezier(.3, .7, .2, 1), border-radius .3s ease; }
.tile img { border-radius: 10px; }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.tile figcaption strong { font-family: var(--font-hand); font-size: 32px; font-weight: 700; line-height: 1; color: var(--blue-deep); }
.tile figcaption span { font-size: 15px; color: var(--muted); white-space: nowrap; }
.tile:nth-child(1) { grid-column: 1 / span 7; --tilt: -1.2deg; }
.tile:nth-child(2) { grid-column: 8 / span 5; --tilt: 1.4deg; margin-top: 64px; }
.tile:nth-child(3) { grid-column: 2 / span 5; --tilt: .8deg; }
.tile:nth-child(4) { grid-column: 8 / span 5; --tilt: -1.6deg; margin-top: 30px; }
.tile:hover .wob, .tile:focus-within .wob { border-radius: var(--wob-alt); transform: rotate(0deg) translate(-4px, -4px); box-shadow: 8px 8px 0 var(--sun); }

/* Services as a list with doodle markers */
.offer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.offer { position: relative; padding-top: 18px; border-top: 2.5px dashed var(--blue); }
.offer .doodle { width: 56px; height: 56px; color: var(--blue); margin-bottom: 14px; }
.offer h3 { margin-bottom: 10px; }
.offer p { max-width: 36ch; }

/* Process teaser and steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 34px); counter-reset: step; }
.step { position: relative; padding: 22px 20px 26px; background: var(--paper); }
.step .num { display: inline-grid; place-items: center; width: 58px; height: 58px; font-family: var(--font-hand); font-size: 40px; font-weight: 700; color: var(--ink); background: var(--sun); border: 2.5px solid var(--blue); border-radius: var(--wob); margin-bottom: 16px; }
.step h3 { font-size: 36px; margin-bottom: 8px; }
.step p { font-size: 16px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -22px; width: 26px; height: 14px; background: url("art/arrow.svg") no-repeat center / contain; }

/* Quote and stat */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.quote { font-family: var(--font-hand); font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08; font-weight: 700; color: var(--blue-deep); }
.quote-by { margin-top: 18px; font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--muted); }
.stat-card { padding: 30px 32px; background: var(--sun-soft); transform: rotate(-1.5deg); }
.stat-card strong { display: block; font-family: var(--font-hand); font-size: clamp(90px, 13vw, 170px); line-height: .85; color: var(--blue-deep); }
.stat-card span { display: block; margin-top: 10px; font-weight: 800; font-size: 18px; }

/* Closing band */
.closing { padding: clamp(64px, 9vw, 120px) 0; }
.closing-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; }
.closing h2 { color: var(--blue-deep); }
.closing p { margin-top: 14px; font-size: 19px; max-width: 40ch; }

/* Page heading (inner pages) */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(60px, 8.6vw, 120px); }
.page-head p { font-size: 20px; max-width: 46ch; margin-top: 20px; }

/* Work gallery with CSS-only filter */
.sr-filter { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filters label { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border: 2.5px solid var(--blue); border-radius: var(--wob-alt); font-weight: 800; cursor: pointer; background: var(--paper); }
.filters label:hover { background: var(--sun-soft); }
.work-page:has(#k-all:checked) label[for="k-all"], .work-page:has(#k-books:checked) label[for="k-books"], .work-page:has(#k-posters:checked) label[for="k-posters"], .work-page:has(#k-packaging:checked) label[for="k-packaging"], .work-page:has(#k-editorial:checked) label[for="k-editorial"] { background: var(--sun); box-shadow: 3px 3px 0 var(--blue); }
.work-page:has(:focus-visible) .filters label { outline: none; }
.work-page:has(#k-all:focus-visible) label[for="k-all"], .work-page:has(#k-books:focus-visible) label[for="k-books"], .work-page:has(#k-posters:focus-visible) label[for="k-posters"], .work-page:has(#k-packaging:focus-visible) label[for="k-packaging"], .work-page:has(#k-editorial:focus-visible) label[for="k-editorial"] { outline: 3px solid var(--blue); outline-offset: 3px; }
#k-books:checked ~ .work-grid .item:not([data-kind="books"]),
#k-posters:checked ~ .work-grid .item:not([data-kind="posters"]),
#k-packaging:checked ~ .work-grid .item:not([data-kind="packaging"]),
#k-editorial:checked ~ .work-grid .item:not([data-kind="editorial"]) { display: none; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 36px); }
.item { margin: 0; }
.item:nth-child(3n+1) { grid-column: span 7; }
.item:nth-child(3n+2) { grid-column: span 5; margin-top: 56px; }
.item:nth-child(3n+3) { grid-column: span 6; }
.item .wob { padding: 12px; transform: rotate(var(--tilt, 0deg)); transition: transform .3s cubic-bezier(.3, .7, .2, 1), border-radius .3s ease, box-shadow .3s ease; }
.item:nth-child(odd) .wob { --tilt: -.8deg; }
.item:nth-child(even) .wob { --tilt: 1deg; }
.item:hover .wob, .item:focus-within .wob { border-radius: var(--wob-alt); transform: rotate(0) translate(-4px, -4px); box-shadow: 8px 8px 0 var(--sun); }
.item img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.item figcaption { padding: 16px 4px 0; }
.item h3 { font-size: 36px; }
.item .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 15px; color: var(--muted); font-weight: 700; }
.item p { font-size: 16px; margin-top: 8px; max-width: 46ch; }

/* Commission tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 32px); align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 28px 24px 26px; background: var(--paper); }
.tier h3 { font-size: 40px; }
.tier .price { margin: 12px 0 4px; font-family: var(--font-hand); font-size: 64px; font-weight: 700; line-height: .9; color: var(--blue-deep); }
.tier .price small { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 4px; }
.tier .size { font-weight: 800; color: var(--blue); margin-bottom: 16px; }
.tier ul { display: grid; gap: 10px; margin-bottom: 26px; }
.tier li { position: relative; padding-left: 26px; font-size: 16px; }
.tier li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 9px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.tier .button { margin-top: auto; justify-content: center; }
.tier.featured { background: var(--sun-soft); transform: rotate(-.8deg); }
.tier.featured .badge { display: inline-block; align-self: flex-start; font-family: var(--font-hand); font-size: 24px; font-weight: 700; color: var(--blue-deep); transform: rotate(-3deg); margin-bottom: 4px; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.checklist li { position: relative; padding: 10px 0 10px 40px; border-bottom: 1.5px dashed var(--rule); font-size: 18px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border: 2.5px solid var(--blue); border-radius: 6px 9px 5px 8px; }

/* Process page: long steps */
.long-steps { display: grid; gap: clamp(40px, 6vw, 72px); }
.long-step { display: grid; grid-template-columns: 150px 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.long-step .num { font-family: var(--font-hand); font-size: clamp(120px, 14vw, 180px); line-height: .8; font-weight: 700; color: var(--sun); -webkit-text-stroke: 2.5px var(--blue); }
.long-step img { border-radius: 14px 24px 16px 22px; }
.long-step h2 { font-size: clamp(48px, 5.6vw, 76px); margin-bottom: 14px; }
.long-step .frame { padding: 10px; background: var(--paper); transform: rotate(1deg); }
.long-step:nth-child(even) .frame { transform: rotate(-1deg); }
.long-step:nth-child(even) > div:not(.num) { order: 2; }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-grid .wob { padding: 12px; background: var(--sun-soft); transform: rotate(-1.5deg); }
.about-grid img { border-radius: 12px 22px 14px 20px; }
.desk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 32px; }
.desk div { padding: 14px 0; border-top: 1.5px dashed var(--rule); }
.desk dt { font-family: var(--font-hand); font-size: 30px; font-weight: 700; color: var(--blue-deep); line-height: 1; }
.desk dd { font-size: 16px; color: var(--muted); margin-top: 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-facts { display: grid; gap: 28px; }
.contact-facts h2 { font-size: 46px; margin-bottom: 8px; }
.contact-facts address { font-style: normal; font-size: 19px; }
.big-mail { font-family: var(--font-hand); font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 800; }
.enquiry { padding: clamp(24px, 3vw, 40px); background: var(--paper); }
.enquiry h2 { font-size: 52px; margin-bottom: 8px; }
.enquiry > p { margin-bottom: 20px; }
.enquiry-fallback { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1.5px dashed var(--rule); }
.enquiry-fallback p { font-size: 16px; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea { min-height: 48px; padding: 10px 14px; border: 2px solid var(--blue); border-radius: 12px 18px 12px 16px; background: var(--paper); font-size: 17px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: #e9ecff; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer .wordmark { color: var(--sun); font-size: 46px; }
.site-footer address, .site-footer p { font-style: normal; font-size: 16px; }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: var(--sun); }
.site-footer a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer h2 { font-family: var(--font-hand); font-size: 30px; color: var(--sun); font-weight: 700; margin-bottom: 8px; line-height: 1; }
.site-footer .footer-links { display: grid; gap: 6px; }
.site-footer .button { margin-top: 14px; color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-top: 48px; padding-top: 20px; border-top: 1.5px dashed #41498a; font-size: 14px; color: #bcc3ea; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* Privacy and 404 */
.prose { max-width: 66ch; }
.prose h2 { font-size: 46px; margin: 40px 0 10px; }
.prose p, .prose li { font-size: 18px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: grid; gap: 6px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound h1 { font-size: clamp(72px, 12vw, 160px); }
.notfound p { font-size: 20px; margin: 18px auto 30px; max-width: 36ch; }

/* Responsive */
@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n)::after { display: none; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .long-step { grid-template-columns: 1fr; }
  .long-step:nth-child(even) > div:not(.num) { order: 0; }
  .long-step .num { font-size: 110px; }
}
@media (max-width: 860px) {
  .hero-grid, .proof, .about-grid, .contact-grid, .notes, .closing-inner, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { transform: rotate(-1deg); max-width: 560px; }
  .offer-list { grid-template-columns: 1fr; }
  .preview-grid .tile, .work-grid .item { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .tile:nth-child(even) { margin-top: 0; }
  .stat-card { transform: none; }
  .closing-inner .button { justify-self: start; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wordmark { font-size: 32px; }
  .wordmark .doodle { width: 28px; height: 28px; }
  .tiers { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .desk { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-note { right: 8px; bottom: -18px; }
  .actions .button { width: 100%; justify-content: center; }
  .long-step .num { font-size: 96px; }
}

/* Motion: the highlighter marks draw in once the page is ready. Reduced motion shows them at once. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .mark { background-size: 100% 46%; }
}
