@charset "UTF-8";
/* Tutto Print Design store, 2026-11-25 system.
   Calm canvas: warm off-white page, a limestone "set" colour behind every product, near-black ink, hairlines over shadows.
   One accent, deep magenta, used only for actions and selection. Type: Figtree and Nunito (the MOO block at the end).
   The one signature: printer's crop marks that appear on a picture's corners when it is pointed at. */


:root {
  --page: #f4f1ec;
  --set: #ebe6de;          /* the surface every product sits on */
  --card: #fbfaf7;
  --ink: #161311;
  --ink-2: #5f574f;        /* 6.3:1 on the page, 5.7:1 on the set */
  --line: #e2dcd3;
  --line-2: #d3cbbf;
  --accent: #b8006a;       /* white on it 6.5:1; on the page 5.7:1 */
  --accent-deep: #94004f;
  --accent-wash: #f7e6ef;
  --paper-warm: var(--set); /* older pages name it this */

  /* Group colours (2026-11-27). One bright colour per product group, Miami by day. Three steps each:
     --c-X       the fill: tiles, bands, highlights. Only --ink text sits on it (6.9:1 or more). Never text, never an action.
     --c-X-wash  a light tint for section and page backgrounds. --ink 15:1, --ink-2 5.8:1 or more, --accent 5.3:1 or more.
     --c-X-deep  coloured text, icons and rules on the page or on the wash (5.3:1 or more); white on it 6.4:1 or more.
     The magenta --accent stays the only colour for buttons, links that act and selection. */
  --c-cards: #ffc23b;      --c-cards-wash: #fff1cc;      --c-cards-deep: #7a4f00;       /* mango: business cards */
  --c-print: #5aa0ff;      --c-print-wash: #e1edff;      --c-print-deep: #1f55b8;       /* Biscayne blue: postcards (the old print group) */
  --c-marketing: #b79cff;  --c-marketing-wash: #eee6ff;  --c-marketing-deep: #5b3fb0;  /* lilac: marketing materials (MOO rebuild) */
  --c-stickers: #ff7a52;   --c-stickers-wash: #ffe5db;   --c-stickers-deep: #a83a17;    /* tangerine: stickers and labels */
  --c-stationery: #b79cff; --c-stationery-wash: #eee6ff; --c-stationery-deep: #5b3fb0;  /* Ocean Drive lilac: stationery */
  --c-merch: #5fce7a;      --c-merch-wash: #dff5e4;      --c-merch-deep: #1f6b37;       /* palm green: merch */
  --c-big: #2ec4c4;        --c-big-wash: #d9f4f3;        --c-big-deep: #0b6767;         /* bay teal: banners and signs */
  --r-xl: 20px;            /* coloured tiles and bands */

  --display: "Figtree", "Avenir Next", "Segoe UI", sans-serif;   /* the MOO rebuild's faces, declared in the MOO block below */
  --body: "Nunito", "Avenir Next Rounded", "Avenir Next", "Segoe UI", sans-serif;

  --t-xs: 0.8125rem;
  --t-s: 0.875rem;
  --t-0: 1rem;
  --t-1: 1.125rem;
  --t-2: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-3: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --t-4: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  --t-5: clamp(2.3rem, 1.3rem + 3.6vw, 4.5rem);
  /* the old names, used by the policy, help and guide pages */
  --step--1: var(--t-s); --step-0: var(--t-0); --step-1: var(--t-1); --step-2: var(--t-2); --step-3: var(--t-3); --step-4: var(--t-4); --step-5: var(--t-5);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;
  --r-s: 8px; --r-m: 14px; --r-l: 14px; --r-pill: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: var(--ease);
  --wrap: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8rem; scrollbar-color: var(--line-2) var(--page); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 var(--t-0)/1.55 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, select, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; font-variation-settings: "wdth" 96; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }  /* left/top: a hidden label inside a sideways chip row must not widen the page (2026-12-01, builder pages scrolled sideways on phones) */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--ink); color: #fff; border-radius: var(--r-s); text-decoration: none; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }

/* ---------- buttons and links: one pair, one text link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0 1.35rem; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: var(--t-0); line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-quiet, .btn-light { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover, .btn-light:hover { border-color: var(--ink); background: var(--card); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-text { background: none; border: 0; padding: 0.35rem 0; min-height: 36px; color: var(--ink-2); font-weight: 500; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.btn-text:hover { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s5); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
.icon-btn:hover { background: var(--set); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump 420ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ---------- header: utility line, logo bar, category row with mega menus ---------- */
.utility { font-size: var(--t-xs); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.utility .wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 36px; }
.utility-links { display: flex; gap: 1.25rem; white-space: nowrap; }
.utility a { text-decoration: none; }
.utility a:hover { color: var(--ink); text-decoration: underline; }
.hdr { position: sticky; top: 0; z-index: 40; background: var(--hdr-bg-solid); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: var(--hdr-bg); backdrop-filter: saturate(1.2) blur(14px); } }
.hdr-bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--hdr-h); }
.logo { flex: none; display: block; padding: 6px 0; }
.logo img { width: auto; height: 34px; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 0.15rem; }
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem; font-size: var(--t-s); font-weight: 600; text-decoration: none; border-radius: var(--r-pill); }
.lang-switch:hover { background: var(--set); }
.menu-toggle { display: inline-grid; }   /* at every width (Aaron 2026-12-02): every group and product is always one tap away */

.mm { min-width: 0; }
.mm-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.mm-item { display: flex; align-items: center; }
.mm-top { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.15rem 0 0.6rem; font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; border-radius: var(--r-s); }
.mm-top:hover, .mm-item.is-open .mm-top { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.5em; }
.mm-top[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.5em; }
.mm-btn { display: inline-grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: var(--r-s); }
.mm-btn:hover { color: var(--ink); background: var(--set); }
.mm-btn svg { transition: transform 200ms var(--ease); }
.mm-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-util { margin-left: 0.6rem; padding-left: 0.6rem; border-left: 1px solid var(--line-2); }
.mm-util + .mm-item .mm-top { padding-left: 0.6rem; }
.mm-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -32px rgba(22, 19, 17, 0.35); animation: mm-in 200ms var(--ease) both; }
@keyframes mm-in { from { opacity: 0; transform: translateY(8px); } }
.mm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 0.9fr); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); padding-block: 2rem 1.75rem; }
.mm-col ul { list-style: none; padding: 0; margin-top: 0.6rem; display: grid; gap: 0.1rem; }
.mm-col li a { display: flex; align-items: center; gap: 0.6rem; min-height: 34px; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; }
.mm-col li a:hover { color: var(--ink); text-decoration: underline; }
.mm-h { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; text-decoration: none; }
.mm-h:hover { text-decoration: underline; }
.mm-more a { font-weight: 600; color: var(--ink) !important; }
.mm-feat { grid-column: 4; grid-row: 1 / span 2; display: grid; gap: 0.25rem; align-content: start; text-decoration: none; }
.mm-feat-fig { display: block; aspect-ratio: 4 / 3; background: var(--set); border-radius: var(--r-m); overflow: hidden; margin-bottom: 0.6rem; }
.mm-feat-fig > * { width: 100%; height: 100%; object-fit: cover; }
.mm-feat-k { font-size: var(--t-xs); color: var(--ink-2); }
.mm-feat b { font-weight: 600; }
.mm-feat span:last-child { font-size: var(--t-s); color: var(--ink-2); }
.mm-feat:hover b { text-decoration: underline; }
.mm-all { grid-column: 1 / span 3; display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; font-weight: 600; text-decoration: none; padding-top: 1rem; border-top: 1px solid var(--line); width: 100%; min-height: 44px; }
.mm-all svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.mm-all:hover svg { transform: translateX(3px); }
.mm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 0.9fr); }
.mm-grid-4 .mm-feat { grid-column: 5; }
.mm-grid-4 .mm-all { grid-column: 1 / span 4; }
.mm-grid-pf { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); }
.mm-grid-pf .mm-all { grid-column: 1 / -1; }
.mm-note { color: var(--ink-2); max-width: 34ch; align-self: start; padding-top: 0.25rem; }
.mm-sw li a .sw { width: 18px; height: 18px; }
.mm-grid-biz { grid-template-columns: 1fr; }
.mm-grid-biz .mm-all { grid-column: 1; }
.mm-biz { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem 2rem; }
.mm-biz a { display: grid; gap: 0.1rem; padding: 0.7rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.mm-biz b { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; }
.mm-biz span { font-size: var(--t-s); color: var(--ink-2); }
.mm-biz a:hover b { text-decoration: underline; }
.mm-scrim { position: fixed; inset: 0; top: auto; height: 0; }
.hdr.has-open .mm-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; background: rgba(22, 19, 17, 0.12); z-index: -1; animation: fade 200ms var(--ease) both; }
@keyframes fade { from { opacity: 0; } }

@media (min-width: 1180px) {
  .hdr-bar { display: grid; grid-template-columns: auto 1fr auto; }
  .mm { justify-self: center; }
}
/* Header on laptops (1180 to 1439 px, design re-check 3, Couri 2026-11-30): the full menu stays and fits, with nothing under
   the logo or the ES link. Smaller gaps, 14 px menu words, 40 px icons; below 1300 "Papers & Finishes" shows as "Papers"
   (the rest stays in the link for screen readers). 1440 and up keep the roomier header. */
@media (min-width: 1180px) and (max-width: 1439.98px) {
  .hdr-bar { gap: 1rem; }
  .mm-list { gap: 0; }
  .mm-top { padding: 0 0 0 0.35rem; font-size: 0.875rem; }
  .mm-btn { width: 24px; }
  .mm-util { margin-left: 0.4rem; padding-left: 0.4rem; }
  .mm-util + .mm-item .mm-top { padding-left: 0.35rem; }
  .hdr-actions { gap: 0; }
  .hdr-actions .lang-switch { justify-content: center; min-width: 40px; padding: 0 0.5rem; }
  .hdr-actions .icon-btn { width: 40px; height: 40px; }
}
@media (min-width: 1180px) and (max-width: 1299.98px) {
  .mm-top .mm-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1179.98px) {
  .mm { display: none; }
  .menu-toggle { display: inline-grid; }
}

/* the phone menu: a full-screen sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--page); overflow-y: auto; overscroll-behavior: contain; animation: sheet-in 260ms var(--ease) both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.sheet-in { width: min(100% - 2 * var(--gutter), 640px); margin-inline: auto; padding-bottom: 3rem; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; min-height: var(--hdr-h); border-bottom: 1px solid var(--line); }
.sheet-t { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.sh-list { list-style: none; padding: 0; }
.sh-g { border-bottom: 1px solid var(--line); }
.sh-btn, .sh-link { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 0; border: 0; background: none; font-family: var(--display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.02em; text-align: left; text-decoration: none; cursor: pointer; }
.sh-btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.sh-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sh-sub { list-style: none; padding: 0 0 1rem; display: grid; animation: mm-in 200ms var(--ease) both; }
.sh-sub a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.sh-sub a:hover { color: var(--ink); text-decoration: underline; }
.sh-sub b { color: var(--ink); font-weight: 600; }
.sh-small { list-style: none; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.sh-small a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
body.sheet-open { overflow: hidden; }

/* ---------- footer ---------- */
.ftr { margin-top: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line); font-size: var(--t-s); color: var(--ink-2); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.ftr-brand img { width: 130px; height: auto; opacity: 0.92; }
.ftr-brand p { margin: 1rem 0 1.25rem; max-width: 34ch; font-size: var(--t-0); color: var(--ink); }
.ftr-h { font-family: var(--body); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 0.75rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
.ftr ul a, .ftr address a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr address { font-style: normal; display: grid; gap: 0.15rem; }
.ftr address span { padding-block: 0.3rem; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); position: relative; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.ftr-legal a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }

/* ---------- page heads and sections ---------- */
.head, .page-head { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3.5vw, 3rem); }
.head h1, .page-head h1 { font-size: var(--t-5); margin-top: clamp(1rem, 2.5vw, 1.75rem); max-width: 18ch; }
.page-head.plain h1 { font-size: var(--t-4); }
.head .lede, .page-head p, .lede { margin-top: 1rem; color: var(--ink-2); font-size: var(--t-1); max-width: 60ch; }
.lede-2 { margin-top: 0.75rem; }
.head-count { margin-top: 1rem; font-size: var(--t-s); color: var(--ink-2); }
.head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.head-fig, .biz-fig { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--set); aspect-ratio: 1; position: relative; }
.head-fig img, .biz-fig img { width: 100%; height: 100%; object-fit: cover; }
.biz-fig figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.25rem 0.6rem; border-radius: var(--r-pill); background: rgba(251, 250, 247, 0.92); font-size: var(--t-xs); color: var(--ink-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--t-s); color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-top0 { padding-top: 0; }
.section-tight { padding-block: clamp(1.5rem, 4vw, 3rem); }
.section-set, .warm { background: var(--set); }
.section-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head, .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.sec-head h2, .section-head h2 { font-size: var(--t-4); max-width: 22ch; }
.sec-head p, .section-head p { margin-top: 0.75rem; color: var(--ink-2); max-width: 56ch; font-size: var(--t-1); }
.sec-head .btn { margin-top: 1.25rem; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.sec-head-row p { margin-top: 0.5rem; }
.h-sub { font-size: var(--t-3); }
.fine { color: var(--ink-2); font-size: var(--t-s); }
.about { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 75ch; font-size: var(--t-s); }

/* pill filters and the sticky sub-nav */
.pills-bar { position: sticky; top: calc(var(--hdr-h) + 1px); z-index: 30; background: var(--page); border-bottom: 1px solid var(--line); }
.pills, .subnav { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.7rem; }
.pills::-webkit-scrollbar, .subnav::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-size: var(--t-s); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
.pill small { color: var(--ink-2); font-size: var(--t-xs); }
.pill:hover { border-color: var(--ink); }
.pill:active { transform: scale(0.97); }
.pill[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill[aria-current="true"] small { color: rgba(255, 255, 255, 0.7); }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; font-size: var(--t-s); font-weight: 500; text-decoration: none; border-radius: var(--r-pill); white-space: nowrap; }
.subnav a:hover { background: var(--set); }
.subnav a.is-on { background: var(--ink); color: #fff; }
.subs { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.sub { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sub-h { font-size: var(--t-3); margin-bottom: 1.25rem; }
.sub.is-out { display: none; }

/* ---------- product tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(0.75rem, 1.6vw, 1.5rem); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-bc { grid-template-columns: repeat(4, minmax(0, 1fr)); }  /* four: each section of the hub (4, 3, 4 and 3 cards) on one row */
.tile { display: grid; gap: 0.2rem; align-content: start; text-decoration: none; min-width: 0; }
.tile-fig { position: relative; display: block; aspect-ratio: 1; background: var(--set); border-radius: var(--r-m); overflow: hidden; margin-bottom: 0.65rem; transition: transform 260ms var(--ease); }
.tile-fig > .ph, .tile-fig > .line-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.tile-fig > .ph-2 { opacity: 0; }
.tile-name { font-weight: 600; font-size: var(--t-0); line-height: 1.3; }
.tile-meta { color: var(--ink-2); font-size: var(--t-s); }
.tile-facts { list-style: none; padding: 0.6rem 0 0; margin-top: 0.4rem; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; color: var(--ink-2); font-size: var(--t-s); }
.tile-facts li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); margin: 0 0.55rem 0.2em 0; vertical-align: middle; }
.tile-g .tile-name { font-family: var(--display); font-size: var(--t-2); letter-spacing: -0.02em; }
/* the signature: crop marks on the picture's four corners */
.tile-fig::after, .g-stage::after { content: ""; position: absolute; inset: 12px; pointer-events: none; opacity: 0; transition: opacity 220ms var(--ease), inset 260ms var(--ease);
  --cm: rgba(22, 19, 17, 0.7);
  background:
    linear-gradient(var(--cm), var(--cm)) left top / 14px 1px no-repeat, linear-gradient(var(--cm), var(--cm)) left top / 1px 14px no-repeat,
    linear-gradient(var(--cm), var(--cm)) right top / 14px 1px no-repeat, linear-gradient(var(--cm), var(--cm)) right top / 1px 14px no-repeat,
    linear-gradient(var(--cm), var(--cm)) left bottom / 14px 1px no-repeat, linear-gradient(var(--cm), var(--cm)) left bottom / 1px 14px no-repeat,
    linear-gradient(var(--cm), var(--cm)) right bottom / 14px 1px no-repeat, linear-gradient(var(--cm), var(--cm)) right bottom / 1px 14px no-repeat; }
@media (hover: hover) {
  .tile:hover .tile-fig { transform: translateY(-2px); }
  .tile:hover .tile-fig::after { opacity: 1; inset: 10px; }
  .tile:hover .tile-fig > .ph, .tile:hover .tile-fig > .line-art { transform: scale(1.03); }
  .tile:hover .tile-fig.has-2 > .ph-2 { opacity: 1; }
  .tile:hover .tile-name { text-decoration: underline; text-underline-offset: 0.22em; }
}
.tile:focus-visible { outline-offset: 4px; border-radius: var(--r-m); }

/* line drawings: one ink line on the set colour, drawn to the product's real size */
.line-art { width: 100%; height: 100%; }
.line-art .ld, .line-art .ld-thin, .line-art .ld-fold, .line-art .ld-cut { fill: none; stroke: var(--ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.line-art .ld { fill: rgba(251, 250, 247, 0.55); }
.line-art .ld-thin { stroke-width: 1; opacity: 0.6; }
.line-art .ld-fold { stroke-dasharray: 5 5; opacity: 0.7; }
.line-art .ld-cut { stroke-dasharray: 3 4; stroke: var(--accent); }
.line-art .ld-fill { fill: var(--ink); stroke: none; }
.line-art .ld-face { stroke-width: 1; }
.line-art .ld-edge { fill: #d6cec2; stroke: none; }
.line-art .ld-dim { fill: none; stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.line-art .ld-t { fill: var(--ink-2); font: 500 15px var(--body); }
.mm-feat-fig .ld-dim, .mm-feat-fig .ld-t, .cart-thumb .ld-dim, .cart-thumb .ld-t, .ap-thumb .ld-dim, .ap-thumb .ld-t, .biz-row-fig .ld-dim, .biz-row-fig .ld-t, .stack .ld-dim, .stack .ld-t { display: none; }

/* swatches */
.sw { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--sw, var(--card)); box-shadow: inset 0 0 0 1px rgba(22, 19, 17, 0.14); }
.sw-lg { width: 70px; height: 40px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(22, 19, 17, 0.1), 2px 3px 0 #ddd5c8; }

/* ---------- home ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--t-5); letter-spacing: -0.03em; max-width: 15ch; }
.hero-sub { margin-top: 1.25rem; font-size: var(--t-1); color: var(--ink-2); max-width: 46ch; }
.hero .cta-row { margin-top: 2rem; }
.hero-stage { position: relative; aspect-ratio: 5 / 4; background: var(--set); border-radius: var(--r-m); overflow: hidden; }
.hero-photo { margin: 0; position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.stack { position: absolute; inset: 0; }
.stack-piece { position: absolute; } /* places and motion: "home hero: seven pieces", at the end */
.stack-piece .line-art { width: 100%; height: 100%; }
.stack-piece canvas { width: 100% !important; height: 100% !important; display: block; }
.stack.is-live .line-art { display: none; }
.grid-3 .tile-g .tile-fig { aspect-ratio: 4 / 3; }

.biz-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); }
.biz-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.biz-list li:nth-child(-n+2) .biz-row { border-top: 1px solid var(--line-2); }
.biz-row-fig { width: 88px; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--set); display: block; }
.section-set .biz-row-fig { background: var(--card); }
.biz-row-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.biz-row-t { display: grid; gap: 0.15rem; }
.biz-row-t b { font-family: var(--display); font-weight: 600; font-size: var(--t-2); letter-spacing: -0.02em; }
.biz-row-t span { color: var(--ink-2); }
.biz-row-t small { color: var(--ink-2); font-size: var(--t-xs); }
.biz-row > svg { width: 20px; height: 20px; transition: transform 200ms var(--ease); }
.biz-row:hover > svg { transform: translateX(4px); }
.biz-row:hover b { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
.biz-row:hover .biz-row-fig img { transform: scale(1.03); }

.pf-teaser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pf-teaser .sec-head { margin: 0; }
.sw-row { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.sw-row a { display: grid; justify-items: start; gap: 0.5rem; text-decoration: none; font-size: var(--t-s); }
.sw-row a .sw { transition: transform 200ms var(--ease); }
.sw-row a:hover .sw { transform: translateY(-2px); }
.sw-row a:hover span { text-decoration: underline; }

.how { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4rem); }
.how h2 { font-size: var(--t-4); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 600; font-size: var(--t-s); color: var(--ink-2); }
.steps b { font-family: var(--display); font-weight: 600; font-size: var(--t-2); letter-spacing: -0.02em; line-height: 1.15; }
.steps span { color: var(--ink-2); }

.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.visit h2 { font-size: var(--t-4); }
.visit-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 1.5rem; }
.visit-card dl { margin: 0; display: grid; gap: 1.1rem; }
.visit-card dt { font-size: var(--t-xs); color: var(--ink-2); }
.visit-card dd { margin: 0.2rem 0 0; font-family: var(--display); font-weight: 600; font-size: var(--t-2); letter-spacing: -0.015em; line-height: 1.2; }
.visit-card dd a { text-decoration: none; }
.visit-card dd small { display: block; margin-top: 0.35rem; font-family: var(--body); font-weight: 400; font-size: 0.875rem; letter-spacing: 0; line-height: 1.45; color: var(--ink-2); }
.visit-card dd a:hover { text-decoration: underline; }
.g-sample { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 0.2rem 0.55rem; border-radius: var(--r-pill); background: rgba(251, 250, 247, 0.88); color: var(--ink-2); font-size: var(--t-xs); font-weight: 500; pointer-events: none; }
.hero-photo { position: relative; }
.proof-rating a { font-weight: 600; }

/* ---------- group colours: any element with a g-<group> class carries its group's three steps ---------- */
.g-business-cards { --g: var(--c-cards); --g-wash: var(--c-cards-wash); --g-deep: var(--c-cards-deep); }
.g-postcards, .g-print { --g: var(--c-print); --g-wash: var(--c-print-wash); --g-deep: var(--c-print-deep); }
.g-marketing { --g: var(--c-marketing); --g-wash: var(--c-marketing-wash); --g-deep: var(--c-marketing-deep); }
.g-stickers-labels { --g: var(--c-stickers); --g-wash: var(--c-stickers-wash); --g-deep: var(--c-stickers-deep); }
.g-stationery { --g: var(--c-stationery); --g-wash: var(--c-stationery-wash); --g-deep: var(--c-stationery-deep); }
.g-merch { --g: var(--c-merch); --g-wash: var(--c-merch-wash); --g-deep: var(--c-merch-deep); }
.g-big { --g: var(--c-big); --g-wash: var(--c-big-wash); --g-deep: var(--c-big-deep); }

/* ---------- home colour, 2026-11-27 (every rule starts with an hm- class; the blue steps band and the ink band are shared
   with the thanks and contact pages as band-steps and band-ink, 2026-11-29) ---------- */
/* Hero: a mango highlighter swipes under the key words once, on load. */
.hm-hero .hl { position: relative; z-index: 0; white-space: nowrap; }
.hm-hero .hl::after { content: ""; position: absolute; z-index: -1; left: -0.06em; right: -0.04em; bottom: 0.04em; height: var(--hl-h); border-radius: 3px; background: var(--hl); transform-origin: left center; animation: hl-in 650ms var(--ease) 300ms both; }
@keyframes hl-in { from { transform: scaleX(0); } }
.hm-hero .hero-stage { background: var(--s-hero-stage); } /* the hero sells business cards, so by default it wears their mango */

/* Groups: each tile is a colour chip with the photo mounted on it. */
.hm-tiles { gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.hm-tiles .tile-g { background: var(--g, var(--set)); border-radius: var(--r-xl); padding: 10px 10px 1.1rem; gap: 0.15rem; transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.hm-tiles .tile-g .tile-fig { border-radius: 12px; margin-bottom: 0.85rem; }
.hm-tiles .tile-g .tile-name, .hm-tiles .tile-g .tile-meta { padding-inline: 0.5rem; color: var(--ink); }
.hm-tiles .tile-g .tile-meta { font-weight: 500; }
.hm-tiles .nw { white-space: nowrap; }
@media (hover: hover) {
  .hm-tiles .tile-g:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(22, 19, 17, 0.55); }
  .hm-tiles .tile-g:hover .tile-fig { transform: none; }
}
.hm-tiles .tile-g:active { transform: scale(0.99); }

/* Businesses: a lilac wash. */
.hm-biz { background: var(--s-biz); }

/* How it works: a Biscayne blue band. A dashed cut line draws across the steps as the band scrolls in. */
:is(.hm-how, .band-steps) { background: var(--s-how); color: var(--s-how-ink); }
:is(.hm-how, .band-steps) .steps { position: relative; --sg: clamp(1.25rem, 3vw, 2.5rem); gap: var(--sg); }
:is(.hm-how, .band-steps) .steps::before { content: ""; position: absolute; left: 1.25rem; right: calc((100% - 2 * var(--sg)) / 3 - 1.25rem); top: 1.25rem; border-top: 2px dashed var(--s-how-ink); transform-origin: left center; }
:is(.hm-how, .band-steps) .steps li { border-top: 0; padding-top: 0; gap: 0.6rem; position: relative; }
:is(.hm-how, .band-steps) .steps li::before { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--s-how-dot); color: var(--s-how-dot-ink); font-size: var(--t-1); margin-bottom: 0.4rem; }
:is(.hm-how, .band-steps) .steps span { color: var(--s-how-ink); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    :is(.hm-how, .band-steps) .steps::before { animation: cut-in linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  }
}
@keyframes cut-in { from { transform: scaleX(0); } }

/* Visit: Doral after dark, an ink band; the card stays paper. */
:is(.hm-visit, .band-ink) { background: var(--s-visit); color: var(--s-visit-ink); margin-bottom: calc(-1 * clamp(4rem, 9vw, 7rem)); }
:is(.hm-visit, .band-ink) .lede { color: var(--s-visit-ink-2); }
:is(.hm-visit, .band-ink) .visit-card { border-color: transparent; color: var(--ink); }
:is(.hm-visit, .band-ink) :focus-visible { outline-color: var(--s-visit-ink); }
:is(.hm-visit, .band-ink) .visit-card :focus-visible { outline-color: var(--ink); }
@media (max-width: 900px) {
  :is(.hm-how, .band-steps) .steps::before { left: 1.25rem; right: auto; top: 1.25rem; bottom: 3.5rem; border-top: 0; border-left: 2px dashed var(--s-how-ink); transform-origin: center top; }
  :is(.hm-how, .band-steps) .steps li { grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; }
  :is(.hm-how, .band-steps) .steps li::before { grid-row: 1 / span 2; margin-bottom: 0; }
  :is(.hm-how, .band-steps) .steps li b { align-self: center; }
  :is(.hm-how, .band-steps) .steps span { grid-column: 2; }
}
@media (max-width: 640px) {
  .hm-tiles .tile-g { padding: 6px 6px 0.9rem; border-radius: 16px; }
  .hm-tiles .tile-g .tile-fig { border-radius: 11px; margin-bottom: 0.65rem; }
  .hm-tiles .tile-g .tile-name { font-size: 1.0625rem; line-height: 1.2; }
  .hm-tiles .tile-g .tile-name, .hm-tiles .tile-g .tile-meta { padding-inline: 0.4rem; }
  .hm-tiles .tile-g .tile-meta { font-size: var(--t-xs); }
  :is(.hm-visit, .band-ink) .visit-card .btn { flex: 1 1 100%; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) { :is(.hm-how, .band-steps) .steps::before { animation-name: cut-down; } }
}
@keyframes cut-down { from { transform: scaleY(0); } }

/* ---------- business cards hub, compare tables, questions ---------- */
.bc-sec { padding-top: clamp(2.5rem, 5vw, 4rem); }
.bc-sec + .bc-sec { margin-top: clamp(1rem, 3vw, 2rem); border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.cmp th, .cmp td { text-align: left; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { font-weight: 500; color: var(--ink-2); font-size: var(--t-xs); white-space: nowrap; }
.cmp tbody th { font-weight: 600; min-width: 11rem; }
.cmp tbody th a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.cmp tbody th a:hover { text-decoration: underline; }
.cmp-group th { padding-top: 1.5rem; font-family: var(--display); font-weight: 600; font-size: var(--t-1); border-bottom-color: var(--line-2); }
.cmp-th { min-width: 9rem; }
.cmp-bar { display: inline-block; vertical-align: middle; width: 5rem; height: 6px; border-radius: 3px; background: var(--set); position: relative; margin-right: 0.5rem; }
.cmp-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--ink); border-radius: 3px; }
.cmp-pt { white-space: nowrap; }
.cmp-price b { display: block; font-weight: 600; font-size: var(--t-0); }
.cmp-price small { color: var(--ink-2); }
.cmp-fam .is-cur th, .cmp-fam .is-cur td { background: var(--card); }
.cmp-fam .is-cur th a { text-decoration: underline; }
.faq { border-top: 1px solid var(--line-2); }
.faq-cols { columns: 2; column-gap: clamp(2rem, 5vw, 4rem); border-top: 0; }
.faq-cols .faq-item { break-inside: avoid; }
.faq-cols .faq-item:first-child, .faq-cols .faq-item { border-top: 1px solid var(--line-2); border-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding-block: 0.75rem; font-weight: 600; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms var(--ease); }
.faq-item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq-item p { padding-bottom: 1.1rem; color: var(--ink-2); max-width: 68ch; }
.faq-item p a { color: var(--ink); }

/* ---------- product page ---------- */
.pdp { padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2.5rem, 5vw, 4rem); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; margin-top: 1.25rem; }
/* the gallery's layout (the main view, its arrows and the thumbnail row): the "product gallery" block further down */
.g-sides { display: flex; gap: 0.25rem; margin-top: -0.25rem; }
.g-sides button { min-height: 36px; padding: 0.35rem 0.75rem; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--ink-2); font: inherit; font-size: var(--t-s); cursor: pointer; transition: color 140ms var(--ease), border-color 140ms var(--ease), transform 120ms var(--ease); }
.g-sides button:hover { color: var(--ink); }
.g-sides button[aria-pressed="true"] { color: var(--ink); border-color: var(--line); background: var(--card); }
.g-sides button:active { transform: scale(0.97); }
.g-sides[hidden] { display: none; }
.p3-host, .m3-host { position: absolute; inset: 0; touch-action: pan-y; }
.p3-host canvas, .m3-host canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.p3-host canvas:active, .m3-host canvas:active { cursor: grabbing; }
.m3-host.is-live > .line-art { display: none; }
/* the paper piece fades in over its drawing as it arrives (paper3d.js reveal, about 1.2 s): the drawing stays under it until then */
.p3-host.is-live > .line-art { visibility: hidden; transition: visibility 0s linear 0.6s; }
.g-note { font-size: var(--t-s); color: var(--ink-2); }

.buy { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.buy h1 { font-size: var(--t-4); }
.buy-from { margin-top: -0.75rem; color: var(--ink-2); font-size: var(--t-1); }
.buy-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.buy-facts li { font-size: var(--t-s); padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: var(--set); }
.field { display: grid; gap: 0.6rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.label { font-weight: 600; font-size: var(--t-s); padding: 0; }
.label small { font-weight: 400; color: var(--ink-2); }
.chips-row { display: grid; gap: 0.45rem; }
.chips-row + .chips-row { margin-top: 0.5rem; }
.chips-h { font-size: var(--t-xs); color: var(--ink-2); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; }
.chip { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.7rem; align-items: center; min-height: 60px; padding: 0.6rem 0.75rem; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--card); text-decoration: none; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 120ms var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(0.98); }
.chip[aria-current="page"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.chip .ci { grid-row: 1 / span 3; }
.chip-name { font-weight: 600; font-size: var(--t-s); line-height: 1.25; }
.chip-dim, .chip-price { font-size: var(--t-xs); color: var(--ink-2); }
.chip em { font-style: normal; font-size: 0.6875rem; color: var(--ink-2); }
.ci { width: 30px; height: 30px; }
svg.ci { fill: var(--card); stroke: var(--ink); stroke-width: 1.2; }
.ci.sw { width: 28px; height: 28px; }
.ci-photo { border-radius: 50%; overflow: hidden; display: block; }
/* Rendered stills (app.js): they fade in over the flat drawing once drawn */
.tile-fig > .ph.still { opacity: 0; }
.tile-fig > .ph.still.is-in { opacity: 1; }
.tile-fig.has-still > .line-art, .mm-feat-fig.has-still > .line-art { opacity: 0; transition: opacity 300ms var(--ease); }
.mm-feat-fig { position: relative; }
.mm-feat-fig > .still { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms var(--ease); }
.mm-feat-fig > .still.is-in { opacity: 1; }
.ci.sw.has-still { overflow: hidden; position: relative; }
.ci-still { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; opacity: 0; transition: opacity 300ms var(--ease); }
.ci-still.is-in { opacity: 1; }
.ci-photo img { width: 100%; height: 100%; object-fit: cover; }
.otiles { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.otile { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0 1rem 0 0.8rem; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--card); font-size: var(--t-s); font-weight: 500; cursor: pointer; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 120ms var(--ease); }
.otile:hover { border-color: var(--ink); }
.otile:active { transform: scale(0.97); }
.otile[aria-pressed="true"], .otile[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.otile[aria-checked="true"] { background: var(--accent-wash); font-weight: 600; }   /* the logo designer's garment colours are radios: the chosen one showed no mark (customer walk 2026-12-03) */
.oi { width: 32px; height: 22px; fill: var(--set); stroke: var(--ink); stroke-width: 1.2; }
.sw-matte { --sw: #e9e5de; width: 22px; height: 22px; }
.sw-gloss { --sw: #fff; width: 22px; height: 22px; background: radial-gradient(circle at 35% 30%, #fff 0 20%, #e8e4dc 60%, #d8d2c7); }
/* the foil colours as on the 3D (paper3d.js) and the Papers page swatches, with a light catch like the gloss swatch */
.sw-foil-gold { width: 22px; height: 22px; background: radial-gradient(circle at 35% 30%, #f3e2ad 0 18%, #d8b45a 55%, #a8843a); }
.sw-foil-silver { width: 22px; height: 22px; background: radial-gradient(circle at 35% 30%, #f6f7f8 0 18%, #c9ccd1 55%, #9a9ea5); }

.qty-table { width: 100%; border-collapse: collapse; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.q-wrap { border-top: 0; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--card); }
.qty-table th { text-align: left; font-weight: 500; font-size: var(--t-xs); color: var(--ink-2); padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--line); }
.qty-table td { padding: 0; border-bottom: 1px solid var(--line); }
.qty-table tr:last-child td { border-bottom: 0; }
.qty-table td:not(:first-child) { padding: 0 0.75rem; white-space: nowrap; }
.qty-table label { display: flex; align-items: center; gap: 0.65rem; min-height: 46px; padding: 0 0.75rem; cursor: pointer; font-weight: 600; }
.qty-table input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.qty-table tbody tr { cursor: pointer; transition: background-color 140ms var(--ease); }
.qty-table tbody tr:hover { background: var(--page); }
.qty-table tbody tr.is-on { background: var(--accent-wash); }
.qty-table.folded tr.more { display: none; }
.q-save { color: var(--accent); font-weight: 600; }
.ladder-toggle { justify-self: start; }
.summary { padding: 1rem 1.1rem; border-radius: var(--r-s); background: var(--set); display: grid; gap: 0.2rem; }
.sum-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sum-h { font-weight: 600; }
.total-figure { font-family: var(--display); font-weight: 600; font-size: var(--t-3); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.total-note, .sum-opts { color: var(--ink-2); font-size: var(--t-s); }
.sum-opts:empty { display: none; }
.status { font-size: var(--t-s); color: var(--ink-2); padding: 0.75rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-s); }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.buy-actions .btn { min-height: 54px; }
.way { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.way-up { border-top: 1px solid var(--line-2); padding-top: 1.25rem; }
.way-top { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.way-top > svg { margin-top: 2px; color: var(--ink); }
.way b { display: block; font-weight: 600; }
.way p { color: var(--ink-2); font-size: var(--t-s); margin-top: 0.15rem; }
.way .link-arrow { font-size: var(--t-s); min-height: 40px; color: var(--accent); }
.way-up .file-check { margin: 0.85rem 0 0 calc(24px + 0.85rem); }
.way-up .file-check > .label { display: none; }
.buy-notes { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: var(--t-s); color: var(--ink-2); }
.buy-notes b { color: var(--ink); font-weight: 600; }

/* the file check */
.fc-drop { display: grid; gap: 0.2rem; justify-items: start; padding: 0.9rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-s); background: var(--card); cursor: pointer; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.fc-drop:hover, .fc-drop.is-over { border-color: var(--ink); }
.fc-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.fc-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fc-btn { font-weight: 600; text-decoration: underline; text-underline-offset: 0.22em; }
.fc-drop small { color: var(--ink-2); font-size: var(--t-xs); }
.fc-out { display: grid; gap: 0.6rem; padding: 0.9rem 1rem; border-radius: var(--r-s); background: var(--card); border: 1px solid var(--line-2); }
.fc-out.fc-ok { border-color: #a9c7a4; }
.fc-out.fc-warn { border-color: #d9c08a; }
.fc-out.fc-bad { border-color: var(--accent); }
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fc-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-s); }
.fc-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.fc-visual canvas, .fc-visual img { max-width: 140px; height: auto !important; border-radius: 4px; }
.fc-logo { max-width: 120px; max-height: 90px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.fc-list { list-style: none; padding: 0; display: grid; gap: 0.35rem; font-size: var(--t-s); }
.fc-list li { padding-left: 1.2rem; position: relative; }
.fc-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.fc-list .fc-ok::before { background: #4e8a47; }
.fc-list .fc-warn::before { background: #b9862a; }
.fc-list .fc-bad::before { background: var(--accent); }
.fc-legend { font-size: var(--t-xs); color: var(--ink-2); display: flex; align-items: center; gap: 0.4rem; }
/* one file per side (2026-11-30): a row for each side, then each file's check in its place */
.fc-slots { display: grid; gap: 0.5rem; }
.fc-drop-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; gap: 0.75rem; min-height: 56px; padding: 0.7rem 1rem; }
.fc-drop-row .fc-btn { justify-self: end; white-space: nowrap; font-size: var(--t-s); }
.fc-name { display: grid; gap: 0.1rem; min-width: 0; }
.fc-name b { font-size: var(--t-s); font-weight: 600; }
.fc-sub { color: var(--ink-2); font-size: var(--t-xs); }
.fc-hint { margin-top: 0.5rem; color: var(--ink-2); font-size: var(--t-xs); max-width: 60ch; }
.fc-slot .fc-out { gap: 0.55rem; }
.fc-slot .fc-head { gap: 0.6rem; }
.fc-head { min-width: 0; }
.fc-tag { flex: none; font-size: var(--t-s); font-weight: 600; }
.fc-tag::after { content: " \0000B7"; color: var(--ink-2); font-weight: 400; }
.fc-head .fc-file { font-weight: 400; }
.fc-file { flex: 1 1 auto; min-width: 0; }
.fc-acts { flex: none; display: flex; gap: 0.9rem; }
.fc-col { display: grid; gap: 0.5rem; align-content: start; justify-items: start; min-width: 0; }
.fc-see { font-size: var(--t-s); font-weight: 600; }
.fc-wait { color: var(--ink-2); font-size: var(--t-s); }
@media (max-width: 480px) {
  .fc-slot .fc-body { grid-template-columns: minmax(0, 1fr); }
  .fc-acts { gap: 0.7rem; }
}
.fc-legend i, .fig-legend i { display: inline-block; width: 16px; height: 0; border-top: 1.5px solid var(--ink); vertical-align: middle; }
.fc-legend .lg-safe, .fig-legend .lg-safe { border-top: 1.5px dashed var(--ink-2); }
.fig-legend .lg-bleed { border-top: 1.5px solid var(--accent); }

/* phones: the price and the button stay on screen */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(251, 250, 247, 0.97); border-top: 1px solid var(--line); padding-block: 0.6rem calc(0.6rem + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 260ms var(--ease); }
.buy-bar.is-on { transform: none; }
.buy-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.buy-bar .wrap > div { flex: 1; min-width: 0; }
.buy-bar .btn { flex: none; padding-inline: 1.1rem; }
.buy-bar b { display: block; font-size: var(--t-s); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buy-bar span { font-size: var(--t-xs); color: var(--ink-2); }
@media (min-width: 900px) { .buy-bar { display: none; } }

/* details tabs */
.details { border-top: 1px solid var(--line); }
.details-head { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(1rem, 4vw, 4rem); align-items: start; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.details-head h2 { font-size: var(--t-4); }
.details-head .lede { margin-top: 0.3rem; }
.dtab-list { display: none; }
.dtabs.is-tabbed .dtab-list { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.dtab-list button { flex: none; min-height: 48px; padding: 0 1rem; border: 0; background: none; font-weight: 500; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 160ms var(--ease), border-color 160ms var(--ease); }
.dtab-list button:hover { color: var(--ink); }
.dtab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.dpanel { padding-bottom: 2rem; }
.dtabs.is-tabbed .dpanel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dpanel-h { font-size: var(--t-2); margin: 1.5rem 0 1rem; }
.dpanel > * + * { margin-top: 1.5rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 2rem; margin: 0; }
.facts > div { padding-block: 0.85rem; border-top: 1px solid var(--line); }
.facts dt { font-size: var(--t-xs); color: var(--ink-2); }
.facts dd { margin: 0.2rem 0 0; max-width: 60ch; }
.facts-wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.facts dd a { color: var(--ink); }
.explain { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; }
.explain b { display: block; font-weight: 600; }
.explain span { color: var(--ink-2); font-size: var(--t-s); }
.detail-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.file-lines { padding-left: 1.1rem; display: grid; gap: 0.4rem; max-width: 70ch; }
.size-figure { margin: 0; max-width: 560px; }
.size-fig { width: 100%; height: auto; }
.size-fig .f-trim, .bleed-fig .f-trim { fill: var(--card); stroke: var(--ink); stroke-width: 1.25; }
.size-fig .f-bleed, .bleed-fig .f-bleed { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 3; }
.size-fig .f-safe, .bleed-fig .f-safe { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 2 3; }
.size-fig .f-fold { stroke: var(--ink-2); stroke-dasharray: 5 4; }
.size-fig .f-card { fill: var(--set); stroke: var(--ink-2); stroke-width: 1; }
.size-fig .f-chip { fill: none; stroke: var(--ink-2); }
.fig-m, .fig-k { fill: var(--ink-2); font: 500 13px var(--body); }
.size-figure figcaption { font-size: var(--t-s); color: var(--ink-2); margin-top: 0.5rem; }
.fig-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: var(--t-xs); color: var(--ink-2); margin-top: 0.5rem; }
.fig-legend li { display: flex; align-items: center; gap: 0.45rem; }

/* ---------- papers and finishes ---------- */
.pf-list { display: grid; gap: 0; }
.pf { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); padding-block: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line); scroll-margin-top: 9rem; }
.pf-fig { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--set); position: relative; }
.pf-fig img { width: 100%; height: 100%; object-fit: cover; }
.pf-sw { background: var(--set); }
.pf-sw::before { content: ""; position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 3.5 / 2; transform: translate(-50%, -50%) rotate(-4deg); background: var(--sw); border-radius: 3px; box-shadow: 0 1px 0 rgba(22, 19, 17, 0.08), 0 18px 30px -22px rgba(22, 19, 17, 0.5), inset 0 0 0 1px rgba(22, 19, 17, 0.08); }
.pf-body h3 { font-size: var(--t-3); }
.pf-feel { font-weight: 600; margin: 0.4rem 0 0.6rem; }
.pf-body > p:not(.pf-feel) { color: var(--ink-2); max-width: 62ch; }
.pf-facts { margin: 1.25rem 0 0; display: grid; gap: 0; }
.pf-facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.7rem; border-top: 1px solid var(--line); }
.pf-facts dt { font-size: var(--t-s); color: var(--ink-2); }
.pf-facts dd { margin: 0; }
.pf-used { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.pf-used a { font-size: var(--t-s); }

/* ---------- for your business ---------- */
.biz-other { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.biz-other ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.biz-other a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); text-decoration: none; font-size: var(--t-s); }
.biz-other a:hover { border-color: var(--ink); }

/* ---------- big format, search, 404 ---------- */
.big { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.big-list { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.big-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.big-list h3 { font-size: var(--t-2); }
.big-list p { color: var(--ink-2); margin-top: 0.3rem; max-width: 52ch; }
.side-card, .cart-sum { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.side-card h2, .cart-sum h2 { font-size: var(--t-3); }
.side-card p { color: var(--ink-2); }
.find { max-width: 52rem; }
.find-form { margin-top: 1.75rem; display: grid; gap: 0.5rem; }
.find-form label { font-weight: 600; font-size: var(--t-s); }
.find-row { display: flex; gap: 0.6rem; }
.input, .select { width: 100%; min-height: 52px; padding: 0 1rem; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--card); font-size: var(--t-0); color: var(--ink); transition: border-color 160ms var(--ease); }
.input:hover, .select:hover { border-color: var(--ink-2); }
.input:focus-visible, .select:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
.find-row .input { flex: 1; min-width: 0; }
.select { appearance: none; padding-right: 2.5rem; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23161311' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 0.9rem center; cursor: pointer; }
.find-try { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.find-try span { font-size: var(--t-s); color: var(--ink-2); }
.find-try ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.find-count { font-weight: 600; margin-bottom: 1.5rem; }
.find-count:empty { display: none; }
.find-none { display: grid; gap: 1.25rem; }
.find-none p { font-size: var(--t-2); font-family: var(--display); font-weight: 600; }
.find-none small { display: block; font: 400 var(--t-0) var(--body); color: var(--ink-2); margin-top: 0.4rem; }
.lost { max-width: 40rem; padding-block: clamp(2rem, 6vw, 5rem); }
.lost-code { font-family: var(--display); font-weight: 600; font-size: clamp(4rem, 2rem + 8vw, 8rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--line-2); }
.lost .cta-row { margin-top: 1.75rem; }
.lost-other { margin-top: 2rem; color: var(--ink-2); font-size: var(--t-s); }

/* ---------- cart and thanks ---------- */
.cart-full { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cart-empty { display: grid; gap: 1.25rem; justify-items: start; font-size: var(--t-1); }
.cart-empty .grid { justify-self: stretch; }
.cart-start-h { margin-top: clamp(2rem, 5vw, 3rem); }
.cart-lines { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.cart-lines li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 112px; height: 112px; border-radius: var(--r-s); background: var(--set); overflow: hidden; display: block; }   /* large enough to see your own design in the cart */
/* the cart's heading sat 100 px above its first line: the page head's space and the section's, one after the other */
.page-head.plain:has(+ .section > #cart) { padding-bottom: 0.5rem; }
.section:has(> #cart) { padding-top: 1rem; }
.cart-thumb svg, .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-lines a { font-weight: 600; text-decoration: none; display: block; }
.cart-lines a:hover { text-decoration: underline; }
.cart-lines span { color: var(--ink-2); font-size: var(--t-s); display: block; }
.cart-lines b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-qty { min-height: 40px; width: auto; margin-top: 0.4rem; font-size: var(--t-s); }
.cart-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; }
.sum-row b { font-family: var(--display); font-weight: 600; font-size: var(--t-3); }
.keep { margin-top: 1rem; }
.pay { display: grid; gap: 1rem; }
.opts { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.opts legend { font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; padding: 0.85rem 1rem; min-height: 44px; border-radius: var(--r-s); background: var(--page); border: 1px solid var(--line-2); cursor: pointer; transition: border-color 160ms var(--ease); }
.opt:hover { border-color: var(--ink-2); }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--accent); }
.opt b { display: block; font-weight: 600; }
.opt small { display: block; color: var(--ink-2); font-size: var(--t-s); }
.pay-error { padding: 0.8rem 1rem; border-radius: var(--r-s); background: var(--accent-wash); color: var(--accent-deep); font-weight: 600; }
.notice { margin-bottom: 1.5rem; padding: 0.9rem 1.1rem; border-radius: var(--r-s); background: var(--card); border: 1px solid var(--line-2); font-weight: 600; }
.pickup-line { padding: 0.85rem 1rem; border-radius: var(--r-s); background: var(--page); font-size: var(--t-s); color: var(--ink-2); }
.pickup-line b { color: var(--ink); }
.cart-sum a.btn, .cart-sum .btn-primary { width: 100%; }
.cart-sum .fine a, .policy a { color: inherit; }
.thanks { max-width: 46rem; }
.thanks h1 { font-size: var(--t-5); }
.thanks > p { margin-top: 1rem; font-size: var(--t-1); }

/* ---------- policies, help, contact, file guide ---------- */
.policy { max-width: 44rem; font-size: var(--t-1); line-height: 1.65; }
.policy h2 { font-size: var(--t-2); margin: 2.5rem 0 0.75rem; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy ul, .policy ol { margin: 0 0 1rem; max-width: 68ch; }
.policy ul, .policy ol { padding-left: 1.3rem; }
.policy li { margin-bottom: 0.4rem; }
.policy-more { margin-top: 2rem !important; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--t-0); }
.policy-grid { display: grid; grid-template-columns: minmax(0, 44rem) minmax(0, 20rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.policy-grid .policy { grid-column: 1; grid-row: 1; }
.policy-short { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hdr-h) + 1.5rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(1.25rem, 3vw, 1.75rem); }
.policy-short h2 { font-size: var(--t-2); }
.policy-short ul { margin: 1rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.6rem; }
.policy-short p { margin-top: 1rem; font-size: var(--t-s); color: var(--ink-2); }
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.send-card { border: 1px solid var(--line-2); border-radius: var(--r-m); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1rem; align-content: start; background: var(--card); }
.send-card h2 { font-size: var(--t-3); }
.send-card p { color: var(--ink-2); max-width: 52ch; }
.send-card .btn { justify-self: start; }
.guide-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.guide-head p { max-width: 36rem; }
.guide-fig { margin: 0; max-width: 520px; justify-self: end; width: 100%; }
.guide-fig figcaption { margin-top: 0.75rem; font-size: var(--t-s); color: var(--ink-2); }
.bleed-fig { width: 100%; height: auto; }
.bf-t { font: 600 22px var(--display); fill: var(--ink); }
.bf-s { font: 500 15px var(--body); fill: var(--ink-2); }
.bf-l line { stroke: var(--ink-2); stroke-width: 1; }
.bf-l text { font: 500 13px var(--body); fill: var(--ink-2); }
.guide-rules { list-style: none; padding: 0; counter-reset: rule; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem); }
.guide-rules li { counter-increment: rule; display: grid; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.guide-rules li::before { content: counter(rule); font-family: var(--display); font-weight: 600; font-size: var(--t-s); color: var(--ink-2); }
.guide-rules b { font-size: var(--t-1); font-weight: 600; }
.guide-rules span { color: var(--ink-2); }
.guide-end { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.guide-end h2 { font-size: var(--t-3); margin-bottom: 0.75rem; }
.guide-end p { color: var(--ink-2); }

/* ---------- after "Add to cart" ---------- */
.added-panel { position: fixed; right: clamp(0.75rem, 3vw, 2rem); top: calc(var(--hdr-h) + 2.75rem); z-index: 50; width: min(380px, calc(100vw - 1.5rem)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.25rem; display: grid; gap: 0.85rem; box-shadow: 0 30px 60px -30px rgba(22, 19, 17, 0.45); opacity: 0; transform: translateY(8px); pointer-events: none; visibility: hidden; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms; }
.added-panel.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.ap-head { font-weight: 600; }
.ap-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0.85rem; align-items: center; }
.ap-thumb { width: 64px; height: 64px; border-radius: var(--r-s); background: var(--set); overflow: hidden; display: block; }
.ap-thumb svg, .ap-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-item b { display: block; font-weight: 600; }
.ap-item span { font-size: var(--t-s); color: var(--ink-2); }
.fly { position: fixed; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); pointer-events: none; }

/* ---------- widths ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-bc { grid-template-columns: repeat(4, minmax(0, 1fr)); }  /* the hub keeps one row per section until phones (2 columns) */
  .mm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
  .sw-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .head-split, .pdp-grid, .visit, .pf-teaser, .how, .cart-full, .big, .help, .details-head, .guide-head, .guide-end, .policy-grid { grid-template-columns: minmax(0, 1fr); }
  .policy-short { grid-column: 1; grid-row: auto; position: static; }
  .grid, .grid-3, .grid-bc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-list { grid-template-columns: minmax(0, 1fr); }
  .biz-list li:nth-child(2) .biz-row { border-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .side-card, .cart-sum, .help-ask { position: static; }
  .faq-cols { columns: 1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { aspect-ratio: 16 / 10; }
  .head-fig, .biz-fig { aspect-ratio: 4 / 3; }
  .guide-fig { justify-self: start; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 56px; }
  .utility .wrap > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hide-s { display: none; }
  .lang-switch { padding: 0 0.5rem; }
  .logo img { height: 28px; }
  .hdr-bar { gap: 0.5rem; }
  .ftr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr-top > div:last-child { grid-column: 1 / -1; }
  .pf { grid-template-columns: minmax(0, 1fr); }
  .pf-fig { aspect-ratio: 16 / 9; }
  .pf-facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .sw-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buy-actions { grid-template-columns: minmax(0, 1fr); }
  .hero .cta-row .btn, .lost .btn { flex: 1 1 100%; }
  .cart-lines li { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-lines li > .btn-text { grid-column: 2 / -1; justify-self: start; }
  .guide-rules { grid-template-columns: minmax(0, 1fr); }
  .biz-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0.9rem; }
  .biz-row-fig { width: 64px; }
  .qty-table td:not(:first-child), .qty-table th { padding-inline: 0.5rem; }
  .qty-table label { padding-inline: 0.5rem; gap: 0.45rem; }
  .way-up .file-check { margin-left: 0; }
  .big-list li { flex-direction: column; align-items: start; }
}
@media (max-width: 380px) {
  .grid, .grid-3, .grid-bc { gap: 1.25rem 0.6rem; }
  .tile-facts { display: none; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .q-save { font-size: var(--t-xs); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .stack.is-fanned .stack-piece, .stack .stack-piece { transition: none; }
}
@media print {
  .utility, .hdr, .ftr, .buy-bar, .pills-bar { display: none; }
}

/* ---------- sitewide colour, 2026-11-29 (design phase 2; every phase 2 rule lives in this block) ----------
   <main> carries the page's colour (build.py main_cls): g-<group> on a group's page, its products and big format;
   z-<kind> on the others. Fill for bands, wash for tiles and section backgrounds, deep for coloured lines.
   Only --ink text sits on a fill; magenta stays the only action colour. */
.z-biz, .sh-biz { --g: var(--c-stationery); --g-wash: var(--c-stationery-wash); --g-deep: var(--c-stationery-deep); } /* businesses: lilac, as on the home page */
.z-help { --g: var(--c-print); --g-wash: var(--c-print-wash); --g-deep: var(--c-print-deep); }  /* how ordering works: the blue of the home steps */
.z-papers { --g: var(--c-cards); --g-wash: var(--c-cards-wash); --g-deep: var(--c-cards-deep); } /* papers: the mango of the cards they make */

/* Group heads: a full-width band in the group's fill, the banner photo set into it. */
.head-g { background: var(--g, var(--set)); padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 4vw, 3.25rem); }
.head-g .crumbs, .head-g .crumbs a, .head-g .lede, .head-g .head-count { color: var(--ink); }
.head-g .head-count { font-weight: 600; }
.head-g .head-fig { aspect-ratio: 4 / 3; border-radius: var(--r-xl); background: var(--card); box-shadow: 0 22px 40px -30px rgba(22, 19, 17, 0.6); }
.head-g :focus-visible { outline-color: var(--ink); }
.head-g + .section-top0, .head-biz + .section-top0 { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Business heads and the papers head: the section wash, as the home page's business section. */
.head-biz, .z-papers .head { background: var(--g-wash); padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 4vw, 3.25rem); }
.head-biz .biz-fig { border-radius: var(--r-xl); aspect-ratio: 4 / 3; }
.z-help .page-head { background: var(--g-wash); }

/* Product tiles: the picture mounted on its group's wash, the way the home tiles sit on their fill. */
.tile-p { background: var(--g-wash, var(--set)); border-radius: 16px; padding: 8px 8px 0.9rem; gap: 0.15rem; transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.tile-p .tile-fig { border-radius: 10px; margin-bottom: 0.7rem; }
.tile-p .tile-name, .tile-p .tile-meta { padding-inline: 0.4rem; }
.tile-p .tile-facts { margin-inline: 0.4rem; border-top-color: rgba(22, 19, 17, 0.14); }
.grid:has(> .tile-p) { gap: clamp(0.75rem, 1.6vw, 1.25rem); }
@media (hover: hover) {
  .tile-p:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(22, 19, 17, 0.55); }
  .tile-p:hover .tile-fig { transform: none; }
}
.tile-p:active { transform: scale(0.99); }
.tile-p:focus-visible { border-radius: 16px; }

/* Product pages: the buying area on the group's wash; the cards in it stay paper. */
main[class^="g-"] .pdp { background: #fff; }  /* white while the buyer chooses (Aaron, 2026-12-01); the group colour stays on the rest of the page */
main[class^="g-"] .pdp .buy-facts li { background: var(--card); }
main[class^="g-"] .pdp .summary { background: var(--card); box-shadow: inset 0 0 0 1px rgba(22, 19, 17, 0.08); }

/* All products: each group's heading and jump pill carry its colour. */
.pill-g::before, .z-all .sub > .sec-head h2::before { content: ""; flex: none; background: var(--g); }
.pill-g::before { width: 10px; height: 10px; border-radius: 50%; }
.z-all .sub > .sec-head h2 { display: flex; align-items: center; gap: 0.75rem; }
.z-all .sub > .sec-head h2::before { width: 0.62em; height: 0.62em; border-radius: 5px; }

/* Header and phone menu: the current group is underlined in its deep colour; the phone menu shows each group's colour. */
.mm-item .mm-top[aria-current="page"] { text-decoration-color: var(--g-deep, var(--ink)); text-decoration-thickness: 3px; }
.sh-btn > span, .sh-link > span { display: inline-flex; align-items: center; gap: 0.85rem; }
.sh-btn > span::before, .sh-link > span::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--g, var(--card)); box-shadow: inset 0 0 0 1px rgba(22, 19, 17, 0.16); }

/* Big format: the teal band, and the price card on the teal wash. */
.g-big .side-card { background: var(--g-wash); border-color: transparent; }

/* Contact: the home page's ink band, with both cards in paper. */
.band-ink .send-card { color: var(--ink); border-color: transparent; }
.band-ink .send-card :focus-visible, .band-ink .contact-card :focus-visible { outline-color: var(--ink); }
.band-ink .contact { align-items: start; }

/* 404: the home page's mango highlighter, still, under the number. */
.lost-code { position: relative; z-index: 0; display: inline-block; color: var(--ink); }
.lost-code::after { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.04em; bottom: 0.08em; height: 0.36em; border-radius: 4px; background: var(--c-cards); }

@media (max-width: 900px) {
  .head-g .head-fig, .head-biz .biz-fig { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .tile-p { padding: 6px 6px 0.8rem; border-radius: 14px; }
  .tile-p .tile-fig { border-radius: 9px; margin-bottom: 0.6rem; }
  .tile-p .tile-name, .tile-p .tile-meta { padding-inline: 0.3rem; }
  .tile-p .tile-name { font-size: 0.9375rem; }
  .tile-p .tile-meta { font-size: var(--t-xs); }
  .band-ink .contact-card .btn, .band-ink .send-card .btn { flex: 1 1 100%; justify-self: stretch; }
}

/* ---------- accessibility pass, 2026-11-29 (WCAG 2.2 AA; ../../design/accessibility-2026-11-29.md) ---------- */
:root { --field: #857b71; } /* a form field's edge: 3.3:1 or more on every surface it sits on (1.4.11) */
.input, .select { border-color: var(--field); }
.input::placeholder { color: var(--ink-2); opacity: 1; } /* 6.8:1; the browser's grey was about 4.4:1 */
main:focus { outline: none; } /* the skip link moves focus to <main>; the ring belongs to what is focused next */
.utility a { display: inline-flex; align-items: center; min-height: 36px; } /* targets fill the bar's height */
@media (max-width: 640px) { .utility a.hide-s { display: none; } } /* keeps the phone rule above winning */
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.pf-used { gap: 0.5rem 1rem; }
/* Front / Back: the side shown reads at 3:1 or more against the other (a state, 1.4.11) */
.g-sides button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.g-sides button[aria-pressed="true"]:hover { color: #fff; }
.table-wrap:focus-visible { outline-offset: 2px; }
.fc-out:focus { outline: none; }
.fc-out:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
#cart-empty-p:focus { outline: none; }
/* Phones: the fixed buy bar never covers the control that has focus (2.4.11) */
@media (max-width: 899.98px) { html:has(#buy-bar) { scroll-padding-bottom: 6rem; } }
/* Short windows (a laptop at 200% to 400% zoom, a phone on its side): the header and the filter bar scroll away with the
   page, and the buy bar stays off, so they never take most of the screen or hide what has focus (1.4.10, 2.4.11) */
@media (max-height: 500px) {
  .hdr, .pills-bar { position: relative; top: auto; }
  html { scroll-padding-top: 1rem; scroll-padding-bottom: 1rem; }
  .buy-bar { display: none; }
}

/* ---------- home hero: seven pieces (design, 2026-11-29; Aaron: "more products more fun") ----------
   Each .stack-piece is placed and turned here; its .sp-f holds the flat drawing, then the live 3D or a still.
   Gathered at first (--gx/--gy pull it most of the way to the middle), it fans out once with a little overshoot, floats
   twice and rests: every movement nobody asked for is over by about 4.6 s. --px/--py (app.js) lean it toward the pointer,
   front pieces more than back ones (--d), so the pile has depth. */
.stack { --px: 0; --py: 0; }
.stack-piece { --rot: 0deg; --d: 10; --gx: 0%; --gy: 0%; --fd: 1.5s; --fy: -8px; --i: 0;
  transform: translate(var(--gx), var(--gy)) rotate(calc(var(--rot) * 0.2)) scale(0.8);
  translate: calc(var(--px) * var(--d) * 1px) calc(var(--py) * var(--d) * 1px);
  transition: transform 850ms cubic-bezier(0.34, 1.36, 0.5, 1) calc(var(--i) * 60ms), translate 450ms var(--ease) 0ms, opacity 300ms var(--ease); }
.stack.is-fanned .stack-piece { transform: rotate(var(--rot)); }
.sp-f { position: absolute; inset: 0; }
.sp-f > .line-art { width: 100%; height: 100%; transition: opacity 300ms var(--ease); }
.stack-piece.is-live .sp-f > .line-art { opacity: 0; }
.sp-live, .sp-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-still { object-fit: contain; animation: fade 300ms var(--ease) both; }
@media (prefers-reduced-motion: no-preference) {
  .stack.is-fanned .sp-f { animation: sp-float var(--fd) ease-in-out calc(1s + var(--i) * 60ms) 2 alternate both; }
}
@keyframes sp-float { to { transform: translateY(var(--fy)) rotate(1deg); } }
/* A pile, back to front. The 3D piece fills about 70% of its box, so boxes overlap while the paper only overlaps at the
   edges: the flyer's logo is at its top, the postcard's top right, the brochure's on its middle panel, and nothing sits on them. */
.stack .sp-5 { --i: 5; z-index: 1; left: -4%; top: -4%; width: 50%; height: 62%; --rot: -8deg; --d: 5; --gx: 41%; --gy: 26%; --fd: 1.4s; }
.stack .sp-4 { --i: 4; z-index: 1; left: 60%; top: 0%; width: 40%; height: 48%; --rot: 7deg; --d: 6; --gx: -52%; --gy: 38%; --fd: 1.5s; }
.stack .sp-6 { --i: 6; z-index: 2; left: 36%; top: 0%; width: 32%; height: 32%; --rot: 10deg; --d: 8; --gx: -4%; --gy: 74%; --fd: 1.3s; --fy: -6px; }
.stack .sp-3 { --i: 3; z-index: 2; left: -6%; top: 47%; width: 50%; height: 54%; --rot: 9deg; --d: 10; --gx: 43%; --gy: -31%; --fd: 1.5s; }
.stack .sp-2 { --i: 2; z-index: 3; left: 17%; top: 20%; width: 70%; height: 52%; --rot: -4deg; --d: 12; --gx: -2%; --gy: 5%; --fd: 1.6s; }
.stack .sp-1 { --i: 1; z-index: 5; left: 3%; top: 29%; width: 38%; height: 30%; --rot: -13deg; --d: 20; --gx: 52%; --gy: 14%; --fd: 1.3s; --fy: -11px; }
.stack .sp-0 { --i: 0; z-index: 6; left: 40%; top: 52%; width: 62%; height: 48%; --rot: 8deg; --d: 16; --gx: -24%; --gy: -38%; --fd: 1.6s; }
@media (max-width: 640px) {
  /* a phone: four pieces, still a party */
  .stack .sp-4, .stack .sp-5, .stack .sp-6 { display: none; }
  .stack .sp-1, .stack .sp-2, .stack .sp-3 { display: block; }
  .hm-hero .hero-stage { aspect-ratio: 5 / 4; }
  .stack .sp-2 { left: -10%; top: -5%; width: 80%; height: 62%; --rot: -6deg; --gx: 18%; --gy: 27%; }
  .stack .sp-3 { left: 46%; top: 1%; width: 58%; height: 56%; --rot: 8deg; --gx: -32%; --gy: 30%; }
  .stack .sp-1 { left: -6%; top: 45%; width: 58%; height: 36%; --rot: -10deg; --gx: 33%; --gy: -25%; }
  .stack .sp-0 { left: 21%; top: 42%; width: 84%; height: 58%; --rot: 6deg; --gx: -15%; --gy: -28%; }
}
/* One canvas over the pile draws every piece in 3D (paper3d.js stage, app.js 2026-11-30): the boxes above only place them.
   It takes the pointer: the piece under it tilts toward it and turns when dragged; a vertical swipe still scrolls a phone. */
.stack .stage-gl { z-index: 7; }
.hm-hero .hero-stage::after { z-index: 8; }
.hero-side { min-width: 0; }
.stack-hint { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.6rem; color: var(--s-hero-ink-2, var(--ink-2));
  font-size: var(--t-xs); font-weight: 500; opacity: 0; transition: opacity 400ms var(--ease); }
.stack-hint.is-on { opacity: 1; transition-delay: 1.6s; }
.stack-hint.is-on.is-done { opacity: 0; transition-delay: 0s; }

/* ---------- colour roles and colour directions (design, 2026-11-29; Aaron: "more energy more vibes") ----------
   Roles: every coloured surface of the home page, the header and the footer reads one of these tokens. Their defaults
   are the colours the site had before, so without data-theme nothing changes. --s-X is a section's surface, --s-X-ink
   and --s-X-ink-2 its text, --s-X-line a quiet button's edge on it, --s-X-hover a quiet button's hover fill on it. */
:root {
  --hdr-bg: rgba(244, 241, 236, 0.86); --hdr-bg-solid: rgba(244, 241, 236, 0.94);
  --hl: var(--c-cards); --hl-h: 0.4em;  /* the highlighter under the hero's key words */
  --s-hero: transparent; --s-hero-stage: var(--c-cards); --s-hero-ink: var(--ink); --s-hero-ink-2: var(--ink-2);
  --s-hero-line: var(--line-2); --s-hero-hover: var(--card);
  --s-groups: transparent; --s-groups-ink: var(--ink); --s-groups-ink-2: var(--ink-2);
  --s-biz: var(--c-stationery-wash); --s-biz-ink-2: var(--ink-2);
  --s-pf: transparent;
  --s-how: var(--c-print); --s-how-ink: var(--ink); --s-how-dot: var(--ink); --s-how-dot-ink: #fff;
  --s-visit: var(--ink); --s-visit-ink: #fff; --s-visit-ink-2: rgba(255, 255, 255, 0.78);
  --s-ftr: transparent; --s-ftr-ink: var(--ink); --s-ftr-ink-2: var(--ink-2); --s-ftr-line: var(--line); --s-ftr-line-2: var(--line-2); --s-ftr-card: var(--card); --s-ftr-logo: none;
}
.hm-hero { background: var(--s-hero); color: var(--s-hero-ink); }
.hm-hero .hero-sub { color: var(--s-hero-ink-2); }
.hm-hero .btn-quiet { color: var(--s-hero-ink); border-color: var(--s-hero-line); }
.hm-hero .btn-quiet:hover { border-color: var(--s-hero-ink); background: var(--s-hero-hover); }
.hm-hero :focus-visible { outline-color: var(--s-hero-ink); }
/* crop marks on the hero stage's corners, the store's signature at full size: off unless a direction turns them on */
.hm-hero .hero-stage::after { content: ""; position: absolute; inset: 14px; z-index: 7; pointer-events: none; opacity: var(--stage-marks, 0); --cm: var(--s-hero-ink);
  background:
    linear-gradient(var(--cm), var(--cm)) left top / 22px 1.5px no-repeat, linear-gradient(var(--cm), var(--cm)) left top / 1.5px 22px no-repeat,
    linear-gradient(var(--cm), var(--cm)) right top / 22px 1.5px no-repeat, linear-gradient(var(--cm), var(--cm)) right top / 1.5px 22px no-repeat,
    linear-gradient(var(--cm), var(--cm)) left bottom / 22px 1.5px no-repeat, linear-gradient(var(--cm), var(--cm)) left bottom / 1.5px 22px no-repeat,
    linear-gradient(var(--cm), var(--cm)) right bottom / 22px 1.5px no-repeat, linear-gradient(var(--cm), var(--cm)) right bottom / 1.5px 22px no-repeat; }
.hm-groups { background: var(--s-groups); color: var(--s-groups-ink); }
.hm-groups .sec-head p { color: var(--s-groups-ink-2); }
.hm-groups :focus-visible { outline-color: var(--s-groups-ink); }
.hm-biz .sec-head p, .hm-biz .biz-tile-t p, .hm-biz .biz-tile-t ul { color: var(--s-biz-ink-2); }
.hm-pf { background: var(--s-pf); }
/* the footer takes its surface's text and line colours; a reversed footer turns the black logo white */
.ftr { background: var(--s-ftr); --ink: var(--s-ftr-ink); --ink-2: var(--s-ftr-ink-2); --line: var(--s-ftr-line); --line-2: var(--s-ftr-line-2); --card: var(--s-ftr-card); }
.ftr-brand img { filter: var(--s-ftr-logo); }
/* accent used as text sits on washes too, so it has its own step (4.5:1 on every wash in every direction) */
:root { --accent-text: var(--accent); }
.q-save, .way .link-arrow { color: var(--accent-text); }

/* Colour directions for review: ?theme=a, b or c (theme.js puts data-theme on <html>). Tokens only: the tiles, bands,
   group pages, product pages and the 3D sample art (app.js reads the --c-* steps) all follow. Contrast, checked:
   ../../design/energy-2026-11-29/README.md. Only --ink text sits on a fill; one action colour per direction. */

/* A, Miami bold: South Beach by day. Turquoise behind the hero, flamingo and sunshine bands, a deep-water close. */
html[data-theme="a"] {
  --page: #fffaf2; --set: #f7ecdc; --card: #ffffff; --ink: #14110f; --ink-2: #5a5048; --line: #efe3d2; --line-2: #e0d0bb;
  --accent: #c4005f; --accent-deep: #9a004a; --accent-wash: #ffe4ef;   /* hibiscus: white on it 6.0:1 */
  --c-cards: #ffd23f;      --c-cards-wash: #fff3c4;      --c-cards-deep: #7a5500;
  --c-print: #2fd0c8;      --c-print-wash: #d6f7f4;      --c-print-deep: #006b66;
  --c-marketing: #b79cff;  --c-marketing-wash: #eee6ff;  --c-marketing-deep: #5b3fb0;
  --c-stickers: #ff6f59;   --c-stickers-wash: #ffe3dc;   --c-stickers-deep: #b03a24;
  --c-stationery: #ff9ec7; --c-stationery-wash: #ffe6f1; --c-stationery-deep: #a8336b;
  --c-merch: #34c56a;      --c-merch-wash: #dcf6e4;      --c-merch-deep: #17693a;
  --c-big: #3aa0ff;        --c-big-wash: #ddeeff;        --c-big-deep: #1257b0;
  --hdr-bg: rgba(255, 250, 242, 0.86); --hdr-bg-solid: rgba(255, 250, 242, 0.94);
  --s-hero: #2fd0c8; --s-hero-stage: transparent; --s-hero-ink-2: #173b38; --s-hero-line: rgba(20, 17, 15, 0.42); --s-hero-hover: rgba(255, 255, 255, 0.35);
  --s-biz: #ffffff; --s-biz-ink-2: var(--ink-2);   /* white, as MOO (Aaron 2026-12-01: no pink) */
  --s-how: #ffd23f;
  --s-visit: #0c4a4f; --s-visit-ink-2: #c9e6e3;
}

/* B, Neon dusk: Ocean Drive after sunset. Deep navy slabs with neon blocks on them; flat colour, no gradients. */
html[data-theme="b"] {
  --page: #f4f3f8; --set: #e8e6f0; --card: #ffffff; --ink: #0f1433; --ink-2: #4c5174; --line: #e0deea; --line-2: #cdcadc;
  --accent: #e0006f; --accent-deep: #b3005a; --accent-wash: #ffe1ef; --accent-text: #b3005a; /* neon magenta: white on it 4.8:1 */
  --c-cards: #ffe047;      --c-cards-wash: #fff6c7;      --c-cards-deep: #6e5800;
  --c-print: #34d6ff;      --c-print-wash: #dcf6ff;      --c-print-deep: #00607e;
  --c-stickers: #ff8a3d;   --c-stickers-wash: #ffe7d6;   --c-stickers-deep: #a24300;
  --c-stationery: #c3a6ff; --c-stationery-wash: #eee6ff; --c-stationery-deep: #5a3bb5;
  --c-merch: #9be15d;      --c-merch-wash: #e9f9dc;      --c-merch-deep: #3a6b10;
  --c-big: #22e3b6;        --c-big-wash: #d4f9ef;        --c-big-deep: #00694f;
  --hdr-bg: rgba(244, 243, 248, 0.86); --hdr-bg-solid: rgba(244, 243, 248, 0.94);
  --hl: #34d6ff; --hl-h: 0.14em;
  --s-hero: #0f1433; --s-hero-stage: #34d6ff; --s-hero-ink: #ffffff; --s-hero-ink-2: #c5cae6; --s-hero-line: rgba(255, 255, 255, 0.5); --s-hero-hover: rgba(255, 255, 255, 0.12);
  --s-groups: #0f1433; --s-groups-ink: #ffffff; --s-groups-ink-2: #c5cae6;
  --s-biz: #eee6ff;
  --s-how: #ffe047;
  --s-ftr: #0f1433; --s-ftr-ink: #ffffff; --s-ftr-ink-2: #c5cae6; --s-ftr-line: rgba(255, 255, 255, 0.16); --s-ftr-line-2: rgba(255, 255, 255, 0.5); --s-ftr-card: rgba(255, 255, 255, 0.12); --s-ftr-logo: invert(1);
}

/* C, Press check: the shop wears the inks it prints with. Process yellow, cyan and key black on bright paper; the
   overprint mixes for the other groups; magenta only for actions; crisp, trimmed corners. */
html[data-theme="c"] {
  --page: #fcfbf8; --set: #efede8; --card: #ffffff; --ink: #111111; --ink-2: #57524b; --line: #e7e4dd; --line-2: #d5d1c8;
  --accent: #d6006f; --accent-deep: #a8005a; --accent-wash: #ffe1f0; --accent-text: #a8005a; /* process magenta: white on it 5.1:1 */
  --c-cards: #ffe500;      --c-cards-wash: #fff8c4;      --c-cards-deep: #6b5f00;   /* Y */
  --c-print: #00b4ef;      --c-print-wash: #d9f3fd;      --c-print-deep: #005f80;   /* C */
  --c-stickers: #ff4b3a;   --c-stickers-wash: #ffe2de;   --c-stickers-deep: #b3200f; /* M+Y */
  --c-stationery: #8f9bff; --c-stationery-wash: #e7eaff; --c-stationery-deep: #3443c0; /* C+M */
  --c-merch: #2fc46b;      --c-merch-wash: #dbf5e5;      --c-merch-deep: #17673a;   /* C+Y */
  --c-big: #ff9a1f;        --c-big-wash: #ffecd2;        --c-big-deep: #9a4a00;     /* Y + half M */
  --r-xl: 6px; --r-m: 6px; --r-s: 4px;
  --hdr-bg: rgba(252, 251, 248, 0.86); --hdr-bg-solid: rgba(252, 251, 248, 0.94);
  --hl: #00b4ef;
  --s-hero: #ffe500; --s-hero-stage: transparent; --stage-marks: 1; --s-hero-ink-2: #3d3a10; --s-hero-line: rgba(17, 17, 17, 0.45); --s-hero-hover: rgba(255, 255, 255, 0.45);
  --s-biz: #ffe2de;
  --s-how: #00b4ef;
}

/* ---------- engineering: size on the product page (2026-11-30) ----------
   The "Show size" switch beside Front / Back, the size line under the 3D piece, the dimension lines paper3d.js draws over
   it (svg.p3-dims), and the "Sample design" label on photos (M8). Quiet: ink-2, small type, a halo of the set colour. */
.g-bar { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: -0.25rem; }
.g-bar .g-sides { margin-top: 0; }
.g-bar:not(:has(> :not([hidden]))) { display: none; }
.g-dims { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; padding: 0.3rem 0.35rem 0.3rem 0.55rem;
  border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font: inherit; font-size: var(--t-s); cursor: pointer;
  transition: color 140ms var(--ease), transform 120ms var(--ease); }
.g-dims:hover, .g-dims[aria-pressed="true"] { color: var(--ink); }
.g-dims:active { transform: scale(0.97); }
.g-dims[hidden] { display: none; }
.gd-i { flex: none; }
.gd-sw { position: relative; flex: none; width: 30px; height: 18px; border-radius: var(--r-pill); border: 1.5px solid var(--ink-2); box-sizing: border-box;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.gd-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-2);
  transition: transform 160ms var(--ease), background-color 160ms var(--ease); }
.g-dims[aria-pressed="true"] .gd-sw { background: var(--ink); border-color: var(--ink); }
.g-dims[aria-pressed="true"] .gd-sw::after { background: var(--card); transform: translateX(12px); }
.g-size { margin: 0; font-size: var(--t-s); line-height: 1.45; color: var(--ink); font-variant-numeric: tabular-nums; }
.g-size:empty { display: none; }
.p3-dims { color: var(--ink-2); }
.p3-dims .p3d-line { stroke-width: 1; opacity: 0.8; }
.p3-dims .p3d-lab { font-family: var(--body); font-weight: 500; font-variant-numeric: tabular-nums;
  paint-order: stroke; stroke: var(--set); stroke-width: 3.5px; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .g-dims, .gd-sw, .gd-sw::after { transition: none; } }
/* "Sample design" on photos that show a sample brand (audit M8): the gallery's own label, smaller on tiles */
.smp { z-index: 1; }
.mm-feat-fig { position: relative; }
.mm-feat-fig > .smp { width: auto; height: auto; }
.tile-fig > .smp, .pf-fig > .smp, .mm-feat-fig > .smp { left: 8px; bottom: 8px; padding: 0.12rem 0.45rem; font-size: 0.6875rem; }
.head-fig > .smp { left: 12px; bottom: 12px; }

/* ==========================================================================================================================
   ENGINEERING: product gallery, one main view with its thumbnails under it (2026-11-30, Aaron's call). build.py gallery(): .gallery > .g-main (one square view at a time: .g-view.g-stage, the 3D piece
   first, then each photo; .g-go arrows on it), .g-row (.g-thumbs, a row of square thumbnails, and the .g-count), then
   .g-bar (Front / Back, Show size), .g-size and .g-note. app.js initViews() runs it.
   Computers: the main view is as wide as the left column; the arrows show on hover or focus; four thumbnails fill the row,
   the one shown underlined in the accent. Phones: the same, with smaller thumbnails and "2 of 4" beside them; the arrows
   always show; a swipe on a photo, or from the 3D piece's edges (.g-edge), changes the view, and a drag on the 3D turns it.
   On a computer the gallery stays in sight while the buyer works down the options (Aaron: "make sure that it's showing the
   main image with the ones that are under it all the time"): it is sticky, and its main view is sized so the view, the
   thumbnails and Front / Back fit the window under the header; the buy box takes the rest of the width. In windows under
   700 px tall nothing is sticky and the gallery is the left column's width. Everything in this block starts with .g- or
   sits under .gallery, except that one .pdp-grid rule.
   ========================================================================================================================== */
.gallery { display: grid; gap: 0.75rem; min-width: 0; }
.g-main { position: relative; display: grid; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--set);
  touch-action: pan-y pinch-zoom; }
.g-view { grid-area: 1 / 1; position: relative; min-width: 0; min-height: 0; background: var(--set); }
/* one view at a time: the others leave the page (their pictures load when wanted); the 3D piece only hides, so it keeps
   its size and stays live while a photo shows */
.g-view:not(.is-on):not(.is-out) { display: none; }
.g-view[data-view="3d"]:not(.is-on):not(.is-out) { display: block; visibility: hidden; }
.g-view.is-on { z-index: 1; }
.g-view.is-in { animation: g-in 240ms var(--ease) both; }
.g-view.is-in.from-l { animation-name: g-in-l; }
.g-view.is-out { z-index: 0; }
@keyframes g-in { from { opacity: 0; transform: translateX(16px); } }
@keyframes g-in-l { from { opacity: 0; transform: translateX(-16px); } }
.g-view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-view .line-art { width: 100%; height: 100%; padding: 6%; }
.g-stage::after { z-index: 2; }
@media (hover: hover) { .g-main:hover .g-stage.is-on::after { opacity: 0.8; inset: 10px; } }
.g-main:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* a swipe that starts on the 3D piece's edges changes the view; the rest of the piece turns under the finger */
.g-edge { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 28px; touch-action: pan-y; }
.g-edge-r { left: auto; right: 0; }
.g-view:not(.is-on) .g-edge { display: none; }
/* the arrows: 44 px, on the picture, in its lower part: clear of the size drawn beside the 3D piece (its right edge, at
   mid height) and of the "Sample design" label, and within a thumb's reach on a phone */
.g-go { position: absolute; top: 74%; left: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px;
  padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 3px rgba(22, 19, 17, 0.12); transition: opacity 160ms var(--ease), border-color 140ms var(--ease), transform 120ms var(--ease); }
.g-go[data-go="1"] { left: auto; right: 12px; }
.g-go:hover { border-color: var(--ink); }
.g-go:active { transform: scale(0.97); }
.g-go[aria-disabled="true"] { opacity: 0.4; cursor: default; box-shadow: none; }
.g-go[aria-disabled="true"]:hover { border-color: var(--line-2); }
.g-go[aria-disabled="true"]:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .g-go, .g-go[aria-disabled="true"] { opacity: 0; }
  .g-main:hover .g-go, .g-main:focus-within .g-go { opacity: 1; }
  .g-main:hover .g-go[aria-disabled="true"], .g-main:focus-within .g-go[aria-disabled="true"] { opacity: 0.4; }
}
/* the thumbnails: square, four across the column, the one shown underlined in the accent */
.g-row { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.g-thumbs { flex: 1 1 auto; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 0.5rem) / 4); gap: 0.5rem; min-width: 0;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 5px 5px 9px; margin: -5px -5px -9px; scroll-padding-inline: 5px; } /* room inside the scrolling row for the focus ring and the underline */
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumb { position: relative; display: block; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r-s); background: var(--set); cursor: pointer;
  transition: transform 120ms var(--ease); }
.g-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: var(--r-pill); background: var(--accent);
  opacity: 0; transform: scaleX(0.4); transition: opacity 180ms var(--ease), transform 220ms var(--ease); }
.g-thumb[aria-pressed="true"]::after { opacity: 1; transform: none; }
.g-thumb:active { transform: scale(0.97); }
.g-thumb:focus-visible { outline-offset: 2px; border-radius: var(--r-s); }
.g-thumb-fig { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; }
.g-thumb-fig > img, .g-thumb-fig > .line-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 200ms var(--ease), transform 300ms var(--ease); }
.g-thumb-fig > .line-art { padding: 10%; }
.g-thumb .ld-dim, .g-thumb .ld-t { display: none; }
/* the others sit back a little and come forward under the pointer */
.g-thumb[aria-pressed="false"] .g-thumb-fig > :not(.line-art) { opacity: 0.72; }
.g-thumb[aria-pressed="false"] .g-thumb-fig:not(.has-still) > .line-art { opacity: 0.72; }
@media (hover: hover) {
  .g-thumb:hover .g-thumb-fig > :not(.line-art), .g-thumb:hover .g-thumb-fig:not(.has-still) > .line-art { opacity: 1; }
  .g-thumb:hover .g-thumb-fig > img { transform: scale(1.03); }
}
/* the 3D thumbnail: a rendered still of the piece (app.js) fades in over its drawing */
.g-thumb-fig > .ph.still { opacity: 0; }
.g-thumb-fig > .ph.still.is-in { opacity: 1; }
.g-thumb[aria-pressed="false"] .g-thumb-fig > .ph.still.is-in { opacity: 0.72; }
@media (hover: hover) { .g-thumb:hover .g-thumb-fig > .ph.still.is-in { opacity: 1; } }
.g-thumb-fig.has-still > .line-art { opacity: 0; }
.g-count { flex: none; margin: 0; color: var(--ink-2); font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
.g-row .g-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* said, not shown, on computers */
.g-note { margin: 0; }
/* the Front / Back bar keeps its place while the 3D piece wakes, so nothing under it moves; a piece that cannot run
   (app.js: .is-off) gives the place back */
.gallery:has(.p3-host:not(.is-off)) > .g-bar { display: flex; min-height: 36px; }
.gallery > .g-row { margin-bottom: 0.4rem; } /* clear of the underline, whatever follows */
@media (min-width: 901px) and (min-height: 700px) {
  /* the main view's width: the left column (56%), or less, so that the header (and 1 rem), the view, its thumbnails (a quarter
     of its width, less 6 px), the gaps and Front / Back (5.75 rem together) fit the window: m + m / 4 + 5.75 rem <= the window */
  .pdp-grid { grid-template-columns: minmax(0, min(calc((100% - clamp(1.5rem, 4vw, 4.5rem)) * 0.56), calc((100svh - var(--hdr-h) - 5.75rem) * 0.8))) minmax(0, 1fr); }
  .pdp-grid > .gallery { position: sticky; top: calc(var(--hdr-h) + 1rem); }
}
@media (max-width: 900px) { /* tablets: a 544 px gallery on the column's left edge, so the title and price stay near the top */
  .gallery { width: min(100%, 34rem); justify-self: start; }
}
@media (max-width: 640px) {
  .gallery { width: 100%; gap: 0.6rem; }
  .g-go { left: 8px; }
  .g-go[data-go="1"] { right: 8px; }
  .g-thumbs { flex: 0 1 auto; grid-auto-columns: clamp(50px, 14.5vw, 56px); }
  .g-thumb::after { bottom: -7px; }
  .gallery > .g-row { margin-bottom: 0; }
  .g-row .g-count { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-left: auto; }
  /* Front / Back and Show size: 44 px to the touch, like the arrows; the bar keeps that height while the 3D piece wakes */
  .g-sides button, .g-dims { min-height: 44px; }
  .gallery:has(.p3-host:not(.is-off)) > .g-bar { min-height: 44px; }
}
@media (hover: none) { .g-go { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .g-view.is-in { animation: none; }
  .g-go, .g-thumb, .g-thumb::after, .g-thumb-fig > img, .g-thumb-fig > .line-art { transition: none; }
}
/* The pinned preview (app.js initPin): where the gallery is not held beside the options (phones, tablets, windows under
   700 px tall), the 3D piece shows small under the header once the main view has scrolled away, redrawn on every choice
   or file. A tap goes back to the main view; the cross hides it for the visit. It is a picture for the eye only (the size
   line is its text), and the page keeps what has focus clear of it. Not in windows under 501 px tall. */
.g-pin { position: fixed; left: 0; right: 0; top: var(--hdr-h); z-index: 38; background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px -20px rgba(22, 19, 17, 0.5); opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 180ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms; }
.g-pin.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms var(--ease), transform 220ms var(--ease), visibility 0s; }
.g-pin[hidden] { display: none; }
.g-pin-in { display: flex; align-items: center; gap: 0.5rem; min-height: 64px; }
.g-pin-go { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 0.75rem; min-height: 56px; padding: 4px 0; border: 0; background: none;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.g-pin-go:focus-visible, .g-pin-x:focus-visible { outline-offset: -2px; }
.g-pin-mini { flex: none; width: 48px; height: 48px; border-radius: var(--r-s); background: var(--set); }
.g-pin-mini.is-new { animation: g-pin-new 320ms var(--ease); }
@keyframes g-pin-new { from { transform: scale(0.92); opacity: 0.6; } }
.g-pin-txt { min-width: 0; display: grid; line-height: 1.3; }
.g-pin-name { font-size: var(--t-s); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-pin-opts { font-size: var(--t-xs); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-pin-opts:empty { display: none; }
.g-pin-up { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 50%;
  transition: border-color 140ms var(--ease); }
.g-pin-go:hover .g-pin-up { border-color: var(--ink); }
.g-pin-go:active .g-pin-mini { transform: scale(0.97); }
.g-pin-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--ink-2); cursor: pointer; transition: color 140ms var(--ease), background-color 140ms var(--ease); }
.g-pin-x:hover { color: var(--ink); background: var(--set); }
.g-pin-x svg { width: 20px; height: 20px; }
html.has-pin { scroll-padding-top: calc(var(--hdr-h) + 64px + 1.5rem); }
@media (max-height: 500px) { .g-pin { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .g-pin, .g-pin.is-on { transition: none; transform: none; } .g-pin-mini.is-new { animation: none; } }
/* END product gallery */

/* ==========================================================================================================================
   ENGINEERING: Tutto elsewhere (2026-11-30). build.py social_links(): Instagram and the Google listing, each a labelled link
   with an outline icon (the site's 1.8 px line), opening in a new tab: in the footer, on the contact page and the help page.
   44 px targets at every width. Links only: no widget, no tracking, no rating.
   ========================================================================================================================== */
.soc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; margin: 0; }
.soc { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; color: inherit; text-decoration: none; }
.soc svg { flex: none; }
.soc:hover > span { text-decoration: underline; text-underline-offset: 0.2em; }
.ftr-brand .soc-row { margin: 0.75rem 0 0; max-width: none; font-size: var(--t-s); }
.visit-card dd.soc-row { font-family: var(--body); font-weight: 500; font-size: var(--t-0); letter-spacing: 0; line-height: 1.3; gap: 0 1.5rem; }
.help-ask .soc-row { font-size: var(--t-s); color: var(--ink-2); }
.help-ask .soc:hover { color: var(--ink); }
/* END Tutto elsewhere */

/* ==========================================================================================================================
   ENGINEERING: "Design it here" builder (2026-11-30). Pages /design/<kind>.html (build.py build_builder, site/js/builder.js),
   from design/templates-2026-11-30/mockups/builder.html. Store tokens only. One goal: a print-ready design; one action:
   "Add to cart". Phone first: preview pinned under the top, the form below, the buy bar pinned at the bottom. From 900 px the
   form sits in a 460 px column beside the sticky 3D preview. Everything in this block starts with .bd- or sits under .bd-body.
   ========================================================================================================================== */
.bd-body { background: var(--page); padding-bottom: 6.5rem; }
.bd-top { border-bottom: 1px solid var(--line); background: var(--page); }
.bd-top .wrap { display: flex; align-items: center; gap: 0.5rem 1.25rem; min-height: 60px; }
.bd-home { flex: none; display: block; padding: 6px 0; }
.bd-home img { height: 30px; width: auto; }
.bd-crumb { font-size: var(--t-s); color: var(--ink-2); display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; min-width: 0; }
.bd-crumb a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.bd-crumb a:hover { text-decoration: underline; color: var(--ink); }
.bd-crumb [aria-current] { color: var(--ink); }
.bd-acts { margin-left: auto; display: flex; align-items: center; gap: 0.15rem; }

.bd-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.6rem 1.25rem; }
.bd-head h1 { font-size: var(--t-4); }
.bd-head p { color: var(--ink-2); margin-top: 0.45rem; max-width: 62ch; }
.bd-steps { list-style: none; padding: 0; display: flex; gap: 0.35rem; font-size: var(--t-s); font-weight: 600; }
.bd-steps a { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.85rem 0 0.45rem; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none;
  transition: border-color 140ms var(--ease), color 140ms var(--ease); }
.bd-steps a:hover { border-color: var(--ink-2); color: var(--ink); }
.bd-steps b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--set); color: var(--ink); font-size: 0.75rem; }
.bd-steps .done b { background: var(--ink); color: #fff; }
.bd-steps [aria-current="step"] a { color: var(--ink); border-color: var(--ink); }
.bd-steps [aria-current="step"] b { background: var(--accent); color: #fff; }
.bd-restored { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin-bottom: 1rem; padding: 0.5rem 0.9rem; border-radius: var(--r-s); background: var(--set); font-size: var(--t-s); }
.bd-restored .btn-text { min-height: 36px; color: var(--ink); }
.bd-carry-b { display: inline-flex; flex-wrap: wrap; gap: 0 1.25rem; }   /* item 6b: "Use it" and "Start fresh" */
.bd-noscript { padding: 1rem; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); margin-bottom: 1.5rem; }

.bd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-bottom: 2rem; }
.bd-grid[aria-busy="true"] .bd-form { visibility: hidden; }
.bd-form { display: grid; gap: 2.25rem; min-width: 0; }
.bd-sec { border: 0; padding: 0; margin: 0; min-width: 0; }
.bd-sec > legend, .bd-legend { font-family: var(--display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.15; padding: 0; margin-bottom: 0.85rem; }
.bd-sub { font-size: var(--t-s); color: var(--ink-2); margin: -0.35rem 0 0.9rem; }

/* layouts: real radio inputs, each drawn live with the customer's own details */
.bd-layouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.bd-lay-w { position: relative; min-width: 0; }
.bd-lay-w > input, .bd-pal > input, .bd-chip > input, .bd-file { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.bd-lay { display: grid; gap: 0.35rem; cursor: pointer; }
.bd-lay .th { position: relative; display: block; aspect-ratio: 1.2; border-radius: var(--r-s); background: var(--set); border: 2px solid transparent;
  transition: border-color 140ms var(--ease), transform 120ms var(--ease); }
.bd-lay canvas { position: absolute; inset: 0; margin: auto; display: block; width: 82%; height: 78%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(40, 28, 16, 0.2)) drop-shadow(0 4px 6px rgba(40, 28, 16, 0.16)); }
.bd-lay .nm { font-size: var(--t-xs); font-weight: 600; text-align: center; color: var(--ink-2); }
.bd-lay:hover .th { border-color: var(--line-2); }
.bd-lay:active .th { transform: scale(0.97); }
.bd-lay-w > input:checked + .bd-lay .th { border-color: var(--accent); }
.bd-lay-w > input:checked + .bd-lay .nm { color: var(--ink); }
.bd-lay-w > input:checked + .bd-lay .nm::before { content: "\002713  "; color: var(--accent-text); }
.bd-lay-w > input:focus-visible + .bd-lay .th { outline: 2px solid var(--ink); outline-offset: 3px; }

/* fields */
#bd-fields { display: grid; gap: 1.75rem; }
.bd-grp { border: 0; padding: 0; margin: 0; min-width: 0; }
.bd-grp > legend { font-weight: 600; font-size: var(--t-1); padding: 0; margin-bottom: 0.75rem; }
.bd-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem 0.9rem; }
.bd-f { display: grid; gap: 0.35rem; min-width: 0; align-content: start; border: 0; padding: 0; margin: 0; }
.bd-f.full { grid-column: 1 / -1; }
.bd-f > label, .bd-f > .label, .bd-f > legend { font-size: var(--t-s); font-weight: 600; padding: 0; }
.bd-f small { font-weight: 400; color: var(--ink-2); }
.bd-f .input { min-height: 48px; font-size: 1rem; }
.bd-f textarea.input { font: inherit; font-size: 1rem; padding: 0.7rem 1rem; line-height: 1.45; resize: vertical; min-height: 4.6rem; }
.bd-f .input.up { text-transform: uppercase; }
.bd-f .input::placeholder { color: #776b61; }   /* an example, lighter than anything typed; 5.2:1 on the field (1.4.3) */
.bd-f .input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.bd-f .hint { font-size: var(--t-xs); color: var(--ink-2); }
.bd-f.err .input, .bd-f.err .bd-row .input { border-color: var(--accent); }
.msg { font-size: var(--t-xs); color: var(--accent-text); font-weight: 600; display: flex; gap: 0.4rem; align-items: start; line-height: 1.4; margin: 0; }
.msg svg { flex: none; margin-top: 2px; }
.bd-warn { font-size: var(--t-xs); color: var(--ink); background: var(--c-cards-wash); border-radius: var(--r-s); padding: 0.5rem 0.7rem; }
/* the hint and the "Both" note in one live region, spaced as the fieldset spaces them */
.bd-live-note { display: grid; gap: 0.35rem; }

.bd-logo { display: flex; align-items: center; gap: 0.9rem; min-height: 72px; padding: 0.75rem; border: 1px dashed var(--field); border-radius: var(--r-m); background: var(--card); }
.bd-logo.has { border-style: solid; border-color: var(--line-2); }
.bd-logo .pv { flex: none; display: grid; place-items: center; width: 88px; height: 56px; border-radius: var(--r-s); background: var(--set); }
.bd-logo .pv img { max-width: 76px; max-height: 44px; width: auto; height: auto; }
.bd-logo .meta { min-width: 0; display: grid; gap: 0.1rem; font-size: var(--t-s); }
.bd-logo .meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-logo .meta span { color: var(--ink-2); font-size: var(--t-xs); }
.bd-logo .acts { margin-left: auto; display: flex; flex-direction: column; align-items: end; }
.bd-logo .acts .btn-text { min-height: 36px; padding: 0.15rem 0; cursor: pointer; }
.bd-up { gap: 0.5rem; }
.bd-file:focus-visible + label, .bd-file:focus-visible ~ label { outline: 2px solid var(--ink); outline-offset: 3px; }

.bd-segs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bd-chip { position: relative; }
.bd-chip label { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--field); border-radius: var(--r-pill); background: var(--card); font-size: var(--t-s); font-weight: 500; cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease); }
.bd-chip label:hover { border-color: var(--ink); }
.bd-chip label:active { transform: scale(0.97); }
.bd-chip input:checked + label { border: 2px solid var(--accent); padding: 0 calc(1rem - 1px); background: var(--accent-wash); font-weight: 700; }
.bd-chip input:checked + label::before { content: "\002713"; color: var(--accent-text); }
.bd-chip input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
.bd-choice .hint, .bd-opt .hint { margin-top: 0.15rem; }
.bd-opt { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; min-width: 0; }
.bd-opt > legend { font-size: var(--t-s); font-weight: 600; padding: 0; margin-bottom: 0.5rem; }

.bd-rows .bd-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 0.5rem; align-items: center; }
.bd-rows.priced .bd-row { grid-template-columns: minmax(0, 1fr) 7.5rem 44px; }
.bd-rowlist { display: grid; gap: 0.5rem; }
.bd-row-h { font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
.bd-row-h span:last-child { grid-column: 2; }
.bd-rows:not(.priced) .bd-row-h { display: none; }
.bd-rm { width: 44px; height: 44px; color: var(--ink-2); }
/* a menu row (matrix N4): the dish and its price, the remove button, then the description across under them */
.bd-rows.desc .bd-row:not(.bd-row-h) { padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.bd-rows.desc .bd-row .bd-desc { grid-column: 1 / 3; grid-row: 2; }
/* Remove comes last in tab order (after the description) but stays beside the dish and its price */
.bd-rows.desc.priced .bd-row .bd-rm { grid-column: 3; grid-row: 1; }
.bd-rows.desc:not(.priced) .bd-row .bd-rm { grid-column: 2; grid-row: 1; }
.bd-addrow { justify-self: start; min-height: 44px; color: var(--ink); font-weight: 600; }

/* colours: a radio group of swatches, each with its name; the checked one also gets a check mark (not colour alone) */
.bd-pals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem 0.6rem; }
.bd-pal { position: relative; min-width: 0; }
.bd-pal label { display: grid; gap: 0.35rem; cursor: pointer; }
.bd-pal .bd-psw { display: grid; grid-template-columns: 1.2fr 1fr; height: 44px; border-radius: var(--r-s); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(20, 17, 15, 0.14); outline: 2px solid transparent; outline-offset: 2px;
  transition: outline-color 140ms var(--ease), transform 120ms var(--ease); }
.bd-pal .bd-psw i { display: block; position: relative; }
.bd-pal .bd-psw i:first-child::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 32%; height: 4px; border-radius: 2px; background: var(--dot); }
.bd-pal .nm { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.bd-pal label:hover .sw { outline-color: var(--line-2); }
.bd-pal label:active .sw { transform: scale(0.97); }
.bd-pal input:checked + label .bd-psw { outline-color: var(--accent); }
.bd-pal input:checked + label .nm { color: var(--ink); }
.bd-pal input:checked + label .nm::before { content: "\002713  "; color: var(--accent-text); }
.bd-pal input:focus-visible + label .bd-psw { outline-color: var(--ink); }
/* B10: the typed builders' colours (door lettering's vinyl, neon tubes): the palette swatches, in a group of their own; the
   neon preview hums slowly where motion is welcome (the glow itself is decoration: its colour is named beside it) */
.bd-ty { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.bd-ty .bd-pal .nm { overflow-wrap: anywhere; }
@keyframes bd-hum { from { filter: brightness(1) saturate(1); } to { filter: brightness(1.12) saturate(1.08); } }
@media (prefers-reduced-motion: no-preference) { .bd-view[data-glow] .bd-flat { animation: bd-hum 2.6s ease-in-out infinite alternate; } }
.bd-note { font-size: var(--t-xs); color: var(--ink-2); margin-top: 0.85rem; }

/* check and order */
.bd-order { display: grid; gap: 1.1rem; margin-bottom: 1.4rem; }
.bd-order .select { min-height: 48px; }
.bd-checks { list-style: none; padding: 0; display: grid; gap: 0.55rem; margin-bottom: 1.1rem; font-size: var(--t-s); color: var(--ink-2); }
.bd-checks li { position: relative; padding-left: 1.4rem; }
.bd-checks li::before { content: ""; position: absolute; left: 0.35rem; top: 0.55rem; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
.bd-tick { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.35rem 0.75rem; padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); }
.bd-tick input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.bd-tick label { font-weight: 600; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.bd-tick .msg { grid-column: 1 / -1; }
.bd-tick.err { border-color: var(--accent); }

/* the preview: the real piece on the set colour; a flat drawing on phones and when the cut and safe lines are on */
.bd-stage { display: grid; gap: 0.7rem; min-width: 0; }
.bd-view { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); background: var(--set); overflow: hidden; }
.bd-flat { position: absolute; inset: 0; margin: auto; display: block; max-width: 78%; max-height: 80%; width: auto; height: auto;
  filter: drop-shadow(0 2px 2px rgba(40, 28, 16, 0.14)) drop-shadow(0 18px 22px rgba(40, 28, 16, 0.22)); }
.bd-p3 { position: absolute; inset: 0; }
.bd-view[data-mode="3d"] .bd-flat, .bd-view:not([data-mode="3d"]) .bd-p3 { display: none; }
.bd-bar { display: flex; align-items: center; gap: 0.6rem 1rem; flex-wrap: wrap; }
.bd-seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--set); }
.bd-seg button { min-height: 40px; min-width: 84px; padding: 0 1rem; border: 0; border-radius: var(--r-pill); background: none; font-weight: 600; font-size: var(--t-s); cursor: pointer; color: var(--ink-2);
  transition: background-color 140ms var(--ease), color 140ms var(--ease), transform 120ms var(--ease); }
.bd-seg button:active { transform: scale(0.97); }
.bd-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bd-tog { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.4rem; border: 0; background: none; font-size: var(--t-s); color: var(--ink-2); cursor: pointer; }
.bd-tog:hover, .bd-tog[aria-pressed="true"] { color: var(--ink); }
.bd-sw { position: relative; flex: none; width: 30px; height: 18px; border-radius: var(--r-pill); border: 1.5px solid var(--ink-2); transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.bd-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-2); transition: transform 160ms var(--ease); }
.bd-tog[aria-pressed="true"] .bd-sw { background: var(--ink); border-color: var(--ink); }
.bd-tog[aria-pressed="true"] .bd-sw::after { background: var(--card); transform: translateX(12px); }
.bd-3dbtn { display: none; }
.bd-legend-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: var(--t-xs); color: var(--ink-2); }
.bd-legend-list li { display: flex; align-items: center; gap: 0.45rem; }
.bd-legend-list i { width: 22px; height: 0; border-top: 2px solid #e0007a; }
.bd-legend-list .lg-safe { border-top: 2px dashed #00a3c7; }
.bd-legend-list .lg-bleed { border-top: 2px dotted #7a6f66; }
.bd-legend-list .lg-fold { border-top: 2px dashed #1f8a4c; }
.bd-legend-list li[hidden] { display: none; }
/* Materials (signs and banners, 2026-12-03): the line that names what the piece is made of, under "Show material". The
   texture itself is drawn by materials.js on the canvas the page shows, never in a file. A car magnet lies on a car door:
   the flat view's ground takes a door's paint while the material is shown. */
.bd-matnote { margin: 0; max-width: 64ch; font-size: var(--t-xs); line-height: 1.45; color: var(--ink-2); }
.bd-matnote b { color: var(--ink); font-weight: 600; }
.bd-view[data-mat="magnet"][data-mode="flat"], .bd-view[data-mat="magnet"][data-mode="guides"], .fe-stage[data-mat="magnet"], .bd-view[data-mat="magnet"][data-mode="edit"] .bd-ed { background: linear-gradient(168deg, #5a6b7e 0%, #3b4959 48%, #2b3643 100%); }
/* on a phone the row of switches has no room for one more: the same switch is a round button on the preview's lower right
   corner (the piece never reaches it: it is at most 74% of the preview's width), 44 px to the finger, taking no height */
.bd-mchip { display: none; }
@media (max-width: 899.98px) {
  .bd-matnote { display: none; }
  .bd-bar { position: relative; }
  .bd-mchip { display: grid; place-items: center; position: absolute; right: 4px; bottom: calc(100% + 0.5rem + 4px); z-index: 2; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
  .bd-mchip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(20, 17, 15, 0.14), 0 2px 6px rgba(40, 28, 16, 0.14); }
  .bd-mchip[aria-pressed="true"] i { background: var(--ink); color: #fff; }
}
.bd-ghost { display: flex; align-items: center; gap: 0.5rem; font-size: var(--t-s); color: var(--ink-2); }
.bd-ghost i { width: 22px; height: 10px; border-radius: 2px; background: var(--ink); opacity: 0.36; flex: none; }
.bd-size, .bd-mail { font-size: var(--t-s); color: var(--ink-2); }
.bd-mail { color: var(--ink); }

/* the buy bar: quantity and price, one status line, the button */
.bd-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -24px rgba(20, 17, 15, 0.45); padding-bottom: env(safe-area-inset-bottom); }
.bd-buy .wrap { display: flex; align-items: center; gap: 0.6rem 1.25rem; min-height: 84px; padding-block: 0.6rem; }
.bd-qty { display: grid; gap: 0.15rem; min-width: 0; }
.bd-qty label { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.bd-qty .select { min-height: 44px; font-weight: 600; padding-left: 0.8rem; }
.bd-status { font-size: var(--t-s); color: var(--ink-2); max-width: 52ch; }
.bd-status a { color: var(--accent-text); font-weight: 600; }
.bd-add { margin-left: auto; min-width: 220px; }
.bd-add.is-busy { cursor: progress; opacity: 0.8; }
.bd-add.is-busy svg { display: none; }
.bd-foot { border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); }
.bd-foot .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; padding-block: 1.25rem; }
.bd-foot a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.bd-foot a:hover { color: var(--ink); text-decoration: underline; }

/* dialogs: the phone's 3D view, and "Added to your cart" with the print file */
.bd-sheet, .bd-added { border: 0; padding: 0; background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(20, 17, 15, 0.55); }
.bd-sheet::backdrop, .bd-added::backdrop { background: rgba(20, 17, 15, 0.5); }
.bd-sheet[open] { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-auto-rows: auto; gap: 0.5rem; padding: 0.5rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); background: var(--page); }
.bd-sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bd-sheet-top h2 { font-size: var(--t-2); }
.bd-sheet-3d { position: relative; border-radius: var(--r-xl); background: var(--set); overflow: hidden; min-height: 0; }
.bd-sheet .bd-seg { justify-self: center; }
.bd-added[open] { width: min(460px, calc(100vw - 2rem)); border-radius: var(--r-xl); }
.bd-added-in { display: grid; gap: 0.9rem; padding: 1.25rem 1.4rem 1.4rem; }
.bd-added h3 { font-size: var(--t-1); margin-top: 0.3rem; }
.bd-added-item { display: flex; gap: 0.9rem; align-items: center; }
.bd-added-item img { flex: none; width: 120px; height: auto; max-height: 120px; object-fit: contain; border-radius: 4px; background: var(--set); box-shadow: 0 1px 3px rgba(20, 17, 15, 0.18); }
.bd-added-item div { display: grid; gap: 0.15rem; min-width: 0; }
.bd-added-item span, .bd-added-p { font-size: var(--t-s); color: var(--ink-2); }
.bd-added-file { font-size: var(--t-xs); font-family: ui-monospace, Menlo, monospace; overflow-wrap: anywhere; color: var(--ink-2); }
.bd-added-acts { display: grid; gap: 0.6rem; }
.bd-added-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 0.6rem; }

.bd-glinks { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 0.6rem; }
.bd-glinks .link-arrow { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.bd-glinks .link-arrow > svg:first-child { width: 18px; height: 18px; }

/* computer: the form in a column beside the sticky preview */
@media (min-width: 900px) {
  .bd-grid { grid-template-columns: minmax(360px, 400px) minmax(0, 1fr); gap: 2.5rem; }
  .bd-stage { position: sticky; top: 1rem; }
}
@media (min-width: 1180px) { .bd-grid { grid-template-columns: 460px minmax(0, 1fr); } }
/* more room for the design on a laptop: the title, its line and the steps share one row where they fit, with less air
   above the preview (customer walk 2026-12-03: the preview began 282 px down a 900 px screen) */
@media (min-width: 1180px) { .bd-head { padding-block: 1rem 0.8rem; flex-wrap: nowrap; } .bd-head p { max-width: 46ch; margin-top: 0.3rem; } .bd-head > :first-child { min-width: 0; } .bd-steps { flex: none; } }
/* three layouts a row on a desktop, not four: at 98 px a layout could not be told from the next (customer walk 2026-12-03) */
@media (min-width: 900px) { .bd-layouts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; } .bd-lay canvas { width: 88%; height: 84%; } }
/* phone: the preview pinned at the top, layouts sideways, one column of fields, a full-width button */
@media (max-width: 899.98px) {
  .bd-body { padding-bottom: 8.5rem; }
  .bd-head { padding-block: 1rem 0.75rem; display: block; }
  .bd-head h1 { font-size: 1.6rem; }
  .bd-head p { display: none; }
  .bd-steps { margin-top: 0.75rem; width: 100%; }
  .bd-steps li { flex: none; min-width: 0; }
  .bd-steps li a { justify-content: center; padding: 0 0.35rem; }
  .bd-steps li[aria-current] { flex: 1; }
  .bd-steps li[aria-current] a { justify-content: start; padding-right: 0.85rem; white-space: nowrap; }
  .bd-steps li:not([aria-current]) .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* hidden from sight only: the link keeps its name */
  .bd-steps li[aria-current] a::after { content: attr(data-now); margin-left: auto; font-weight: 500; color: var(--ink-2); font-size: var(--t-xs); padding-left: 0.5rem; }
  .bd-stage { order: -1; position: sticky; top: 0; z-index: 20; margin-inline: calc(-1 * var(--gutter)); padding: 0.6rem var(--gutter) 0.7rem; background: var(--page); border-bottom: 1px solid var(--line); gap: 0.5rem; }
  .bd-view { aspect-ratio: auto; height: 196px; border-radius: var(--r-m); }
  .bd-flat { max-width: 74%; max-height: 84%; }
  .bd-bar { flex-wrap: nowrap; justify-content: space-between; }
  .bd-seg button { min-width: 70px; min-height: 44px; }
  .bd-logo .acts .btn-text, .bd-restored .btn-text { min-height: 44px; }
  .bd-tog { display: none; }
  .bd-view[data-mode="guides"] ~ .bd-bar .bd-tog { display: inline-flex; }
  .bd-ghost, .bd-size, .bd-legend-list, .bd-mail { display: none; }
  .bd-3dbtn { display: inline-flex; min-height: 44px; padding: 0 1rem; font-size: var(--t-s); margin-left: auto; }
  .bd-layouts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.6rem; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .bd-layouts::-webkit-scrollbar { display: none; }
  .bd-lay-w { flex: 0 0 116px; scroll-snap-align: start; }
  .bd-fields { grid-template-columns: minmax(0, 1fr); }
  /* item 6a: two rows, under 110 px at 390 px: the status line (only while something is missing) beside the short "free check"
     chip, then the quantity with its price (the bar's one total) and the button. The ::after is the line break between them. */
  .bd-buy .wrap { flex-wrap: wrap; align-items: center; min-height: 0; gap: 0 0.5rem; padding-block: 0.45rem; }
  .bd-buy .wrap::after { content: ""; order: 3; flex: 0 0 100%; height: 0; }
  .bd-status { display: none; }
  .bd-buy.is-missing .bd-status { display: block; order: 1; flex: 1 1 0; min-width: 0; max-width: none; font-size: var(--t-xs); line-height: 1.3; }
  .bd-qty { display: contents; }
  .bd-qty[hidden] { display: none; }
  .bd-qty .select { order: 4; flex: 0 1 auto; width: auto; max-width: 62%; min-height: 44px; margin-top: 0.35rem; font-size: var(--t-s); padding-left: 0.6rem; padding-right: 1.8rem; background-position: right 0.55rem center; }
  .bd-qty label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bd-buy .bd-badge { order: 2; flex: none; margin-left: auto; min-height: 24px; min-width: 24px; justify-content: center; padding: 0 0.45rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--page); font-size: 0.75rem; white-space: nowrap; }
  .bd-buy.is-long .bd-badge { padding: 0 4px; }
  .bd-buy.is-long .bd-badge-s { display: none; }   /* a long status line (a postcard's mail panel) gets the row: the chip keeps its tick */
  .bd-buy .bd-badge-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bd-buy .bd-badge-s { display: inline; }
  .bd-buy .bd-add { order: 5; flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0.35rem 0 0; padding: 0 0.75rem; font-size: var(--t-s); }
  .bd-buy .bd-add span { white-space: normal; text-align: center; line-height: 1.15; }
  .bd-buy .bd-add svg { display: none; }
  .bd-restored { padding: 0.15rem 0.75rem; margin-bottom: 0.75rem; font-size: var(--t-xs); gap: 0 0.5rem; }
  .bd-restored .btn-text { font-size: var(--t-xs); }
  .bd-crumb { display: none; }
}
@media (max-width: 899.98px) and (max-height: 700px) { .bd-view { height: 160px; } }
/* tablet: room for the whole layout grid, two columns of fields and a taller preview */
@media (min-width: 600px) and (max-width: 899.98px) and (min-height: 701px) {
  .bd-view { height: 250px; }
  .bd-layouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; }
  .bd-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 380px) { .bd-pals { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bd-rows.priced .bd-row { grid-template-columns: minmax(0, 1fr) 5.5rem 44px; } }
/* under 480 px (down to 320, WCAG 1.4.10): the current step's "Step 2 of 5" goes under its name instead of beside it, so
   neither is cut at the pill's edge, in English or Spanish (audit 2026-12-01, item 8; five steps since builder v2 need the
   room up to 480 px: hard check 2026-12-02 found "Step 2 of" cut at 390 px) */
@media (max-width: 479.98px) {
  .bd-steps li[aria-current] a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.5rem; align-content: center; }
  .bd-steps li[aria-current] b { grid-row: 1 / span 2; }
  .bd-steps li[aria-current] .lbl { line-height: 1.15; }
  .bd-steps li[aria-current] a::after { margin-left: 0; padding-left: 0; line-height: 1.15; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-lay .th, .bd-pal .bd-psw, .bd-chip label, .bd-seg button, .bd-steps a, .bd-sw, .bd-sw::after { transition: none; }
  .bd-lay:active .th, .bd-pal label:active .sw, .bd-chip label:active, .bd-seg button:active { transform: none; }
}
.cart-thumb.is-design { display: grid; place-items: center; }
.cart-thumb.is-design img { width: auto; height: auto; max-width: 84%; max-height: 84%; object-fit: contain; box-shadow: 0 1px 3px rgba(20, 17, 15, 0.2); }
/* Accessibility re-check (design, 2026-11-30). Focus never lands under the fixed buy bar or the phone's pinned preview
   (2.4.11): the page scrolls a focused field clear of both. In short windows (a phone on its side, 200% to 400% zoom) the
   preview and the buy bar stay in the page's flow, so the form is never covered (1.4.10). */
/* the hidden radios cover their whole tile, so scrolling a focused one into view brings the whole tile clear */
.bd-lay-w > input, .bd-pal > input, .bd-chip > input { top: 0; left: 0; width: 100%; height: 100%; }
/* the step links move focus to their section, so its heading is read; like <main>, the section shows no ring of its own */
.bd-sec:focus { outline: none; }
@media (min-width: 900px) { html:has(#bd-buy) { scroll-padding-bottom: 7rem; } }
@media (max-width: 899.98px) { html:has(#bd-buy) { scroll-padding-top: 19rem; scroll-padding-bottom: 10rem; } }
@media (max-width: 899.98px) and (max-height: 700px) { html:has(#bd-buy) { scroll-padding-top: 16rem; } }
@media (min-width: 600px) and (max-width: 899.98px) and (min-height: 701px) { html:has(#bd-buy) { scroll-padding-top: 23rem; } }
@media (max-height: 500px) {
  .bd-stage, .bd-buy { position: static; }
  .bd-stage { margin-inline: 0; padding-inline: 0; border-bottom: 0; }
  .bd-body { padding-bottom: 0; }
  html:has(#bd-buy) { scroll-padding: 1rem; }
}
/* ---------- builder v2 (engineering, 2026-11-30): Customize layout, QR studio, My color, open a Tutto PDF, share, industries ---------- */
/* the switch that turns the free editor on, shown at every width */
.bd-ctog { color: var(--ink); font-weight: 600; padding: 0 0.75rem 0 0.55rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--card); }
.bd-ctog:hover { border-color: var(--ink); }
.bd-ctog[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.bd-ctog[aria-pressed="true"] .bd-sw { border-color: #fff; background: #fff; }
.bd-ctog[aria-pressed="true"] .bd-sw::after { background: var(--ink); transform: translateX(12px); }
.bd-ctog:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.bd-custom-h { font-size: var(--t-xs); color: var(--ink-2); margin-top: -0.25rem; }
/* "Printed colors" (matrix N7): the preview pulled toward what ink on paper shows; its one line says it is an approximation */
.bd-pnote { font-size: var(--t-xs); color: var(--ink-2); margin-top: -0.25rem; }
/* the turning clip (matrix N6): the button, its line, and Share / Save once it is made; in the phone's 3D sheet too */
.bd-clip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; }
.bd-clipbtn { gap: 0.5rem; min-height: 44px; }
.bd-clipbtn[disabled] { opacity: 0.55; cursor: not-allowed; }
.bd-clipbtn[aria-busy="true"] { opacity: 1; cursor: progress; }
.bd-clip-h, .bd-clip-m { margin: 0; font-size: var(--t-xs); color: var(--ink-2); flex: 1 1 18rem; max-width: 60ch; }
.bd-clip-m { flex-basis: 100%; color: var(--ink); font-weight: 500; }
.bd-clip-m:empty { display: none; }
/* item 5: a vehicle's (or storefront job's) designs loading under the preview, or the failure and Try again */
.bd-chunk { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0.6rem 0 0; }
.bd-chunk .msg { flex: 1 1 14rem; min-width: 0; }
.bd-clip-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; flex-basis: 100%; }
.bd-clip-acts[hidden] { display: none; }
.bd-clip-acts .btn { gap: 0.5rem; min-height: 44px; }
.bd-sheet .bd-clip { justify-content: center; text-align: center; }
.bd-sheet .bd-clip-h { flex-basis: 100%; }
.bd-sheet .bd-clip-acts { justify-content: center; }
.bd-stage.is-edit .bd-custom-h, .bd-stage.is-edit #bd-guides, .bd-stage.is-edit .bd-legend-list { display: none; }
/* edit mode: the side drawn flat with bleed and guides, the live 3D beside it */
.bd-edhost { position: relative; min-width: 0; }
.bd-p3lab { display: none; }
.bd-view[data-mode="edit"] { aspect-ratio: auto; height: clamp(380px, 64vh, 660px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 31%); }
.bd-view[data-mode="edit"] .bd-flat { display: none; }
.bd-view[data-mode="edit"] .bd-p3 { display: block; position: relative; inset: auto; margin: 14px 14px 14px 0; border-radius: var(--r-m); border: 1px solid rgba(20, 17, 15, 0.08); background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.bd-view[data-mode="edit"] .bd-p3lab { display: block; position: absolute; left: 10px; top: 8px; z-index: 2; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); pointer-events: none; }
.bd-view[data-mode="edit"] .bd-edhost { height: 100%; }
.bd-ed { position: absolute; inset: 0; display: grid; place-items: center; }
.bd-ed-board { position: relative; filter: drop-shadow(0 2px 2px rgba(40, 28, 16, 0.12)) drop-shadow(0 14px 18px rgba(40, 28, 16, 0.16)); }
.bd-ed-art { position: absolute; inset: 0; display: block; }
.bd-ed-snap, .bd-ed-items { position: absolute; inset: 0; overflow: visible; }
.bd-ed-snap { pointer-events: none; z-index: 3; width: 100%; height: 100%; }
.bd-ed-snap line { stroke: var(--accent); stroke-width: 1; }
.bd-ed-snap line.c { stroke-dasharray: 4 3; }
.bd-ed-it { position: absolute; box-sizing: border-box; cursor: move; touch-action: none; transform-origin: 50% 50%; border-radius: 2px; outline: 1px dashed transparent; outline-offset: 1px; -webkit-user-select: none; user-select: none; }
.bd-ed-it::before { content: ""; position: absolute; inset: -5px; }
.bd-ed-it:hover { outline-color: rgba(20, 17, 15, 0.45); }
.bd-ed-it.is-sel { outline: 1.5px solid var(--accent); z-index: 2; }
.bd-ed-it:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; z-index: 2; }
.bd-ed-it.is-out { outline: 2px dashed var(--accent); background: rgba(184, 0, 106, 0.08); }
.bd-ed-h { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #fff; border: 1.5px solid var(--accent); border-radius: 3px; touch-action: none; z-index: 3; }
.bd-ed-h::before { content: ""; position: absolute; inset: -10px; }
.bd-ed-h.h-nw { left: 0; top: 0; cursor: nwse-resize; } .bd-ed-h.h-se { left: 100%; top: 100%; cursor: nwse-resize; }
.bd-ed-h.h-ne { left: 100%; top: 0; cursor: nesw-resize; } .bd-ed-h.h-sw { left: 0; top: 100%; cursor: nesw-resize; }
.bd-ed-h.h-e { left: 100%; top: 50%; cursor: ew-resize; width: 8px; height: 18px; margin: -9px 0 0 -4px; }
.bd-ed-h.h-w { left: 0; top: 50%; cursor: ew-resize; width: 8px; height: 18px; margin: -9px 0 0 -4px; }
.bd-ed-h.h-rot { left: 50%; top: -26px; border-radius: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; cursor: grab; }
.bd-ed-h.h-rot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 13px; margin-left: -0.75px; background: var(--accent); }
.bd-ed.is-drag, .bd-ed.is-drag .bd-ed-it { cursor: grabbing; }
@media (pointer: coarse) { .bd-ed-h { width: 18px; height: 18px; margin: -9px 0 0 -9px; } .bd-ed-h::before { inset: -13px; } .bd-ed-h.h-rot { top: -32px; width: 20px; height: 20px; margin: -10px 0 0 -10px; } .bd-ed-h.h-rot::after { height: 16px; } .bd-ed-it::before { inset: -8px; } }
/* the tool row: what is chosen, then its size, alignment, weight, color, turn and move; the letters; add a QR code */
.bd-edtools { display: grid; gap: 0.9rem; padding: 0.9rem 1rem 1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.bd-ed-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.bd-ed-lab { font-size: var(--t-s); font-weight: 600; }
.bd-ed-pick { min-height: 44px; flex: 1 1 12rem; max-width: 18rem; }
.bd-ed-hist { display: inline-flex; gap: 0.35rem; }
.bd-ed-b { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--card); color: var(--ink); font: inherit; font-size: var(--t-s); font-weight: 600; cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease); }
.bd-ed-b:hover:not(:disabled) { border-color: var(--ink); }
.bd-ed-b:active:not(:disabled) { transform: scale(0.97); }
.bd-ed-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bd-ed-b[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bd-ed-b:disabled { opacity: 0.4; cursor: not-allowed; }
.bd-ed-wide { display: inline-flex; gap: 0.4rem; padding: 0 0.8rem; }
.bd-ed-head .bd-ed-wide { margin-left: auto; }
.bd-ed-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1.1rem; }
.bd-ed-g { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.bd-ed-gl { flex-basis: 100%; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.bd-ed-gc { flex: 1 1 16rem; }
.bd-ed-val { min-width: 4.4em; text-align: center; font-size: var(--t-s); font-weight: 600; font-variant-numeric: tabular-nums; }
.bd-ed-sws { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-ed-sw { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--card); background: var(--c); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; transition: transform 120ms var(--ease); }
.bd-ed-sw:active { transform: scale(0.95); }
.bd-ed-sw[aria-checked="true"] { box-shadow: 0 0 0 2px var(--accent); }
.bd-ed-sw[aria-checked="true"]::after { content: "\002713"; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.bd-ed-sw:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.bd-ed-cnote { flex-basis: 100%; margin: 0.15rem 0 0; font-size: var(--t-xs); color: var(--ink-2); }
.bd-ed-cnote.is-warn { color: var(--ink); background: var(--c-cards-wash); border-radius: var(--r-s); padding: 0.35rem 0.6rem; }
.bd-ed-none { font-size: var(--t-s); color: var(--ink-2); margin: 0; }
.bd-ed-row2 { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1rem; border-top: 1px solid var(--line); padding-top: 0.85rem; }
.bd-ed-fonts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; min-width: 0; }
.bd-ed-fonts > legend { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 0.35rem; }
.bd-ed-font { position: relative; }
.bd-ed-font > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.bd-ed-font label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--field); border-radius: var(--r-pill); background: var(--card); font-size: var(--t-s); cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease); }
.bd-ed-font label b { font-size: 1.2rem; font-weight: 600; line-height: 1; }
.bd-ed-font label:hover { border-color: var(--ink); }
.bd-ed-font label:active { transform: scale(0.97); }
.bd-ed-font input:checked + label { border: 2px solid var(--accent); padding: 0 calc(0.9rem - 1px); background: var(--accent-wash); font-weight: 600; }
.bd-ed-font input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
.bd-ed-addqr { gap: 0.5rem; }
.bd-ed-adds { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bd-ed-adds .bd-file:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
.bd-ed-addmsg { margin: 0; padding: 0.55rem 0.9rem; border-radius: var(--r-s); background: var(--c-cards-wash); font-size: var(--t-s); max-width: 72ch; }
.bd-ed-addmsg[hidden] { display: none; }
/* "Your photo" (matrix N3): the frame's view of the photo, drag or keys to place it, a zoom slider and move buttons */
.bd-photos { display: grid; gap: 1.1rem; }
.bd-photo { display: grid; gap: 0.5rem; min-width: 0; }
.bd-photo .hint, .bd-photo .msg, .bd-photo .bd-note, .bd-photo .bd-warn { margin: 0; }
.bd-photo-add { min-height: 72px; }
.bd-crop { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 0.75rem 1rem; align-items: start; }
.bd-crop-view { position: relative; overflow: hidden; border-radius: var(--r-s); background: var(--set); cursor: grab; touch-action: none;
  box-shadow: 0 0 0 1px var(--line-2); justify-self: start; }
.bd-crop-view.is-oval { border-radius: 50%; }
.bd-crop-view canvas { display: block; width: 100%; height: 100%; }
.bd-crop-view.is-drag { cursor: grabbing; }
.bd-crop-view:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.bd-crop-ctl { display: grid; gap: 0.6rem; min-width: 0; }
.bd-zoom-w { display: grid; gap: 0.25rem; font-size: var(--t-s); font-weight: 600; }
.bd-zoom { width: 100%; min-height: 44px; accent-color: var(--ink); }
.bd-crop-moves { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.bd-photo-meta .meta { flex: 1; }
@media (max-width: 520px) {
  .bd-crop { grid-template-columns: minmax(0, 1fr); }
}
.bd-ed-help { font-size: var(--t-xs); color: var(--ink-2); margin: 0; max-width: 72ch; }
/* industries over the layouts */
.bd-inds { margin: -0.2rem 0 0.9rem; }
.bd-ind-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.bd-ind-row { gap: 0.4rem; }
.bd-ind-row .bd-chip label { min-height: 40px; padding: 0 0.85rem; }
.bd-ind-row .bd-chip input:checked + label { padding: 0 calc(0.85rem - 1px); }
/* "My color" */
.bd-brand { margin-top: 1.1rem; }
.bd-brand-fs { border: 0; padding: 0; margin: 0; display: grid; gap: 0.45rem; min-width: 0; }
.bd-brand-fs > legend { font-size: var(--t-s); font-weight: 600; padding: 0; margin-bottom: 0.45rem; }
.bd-brand-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.bd-brand-sw { width: 48px; height: 48px; border-radius: var(--r-s); background: var(--c); box-shadow: inset 0 0 0 1px rgba(20, 17, 15, 0.16); flex: none;
  background-image: linear-gradient(var(--c), var(--c)), repeating-conic-gradient(#e9e3da 0 25%, #fff 0 50%); background-size: 100% 100%, 12px 12px; }
.bd-brand-hex { width: 9.5rem; min-height: 48px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.bd-brand-pick { width: 48px; height: 48px; padding: 3px; border: 1px solid var(--field); border-radius: var(--r-s); background: var(--card); cursor: pointer; }
.bd-brand-pick:focus-visible, .bd-brand-c:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bd-brand-drop { border: 1px solid var(--field); border-radius: var(--r-s); width: 48px; height: 48px; }
.bd-brand-logo { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.bd-brand-logo .hint { font-size: var(--t-xs); color: var(--ink-2); margin-right: 0.2rem; }
.bd-brand-c { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--card); background: var(--c); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; }
#n-brand:empty { display: none; }
.bd-brand .hint, .bd-brand .msg { font-size: var(--t-xs); margin: 0; }
.bd-brand .hint { color: var(--ink-2); }
/* open a Tutto PDF; share for approval; a design opened from a link */
.bd-open { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.9rem; margin: -0.35rem 0 1.15rem; }
.bd-open-b { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.bd-open-b:hover { text-decoration-thickness: 2px; }
.bd-open-p { font-size: var(--t-xs); color: var(--ink-2); margin: 0; max-width: 70ch; flex: 1 1 22rem; }
.bd-open .msg { flex-basis: 100%; }
.msg.is-ok { color: var(--ink); font-weight: 500; }
.bd-sharedbar { background: var(--c-print-wash); }
.bd-sharedbar b { font-weight: 600; }
.bd-sharerow { margin-top: 1rem; }
.bd-sharebtn { gap: 0.5rem; }
.bd-share-lead { margin: 0; font-size: var(--t-0); font-weight: 600; }
.bd-share-priv { margin: 0; font-size: var(--t-s); color: var(--ink-2); line-height: 1.5; max-width: 46ch; }
.bd-share .input { font-size: var(--t-s); }
.bd-share-ok { font-size: var(--t-s); font-weight: 600; min-height: 1.2em; margin: 0; }
/* the QR studio */
.bd-qr-lab { font-size: var(--t-s); font-weight: 600; margin: 0.1rem 0 0.1rem; }
.bd-qr-types { gap: 0.4rem; }
.bd-qr-types .bd-chip label { min-height: 40px; padding: 0 0.85rem; }
.bd-qr-types .bd-chip input:checked + label { padding: 0 calc(0.85rem - 1px); }
.bd-qr-fields { margin-top: 0.6rem; }
.bd-qr-look { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.bd-qr-on, .bd-qr-logo { margin-top: 0.25rem; }
.bd-qr-logo .hint { grid-column: 1 / -1; margin: 0; }
.bd-scan { font-size: var(--t-s); font-weight: 600; padding: 0.6rem 0.85rem; border-radius: var(--r-s); margin: 0.35rem 0 0; }
.bd-scan:empty { display: none; }
.bd-scan[data-state="ok"] { background: var(--c-merch-wash); color: var(--c-merch-deep); }
.bd-scan[data-state="fail"] { background: var(--accent-wash); color: var(--accent-text); }
.bd-scan[data-state="testing"] { background: var(--set); color: var(--ink-2); font-weight: 500; }
/* the logo's white background */
.bd-cut { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin-top: 0.6rem; }
.bd-cut .hint { margin: 0; }
.bd-cutbtn { min-height: 44px; }
.bd-logo .pv.is-cut { background-image: repeating-conic-gradient(#e2dbd0 0 25%, #f6f2ec 0 50%); background-size: 10px 10px; }
@media (max-width: 899.98px) {
  /* the preview's control row wraps on a phone: Customize, Front and Back, See it in 3D, every one 44 px tall */
  .bd-bar { flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem; }
  .bd-bar .bd-3dbtn { margin-left: auto; }
  /* the stage's one column is the screen's width, never its longest button's: at 320 px the Spanish video button
     ("Guardar un video de 6 segundos") made it 8 px wider than the screen (cards audit 2026-12-01, should fix 2) */
  .bd-stage { grid-template-columns: minmax(0, 1fr); }
  .bd-stage > * { min-width: 0; }
  .bd-clipbtn { white-space: normal; text-align: left; line-height: 1.2; max-width: 100%; }
  .bd-stage.is-edit { position: static; }
  /* the Customize layout switch lives in the Arrange step now (re-audit N2), not in the stage's bar: on a phone the rule
     that hides the stage's small toggles hid it too, and step 3 opened empty (found 2026-12-03) */
  .bd-bar .bd-ctog, .bd-sec .bd-ctog { display: inline-flex; min-height: 44px; }
  .bd-bar .bd-ptog { display: inline-flex; min-height: 44px; }
  .bd-stage .bd-custom-h { display: none; }
  .bd-view[data-mode="edit"] { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 170px; }
  .bd-view[data-mode="edit"] .bd-edhost { --ed-auto: 1; height: auto; min-height: 160px; }
  .bd-view[data-mode="edit"] .bd-p3 { margin: 0 10px 10px; }
  .bd-edtools { padding: 0.75rem; }
  .bd-ed-pick { max-width: none; }
  .bd-ind-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter); scrollbar-width: none; }
  .bd-ind-row::-webkit-scrollbar { display: none; }
  .bd-ind-row .bd-chip { flex: none; }
  .bd-open { margin: 0 0 0.5rem; }
  .bd-open-p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* read by screen readers through the button */
}
/* the phone's pinned preview is a row taller with the Customize switch: focused fields stay clear of it (2.4.11) */
@media (max-width: 899.98px) { html:has(#bd-buy) { scroll-padding-top: 22.5rem; } }
@media (max-width: 899.98px) and (max-height: 700px) { html:has(#bd-buy) { scroll-padding-top: 19.5rem; } }
@media (min-width: 600px) and (max-width: 899.98px) and (min-height: 701px) { html:has(#bd-buy) { scroll-padding-top: 26rem; } }
@media (max-height: 500px) { html:has(#bd-buy) { scroll-padding: 1rem; } }
/* fix round 2026-12-01: overlaps said in words and outlined; handles outside the words; the live 3D shaped like the piece */
.bd-ed-it.is-over { outline: 2px dashed #b45309; outline-offset: 2px; }
.bd-ed-it.is-over.is-sel { outline: 2px solid var(--accent); }
.bd-ed-warn { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; padding: 0.55rem 0.7rem 0.55rem 0.9rem; border-radius: var(--r-s); background: var(--c-cards-wash); }
.bd-ed-warn[hidden] { display: none; }
.bd-ed-warnt { margin: 0; font-size: var(--t-s); font-weight: 600; flex: 1 1 14rem; }
.bd-overlaps { margin: 0 0 1.1rem; padding: 0.7rem 0.9rem; border-radius: var(--r-s); background: var(--c-cards-wash); font-size: var(--t-s); }
.bd-overlaps[hidden] { display: none; }
.bd-ov-h { margin: 0 0 0.3rem; font-weight: 600; }
.bd-overlaps ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.2rem; }
.bd-overlaps a { color: var(--ink); text-underline-offset: 0.2em; display: inline-flex; min-height: 32px; align-items: center; }
/* the handles sit outside the frame, never on the letters */
.bd-ed-it.is-sel { outline-offset: 2px; }
.bd-ed-h.h-nw { margin: -16px 0 0 -16px; } .bd-ed-h.h-ne { margin: -16px 0 0 4px; }
.bd-ed-h.h-se { margin: 4px 0 0 4px; } .bd-ed-h.h-sw { margin: 4px 0 0 -16px; }
.bd-ed-h.h-e { margin: -9px 0 0 5px; } .bd-ed-h.h-w { margin: -9px 0 0 -13px; }
.bd-ed-h.h-rot { top: -30px; }
@media (pointer: coarse) {
  .bd-ed-h.h-nw { margin: -24px 0 0 -24px; } .bd-ed-h.h-ne { margin: -24px 0 0 6px; }
  .bd-ed-h.h-se { margin: 6px 0 0 6px; } .bd-ed-h.h-sw { margin: 6px 0 0 -24px; }
  .bd-ed-h.h-e { margin: -12px 0 0 7px; width: 12px; height: 24px; } .bd-ed-h.h-w { margin: -12px 0 0 -19px; width: 12px; height: 24px; }
  .bd-ed-h.h-rot { top: -40px; }
}
@media (min-width: 900px) {
  .bd-view[data-mode="edit"] { grid-template-columns: minmax(0, 1fr) minmax(220px, 34%); align-items: center; }
  .bd-view[data-mode="edit"] .bd-p3 { align-self: center; aspect-ratio: var(--p3ar, 1.4); height: auto; max-height: calc(100% - 28px); }
  /* wide pieces (cards, postcards): the drawing on top, the live 3D under it, card-shaped and as big as the view allows */
  .bd-view[data-mode="edit"][data-shape="wide"] { height: clamp(520px, 78vh, 820px); grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1.05fr) minmax(0, 1fr); }
  .bd-view[data-mode="edit"][data-shape="wide"] .bd-p3 { justify-self: center; align-self: stretch; height: auto; width: auto; max-width: calc(100% - 28px); max-height: none; aspect-ratio: var(--p3ar, 1.9); margin: 0 14px 14px; }
}
@media (max-width: 899.98px) { .bd-view[data-mode="edit"] { grid-template-rows: auto 190px; } }
/* accessibility check 4 (design, 2026-12-01): filter toggles, "Your layout", handle and frame hit areas, swatch rings */
.bd-indb { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 0.95rem; border: 1px solid var(--field); border-radius: var(--r-pill); background: var(--card); color: var(--ink);
  font: inherit; font-size: var(--t-s); font-weight: 500; cursor: pointer; transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease); }
.bd-indb:hover { border-color: var(--ink); }
.bd-indb:active { transform: scale(0.97); }
.bd-indb[aria-pressed="true"] { border: 2px solid var(--accent); padding: 0 calc(0.95rem - 1px); background: var(--accent-wash); font-weight: 700; }
.bd-indb[aria-pressed="true"]::before { content: "\002713"; color: var(--accent-text); }
.bd-indb:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 899.98px) { .bd-ind-row .bd-indb { flex: none; } }
.bd-lay-mine { justify-self: center; font-size: var(--t-xs); font-weight: 600; color: var(--ink); background: var(--set); border-radius: var(--r-pill); padding: 0 0.5rem; margin-top: -0.15rem; }
/* every handle is a 24 px box (44 px on touch) round a small visible mark, the mark outside the frame */
.bd-ed-h, .bd-ed-h.h-e, .bd-ed-h.h-w, .bd-ed-h.h-rot { width: 24px; height: 24px; background: none; border: 0; border-radius: 0; }
.bd-ed-h::before { content: none; }
.bd-ed-h::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%); background: #fff; border: 1.5px solid var(--accent); border-radius: 3px; box-sizing: border-box; }
.bd-ed-h.h-e::after, .bd-ed-h.h-w::after { width: 8px; height: 18px; }
.bd-ed-h.h-rot::after { left: 50%; top: 50%; width: 14px; height: 14px; margin: 0; transform: translate(-50%, -50%); background: #fff; border: 1.5px solid var(--accent); border-radius: 50%; }
.bd-ed-h.h-rot::before { content: ""; position: absolute; left: 50%; top: calc(50% + 7px); bottom: auto; right: auto; width: 1.5px; height: 9px; margin-left: -0.75px; background: var(--accent); }
.bd-ed-h.h-nw { margin: -22px 0 0 -22px; } .bd-ed-h.h-ne { margin: -22px 0 0 -2px; }
.bd-ed-h.h-se { margin: -2px 0 0 -2px; } .bd-ed-h.h-sw { margin: -2px 0 0 -22px; }
.bd-ed-h.h-e { margin: -12px 0 0 -4px; } .bd-ed-h.h-w { margin: -12px 0 0 -20px; }
.bd-ed-h.h-rot { top: -26px; margin: -12px 0 0 -12px; }
@media (pointer: coarse) {
  .bd-ed-h, .bd-ed-h.h-e, .bd-ed-h.h-w, .bd-ed-h.h-rot { width: 44px; height: 44px; }
  .bd-ed-h::after { width: 18px; height: 18px; }
  .bd-ed-h.h-e::after, .bd-ed-h.h-w::after { width: 12px; height: 24px; }
  .bd-ed-h.h-rot::after { width: 20px; height: 20px; }
  .bd-ed-h.h-rot::before { top: calc(50% + 10px); height: 8px; }
  .bd-ed-h.h-nw { margin: -35px 0 0 -35px; } .bd-ed-h.h-ne { margin: -35px 0 0 -9px; }
  .bd-ed-h.h-se { margin: -9px 0 0 -9px; } .bd-ed-h.h-sw { margin: -9px 0 0 -35px; }
  .bd-ed-h.h-e { margin: -22px 0 0 -12px; } .bd-ed-h.h-w { margin: -22px 0 0 -32px; }
  .bd-ed-h.h-rot { top: -40px; margin: -22px 0 0 -22px; }
}
/* a line of small words still has a 24 px tall place to grab (the "Change" list is the full-size way in) */
.bd-ed-it::before { left: -5px; right: -5px; top: 50%; bottom: auto; height: max(calc(100% + 10px), 24px); transform: translateY(-50%); }
/* swatch rings 3:1 on the panel, so a white "Light" swatch shows (1.4.11) */
.bd-ed-sw { box-shadow: 0 0 0 1px var(--field); }
.bd-brand-c { box-shadow: 0 0 0 1px var(--field); }
@media (prefers-reduced-motion: reduce) { .bd-indb { transition: none; } .bd-indb:active { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bd-ed-b, .bd-ed-sw, .bd-ed-font label { transition: none; } .bd-ed-b:active, .bd-ed-sw:active, .bd-ed-font label:active { transform: none; } }
/* END "Design it here" builder */
/* Accessibility re-check 2 (design, 2026-11-30): on phones every control in the builder and the upload slots is at least
   44 px tall and wide, the size this site uses for touch (WCAG 2.5.5 level, above the 24 px of 2.5.8). Sentences keep their
   inline links; the shared header and footer are unchanged here. */
@media (max-width: 899.98px) {
  .fc-acts .btn-text, .fc-see { min-height: 44px; min-width: 44px; }
  .bd-tick label { min-height: 44px; }
  .bd-steps li a { min-width: 44px; }
  .bd-foot a { min-height: 44px; }
  .bd-foot .wrap { row-gap: 0; }
}
/* under 400 px the four other step pills are 36 px (still over the 24 px of WCAG 2.5.8), so the current one keeps room for its
   name and "Paso 2 de 5" at 320 px (hard check 2026-12-02) */
@media (max-width: 399.98px) {
  .bd-steps { gap: 0.25rem; }
  .bd-steps li:not([aria-current]) a { min-width: 36px; width: 36px; padding: 0; }
}
/* Accessibility re-check 3 (design, 2026-11-30; ../../design/accessibility-2026-11-29.md): on phones and tablets every
   target in the shared header and footer is at least 44 x 44 px (Couri's call; WCAG 2.5.5 level, above the 24 px of
   2.5.8). Only the hit areas grow: the words, sizes and colours stay. A product page's footer ends clear of the fixed buy
   bar, and a long web address in a policy wraps instead of pushing the page sideways (1.4.10). */
.policy { overflow-wrap: break-word; }
@media (max-width: 899.98px) {
  .utility .wrap { min-height: 44px; }
  .utility a { min-height: 44px; }
  .logo, .bd-home { display: flex; align-items: center; min-height: 44px; }
  .lang-switch { justify-content: center; min-width: 44px; }
  .ftr ul, .ftr address { gap: 0; }
  .ftr ul a, .ftr address a { min-height: 44px; min-width: 44px; }
  .ftr-legal a { min-height: 44px; }
  .bd-foot a, .sh-small a { min-width: 44px; }
  html:has(#buy-bar) .ftr-bottom { padding-bottom: calc(2rem + 4.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- the free QR code page (/qr.html, 2026-12-01, design-tools matrix N9) ----------
   The builder's QR studio on its own: the form on the left, the code on the right as a printed square on the set colour,
   sticky beside the form on laptops. Chips, fields and messages are the builder's own classes. */
.qrp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
.qrp-h { font-size: var(--t-2); letter-spacing: -0.015em; margin-bottom: 1rem; }
.qrp-h3 { font-family: var(--body); font-size: var(--t-s); font-weight: 600; letter-spacing: 0; margin-bottom: 0.5rem; }
.qrp-form { display: grid; gap: 1.25rem; min-width: 0; }
.qrp-form .qrp-h { margin-bottom: 0; }
.qrp-types { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 0.5rem; }
.qrp-types > legend { padding: 0; margin-bottom: 0.5rem; }
.qrp-fields:empty { display: none; }
.qrp-note { font-size: var(--t-xs); color: var(--ink-2); }
.qrp-privacy { display: flex; gap: 0.5rem; align-items: start; font-size: var(--t-s); color: var(--ink-2); padding-top: 1rem; border-top: 1px solid var(--line); }
.qrp-privacy svg { flex: none; margin-top: 0.2rem; }
.qrp-noscript { font-weight: 600; }
.qrp-out { display: grid; gap: 1rem; min-width: 0; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.qrp-out .qrp-h { margin-bottom: 0; }
.qrp-stage { display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 2.5rem); border-radius: var(--r-s); background: var(--set); }
.qrp-paper { width: min(100%, 300px); aspect-ratio: 1; background: #fff; border-radius: 3px; box-shadow: 0 1px 1px rgba(40, 28, 16, 0.16), 0 6px 14px rgba(40, 28, 16, 0.12); }
.qrp-paper svg { width: 100%; height: 100%; display: block; transition: opacity 200ms var(--ease); }
.qrp-paper.is-example svg { opacity: 0.14; }
.qrp-example { font-size: var(--t-s); color: var(--ink-2); text-align: center; }
.qrp-size { font-size: var(--t-s); color: var(--ink-2); }
.qrp-out .bd-scan { margin: 0; }
.qrp-out .bd-scan[data-state="testing"] { opacity: 0.6; }
.qrp-colors { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 0.5rem; }
.qrp-colors > legend { padding: 0; margin-bottom: 0.5rem; }
.qrp-colors .hint { font-size: var(--t-xs); color: var(--ink-2); }
.qrp-sws { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.qrp-sw { position: relative; }
.qrp-sw > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.qrp-sw label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.8rem 0 0.5rem; border: 1px solid var(--field); border-radius: var(--r-pill); background: var(--card); font-size: var(--t-s); font-weight: 500; cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 120ms var(--ease); }
.qrp-sw label small { color: var(--ink-2); font-size: var(--t-xs); }
.qrp-sw label:hover { border-color: var(--ink); }
.qrp-sw label:active { transform: scale(0.97); }
.qrp-sw input:checked + label { border: 2px solid var(--accent); padding: 0 calc(0.8rem - 1px) 0 calc(0.5rem - 1px); background: var(--accent-wash); font-weight: 700; }
.qrp-sw input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }
.qrp-sw.is-off label { cursor: not-allowed; border-style: dashed; color: var(--ink-2); padding: 0; width: 44px; justify-content: center; }
.qrp-sw.is-off label:hover { border-color: var(--field); }
.qrp-sw.is-off label:active { transform: none; }
.qrp-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(20, 17, 15, 0.18); flex: none; }
.qrp-sw.is-off .qrp-dot { width: 22px; height: 22px; opacity: 0.6; }
.qrp-dl, .qrp-print { padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; }
.qrp-dl-row, .qrp-print-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.qrp-dl-row .btn { padding: 0 1rem; }
.qrp-dl-row .btn[aria-disabled="true"] { color: var(--ink-2); border-style: dashed; }
.qrp-dl-row .btn[aria-disabled="true"] svg { transform: none; }
.qrp-dl .hint, .qrp-print .hint { font-size: var(--t-xs); color: var(--ink-2); }
.qrp-dl .msg:empty { display: none; }
.qrp-print-row .btn { flex: 1 1 14rem; white-space: normal; text-align: center; padding-block: 0.6rem; }
.qrp-tips h2 { font-size: var(--t-3); max-width: 24ch; }
.qrp-tips ol { margin-top: 1.5rem; padding: 0; list-style: none; counter-reset: tip; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.qrp-tips li { counter-increment: tip; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.5rem; color: var(--ink); max-width: 60ch; }
.qrp-tips li::before { content: counter(tip); font-family: var(--display); font-weight: 600; font-size: var(--t-2); line-height: 1.1; color: var(--accent-text); }
.find-tool { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; margin-bottom: 1.5rem; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); text-decoration: none; max-width: 40rem; }
.find-tool:hover { border-color: var(--ink); }
.find-tool > svg:first-child { width: 28px; height: 28px; flex: none; }
.find-tool span { display: grid; gap: 0.15rem; min-width: 0; }
.find-tool small { color: var(--ink-2); font-size: var(--t-s); }
.find-tool > svg:last-child { margin-left: auto; flex: none; }
@media (max-width: 559.98px) {
  .qrp-fields { grid-template-columns: minmax(0, 1fr); }
  .qrp-dl-row .btn { flex: 1 1 auto; }
}
@media (min-width: 560px) { .qrp-fields.is-contact .bd-f { grid-column: auto; } }
@media (min-width: 900px) {
  .qrp { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); }
  .qrp-out { position: sticky; top: calc(var(--hdr-h) + 1rem); }
  .qrp-tips ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .qrp-sw label, .qrp-paper svg { transition: none; }
  .qrp-sw label:active { transform: none; }
}


/* ==========================================================================================================================
   ENGINEERING: the buy box in MOO's order (Aaron, 2026-12-01). build.py build_product(): .buy-top (name, paper line, "From"
   price, a hidden slot for a real rating), .buy-intro (a short heading and paragraph), .buy-points (three facts), then
   .buy-opts: every choice as a large tile in a grid that always fills its row, at any count. While a customer chooses or
   designs, the page is white (.pdp here, .bd-body on the builder pages); selection keeps the store's magenta.
   ========================================================================================================================== */
.pdp { background: #fff; }
.bd-body { --page: #fff; background: #fff; }
.buy { gap: 1.25rem; }
.buy-top { display: grid; gap: 0.35rem; }
.buy-sub { color: var(--ink-2); font-size: var(--t-0); }
.buy .buy-from { margin-top: 0.35rem; color: var(--ink); font-size: var(--t-1); }
.buy-from b { font-family: var(--display); font-size: var(--t-2); font-weight: 600; letter-spacing: -0.01em; }
.buy-rating { font-size: var(--t-s); }
.buy-intro { display: grid; gap: 0.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.buy-intro-h { font-size: var(--t-2); }
.buy-intro p { color: var(--ink-2); }
.buy-points { display: grid; gap: 0.45rem; padding: 0; list-style: none; }
.buy-points li { position: relative; padding-left: 1.4rem; font-size: var(--t-s); line-height: 1.5; }
.buy-points li::before { content: ""; position: absolute; left: 0.15rem; top: 0.42em; width: 0.62rem; height: 0.36rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.buy-points b { font-weight: 600; }
.buy-opts { display: grid; gap: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.buy-opts .label, .buy-opts .chips-h { font-family: var(--display); font-size: var(--t-1); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.buy-opts .label.sr { position: absolute; }
.buy-opts .chips-row { gap: 0.6rem; }
.buy-opts .chips-row + .chips-row { margin-top: 1.1rem; }
.buy-opts .field { gap: 0.6rem; }

/* the tiles: six tracks, three tiles a row; a last row of one or two widens to fill it, and four make two by two */
.buy-opts .chips, .buy-opts .otiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem; overflow: visible; }
.buy-opts .chips > *, .buy-opts .otiles > * { grid-column: span 2; }
.buy-opts .chips > :last-child:nth-child(3n+1), .buy-opts .otiles > :last-child:nth-child(3n+1) { grid-column: span 6; }
.buy-opts .chips > :nth-last-child(2):nth-child(3n+1), .buy-opts .chips > :last-child:nth-child(3n+2),
.buy-opts .otiles > :nth-last-child(2):nth-child(3n+1), .buy-opts .otiles > :last-child:nth-child(3n+2) { grid-column: span 3; }
.buy-opts .chips > :first-child:nth-last-child(4), .buy-opts .chips > :first-child:nth-last-child(4) ~ *,
.buy-opts .otiles > :first-child:nth-last-child(4), .buy-opts .otiles > :first-child:nth-last-child(4) ~ * { grid-column: span 3; }

.buy-opts .chip, .buy-opts .otile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.2rem; min-height: 0; height: 100%;
  padding: 0.85rem 0.6rem 0.8rem; border-radius: var(--r-m); border: 1px solid var(--line-2); background: #fff; text-align: center; font-size: var(--t-s); }
.buy-opts .chip:hover, .buy-opts .otile:hover { border-color: var(--ink); }
.buy-opts .chip[aria-current="page"], .buy-opts .otile[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-wash); }
.buy-opts .chip .ci { grid-row: auto; flex: none; margin-bottom: 0.45rem; }
.buy-opts .chip-name { font-size: var(--t-s); }
.buy-opts .chip-dim, .buy-opts .chip-price { line-height: 1.35; }
.buy-opts .chip-price { color: var(--ink); font-weight: 500; }
/* pictures on the tiles: a size drawn to scale, a paper's close-up, a colour, a choice's icon */
.buy-opts .ci-size { width: 72px; height: 52px; fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.buy-opts .chip[aria-current="page"] .ci-size { fill: #fff; stroke: var(--accent-deep); }
.ci-size .ci-qr { fill: var(--ink); stroke: none; }
.buy-opts svg.ci:not(.ci-size) { width: 52px; height: 52px; }
.buy-opts .ci-photo { width: 56px; height: 56px; border-radius: 10px; }
.buy-opts .ci.sw { width: 52px; height: 52px; }
.buy-opts .ci-still { border-radius: 50%; }
.buy-opts .otile { font-weight: 600; padding-top: 1rem; }
.buy-opts .otile .oi { width: 52px; height: 36px; margin-bottom: 0.45rem; fill: #fff; }
.buy-opts .otile .sw { width: 36px; height: 36px; margin-bottom: 0.45rem; border: 1px solid var(--line-2); }
.buy-opts .q-wrap { border-radius: var(--r-m); background: #fff; }
.buy-opts .qty-field .label { margin-bottom: 0.1rem; }

/* under the gallery: two promises */
.promises { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.promises-b { display: none; }
.promise { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); }
.promise svg { flex: none; color: var(--accent); margin-top: 0.1rem; }
.promise b { display: block; font-size: var(--t-s); }
.promise p { font-size: var(--t-xs); color: var(--ink-2); line-height: 1.45; margin-top: 0.15rem; }

/* help.html: questions grouped by topic, with a jump list */
.help-groups { display: grid; gap: clamp(2rem, 4vw, 3rem); min-width: 0; }
.help-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.help-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--card); font-size: var(--t-s); text-decoration: none; }
.help-nav a:hover { border-color: var(--ink); }
.help-group { display: grid; gap: 0.75rem; scroll-margin-top: calc(var(--hdr-h) + 1rem); }
.help-group h2 { font-size: var(--t-2); }

@media (max-width: 640px) {
  .buy-opts .chips > *, .buy-opts .otiles > *,
  .buy-opts .chips > :last-child:nth-child(3n+1), .buy-opts .otiles > :last-child:nth-child(3n+1),
  .buy-opts .chips > :nth-last-child(2):nth-child(3n+1), .buy-opts .chips > :last-child:nth-child(3n+2),
  .buy-opts .otiles > :nth-last-child(2):nth-child(3n+1), .buy-opts .otiles > :last-child:nth-child(3n+2),
  .buy-opts .chips > :first-child:nth-last-child(4), .buy-opts .chips > :first-child:nth-last-child(4) ~ *,
  .buy-opts .otiles > :first-child:nth-last-child(4), .buy-opts .otiles > :first-child:nth-last-child(4) ~ * { grid-column: span 3; }
  .buy-opts .chips > :last-child:nth-child(odd), .buy-opts .otiles > :last-child:nth-child(odd) { grid-column: span 6; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .promise { padding: 0.75rem 0.9rem; }
}
/* phones and tablets (one column): the promises follow the buttons instead of pushing the name down; one copy shows at a time */
@media (max-width: 900px) {
  .gallery > .promises { display: none; }
  .promises-b { display: grid; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .buy-opts .chip, .buy-opts .otile { transition: none; } }

/* ---------- FAQs on every page, the FAQ page, sizes and templates, pickup and delivery, reorders (2026-12-01, MOO gap sweep) ---------- */
.faq-sec { border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.faq-side { display: grid; gap: 0.9rem; justify-items: start; position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.faq-side h2 { font-size: var(--t-4); max-width: 14ch; }
.faq-side p { color: var(--ink-2); max-width: 40ch; }
.faq-side .faq-ask { font-size: var(--t-s); }
.faq-side .faq-ask a { color: var(--ink); }
.faq-sec .faq-item summary { font-size: var(--t-1); }
.faq-sec .faq-item p a { color: var(--ink); }
.bd-faq { background: var(--page); }
.bd-faq .faq-side { top: 1.5rem; }
.how-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); padding-block: clamp(1.5rem, 3.5vw, 2.25rem); }
.how-strip h2 { font-size: var(--t-2); margin-bottom: 1rem; }
.how-strip ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem clamp(1rem, 2.5vw, 2rem); counter-reset: hs; }
.how-strip li { counter-increment: hs; display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.2rem; align-content: start; }
.how-strip li::before { content: counter(hs); grid-row: 1 / span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: var(--t-s); }
.how-strip b { font-weight: 600; line-height: 1.3; align-self: center; }
.how-strip span { color: var(--ink-2); font-size: var(--t-s); }
.how-strip .how-faq { margin-top: 1rem; font-size: var(--t-s); color: var(--ink-2); }
.how-strip .how-faq a { color: var(--ink); font-weight: 600; }
.buy-help { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: var(--t-s); color: var(--ink-2); }
.buy-help li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.buy-help svg, .cart-faq svg { margin-top: 0.1rem; color: var(--ink); }
.buy-help a, .cart-faq a { color: var(--ink); font-weight: 600; }
.cart-faq { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.6rem; align-items: start; font-size: var(--t-s); color: var(--ink-2); }
.cart-empty .cart-faq { margin-top: 1rem; justify-content: center; grid-template-columns: 20px auto; }
.reorder { border-top: 1px solid var(--line); }
.reorder-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: center; }
.reorder h2 { font-size: var(--t-3); }
.reorder p { color: var(--ink-2); margin-top: 0.5rem; max-width: 50ch; }
.reorder-acts { display: grid; gap: 0.5rem; justify-items: start; }
.help-top { padding-bottom: 0; }
.help-topics ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.help-topics a { display: grid; gap: 0.2rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); text-decoration: none; }
.help-topics a:hover { border-color: var(--ink); }
.help-topics b { font-weight: 600; }
.help-topics span { font-size: var(--t-s); color: var(--ink-2); }
.help-group .faq-item { scroll-margin-top: calc(var(--hdr-h) + 1rem); }
.sz { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.sz h2 { font-size: var(--t-3); margin-bottom: 0.75rem; }
.sz-lede { color: var(--ink-2); max-width: 70ch; margin-bottom: 1rem; }
.sz-group { scroll-margin-top: calc(var(--hdr-h) + 4rem); }
.sz-table { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.sz-table th, .sz-table td { text-align: left; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sz-table thead th { font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.sz-table tbody th { font-weight: 600; }
.sz-table tbody th a { color: var(--ink); }
.sz-table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tpl-dl { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; font-weight: 600; color: var(--ink); }
.tpl-dl svg { width: 16px; height: 16px; }
.sz-note { color: var(--ink-2); max-width: 70ch; }
.sz-note a { color: var(--ink); }
.dl-ways .visit-card h2 { font-size: var(--t-3); }
.dl-ways .visit-card > p { color: var(--ink-2); }
.dl-ways .btn { white-space: normal; text-align: center; max-width: 100%; padding-block: 0.6rem; }  /* a long label wraps instead of widening the page (audit 2026-12-01: /delivery scrolled sideways at 320 px) */
@media (max-width: 640px) { .dl-ways .btn { flex: 1 1 100%; } }
@media (max-width: 1100px) {
  .help-topics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .faq-wrap, .reorder-in { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .how-strip ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .how-strip ol { grid-template-columns: minmax(0, 1fr); }
  .help-topics ul { grid-template-columns: minmax(0, 1fr); }
  .help-topics a { padding: 0.8rem 1rem; }
  /* the size and ready tables become one card per row on phones: no sideways scrolling */
  .sz-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sz-table, .sz-table tbody, .sz-table tr, .sz-table th, .sz-table td { display: block; }
  .sz-table tr { padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
  .sz-table th, .sz-table td { border: 0; padding: 0.15rem 0; }
  .sz-table tbody th { font-size: var(--t-0); margin-bottom: 0.25rem; }
  .sz-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0.75rem; }
  .sz-table td::before { content: attr(data-label); color: var(--ink-2); }
  .sz-table td { color: var(--ink); }
}

/* ---------- "How would you like to make yours?" (MOO's pattern in Tutto's words and drawings, 2026-12-01) ----------
   Picture tiles as one radio group under the product: a soft colour block with a small drawing, a title, two short lines,
   a radio dot. The chosen tile wears the selection colour, as the buy box's option tiles do. One full-width Start under them. */
.mk-sec { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line-2); display: grid; gap: 1.25rem; }
.mk-sec[data-n="2"] { max-width: 46rem; }
.mk-head { display: grid; gap: 0.4rem; }
.mk-head h2 { font-size: var(--t-3); }
.mk-head p { color: var(--ink-2); }
.mk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mk-sec[data-n="2"] .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 0.9rem; padding: 0.75rem 0.75rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); cursor: pointer; min-width: 0;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease); -webkit-tap-highlight-color: transparent; }
.mk:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-m); }
.mk[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-wash); }
.mk-art { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: calc(var(--r-m) - 4px); }
.mk-sec[data-n="2"] .mk-art { aspect-ratio: 2 / 1; }
.mk-art-templates { background: var(--c-cards-wash); }
.mk-art-custom { background: var(--c-print-wash); }
.mk-art-upload { background: var(--c-merch-wash); }
.mk-art-we { background: var(--c-stationery-wash); }
.mk-i { width: min(100%, 188px); height: auto; overflow: visible; }
.mk-i * { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-i .p { fill: var(--card); }
.mk-i .n { stroke: none; }
.mk-i .d { stroke-dasharray: 4 3; stroke-width: 1.5; }
.mk-i .i { fill: var(--ink); }
.mk-art-templates .f { fill: var(--c-cards); }
.mk-art-custom .f { fill: var(--c-print); }
.mk-art-upload .f { fill: var(--c-merch); }
.mk-art-we .f { fill: var(--c-stationery); }
.mk-txt { display: grid; gap: 0.4rem; align-content: start; padding-inline: 0.35rem 1.9rem; min-width: 0; }
.mk-t { font-family: var(--display); font-weight: 600; font-size: var(--t-1); line-height: 1.15; letter-spacing: -0.01em; }
.mk-b { list-style: none; padding: 0; display: grid; gap: 0.3rem; font-size: var(--t-s); color: var(--ink-2); line-height: 1.4; }
.mk-b li { position: relative; padding-left: 0.95rem; }
.mk-b li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.mk-dot { position: absolute; right: 0.9rem; bottom: 1.1rem; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.mk[aria-checked="true"] .mk-dot { border-color: var(--accent); background: var(--accent); }
.mk[aria-checked="true"] .mk-dot::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (hover: hover) { .mk:hover { border-color: var(--ink); } .mk[aria-checked="true"]:hover { border-color: var(--accent); } }
.mk-go { width: 100%; min-height: 54px; }
.mk-qr .link-arrow { color: var(--accent-text); font-size: var(--t-s); }
@media (max-width: 1100px) {
  .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* phones: one tile per row, the drawing beside the words so four tiles stay short */
  .mk-tiles, .mk-sec[data-n="2"] .mk-tiles { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .mk { grid-template-rows: none; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 0.85rem; padding: 0.6rem; }
  .mk-art, .mk-sec[data-n="2"] .mk-art { aspect-ratio: 1; }
  .mk-txt { padding: 0.15rem 0; }
  .mk-t { padding-right: 1.9rem; }
  .mk-dot { top: 0.75rem; bottom: auto; right: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) { .mk, .mk-dot { transition: none; } }

/* Business tiles, MOO's paper-stock rack: three equal tiles a row (two on tablets, one on phones), a 4:3 picture on a
   quiet set, the name, one line, the first pieces as a list and a link. Every tile the same height, link at the foot. */
.biz-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1rem, 2.5vw, 2rem); }
.biz-tile { display: flex; flex-direction: column; }
.biz-tile-fig { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--set); border-radius: var(--r-s); }
.biz-tile-fig img, .biz-tile-fig svg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 600ms var(--ease); }
.biz-tile-t { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 0.25rem 0; }
.biz-tile-t :is(h2, h3) { font-size: var(--t-2); letter-spacing: -0.02em; }
.biz-tile-t :is(h2, h3) a { text-decoration: none; }
.biz-tile-t p { margin-top: 0.4rem; color: var(--ink-2); }
.biz-tile-t ul { list-style: disc; margin: 0.8rem 0 0; padding-left: 1.15rem; color: var(--ink-2); display: grid; gap: 0.2rem; }
.biz-tile-link { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent-text); text-decoration: none; align-self: flex-start; }
.biz-tile-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.biz-tile:hover .biz-tile-fig img { transform: scale(1.03); }
.biz-tile:hover .biz-tile-link svg { transform: translateX(4px); }
.biz-tile:hover :is(h2, h3) a, .biz-tile-link:hover { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
@media (max-width: 900px) { .biz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .biz-tiles { grid-template-columns: minmax(0, 1fr); } }

/* Visit band, MOO's "picture with a card": a wide photo across the page and the white card over its right side.
   Phones: the photo on top, the card under it. */
.hm-visit { position: relative; isolation: isolate; padding-block: clamp(3rem, 7vw, 6rem); background: var(--set); color: var(--ink); }
.hm-visit .visit-media { position: absolute; inset: 0; z-index: -1; background: var(--set); }
.hm-visit .visit-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hm-visit .visit { display: flex; justify-content: flex-end; }
.hm-visit .visit-card { width: min(100%, 30rem); box-shadow: 0 18px 50px rgba(20, 17, 15, 0.16); }
.hm-visit .visit-card h2 { font-size: var(--t-4); }
.hm-visit .visit-card .lede { margin-top: 0.6rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .hm-visit { padding-top: 0; }
  .hm-visit .visit-media { position: static; aspect-ratio: 16 / 10; margin-bottom: -2.5rem; }
  .hm-visit .visit { justify-content: stretch; }
  .hm-visit .visit-card { width: 100%; }
}

/* Happy notes (Aaron 2026-12-01: "everywhere use colors that are happy"). Every builder note is a bright, friendly card with a
   little round badge: tips in turquoise, "watch this" notes in sunshine, fixes waiting in flamingo. Ink text on every fill. */
.bd-warn, .bd-ed-cnote.is-warn, .bd-ed-addmsg, .bd-ed-warn {
  position: relative; color: var(--ink); border-radius: 12px; padding: 0.6rem 0.85rem 0.6rem 2.6rem; line-height: 1.45;
  background: var(--c-print-wash); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-print) 55%, transparent);
}
.bd-warn::before, .bd-ed-cnote.is-warn::before, .bd-ed-addmsg::before, .bd-ed-warn::before {
  content: ""; position: absolute; left: 0.7rem; top: 0.62rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--c-print) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v2M12 18v2M4 12h2M18 12h2M6.6 6.6l1.4 1.4M16 16l1.4 1.4M6.6 17.4 8 16M16 8l1.4-1.4'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center / 70% no-repeat;
}
/* "watch this": the colour's contrast, why a second code did not fit */
.bd-ed-cnote.is-warn, .bd-ed-addmsg { background: var(--c-cards-wash); box-shadow: inset 0 0 0 1.5px var(--c-cards); }
.bd-ed-cnote.is-warn::before, .bd-ed-addmsg::before { background-color: var(--c-cards); }
/* a fix waiting: two pieces overlap */
.bd-ed-warn { background: var(--c-stationery-wash); box-shadow: inset 0 0 0 1.5px var(--c-stationery); }
.bd-ed-warn::before { background-color: var(--c-stationery); top: 50%; margin-top: -0.675rem; }
.bd-ed-cnote.is-warn { padding: 0.45rem 0.7rem 0.45rem 2.3rem; }
.bd-ed-cnote.is-warn::before { left: 0.55rem; top: 0.45rem; width: 1.2rem; height: 1.2rem; }

/* Typing on the piece (Aaron 2026-12-01): a white box right over the words, in the brand's action colour */
.bd-ed-type { position: absolute; z-index: 6; margin: 0; padding: 0.3em 0.45em; font: inherit; line-height: 1.25; color: var(--ink);
  background: #fff; border: 2px solid var(--accent); border-radius: 10px; box-shadow: 0 10px 28px rgba(20, 17, 15, 0.22); resize: none; outline: none; }
.bd-ed-type:focus-visible { box-shadow: 0 0 0 4px var(--accent-wash), 0 10px 28px rgba(20, 17, 15, 0.22); }
textarea.bd-ed-type { min-height: 3.2em; }
/* the size slider: one drag from smallest to biggest */
.bd-ed-range { flex: 1 1 9rem; min-width: 7rem; max-width: 16rem; height: 44px; margin: 0 0.25rem; accent-color: var(--accent); cursor: pointer; touch-action: pan-y; }
/* bigger corner handles, easier to catch */
.bd-ed-h { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-width: 2px; }
.bd-ed-h::before { inset: -12px; }
@media (pointer: coarse) { .bd-ed-h { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 6px; } .bd-ed-h::before { inset: -14px; } }
.bd-ed-h.h-nw { margin: -17px 0 0 -17px; } .bd-ed-h.h-ne { margin: -17px 0 0 3px; } .bd-ed-h.h-se { margin: 3px 0 0 3px; } .bd-ed-h.h-sw { margin: 3px 0 0 -17px; }
@media (pointer: coarse) {
  .bd-ed-h.h-nw { margin: -24px 0 0 -24px; } .bd-ed-h.h-ne { margin: -24px 0 0 2px; } .bd-ed-h.h-se { margin: 2px 0 0 2px; } .bd-ed-h.h-sw { margin: 2px 0 0 -24px; }
}

/* "How would you like to make yours?": three tiles, each with a real photo (Aaron 2026-12-01) */
.mk-sec[data-n="3"] .mk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-photo { display: block; overflow: hidden; background: var(--set); aspect-ratio: 4 / 3; }
.mk-sec[data-n="2"] .mk-photo { aspect-ratio: 2 / 1; }
.mk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 500ms var(--ease); }
.mk:hover .mk-photo img, .mk[aria-checked="true"] .mk-photo img { transform: scale(1.04); }
/* the "Sample design" chip on a chooser photo of an invented brand (launch fix 2026-12-02): smaller, it fits a phone tile */
.mk-photo { position: relative; }
.mk-photo > .g-sample { left: 6px; bottom: 6px; padding: 0.1rem 0.4rem; font-size: 0.625rem; white-space: nowrap; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; }
.rk-fig > .g-sample, .tile-fig > .g-sample { left: 8px; bottom: 8px; }
@media (max-width: 900px) { .mk-sec[data-n="3"] .mk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; } }
@media (max-width: 640px) { .mk-sec[data-n="3"] .mk-tiles { grid-template-columns: minmax(0, 1fr); } .mk-photo, .mk-sec[data-n="2"] .mk-photo { aspect-ratio: 1; } }

/* Check your file: turn it and move it on the piece (Aaron 2026-12-01) */
.fc-move { cursor: grab; touch-action: none; border-radius: 4px; }
.fc-move.is-drag { cursor: grabbing; }
.fc-move:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.fc-place { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; margin-top: 0.6rem; }
.fc-place .fc-turn { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.35rem 0.9rem; }
.fc-move-hint { flex-basis: 100%; color: var(--ink-2); font-size: var(--t-xs); }

/* Product grids, MOO's tile rack (Aaron 2026-12-01: "adapt all the items to those sizes, those rules that Moo uses"):
   three a row on computers, two on tablets, one on phones; a 4:3 picture, the name, the pack price, four facts, Shop › */
.grid, .grid-4, .grid-bc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1rem, 2.2vw, 2rem); }
.tile-rack { gap: 0; align-content: stretch; display: flex; flex-direction: column; }
.tile-rack .tile-fig { aspect-ratio: 4 / 3; border-radius: var(--r-s); margin-bottom: 1rem; }
.tile-rack .tile-name { font-family: var(--display); font-weight: 600; font-size: var(--t-1); letter-spacing: -0.015em; line-height: 1.25; padding-inline: 0.15rem; }
.tile-rack .tile-meta { color: var(--ink); font-size: var(--t-0); margin-top: 0.3rem; padding-inline: 0.15rem; }
.tile-rack .tile-facts { display: grid; list-style: disc; padding: 0 0 0 1.25rem; margin: 0.8rem 0 0; border: 0; gap: 0.2rem; color: var(--ink-2); font-size: var(--t-s); }
.tile-rack .tile-facts li::before { content: none; }
.tile-rack .tile-shop { margin-top: auto; padding: 1rem 0.15rem 0; color: var(--accent-text); font-weight: 600; }
.tile-rack:hover .tile-shop { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 900px) { .grid, .grid-4, .grid-bc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid, .grid-4, .grid-bc { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; } .tile-rack .tile-facts { display: grid; } }

/* The home pile opens on its 3D, never on a flash of flat drawings (Aaron 2026-12-01). With script on (html.js) the drawings
   stay hidden until the 3D is live, and come back only when it cannot start (.is-flat). Without script they show as before. */
html.js .stack:not(.is-live):not(.is-flat) .line-art { opacity: 0; }
html.js .stack .stage-gl { animation: stage-in 500ms var(--ease) both; }
@keyframes stage-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.js .stack .stage-gl { animation: none; } }

/* ==========================================================================================================================
   MOO SYSTEM (MOO rebuild, 2026-12-01; MOO-REBUILD/AUDIT.md). Everything from here on is the new store frame and wins over
   the older rules above: neutral chrome (white page, one neutral alternate band, group colours only in hero panels, the
   torn strip and photos), MOO's 1176 px column and 24 px gutters, 64/72 band rhythm, Figtree headings and Nunito text at
   MOO's sizes (Aaron approved the fonts, 2026-12-01), 3 px buttons, the two-row header, MOO-layout mega menus, the rack
   tile and the shared page modules. Breakpoints as MOO: 641 (medium), 1025 (large: desktop header and menus).
   The builder loads its own fonts (Bricolage, Instrument and the rest) in tutto-layout.js; the 3D sample art in piece-art.js.
   ========================================================================================================================== */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; 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: "Figtree"; src: url("../fonts/figtree-latin-ext.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Nunito"; src: url("../fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; 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: "Nunito"; src: url("../fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens (AUDIT 1.3) ---------- */
:root, html[data-theme="a"] {
  --display: "Figtree", "Avenir Next", "Segoe UI", sans-serif;                          /* MOO: Bryant MOO Pro Medium */
  --body: "Nunito", "Avenir Next Rounded", "Avenir Next", "Segoe UI", sans-serif;       /* MOO: Avenir Next Rounded Pro */
  --page: #ffffff; --card: #ffffff; --set: #f4f3f1;
  --band: #f2f1ee;          /* the one neutral alternate band */
  --well: #f4f3f1;          /* behind every image, the menu fly-out */
  --promo: #f7f3ee;         /* the promo strip under the header */
  --hair: #e3e1dd; --line: #e3e1dd; --line-2: #d3d0ca;
  --btn-line: #d3d0ca;
  --ink: #14110f; --ink-2: #5a5048;
  --link: var(--accent); --btn: var(--ink); --bright: var(--accent);
  --ftr-bar: #3b3631;
  --pill-dark: #2b2724; --pill-info: #3f6f9c;
  --sh-menu: 0 2px 4px rgba(40, 33, 28, 0.22);
  --sh-lift: 0 3px 10px rgba(40, 33, 28, 0.28);
  --wrap: 1176px; --gutter: 24px;
  --r-btn: 3px; --r-tile: 0;
  --hdr-h: 0px;             /* the header scrolls away (MOO); sticky bars sit at the top */
  --hdr-bg: #fff; --hdr-bg-solid: #fff;
  --t-xs: 0.8125rem; --t-s: 0.875rem; --t-0: 1rem; --t-1: 1.125rem; --t-2: 1.3125rem; --t-3: 1.5rem; --t-4: 1.875rem; --t-5: 2.625rem;
  --s-ftr: #fff;
}
@media (max-width: 640.98px) {
  :root, html[data-theme="a"] { --gutter: 16px; --t-2: 1.125rem; --t-3: 1.3125rem; --t-4: 1.5rem; --t-5: 1.875rem; }
}
html { scroll-padding-top: 64px; }
body { font: 400 16px/24px var(--body); background: var(--page); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; line-height: 1.15; font-variation-settings: normal; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- bands and grids (AUDIT 1.4) ---------- */
.band { padding: 64px 0 72px; background: var(--page); }
.band-alt { background: var(--band); }
.band-s { padding: 36px 0 44px; }
.band.merge { padding-top: 0; }
.mh { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.mh h2 { font-size: 30px; line-height: 34.5px; }
.mh p { margin-top: 6px; font-size: 18px; line-height: 27px; color: var(--ink); }
.g4, .g3 { display: grid; gap: 24px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.under { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 1024.98px) { .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640.98px) {
  .band { padding: 40px 0 48px; }
  .band.merge { padding-top: 0; }
  .band-s { padding: 28px 0 32px; }
  .mh { margin-bottom: 28px; }
  .mh h2 { font-size: 24px; line-height: 27.6px; }
  .mh p { font-size: 16px; line-height: 24px; }
  .g4, .g3 { grid-template-columns: minmax(0, 1fr); }
  /* content racks (more, best sellers, templates, promises) swipe sideways on phones: 228 px tiles, 16 px apart */
  .swipe { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 228px; gap: 16px; overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .swipe > * { scroll-snap-align: start; }
}

/* ---------- buttons and text links (AUDIT 1.5) ---------- */
.btn { border-radius: var(--r-btn); font-family: var(--display); font-weight: 500; font-size: 18px; min-height: 48px; padding: 0 30px; gap: 0.5rem; letter-spacing: -0.005em; }
.btn-s { font-size: 16px; min-height: 40px; padding: 0 24px; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: #3a332e; }
.btn-quiet, .btn-light, .btn-white { background: #fff; color: var(--ink); border-color: var(--btn-line); }
.btn-quiet:hover, .btn-light:hover, .btn-white:hover { background: #fff; border-color: var(--ink); }
.btn-ghost { background: rgba(20, 17, 15, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(20, 17, 15, 0.3); border-color: #fff; }
.btn-bright { background: var(--bright); color: #fff; font-size: 15px; min-height: 36px; padding: 0 20px; }
.btn-bright:hover { background: var(--accent-deep); }
.cta { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 19.2px; color: var(--link); text-decoration: none; }
.cta::after { content: "\00203A"; display: inline-block; margin-left: 6px; font-size: 1.25em; line-height: 0; transform: translateY(-1px); transition: transform 160ms var(--ease); }
a:hover .cta::after, .cta:hover::after { transform: translate(3px, -1px); }
.cta:hover, a:hover .cta { text-decoration: underline; text-underline-offset: 0.2em; }
.link-arrow { color: var(--link); font-family: var(--display); font-weight: 500; }
.pill-n { display: inline-flex; align-items: center; flex: none; height: 20px; padding: 0 8px; border-radius: 100px; background: var(--pill-dark); color: #fff; font: 800 10px/10px var(--body); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 640.98px) { .cta { font-size: 18px; line-height: 21.6px; } }

/* ---------- header (AUDIT 3.3): promo bar, two white rows, promo strip, breadcrumb chips ---------- */
.utility { display: none; }
.pb { background: var(--band); color: var(--ink); text-align: center; font: 600 14px/21px var(--body); }
.pb .wrap { min-height: 35px; display: flex; align-items: center; justify-content: center; padding-block: 7px; }
.pb a { text-decoration: none; }
.pb a:hover { text-decoration: underline; }
.hdr { position: relative; top: auto; z-index: 40; background: #fff; border-bottom: 0; }
@supports (backdrop-filter: blur(1px)) { .hdr { background: #fff; backdrop-filter: none; } }
.hdr-bar { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 60px auto; column-gap: 24px; min-height: 0; align-items: start; }
.hdr .logo { grid-row: 1; grid-column: 1; padding: 14px 0 0; align-self: start; }
.hdr .logo img { height: 40px; width: auto; }
.hdr-actions { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; display: flex; align-items: center; gap: 0; margin: 0; }
.hdr-util { display: flex; align-items: center; }
.hdr-util > a, .hdr-actions .lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 10px 8px; text-decoration: none; border-radius: 0; font: 400 14px/18px var(--body); }
.hdr-util > a:hover, .hdr-actions .lang-switch:hover { text-decoration: underline; background: none; }
.hdr-util .hu-sep { width: 1px; height: 18px; background: var(--hair); margin: 0 4px; }
.hdr-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 10px 8px; text-decoration: none; font: 400 14px/18px var(--body); }
.hdr-cart svg { width: 18px; height: 18px; }
.hdr-cart:hover { text-decoration: underline; }
.hdr-cart .cart-count { position: static; margin-left: 2px; }
.hdr-find { display: flex; align-items: center; width: 150px; margin-left: 12px; border-bottom: 1px solid var(--field); }
.hdr-find input { flex: 1; min-width: 0; height: 32px; border: 0; padding: 0 4px; background: none; font: 400 14px/21px var(--body); color: var(--ink); }
.hdr-find input::placeholder { color: var(--ink-2); opacity: 1; }
.hdr-find input:focus-visible { outline-offset: 1px; }
.hdr-find button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--bright); cursor: pointer; }
.hdr-find button svg { width: 18px; height: 18px; }
.hdr-icons { display: flex; align-items: center; }   /* the menu button at every width (Aaron 2026-12-02) */
@media (min-width: 1025px) { .hdr-icons > a.icon-btn { display: none; } }   /* a computer has the search field; the menu button stays */
.hdr .mm { grid-row: 2; grid-column: 1 / -1; justify-self: start; padding-top: 7px; }
.hdr-bar { row-gap: 0; }
.mm-list { gap: 0; margin-left: -10px; flex-wrap: nowrap; }
.mm-item { position: static; }
.mm-top { position: relative; min-height: 0; padding: 6px 14px 6px 10px; font: 500 16px/21px var(--display); letter-spacing: -0.005em; border-radius: 0; color: var(--ink); text-decoration: none !important; }
.mm-top::after { content: ""; position: absolute; left: 10px; right: 14px; bottom: 0; height: 2px; background: var(--bright); transform: scaleX(0); transition: transform 200ms var(--ease); }
.mm-top:hover::after, .mm-item.is-open .mm-top::after, .mm-top[aria-current="page"]::after { transform: scaleX(1); }
/* the disclosure button stays for keyboards and screen readers; it shows only when it has focus (MOO shows no chevrons) */
.mm-btn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mm-btn:focus-visible { position: relative; width: 22px; height: 28px; overflow: visible; clip-path: none; margin-left: -12px; }
.mm-util { margin: 0; padding: 0; border: 0; }
@media (min-width: 1025px) and (max-width: 1199.98px) { .mm-top { padding: 6px 8px 6px 7px; font-size: 15px; } .mm-top::after { left: 7px; right: 8px; } }
.ps { background: var(--promo); }
.ps .wrap { min-height: 60px; display: flex; align-items: center; justify-content: center; padding-block: 10px; text-align: center; }
.ps a { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 15px; text-decoration: none; font: 700 14px/17px var(--body); color: var(--ink); }
.ps a:hover span:last-child { text-decoration: underline; }
.cb { background: #fff; }
.cb .wrap { min-height: 46px; display: flex; align-items: center; }
.crumbs { gap: 6px; align-items: center; font: 400 12px/18px var(--body); color: var(--ink); }
.crumbs > span[aria-hidden] { display: none; }
.crumbs a { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px 5px 11px; border-radius: 3px 6px 6px 3px; background: var(--band); text-decoration: none; }
.crumbs a:hover { background: var(--hair); text-decoration: none; }
.crumbs [aria-current] { padding-left: 4px; }
@media (max-width: 1024.98px) {
  .pb .wrap { min-height: 56px; }
  .hdr-bar { grid-template-rows: 48px; align-items: center; }
  .hdr .logo { padding: 0; align-self: center; }
  .hdr .logo img { height: 28px; }
  .hdr-util, .hdr-find, .hdr-cart-word { display: none; }
  .hdr-actions .lang-switch { min-height: 44px; padding: 0 6px; }
  .hdr-icons { display: flex; }
  .hdr-cart { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .hdr-cart svg { width: 22px; height: 22px; }
  .hdr-cart .cart-count { position: absolute; top: 4px; right: 0; }
  .hdr .mm { display: none; }
  .menu-toggle { display: inline-grid; }
  .ps .wrap { min-height: 52px; }
}

/* ---------- mega menus (AUDIT 4.4) ---------- */
.mm-panel { left: 0; right: 0; margin-inline: auto; width: min(100%, 1224px); top: 100%; background: #fff; border-top: 1px solid var(--hair); border-bottom: 0; box-shadow: var(--sh-menu); animation: mm-in 180ms var(--ease) both; }
.hdr.has-open .mm-scrim { background: rgba(255, 255, 255, 0.5); }
.mm-in { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.mm-l2 { list-style: none; width: 306px; flex: none; padding: 10px 0 20px; margin: 0; }
.mm-l2 > li > a { position: relative; display: flex; align-items: center; min-height: 36px; margin-left: 10px; padding: 8px 40px 8px 13px;
  font: 400 14px/18.2px var(--body); color: var(--ink-2); text-decoration: none; border-block: 1px solid transparent; }
.mm-l2 > li > a:hover, .mm-l2 > li > a:focus-visible, .mm-l2 > li.has-l3:hover > a, .mm-l2 > li.has-l3:focus-within > a { background: var(--well); border-color: var(--hair); color: var(--ink); }
.mm-l2 > li > a .pill-n { position: absolute; right: 8px; }
.mm-l2 > li > a > .chev3 { position: absolute; right: 14px; color: #8f8780; font-size: 18px; line-height: 1; }
.mm-l2 > li.is-div::after { content: ""; display: block; width: 266px; height: 10px; margin: 0 0 10px 21px; border-bottom: 1px dotted #c9c6c0; }
.mm-l2 > li.mm-strong > a { color: var(--ink); font-weight: 700; }
.mm-l3 { display: none; position: absolute; left: 306px; top: 0; bottom: 0; width: 306px; list-style: none; margin: 0; padding: 10px 0 20px 8px; background: var(--well); border-left: 1px solid var(--hair); overflow-y: auto; z-index: 1; }
.mm-l2 > li.has-l3:hover > .mm-l3, .mm-l2 > li.has-l3:focus-within > .mm-l3 { display: block; }
.mm-l3 a { display: block; padding: 8px 13px; font: 400 14px/18.2px var(--body); color: var(--ink); text-decoration: none; }
.mm-l3 a:hover, .mm-l3 a:focus-visible { text-decoration: underline; }
.mm-promos { width: 50%; flex: none; display: flex; padding: 12px 24px 0 0; justify-content: flex-end; }
.mm-tile { width: 270px; margin-left: 24px; display: block; text-decoration: none; color: var(--ink); padding-bottom: 24px; }
.mm-tile-fig { position: relative; display: block; aspect-ratio: 2 / 1; background: var(--well); overflow: hidden; }
.mm-tile-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-tile b { display: flex; justify-content: space-between; gap: 8px; align-items: start; margin-top: 12px; font: 500 18px/20.7px var(--display); letter-spacing: -0.012em; }
.mm-tile p { margin: 6px 0 10px; font: 400 14px/21px var(--body); color: var(--ink); }
.mm-tile:hover b { text-decoration: underline; text-underline-offset: 0.2em; }

/* the phone drawer (AUDIT 3.3 #7): group rows in the heading face, items in the body face, MOO's dividers */
.sheet { background: #fff; }
.sh-btn, .sh-link { font: 500 18px/23px var(--display); letter-spacing: -0.005em; min-height: 56px; }
.sh-sub a { font: 400 16px/21px var(--body); color: var(--ink-2); }
.sh-sub li.is-div { border-bottom: 1px dotted #c9c6c0; margin-bottom: 6px; padding-bottom: 6px; }
.sh-btn > span::before, .sh-link > span::before { display: none; }

/* ---------- hero, split (AUDIT 5.3 #1, 6.3 #2) ---------- */
.hs { --hs-bg: #0c4a4f; --hs-w: 42%; --hs-x: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); position: relative; display: grid;
  grid-template-columns: var(--hs-w) minmax(0, 1fr); grid-template-rows: minmax(36px, 1fr) auto auto minmax(36px, 1fr); min-height: 500px; background: var(--hs-bg); color: #fff; overflow: hidden; }
.hs-h { grid-column: 1; grid-row: 2; padding: 0 32px 0 var(--hs-x); max-width: calc(var(--hs-x) + 440px); font-size: 42px; line-height: 48.3px; color: #fff; }
.hs-rest { grid-column: 1; grid-row: 3; padding: 6px 32px 0 var(--hs-x); max-width: calc(var(--hs-x) + 440px); }
.hs-lead { font-size: 18px; line-height: 27px; color: #fff; }
.hs-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
.hs-fig { grid-column: 2; grid-row: 1 / -1; position: relative; margin: 0; background: var(--well); }
.hs-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hs-pos, 50% 50%); }
.hs :focus-visible { outline-color: #fff; }
.hs-hub { --hs-w: 48%; }
.hs.has-torn { padding-bottom: 70px; }
.hs.has-torn .hs-fig { margin-bottom: -70px; }
.torn { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 70px; background: var(--c-cards); display: flex; align-items: center; justify-content: center; }
.torn::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: var(--c-cards);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6l8-3 7 4 9-5 6 3 10-4 7 5 8-3 9 2 6-4 11 5 7-3 8 4 10-5 6 3 9-2 7 4 8-5 10 4 6-3 9 3 7-4 11 5 8-4 7 3 9-4 6 5 10-3 6 2 8-5 7 4V10Z'/%3E%3C/svg%3E") 0 0 / 240px 10px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V6l8-3 7 4 9-5 6 3 10-4 7 5 8-3 9 2 6-4 11 5 7-3 8 4 10-5 6 3 9-2 7 4 8-5 10 4 6-3 9 3 7-4 11 5 8-4 7 3 9-4 6 5 10-3 6 2 8-5 7 4V10Z'/%3E%3C/svg%3E") 0 0 / 240px 10px repeat-x; }
.torn ul { position: relative; list-style: none; display: flex; gap: 48px; padding: 0; margin: 0; }
.torn a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 500 16px/21px var(--display); color: var(--ink); text-decoration: none; }
.torn a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 200ms var(--ease); }
.torn a:hover::after { transform: scaleX(1); }
.torn :focus-visible { outline-color: var(--ink); }
@media (max-width: 1024.98px) { .hs { min-height: 420px; } .hs-h { font-size: 34px; line-height: 39px; } }
@media (max-width: 640.98px) {
  /* phone: the title, then the photo (1.83:1), then the lead and the buttons, all on white (AUDIT 5.1 phone) */
  .hs { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; background: #fff; color: var(--ink); }
  .hs-h { grid-row: 1; padding: 20px var(--gutter) 16px; max-width: none; font-size: 30px; line-height: 34.5px; color: var(--ink); text-align: center; }
  .hs-fig { grid-column: 1; grid-row: 2; aspect-ratio: 1.83; }
  .hs-rest { grid-row: 3; padding: 16px var(--gutter) 8px; max-width: none; text-align: center; }
  .hs-lead { font-size: 16px; line-height: 24px; color: var(--ink); }
  .hs-btns { align-items: stretch; }
  .hs-btns .btn:first-child { background: var(--btn); color: #fff; border-color: var(--btn); }
  .hs-btns .btn-ghost { background: #fff; color: var(--ink); border-color: var(--btn-line); }
  .hs :focus-visible { outline-color: var(--ink); }
  .hs.has-torn { padding-bottom: 0; }
  .hs.has-torn .hs-fig { margin-bottom: 0; }
  .torn { display: none; }
}

/* ---------- sticky sub-nav (AUDIT 6.3 #3) ---------- */
.sn { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: inset 0 -1px 0 var(--hair); }
.sn .wrap { display: flex; align-items: center; gap: 16px; min-height: 50px; }
.sn-mark { flex: none; display: flex; align-items: center; height: 44px; }
.sn-mark img { width: auto; height: 22px; }  /* the logo in ink, not the yellow app icon (audit L1) */
.sn nav { flex: 1; display: flex; justify-content: center; gap: 0; padding-block: 0; overflow-x: auto; scrollbar-width: none; }
.sn nav::-webkit-scrollbar { display: none; }
.sn nav a { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; font: 500 15px/16px var(--display); text-decoration: none; color: var(--ink); white-space: nowrap; border-radius: 0; background: none; }
.sn nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--bright); transform: scaleX(0); transition: transform 200ms var(--ease); }
.sn nav a:hover::after, .sn nav a.is-on::after { transform: scaleX(1); }
.sn nav a.is-on, .sn nav a:hover { background: none; color: var(--ink); }
@media (max-width: 640.98px) { .sn .wrap { min-height: 46px; } .sn-mark, .sn .btn { display: none; } .sn nav { justify-content: flex-start; } .sn nav a { min-height: 44px; } }

/* ---------- the rack tile (AUDIT 6.3 #4): 4:3 picture, title (+ pill), price line, bullets, "Shop X ›", equal heights ---------- */
.rk { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow 200ms var(--ease); }
.rk-fig { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--well); overflow: hidden; }
.rk-fig > img, .rk-fig > .line-art, .rk-fig > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rk-fig > .line-art { padding: 8%; }
.rk-fig .ld-dim, .rk-fig .ld-t { display: none; }
.rk-b { flex: 1; display: flex; flex-direction: column; padding: 18px 0 16px; }
.band-alt .rk-b { padding-inline: 18px; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024.98px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640.98px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.rk-t { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.rk-h { font-size: 18px; line-height: 20.7px; }
.rk-price { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--ink); }
.rk-price b { font-weight: 700; }
.rk-p { margin-top: 6px; font-size: 14px; line-height: 21px; }
.rk-ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; line-height: 21px; }
.rk-ul li::marker { color: var(--ink-2); }
.rk .cta { margin-top: auto; padding-top: 16px; }
.rk-fig.rk-sz { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: auto; height: 200px; padding: 12px 18px 0; background: var(--well); }
.rk-sz > svg, .rk-sz > .line-art { position: static; width: auto; height: auto; max-width: 100%; max-height: 100%; }
@media (hover: hover) { .band-alt .rk:hover { box-shadow: var(--sh-lift); } .rk:hover .rk-h { text-decoration: underline; text-underline-offset: 0.2em; } }
.rk:focus-visible { outline-offset: 3px; }
.rk-2x1 .rk-fig { aspect-ratio: 2 / 1; }
.rk-2x1 .rk-fig > img { object-fit: cover; }  /* photo-style review 2026-12-01: the make tiles fill their frame */
/* a footer-only tile (MOO's "even more" and best sellers): the picture and one link under it */
.mt { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--ink); }
.mt .cta { padding: 12px 0 16px; min-height: 52px; }
.band-alt .mt .cta { padding-inline: 18px; }
@media (hover: hover) { .band-alt .mt:hover { box-shadow: var(--sh-lift); } }
@media (max-width: 640.98px) { .rk-price, .rk-ul, .rk-p { font-size: 16px; line-height: 24px; } .band-alt .rk-b, .band-alt .mt .cta { padding-inline: 16px; } }

/* ---------- promises and the trust line (AUDIT 5.3 #2, #3) ---------- */
.prom { list-style: none; padding: 0; margin: 0; }
.prom li { text-align: center; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 0 6px; }
.prom svg { width: 72px; height: 72px; margin-bottom: 6px; color: var(--ink); }
.prom svg .acc { fill: var(--c-cards); stroke: none; }
.prom h3 { font-size: 18px; line-height: 20.7px; }
.prom p { font-size: 14px; line-height: 21px; max-width: 264px; }
.trust { text-align: center; font: 400 18px/27px var(--body); }
.trust b { font-weight: 700; }
@media (max-width: 640.98px) { .prom p { font-size: 16px; line-height: 24px; } .trust { font-size: 16px; line-height: 24px; } }

/* ---------- rich media, banners, ideas, social row, visit strip (AUDIT 5.3) ---------- */
.rm { display: grid; grid-template-columns: 552px minmax(0, 1fr); gap: 48px; align-items: center; }
.rm-r { grid-template-columns: minmax(0, 1fr) 552px; }
.rm-r .rm-fig { order: 2; }
.rm-fig { position: relative; aspect-ratio: 4 / 3; margin: 0; background: var(--well); overflow: hidden; }
.rm-fig > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-t h2 { font-size: 24px; line-height: 27.6px; }
.rm-t p { margin-top: 12px; font-size: 14px; line-height: 21px; max-width: 576px; }
.rm-t p a { color: var(--link); }
.rm-t > .btn, .rm-t > .cta-row { margin-top: 24px; }
.rm-3d .rm-fig { overflow: visible; background: transparent; }
.band:has(.rm-3d) { overflow-x: clip; }  /* the pile fans a little past its box; never past the page edge */
.rm-3d .hero-stage { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; border-radius: 0; overflow: visible; }
.bn { display: grid; grid-template-columns: 70% 30%; min-height: 289px; background: var(--band); overflow: hidden; }
.bn-t { display: grid; align-content: center; justify-items: center; text-align: center; padding: 32px 48px; }
.bn-t h2 { font-size: 24px; line-height: 27.6px; }
.bn-t p { margin-top: 6px; font-size: 18px; line-height: 27px; max-width: 560px; }
.bn-t .cta-row { margin-top: 24px; justify-content: center; gap: 12px; }
.bn-fig { position: relative; margin: 0; background: var(--well); }
.bn-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-photo { position: relative; grid-template-columns: 1fr; color: #fff; }
.bn-photo .bn-fig { position: absolute; inset: 0; }
.bn-photo .bn-fig::after { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 15, 0.55); }
.bn-photo .bn-t { position: relative; z-index: 1; }
.bn-photo .bn-t p { color: #fff; }
.bn-photo :focus-visible { outline-color: #fff; }
.ideas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ideas-t h2 { font-size: 30px; line-height: 34.5px; }
.ideas-t p { margin: 6px 0 16px; font-size: 18px; line-height: 27px; }
.soc4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.soc4 a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--well); }
.soc4 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.soc4 a:hover img { transform: scale(1.03); }
.vs { padding: 48px 0; background: #fff; border-top: 1px solid var(--hair); }
.vs .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; align-items: center; }
.vs h2 { font-size: 24px; line-height: 27.6px; }
.vs h2 em { font-style: normal; color: var(--link); }
.vs p { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.vs dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; line-height: 21px; }
.vs dt { color: var(--ink-2); }
.vs dd { margin: 0; }
.vs dd a { color: var(--link); }
.vs-r .cta-row { margin-top: 16px; }
@media (max-width: 1024.98px) {
  .rm, .rm-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ideas-t { grid-column: 1 / -1; }
}
@media (min-width: 641px) { .ideas-row { display: contents; } }
@media (max-width: 640.98px) {
  .rm, .rm-r { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rm-r .rm-fig { order: 0; }
  .rm-t h2 { font-size: 21px; line-height: 24.15px; }
  .rm-t p { font-size: 16px; line-height: 24px; }
  .bn { grid-template-columns: minmax(0, 1fr); }
  .bn-fig { order: -1; aspect-ratio: 4 / 3; }
  .bn-photo .bn-fig { aspect-ratio: auto; }
  .bn-t { padding: 28px 20px 32px; }
  .bn-t .cta-row .btn { flex: 1 1 100%; }
  .ideas { display: block; }
  .ideas-t { margin-bottom: 20px; }
  .ideas-t h2 { font-size: 24px; line-height: 27.6px; }
  .ideas-t p { font-size: 16px; line-height: 24px; }
  .ideas-row { display: grid; grid-auto-flow: column; grid-auto-columns: 228px; justify-content: start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .ideas-row > * { scroll-snap-align: start; }
  .soc4 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: calc(-1 * var(--gutter)); }
  .vs .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- questions in three columns, all open (AUDIT 6.3 #16) ---------- */
.faqc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }  /* two columns: 10 questions never leave 3+3+3+1 (audit M2, L12) */
.faqc .faq-item { border: 0; padding: 0; margin: 0; }
.faqc .faq-item > summary { display: block; list-style: none; cursor: default; padding: 0; min-height: 0; font: 500 18px/20.7px var(--display); letter-spacing: -0.012em; color: var(--ink); }
.faqc .faq-item > summary::-webkit-details-marker { display: none; }
.faqc .faq-item > summary::after, .faqc .faq-item > summary::before { display: none; }
.faqc .faq-item > p { margin-top: 10px; padding: 0; font-size: 14px; line-height: 21px; color: var(--ink); }
.faqc .faq-item a { color: var(--link); }
.faqc-more { display: flex; justify-content: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 40px; }
@media (max-width: 1024.98px) { .faqc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640.98px) { .faqc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .faqc .faq-item > p { font-size: 16px; line-height: 24px; } }

/* ---------- footer (AUDIT 9.3) ---------- */
.ftr { margin-top: 0; border-top: 0; background: #fff; color: var(--ink); font-size: 14px; --ink: #14110f; --ink-2: #5a5048; }
.ftr-bar { background: var(--ftr-bar); color: #fff; }
.ftr-bar .wrap { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.ftr-bar .soc-i { display: flex; gap: 20px; }
.ftr-bar .soc-i a { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.ftr-bar .soc-i svg { width: 24px; height: 24px; }
.ftr-bar :focus-visible { outline-color: #fff; }
.ftr-lang { display: inline-flex; align-items: center; gap: 12px; margin-top: 25px; min-height: 49px; padding: 0 18px; border: 1px solid var(--btn-line); border-radius: 3px; font-size: 14px; }
.ftr-lang a { text-decoration: none; color: var(--link); display: inline-flex; align-items: center; min-height: 44px; }
.ftr-lang a:hover { text-decoration: underline; }
.ftr-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; padding: 40px 0 32px; }
.ftr-cols .fc-2 { grid-column: span 2; }
.ftr-cols .fc-2 ul { columns: 2; column-gap: 24px; }
.ftr-h { font: 500 18px/21.6px var(--display); letter-spacing: -0.012em; color: var(--ink); margin: 0 0 17px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: block; }
.ftr ul li { break-inside: avoid; }
.ftr ul a, .ftr address a { display: inline-flex; align-items: center; min-height: 29px; font: 400 14px/16.8px var(--body); color: var(--link); text-decoration: none; }
.ftr ul a:hover, .ftr address a:hover { text-decoration: underline; color: var(--link); }
.ftr address { font-style: normal; display: grid; gap: 0; font-size: 14px; line-height: 21px; }
.ftr address span { padding-block: 4px; }
.ftr-legal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 0 32px; border-top: 1px solid var(--hair); font-size: 12px; line-height: 18px; color: var(--ink-2); }
.ftr-legal-row .fl-l { display: flex; align-items: center; gap: 12px; }
.ftr-legal-row .fl-l img { width: auto; height: 24px; }
.ftr-legal { gap: 0 14px; }
.ftr-legal a { min-height: 32px; font-size: 12px; color: var(--link); text-decoration: none; }
.ftr-legal a:hover { text-decoration: underline; }
@media (max-width: 1024.98px) { .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } .ftr-cols .fc-2 { grid-column: 1 / -1; } }
@media (max-width: 640.98px) {
  .ftr-cols { grid-template-columns: minmax(0, 1fr); }
  .ftr-h { font-size: 16px; margin-bottom: 8px; }
  .ftr-bar .wrap { flex-wrap: wrap; padding-block: 4px; }
  .ftr-legal-row { flex-direction: column; align-items: flex-start; }
}
/* ---------- product page (AUDIT 8.3): 576 gallery + 48 + 552 buy box, square views, MOO type in the buy box ---------- */
.pdp { padding-block: 8px 64px; }
.pdp-grid { margin-top: 0; gap: 48px; }
@media (min-width: 901px) and (min-height: 700px) {
  .pdp-grid { grid-template-columns: minmax(0, min(576px, calc((100svh - 5.75rem) * 0.8), calc(100% - 552px - 48px))) minmax(0, 552px); justify-content: space-between; }
  .pdp-grid > .gallery { top: 16px; }
}
@media (min-width: 901px) and (max-width: 1224.98px) { .pdp-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); } }
/* The picture stays whole and in view while the buyer chooses (Aaron 2026-12-04: "it cuts off like 30% of the image"; "the
   image to be moving alongside the screen"). Desktop: the gallery (view + thumbnails + Front / Back, m + m / 4 + 5.75 rem)
   is never taller than the window, at every width, not only above 1225 px. Phones and tablets: the gallery sticks to the top
   of the screen while the options scroll under it, its view at about a third of the screen's height, so the choices show
   on the piece as they are made (app.js then leaves the small pinned preview off: it only runs when the gallery is not sticky). */
@media (min-width: 901px) and (min-height: 700px) {
  .pdp-grid > .gallery { width: min(100%, calc((100svh - 2rem - 5.75rem) * 0.8)); justify-self: center; }
}
@media (max-width: 900px) and (min-height: 560px) {
  .pdp-grid > .gallery { position: sticky; top: 0; z-index: 15; background: var(--page); padding-block: 6px 4px; box-shadow: 0 1px 0 var(--line); }
  .pdp-grid > .gallery > .g-main { width: min(100%, 34svh); justify-self: center; }
  .pdp-grid > .gallery > .promises { display: none; }
}
.g-main, .g-view { border-radius: 0; background: var(--well); }
.g-thumbs { gap: 8px; grid-auto-columns: calc((100% - 3 * 8px) / 4); }
/* phones: the thumbnails keep their own width (50 to 56 px), as above; a share of the row collapsed them to 2 px, the row
   sizing itself to its content (hard check 2026-12-02, every product page under 641 px) */
@media (max-width: 640px) { .g-thumbs { grid-auto-columns: clamp(50px, 14.5vw, 56px); } }
.g-thumb, .g-thumb-fig { border-radius: 0; background: var(--well); }
.g-thumb::after { border-radius: 0; background: var(--bright); }
.g-go { width: 40px; height: 40px; margin-top: -20px; background: rgba(20, 17, 15, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.6); box-shadow: none; }
.g-go:hover { border-color: #fff; background: rgba(20, 17, 15, 0.3); }
.g-go[aria-disabled="true"]:hover { border-color: rgba(255, 255, 255, 0.6); }
.buy { gap: 24px; }
.buy h1 { font-size: 30px; line-height: 34.5px; }
.buy-sub { font: 500 18px/21.6px var(--display); color: var(--ink); }
.buy-from { margin-top: -12px; font-size: 16px; line-height: 24px; color: var(--ink); }
.buy-intro-h { font-size: 21px; line-height: 24px; }
.buy-intro p, .buy-points { font-size: 14px; line-height: 21px; }
.buy .label, .buy legend.label, .buy .field > .label { font: 500 21px/24px var(--display); letter-spacing: -0.012em; color: var(--ink); }
.buy .label small { font: 400 14px/21px var(--body); }
.chip, .opt-tile, .q-row, .mk { border-radius: 3px; }
.chip { border-color: var(--hair); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-current="page"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.buy-actions .btn { flex: 1 1 100%; min-height: 48px; }
.summary { border-radius: 3px; }
.pdp-details > .section { padding-block: 0; }
.pdp-details { padding: 64px 0 72px; }
.mk-sec { margin-top: 48px; }
/* MOO's quantity table: 49 px rows on hairlines, the chosen row framed in the accent (AUDIT 8.1 2d) */
.q-wrap { border-color: var(--hair); border-radius: 3px; }
.qty-table th { font: 500 14px/21px var(--display); color: var(--ink); }
.qty-table td { font-size: 14px; border-bottom-color: var(--hair); }
.qty-table label { min-height: 48px; font-weight: 700; }
.qty-table tbody tr:hover { background: var(--well); }
.qty-table tbody tr:has(input:checked) { box-shadow: inset 0 0 0 1px var(--accent); background: #fff; }
.summary { background: #fff; border: 1px solid var(--hair); }
.sum-h { font: 500 21px/24px var(--display); }
/* MOO's big image with a white text card */
.wc { position: relative; }
.wc-fig { position: relative; height: 500px; background: var(--well); overflow: hidden; }
.wc-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wc .wrap { position: relative; display: flex; justify-content: flex-end; margin-top: -450px; padding-bottom: 50px; pointer-events: none; }
.wc-card { pointer-events: auto; width: 476px; min-height: 400px; padding: 48px; background: #fff; box-shadow: var(--sh-lift); display: grid; align-content: center; gap: 12px; }
.wc-card h2 { font-size: 30px; line-height: 34.5px; }
.wc-card p { font-size: 14px; line-height: 21px; }
@media (max-width: 900px) { .pdp-grid { gap: 24px; } }
@media (max-width: 640.98px) {
  .buy h1 { font-size: 24px; line-height: 27.6px; }
  .pdp-details { padding: 40px 0 48px; }
  .wc-fig { height: 240px; }
  .wc .wrap { margin-top: 0; padding-bottom: 0; }
  .wc-card { width: 100%; min-height: 0; padding: 28px 0 40px; box-shadow: none; }
  .wc-card h2 { font-size: 24px; line-height: 27.6px; }
}
/* ---------- neutral chrome on every other page (AUDIT 1.3): no full-width band is a group colour any more ---------- */
:root, html[data-theme="a"] { --s-how: var(--band); --s-how-ink: var(--ink); --s-how-dot: var(--ink); --s-how-dot-ink: #fff;
  --s-visit: var(--band); --s-visit-ink: var(--ink); --s-visit-ink-2: var(--ink-2); --s-biz: #fff; --s-hero: #fff; }
.head-g, .head-biz, .z-papers .head, .z-help .page-head { background: var(--band); }
.head-g .head-fig, .head-biz .biz-fig, .head-fig, .biz-fig { border-radius: 0; box-shadow: none; background: var(--well); }
:is(.hm-visit, .band-ink) { margin-bottom: 0; }
.how-strip { background: var(--band); }
.g-big .side-card, .side-card, .send-card, .visit-card, .cart-sum { border-radius: 3px; }
.g-big .side-card { background: #fff; border-color: var(--hair); }
.tile-p { background: #fff; border-radius: 0; padding: 0; }
.tile-fig, .tile-p .tile-fig { border-radius: 0; background: var(--well); }
.pill { border-radius: 3px; }
.biz-tile-fig, .pf-fig { border-radius: 0; }
/* Phone: the business-card comparison reads as one small card per row, every column shown (audit H6) */
@media (max-width: 640.98px) {
  #compare .table-wrap { overflow: visible; border: 0; }
  #compare .cmp, #compare .cmp tbody, #compare .cmp tr, #compare .cmp th, #compare .cmp td { display: block; width: auto; }
  #compare .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #compare .cmp tr { padding: 12px 0; border-bottom: 1px solid var(--hair); }
  #compare .cmp tr.cmp-group { padding: 20px 0 4px; border-bottom: 0; }
  #compare .cmp th[scope="row"] { padding: 0 0 6px; border: 0; font: 500 18px/21px var(--display); }
  #compare .cmp td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 8px; align-items: center; padding: 3px 0; border: 0; font-size: 14px; line-height: 21px; text-align: left; white-space: normal; }
  #compare .cmp td::before { content: attr(data-label); color: var(--ink-2); }
  #compare .cmp td.cmp-th { grid-template-columns: 7.5rem minmax(0, 1fr) auto; }
  #compare .cmp td.cmp-price { display: grid; }
  #compare .cmp td.cmp-price small { grid-column: 2; }
}
/* Hero panels take the photo's own edge colour (build.py hero_colour, audit M1); the photo's first 48 px fade into it,
   so no seam shows. A light panel carries ink words and an ink-edged second button. */
@media (min-width: 641px) {
  .hs-fig { background: transparent; }
  .hs-fig img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px); mask-image: linear-gradient(90deg, transparent 0, #000 48px); }
  .hs-light { color: var(--ink); }
  .hs-light .hs-h, .hs-light .hs-lead { color: var(--ink); }
  .hs-light .btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 17, 15, 0.55); }
  .hs-light .btn-ghost:hover { background: rgba(255, 255, 255, 0.35); border-color: var(--ink); }
  .hs-light :focus-visible { outline-color: var(--ink); }
}
/* Phone: a product rack of more than six goes two a row with compact tiles (picture, name, price, link; the bullets
   stay on computers and on the product page), so Merch and All products are not one tile per screen (audit M10) */
@media (max-width: 640.98px) {
  .g4:not(.swipe):has(> :nth-child(7)), .g3:not(.swipe):has(> :nth-child(7)) { gap: 20px 12px; }
  .g4:not(.swipe):has(> :nth-child(7)) > *, .g3:not(.swipe):has(> :nth-child(7)) > * { flex-basis: calc((100% - 12px) / 2); }
  :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .rk-ul, :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .rk-p { display: none; }
  :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .rk-b { padding: 10px 0 8px; }
  .band-alt :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .rk-b { padding-inline: 10px; }
  :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .rk-h { font-size: 16px; line-height: 19px; }
  :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .rk-price { font-size: 14px; line-height: 20px; }
  :is(.g4, .g3):not(.swipe):has(> :nth-child(7)) .cta { font-size: 15px; line-height: 19px; padding-top: 8px; }
}
/* "How would you like to make yours?" is the order panel's first step (MOO's design step, audit M6): one choice a row,
   a small picture beside its words, the chosen one framed in the accent; Start is the quiet button, Add to cart the dark one */
.buy .mk-sec, .buy .mk-sec[data-n="2"] { margin: 0; padding: 0; border: 0; max-width: none; gap: 12px; }
.buy .mk-head h2 { font: 500 21px/24px var(--display); letter-spacing: -0.012em; }
.buy .mk-head p { font-size: 14px; line-height: 21px; }
.buy .mk-tiles, .buy .mk-sec[data-n="2"] .mk-tiles, .buy .mk-sec[data-n="3"] .mk-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.buy .mk { grid-template-rows: none; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding: 8px; border-radius: 3px; border-color: var(--hair); }
.buy .mk[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.buy .mk-art, .buy .mk-photo, .buy .mk-sec[data-n="2"] .mk-art, .buy .mk-sec[data-n="2"] .mk-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.buy .mk-txt { padding: 0 1.9rem 0 0; }
.buy .mk-t { font: 500 16px/19px var(--display); }
.buy .mk-b { font-size: 13px; line-height: 19px; }
.buy .mk-go { min-height: 44px; background: #fff; color: var(--ink); border-color: var(--btn-line); font-size: 16px; }
.buy .mk-go:hover { border-color: var(--ink); background: #fff; }
@media (max-width: 640.98px) { .buy .mk { grid-template-columns: 88px minmax(0, 1fr); } }
.pdp-details .details { border-top: 0; }  /* the band change already separates it; no hairline on the heading (audit M4) */
/* Builder: no lone last item (audit M2): nine palettes sit 3 + 3 + 3; the logo's colours sit on one row under their line */
.bd-pals:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bd-brand-logo .hint { flex-basis: 100%; }
/* ---------- the builder's left column as MOO-clean steps (audit M8, Aaron 2026-12-01) ----------
   Layout, Details, Arrange (with Customize layout), Colors, Check and order: one open at a time, each closed one a single
   row with its number and name; the right column is only the design (proof, 3D, one slim row of switches, the video link). */
.bd-form { gap: 0; counter-reset: bdst; border-top: 1px solid var(--hair); }
.bd-form > .bd-sec { counter-increment: bdst; border-bottom: 1px solid var(--hair); padding: 0; }
.bd-form > .bd-sec[hidden] { counter-increment: none; }
.bd-form > .bd-sec > legend, .bd-form > .bd-sec > .bd-legend { float: left; width: 100%; margin: 0; padding: 0; font: inherit; }
.bd-sec-tog { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer;
  font: 500 19px/23px var(--display); letter-spacing: -0.012em; }
.bd-sec-tog .bd-n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/1 var(--body); }
.bd-sec-tog .bd-n::before { content: counter(bdst); }
.bd-sec.is-shut .bd-sec-tog .bd-n { background: var(--well); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.bd-sec-tog .bd-chev { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease); }
.bd-sec.is-shut .bd-sec-tog .bd-chev { transform: rotate(-45deg); }
.bd-sec-tog:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.bd-sec-b { clear: both; padding: 4px 0 24px 40px; }
.bd-sec.is-shut > .bd-sec-b { height: 0; padding: 0; overflow: hidden; }
.bd-next { margin-top: 20px; }
.bd-next::after { content: " \00203A"; }
.bd-sec .bd-sub { margin: 0 0 12px; }
.bd-ghost { margin: 0 0 12px; font-size: 13px; }
.bd-edtools { margin-top: 4px; }
.bd-ed-keys { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.bd-ed-keys summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; }
.bd-ed-keys .bd-ed-help { margin-top: 6px; }
.bd-quiet { margin: 0; font-size: 13px; color: var(--ink-2); }
.bd-quiet:empty, .bd-quiet:has(> .bd-size:empty) { display: none; }
.bd-clip { gap: 0.35rem 0.75rem; }
.bd-clipbtn.btn-text { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0; font-size: 14px; color: var(--link); text-decoration: none; }
.bd-clipbtn.btn-text:hover { text-decoration: underline; }
.bd-clipbtn.btn-text svg { width: 16px; height: 16px; }
.bd-pals, .bd-segs, .bd-layouts .bd-lay, .bd-chip label { border-radius: 3px; }
@media (max-width: 640.98px) {
  .bd-sec-b { padding-left: 0; }
  .bd-sec-tog { min-height: 56px; font-size: 18px; }
}
/* footer columns as disclosures (audit M9): plain headings on computers, folding rows with a chevron on phones */
.ftr-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ftr-cols summary { list-style: none; }
.ftr-cols summary::-webkit-details-marker { display: none; }
@media (min-width: 641px) { .ftr-cols summary { pointer-events: none; } }
@media (max-width: 1024.98px) { .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640.98px) {
  /* one column of folding rows (re-audit N1: the 4-column grid squeezed two rows side by side) */
  .ftr-cols { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 16px; }
  .ftr-cols details, .ftr-cols .fc-2 { grid-column: 1 / -1; }
  .ftr-cols details { border-bottom: 1px solid var(--hair); }
  .ftr-cols summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
  .ftr-cols summary .ftr-h { margin: 0; font-size: 16px; }
  .ftr-cols summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease); }
  .ftr-cols details[open] summary::after { transform: rotate(-135deg); }
  .ftr-cols details > ul { padding-bottom: 12px; }
}
/* mega menus: the first fly-out is shown by default; a menu with no fly-out puts its tiles right after the list (audit M12) */
.mm-l2:not(:has(> li.has-l3:hover, > li.has-l3:focus-within)) > li.l3-default > .mm-l3 { display: block; }
.mm-l2:not(:has(> li.has-l3:hover, > li.has-l3:focus-within)) > li.l3-default > a { background: var(--well); border-color: var(--hair); color: var(--ink); }
.mm-in:not(:has(.has-l3)) { justify-content: flex-start; }
.mm-in:not(:has(.has-l3)) .mm-promos { width: auto; padding-left: 24px; justify-content: flex-start; }
/* low findings (MOO audit): a fade where the phone sub-nav scrolls on (L2); one arrow style, the chevron, on text links (L3);
   breadcrumb chips that show on a grey head (L10) */
@media (max-width: 640.98px) { .sn nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; } }
.link-arrow > svg:last-child, .mm-all > svg:last-child { display: none; }
.link-arrow::after, .mm-all::after { content: "\00203A"; margin-left: 2px; font-size: 1.2em; line-height: 0; }
:is(.head, .page-head) .crumbs a { background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }
/* the photo banner: the photo stays bright, the words sit on a white card (re-audit: the dark veil made it muddy) */
.bn-photo { place-items: center; padding: 32px; }
.bn-photo .bn-fig::after { background: rgba(20, 17, 15, 0.08); }
.bn-photo .bn-t { background: rgba(255, 255, 255, 0.96); color: var(--ink); max-width: 560px; padding: 28px 36px; box-shadow: var(--sh-lift); }
.bn-photo .bn-t p { color: var(--ink); }
.bn-photo :focus-visible { outline-color: var(--ink); }
@media (max-width: 640.98px) { .bn-photo { padding: 0; } .bn-photo .bn-fig { position: relative; aspect-ratio: 4 / 3; } .bn-photo .bn-t { box-shadow: none; padding: 24px 20px; } }
/* layouts with no logo spot: the line and its two buttons in Your details (re-audit N9) */
.bd-nologo { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); }
.bd-nologo-acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* ---------- Signs, Banners & Wraps (expansion plan 2026-12-02) ---------- */
.g-signs, .g-st-signs, .g-st-banners, .g-st-storefront, .g-st-window { --g: var(--c-big); --g-wash: var(--c-big-wash); --g-deep: var(--c-big-deep); }
.mm-wide .mm-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 20px; padding: 24px 24px 12px; }
.mm-h6 { display: block; padding: 6px 0 8px; font: 500 16px/20px var(--display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); margin-bottom: 6px; }
.mm-h6:hover { text-decoration: underline; }
.mm-c6 ul { list-style: none; padding: 0; margin: 0; }
.mm-c6 li a { display: block; padding: 6px 0; font: 400 14px/18px var(--body); color: var(--ink-2); text-decoration: none; }
.mm-c6 li a:hover, .mm-c6 li a:focus-visible { color: var(--ink); text-decoration: underline; }
.mm-need { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 24px 18px; background: var(--well); border-top: 1px solid var(--hair); font-size: 14px; }
.mm-need b { font: 500 15px/1 var(--display); }
.mm-need a { color: var(--ink); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.mm-need a:hover { text-decoration: underline; }
.mm-need .cta { margin-left: auto; color: var(--link); }
.rk-quote .rk-price { color: var(--ink-2); }
.rk-quote.rk-noimg { border: 1px solid var(--hair); border-radius: 3px; padding: 18px 16px; background: var(--well); align-self: start; }
.sqft { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--hair); border-radius: 3px; background: #fff; }
.sqft-h { font: 500 21px/24px var(--display); }
.sqft p { font-size: 14px; line-height: 21px; }
.sqft-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sqft .cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sqft-add:disabled { opacity: 0.45; cursor: not-allowed; }
/* the finish layer (family 1d): which pieces get the foil or gloss */
.bd-finish { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.bd-fin-list { display: grid; gap: 4px; }
.bd-fin-list .bd-chk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.bd-fin-list input { width: 20px; height: 20px; accent-color: var(--ink); }
/* the slogan under a keyword H1 (SEO plan C3) */
.hs-kicker { font: 500 18px/1.3 var(--display); margin: 0 0 6px; opacity: 0.92; }
/* contact: areas we serve (SEO plan C6) */
.areas-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.areas h2 { font: 500 26px/1.15 var(--display); margin-bottom: 8px; }
.areas-l, .areas-top { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas-l li { padding: 6px 12px; border: 1px solid var(--hair); border-radius: 999px; font-size: 14px; }
.areas-top { display: grid; gap: 6px; } .areas-top a { min-height: 32px; display: inline-flex; align-items: center; }
/* quote pages: included, price, questions, related (SEO plan C4); product twins (C5) */
.q-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.q-more + .q-more { margin-top: 32px; }
.q-more h2, .twin h2 { font: 500 24px/1.2 var(--display); margin-bottom: 8px; }
.q-more ul { padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.q-rel { list-style: none; padding: 0 !important; } .q-rel a { min-height: 32px; display: inline-flex; align-items: center; }
.twin { max-width: 760px; } .twin p { font-size: 16px; line-height: 1.6; }
.q-more ol { padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; } .q-more p { font-size: 15px; line-height: 1.55; } .q-more h2 + p, .q-more p + h2 { margin-top: 12px; }
@media (max-width: 640px) { .q-more { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) { .areas-g { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* the logo designer (family 2): the form beside the piece, the logo area under it */
.ld-head { padding: 24px 0 8px; }
.ld-head h1 { font: 500 34px/1.1 var(--display); margin: 6px 0 8px; }
.ld-head p { max-width: 640px; color: var(--ink-2); }
.ld-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 64px; }
.ld-sec { border: 0; border-top: 1px solid var(--hair); padding: 16px 0; margin: 0; display: grid; gap: 10px; }
.ld-sec legend { font: 500 20px/1.2 var(--display); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.ld-f { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.ld-f input[type="range"] { width: 100%; min-height: 32px; }
.ld-file { justify-self: start; cursor: pointer; }
.ld-or { font-size: 14px; color: var(--ink-2); margin: 0; }
.ld-m { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 3px; cursor: pointer; }
.ld-m[hidden] { display: none; }
.ld-m span { display: grid; gap: 2px; } .ld-m small { color: var(--ink-2); font-size: 13px; }
.ld-inks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.ld-ink { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--hair); cursor: pointer; }
.ld-ink[aria-pressed="true"] { outline: 3px solid var(--accent); outline-offset: 2px; }
.ld-view { position: sticky; top: 16px; display: grid; gap: 12px; }
.ld-stage { position: relative; aspect-ratio: 4 / 3; background: var(--well); border-radius: 3px; overflow: hidden; }
.ld-stage > canvas { width: 100%; height: 100%; display: block; object-fit: contain; }
.ld-stage[hidden], .ld-mock[hidden] { display: none; }
.ld-mock { width: 100%; aspect-ratio: 4 / 3; height: auto; display: block; border-radius: 3px; background: var(--well); }
/* the rough mock-up on quote pages (family 3) */
.mk-up { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
.mk-up-t { display: grid; gap: 10px; } .mk-up-t h2 { font: 500 26px/1.15 var(--display); } .mk-up-t p { font-size: 15px; color: var(--ink-2); }
.mk-up-file { justify-self: start; cursor: pointer; }
.mk-up-cv { width: 100%; height: auto; aspect-ratio: 960 / 560; border-radius: 3px; background: var(--well); }
@media (max-width: 899.98px) { .mk-up { grid-template-columns: minmax(0, 1fr); } }
.ld-flat { margin: 0; display: grid; gap: 6px; justify-items: start; }
.ld-flat canvas { max-width: 100%; max-height: 220px; border: 1px dashed var(--line-2); background: #fff; }
@media (max-width: 899.98px) { .ld-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .ld-view { position: static; order: -1; } }
.sqft-row label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.sqft-out { font: 700 18px/24px var(--body); min-height: 24px; }
.q-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.q-table h2, .q-guide h2 { font-size: 24px; line-height: 27.6px; margin-bottom: 8px; }
.q-table .table-wrap { margin-top: 12px; }
.q-table .cmp th[scope="row"] { font-weight: 400; }
.q-guide ol { margin: 8px 0 16px; padding-left: 20px; font-size: 15px; line-height: 24px; }
.q-side { display: grid; gap: 12px; }
.q-reply { font-size: 15px; line-height: 22px; }
.q-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qf { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.qf h2 { font-size: 30px; line-height: 34.5px; text-align: center; }
.qf > .fine { text-align: center; }
.qf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.qf-f { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.qf-wide { grid-column: 1 / -1; }
.qf .cta-row { justify-content: center; }
@media (max-width: 1024.98px) { .mm-wide .mm-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .q-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .q-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 640.98px) { .qf-grid, .q-steps { grid-template-columns: minmax(0, 1fr); } .qf h2 { font-size: 24px; line-height: 27.6px; } }
/* END MOO SYSTEM (frame and shared modules) */

/* Aaron 2026-12-01: the menu row centred (the Spanish names are shorter and left a gap on the right) */
@media (min-width: 1180px) { .mm-list { justify-content: center; margin-left: 0; } }

/* Balanced rows (Aaron 2026-12-01): every tile row is centred, so a short last row sits in the middle (5 = 3 + 2) */
.g4, .g3 { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 24px; }
.g4 > * { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; }
.g3 > * { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 1024.98px) { .g4 > *, .g3 > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640.98px) {
  .g4:not(.swipe) > *, .g3:not(.swipe) > * { flex-basis: 100%; }
  /* a swipe row starts at the gutter: a centred grid that overflows would spill left, out of reach (audit B1) */
  .g4.swipe, .g3.swipe { display: grid; justify-content: start; }
  .g4.swipe > *, .g3.swipe > * { flex: none; }
}

/* The pile drifts as the page scrolls, each piece its own way (Aaron 2026-12-01); app.js sets --sc from -1 to 1 */
.stack-piece { translate: calc(var(--sc, 0) * var(--sx, 0px)) calc(var(--sc, 0) * var(--sy, 0px)); }
.stack .sp-0 { --sx: 34px; --sy: -42px; } .stack .sp-1 { --sx: -44px; --sy: 30px; } .stack .sp-2 { --sx: 6px; --sy: -26px; }
.stack .sp-3 { --sx: -34px; --sy: -30px; } .stack .sp-4 { --sx: 42px; --sy: 24px; } .stack .sp-5 { --sx: -26px; --sy: 40px; }
.stack .sp-6 { --sx: 26px; --sy: 38px; }
@media (prefers-reduced-motion: reduce) { .stack-piece { translate: none; } }

/* QR maker: settings on the left, the code on the right, kept in view (Aaron 2026-12-01) */
.qrp-left { display: grid; gap: 1.75rem; min-width: 0; align-content: start; }
.qrp-left > .qrp-colors, .qrp-left > .qrp-dl, .qrp-left > .qrp-print { padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .qrp-out { position: sticky; top: 1.5rem; align-self: start; } }
.bd-tip-go { display: inline; margin-left: 0.25rem; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.18em; }

/* "Customize layout" tools, tidied (Aaron 2026-12-01: "more user friendly and cool"): the piece list on its own line,
   undo / redo / reset together, the four letter styles as an even grid, the two "Add" buttons the same size */
.bd-ed-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.5rem 0.75rem; }
.bd-ed-pick { max-width: none; width: 100%; }
.bd-ed-head .bd-ed-hist { grid-column: 1; }
.bd-ed-head .bd-ed-wide { grid-column: 2; justify-self: end; margin-left: 0; }
.bd-ed-row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
.bd-ed-fonts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.bd-ed-fonts > legend { grid-column: 1 / -1; float: left; width: 100%; }
.bd-ed-font label { width: 100%; justify-content: center; padding: 0 0.5rem; border-radius: var(--r-btn); }
.bd-ed-font input:checked + label { padding: 0 calc(0.5rem - 1px); }
.bd-ed-adds { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.5rem; }
.bd-ed-adds > *, .bd-ed-adds .bd-ed-addph, .bd-ed-adds label, .bd-ed-adds button { width: 100%; justify-content: center; }
.bd-ed-adds .bd-ed-addph { display: block; }
@media (max-width: 640.98px) { .bd-ed-fonts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* letter styles in the narrower left column: as many per row as fit whole (never a clipped "Geometric") */
.bd-ed-fonts { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }

/* the signs hub's longer intro, below the racks (final audit #10) */
.hub-more p { max-width: 760px; font-size: 17px; line-height: 1.6; margin: 0; }
/* the logo designer's sliders and ticks in the brand's magenta, not the browser's blue (final audit, low) */
.ld input[type="range"], .ld input[type="checkbox"], .ld input[type="radio"] { accent-color: var(--accent); }
/* apparel: the size mix and the garment's colour (final audit #5) */
.mix-field { border: 0; padding: 0; margin: 0; }
.mix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 8px; }
.mix-cell { display: grid; gap: 4px; font-size: 14px; font-weight: 700; text-align: center; }
.mix-cell .input { text-align: center; min-height: 44px; padding: 0 4px; }
.mix-sum { margin: 6px 0 0; font-size: 14px; color: var(--cm, #555); }
.mix-sum.is-ok { color: var(--ink); font-weight: 700; }
.sw-garment { width: 22px; height: 22px; }
.ld-mock.is-photo { aspect-ratio: 1 / 1; }   /* the product's photo with the logo on it (final audit #1) */
.pm-fig { margin: 12px 0 0; display: grid; gap: 6px; } .pm-fig[hidden] { display: none; } .pm-fig canvas { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 3px; background: var(--well); }
/* wraps and storefront designer (canvases.py): the picker, the size fields, the zone legend and hits */
.bd-cvsize { border: 0; padding: 0; margin: 8px 0 0; } .bd-cvsize legend { font-weight: 700; font-size: 14px; }
.bd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* B3: a sign's size (builder.js sgPicker): the chips, then width and height in inches, then what the size means */
.bd-sg .bd-row2[hidden], .bd-sg-m:empty { display: none; }
.bd-sg .bd-row2 .bd-f { min-width: 0; } .bd-sg .bd-row2 .input { width: 100%; min-height: 48px; }
.bd-sg-m { margin: 0; font-size: var(--t-xs); color: var(--ink); line-height: 1.4; } .bd-sg-m.is-bad { color: var(--accent-text); font-weight: 600; }
.bd-zkinds { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 4px; font-size: 14px; }
.bd-zkinds li { display: flex; align-items: center; gap: 8px; }
.zk { width: 16px; height: 12px; border-radius: 2px; flex: none; }
.zk-glass { background: rgba(70, 110, 150, 0.7); } .zk-cut { background: rgba(30, 30, 32, 0.7); } .zk-seam { border: 2px dashed rgba(184, 0, 106, 0.85); background: none; }
.bd-zhits { margin: 6px 0; padding-left: 18px; color: var(--accent-deep); font-weight: 600; font-size: 14px; }
.bd-zok { margin: 4px 0; font-size: 14px; color: var(--ink); }
#bd-added-file { white-space: pre-line; } .bd-added-acts .bd-cvpdf, .bd-added-acts .bd-png { font-size: 14px; }
.cv-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .cv-cta h2 { margin: 0 0 6px; } .cv-cta p { margin: 0; max-width: 60ch; }
.qf-files .qf-list { margin: 6px 0; padding-left: 18px; font-size: 14px; } .cart-again { display: block; margin-top: 4px; font-size: 14px; } .bd-kept { display: block; margin-top: 6px; }
/* the home hero (Aaron 2026-12-02): the headline block runs to the middle of the page, so the H1 sits on one line from
   1280 px up (two lines narrower); the photo keeps the right side and nothing overlaps */
@media (min-width: 1025px) {
  .hs.has-torn { --hs-w: 56%; }
  .hs.has-torn .hs-h { max-width: none; padding-right: 28px; }
  .hs.has-torn .hs-rest { max-width: calc(var(--hs-x) + 560px); }
}
/* the designer's two filters (Aaron 2026-12-02): a label above one sideways-scrolling row of chips with counts, faded edges */
.bd-filter { display: grid; gap: 4px; margin: 0 0 10px; min-width: 0; }
.bd-filter-l { font-size: 13px; font-weight: 700; color: var(--ink2, #5a5048); letter-spacing: 0.01em; }
.bd-filter .bd-ind-row { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 24px 2px 0;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent); }
.bd-filter .bd-ind-row::-webkit-scrollbar { display: none; }
.bd-filter .bd-indb { flex: none; min-height: 40px; padding: 0 0.8rem; scroll-snap-align: start; white-space: nowrap; font-size: 14px; }
.bd-filter .bd-indb[aria-pressed="true"] { padding: 0 calc(0.8rem - 1px); }
.bd-indn { color: var(--ink2, #5a5048); font-weight: 500; }
.sh-sub .sh-h { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2, #5a5048); padding: 12px 0 4px; }
/* the nav row never runs past the header (Aaron 2026-12-02): tighter tabs from 1200 px, and if a long language or a narrow
   window still overflows, the row scrolls sideways; the menu button beside it always opens every group and product */
@media (min-width: 1200px) { .mm-top { padding: 6px 9px 6px 7px; } .mm-top::after { left: 7px; right: 9px; } }
@media (min-width: 1025px) { .hdr .mm { max-width: 100%; min-width: 0; } .mm-list { max-width: 100%; overflow-x: auto; overflow-y: visible; scrollbar-width: none; } .mm-list::-webkit-scrollbar { display: none; } }
/* the pinned preview while typing on a phone (builder.js paintMini) and the logo designer's preview kept in sight */
.bd-mini { position: fixed; top: 8px; right: 8px; z-index: 45; width: 140px; height: auto; max-height: 30vh; object-fit: contain; border-radius: 6px; background: #fff;
  box-shadow: 0 4px 18px rgba(20, 17, 15, 0.28); pointer-events: none; }
.bd-mini[hidden] { display: none; }
@media (min-width: 900px) { .bd-mini { display: none; } }
@media (max-width: 899.98px) {
  .ld-view { position: sticky; top: 0; z-index: 5; background: var(--page); padding-bottom: 6px; }
  .ld-view .ld-mock, .ld-view .ld-stage { max-height: 34vh; width: auto; max-width: 100%; margin-inline: auto; }
  .ld-view .ld-flat, .ld-view #ld-note { display: none; }
}
/* the logo designer's placements, fills and colours (logo-first 5-6, walkthrough fix 5) */
.ld-opts { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ld-opts legend { width: 100%; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.ld-opts label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--field); border-radius: var(--r-pill); font-size: 14px; cursor: pointer; }
.ld-opts input { accent-color: var(--accent); }
.ld-opts label:has(input:checked) { border: 2px solid var(--accent); background: var(--accent-wash); padding: 0 11px; font-weight: 700; }
.ld-sw2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ld-sw2 > span { width: 100%; font-weight: 700; font-size: 14px; }
.ld-ink.is-none { background: repeating-linear-gradient(45deg, #fff 0 4px, #e6e1d8 4px 8px) !important; }

/* "Free check by a real person" (logo-first A5): the badge in the buy bar and the WhatsApp help line at the logo step and
   under every print-quality warning */
.bd-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.bd-badge svg { flex: none; color: var(--ok, #1f7a4d); }
.bd-badge-s { display: none; }   /* item 6a: the short label, shown instead of the sentence in the phone buy bar */
.bd-help { font-size: var(--t-xs); color: var(--ink-2); margin: 0.35rem 0 0; }
.bd-help a { color: var(--accent-text); font-weight: 600; }
.ld .bd-badge { margin-bottom: 0.6rem; }

/* "Your logo on everything" (logo-first A7) and "Put this design on…" after Add to cart (A6) */
.ml-up { display: grid; gap: 0.6rem; max-width: 40rem; margin-bottom: 1rem; }
.ml-file { justify-self: start; }
.ml-logo { display: flex; align-items: center; gap: 0.75rem; min-height: 1.5rem; }
.ml-pv { width: 72px; height: 48px; object-fit: contain; background: var(--paper-2, #f3efe8); border-radius: var(--r-s); }
.ml-fields { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.ml-rough { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; margin-bottom: 1rem; }
.ml-grid { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.ml-grid.ml-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 0.8rem; }
@media (min-width: 600px) { .ml-grid.ml-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ml-a { display: grid; gap: 0.25rem; color: var(--ink); text-decoration: none; }
.ml-a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-s); }
.ml-th { display: grid; place-items: center; aspect-ratio: 1; background: var(--paper-2, #f3efe8); border-radius: var(--r-m, 12px); overflow: hidden; }
.ml-th canvas { max-width: 86%; max-height: 86%; width: auto; height: auto; box-shadow: 0 10px 24px -18px rgba(20, 17, 15, 0.6); }
.ml-tile.is-empty .ml-th { opacity: 0.6; }
.ml-nm { font-weight: 600; font-size: var(--t-s); }
.ml-pr { font-size: var(--t-xs); color: var(--ink-2); }
.ml-a:hover .ml-nm { text-decoration: underline; }
.ml-cross h3 { font-size: var(--t-m, 1.05rem); margin: 0.8rem 0 0.5rem; }
/* "Open a Tutto design file" sits under the designer, for reorders, not on the first screen (signs walkthrough) */
.bd-open-w { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bd-open-w .bd-open { margin: 0 0 1rem; }

/* item 7: merged pages. The type selector is a list of links to anchored sections (works without script); the chosen
   section is marked by :target and the link by aria-current (app.js) */
.ty-pick h2 { font: 500 21px/1.2 var(--display); margin: 0 0 10px; }
.ty-pick ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.ty-opt { display: grid; gap: 2px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; color: var(--ink); text-decoration: none; }
.ty-opt b { font-weight: 600; } .ty-opt span { font-size: 14px; color: var(--ink-2); }
.ty-opt:hover { border-color: var(--ink); }
.ty-opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ty-opt[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ty-head h2 { font: 500 24px/1.2 var(--display); margin: 0 0 8px; }
.ty-head p { margin: 0 0 10px; max-width: 60ch; }
.ty-list { margin: 0 0 10px; padding-left: 1.1rem; font-size: 15px; }
.ty-sec:target .ty-head h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ty-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.ty-facts div { padding: 12px 14px; border: 1px solid var(--hair); border-radius: 3px; background: #fff; }
.ty-facts dt { font-size: 14px; color: var(--ink-2); } .ty-facts dd { margin: 2px 0 0; font-weight: 600; }
.ty-cmp th[scope="row"] a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ty { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 640px) {   /* the film table: one card per film, no sideways scrolling */
  .ty-cmp { overflow: visible; border: 0; }
  .ty-cmp .cmp, .ty-cmp .cmp tbody, .ty-cmp .cmp tr, .ty-cmp .cmp th, .ty-cmp .cmp td { display: block; width: auto; }
  .ty-cmp .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ty-cmp .cmp tr { padding: 12px 0; border-bottom: 1px solid var(--hair); }
  .ty-cmp .cmp th[scope="row"] { padding: 0 0 6px; border: 0; font-weight: 600; }
  .ty-cmp .cmp td { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 3px 0; border: 0; font-size: 15px; }
  .ty-cmp .cmp td::before { content: attr(data-label); color: var(--ink-2); }
}
/* N4 (final recheck 2026-12-02): a phone's pinned preview while a word is typed: the picture last, the rows above it scrolled
   out of sight by builder.js (a negative top), so only the picture stays pinned and the page does not jump */
@media (max-width: 899.98px) and (min-height: 501px) {
  .bd-stage.is-typing > .bd-view { order: 9; }
}
/* The splash logo in the header (Aaron 2026-12-02; img/logo-splash-header.svg, 1173 x 433): about 168 px wide on a
   computer, 150 px on a phone, so "TuttoPrint Design" stays readable among its paint splashes. Header only. */
.hdr-bar { grid-template-rows: 90px auto; }
.hdr .logo { padding: 6px 0 0; }
.hdr .logo img.logo-splash, .bd-home img.logo-splash { display: block; width: 210px; max-width: 100%; height: auto; }   /* 78 px tall */
.bd-home { padding: 4px 0; }
@media (max-width: 1024.98px) {
  .hdr-bar { grid-template-rows: 62px; }
  .hdr .logo { padding: 0; }
  .hdr .logo img.logo-splash, .bd-home img.logo-splash { width: 150px; }   /* 55 px tall; narrower on a 320 px phone, never squashed */
}

/* the logo designer's "I checked my logo" box: the size and colour of the builder's (customer walk 2026-12-03) */
.ld .bd-chk { display: flex; align-items: center; gap: 0.7rem; min-height: 48px; padding: 0.4rem 0.9rem; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--card); font-weight: 600; cursor: pointer; }
.ld .bd-chk input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin: 0; }

/* a van or storefront while arranging: its preview in the box the paper kinds give their 3D (customer walk 2026-12-03) */
.bd-cvlive { display: block; width: 100%; height: 100%; object-fit: contain; }
/* phones: the logo box grew 16 px past the screen once a logo was in it (two pictures, the file's facts and three links in
   one row): the links take their own row */
@media (max-width: 899.98px) {
  .bd-logo.has { flex-wrap: wrap; }
  .bd-logo.has .meta { flex: 1 1 8rem; }
  .bd-logo.has .acts { flex: 1 1 100%; margin-left: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
}

/* the logo designer: the Front / Back switch above the model, and the price in sight (2026-12-03) */
.ld-views { justify-self: center; margin: 0 auto 0.6rem; width: max-content; display: flex; }
.ld-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 17, 15, 0.1); font-weight: 700; font-variant-numeric: tabular-nums; transition: transform 0.2s; }
.ld-bar[hidden] { display: none; }
.ld-bar.is-off { transform: translateY(110%); visibility: hidden; }
@media (max-width: 599.98px) { .ld-bar { justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .ld-bar { transition: none; } }
@media (min-width: 900px) { #ld-mock.is-worn { width: auto; max-width: 100%; max-height: calc(100vh - 190px); aspect-ratio: 1; margin-inline: auto; display: block; } #ld-mock.is-worn[hidden] { display: none; } }
/* the title sits at the top of the controls' column, so the picture starts level with it and the whole model is in sight on a
   laptop; on a phone the title comes first, then the picture, then the controls, as before */
.ld-form .ld-head { padding: 20px 0 16px; }
.ld-grid > .ld-view { margin-top: 20px; }
@media (max-width: 899.98px) { .ld-grid { row-gap: 0; } .ld-form { display: contents; } .ld-form .ld-head { order: -2; padding-bottom: 8px; } .ld-grid > .ld-view { margin: 0 calc(-1 * var(--gutter)) 16px; padding-inline: var(--gutter); } }
@media (min-width: 900px) { .ld-form .ld-head h1 { font-size: 30px; } }

/* the wraps designer's order bar: the vehicle's typical price (2026-12-03) */
.bd-cvp { margin: 0; flex: none; line-height: 1.25; } .bd-cvp b { display: block; font-size: 1rem; } .bd-cvp span { font-size: var(--t-xs); color: var(--ink-2); }
@media (max-width: 759px) { .bd-buy .bd-cvp { order: 2; text-align: right; } .bd-buy .bd-cvp b { font-size: 0.85rem; } }

/* ---------- the four main lines (Aaron 2026-12-03): Signs & Banners, Vehicle Wraps and Apparel first in the menu,
   and the Apparel and Vehicle Wraps pages (/c/apparel.html, /c/wraps.html). Existing modules; only what they lacked. ---------- */
.g-apparel { --g: var(--c-merch); --g-wash: var(--c-merch-wash); --g-deep: var(--c-merch-deep); }
.g-wraps { --g: var(--c-big); --g-wash: var(--c-big-wash); --g-deep: var(--c-big-deep); }
/* eleven tabs in one row: a little less air between them where the row is narrower than 1176 px */
@media (min-width: 1200px) and (max-width: 1279.98px) { .mm-top { padding: 6px 7px 6px 6px; } .mm-top::after { left: 6px; right: 7px; } }
/* the Signs & Banners menu: one column a shelf, however many shelves it has (five since wraps have their own tab) */
@media (min-width: 1025px) { .mm-wide .mm-cols { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
/* The home hero's picture (hero/signs, 1536 x 1024): no sign, flag or lettering under the panel or cut by the frame, and the
   van's phone line readable (Aaron 2026-12-03). Its box has a shape of its own (3:2 as the picture, 4:3 where the page is
   narrower, so the picture gets more height) and ends above the yellow strip instead of running under it; the text column
   is half the page, and the two buttons sit side by side so the words never make the box taller. The picture is drawn
   larger about its middle (build.py HOME_HERO_POS and HOME_HERO_ZOOM say how much, and what stays in sight). On a phone
   the box was 1.83:1, which cut the top and the bottom. */
.hs.has-torn .hs-fig { margin-bottom: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.hs.has-torn .hs-fig img { transform: scale(var(--hs-zoom, 1)); transform-origin: var(--hs-pos, 50% 50%); }
/* the 48 px fade into the panel sits on the box here, not on the enlarged picture (whose own edge is out of sight) */
@media (min-width: 900px) {
  .hs.has-torn .hs-fig { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px); mask-image: linear-gradient(90deg, transparent 0, #000 48px); }
  .hs.has-torn .hs-fig img { -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 641px) and (max-width: 899.98px) { .hs.has-torn .hs-fig img { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 640.98px), (min-width: 900px) and (max-width: 1279.98px) { .hs.has-torn .hs-fig { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) {
  .hs.has-torn { --hs-w: 50%; grid-template-rows: minmax(24px, 1fr) auto auto minmax(24px, 1fr); min-height: 0; }
  .hs.has-torn .hs-btns { flex-direction: row; flex-wrap: wrap; }
}
/* between a phone and a small laptop the words would be far taller than a half-width picture: the phone's order instead
   (title, the whole picture, the words), so nothing is cut there either */
@media (min-width: 641px) and (max-width: 899.98px) {
  .hs.has-torn { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; background: #fff; color: var(--ink); }
  .hs.has-torn .hs-h { grid-row: 1; padding: 24px var(--gutter) 18px; max-width: none; color: var(--ink); text-align: center; }
  .hs.has-torn .hs-fig { grid-column: 1; grid-row: 2; }
  .hs.has-torn .hs-rest { grid-row: 3; padding: 18px var(--gutter) 28px; max-width: none; text-align: center; }
  .hs.has-torn .hs-lead, .hs.has-torn .hs-kicker { color: var(--ink); }
  .hs.has-torn .hs-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hs.has-torn .hs-btns .btn:first-child { background: var(--btn); color: #fff; border-color: var(--btn); }
  .hs.has-torn .hs-btns .btn + .btn { border-color: var(--btn-line); }
}
/* Pick your vehicle: the designer's vehicles in white, 3:2 as photographed, in rows by kind */
.rk-veh .rk-fig { aspect-ratio: 3 / 2; background: #ebe6e3; }
.rk-veh .rk-p { margin-top: 2px; color: var(--ink-2); }
.veh-h { margin: 40px 0 16px; font: 500 22px/1.2 var(--display); text-align: center; }
.veh-rows > .veh-h:first-child { margin-top: 0; }
.rk-veh.rk-noimg { align-self: stretch; background: #fff; }
/* Trucks and pickups: plain tiles of one height a row */
.trucks > .rk-noimg { align-self: stretch; }
.trucks .rk-b, .rk-veh.rk-noimg .rk-b { padding: 0; }
@media (max-width: 640.98px) { .veh-h { text-align: left; margin-top: 28px; } }
.under-row { flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; font: 500 18px/1.3 var(--display); text-align: center; }
/* price tables side by side: two a row on a computer, one on a phone */
.main-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; align-items: start; }
.main-prices h3 { font: 500 20px/1.2 var(--display); }
.main-prices .cmp td { white-space: nowrap; }
.main-prices .cmp tbody th { min-width: 0; }
.main-prices h3 a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.main-prices h3 a:hover { color: var(--link); }
.main-prices + .q-reply, .q-grid .q-table h3 + .table-wrap { margin-top: 20px; }
.q-grid .q-table h3 { font: 500 20px/1.2 var(--display); }
.main-fine { margin-top: 28px; display: grid; gap: 6px; max-width: 760px; }
.main-btns { gap: 10px; }
@media (max-width: 900px) { .main-prices { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640.98px) { .main-btns .btn, .under-row .btn { min-height: 44px; } .main-btns .btn { flex: 1 1 100%; } }
/* the home page's four main lines: two a row on a phone, so all four show without a long scroll (the yellow strip is hidden there) */
@media (max-width: 640.98px) {
  .g4.main-lines { gap: 20px 16px; }
  .g4.main-lines > * { flex-basis: calc((100% - 16px) / 2); }
  .main-lines .rk-b { padding: 12px 0 4px; }
  .main-lines .rk-p { display: none; }
  .main-lines .rk .cta { padding-top: 8px; min-height: 44px; display: inline-flex; align-items: center; }
}

/* Every hero shows its whole picture (Aaron 2026-12-03: "make sure that the images are fully visible so that customer can
   see our work"). A hero photo is never cropped and never drawn larger: it keeps its own shape (build.py --hs-ar), sits
   against the right edge, and the panel's own colour fills whatever its box has left. On a phone the box takes the
   picture's shape, so a square photo is a square. */
.hs .hs-fig img, .hs.has-torn .hs-fig img { object-fit: contain; object-position: 100% 50%; transform: none; }
.hs.has-torn .hs-fig { aspect-ratio: var(--hs-ar, 1.5); }
@media (min-width: 900px) and (max-width: 1279.98px) { .hs.has-torn .hs-fig { aspect-ratio: var(--hs-ar, 1.5); } }
@media (max-width: 640.98px) {
  .hs .hs-fig, .hs.has-torn .hs-fig { aspect-ratio: var(--hs-ar, 1.5); background: transparent; }
  .hs .hs-fig img, .hs.has-torn .hs-fig img { object-position: 50% 50%; }
}

/* ---- PAGES helper, night of 2026-12-03 (night plan items 5, 10, 12) ----
   A page for every sub-group (/c/<group>/<sub>.html, build.py build_sub): its head, its tiles, the row of sister shelves.
   On the group pages each shelf's heading links to that page, with a "See all" line under it. */
.head-sub { padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem); }
.head-sub h1 { max-width: 22ch; }
.head-sub .sub-btns { margin-top: 1.5rem; }
.sub-list { padding-top: 8px; }
.sub-sisters { justify-content: center; flex-wrap: wrap; overflow: visible; padding-block: 0; }
.sub-sisters .pill { min-height: 44px; background: #fff; }
.band:has(> .wrap > .sub-sisters) .mh { margin-bottom: 20px; }
.mh .mh-link { color: inherit; text-decoration: none; }
.mh .mh-link:hover { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
.mh .mh-all { margin-top: 10px; }
.mh .mh-all .cta { min-height: 44px; display: inline-flex; align-items: center; }
/* the phone menu: a shelf's name is a link to the shelf's page (same small capitals, a 44 px row) */
.sh-sub .sh-h > a { display: flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.sh-sub .sh-h:has(> a) { padding: 4px 0 0; }
/* Vehicle Wraps: the pickup jobs with no page of their own, one line under Pick your vehicle */
.veh-jobs { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.veh-jobs a { color: var(--link); text-underline-offset: 0.2em; }
@media (max-width: 640.98px) { .veh-jobs { text-align: left; } .veh-jobs a { display: inline-block; padding-block: 10px; } }

/* TOOLS, 2026-12-03 (night plan item 7, "Bring your own design"): the file's size under its name; a garment's own photo
   wearing the file, over the gallery's first picture and in the file check (app.js onPhoto). */
.fc-meta { margin-top: -0.35rem; color: var(--ink-2); font-size: var(--t-xs); }
.fc-visual canvas.fc-mock { width: 200px; max-width: 200px; border-radius: 6px; display: block; }
.g-view > .fc-onphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-onphoto-n { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(20, 17, 15, 0.74); color: #fff; font-size: var(--t-xs); line-height: 1.3; pointer-events: none; }
@media (max-width: 599.98px) { .fc-body:has(.fc-mock) { grid-template-columns: minmax(0, 1fr); } .fc-visual canvas.fc-mock { width: 100%; max-width: 340px; } }

/* ---------- Contact: three ways in and the one message form (2026-12-04, MOO's help pattern; no WhatsApp) ---------- */
.ways3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way3 { display: grid; align-content: start; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.way3 h3 { font-size: 20px; line-height: 26px; margin: 0; }
.way3 p { margin: 0; }
.way3-big { font-size: 18px; line-height: 26px; font-weight: 600; overflow-wrap: anywhere; }
.ask-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.ask-form { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-m); background: var(--page); border: 1px solid var(--line); }
.ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.ask-form .field { gap: 6px; }
.ask-msg { min-height: 140px; padding: 12px 16px; resize: vertical; font: inherit; }
.ask-err { margin: 0; color: #a3261b; font-weight: 600; }
.ask-done { padding: 16px 18px; border-radius: var(--r-s); background: var(--band); }
.ask-done h3 { margin: 0 0 4px; font-size: 20px; }
.ask-done p { margin: 0 0 6px; }
@media (max-width: 900px) { .ways3, .ask-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 640.98px) { .ask-grid { grid-template-columns: minmax(0, 1fr); } .ask-form { padding: 20px; } }

/* Cart "send your order": what happens next, as a short checked list */
.ticks { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .45rem; }
.ticks li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .32em; width: .45rem; height: .8rem; border: solid var(--accent, #c8102e); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* MOO's design-guides box under the way chooser (2026-12-04): a tinted panel with the file size, the template, a help line */
.dg { margin-top: 1rem; padding: 1rem 1.1rem; background: #f4f1ec; border-radius: 6px; font-size: var(--t-s, 15px); }
.dg h3 { font: 600 1rem/1.3 var(--sans, inherit); margin: 0 0 .5rem; }
.dg ul { margin: 0 0 .75rem; padding-left: 1.1rem; display: grid; gap: .25rem; }
.dg-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0 0 .6rem; }
.dg-links a:not(.btn) { color: var(--accent-text, var(--accent)); font-weight: 600; }
.dg-links .btn svg { width: 16px; height: 16px; }
.dg-help { margin: 0; color: var(--ink-2, #555); }
.dg-help a { color: inherit; font-weight: 600; }
.dg-plain { background: transparent; padding: .25rem 0 0; }

/* MOO's template gallery as the designer's first screen (builder.js startGallery, 2026-12-04): the layouts full width,
   led by "Upload a full design" and "Start from blank"; everything else waits until a template is picked */
.bd-gal.bd-grid { grid-template-columns: minmax(0, 1fr); }
.bd-gal .bd-stage, .bd-gal .bd-form > :not(#bd-s1), .bd-gal #bd-s1 > legend { display: none; }
.bd-gal .bd-layouts { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.bd-gal .bd-lay .nm { font-size: var(--t-s, 15px); }
.bd-gal-head h2 { font: 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--display); margin: 0 0 .35rem; }
.bd-gal-head > p { margin: 0 0 1rem; color: var(--ink-2); }
.bd-gal-lead { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.bd-gal-t { display: grid; align-content: center; gap: .3rem; min-height: 120px; padding: 1rem; border: 2px dashed var(--line-2); border-radius: var(--r-s, 6px);
  background: #fff; color: var(--ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.bd-gal-t b { font-weight: 600; font-size: 1.05rem; }
.bd-gal-t span { font-size: var(--t-s, 15px); color: var(--ink-2); }
.bd-gal-t:hover { border-color: var(--ink); }
.bd-gal-t:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.is-gal .bd-steps, .is-gal .fe-switch, .is-gal .bd-buy { display: none !important; }
@media (max-width: 560px) { .bd-gal .bd-layouts, .bd-gal-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .bd-gal-t { min-height: 96px; padding: .75rem; } }
/* a guest group's fly-out (Stickers & Labels, Stationery, Postcards inside another tab, 2026-12-04 night): its shelves in two columns */
.mm-l3-shelves li a { padding-top: 4px; padding-bottom: 4px; }
.mm-l3-shelves .mm-strong a { font-weight: 700; color: var(--ink, #111); padding-top: 10px; }
.mm-l3-shelves .mm-strong:first-child a { padding-top: 4px; }
.sh-sub .sh-h3 a { font-weight: 600; padding-left: 4px; }
/* "Start with your logo" leads the gallery (2026-12-04 night) */
.bd-gal-t.bd-gal-logo { cursor: pointer; border-style: solid; border-color: var(--accent); background: var(--accent-wash); }
.bd-gal-lead:has(#bd-gal-logo:focus-visible) .bd-gal-logo { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Added to your cart (Aaron 2026-12-04, fewer buttons): one big "Go to cart", the files as small links under it */
.bd-added-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.1rem; }
.bd-added-acts .btn-primary { flex: 1 1 100%; order: -1; }
.bd-added-acts .btn-text { font-size: var(--t-s); }
#bd-added h3, #bd-added .bd-added-file { display: none; }

/* Speed and smoothness (Aaron 2026-12-04): moving to another page, such as tapping a size or paper, fades across in a blink
   instead of flashing white. Browsers without it (older Safari, Firefox) change page as before; off for reduced motion. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.16s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Real Google reviews on the home page (2026-12-04) */
.gr { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gr-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.gr-stars { display: flex; gap: 2px; }
.gr-stars svg { width: 18px; height: 18px; fill: #f5a623; }
.gr-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.gr-card blockquote p { margin: 0; }
.gr-tr { color: var(--ink-2, #5a5048); font-size: .8rem; }
.gr-who { margin: auto 0 0; display: flex; flex-direction: column; font-size: .9rem; }
.gr-who span { color: var(--ink-2, #5a5048); font-size: .8rem; }
@media (max-width: 640px) { .gr.swipe { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; } .gr.swipe > li { scroll-snap-align: start; } }
/* Aaron 4 Dec: the photo must melt into the text panel, not meet it at a line. The old 48 px fade read as an edge.
   Every split hero (hubs, products, sub-pages) now fades its photo over the first ~40% of its width, eased, into the
   panel colour behind it (the panel colour is taken from the photo's own edge, build.py hero_colour). */
@media (min-width: 641px) {
  .hs { --hs-fade: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 6%, rgba(0,0,0,.2) 13%, rgba(0,0,0,.42) 21%, rgba(0,0,0,.66) 29%, rgba(0,0,0,.86) 36%, #000 44%); }
  .hs .hs-fig, .hs.has-torn .hs-fig { background: transparent; -webkit-mask-image: none; mask-image: none; }
  .hs .hs-fig img, .hs.has-torn .hs-fig img { -webkit-mask-image: var(--hs-fade); mask-image: var(--hs-fade); }
}

/* Aaron 4 Dec ~21:45: "use like a 15%, 10% of fading so we can see the things" and the wraps photo sat in grey bars.
   (1) The fade is now ~12% of the photo's width, not 44%. (2) On tablet and desktop the hero box is often taller than a
   3:2 photo (about 1.3:1 at 1200 px), and "contain" left panel-coloured bars above and below. The photo now fills its
   box ("cover"); what comes off (6% at 1280, 18% at 1024, ~0 at 1440) comes off the LEFT, under the fade, so the right edge stays whole. Phones unchanged (box = photo shape). */
@media (min-width: 641px) {
  .hs { --hs-fade: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 4%, rgba(0,0,0,.72) 8%, #000 12%); }
  .hs .hs-fig img, .hs.has-torn .hs-fig img { object-fit: cover; object-position: 100% 50%; }
}
