/* ==========================================================================
   BlackPrint - styles
   Mobile first. Sections in order:
   1 Fonts  2 Tokens  3 Base  4 Buttons  5 Header/nav  6 Hero  7 Sections
   8 Cards  9 Sets  10 Prints toolbar  11 Custom  12 About  13 Contact/form
   14 Footer  15 Pop-up  16 Legal pages  17 Motion
   To change the accent colour, edit --lime in section 2.
   ========================================================================== */

/* ---------- 1. Fonts (hosted locally in assets/fonts) ---------- */
@font-face {
  font-family: "Anton";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/anton-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/anton-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: "Lexend";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/lexend-latin-ext.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/lexend-latin.woff2") format("woff2-variations");
  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: "Permanent Marker";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/permanent-marker-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;
}

/* ---------- 2. Design tokens ---------- */
:root {
  --ink: #000000;
  --paper: #ffffff;
  --grey: #ededea;        /* product tiles and quiet sections */
  --grey-2: #d4d4ce;      /* borders on grey */
  --mid: #55554f;         /* secondary text (6.9:1 on white) */
  --lime: #c8ff2e;        /* the single accent colour */
  --danger: #b00020;

  --font-display: "Anton", Impact, "Arial Narrow Bold", "Helvetica Neue", sans-serif;
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-marker: "Permanent Marker", "Segoe Print", "Comic Sans MS", cursive;

  /* Slightly uneven corners, like a hand-cut sticker */
  --radius-card: 22px 12px 26px 14px / 14px 26px 12px 22px;
  --radius-big: 30px 14px 34px 16px / 16px 34px 14px 30px;

  --header-h: 4.25rem;
  --gutter: 1rem;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--lime); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus, var(--ink));
  outline-offset: 3px;
}

.container { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; top: -4rem; left: 1rem; z-index: 200;
  background: var(--lime); color: var(--ink); font-weight: 600;
  padding: .75rem 1.1rem; border: 2px solid var(--ink); border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

/* Display headings: big, heavy, condensed */
h2, .hero__headline, .card__title, .price, .dialog__title, .set-card__title, .footer__h {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
}
h2 { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5rem); line-height: .96; text-wrap: balance; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-shadow: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.4rem;
  border: 2px solid var(--ink); border-radius: 12px 8px 14px 8px;
  background: var(--paper); color: var(--ink);
  font: 600 1rem/1.2 var(--font-body); text-align: center; text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--btn-shadow);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--btn-shadow); text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--btn-shadow); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 2px 2px 0 var(--btn-shadow); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--ghost { background: transparent; }
.btn--sm { min-height: 2.75rem; padding: 0 .9rem; font-size: .92rem; }
.btn--wide { width: 100%; min-height: 3.25rem; font-size: 1.05rem; }

.section--dark .btn { --btn-shadow: var(--paper); border-color: var(--paper); }
.section--dark .btn--lime { border-color: var(--lime); }
.section--dark .btn--ghost { color: var(--paper); }
.section--dark .btn--primary { background: var(--paper); color: var(--ink); }
/* ...but buttons inside white cards keep the normal (light) look */
.section--dark .card .btn, .section--dark .set-card .btn { --btn-shadow: var(--ink); border-color: var(--ink); }
.section--dark .card .btn--ghost, .section--dark .set-card .btn--ghost { color: var(--ink); }

/* ---------- 5. Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; padding: .25rem 0; border-radius: 8px; }
.brand img { display: block; width: auto; height: 2.5rem; }

.nav__list { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; }
.nav__list a {
  display: block; padding: .6rem .8rem; border-radius: 8px;
  font-weight: 500; font-size: .95rem; text-decoration: none;
}
.nav__list a:hover { background: var(--grey); }
.nav__list a[aria-current="true"] { font-weight: 700; box-shadow: inset 0 -4px 0 var(--lime); border-radius: 8px 8px 0 0; }
.nav__cta { margin-left: .5rem; }

.menu-toggle {
  display: none; width: 3rem; height: 3rem; padding: 0;
  align-items: center; justify-content: center;
  background: var(--lime); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 1.4rem; height: 3px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Below 68rem: simple stacked nav when JavaScript is off, full-screen menu when on */
@media (max-width: 67.99rem) {
  .header__inner { flex-wrap: wrap; padding-block: .5rem; }
  .nav { order: 3; width: 100%; padding-bottom: .75rem; }
  .nav__cta { margin: .5rem 0 0; }
}
@media (max-width: 67.99rem) and (scripting: enabled) {
  .header__inner { flex-wrap: nowrap; padding-block: 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--ink); color: var(--paper); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    --focus: var(--lime);
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0;
    font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; text-transform: uppercase; line-height: 1.1;
  }
  .nav__list a:hover { background: none; color: var(--lime); }
  .nav__list a[aria-current="true"] { box-shadow: none; color: var(--lime); font-weight: 400; }
  .nav__cta { width: 100%; margin: 0; --btn-shadow: var(--paper); border-color: var(--lime); min-height: 3.5rem; }
}
@media (min-width: 68rem) {
  :root { --header-h: 4.75rem; }
  .brand img { height: 2.75rem; }
  .nav { display: flex; align-items: center; gap: .5rem; }
  .nav__list a { padding: .65rem .75rem; }
}

/* Floating order button on phones and tablets */
.fab {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 45;
  display: none; align-items: center; min-height: 3.25rem; padding: 0 1.3rem;
  background: var(--lime); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
@media (max-width: 67.99rem) { .fab { display: inline-flex; } }
.fab.is-hidden { opacity: 0; transform: translateY(160%); pointer-events: none; visibility: hidden; }

/* ---------- 6. Hero ---------- */
.hero { padding: 1.25rem 0 clamp(3rem, 7vw, 6rem); }

.hero__top { container-type: inline-size; }
.hero__word {
  margin: 0; white-space: nowrap;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  line-height: .86; letter-spacing: 0;
  font-size: min(20vw, 15rem);               /* fallback */
  font-size: calc(100cqw / 4.42);            /* fills the full width of the page column */
}

.hero__body { display: grid; gap: 2.25rem; margin-top: 1.25rem; }
.hero__headline { font-size: clamp(2.6rem, 1.2rem + 6.4vw, 5.25rem); line-height: .98; margin: 0 0 1.1rem; }
.hero__lead { font-size: 1.15rem; max-width: 30rem; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions .btn { flex: 1 1 11rem; }
.hero__note { margin: 1.5rem 0 0; font-size: .9rem; color: var(--mid); }

.hero__art {
  position: relative; width: min(100%, 38rem); aspect-ratio: 600 / 560;
  margin-inline: auto; margin-top: .5rem;
}
.hero__blob { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__blob-fill { fill: var(--lime); stroke: var(--ink); stroke-width: 3; }
.hero__blob-shadow { fill: var(--ink); }

.sticker {
  --w: 40%; --r: 0deg;
  position: absolute; margin: 0; width: var(--w);
  padding: 2.4%; background: var(--paper);
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(var(--r));
  animation: drop .7s cubic-bezier(.2, .9, .3, 1.15) backwards;
  animation-delay: calc(var(--i, 0) * 90ms + 150ms);
}
.sticker img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--grey); }
.sticker::before {
  content: ""; position: absolute; top: -.7rem; left: 50%; width: 34%; height: 1.1rem;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(0, 0, 0, .28);
  transform: translateX(-50%) rotate(-3deg);
}
.sticker--spider   { --w: 41%; --r: -6deg; --i: 0; left: 2%;  top: 9%;  z-index: 2; }
.sticker--skeleton { --w: 34%; --r: 5deg;  --i: 1; left: 50%; top: 3%;  z-index: 3; }
.sticker--lizard   { --w: 44%; --r: -3deg; --i: 2; left: 46%; top: 45%; z-index: 4; }
.sticker--spinner  { --w: 30%; --r: 7deg;  --i: 3; left: 6%;  top: 57%; z-index: 3; }

.note {
  position: absolute; z-index: 6; margin: 0; white-space: nowrap;
  font: 400 clamp(1rem, .6rem + 2.4vw, 1.6rem)/1 var(--font-marker); color: var(--ink);
  animation: fade-in .5s ease 1s backwards;
}
.note svg { position: absolute; width: 2.4em; height: 1.9em; }
.note--pose { right: 3.5%; top: 34%; width: 2.9em; white-space: normal; text-align: center; line-height: .95; transform: rotate(7deg); }
.note--pose svg { left: -1.2em; top: -1.9em; transform: scaleX(-1) rotate(-100deg); }
.note--spin { left: 2%; top: 92%; transform: rotate(-5deg); }
.note--spin svg { left: 2.6em; top: -1.7em; transform: rotate(-60deg) scaleX(-1); }

@media (min-width: 60rem) {
  .hero { padding-top: 1.75rem; }
  .hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3rem; align-items: start; margin-top: 0; }
  .hero__copy { padding-top: 1.5rem; }
  .hero__art { margin-top: clamp(-4.5rem, -5vw, -2rem); margin-right: 0; }
}

/* ---------- 7. Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--dark { background: var(--ink); color: var(--paper); --focus: var(--lime); }
.section--grey { background: var(--grey); }

.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .9rem; }
.section-head p { margin: 0; font-size: 1.1rem; color: var(--mid); max-width: 34rem; }
.section--dark .section-head p { color: #d4d4ce; }

/* ---------- 8. Cards ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }

.grid--prints { gap: 1rem; }
@media (min-width: 23rem) { .grid--prints { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid--prints { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }
@media (min-width: 80rem) { .grid--prints.grid--many { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (min-width: 54rem) { .grid--picks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.grid--picks[data-count="1"] { max-width: 26rem; }
@media (min-width: 40rem) and (max-width: 53.99rem) { .grid--picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  --shadow-color: var(--ink); --focus: var(--ink);
  container: card / inline-size;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius-card);
  box-shadow: 6px 6px 0 var(--shadow-color);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.section--dark .card { --shadow-color: var(--lime); }
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--shadow-color); }

.card__media {
  position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer;
  background: var(--grey); border-bottom: 2px solid var(--ink);
}
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card__media img { transform: scale(1.05); }

.badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .2rem .7rem; background: var(--lime); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px 3px 8px 3px;
  font-size: .85rem; font-weight: 700; line-height: 1.3;
  transform: rotate(-4deg);
}
.badge--sold { background: var(--ink); color: var(--paper); }
.badge--static { position: static; display: inline-block; margin: 0 0 .75rem; }

.card__body { display: flex; flex-direction: column; gap: .65rem; flex: 1; padding: 1rem 1.1rem 1.25rem; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.card__title { font-size: 1.85rem; line-height: 1; }
.price { margin: 0; font-size: 1.6rem; line-height: 1; white-space: nowrap; }
.price--ask { font: 600 .9rem/1.2 var(--font-body); text-transform: none; letter-spacing: 0; white-space: normal; }
.card__desc { margin: 0; font-size: .95rem; line-height: 1.55; color: #33332f; }
.grid--prints .card__desc { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; list-style: none; }
.tag { padding: .1rem .65rem; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 500; line-height: 1.5; }
.swatch-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 500; }
.swatch { width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid var(--ink); background: var(--sw, var(--grey)); flex: none; }

.card__actions { display: grid; gap: .6rem; margin-top: auto; padding-top: .5rem; }
@container card (min-width: 18.5rem) { .card__actions { grid-template-columns: 1fr 1fr; } }
@container card (max-width: 15rem) {
  .card__head { flex-direction: column; gap: .3rem; }
  .card__title { font-size: 1.45rem; }
  .price { font-size: 1.3rem; }
  .card__body { padding: .85rem .85rem 1rem; }
  .card__desc { font-size: .85rem; }
}

/* ---------- 9. Sets ---------- */
@media (min-width: 56rem) { .grid--sets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }

.set-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-big);
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.set-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.set-card__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 6% 5%;
  background: var(--grey); border-bottom: 2px solid var(--ink);
}
.set-card__media > img.set-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage { display: flex; align-items: center; justify-content: center; width: 100%; }
.collage img {
  --w: 50%;
  flex: none; width: var(--w); aspect-ratio: 1; object-fit: cover;
  background: var(--paper); border: 6px solid var(--paper);
  box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink);
}
.collage img + img { margin-left: -7%; }
.collage[data-n="1"] img { --w: 62%; }
.collage[data-n="3"] img { --w: 35%; }
.collage img:nth-child(1) { transform: rotate(-6deg) translateY(4%); }
.collage img:nth-child(2) { transform: rotate(4deg) translateY(-4%); z-index: 2; }
.collage img:nth-child(3) { transform: rotate(-3deg) translateY(5%); z-index: 3; }

.set-card__body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: 1.5rem; }
.set-card__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3rem); line-height: 1; }
.set-card__desc { margin: 0; font-size: 1.05rem; color: #33332f; }
.set-card__items { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; }
.set-card__items-label { margin: 0; font-weight: 600; font-size: .95rem; }
.set-item {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: 0 .9rem;
  background: var(--grey); border: 2px solid var(--ink); border-radius: 999px;
  font: 600 .92rem/1 var(--font-body); color: var(--ink); cursor: pointer;
}
.set-item:hover { background: var(--lime); }
.set-item svg { width: .9rem; height: .9rem; }
.set-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .5rem; }
.set-card__foot .price { font-size: 2rem; }
.set-card__foot .price--ask { font-size: 1rem; }

/* ---------- 10. Prints toolbar ---------- */
.toolbar { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.search .input {
  padding-left: 3rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 L21 21'/%3E%3C/svg%3E") no-repeat 1rem 50% / 1.3rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  min-height: 2.75rem; padding: 0 1.1rem;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  font: 600 .95rem/1 var(--font-body); cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.chip:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.chip[aria-pressed="true"] { background: var(--lime); box-shadow: 3px 3px 0 var(--ink); }
.results { margin: 0 0 1.25rem; font-size: .9rem; color: var(--mid); min-height: 1.5em; }

.empty { padding: 2.5rem 1.5rem; text-align: center; border: 2px dashed var(--ink); border-radius: var(--radius-card); background: var(--paper); }
.empty__title { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; margin-bottom: .5rem; }
.noscript { padding: 1rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; }

@media (min-width: 60rem) {
  .toolbar { grid-template-columns: minmax(14rem, 22rem) 1fr; align-items: center; gap: 1.5rem; }
  .chips { justify-content: flex-end; }
}

/* ---------- 11. Custom prints ---------- */
.custom__grid { display: grid; gap: 2.5rem; align-items: center; }
.custom__lead { font-size: 1.3rem; font-weight: 600; line-height: 1.4; margin: 1.25rem 0 .6rem; max-width: 30rem; }
.custom__copy p { max-width: 34rem; }
.ideas { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 2rem; list-style: none; }
.ideas li {
  padding: .45rem 1rem; border: 2px dashed var(--lime); border-radius: 999px;
  font-weight: 500; transform: rotate(-1.5deg);
}
.ideas li:nth-child(even) { transform: rotate(1.5deg); }
.fine { margin: 1.25rem 0 0; font-size: .9rem; color: var(--mid); max-width: 30rem; }
.section--dark .fine { color: #d4d4ce; }
.custom__art { max-width: 26rem; width: 100%; margin-inline: auto; }
.custom__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.sk { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sk--ghost { stroke: var(--paper); stroke-width: 2.5; stroke-dasharray: 3 11; opacity: .7; }
.sk--dim { stroke: var(--paper); stroke-width: 2.5; }
.sk--spark { stroke: var(--lime); stroke-width: 3; }
.sk__text { fill: var(--paper); font: 400 24px/1 var(--font-marker); }
@media (min-width: 56rem) { .custom__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

/* ---------- 12. About ---------- */
.about__grid { display: grid; gap: 2.5rem; align-items: center; }
.about__copy h2 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.25rem); margin-bottom: 1.25rem; max-width: 16ch; }
.about__copy p { max-width: 34rem; font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; list-style: none; }
.facts li { padding: .5rem 1rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .95rem; background: var(--paper); }
.about__art { max-width: 24rem; width: 100%; margin-inline: auto; }
.about__frame {
  padding: clamp(1.5rem, 5vw, 2.5rem); background: var(--grey);
  border: 2px solid var(--ink); border-radius: var(--radius-big); box-shadow: 9px 9px 0 var(--lime), 9px 9px 0 2px var(--ink);
  transform: rotate(2deg);
}
.about__frame img { display: block; width: 100%; height: auto; }
@media (min-width: 56rem) { .about__grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }

/* ---------- 13. Contact and form ---------- */
.contact__grid { display: grid; gap: 2.5rem; align-items: start; }
.contact__info h2 { margin-bottom: 1rem; }
.contact__lead { font-size: 1.1rem; max-width: 30rem; }

.contact-list { margin: 2rem 0; display: grid; gap: 1.25rem; }
.contact-list dt { font-weight: 600; font-size: .9rem; color: var(--mid); }
.contact-list dd { margin: .1rem 0 0; font-size: 1.1rem; }
.contact-list a { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; text-decoration: none; letter-spacing: .01em; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 5px; }

.steps { counter-reset: step; list-style: none; display: grid; gap: .9rem; max-width: 28rem; }
.steps li { counter-increment: step; display: flex; gap: .85rem; align-items: flex-start; }
.steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center;
  width: 2rem; height: 2rem; margin-top: .05rem;
  background: var(--ink); color: var(--paper); border-radius: 50%;
  font: 700 .95rem/1 var(--font-body);
}

.contact__form { min-width: 0; }
.form {
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-big);
  box-shadow: 8px 8px 0 var(--ink);
}
.callout {
  margin: 0 0 1.5rem; padding: .9rem 1.1rem;
  background: var(--lime); border: 2px solid var(--ink); border-radius: 12px 6px 14px 6px;
  font-weight: 600; line-height: 1.5;
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 34rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; }
.req, .opt { font-weight: 400; font-size: .85rem; color: var(--mid); }
.hint { margin: .4rem 0 1.1rem; font-size: .85rem; line-height: 1.5; color: var(--mid); }
.field .hint { margin-bottom: 0; }

.input {
  display: block; width: 100%; min-height: 3rem; padding: .7rem .9rem;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px;
  font: 400 1rem/1.4 var(--font-body);
  transition: box-shadow .15s ease;
}
textarea.input { resize: vertical; min-height: 6rem; }
select.input { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9 L12 16 L19 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; }
.input:focus { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 4px 4px 0 var(--lime); }
.input:user-invalid { border-color: var(--danger); }
.input::placeholder { color: #77776f; }

.check { display: flex; gap: .8rem; align-items: flex-start; margin: 1.4rem 0; }
.check input { flex: none; width: 1.6rem; height: 1.6rem; margin: .1rem 0 0; accent-color: var(--ink); }
.form .check label { margin: 0; font-weight: 400; font-size: .95rem; line-height: 1.55; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin: 1rem 0 0; font-weight: 500; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status[data-state="ok"] { padding: 1rem 1.1rem; background: var(--lime); border: 2px solid var(--ink); border-radius: 12px 6px 14px 6px; font-weight: 600; }
.form__status[data-state="info"] { padding: 1rem 1.1rem; background: var(--grey); border: 2px solid var(--ink); border-radius: 12px 6px 14px 6px; }
.form__status[data-state="error"] { color: var(--danger); }

@media (min-width: 60rem) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 6vw, 4rem) 0 5.5rem; --focus: var(--lime); }
.footer__grid { display: grid; gap: 2rem; }
.footer__logo { display: block; width: 11.25rem; height: auto; margin-bottom: 1rem; filter: invert(1); }
.footer__tag { font-size: 1.05rem; margin-bottom: .25rem; }
.footer__h { font-size: 1.35rem; margin: 0 0 .75rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { text-decoration-color: rgba(255, 255, 255, .45); }
.site-footer a:hover { text-decoration-color: var(--lime); color: var(--lime); }
.footer__social { margin-top: .75rem; }
.footer__bottom { display: grid; gap: .25rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; color: #cfcfc9; }
.footer__bottom p { margin: 0; }
@media (min-width: 48rem) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
  .footer__bottom { grid-template-columns: auto 1fr; gap: 2rem; }
  .footer__bottom p:last-child { text-align: right; }
}
@media (min-width: 68rem) { .site-footer { padding-bottom: 3rem; } }

/* ---------- 15. Product pop-up ---------- */
.dialog {
  --focus: var(--ink);
  width: min(58rem, calc(100% - 1.5rem)); max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem);
  padding: 0; overflow: auto;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius-big);
  box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 2px var(--ink);
}
.dialog[open] { animation: pop .22s ease-out; }
.dialog::backdrop { background: rgba(0, 0, 0, .78); }
.dialog__close {
  position: absolute; top: .75rem; right: .75rem; z-index: 3;
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50%; cursor: pointer;
}
.dialog__close:hover { background: var(--lime); }
.dialog__close svg { width: 1.2rem; height: 1.2rem; }
.dialog__grid { display: grid; }
.dialog__stage { aspect-ratio: 4 / 3; background: var(--grey); border-bottom: 2px solid var(--ink); }
.dialog__stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dialog__thumbs { display: flex; flex-wrap: wrap; gap: .6rem; padding: .85rem; background: var(--paper); }
.dialog__thumbs:empty { display: none; }
.thumb { width: 4.25rem; height: 4.25rem; padding: 0; overflow: hidden; background: var(--grey); border: 2px solid var(--ink); border-radius: 8px; cursor: pointer; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--lime); }
.dialog__body { padding: 1.5rem 1.5rem 1.75rem; }
.dialog__title { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem); line-height: 1; padding-right: 3rem; margin-bottom: .5rem; }
.dialog__price { font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-bottom: 1rem; }
.dialog__price.price--ask { font: 600 1rem/1.2 var(--font-body); }
.dialog__facts { display: grid; gap: .6rem; margin: 1.25rem 0; }
.dialog__facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; }
.dialog__facts dt { font-weight: 600; }
.dialog__facts dd { margin: 0; }
.dialog__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.dialog .fine { color: var(--mid); }
@media (min-width: 44rem) {
  .dialog__grid { grid-template-columns: 1.05fr 1fr; }
  .dialog__gallery { border-right: 2px solid var(--ink); }
  .dialog__stage { aspect-ratio: 1; border-bottom: 0; }
  .dialog__thumbs { border-top: 2px solid var(--ink); }
  .dialog__body { padding: 2rem 2rem 2.25rem; }
}

/* ---------- 16. Legal pages ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal__inner { max-width: 46rem; }
.legal h1 { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 5vw, 5rem); line-height: .98; text-transform: uppercase; margin-bottom: 1rem; }
.legal h2 { font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { max-width: 42rem; }
.legal ul, .legal ol { padding-left: 1.4rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--mid); font-size: .9rem; }
.legal .draft-banner, .legal .info-box p { max-width: none; }
.draft-banner { margin: 1.25rem 0 1.5rem; padding: 1rem 1.1rem; background: var(--lime); border: 2px solid var(--ink); border-radius: 12px 6px 14px 6px; font-weight: 500; }
.info-box { margin: 1.5rem 0; padding: 1.25rem 1.4rem; background: var(--grey); border: 2px solid var(--ink); border-radius: var(--radius-card); }
.info-box h2 { margin-top: 0; font-size: 1.15rem; }
.info-box p { margin-bottom: .4rem; }
mark.todo { background: var(--lime); color: var(--ink); padding: .05em .35em; border-radius: 4px; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 600; }

/* ---------- 17. Motion ---------- */
@keyframes drop {
  from { opacity: 0; transform: translateY(-26px) rotate(calc(var(--r) - 6deg)) scale(.94); }
  to   { opacity: 1; transform: rotate(var(--r)); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Sections fade in as you scroll (only when JavaScript is on) */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal:not(.is-in) { opacity: 0; }
  .reveal.is-in { animation: rise .55s ease backwards; animation-delay: var(--d, 0ms); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
