/* Generated by scripts/brand.mjs from brand/. Do not edit: change brand/ and run npm run brand. */
@font-face {
  font-family: "Jersey 10";
  src: url(fonts/Jersey10-Regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Decapod Pixel";
  src: url(fonts/DecapodPixel-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --color-white: #f4f0e6;
  --color-black: #0f0e0c;
  --color-zinc-50: #f8f5ee;
  --color-zinc-100: #f0ebdd;
  --color-zinc-200: #ddd7c8;
  --color-zinc-300: #ddd7c8;
  --color-zinc-400: #a29b8a;
  --color-zinc-500: #6a6455;
  --color-zinc-600: #46413a;
  --color-zinc-700: #46413a;
  --color-zinc-800: #34302a;
  --color-zinc-900: #25221d;
  --color-zinc-950: #0f0e0c;
  --color-accent: #23ba7d;
  --color-accent-strong: #007947;
  --color-accent-text: #007947;
  --color-accent-ink: #25221d;
  --color-accent-light: #71d6a3;
  --color-accent-tint: #b3eecd;
  --text-pixel-1: 18.6667px;
  --text-pixel-1--line-height: 20px;
  --text-pixel-2: 37.3333px;
  --text-pixel-2--line-height: 40px;
  --text-pixel-3: 56px;
  --text-pixel-3--line-height: 60px;
  --text-script-1: 31px;
  --text-script-1--line-height: 40px;
  --text-script-2: 62px;
  --text-script-2--line-height: 80px;
  --text-script-3: 93px;
  --text-script-3--line-height: 120px;
  --font-pixel: "Jersey 10", ui-monospace, monospace;
  --font-script: "Decapod Pixel", cursive;
  --logo-w: 108;
  --logo-h: 24;
}
:root {
  --paper: #f4f0e6;
  --card: #f8f5ee;
  --hover: #f0ebdd;
  --edge: #a29b8a;
  --muted: #6a6455;
  --ink: #25221d;
  --accent: #23ba7d;
  --accent-strong: #007947;
  --on-accent: #25221d;
  --accent-text: #007947;
  --fade: #ddd7c8;
  --lift: #ddd7c8;
}
:root.dark {
  --paper: #25221d;
  --card: #34302a;
  --hover: #34302a;
  --edge: #a29b8a;
  --muted: #a29b8a;
  --ink: #f0ebdd;
  --accent: #23ba7d;
  --accent-strong: #007947;
  --on-accent: #25221d;
  --accent-text: #23ba7d;
  --fade: #0f0e0c;
  --lift: #0f0e0c;
}

/* Pixel primitives shared by the app (globals.css imports this into its components layer) and
   getcollectro.com (copied into marketing/brand.css by npm run brand). Plain CSS: colours come
   from the variables each side defines per theme (--fade, --lift, --color-accent), so the
   two sites' different light/dark switches both work. App-only primitives stay in globals.css. */

/* Pixel notch: a 2px border with the four corner pixels cut away. clip-path would also cut an
   outline, so focus is drawn inside (inset shadow). The border colour is the caller's. --px-notch is
   the same cut for what cannot take the class (the app's checkboxes and file buttons, globals.css). */
:root {
  --px-notch: polygon(
    0 2px,
    2px 2px,
    2px 0,
    calc(100% - 2px) 0,
    calc(100% - 2px) 2px,
    100% 2px,
    100% calc(100% - 2px),
    calc(100% - 2px) calc(100% - 2px),
    calc(100% - 2px) 100%,
    2px 100%,
    2px calc(100% - 2px),
    0 calc(100% - 2px)
  );
}
.px-box {
  border-width: 2px;
  border-style: solid;
  clip-path: var(--px-notch);
}
.px-box:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: inset 0 0 0 2px var(--color-accent);
}

/* Shelf shadow: four rows of 2px cells in --fade, darker than the page in both themes: solid, 50%,
   25%, 25% (8px). Decoration only; sits under the header and shelf planks. */
.dither-fade {
  height: 8px;
  pointer-events: none;
  background:
    linear-gradient(var(--fade) 0 0) 0 0 / 100% 2px no-repeat,
    conic-gradient(at 2px 2px, transparent 75%, var(--fade) 0) 2px 2px / 4px 8px,
    conic-gradient(at 2px 2px, transparent 75%, var(--fade) 0) 0 4px / 8px 8px,
    conic-gradient(at 2px 2px, transparent 75%, var(--fade) 0) 4px 6px / 8px 8px;
}

/* A lifted cover's shadow: a 2px checker of --lift, cut to the cover's silhouette when --cover
   names its image (drawn like object-contain object-bottom), else to the box. */
.lift-shadow {
  background: var(--lift);
  mask:
    var(--cover, linear-gradient(#000 0 0)) bottom / contain no-repeat,
    repeating-conic-gradient(#000 0 25%, transparent 0 50%) 0 0 / 4px 4px;
  mask-composite: intersect;
}
