/* laetitiart: every screen is one of her drawings. A wall band over a table band of wax-crayon colour,
   works lying on the table as paper sheets. Crayon texture comes from the SVG filters in each page. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* her crayon colours */
  --lemon: #F7DF2E;
  --pink: #F06BA8;
  --tangerine: #FF8A26;
  --cobalt: #2A4BC0;
  --teal: #1FB3AE;
  --grass: #8CC540;
  --vermilion: #D42917;
  /* her blue-black outline, and the paper she draws on */
  --ink: #1E1B3A;
  --paper: #FDFDFB;

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: clamp(8px, 1.4vw, 18px);            /* paper margin around every field */
  --px: clamp(18px, 5vw, 76px);            /* field inner padding, x */
  --pt: clamp(28px, 4.5vw, 64px);          /* field inner padding, top */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sheet: 0 1px 2px rgba(30, 27, 58, .18), 0 14px 26px -12px rgba(30, 27, 58, .5);
  --shadow-lift: 0 2px 4px rgba(30, 27, 58, .16), 0 26px 40px -16px rgba(30, 27, 58, .55);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; caret-color: var(--vermilion); }
::selection { background: var(--lemon); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--paper); border-radius: 4px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font-size: 14px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 34em; }

/* ---------------------------------------------------------------- lettering: her crayon caps */
.lettering {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: .86; letter-spacing: -0.02em; filter: url(#crayon-type);
  font-size: clamp(52px, 7.6vw, 112px); hyphens: auto; overflow-wrap: break-word;
}
.h-small { font: 800 clamp(22px, 2vw, 28px)/1.1 var(--display); text-transform: uppercase; margin-bottom: 18px; }

/* ---------------------------------------------------------------- colour fields */
.wall-lemon { --wall: var(--lemon); }
.wall-pink { --wall: var(--pink); }
.wall-teal { --wall: var(--teal); }
.wall-tangerine { --wall: var(--tangerine); }
.wall-grass { --wall: var(--grass); }
.table-pink { --table: var(--pink); }
.table-tangerine { --table: var(--tangerine); }
.table-lemon { --table: var(--lemon); }
.table-cobalt { --table: var(--cobalt); --on-table: var(--paper); }

.field {
  --bleed: 110px;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
  margin: 0 var(--m) var(--m);
  padding: var(--pt) var(--px) clamp(44px, 6vw, 92px);
}
/* table: the whole field */
.field::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--table) url(texture/crayon-grain.webp) 280px 140px / 560px auto; background-blend-mode: soft-light;
  filter: url(#crayon-2);
}
/* wall: behind the first row, bleeding into the next so works straddle the edge */
.field::before {
  content: ""; position: absolute; z-index: -1; grid-area: 1 / 1 / 2 / 2;
  top: calc(-1 * var(--pt)); left: calc(-1 * var(--px)); right: calc(-1 * var(--px)); bottom: calc(-1 * var(--bleed));
  background: var(--wall) url(texture/crayon-grain.webp) 0 0 / 560px auto; background-blend-mode: soft-light;
  filter: url(#crayon);
}
.field-head { margin-bottom: clamp(36px, 5vw, 64px); }
.field-head .lede, .field-head > p { margin-top: 22px; }
.field-head--split { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 32px; align-items: start; }
.field > .btn { justify-self: start; margin-top: clamp(32px, 4vw, 56px); }
.on-dark .work-label, .on-dark .field > .small { color: var(--on-table, var(--ink)); }

/* ---------------------------------------------------------------- works as sheets */
.sheet { display: block; background: var(--paper); box-shadow: var(--shadow-sheet); transform: rotate(var(--tilt, 0deg)); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.sheet--paper { padding: 6%; }
.sheet img { width: 100%; height: auto; }
.work { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.work:hover .sheet, .work:focus-visible .sheet { transform: rotate(0deg) translateY(-8px); box-shadow: var(--shadow-lift); }
.work:focus-visible { box-shadow: none; outline-offset: 8px; }
.work-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 16px; }
.work-title { font: 700 18px/1.15 var(--display); }
.work-price, .flag { position: relative; z-index: 0; flex: none; font: 700 14px/1 var(--text); padding: 6px 10px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.work-price::before, .flag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); border-radius: 999px; filter: url(#crayon-pill); }
.flag { position: absolute; top: 10px; left: 10px; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

.table-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: flex-end; }
.table-row .work { flex: none; }
.table-row .sheet img { width: auto; height: clamp(200px, 27vw, 420px); }
.table-row .work-label { max-width: 100%; }
.table-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 4vw, 60px) clamp(18px, 3vw, 44px); align-items: end; }

/* ---------------------------------------------------------------- buttons: scribbled crayon capsules */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border: 0; background: none; cursor: pointer; text-decoration: none;
  font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .03em;
  color: var(--btn-fg, var(--paper));
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: var(--btn-bg, var(--ink)); filter: url(#crayon-pill);
  transition: transform .45s var(--ease-out), background-color .2s;
}
.btn:hover::before { transform: rotate(-2deg) scale(1.04); background: var(--btn-hover, var(--cobalt)); }
.btn:active::before { transform: scale(.97); }
.btn:focus-visible { border-radius: 999px; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: default; --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn[disabled]::before { box-shadow: inset 0 0 0 2.5px var(--ink); }
.btn[disabled]:hover::before { transform: none; background: var(--paper); }
.btn-paper { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-hover: var(--lemon); }
.text-btn { background: none; border: 0; padding: 8px 0; cursor: pointer; font: 700 15px var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 calc(var(--m) + clamp(10px, 2vw, 28px)); background: var(--paper);
}
.wordmark { font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--vermilion); text-decoration: none; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a, .footer-links a { position: relative; z-index: 0; font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; padding: 9px 4px; }
.nav a::before, .footer-links a::before { content: ""; position: absolute; inset: 4px -4px; z-index: -1; border-radius: 999px; background: var(--lemon); filter: url(#crayon-pill); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav a:hover::before, .footer-links a:hover::before { transform: scaleX(1); background: var(--pink); }
.nav a[aria-current=page]::before { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 8px 2px; font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.cart-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--ink); color: var(--paper); font: 700 13px/1 var(--text); transition: background .2s; }
.cart-count.has-items { background: var(--vermilion); }
.cart-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.35) rotate(-8deg); } }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; cursor: pointer; font: 700 14px/1 var(--display); text-transform: uppercase; }

/* ---------------------------------------------------------------- home: header set on the wall */
.home .site-header { background: transparent; transition: background-color .3s; }
.home .site-header.scrolled { background: var(--paper); }
.home .hero { margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--pt) + var(--header-h)); }
.home .hero::before { top: calc(-1 * (var(--pt) + var(--header-h))); }

/* ---------------------------------------------------------------- home: hero */
.hero { --bleed: 0px; min-height: calc(100svh - var(--header-h) - var(--m)); grid-template-rows: auto 1fr; }
.hero-title { grid-row: 1; color: var(--vermilion); font-size: clamp(84px, 11.6vw, 184px); line-height: .84; max-width: 50%; padding-bottom: clamp(40px, 5vw, 80px); }
.hero-title span { display: block; }
.hero-title span:nth-child(2) { padding-left: .62em; }
.hero-copy { grid-row: 2; align-self: end; max-width: min(460px, 44%); padding-top: 28px; }
.hero-copy .lede { margin-bottom: 26px; }
.pile { position: absolute; right: clamp(12px, 3vw, 56px); top: 7%; bottom: 5%; width: 52%; }
.pile-sheet { position: absolute; display: block; width: var(--w); left: var(--x); top: var(--y); transform: rotate(var(--r)); z-index: var(--z, 1); transition: transform .6s var(--ease-out); animation: settle 1.1s var(--ease-out) both; animation-delay: var(--d); }
.pile-sheet .sheet { transition: box-shadow .6s var(--ease-out); }
.pile-sheet:hover, .pile-sheet:focus-visible { transform: rotate(0deg) translateY(-10px) scale(1.03); z-index: 10; }
.pile-sheet:hover .sheet { box-shadow: var(--shadow-lift); }
.pile-sheet:focus-visible { box-shadow: none; outline-offset: 6px; }
.p0 { --x: 0%;  --y: 30%; --w: 40%; --r: -7deg; --d: .05s; }
.p1 { --x: 31%; --y: 2%;  --w: 36%; --r: 4deg;  --d: .15s; }
.p2 { --x: 61%; --y: 20%; --w: 38%; --r: -3deg; --d: .25s; }
.p3 { --x: 13%; --y: 58%; --w: 33%; --r: 6deg;  --d: .35s; --z: 2; }
.p4 { --x: 49%; --y: 55%; --w: 41%; --r: -5deg; --d: .45s; --z: 3; }
@keyframes settle { from { transform: translateY(-36px) rotate(calc(var(--r) + 9deg)); } }

/* ---------------------------------------------------------------- home: prints menu card */
.menu-card { background: var(--paper); padding: 24px 26px 18px; transform: rotate(1.6deg); box-shadow: var(--shadow-sheet); }
.menu-title { font: 800 20px/1.1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.menu { list-style: none; margin: 0 0 12px; padding: 0; font-variant-numeric: tabular-nums; }
.menu li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-weight: 600; }
.menu i { flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 45%, transparent); transform: translateY(-4px); }
.menu-note { font-size: 14px; margin: 0; color: color-mix(in srgb, var(--ink) 80%, var(--paper)); }

/* ---------------------------------------------------------------- commission block (home, auftrag, über) */
.commission { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.field:not(.listing) .commission { grid-row: 1; }
.commission-art { display: block; max-width: 560px; justify-self: center; text-decoration: none; }
.commission-art .sheet { --tilt: -2.5deg; }
.commission-art:hover .sheet { --tilt: 0deg; box-shadow: var(--shadow-lift); }
.commission-copy h2.lettering { margin-bottom: 24px; }
.commission-copy .btn { margin-top: 10px; }
.needs { margin: 0 0 22px; }
.needs div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.needs dt { font: 800 15px/1.5 var(--display); text-transform: uppercase; }
.needs dd { margin: 0; }
.prose p { max-width: 36em; }

/* ---------------------------------------------------------------- listing pages */
.listing { --bleed: 90px; }
.split-field { --bleed: -38%; }
.listing-head { max-width: 900px; }

/* ---------------------------------------------------------------- work page */
.detail-field { --bleed: -30%; }
.detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.zoom-btn { display: block; width: 100%; padding: clamp(8px, 2vw, 28px); border: 0; background: none; cursor: zoom-in; }
.zoom-btn .sheet { --tilt: -1.5deg; }
.zoom-btn:hover .sheet { --tilt: 0deg; box-shadow: var(--shadow-lift); }
.detail-info { position: sticky; top: calc(var(--header-h) + 24px); }
.crumb { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.arrow { flex: none; }
.detail-title { font-size: clamp(42px, 5vw, 80px); margin-bottom: 14px; }
.subtitle { font: 600 20px/1.3 var(--display); margin-bottom: 4px; }
.kind { font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.detail-price { font: 800 clamp(40px, 4vw, 56px)/1 var(--display); margin-bottom: 22px; font-variant-numeric: tabular-nums; }

/* size picker: squares drawn to scale, the chosen one previews the print */
.sizes { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.sizes legend span { font-weight: 800; }
.size-row { container-type: inline-size; display: flex; align-items: flex-end; gap: 10px; }
.size { --u: min(1.9px, (100cqi - 50px) / 270); position: relative; min-width: 40px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size-square {
  display: block; width: calc(var(--cm) * var(--u)); aspect-ratio: 1;
  border: 2.5px solid var(--ink); border-radius: 2px; background: color-mix(in srgb, var(--paper) 30%, transparent);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .2s;
}
.size:hover .size-square { background: color-mix(in srgb, var(--paper) 70%, transparent); transform: rotate(-2deg); }
.size input:checked + .size-square { border: 3px solid var(--paper); background: var(--art) center / cover; box-shadow: var(--shadow-sheet); transform: rotate(-3deg); }
.size input:focus-visible + .size-square { outline: 3px solid var(--ink); outline-offset: 4px; }
.size-cm { font: 800 15px/1 var(--display); }
.size-price { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.size input:checked ~ .size-cm { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

.specs { margin: 28px 0 0; font-size: 15px; }
.specs div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 11px 0; border-top: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.specs dt { font: 800 14px/1.6 var(--display); text-transform: uppercase; }
.specs dd { margin: 0; }
.mail-note { margin: 10px 0 4px; }
.detail-info .mail-note + .small { margin-top: 0; }

.zoom { border: 0; padding: 0; max-width: 96vw; max-height: 96vh; background: transparent; }
.zoom::backdrop { background: color-mix(in srgb, var(--ink) 92%, transparent); }
.zoom img { max-width: 94vw; max-height: 88vh; width: auto; margin: 0 auto; }
.zoom .text-btn { color: var(--paper); display: block; margin: 0 0 8px auto; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 16px; max-width: 620px; }
.form label { display: grid; gap: 6px; font: 800 14px/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.form input, .form textarea { font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 30%, transparent); }
.form .btn { justify-self: start; }
.card-note { background: var(--paper); padding: 26px 28px 12px; transform: rotate(1.6deg); box-shadow: var(--shadow-sheet); }
.note-name { font: 800 26px/1.1 var(--display); text-transform: uppercase; }
.card-note a { font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: clamp(64px, 7vw, 96px) calc(var(--m) + var(--px)) 28px; }
.footer-mark { display: block; width: fit-content; font: 800 clamp(64px, 14.5vw, 232px)/.84 var(--display); text-transform: uppercase; letter-spacing: -0.02em; color: var(--cobalt); text-decoration: none; filter: url(#crayon-type); margin-bottom: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 24px; }
.footer-base { font-size: 13px; margin: 0; color: color-mix(in srgb, var(--ink) 75%, var(--paper)); }

/* ---------------------------------------------------------------- cart drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--ink) 40%, transparent); opacity: 0; transition: opacity .3s var(--ease-out); }
.drawer-backdrop.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--paper); transform: translateX(104%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; box-shadow: -24px 0 60px -30px rgba(30, 27, 58, .5); }
.drawer.open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 16px; }
.drawer-head h2 { font: 800 38px/1 var(--display); text-transform: uppercase; color: var(--vermilion); filter: url(#crayon-type); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer-foot { padding: 20px 24px 24px; background: var(--lemon); }
.drawer-foot .row { display: flex; justify-content: space-between; font: 800 19px/1.2 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 2px solid color-mix(in srgb, var(--ink) 15%, transparent); align-items: start; }
.line-img { display: block; background: var(--paper); padding: 5px; box-shadow: var(--shadow-sheet); transform: rotate(-2deg); }
.line h3 { font: 700 19px/1.15 var(--display); }
.line p { margin: 3px 0 0; font-size: 14px; }
.line-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border: 2px solid var(--ink); border-radius: 999px; }
.qty button { width: 32px; height: 30px; background: none; border: 0; cursor: pointer; font: 700 16px var(--text); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; }
.remove { margin-left: 12px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.line p + .remove { margin-left: 0; }
.empty { padding: 40px 0; }
.empty p { font: 800 22px/1.2 var(--display); text-transform: uppercase; }
.drawer-foot .mail-note { margin: 10px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .table-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 12px; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .menu-toggle { display: inline-block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; isolation: isolate; background: var(--paper); display: none; flex-direction: column; gap: 4px; padding: 28px calc(var(--m) + 22px); }
  .nav::after { content: ""; position: absolute; inset: 0 var(--m) var(--m); z-index: -1; background: var(--teal) url(texture/crayon-grain.webp) 0 0 / 560px auto; background-blend-mode: soft-light; filter: url(#crayon); }
  .nav.open { display: flex; }
  .nav a { font-size: clamp(34px, 10vw, 48px); font-weight: 800; padding: 6px 4px; width: fit-content; letter-spacing: -0.01em; filter: url(#crayon-type); }
  .menu-open .site-header { background: var(--paper); }
  .hero { min-height: 0; grid-template-rows: auto auto auto; }
  .hero-title { max-width: none; font-size: clamp(76px, 25vw, 150px); padding-bottom: 0; }
  .pile { position: relative; grid-row: 2; right: auto; top: auto; bottom: auto; width: 100%; aspect-ratio: 1 / .7; margin: 4px 0 0; }
  .p0 { --x: 0%;  --y: 18%; --w: 34%; }
  .p1 { --x: 30%; --y: 0%;  --w: 32%; }
  .p2 { --x: 64%; --y: 14%; --w: 34%; }
  .p3 { --x: 12%; --y: 54%; --w: 30%; }
  .p4 { --x: 48%; --y: 50%; --w: 36%; }
  .hero::before { grid-area: 1 / 1 / 2 / 2; bottom: -30vw; }
  .hero-copy { grid-row: 3; max-width: none; padding-top: 12px; }
  .field-head--split, .commission, .detail, .contact { grid-template-columns: minmax(0, 1fr); }
  .table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-info { position: static; }
  .detail-field { --bleed: -45%; }
  .commission-art { max-width: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wordmark { font-size: 23px; }
  .table-row { gap: 18px; }
  .table-row .sheet img { height: 190px; }
  .table-grid { gap: 30px 16px; }
  .work-label { flex-direction: column; align-items: flex-start; gap: 8px; }
  .work-title { font-size: 16px; }
  .lettering { font-size: clamp(48px, 15vw, 80px); }
  .hero-title { font-size: clamp(72px, 23vw, 112px); }
  .hero-copy .lede { font-size: 17px; margin-bottom: 18px; }
  .detail-title { font-size: clamp(38px, 11vw, 60px); }
  .size-row { gap: 6px; }
  .size { --u: min(1.9px, (100cqi - 60px) / 270); }
  .size-price { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
