/* FluxCore3D — from the logo: a chamfered hex in molten orange, brushed steel and graphite.
   Corners are cut, not rounded; orange is the hot metal, silver is the type. */

@font-face { font-family: "Schibsted"; src: url("../fonts/schibsted.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakra-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url("../fonts/jbmono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #0d0d0f;
  --bg-2: #121215;
  --panel: #18191c;
  --panel-2: #212328;
  --line: #2a2c31;
  --line-2: #3b3e45;
  --text: #eceef1;
  --text-2: #b4b8bf;
  --text-3: #868b94;
  --accent: #ff7a12;
  --accent-2: #ffa040;
  --accent-deep: #c4500a;
  --accent-ink: #1a0a02;
  --molten: linear-gradient(180deg, #ffb24d 0%, #ff8a1c 38%, #ff7a12 55%, #d9560b 100%);
  --steel: linear-gradient(180deg, #ffffff 0%, #e4e7eb 42%, #a9afb7 60%, #e9ecef 100%);
  --display: "Chakra Petch", "Schibsted", system-ui, sans-serif;
  --cut: 12px;
  --ok: #4fd18b;
  --warn: #f2c14e;
  --bad: #ef5b5b;
  --radius: 3px;
  --wrap: 1180px;
  --sans: "Schibsted", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JB Mono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--text-3); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------------ mark */
.mark { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 8px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: 650 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); color: var(--text); border-color: var(--text-3); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-wide { width: 100%; padding: 1em; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }
.more { font-weight: 600; text-decoration: none; color: var(--accent-2); }
.more:hover { color: var(--text); }

/* ------------------------------------------------------------------ header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(16, 17, 20, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem); max-width: 15ch; }
.lede { font-size: 1.16rem; color: var(--text-2); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, max-content); margin: 2.2em 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 28px 0; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font: 500 .8rem/1.4 var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 4px 0 0; font-weight: 650; }

/* ------------------------------------------------------------------ workshop board */
.workshop { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .8); }
.workshop h2 { font-size: 1rem; font-family: var(--mono); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.workshop h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(79, 209, 139, .15); }
.workshop .more { display: inline-block; margin-top: 12px; font-size: .95rem; }
.workshop-full { padding: 26px; }
.board { list-style: none; margin: 0; padding: 0; }
.pr {
  display: grid; grid-template-columns: 14px 1fr auto; grid-template-areas: "dot name state" ". meta meta" ". bar bar";
  align-items: center; column-gap: 12px; padding: 13px 0; border-top: 1px solid var(--line);
}
.pr:first-child { border-top: 0; }
.dot { grid-area: dot; width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.pr-busy .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 19, .16); animation: pulse 2.4s ease-in-out infinite; }
.pr-idle .dot { background: var(--ok); }
.pr-off .dot { background: var(--line-2); }
.pr-name { grid-area: name; font-weight: 650; display: flex; flex-direction: column; min-width: 0; }
.pr-name small { font-weight: 400; color: var(--text-3); font-size: .85rem; }
.pr-state { grid-area: state; font: 600 .82rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 9px; border-radius: 5px; background: var(--panel-2); color: var(--text-2); }
.pr-busy .pr-state { color: var(--accent-2); background: rgba(255, 106, 19, .12); }
.pr-idle .pr-state { color: var(--ok); background: rgba(79, 209, 139, .1); }
.pr-meta { grid-area: meta; font: 400 .85rem/1.6 var(--mono); color: var(--text-3); margin-top: 4px; }
.pr-bar { grid-area: bar; appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border: 0; border-radius: 3px; background: var(--panel-2); overflow: hidden; margin-top: 6px; color: var(--accent); }
.pr-bar::-webkit-progress-bar { background: var(--panel-2); border-radius: 3px; }
.pr-bar::-webkit-progress-value { background: repeating-linear-gradient(90deg, var(--accent) 0 6px, var(--accent-2) 6px 8px); border-radius: 3px; }
.pr-bar::-moz-progress-bar { background: repeating-linear-gradient(90deg, var(--accent) 0 6px, var(--accent-2) 6px 8px); border-radius: 3px; }
.board-empty { color: var(--text-2); margin: 8px 0; }
.board-upd { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font: 400 .8rem/1.4 var(--mono); color: var(--text-3); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 106, 19, .04); } }
@media (prefers-reduced-motion: reduce) { .pr-busy .dot { animation: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------------ sections */
.sect { padding: 72px 0; }
.sect-tight { padding: 40px 0 80px; }
.sect-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sect-head h2 { margin: 0; }
.page-head { padding: 56px 0 8px; }
.page-head .lede { margin-bottom: 0; }
.crumbs { font: 500 .85rem/1.4 var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent-2); }
.empty { padding: 36px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--text-2); text-align: center; }

/* ------------------------------------------------------------------ product grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--text); }
.card-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel-2); }
.ph { display: grid; place-items: center; }
.ph .mark { width: 56px; height: 56px; opacity: .45; }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; flex: 1; }
.card-title { font-weight: 650; line-height: 1.3; }
.card-by { color: var(--text-3); font-size: .9rem; }
.card-price { margin-top: auto; padding-top: 8px; font: 600 .95rem/1 var(--mono); color: var(--accent-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ------------------------------------------------------------------ how it works */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; }
.steps p { color: var(--text-2); margin: 0; }

/* ------------------------------------------------------------------ licensed */
.licensed { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.licensed p { color: var(--text-2); max-width: 58ch; }
.designer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.designer-list a { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.designer-list a:hover { border-color: var(--accent); }
.designers { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.designers li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px; scroll-margin-top: 90px; }
.designers li:target { border-color: var(--accent); }
.designers p { color: var(--text-2); }
.actions-inline { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.actions-inline a { font-weight: 600; text-decoration: none; }

/* ------------------------------------------------------------------ product page */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.pd-media { position: sticky; top: 90px; }
.pd-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.pd-thumbs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.credits { list-style: none; margin: 14px 0 0; padding: 0; font-size: .86rem; color: var(--text-3); }
.credits a { color: var(--text-2); }
.note { margin: 12px 0 0; padding: 12px 14px; font-size: .9rem; color: var(--text-2); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.pd-by { color: var(--text-2); margin-top: -.3em; }
.pd-by a { color: var(--text); font-weight: 600; }
.pd-price { font: 650 1.6rem/1 var(--mono); color: var(--accent-2); margin: 18px 0 22px; }
.pd-price-note { color: var(--text-2); font-size: .9rem; max-width: 46ch; margin: -12px 0 20px; }
.prose { color: var(--text-2); }
.prose h2 { color: var(--text); margin-top: 1.6em; font-size: 1.35rem; }
.prose p { max-width: 68ch; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 24px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specs div { padding: 12px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.specs dt { font: 500 .76rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.specs dd { margin: 3px 0 0; font-weight: 600; }
.buy { margin: 26px 0; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 16px; }
.buy-closed p { margin: 0; color: var(--text-2); }
.buy-closed b { color: var(--text); }
.credit-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; }
.credit-card h2 { font-size: 1.1rem; }
.credit-card p { color: var(--text-2); margin-bottom: .5em; }
.credit-card p:last-child { margin: 0; }

/* ------------------------------------------------------------------ forms */
.f { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.f > span { font-weight: 400; color: var(--text-3); font-size: .86rem; }
.f legend { padding: 0; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 13px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 19, .18); }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input[type="file"] { padding: 18px; border-style: dashed; background: var(--bg-2); cursor: pointer; }
input[type="file"]::file-selector-button { font: 600 .92rem var(--sans); background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 14px; margin-right: 14px; cursor: pointer; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text-2); cursor: pointer; }
.radio input, .check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.radio + .radio { margin-top: 6px; }
.fine { font-size: .85rem; color: var(--text-3); margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 13px 16px; border-radius: 8px; background: rgba(239, 91, 91, .1); border: 1px solid rgba(239, 91, 91, .4); color: #ffc9c9; }
.alert.ok { background: rgba(79, 209, 139, .1); border-color: rgba(79, 209, 139, .4); color: #c6f2da; }
.quote-form { display: grid; gap: 18px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 90px; }
.cf-turnstile { min-height: 65px; }
.custom { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.custom-info h2 { font-size: 1.15rem; margin-top: 1.6em; }
.custom-info h2:first-child { margin-top: 0; }
.custom-info p { color: var(--text-2); }
#quote { scroll-margin-top: 90px; }
.ticks { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.ticks li { counter-increment: t; position: relative; padding: 0 0 14px 40px; color: var(--text-2); }
.ticks li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 .82rem var(--mono); color: var(--accent); border: 1px solid var(--accent); }
.rejects { margin: 16px 0 0; padding-left: 1.2em; color: var(--text-2); }

/* ------------------------------------------------------------------ quote / order status */
.track { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.track li { flex: 1 1 90px; padding: 10px 0 0; border-top: 3px solid var(--line-2); font: 500 .78rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); }
.track li.on { border-color: var(--accent); color: var(--text); }
.pay { padding: 26px; background: var(--panel); border: 1px solid var(--accent); border-radius: 14px; margin-bottom: 32px; display: grid; gap: 16px; }
.pay h2 { margin: 0; font-family: var(--mono); font-size: 1.5rem; }
.pay form { display: grid; gap: 16px; }
.files { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.files li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 13px 16px; border-top: 1px solid var(--line); }
.files li:first-child { border-top: 0; }
.files b { font-weight: 600; word-break: break-all; }
.files span { font: 400 .85rem/1.6 var(--mono); color: var(--text-3); }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 0; margin-top: 0; color: var(--text-2); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 36px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 1.1rem; }
.foot-grid p { max-width: 46ch; }
.foot-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 40px; align-content: start; justify-content: end; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--accent-2); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line); font: 400 .82rem/1.4 var(--mono); color: var(--text-3); }
.admin-link { margin-left: 18px; color: var(--text-3); text-decoration: none; border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 8px; }
.admin-link:hover { color: var(--accent-2); border-color: var(--accent); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .hero-grid, .licensed, .pd, .custom { grid-template-columns: 1fr; gap: 36px; }
  .pd-media { position: static; }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top-row { justify-content: space-between; }
}
@media (max-width: 1000px) and (min-width: 621px) {
  .nav { display: flex; order: 3; width: 100%; overflow-x: auto; margin: 0 0 8px; }
  .top-row { flex-wrap: wrap; row-gap: 0; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 48px; }
  .sect { padding: 52px 0; }
  .page-head { padding-top: 36px; }
  .facts { grid-template-columns: repeat(3, auto); }
  .facts div { padding: 12px 12px 0; }
  .two { grid-template-columns: 1fr; }
  .quote-form, .buy, .pay { padding: 20px; }
  .designer-list { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: start; }
  .admin-link { margin-left: 10px; }
  /* Mobile nav: a scrollable strip under the brand row. */
  .nav { display: flex; order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; }
  .top-row { flex-wrap: wrap; row-gap: 0; }
  .nav a { white-space: nowrap; padding: 6px 10px; font-size: .92rem; }
}

/* ------------------------------------------------------------------ shop browsing */
.shop-search { display: flex; gap: 10px; max-width: 560px; margin-top: 24px; }
.shop-search input { flex: 1; }
.chips small { font: 500 .78rem var(--mono); color: var(--text-3); margin-left: 4px; }
.chip.is-on small { color: var(--bg); opacity: .7; }
.chips-sub { margin-top: 12px; }
.chips-sub .chip { font-size: .88rem; padding: 5px 12px; border-color: var(--line); }
.shop-count { color: var(--text-3); font-size: .85rem; margin-bottom: 16px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; color: var(--text-2); font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------------ ask about a print */
.ask-product { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--text); text-decoration: none; margin-bottom: 4px; }
.ask-product:hover { border-color: var(--line-2); color: var(--text); }
.ask-img { width: 80px; height: 80px; flex: none; object-fit: cover; border-radius: 8px; background: var(--panel-2); }
.ask-img.ph .mark { width: 36px; height: 36px; opacity: .45; }
.ask-product > span { display: grid; gap: 2px; }
.ask-product .mono { color: var(--accent-2); }
.page-head .ask-product { margin-top: 20px; max-width: 520px; }

/* ------------------------------------------------------------------ filament shelf */
.fil-group { margin-bottom: 28px; }
.fil-group h3 { font-size: 1.05rem; margin-bottom: 12px; }
.fil-group h3 .muted { font: 400 .82rem var(--mono); margin-left: 8px; }
.fil-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.fil { display: grid; grid-template-columns: 26px 1fr auto; grid-template-areas: "sw name left" "sw loaded loaded" ". bar bar"; column-gap: 12px; align-items: center;
       padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.swatch { grid-area: sw; width: 24px; height: 24px; align-self: start; margin-top: 2px; }
.swatch circle { stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.fil-name { grid-area: name; font-weight: 600; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.fil-name small { font-weight: 400; color: var(--text-3); font-size: .82rem; }
.fil-left { grid-area: left; font-size: .85rem; color: var(--text-2); }
.fil-loaded { grid-area: loaded; font: 500 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ok); margin-top: 6px; }
.fil-bar { grid-area: bar; appearance: none; -webkit-appearance: none; width: 100%; height: 4px; border: 0; border-radius: 2px; background: var(--panel-2); margin-top: 10px; overflow: hidden; }
.fil-bar::-webkit-progress-bar { background: var(--panel-2); }
.fil-bar::-webkit-progress-value { background: var(--text-3); }
.fil-bar::-moz-progress-bar { background: var(--text-3); }
.fil-low .fil-bar::-webkit-progress-value { background: var(--warn); }
.fil-low .fil-bar::-moz-progress-bar { background: var(--warn); }

/* ------------------------------------------------------------------ what a printer is making */
.pr { grid-template-areas: "dot name state" ". job job"; }
.pr-job { grid-area: job; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; margin-top: 10px; }
.pr-thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line); display: grid; place-items: center; }
.pr-thumb-custom .mark { width: 26px; height: 26px; opacity: .6; }
.pr-job-info { display: grid; gap: 2px; min-width: 0; }
.pr-job-name { font-weight: 600; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.pr-job-name:hover { color: var(--accent-2); }
.pr-job .pr-meta { margin-top: 0; }
.pr-job .pr-bar { margin-top: 4px; }
.pr-job .pr-meta, .pr-job .pr-bar { grid-area: auto; }

/* ------------------------------------------------------------------ loaded filament + hardware per printer */
.pr { grid-template-areas: "dot name state" ". job job" ". hw hw"; }
.pr .pr-ams-compact { grid-area: hw; }
.pr-hw { grid-area: hw; margin-top: 12px; display: grid; gap: 10px; }
.pr-spec { margin: 0; font-size: .85rem; color: var(--text-3); }
.pr-temps { color: var(--text-2); }
.pr-ams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.ams {
  position: relative; display: grid; grid-template-columns: 22px 1fr; grid-template-areas: "label label" "spool color" "spool mat" "left left" "bar bar";
  column-gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2);
}
.ams-label { grid-area: label; font: 600 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 8px; }
.ams-label b { color: var(--accent-2); font-weight: 600; margin-left: 4px; }
.ams-spool { grid-area: spool; width: 22px; height: 22px; align-self: start; margin-top: 1px; }
.ams-spool circle:first-child, .ams-dot circle:first-child { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.hub { fill: rgba(0, 0, 0, .35); }
.ams-color { grid-area: color; font-weight: 600; font-size: .9rem; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.ams-mat { grid-area: mat; font-size: .76rem; color: var(--text-3); line-height: 1.25; min-width: 0; overflow-wrap: anywhere; margin-top: 2px; }
.ams-left { grid-area: left; font-size: .74rem; color: var(--text-2); margin-top: 8px; }
.ams-bar { grid-area: bar; display: block; width: 100%; height: 4px; margin-top: 5px; border-radius: 2px; overflow: hidden; }
.ams-bar .track { fill: var(--bg); }
.ams-low .ams-left { color: var(--warn); }
.ams-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ams-empty { grid-template-areas: "label" "color"; grid-template-columns: 1fr; border-style: dashed; background: transparent; }
.ams-empty .ams-color { color: var(--text-3); font-weight: 400; }
.pr-ams-compact { display: flex; gap: 6px; margin-top: 8px; }
.ams-dot { width: 16px; height: 16px; }
.ams-dot .empty { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 2; }
.ams-dot-on { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 50%; }

/* ------------------------------------------------------------------ checkout + order summary */
.pd-ship { color: var(--text-2); font-size: .92rem; margin: -10px 0 20px; }
.pd-ship b { color: var(--text); font-family: var(--mono); }
.summary { padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 20px 0 24px; }
.summary table { width: 100%; border-collapse: collapse; }
.summary th { text-align: left; font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary th small { display: block; font-weight: 400; color: var(--text-3); font-size: .82rem; }
.summary td { text-align: right; padding: 10px 0 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.summary tr.total th, .summary tr.total td { font-weight: 700; font-size: 1.1rem; border-bottom: 0; }
.summary .fine { margin-top: 12px; }
.addr { display: grid; gap: 10px; }
.addr legend span { font-weight: 400; color: var(--text-3); font-size: .86rem; }
.three-col { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 10px; }
@media (max-width: 620px) { .three-col { grid-template-columns: 1fr 1fr; } .three-col input:first-child { grid-column: 1 / -1; } }
.note-expert { margin: 0 0 20px; }
.note-expert b { color: var(--text); }

/* ------------------------------------------------------------------ accounts */
.top-actions { display: flex; align-items: center; gap: 14px; }
.acct-link { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.acct-link:hover, .acct-link[aria-current] { color: var(--text); }
.acct-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; align-items: center; }
.acct-nav a, .linkish { padding: 7px 13px; border-radius: 7px; color: var(--text-2); text-decoration: none; font: 500 .95rem var(--sans); background: none; border: 0; cursor: pointer; }
.acct-nav a:hover, .linkish:hover { background: var(--panel); color: var(--text); }
.acct-nav a[aria-current] { background: var(--text); color: var(--bg); }
.acct-nav form { margin-left: auto; }
.acct-form { max-width: 460px; }
.acct-why { margin-top: 32px; }
.acct-why h2 { font-size: 1.1rem; }
.acct-list { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acct-list li { border-top: 1px solid var(--line); }
.acct-list li:first-child { border-top: 0; }
.acct-list li > a, .acct-list li:not(:has(> a)) { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; color: var(--text); text-decoration: none; }
.acct-list li > a:hover { background: var(--panel); }
.acct-ledger li:not(:has(> a)) { grid-template-columns: 1fr auto; }
.acct-ledger small { display: block; }
.big-code { margin: 4px 0 8px; font-size: 1.75rem; letter-spacing: .08em; }
.acct-list b { font-weight: 600; display: block; }
.acct-list small { color: var(--text-3); font-size: .82rem; }
.acct-list form { margin: 0; }
.acct-status { font: 500 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); background: var(--panel-2); padding: 5px 8px; border-radius: 5px; text-align: center; }
.acct-sec { padding: 24px 0; border-top: 1px solid var(--line); }
.acct-sec:first-of-type { border-top: 0; padding-top: 0; }
.acct-sec h2 { font-size: 1.2rem; }
.acct-sec details summary { cursor: pointer; color: var(--text-2); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.form-row input { flex: 1 1 200px; width: auto; }
.qr { display: inline-block; background: #fefefe; padding: 10px; border-radius: 10px; margin: 8px 0; }
.qr svg { display: block; width: 220px; height: 220px; }
.key { letter-spacing: .08em; color: var(--text); }
.codes { padding: 20px 22px; border: 1px solid var(--accent); border-radius: 12px; background: var(--panel); margin-bottom: 24px; }
.codes ul { columns: 2; list-style: none; padding: 0; margin: 12px 0 0; font-size: 1.05rem; line-height: 2; }
.acct-events { list-style: none; padding: 0; margin: 0; }
.acct-events li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; flex-wrap: wrap; }
.ok-line { color: var(--ok); }
.btn-danger { background: transparent; color: #ff9d9d; border-color: rgba(239, 91, 91, .5); }
.btn-danger:hover { background: rgba(239, 91, 91, .15); color: #ffd0d0; border-color: var(--bad); }
.tmsgs { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.tmsg { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.tmsg-staff { --edge: linear-gradient(135deg, var(--accent) 0 40px, rgba(255, 122, 18, .35) 40px); }
.tmsg-who { font-weight: 600; margin-bottom: 6px; }
@media (max-width: 620px) {
  .acct-list li > a, .acct-list li:not(:has(> a)) { grid-template-columns: 1fr auto; }
  .acct-list li > a > .mono:last-child { grid-column: 2; }
  .top-actions .acct-link { font-size: .9rem; }
  .codes ul { columns: 1; }
}
.card-img.ph { flex-direction: column; gap: 8px; }
.card-img.ph small { font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.pd-img.ph { display: grid; place-items: center; }
.pd-img.ph { flex-direction: column; gap: 10px; display: flex; align-items: center; justify-content: center; } .pd-img.ph .mark { width: 72px; height: 72px; opacity: .45; } .pd-img.ph small { font: 500 .85rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; } @media (max-width: 620px) { .color-grid { grid-template-columns: 1fr; } }
.fixed-colors { margin: 0 0 4px; color: var(--text-2); } .fixed-colors b { color: var(--text); } .fixed-colors span { color: var(--text-3); font-size: .88rem; }

/* ------------------------------------------------------------------ site banner */
.site-banner { font-size: .92rem; line-height: 1.45; padding: 8px 0; text-align: center; border-bottom: 1px solid var(--line); }
.site-banner .wrap { padding-top: 0; padding-bottom: 0; }
.site-banner a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-banner code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, .25); }
.site-banner-info { background: var(--panel); color: var(--text); box-shadow: inset 0 2px 0 var(--accent); }
.site-banner-info a { color: var(--accent-2); }
.site-banner-sale { background: var(--accent); color: var(--accent-ink); border-bottom-color: var(--accent); }
.site-banner-sale code { background: rgba(0, 0, 0, .15); }
.site-banner-success { background: #133a26; color: #c6f2da; border-bottom-color: #1f5c3c; }
.site-banner-warning { background: #3d3112; color: #fbe6ad; border-bottom-color: #5c4a1b; }
.pd-hw { color: var(--text-2); font-size: .92rem; margin: -8px 0 20px; } .pd-hw b { color: var(--text); }

/* ------------------------------------------------------------------ one printer, in detail */
.pr-link { color: inherit; text-decoration: none; }
.pr-link:hover { color: var(--accent-2); text-decoration: underline; }
.pp { display: grid; gap: 28px; }
.pp-head { display: grid; gap: 6px; }
.pp-back { font: 500 .85rem var(--mono); color: var(--text-3); text-decoration: none; width: max-content; }
.pp-back:hover { color: var(--accent-2); }
.pp-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pp-name h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.02em; }
.pp-name .dot { width: 12px; height: 12px; }
.dot-busy { background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 106, 19, .16); animation: pulse 2.4s ease-in-out infinite; }
.dot-idle { background: var(--ok); }
.dot-off { background: var(--line-2); }
.pr-state-busy { color: var(--accent-2); background: rgba(255, 106, 19, .12); }
.pr-state-idle { color: var(--ok); background: rgba(79, 209, 139, .1); }
.pp-model { margin: 0; color: var(--text-3); }

.pp-hero { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, var(--panel) 0%, var(--bg) 100%); overflow: hidden; }
.pp-hero-busy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.pp-art { background: var(--panel-2); min-height: 260px; display: grid; }
.pp-art-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-art-ph { display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--text-3); font-size: .9rem; text-align: center; padding: 24px; }
.pp-art-ph .mark { width: 64px; height: 64px; stroke: var(--line-2); }
.pp-now { padding: 28px; display: grid; align-content: center; gap: 18px; }
.pp-kicker { margin: 0; font: 600 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); }
.pp-hero-idle .pp-kicker { color: var(--ok); }
.pp-title { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; }
.pp-title a { color: var(--text); text-decoration: none; }
.pp-title a:hover { color: var(--accent-2); }
.pp-progress { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pp-ring { position: relative; width: 120px; height: 120px; flex: none; }
.pp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pp-ring circle { fill: none; stroke-width: 10; }
.pp-ring-track { stroke: var(--panel-2); }
.pp-ring-fill { stroke: var(--accent); stroke-linecap: round; }
.pp-ring span { position: absolute; inset: 0; display: grid; place-content: center; font: 500 1rem var(--mono); color: var(--text-3); }
.pp-ring b { font: 700 2rem/1 var(--sans); color: var(--text); }
.pp-facts { margin: 0; display: grid; gap: 10px; }
.pp-facts dt, .pp-tile dt, .pp-spec dt { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.pp-facts dd { margin: 2px 0 0; font-weight: 650; font-size: 1.05rem; }
.pp-feed { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-2); }
.pp-feed svg { width: 16px; height: 16px; }
.pp-hero-idle { display: flex; align-items: center; gap: 22px; padding: 28px; }
.pp-idle-mark { width: 72px; height: 72px; border-radius: 18px; background: rgba(79, 209, 139, .08); display: grid; place-items: center; flex: none; }
.pp-idle-mark .mark { width: 40px; height: 40px; stroke: var(--ok); }
.pp-sub { margin: 8px 0 0; color: var(--text-2); }

.pp-sect h2 { font: 600 .82rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin: 0 0 12px; }
.pp-sect .pr-hw { margin-top: 0; }
.pp-tiles { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.pp-tile { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pp-tile dd { margin: 6px 0 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.pp-tile dd small { font-size: .9rem; font-weight: 500; color: var(--text-3); }
.pp-tile p { margin: 0; font-size: .8rem; color: var(--text-3); line-height: 1.35; }
.pp-tile-big dd { font-size: 1.9rem; }

.pp-recent { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pp-recent li { display: grid; grid-template-columns: 40px 1fr auto; grid-template-areas: "img t w" "img m w"; column-gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.pp-recent li:first-child { border-top: 0; }
.pp-rec-img { grid-area: img; width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; }
.pp-rec-ph .mark { width: 22px; height: 22px; stroke: var(--line-2); }
.pp-rec-t { grid-area: t; font-weight: 600; font-size: .95rem; }
.pp-rec-t a { color: var(--text); text-decoration: none; }
.pp-rec-t a:hover { color: var(--accent-2); }
.pp-rec-m { grid-area: m; font-size: .75rem; color: var(--text-3); }
.pp-rec-w { grid-area: w; font-size: .82rem; color: var(--text-2); text-align: right; }
.pp-rec-stop .pp-rec-w { color: var(--warn); }
.pp-spec { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pp-spec summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.pp-spec summary::-webkit-details-marker { display: none; }
.pp-spec summary::after { content: "+"; color: var(--text-3); font-family: var(--mono); }
.pp-spec[open] summary::after { content: "−"; }
.pp-spec dl { margin: 0; padding: 0 16px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; }
.pp-spec dd { margin: 2px 0 0; }

@media (max-width: 720px) {
  .pp-hero-busy { grid-template-columns: 1fr; }
  .pp-art { min-height: 0; aspect-ratio: 4 / 3; }
  .pp-now { padding: 22px; }
  .pp-hero-idle { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .dot-busy { animation: none; } }

/* Link out to the designer's own listing, for designs whose photos we can't show. */
.pd-ref { margin: 10px 0 0; font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.pd-ref a { white-space: nowrap; }

/* Authorized-seller badge: required on every listing by some designers' licenses. */
.credit-card { position: relative; }
.seller-badge { width: 76px; height: 76px; float: right; margin: 0 0 8px 14px; }
.card { position: relative; }
.card-badge { position: absolute; top: 8px; right: 8px; z-index: 1; line-height: 0; }
.card-badge .seller-badge { width: 38px; height: 38px; float: none; margin: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }


/* ==================================================================== the logo's language
   Every panel gets the logo's cut corners (top-left and bottom-right). The cut is drawn by clipping the
   element to the shape and painting its 1px edge as the background, with the fill on ::before inset 1px. */

.card, .workshop, .steps li, .designer-list a, .designers li, .buy, .credit-card, .summary, .quote-form, .pay, .codes,
.tmsg, .pp-hero, .pp-tile, .pp-recent, .pp-spec, .fil, .acct-list, .note, .specs, .files, .ask-product, .btn-ghost,
.empty, .pd-thumbs li, .alert, .drop-card {
  --edge: var(--line);
  --fill: var(--panel);
  position: relative; isolation: isolate;
  border-color: transparent !important; border-radius: 0 !important;
  background: var(--edge) !important;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.card::before, .workshop::before, .steps li::before, .designer-list a::before, .designers li::before, .buy::before, .credit-card::before,
.summary::before, .quote-form::before, .pay::before, .codes::before, .tmsg::before, .pp-hero::before, .pp-tile::before, .pp-recent::before,
.pp-spec::before, .fil::before, .acct-list::before, .note::before, .specs::before, .files::before, .ask-product::before, .btn-ghost::before,
.empty::before, .pd-thumbs li::before, .alert::before, .drop-card::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--fill);
  clip-path: polygon(calc(var(--cut) - .41px) 0, 100% 0, 100% calc(100% - var(--cut) + .41px), calc(100% - var(--cut) + .41px) 100%, 0 100%, 0 calc(var(--cut) - .41px));
}
.pp-tile, .fil, .ask-product, .note, .alert, .btn-ghost, .pd-thumbs li { --cut: 8px; }
.empty { --edge: var(--line-2); --fill: var(--bg); }
.credit-card, .codes { --fill: var(--bg-2); }
.ask-product { --fill: var(--bg-2); }
.pd-thumbs li { --fill: var(--panel); line-height: 0; }
.pd-thumbs img { border: 0; border-radius: 0; }

/* hover: the edge heats up from the cut corner, like the glow on the logo */
.card:hover, .designer-list a:hover, .ask-product:hover, .drop-card:hover { --edge: linear-gradient(135deg, var(--accent) 0, var(--accent) 22%, var(--line-2) 60%); }
.designers li:target { --edge: var(--accent); }
.pay, .codes { --edge: linear-gradient(135deg, var(--accent) 0 30%, rgba(255, 122, 18, .4) 70%); }
.workshop { --edge: linear-gradient(135deg, rgba(255, 122, 18, .9) 0, rgba(255, 122, 18, .25) 18%, var(--line) 40%); }
.steps li { --edge: linear-gradient(135deg, var(--accent) 0 34px, var(--line) 34px); }
.note { --edge: rgba(255, 122, 18, .35); --fill: #1d1712; color: var(--text-2); }
.alert { --edge: rgba(239, 91, 91, .45); --fill: #241415; }
.alert.ok { --edge: rgba(79, 209, 139, .45); --fill: #122119; }

/* images that sit in a cut panel: cut them too */
.pd-img, .pp-art-img, .card-img { border-radius: 0; }
.pd-img { border: 0; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }

/* ------------------------------------------------------------------ type: angular display face, steel headings */
h1, h2, .pp-title, .pay h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.2rem); line-height: 1.05; }
h1, .hero h1 {
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 a { color: inherit; }
h2 { color: #e6e9ed; }
h3, .card-title, .pr-name, .pp-tile dd, .pd-price, .card-price { font-family: var(--display); }
.card-title { font-weight: 600; letter-spacing: .005em; }
.pd-price, .card-price { font-weight: 700; color: var(--accent-2); }
.pd-price { font-size: 1.9rem; }
.crumbs, .facts dt, .specs dt, .pp-kicker, .workshop h2, .pp-sect h2 { font-family: var(--display); font-weight: 600; letter-spacing: .12em; }

/* ------------------------------------------------------------------ buttons: molten orange, cut corners */
.btn {
  border: 0; border-radius: 0; background: var(--molten); color: var(--accent-ink);
  font: 700 .98rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em;
  padding: .85em 1.5em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  text-shadow: 0 1px 0 rgba(255, 220, 170, .35);
}
.btn:hover { background: linear-gradient(180deg, #ffc56e 0%, #ff9a30 40%, #ff8418 58%, #e2600f 100%); color: var(--accent-ink); }
.btn-sm { padding: .62em 1.1em; font-size: .85rem; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.btn-wide { padding: 1.05em; font-size: 1.02rem; }
.btn-ghost { --edge: var(--line-2); --fill: linear-gradient(180deg, #24262b, #1a1b1f); color: var(--text) !important; text-shadow: none; }
.btn-ghost:hover { --edge: var(--steel); --fill: linear-gradient(180deg, #2c2f35, #1f2125); }
.btn-danger { background: #2a1416; color: #ffb3b3; text-shadow: none; }
.btn-danger:hover { background: #3a1a1d; color: #ffd0d0; }

/* chips: hex-ended, like the logo turned on its side */
.chip {
  border-radius: 0; border: 0; background: var(--panel-2); padding: 7px 18px;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 9px 100%, 0 50%);
}
.chip:hover { background: #2c2f35; }
.chip.is-on { background: var(--molten); color: var(--accent-ink); }
.chip.is-on small { color: var(--accent-ink); }
.chips-sub .chip { background: var(--panel); }
.chips-sub .chip.is-on { background: var(--molten); color: var(--accent-ink); }   /* the row's own background rule would otherwise hide the selection */

/* ------------------------------------------------------------------ header + footer */
.top { background: rgba(13, 13, 15, .9); border-bottom: 0; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0, rgba(255, 122, 18, .2) 10%, var(--accent) 50%, rgba(255, 122, 18, .2) 90%, transparent 100%); }
.top-row { min-height: 70px; }
.brand { gap: 11px; }
/* A hairline of light steel around the logo: its graphite corner vanishes on the black page without it.
   Four 1px offsets trace the outline; the soft orange glow sits outside that. */
.logo { display: block; flex: none;
  filter: drop-shadow(1px 0 0 rgba(214, 218, 224, .55)) drop-shadow(-1px 0 0 rgba(214, 218, 224, .55))
          drop-shadow(0 1px 0 rgba(214, 218, 224, .55)) drop-shadow(0 -1px 0 rgba(214, 218, 224, .55))
          drop-shadow(0 0 10px rgba(255, 122, 18, .25)); }
.wm { font: 700 1.28rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: #e6e9ed; }
.wm b { font-weight: 700; color: var(--accent); }
.nav a { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; border-radius: 0; }
.nav a:hover { background: transparent; color: var(--accent-2); }
.nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.acct-link { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.foot { background: var(--bg-2) url("../img/hex.svg"); border-top: 0; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.foot-brand { gap: 12px; }
.foot-brand .wm { font-size: 1.15rem; }
.admin-link { border-radius: 0; }

/* ------------------------------------------------------------------ hero + sections */
.hero {
  position: relative; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 12% 10%, rgba(255, 122, 18, .16), transparent 60%),
    radial-gradient(40% 60% at 95% 90%, rgba(170, 178, 190, .06), transparent 70%),
    url("../img/hex.svg"),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero h1 { max-width: 16ch; }
.facts { border-top-color: var(--line-2); }
.facts dd { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.sect-alt { background: var(--bg-2) url("../img/hex.svg"); }
.page-head { background: radial-gradient(50% 120% at 0% 0%, rgba(255, 122, 18, .09), transparent 70%); }
.sect-head h2::after, .page-head h1::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 12px; background: var(--molten);
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.sect-head { align-items: end; }
.more { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }

/* ------------------------------------------------------------------ workshop board */
.workshop { --fill: linear-gradient(170deg, #1c1d21 0%, #141518 100%); }
.workshop h2 { color: var(--text-2); }
.dot { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.pr-busy .dot, .dot-busy { box-shadow: none; animation: heat 2.4s ease-in-out infinite; }
@keyframes heat { 50% { background: #ffc06a; } }
.pr-state, .acct-status { border-radius: 0; font-family: var(--display); font-weight: 600;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%); padding: 6px 12px; }
.pr-bar, .pp-ring-fill { color: var(--accent); }
.pr-bar { border-radius: 0; height: 6px; }
.pr-bar::-webkit-progress-bar { border-radius: 0; }
.pr-bar::-webkit-progress-value { background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #ffc06a); border-radius: 0; }
.pr-bar::-moz-progress-bar { background: linear-gradient(90deg, var(--accent-deep), var(--accent) 60%, #ffc06a); border-radius: 0; }
.pr-thumb, .pp-rec-img { border-radius: 0; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.pp-ring-fill { stroke-linecap: butt; }
.ams { border-radius: 0; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.pp-hero { --fill: linear-gradient(160deg, var(--panel) 0%, var(--bg) 100%); --cut: 18px; }
.pp-idle-mark { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }

/* placeholders: the hex-F mark, drawn in steel with an orange shell */
.mark { stroke: var(--accent); }
.ph .mark, .pd-img.ph .mark, .pp-art-ph .mark, .pr-thumb-custom .mark, .pp-rec-ph .mark, .ask-img.ph .mark { stroke: #5b6069; opacity: .9; }
.card-img.ph, .pd-img.ph { background: radial-gradient(70% 70% at 50% 45%, #1f2024, #141518); }

/* ------------------------------------------------------------------ forms */
input, select, textarea { border-radius: 2px; background: #0f1012; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 122, 18, .2); }
input[type="file"]::file-selector-button { border-radius: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; }
.ticks li::before { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); border: 0; background: var(--molten); color: var(--accent-ink); font-weight: 700; }
.track li { border-top-width: 3px; font-family: var(--display); font-weight: 600; letter-spacing: .08em; }
.track li.on { border-image: var(--molten) 1; }

/* ------------------------------------------------------------------ account */
.acct-nav a, .linkish { border-radius: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.acct-nav a[aria-current] { background: var(--molten); color: var(--accent-ink); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.acct-list li > a:hover { background: rgba(255, 255, 255, .03); }
.big-code { font-family: var(--display); font-weight: 700; color: var(--accent); letter-spacing: .14em; }
.qr { border-radius: 0; }

/* ------------------------------------------------------------------ banner */
.site-banner-sale { background: var(--molten); }
.site-banner-info { box-shadow: none; background: linear-gradient(90deg, #1d1712, #18191c 50%, #1d1712); }

@media (max-width: 620px) {
  :root { --cut: 10px; }
  .top-row { flex-wrap: wrap; column-gap: 10px; }
  .brand { gap: 8px; }
  .wm { font-size: .98rem; letter-spacing: .01em; }
  .logo { width: 30px; height: 30px; }
  .top-actions { gap: 10px; margin-left: auto; }
  .top-actions .acct-link { font-size: .8rem; }
  .top .btn-sm { padding: .55em .8em; font-size: .76rem; letter-spacing: .04em; }
  .nav a { font-size: .86rem; }
}

/* The printer's own picture of the current job: a transparent plate render, so show all of it on a lit backdrop. */
/* Flat #3d3d3d: the backdrop Bambuddy's dark theme puts behind the same picture (Eric's pick). */
.pr-thumb-cover { object-fit: contain; background: #3d3d3d; }
.pp-art-cover { object-fit: contain; padding: 18px; background: #3d3d3d; }

/* ------------------------------------------------------------------ product videos + gallery */
[hidden] { display: none !important; }
.card-media { position: relative; display: block; }
.card-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; pointer-events: none; background: #000; }
.card.is-playing .card-vid { opacity: 1; }
/* a small play mark says "this one moves" */
.card-media::after, .pd-thumb-vid::after {
  content: ""; position: absolute; left: 10px; bottom: 10px; width: 26px; height: 26px; z-index: 1;
  background: rgba(13, 13, 15, .72) no-repeat center / 10px 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23ff7a12'/%3E%3C/svg%3E");
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: opacity .2s;
}
.card.is-playing .card-media::after { opacity: 0; }
.pd-stage { position: relative; }
.pd-vid { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #000;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.pd-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pd-thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; line-height: 0; }
.pd-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .72; transition: opacity .15s; }
.pd-thumb:hover img, .pd-thumb[aria-current] img { opacity: 1; }
.pd-thumbs li:has(.pd-thumb[aria-current]) { --edge: var(--accent); }
.pd-thumb-vid::after { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
@media (max-width: 620px) { .pd-thumbs { grid-template-columns: repeat(4, 1fr); } }
.pd-thumbs li { padding: 2px; }

/* ------------------------------------------------------------------ STLFlix drops */
.pd-drop { margin: -4px 0 0; color: var(--text-2); font-size: .95rem; }
.pd-drop a { font-family: var(--display); font-weight: 600; letter-spacing: .03em; }
.drop-head { margin: 0 0 22px; }
.drop-head h2 { margin: 2px 0 4px; }
.drop-head p { margin: 0; }
.drop-kicker { font: 600 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }

/* ------------------------------------------------------------------ shop filters */
.shop-filters { display: grid; gap: 12px; max-width: none; }
.shop-q { display: flex; gap: 10px; max-width: 560px; }
.shop-q input { flex: 1; }
.flt-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.flt { display: grid; gap: 4px; font: 600 .74rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.flt select { min-width: 150px; padding: 8px 32px 8px 10px; font-size: .92rem; text-transform: none; letter-spacing: 0; }
.flt-check { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; font-size: .8rem; color: var(--text-2); }
.flt-check input { width: 17px; height: 17px; accent-color: var(--accent); }
.flt-clear { padding-bottom: 9px; font-size: .9rem; }
.shop-links { margin: 14px 0 0; font-size: .92rem; color: var(--text-3); }
.shop-links a { font-weight: 600; }
@media (max-width: 620px) { .flt { flex: 1 1 45%; } .flt select { min-width: 0; } }

/* ------------------------------------------------------------------ drops index */
.drop-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.drop-card { display: grid; gap: 10px; padding: 12px; text-decoration: none; color: var(--text); }
.drop-peek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.drop-peek-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel-2); display: grid; place-items: center; }
.drop-peek-img .mark { width: 22px; height: 22px; stroke: #5b6069; }
.drop-meta b { display: block; font: 700 1.1rem/1.2 var(--display); }
.drop-meta small { color: var(--text-3); }
.drop-card:hover .drop-meta b { color: var(--accent-2); }

/* ------------------------------------------------------------------ favorites + reviews */
.fav-form { margin: -10px 0 18px; }
.fav-btn { font: 600 .9rem/1 var(--display); letter-spacing: .04em; color: var(--text-2); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: none; }
.fav-btn:hover, .fav-btn.is-on { color: var(--accent-2); }
.stars { color: var(--accent); letter-spacing: .08em; }
.stars span { color: var(--line-2); }
.rev-avg { font: 500 1rem var(--sans); color: var(--text-2); margin-left: 10px; }
.reviews { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.review { padding: 16px 0; border-top: 1px solid var(--line); }
.review p { margin: 8px 0; color: var(--text-2); }
.review small { color: var(--text-3); }
.review-form { display: grid; gap: 14px; max-width: 560px; }
.review-form h3 { margin: 0; }
.rate { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.rate legend { width: 100%; }
.rate label { display: flex; gap: 6px; align-items: center; font-weight: 400; color: var(--text-2); }
.rate input { width: 16px; height: 16px; accent-color: var(--accent); }
.card-rating { color: var(--accent-2); font: 600 .85rem var(--display); }
.card-rating small { color: var(--text-3); font-weight: 400; }
