@charset "UTF-8";
/* Print-Brick site styles. Components come from the brand sheet (brand/brand-sheet.html);
   keep the two in step. Site layout is at the bottom. */

/* Display: Oxanium ExtraBold (one weight). Mono: Kode Mono. Trial 2026-11-18; the cards still print in JetBrains Mono ExtraBold. */

:root {
  /* lead pair: the business cards */
  --ink: #151514;      /* glitter black PLA */
  --ink-2: #23221f;
  --paper: #eeebe3;    /* white PLA, warm */
  --paper-2: #e2ded3;
  --muted: #5d5a52;
  --muted-on-ink: #a3a097;
  /* filament accents: Bryce's own logo and prints */
  --cobalt: #1a3fb0;   /* blue PLA, the base colour layer */
  --green: #2e7a30;    /* green PLA: action */
  --sage: #93c795;     /* sage PLA, near the top */
  --silver: #b9bdbf;   /* silver PLA: back-art lines */

  --display: "Oxanium", "Hanken Grotesk", sans-serif;
  --mono: "Kode Mono", ui-monospace, monospace;
  --sans: "Hanken Grotesk", -apple-system, "Helvetica Neue", sans-serif;
  --gutter: 16px;
  --max: 1200px;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-x: hidden; }
img, canvas, svg { display: block; max-width: 100%; }

/* ---------- shared bits ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 72px 0; border-top: 2px solid var(--ink); }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ink .label, .label.on-ink { color: var(--muted-on-ink); }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; }
.sec-head h2 { font: 800 clamp(30px, 6vw, 56px)/1 var(--display); letter-spacing: -.02em; }
.sec-head p { max-width: 56ch; color: var(--muted); }
.ink { background: var(--ink); color: var(--paper); }
.ink .sec-head p { color: var(--muted-on-ink); }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.note { font: 400 14px/1.5 var(--sans); color: var(--muted); }
.ink .note { color: var(--muted-on-ink); }


/* ---------- the mark ---------- */
.bars { display: grid; gap: 21%; width: 100%; aspect-ratio: 309 / 216; grid-template-rows: repeat(3, 1fr); }
.bars i { background: currentColor; display: block; }
.bars i:nth-child(1) { width: 100%; }
.bars i:nth-child(2) { width: 88.3%; }
.bars i:nth-child(3) { width: 76.7%; }
.bars.filament i:nth-child(1) { background: var(--sage); }
.bars.filament i:nth-child(2) { background: var(--green); }
.bars.filament i:nth-child(3) { background: var(--cobalt); }

.lockup { display: flex; align-items: center; gap: .45em; font: 800 1em/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.lockup .bars { width: 1.25em; }
/* stacked wordmark: PRINT over BRICK beside the three bars, the bars as tall as both lines */
.lockup { gap: .5em; }
.lockup .wm { display: grid; line-height: .84; letter-spacing: .02em; }
.lockup .wm b { font-weight: 800; }
.lockup .bars { width: 2.3em; }


/* ---------- relief: layers stepping up off the plate ----------
   each 1px step is one layer; the stack reads bottom (far) to top (near) */
.relief-word {
  font: 800 clamp(44px, 12.5vw, 150px)/.95 var(--display); letter-spacing: -.035em; color: var(--paper);
  text-shadow:
    1px 1px 0 var(--sage), 2px 2px 0 var(--sage), 3px 3px 0 var(--sage), 4px 4px 0 var(--sage),
    5px 5px 0 var(--green), 6px 6px 0 var(--green), 7px 7px 0 var(--green), 8px 8px 0 var(--green),
    9px 9px 0 var(--cobalt), 10px 10px 0 var(--cobalt), 11px 11px 0 var(--cobalt), 12px 12px 0 var(--cobalt),
    13px 13px 0 #000;
}
@media (max-width: 719px) {
  .relief-word { font-size: 24vw; text-shadow:
    1px 1px 0 var(--sage), 2px 2px 0 var(--sage), 3px 3px 0 var(--sage),
    4px 4px 0 var(--green), 5px 5px 0 var(--green), 6px 6px 0 var(--green),
    7px 7px 0 var(--cobalt), 8px 8px 0 var(--cobalt), 9px 9px 0 #000; }
}
/* ---------- hero ---------- */
/* one object: title, plate and HUD share edges and stack straight down onto the rail */
.hero { position: relative; min-height: calc(85svh - 64px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; padding: 0; }
/* the hero title is printed into the canvas (hero/build.js); the text stays for layout and screen readers */
.hero .relief-word { color: transparent; text-shadow: none; }   /* letters and contour outline are drawn by assets/build.js */
canvas.build { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.hero-copy { position: relative; align-self: end; width: 100%; padding-top: 64px; display: grid; grid-template-columns: minmax(0, max-content); }
/* the plate's floor and rim are printed into the hero canvas (assets/build.js); this box only places the text */
.plate { padding: 18px 20px 22px; display: grid; gap: 14px; }
.hud { position: relative; background: var(--ink); border-top: 2px solid var(--paper);
  font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.hud-row { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; padding-top: 10px; padding-bottom: 12px; flex-wrap: wrap; }
.from { display: flex; align-items: center; gap: 10px; }
.from img { width: 30px; height: 30px; object-fit: cover; border: 1.5px solid var(--paper); }
.meter { display: flex; gap: 2px; height: 10px; padding: 0; }
.meter i { flex: 1; border-right: 1px solid #000; }
#hud-fil { display: flex; align-items: center; gap: 8px; }
#hud-fil .sw { width: 14px; height: 14px; border: 1.5px solid var(--paper); display: inline-block; }
#hud-fil.swap b { background: var(--paper); color: var(--ink); padding: 2px 5px; margin: -2px 0; }   /* same height as the plain label: the HUD must not grow */
/* phone: the HUD is in the layout, so it keeps the same two rows whatever the filament label says;
   the title is one line sized to span the plate */
@media (max-width: 719px) {
  .hud-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .from { grid-column: 1 / -1; } #hud-layer, #hud-fil { white-space: nowrap; }
  .hero .relief-word br { display: none; }   /* one line, so the photo above it has room */
  .hero .relief-word { font-size: calc((100vw - 2 * var(--gutter)) / 6.3); }
}
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 18px; font: 800 15px/1 var(--display); letter-spacing: .02em;
  background: var(--green); color: var(--paper); border: 2px solid var(--ink); text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn.ghost { background: var(--paper); color: var(--ink); }
.ticket { border: 2px solid var(--ink); background: var(--paper); font: 400 13px/1.5 var(--mono); }
.ticket .t-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1.5px dashed var(--ink); }
.ticket .t-row:last-child { border-bottom: 0; }
.ticket .t-head { background: var(--ink); color: var(--paper); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; }
.status { padding: 2px 7px; border: 1.5px solid currentColor; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.st-print { color: var(--cobalt); } .st-new { color: var(--green); } .st-ship { color: var(--muted); }
.todo { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .08em; background: #ffe58a; color: var(--ink); padding: 4px 6px; border: 1.5px solid var(--ink); }

/* ---------- store kit ---------- */
.kit-block { display: grid; gap: 18px; padding-bottom: 56px; }
.kit-label { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.kit-label i { font-style: normal; }
.kit-label .dots { flex: 1; height: 6px; background-image: radial-gradient(currentColor 1px, transparent 1.2px); background-size: 8px 6px; opacity: .55; }
.todo { white-space: nowrap; }
@media (max-width: 719px) { .todo { white-space: normal; } }

[hidden] { display: none !important; }
#print { background: var(--paper-2); }
#print .drop-in { background: var(--paper); }
.one-photos { position: relative; display: grid; gap: 12px; justify-items: start; }
.one-photos figure { position: relative; margin: 0; }
.one-photos img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); }
.one-photos figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper);
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; }
.price { font: 800 32px/1 var(--display); letter-spacing: -.02em; }
.price small { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }

/* buttons */
.btn-board { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.bb-col { display: grid; gap: 14px; justify-items: start; }
.b2 { --c: var(--green); appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 22px; font: 800 16px/1 var(--display); letter-spacing: .01em; border: 2px solid var(--ink); background: var(--c); color: var(--paper);
  box-shadow: 2px 2px 0 var(--sage), 4px 4px 0 var(--cobalt), 6px 6px 0 var(--ink); }
/* hover = a new layer prints over the button: patches of the next filament appear and grow
   (a noise field under a rising cutoff, like a height map), hard steps. Drawn by .b2 > canvas.layer */
.b2 { position: relative; isolation: isolate; overflow: hidden; }
.b2 > canvas.layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; image-rendering: pixelated; }
.b2-go { --next: var(--cobalt); } .b2-ink { --next: var(--green); } .b2-paper { --next: var(--sage); }
.pp-tabs button { position: relative; isolation: isolate; overflow: hidden; --next: var(--sage); }
.pp-tabs button > canvas.layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; image-rendering: pixelated; }
.b2:active, .b2.is-down { transform: translate(6px, 6px); box-shadow: none; }
.b2:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.b2:disabled { cursor: not-allowed; transform: none; background: var(--paper-2); color: var(--muted); border-style: dashed; box-shadow: none; }
.b2-paper { --c: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.b2-ink { --c: var(--ink); box-shadow: 3px 3px 0 var(--green); }
.ink .b2-paper { box-shadow: 3px 3px 0 var(--sage); }
.b2-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.b2-split { padding: 0; gap: 0; align-items: stretch; }
.b2-split > span { display: grid; place-items: center; padding: 0 20px; }
.b2-price { border-left: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 14px/1 var(--mono); }
.b2-load { gap: 14px; }
.b2-meter { display: flex; gap: 2px; }
.b2-meter i { width: 6px; height: 16px; border: 1.5px solid var(--paper); }
.b2-meter i.on { background: var(--paper); }
.b2-link { gap: .5em; font: 800 16px/1.2 var(--display); color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.b2-link:hover { text-decoration-color: var(--green); color: var(--green); }

/* product page */
.pp { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.pp-view { position: sticky; top: 24px; display: grid; gap: 14px; }
.pp-stage { position: relative; aspect-ratio: 1; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center;
  box-shadow: 2px 2px 0 var(--sage), 4px 4px 0 var(--green), 6px 6px 0 var(--cobalt), 8px 8px 0 #000; }
.pp-stage canvas { width: 84%; height: 84%; }
.pp-scale { position: absolute; bottom: 14px; left: 8%; right: 8%; display: flex; justify-content: center; font: 500 11px/1 var(--mono); letter-spacing: .1em;
  border: 2px solid var(--paper); border-top: 0; height: 18px; align-items: flex-start; padding-top: 0; }
.pp-tabs { display: flex; border: 2px solid var(--ink); width: max-content; }
.pp-tabs button { appearance: none; border: 0; border-right: 2px solid var(--ink); background: var(--paper); font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 0 18px; min-height: 44px; cursor: pointer; color: var(--ink); }
.pp-tabs button:last-child { border-right: 0; }
.pp-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.pp-buy { display: grid; gap: 22px; }
.pp-name { font: 800 clamp(40px, 4.4vw, 64px)/.95 var(--display); letter-spacing: -.035em; }
.pp-desc { font-size: 18px; max-width: 44ch; }
.pp-price { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.opt { border: 0; padding: 0; display: grid; gap: 10px; }
.opt legend { padding: 0; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.hint { font-size: 13px; color: var(--muted); }
input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
input:checked + span { background: var(--ink); color: var(--paper); }
.drop { position: relative; display: block; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-in, .drop-picked { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; border: 2px dashed var(--ink); background: var(--paper-2); }
.drop:hover .drop-in { background: var(--paper); border-style: solid; }
.drop-icon { display: grid; gap: 3px; width: 40px; }
.drop-icon i { height: 7px; background: var(--ink); }
.drop-icon i:nth-child(1) { width: 52%; background: var(--sage); } .drop-icon i:nth-child(2) { width: 76%; background: var(--green); } .drop-icon i:nth-child(3) { background: var(--cobalt); }
.drop-picked { border-style: solid; background: var(--paper); }
.drop-picked img { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--ink); }
.drop-picked .b2 { margin-left: auto; position: relative; z-index: 2; pointer-events: none; }
.tips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tips li::before { content: "✓ "; color: var(--green); }
.pp-cta { width: 100%; min-height: 60px; font-size: 18px; }
.pp-cta > span:first-of-type { flex: 1; }
.promise { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.promise b { font: 800 13px/1 var(--display); margin-right: 10px; color: var(--green); }

/* order ticket */
.receipt { background: var(--paper); border: 2px solid var(--ink); border-bottom-style: dashed; padding: 18px; display: grid; gap: 14px; box-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--ink); }
.rc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.rc-head .lockup { font-size: 16px; }
.rc-line { --thumb: 112px; display: grid; grid-template-columns: var(--thumb) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1.5px dashed var(--ink); }
.rc-line canvas, .rc-photo { width: var(--thumb); height: var(--thumb); object-fit: cover; display: block; background: var(--ink); border: 2px solid var(--ink); }
.rc-line b { font: 800 17px/1.1 var(--display); }
.rc-row { display: flex; justify-content: space-between; font: 500 14px/1 var(--mono); }
.rc-total { font-weight: 800; font-size: 16px; padding-top: 10px; border-top: 2px solid var(--ink); }
@media (max-width: 1023px) { .pp { grid-template-columns: 1fr; } .pp-view { position: static; } }
/* ---------- from the printer ---------- */
.m-row { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 1023px) { .m-row { grid-template-columns: 1fr; } }
.m-why { font-size: 15px; color: var(--muted); } .m-why b { color: var(--ink); font-weight: 600; }
.purge-tray { height: 200px; border: 2px solid var(--ink); cursor: pointer; position: relative; }
.purge-tray canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.cal-nav { display: flex; gap: 28px; flex-wrap: wrap; padding: 22px; border: 2px solid var(--ink); background: var(--paper); }
.cal { position: relative; font: 800 20px/1 var(--display); color: var(--ink); text-decoration: none; padding: 8px 0 14px; }
.cal::after { content: ""; position: absolute; left: 0; bottom: 0; height: 8px; width: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 7 L3 1 L6 7 L9 1 L12 7' fill='none' stroke='%232e7a30' stroke-width='2' stroke-linejoin='bevel'/%3E%3C/svg%3E") left bottom / 12px 8px repeat-x; }
.cal:hover::after, .cal:focus-visible::after { animation: cal-draw .36s steps(9, jump-end) forwards; }
.cal.is-on::after { width: 100%; animation: none; }
@keyframes cal-draw { to { width: 100%; } }
.tower-demo { display: flex; gap: 28px; align-items: flex-end; padding: 22px; border: 2px solid var(--ink); background: var(--paper); }
.tower { width: 56px; height: 220px; border: 2px solid var(--ink); position: relative; background: var(--paper-2); }
.tower i { position: absolute; left: 0; right: 0; bottom: 0; }
.tower-steps { list-style: none; padding: 0; display: grid; gap: 10px; font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tower-steps li::before { content: "○ "; } .tower-steps .done { color: var(--ink); } .tower-steps .done::before { content: "● "; color: var(--green); }
.tower-steps .now { color: var(--ink); font-weight: 600; } .tower-steps .now::before { content: "◐ "; color: var(--cobalt); }
.plate-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plate-zoom { height: 180px; border: 2px solid var(--ink); }
.gcode { background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 18px 20px; display: grid; gap: 8px; font: 400 14px/1.4 var(--mono); }
.gcode span { color: var(--sage); font-weight: 500; display: inline-block; min-width: 9ch; }
.spag { position: relative; height: 300px; border: 2px solid var(--ink); overflow: hidden; }
.spag canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spag-copy { position: absolute; left: 22px; bottom: 22px; display: grid; gap: 8px; justify-items: start; background: var(--ink); color: var(--paper); border: 2px solid var(--paper); padding: 14px 16px; }
.spag-copy b { font: 800 56px/1 var(--display); letter-spacing: -.03em; }
.brim-row { display: flex; gap: 34px; padding: 22px; }
.brim-card { position: relative; width: 200px; aspect-ratio: 1; background: var(--ink); border: 2px solid var(--ink); display: block; }
.brim-card canvas { width: 100%; height: 100%; }
.brim-card::after { content: ""; position: absolute; inset: -10px; border: 2px solid var(--green); clip-path: inset(0 100% 0 0); pointer-events: none; }
.brim-card:hover::after, .brim-card:focus-visible::after { animation: brim .36s steps(8, jump-end) forwards; }
@keyframes brim { to { clip-path: inset(0 0 0 0); } }

/* =====================================================================
   SITE
   ===================================================================== */
html { scroll-behavior: auto; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { display: block; flex: 1; }
a.b2 { text-decoration: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.ink :focus-visible { outline-color: var(--sage); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--paper); color: var(--ink); padding: 10px 14px; border: 2px solid var(--ink); }
.skip:focus { left: 8px; }
@media (min-width: 1024px) { :root { --gutter: 40px; } }
.wrap { max-width: none; }
section { border-top: 2px solid var(--ink); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 2px solid var(--paper); color: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.site-header .brand { text-decoration: none; color: var(--paper); font-size: 23px; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; }
.site-header .cal, .site-footer .cal { color: var(--paper); font-size: 15px; padding: 10px 0 12px; }
.site-header .b2 { flex: none; }
.hd-short { display: none; }
@media (max-width: 719px) { .site-header .wrap { gap: 12px; } .hd-long { display: none; } .hd-short { display: inline; } }
.cart-link { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--paper); text-decoration: none; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.cart-link b { min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border: 2px solid var(--paper); font-weight: 500; }
.cart-link.has b { background: var(--green); border-color: var(--green); color: var(--paper); }
.cart-link:hover span, .cart-link.is-on span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 899px) { .site-header nav { display: none; } .site-header .b2 { margin-left: auto; } }

.hero .plate .actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* hero buttons are printed into the canvas (assets/build.js), which also sets the label colour; CSS keeps the label and hit area */
.hero .plate .b2 { background: transparent; border-color: transparent; box-shadow: none; }
.hero .plate .b2:active { transform: none; }
.hud .from img { cursor: default; }
@media (min-width: 1024px) {
  .hud .from img { position: absolute; right: var(--gutter); bottom: 100%; width: 200px; height: 200px; border: 0; }   /* its frame is printed into the hero (assets/build.js) */
  .hud .from::before { content: "From this photo"; position: absolute; right: var(--gutter); bottom: calc(100% + 200px + 2 * var(--cell, 3px)); background: var(--ink); border: 2px solid var(--paper); padding: 6px 8px; }
  .hero .relief-word { font-size: clamp(110px, 11vw, 168px); }
}

/* sections */
.sec { padding: 96px 0; }
.sec-head { margin-bottom: 44px; }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: end; }
.sec-head h2, .h2 { font: 800 clamp(36px, 4.4vw, 68px)/.98 var(--display); letter-spacing: -.035em; }
.h2 { margin: 10px 0 18px; }
.lead { font: 400 clamp(17px, 1.4vw, 20px)/1.55 var(--sans); max-width: 52ch; }
.ink .lead { color: var(--paper); }
@media (max-width: 899px) { .sec { padding: 64px 0; } .sec-head.split { grid-template-columns: 1fr; gap: 16px; } }
[data-purge] > canvas.purge { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }

/* how it works (home): the photo and the print it became, big, with the three steps as plain text */
.how { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.how h2 { font: 800 clamp(36px, 4.4vw, 68px)/.98 var(--display); letter-spacing: -.035em; margin-bottom: 18px; }
.pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px; align-items: end; }
.pair figure { margin: 0; display: grid; gap: 8px; }
.pair .shot { position: relative; aspect-ratio: 4 / 5; background: var(--ink); border: 2px solid var(--ink); }
.pair .shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pair figcaption { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.how-list { list-style: none; padding: 0; margin-top: 32px; border-top: 2px solid var(--ink); }
.how-list li { padding: 18px 0; border-bottom: 1.5px dashed var(--ink); display: grid; gap: 4px; }
.how-list b { font: 600 20px/1.25 var(--sans); }
.how-list p { color: var(--muted); }
@media (max-width: 899px) { .how { grid-template-columns: 1fr; gap: 28px; } }
/* steps (HueLite page) */
@media (min-width: 1024px) { .steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); }
.step { display: grid; grid-template-rows: auto 1fr; border-right: 2px solid var(--ink); background: var(--paper); }
.step:last-child { border-right: 0; }
.step-shot { position: relative; aspect-ratio: 4 / 3; background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--ink); }
.step-shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-body { position: relative; z-index: 4; background: var(--paper); padding: 22px 22px 26px; display: grid; gap: 8px; align-content: start; }
.step-body h3 { font: 800 26px/1.05 var(--display); letter-spacing: -.02em; }
.step-body p { color: var(--muted); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 2px solid var(--ink); } .step:last-child { border-bottom: 0; } }

/* samples wall: brim on hover */
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 118px; gap: 26px;
  grid-template-areas: "a a a a a b b b b c c c" "a a a a a b b b b c c c" "a a a a a b b b b c c c"
                       "a a a a a e e e e d d d" "f f f f f e e e e d d d" "f f f f f e e e e d d d"; }
.wall figure { margin: 0; position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.wall .w-a { grid-area: a; } .wall .w-b { grid-area: b; } .wall .w-c { grid-area: c; } .wall .w-d { grid-area: d; } .wall .w-e { grid-area: e; } .wall .w-f { grid-area: f; }
.wall .shot { position: relative; background: var(--ink); border: 2px solid var(--ink); min-height: 0; }
.wall .shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.wall .shot::after { content: ""; position: absolute; inset: -10px; border: 2px solid var(--green); clip-path: inset(0 100% 0 0); pointer-events: none; }
.wall figure:hover .shot::after { animation: brim .36s steps(8, jump-end) forwards; }
.wall .swap { position: absolute; right: 10px; bottom: 10px; z-index: 2; }
.ink .wall figcaption { color: var(--paper); }
@media (min-width: 720px) and (max-width: 899px) { .wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 18px; grid-template-areas: "a a" "a a" "b c" "d e" "f f"; } }

/* HueLite teaser */
.hl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hl-stack { display: grid; gap: 0; border: 2px solid var(--ink); }
.hl-stack div { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 2px solid var(--ink); font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hl-stack div:last-child { border-bottom: 0; }
.ink .hl-stack, .ink .hl-stack div { border-color: var(--paper); }
.hl-stack i { width: 64px; height: 14px; display: inline-block; }
@media (max-width: 899px) { .hl { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font: 800 clamp(18px, 1.6vw, 24px)/1.2 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 24px/1 var(--display); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 24px; max-width: 70ch; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }

/* closing CTA */
.cta-band { position: relative; min-height: 380px; display: grid; align-items: center; overflow: hidden; }
.cta-band .wrap { width: 100%; position: relative; display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.cta-faq { flex-basis: 100%; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.cta-faq a { color: var(--paper); }
.cta-band h2 { font: 800 clamp(44px, 6.4vw, 104px)/1.02 var(--display); letter-spacing: -.04em; color: var(--paper); }

/* footer */
.site-footer { color: var(--paper); border-top: 2px solid var(--paper); padding-bottom: 28px; }
/* the bed: a playground printed by pb.js bedPlay(); contour lines underneath are drawTopo */
.bed { position: relative; height: 260px; border-bottom: 2px solid var(--paper); display: grid; grid-template-rows: 1fr auto; user-select: none; }
.bed canvas { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 41px); image-rendering: pixelated; }
.bed-print { cursor: crosshair; touch-action: pan-y; }
.bed-hud { grid-row: 2; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 41px; border-top: 2px solid var(--paper);
  font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-ink); }
.bed-clear { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--paper); background: none; border: 0; padding: 12px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 719px) { .bed { height: 200px; } .bed:not(.printed) .bed-layer, .bed.printed .bed-hud > :first-child { display: none; } }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; padding-top: 28px; padding-bottom: 36px; }
.foot-brand .lockup { font-size: 28px; margin-bottom: 14px; }
.foot-brand p { color: var(--muted-on-ink); max-width: 36ch; }
.site-footer nav { display: grid; gap: 4px; align-content: start; justify-items: start; }
.foot-contact { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot-contact a { color: var(--paper); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1.5px solid #3a3934; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr; } }

/* page head (inner pages) */
.page-head { padding: 56px 0 40px; border-top: 0; }
.page-head h1 { font: 800 clamp(44px, 6vw, 96px)/.92 var(--display); letter-spacing: -.04em; }
.crumbs { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: inherit; }

/* order page */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea { font: 400 16px/1.4 var(--sans); padding: 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin-top: 1px; }
.empty { border: 2px dashed var(--ink); padding: 40px 24px; display: grid; gap: 14px; justify-items: start; position: relative; min-height: 240px; overflow: hidden; }
.empty > * { position: relative; }
.rc-blank { width: var(--thumb); height: var(--thumb); display: grid; place-items: center; background: var(--ink); color: var(--paper-2); border: 2px dashed var(--muted); }
.rc-blank .bars { width: 26px; }
.rc-line .rm { background: none; border: 0; font: 500 12px/1 var(--mono); text-decoration: underline; cursor: pointer; color: var(--muted); padding: 8px 0; }
@media (max-width: 899px) { .order-grid { grid-template-columns: 1fr; } }
/* Stand-ins for Stripe's Address and Payment Elements. The real ones are styled through Stripe's
   Appearance API to match .field (ink 2px border, square corners, Hanken Grotesk). */
.field label, .flab { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.se { display: grid; gap: 18px; }
.se-test { justify-self: start; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 6px 8px; }
.se-group { display: grid; gap: 8px; }
.se-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.se-box { font: 400 16px/1.4 var(--sans); padding: 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--muted); cursor: not-allowed; }
@media (min-width: 900px) { .order-grid > :first-child { position: sticky; top: 88px; } } /* ticket stays in view beside the long checkout */

/* track page */
.track { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: end; border: 2px solid var(--ink); padding: 36px; background: var(--paper); }
.track .tower { width: 84px; height: 360px; }
.track .tower-steps { font-size: 15px; gap: 16px; }
.track-meta { display: grid; gap: 18px; min-width: 0; }
.track-meta > * { min-width: 0; overflow-wrap: anywhere; }
.track-meta h2 { font: 800 clamp(32px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.03em; }
.gline { font: 400 14px/1.4 var(--mono); background: var(--ink); color: var(--paper); padding: 10px 14px; display: inline-block; }
.gline span { color: var(--sage); margin-right: 10px; }

/* 404 */
.nf { position: relative; min-height: calc(100svh - 64px); display: grid; align-items: end; overflow: hidden; border-top: 0; }
.nf .spag-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf .wrap { width: 100%; }
.nf .card404 { position: relative; margin: 0 0 56px; background: var(--ink); color: var(--paper); border: 2px solid var(--paper); padding: 26px 28px; display: grid; gap: 12px; justify-items: start; max-width: 520px;
  box-shadow: 2px 2px 0 var(--sage), 4px 4px 0 var(--green), 6px 6px 0 var(--cobalt), 8px 8px 0 #000; }
.nf .card404 b { font: 800 clamp(80px, 10vw, 140px)/.9 var(--display); letter-spacing: -.05em; }

/* prose pages (HueLite, release) */
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { font: 800 28px/1.1 var(--display); margin-top: 22px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }

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

/* ---------- phone (under 720): one screen per idea, swipe rails instead of long stacks ---------- */
@media (max-width: 719px) {
  :root { --gutter: 16px; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 26px; }
  .pp-stage canvas { width: 78%; height: 78%; translate: 0 -4%; }   /* room under it for the scale bar */
  .hero .actions .b2 { min-height: 48px; padding: 0 16px; font-size: 15px; }
  .hero .plate .actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .hero .plate { padding: 16px 14px 18px; }
  .hero .plate .b2 { padding: 0 10px; gap: 6px; font-size: 13px; white-space: nowrap; }
  .rail-hint { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
  .ink .rail-hint { color: var(--muted-on-ink); }
  /* samples: a swipe rail */
  .wall { display: grid; grid-auto-flow: column; grid-template-areas: none; grid-template-columns: none; grid-auto-rows: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 14px; scrollbar-width: none; gap: 14px; }
  .wall { grid-auto-columns: 84%; }
  .wall::-webkit-scrollbar { display: none; }
  .wall > * { scroll-snap-align: start; grid-area: auto !important; }
  .wall .shot { aspect-ratio: 4 / 5; }
  .wall figcaption span + span { display: none; }
  .hl-stack div { padding: 12px; font-size: 11px; } .hl-stack i { width: 40px; }
  .cta-band { min-height: 300px; }
  .foot-grid { gap: 26px; }
  .site-footer nav { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .track { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 18px; }
  .track .tower { width: 52px; height: 280px; }
  .track .tower-steps { font-size: 12px; gap: 10px; }
  .track { grid-template-columns: minmax(0, 1fr); }
  .track-meta h2 { font-size: 28px; }
  .track .tower { width: 100%; height: 40px; order: 2; }
  .track .tower i { top: 0; bottom: 0; left: 0; right: auto; height: 100% !important; }
  .track-meta { min-width: 0; } .track-meta .gline { display: block; white-space: normal; }
  .gline { font-size: 12px; }
  .page-head { padding: 36px 0 26px; }
  .rc-line { --thumb: 84px; }
}
@media (min-width: 720px) { .rail-hint { display: none; } }
.empty-purge { position: absolute; right: 0; bottom: 0; width: 45%; height: 50%; pointer-events: none; }

/* ---------- tablet portrait (720-1023): follows the desktop layout, tightened ---------- */
@media (min-width: 720px) and (max-width: 1023px) {
  :root { --gutter: 28px; }
  .sec { padding: 72px 0; }
  .sec-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2n) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .step { border-right: 2px solid var(--ink); border-bottom: 0; } .step:last-child { border-right: 0; }
  .step-body { padding: 16px; } .step-body h3 { font-size: 20px; }
  .how { grid-template-columns: 1fr; gap: 32px; }
  .hl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .faq-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 32px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } .pp-view { position: sticky; top: 80px; }
  .site-header nav { display: flex; gap: 18px; } .site-header .cal { font-size: 13px; } .site-header .b2 { display: none; }
}
