/* glowforge.uk — "laser workshop" design system
   Charcoal machine surfaces, laser orange + acrylic blue (lasers vs 3D printing), birch ply accents,
   light reading panels. Motifs: honeycomb bed, mm rulers, crosshair focus marks, dashed toolpaths,
   finger-joint dividers, kerf glow on hover. */

@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakrapetch-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/chakrapetch-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrainsmono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #16181B;
  --bg-2: #1D2024;
  --bg-3: #262A2F;
  --line: #363B42;
  --line-2: #4A5058;
  --text: #ECEFF2;
  --dim: #AEB6BF;
  --laser: #FF5A1F;
  --laser-hi: #FF8A5B;
  --laser-ink: #B83A0A;
  --acrylic: #2F8CFF;
  --acrylic-hi: #82B9FF;
  --acrylic-ink: #1A5FC0;
  --ply: #E3C79C;
  --ply-dim: #9C8566;
  --panel: #F3F5F7;
  --panel-2: #E6EAEE;
  --panel-text: #1B1E22;
  --panel-dim: #4A525B;
  --panel-line: #CDD3DA;
  --ok: #3CCB7F;
  --ok-ink: #11703F;
  --warn-ink: #8A2A06;
  --radius: 3px;
  --max: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Chakra Petch", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ruler: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10px),
           repeating-linear-gradient(90deg, var(--dim) 0 1px, transparent 1px 50px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font: 400 1.0625rem/1.62 var(--body); color: var(--text);
  background: var(--bg) url("../img/honeycomb.svg") 0 0 / 56px 97px repeat;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--laser-hi); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: text-shadow .2s, color .2s; }
a:hover { color: #FFB08F; text-shadow: 0 0 .5em rgba(255, 90, 31, .75), 0 0 .15em rgba(255, 140, 90, .9); text-decoration-color: var(--laser); }
:focus-visible { outline: 3px solid var(--acrylic); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
code, kbd, .mono { font-family: var(--mono); font-size: .9em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--laser); color: #16181B; padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- header */
.indie { background: #0E0F11; color: var(--dim); font: 500 .74rem/1.45 var(--mono); border-bottom: 1px solid var(--line); }
.indie .wrap { padding-top: 7px; padding-bottom: 7px; }
.indie strong { color: var(--ply); font-weight: 600; letter-spacing: .06em; }
.site-head { background: rgba(22, 24, 27, .96); border-bottom: 1px solid var(--line); position: relative; }
.site-head::after { content: ""; display: block; height: 14px; background: var(--ruler); background-size: auto 6px, auto 14px; background-repeat: repeat-x; background-position: 0 0, 0 0; opacity: .7; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 16px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand:hover { text-shadow: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand-name { display: block; font: 700 1.55rem/1 var(--head); letter-spacing: .01em; }
.brand-name span { color: var(--laser); }
.brand-strap { display: block; font: 500 .74rem/1.3 var(--mono); color: var(--dim); margin-top: 4px; max-width: 34ch; }
.menu > summary { list-style: none; cursor: pointer; font: 600 .9rem/1 var(--mono); color: var(--text); border: 1px solid var(--line-2); padding: 10px 14px; border-radius: var(--radius); display: inline-flex; gap: 8px; align-items: center; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::before { content: ""; width: 14px; height: 10px; background: linear-gradient(var(--laser) 0 2px, transparent 2px 4px, var(--laser) 4px 6px, transparent 6px 8px, var(--laser) 8px 10px); }
.nav { list-style: none; margin: 0; padding: 0; counter-reset: nav; }
.nav a { display: flex; gap: 8px; align-items: baseline; padding: 9px 4px; color: var(--text); text-decoration: none; font: 600 .98rem/1.2 var(--head); letter-spacing: .02em; }
.nav a::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); font: 500 .7rem/1 var(--mono); color: var(--laser); }
.nav a[aria-current="page"] { color: var(--laser-hi); box-shadow: inset 0 -2px 0 var(--laser); }
.nav a:hover { color: #fff; }
@media (max-width: 899px) {
  .menu { width: 100%; }
  .menu[open] > summary { border-color: var(--laser); }
  .menu .nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 16px; margin-top: 10px; border-top: 1px dashed var(--line-2); padding-top: 6px; }
}
@media (min-width: 900px) {
  .menu > summary { display: none; }
  .nav { display: flex; flex-wrap: wrap; gap: 2px 18px; justify-content: flex-end; max-width: 640px; }
}

/* ---------------------------------------------------------------- generic blocks */
main { display: block; }
.kicker { display: inline-block; font: 600 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--laser); margin: 0 0 .9em; }
.kicker.blue { color: var(--acrylic-hi); }
.lead { font-size: 1.18rem; color: var(--dim); max-width: 62ch; }
.section { padding: clamp(40px, 6vw, 80px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head .more { font: 600 .9rem/1.3 var(--mono); }
.toolpath { border-top: 1px dashed var(--laser); position: relative; }
.toolpath::before { content: ""; position: absolute; left: var(--gutter); top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--laser); }
.toolpath.blue { border-top-color: var(--acrylic); }
.toolpath.blue::before { border-color: var(--acrylic); }

/* finger-joint (box-joint) divider — sits at the top edge of a light panel */
.joint { height: 16px; background: linear-gradient(90deg, var(--panel) 50%, transparent 50%) 0 0 / 56px 16px repeat-x; }
.joint.ply { background-image: linear-gradient(90deg, var(--ply) 50%, transparent 50%); }
.joint.down { background-image: linear-gradient(90deg, transparent 50%, var(--panel) 50%); }

/* light reading panel */
.panel { background: var(--panel); color: var(--panel-text); color-scheme: light; }
.panel .btn, .panel .btn:hover { color: #16181B; text-shadow: none; }
.panel .btn.blue, .panel .btn.blue:hover { color: #0B1424; }
.panel a { color: var(--laser-ink); }
.panel a:hover { color: #8F2C05; text-shadow: 0 0 .45em rgba(255, 90, 31, .35); }
.panel .lead, .panel .dim { color: var(--panel-dim); }
.panel .kicker { color: var(--laser-ink); }
.panel .kicker.blue { color: var(--acrylic-ink); }
.panel :focus-visible { outline-color: var(--acrylic-ink); }
.panel code { background: var(--panel-2); padding: .05em .3em; border-radius: 2px; }
.dim { color: var(--dim); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--laser); background: var(--laser); color: #16181B; font: 700 .98rem/1.2 var(--head); letter-spacing: .03em; text-decoration: none; border-radius: var(--radius); cursor: pointer; }
.btn:hover { color: #16181B; background: #FF7440; text-shadow: none; box-shadow: 0 0 0 3px rgba(255, 90, 31, .25), 0 0 22px rgba(255, 90, 31, .45); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--laser); color: #fff; }
.btn.blue { background: var(--acrylic); border-color: var(--acrylic); color: #0B1424; }
.btn.blue:hover { background: #4C9DFF; box-shadow: 0 0 0 3px rgba(47, 140, 255, .25), 0 0 22px rgba(47, 140, 255, .45); }
.panel .btn.ghost { color: var(--panel-text); border-color: var(--panel-line); background: #fff; }
.btn .arrow { font-family: var(--mono); }
.buy-note { font: 500 .78rem/1.4 var(--mono); color: var(--dim); margin-top: 8px; }
.panel .buy-note { color: var(--panel-dim); }

.fig { margin: 0; }
.fig img { display: block; width: 100%; height: auto; }
.fig figcaption, .md-photo figcaption { font-size: .82rem; color: var(--dim); padding-top: 8px; line-height: 1.45; }
.panel .fig figcaption, .panel .md-photo figcaption { color: var(--panel-dim); }
.photo-credit a { color: inherit; }

/* ---------------------------------------------------------------- home hero */
.hero { padding: clamp(28px, 5vw, 60px) 0 clamp(36px, 6vw, 72px); }
.hero-grid { display: grid; gap: 34px; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--laser); }
.hero h1 b { font-weight: 700; color: var(--acrylic-hi); }
.jobs { list-style: none; padding: 0; margin: 28px 0 0; border-left: 1px dashed var(--line-2); }
.jobs li { position: relative; padding: 0 0 0 26px; }
.jobs li::before { content: ""; position: absolute; left: -6px; top: 22px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--laser); background: var(--bg); }
.jobs li.blue::before { border-color: var(--acrylic); }
.jobs a { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 14px; align-items: baseline; padding: 12px 0 14px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.jobs a:hover { text-shadow: none; }
.jobs a:hover .job-title { color: var(--laser-hi); text-shadow: 0 0 .5em rgba(255, 90, 31, .6); }
.jobs li.blue a:hover .job-title { color: var(--acrylic-hi); text-shadow: 0 0 .5em rgba(47, 140, 255, .6); }
.job-n { font: 600 .8rem/1 var(--mono); color: var(--laser); }
.jobs li.blue .job-n { color: var(--acrylic-hi); }
.job-title { font: 700 1.2rem/1.2 var(--head); transition: color .2s, text-shadow .2s; }
.job-meta { font: 500 .78rem/1.2 var(--mono); color: var(--dim); }
.job-desc { grid-column: 2 / -1; font-size: .95rem; color: var(--dim); }

/* camera-view frame around a photo */
.camview { position: relative; margin: 0; border: 1px solid var(--line-2); background: #0E0F11; padding: 22px 22px 0; }
.camview::before { content: ""; position: absolute; left: 22px; right: 22px; top: 6px; height: 10px; background: var(--ruler); background-size: auto 5px, auto 10px; background-repeat: repeat-x; opacity: .8; }
.camview .cam-img { position: relative; overflow: hidden; }
.camview img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.camview .cross { position: absolute; width: 74px; height: 74px; transform: translate(-50%, -50%); pointer-events: none; }
.camview .corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--laser); }
.camview .c1 { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.camview .c2 { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.camview .c3 { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.camview .c4 { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.camview .tag { position: absolute; left: 14px; top: 14px; margin-left: 30px; font: 600 .7rem/1 var(--mono); letter-spacing: .1em; color: #16181B; background: var(--laser); padding: 4px 7px; }
.readout { margin: 14px 0 0; padding: 12px 14px; border: 1px dashed var(--line-2); display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 18px; list-style: none; font: 500 .8rem/1.35 var(--mono); }
.readout li span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ply); }
.readout li strong { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.camview figcaption { font-size: .8rem; color: var(--dim); padding: 10px 0 12px; line-height: 1.45; }

/* ---------------------------------------------------------------- spec / machine rows */
.mrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mrow { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px 18px; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--laser); }
.mrow.printer { border-left-color: var(--acrylic); }
.mrow:hover { border-color: var(--line-2); box-shadow: 0 0 0 1px rgba(255, 90, 31, .15), 0 0 24px rgba(255, 90, 31, .12); }
.mrow.printer:hover { box-shadow: 0 0 0 1px rgba(47, 140, 255, .18), 0 0 24px rgba(47, 140, 255, .14); }
.mrow-pic { width: 112px; height: 84px; background: #101214 url("../img/honeycomb.svg") 0 0 / 28px 48.5px; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.mrow-pic img { width: 100%; height: 100%; object-fit: cover; }
.mrow-pic img.sil { object-fit: contain; padding: 6px; }
.mrow h3 { margin: 0 0 4px; font-size: 1.18rem; }
.mrow h3 a { color: var(--text); text-decoration: none; }
.mrow h3 a::after { content: ""; position: absolute; inset: 0; }
.mrow h3 a:hover { color: #fff; text-shadow: 0 0 .5em rgba(255, 90, 31, .6); }
.mrow.printer h3 a:hover { text-shadow: 0 0 .5em rgba(47, 140, 255, .65); }
.mrow .brandline { font: 500 .78rem/1.3 var(--mono); color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
.mrow p { margin: 4px 0 0; font-size: .93rem; color: var(--dim); }
.specs-mini { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; padding: 0; list-style: none; font: 500 .8rem/1.45 var(--mono); color: var(--text); }
.specs-mini li span { color: var(--dim); }
.cmp-tick { position: relative; z-index: 2; grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 500 .8rem/1.2 var(--mono); color: var(--dim); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 2px; cursor: pointer; width: fit-content; }
@media (min-width: 720px) {
  .mrow { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; }
  .mrow-pic { width: 150px; height: 110px; }
  .mrow .cmp-tick { grid-column: auto; border-top: 0; padding-top: 0; margin: 0; align-self: center; }
}
.md-machines .mrows, .md-machines { margin: 1.2em 0; display: grid; gap: 12px; }
.panel .mrow { background: #fff; border-color: var(--panel-line); }
.panel .mrow h3 a { color: var(--panel-text); }
.panel .mrow p, .panel .mrow .brandline, .panel .specs-mini li span { color: var(--panel-dim); }
.panel .specs-mini { color: var(--panel-text); }

.type-tag { display: inline-block; font: 600 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px 3px; border: 1px solid currentColor; color: var(--laser-hi); margin-left: 6px; vertical-align: 2px; }
.type-tag.printer { color: var(--acrylic-hi); }
.panel .type-tag { color: var(--laser-ink); }
.panel .type-tag.printer { color: var(--acrylic-ink); }

/* ---------------------------------------------------------------- listing layout + filters */
.listing { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 1000px) { .listing { grid-template-columns: 290px minmax(0, 1fr); align-items: start; } }
.filter-box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 16px; background: var(--bg-2); border: 1px solid var(--line-2); font: 600 1rem/1.2 var(--head); }
.filter-box > summary::-webkit-details-marker { display: none; }
.filter-box > summary::after { content: "+"; font: 600 1.3rem/1 var(--mono); color: var(--laser); }
.filter-box[open] > summary::after { content: "–"; }
.filter-box[open] > summary { border-bottom: 0; }
@media (min-width: 1000px) { .filter-box > summary { display: none; } .filter-box { position: sticky; top: 12px; } }
.filters { background: var(--bg-2); border: 1px solid var(--line); padding: 16px 16px 6px; }
.filters h2 { font-size: 1.05rem; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; }
.filters h2 a { font: 500 .78rem/1 var(--mono); }
.filters fieldset { border: 0; border-top: 1px dashed var(--line-2); margin: 0; padding: 12px 0; }
.filters legend { font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ply); padding: 0 6px 0 0; }
.filters label { display: flex; gap: 9px; align-items: center; padding: 5px 0; font-size: .95rem; cursor: pointer; }
.filters input[type=checkbox], .filters input[type=radio], .cmp-tick input[type=checkbox] { -webkit-appearance: none; appearance: none; margin: 0; width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid var(--dim); background: transparent; display: inline-grid; place-content: center; cursor: pointer; }
.filters input[type=radio] { border-radius: 50%; }
.filters input[type=radio]:checked { border-color: var(--laser); box-shadow: inset 0 0 0 3px var(--bg-2), inset 0 0 0 9px var(--laser); }
.filters input[type=checkbox]:checked, .cmp-tick input[type=checkbox]:checked { border-color: var(--laser); background: var(--laser); }
.filters input[type=checkbox]:checked::after, .cmp-tick input[type=checkbox]:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #16181B; border-bottom: 2px solid #16181B; transform: translateY(-1px) rotate(-45deg); }
.cmp-tick input[type=checkbox]:disabled { opacity: .35; cursor: not-allowed; }
.panel .cmp-tick input[type=checkbox] { border-color: var(--panel-dim); }
.filters select, .field select, .field input[type=text] { width: 100%; min-height: 44px; padding: 8px 10px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius); font: inherit; font-size: .95rem; }
.filters .btn { width: 100%; justify-content: center; margin: 4px 0 12px; }
.js .filters .apply { display: none; }
.results-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 14px; font: 500 .85rem/1.4 var(--mono); color: var(--dim); }
.results-bar strong { color: var(--text); }
.cmp-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 12px 14px; background: rgba(14, 15, 17, .97); border: 1px solid var(--line-2); border-top: 2px solid var(--laser); font: 500 .85rem/1.3 var(--mono); }
.empty { padding: 30px; border: 1px dashed var(--line-2); text-align: left; }

/* ---------------------------------------------------------------- machine page */
.m-hero { display: grid; gap: 28px; padding: 30px 0 40px; }
@media (min-width: 940px) { .m-hero { grid-template-columns: minmax(0, 1fr) 420px; gap: 44px; align-items: start; } }
.crumbs { font: 500 .8rem/1.4 var(--mono); color: var(--dim); margin: 0 0 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--dim); }
.m-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.m-hero h1 small { display: block; font: 600 .95rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.m-visual { margin: 0; background: #0E0F11; border: 1px solid var(--line-2); padding: 14px; }
.m-visual .bed { background: #111316 url("../img/honeycomb.svg") 0 0 / 40px 69.3px; aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
.m-visual .bed img { width: 100%; height: 100%; object-fit: cover; }
.m-visual .bed img.sil { object-fit: contain; padding: 18px; }
.m-visual .bed .sil-note { position: absolute; right: 8px; bottom: 6px; font: 500 .68rem/1 var(--mono); color: var(--dim); }
.m-visual figcaption { font-size: .8rem; color: var(--dim); padding-top: 8px; }
.area-box { margin-top: 14px; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.area-box h2 { font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ply); margin: 0 0 10px; }
.area-svg .area-m { fill: rgba(255, 90, 31, .12); stroke: var(--laser); stroke-width: 1.5; }
.printer .area-svg .area-m, .area-svg.printer .area-m { fill: rgba(47, 140, 255, .14); stroke: var(--acrylic); }
.area-svg .area-a4 { fill: none; stroke: var(--ply); stroke-width: 1; stroke-dasharray: 4 3; }
.area-svg .area-a4t { fill: var(--ply); font: 600 10px var(--mono); }
.area-svg .area-t { fill: var(--text); font: 500 11px var(--mono); }
.buybox { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-2); list-style: none; font: 500 .85rem/1.4 var(--mono); }
.facts-row li span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ply); }

.m-body { display: grid; gap: 34px; padding-top: 44px; padding-bottom: 56px; }
@media (min-width: 940px) { .m-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; } }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--panel-line); }
.spec th { width: 38%; font: 600 .74rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--panel-dim); padding-top: 11px; }
.spec td { font-family: var(--mono); font-size: .88rem; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li, .crosses li { position: relative; padding: 4px 0 4px 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--ok-ink); border-bottom: 2px solid var(--ok-ink); transform: rotate(-45deg); }
.crosses li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; background: linear-gradient(45deg, transparent 44%, var(--laser-ink) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--laser-ink) 44% 56%, transparent 56%); }
.sources { font-size: .9rem; }
.sources ol { padding-left: 1.3em; margin: .4em 0; }
.sources li { margin: 3px 0; }
.checked { font: 500 .8rem/1.4 var(--mono); color: var(--panel-dim); }

/* ---------------------------------------------------------------- reading layout (guides, pages) */
.page-head { padding-top: 34px; padding-bottom: 30px; }
.page-head h1 { max-width: 22ch; }
.page-head .lead { margin-bottom: 0; }
.reading { padding: 40px 0 64px; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.85rem); padding-top: .4em; border-top: 1px dashed var(--panel-line); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .25em 0; }
.prose li::marker { color: var(--laser-ink); }
.prose img { height: auto; }
.callout { margin: 1.4em 0; padding: 14px 18px 14px 20px; background: #fff; border: 1px solid var(--panel-line); border-left: 4px solid var(--acrylic-ink); }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--laser); background: #FFF4EE; }
.callout.warn p::before { content: "Warning — "; font: 700 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--warn-ink); }
.md-photo { margin: 1.6em 0; }
.md-photo img { display: block; width: 100%; height: auto; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
.md-table { border-collapse: collapse; width: 100%; font-size: .94rem; background: #fff; }
.md-table th, .md-table td { border: 1px solid var(--panel-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.md-table th { background: var(--panel-2); font: 600 .78rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.two-col { display: grid; gap: 36px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.aside-box { border: 1px solid var(--panel-line); background: #fff; padding: 16px 18px; margin-bottom: 18px; font-size: .95rem; }
.aside-box h2 { font-size: 1.05rem; margin: 0 0 8px; border: 0; padding: 0; }
.aside-box ul { margin: 0; padding-left: 1.1em; }
.toc { font-size: .92rem; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: .2em 0; }
.meta-line { font: 500 .8rem/1.4 var(--mono); color: var(--dim); margin-top: 14px; }
.panel .meta-line { color: var(--panel-dim); }
.hero-photo { margin: 0 0 28px; }
.hero-photo img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }

/* ---------------------------------------------------------------- home blocks */
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; } }
.cutlist { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cutlist caption { text-align: left; font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ply); padding-bottom: 10px; }
.cutlist th, .cutlist td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.cutlist thead th { font: 600 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line-2); }
.cutlist td.mono, .cutlist td .mono { font-family: var(--mono); font-size: .84rem; }
.cutlist a { color: var(--text); font-weight: 600; text-decoration: none; }
.cutlist a:hover { color: var(--laser-hi); }
.cutlist tr.printer a:hover { color: var(--acrylic-hi); text-shadow: 0 0 .5em rgba(47, 140, 255, .6); }
@media (max-width: 640px) { .cutlist .hide-s { display: none; } }

/* material test card */
.testcard { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.testcard li { position: relative; }
.testcard a { display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 10px 12px; text-decoration: none; color: #16181B; border: 1px solid rgba(0, 0, 0, .25); position: relative; overflow: hidden; }
.testcard a:hover { text-shadow: none; box-shadow: 0 0 0 2px var(--laser), 0 0 22px rgba(255, 90, 31, .5); }
.testcard .sw-name { font: 700 1rem/1.15 var(--head); position: relative; }
.testcard .sw-v { font: 600 .66rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; position: relative; margin-top: 6px; }
.testcard a::before { content: ""; position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; opacity: .45; }
.testcard a::after { content: ""; position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; opacity: .45;
  background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.sw { background-color: var(--panel-2); }
.sw-ply { background: repeating-linear-gradient(100deg, #E8CFA6 0 6px, #DDBF8F 6px 9px, #E9D3AE 9px 16px, #D8B987 16px 18px); }
.sw-mdf { background: #A8794C repeating-radial-gradient(circle at 30% 40%, rgba(0,0,0,.05) 0 1px, transparent 1px 3px); }
.sw-acrylic { background: linear-gradient(135deg, rgba(220, 238, 255, .95), rgba(170, 210, 245, .9) 60%, rgba(235, 245, 255, .95)); }
.sw-acrylic-colour { background: linear-gradient(135deg, #2F8CFF, #6FB0FF); }
.sw-card { background: #F4F1EA repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 1px, transparent 1px 4px); }
.sw-leather { background: #8A5A35 radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 40%); color: #fff !important; }
.sw-slate { background: #3A3F45 repeating-linear-gradient(170deg, rgba(255,255,255,.04) 0 2px, transparent 2px 7px); color: #fff !important; }
.sw-metal { background: linear-gradient(120deg, #B9C0C7, #E7EBEE 45%, #A7AFB7); }
.sw-cork { background: #C79A62 radial-gradient(circle at 30% 30%, rgba(80,40,10,.25) 0 1px, transparent 2px) 0 0 / 7px 7px; }
.sw-fabric { background: #5E6B78 repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 2px, transparent 2px 5px); color: #fff !important; }
.sw-glass { background: linear-gradient(135deg, #DDEFF0, #BFE0E2 50%, #EAF6F6); }
.sw-filament { background: radial-gradient(circle at 50% 50%, #16181B 0 18%, transparent 19%), repeating-radial-gradient(circle at 50% 50%, #2F8CFF 0 3px, #2577DD 3px 5px); color: #fff !important; }
.sw-resin { background: linear-gradient(160deg, #FFB347, #FF8C2A 60%, #E8741B); }
.sw-danger { background: repeating-linear-gradient(-45deg, #16181B 0 10px, #FF5A1F 10px 20px); color: #fff !important; }
.sw-danger .sw-name, .sw-danger .sw-v { background: #16181B; padding: 2px 5px; width: fit-content; }

/* safety strip */
.hazard { background: repeating-linear-gradient(-45deg, var(--laser) 0 14px, #16181B 14px 28px); height: 10px; }
.safety-band { background: #0E0F11; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.safety-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .safety-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 50px; align-items: center; } }
.rules { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.rules li::before { content: counter(r, decimal-leading-zero); font: 700 1.1rem/1.3 var(--mono); color: var(--laser); }
.rules strong { display: block; font-family: var(--head); font-size: 1.05rem; }

/* photo strip (projects) */
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.strip li { position: relative; background: var(--bg-2); border: 1px solid var(--line); }
.strip .pic { aspect-ratio: 3 / 2; overflow: hidden; background: #101214; }
.strip .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.strip li:hover .pic img { transform: scale(1.03); }
.strip .txt { padding: 12px 14px 14px; }
.strip h3 { font-size: 1.12rem; margin: 0 0 4px; }
.strip h3 a { color: var(--text); text-decoration: none; }
.strip h3 a::after { content: ""; position: absolute; inset: 0; }
.strip p { font-size: .92rem; color: var(--dim); margin: 0; }
.strip .credit { position: relative; z-index: 2; display: block; padding: 0 14px 12px; font-size: .74rem; color: var(--dim); }
.strip .meta { font: 500 .74rem/1.3 var(--mono); color: var(--ply); margin-bottom: 6px; }
.panel .strip li { background: #fff; border-color: var(--panel-line); }
.panel .strip h3 a { color: var(--panel-text); }
.panel .strip p, .panel .strip .credit { color: var(--panel-dim); }
.panel .strip .meta { color: var(--ply-dim); }

/* glowforge hub teaser */
.gf-teaser { border: 1px solid var(--line-2); background: linear-gradient(90deg, rgba(227, 199, 156, .08), transparent 60%); padding: clamp(20px, 3vw, 34px); position: relative; }
.gf-teaser::before { content: ""; position: absolute; left: -1px; top: -1px; width: 34px; height: 34px; border-left: 3px solid var(--ply); border-top: 3px solid var(--ply); }
.gf-teaser::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 34px; height: 34px; border-right: 3px solid var(--ply); border-bottom: 3px solid var(--ply); }

/* ---------------------------------------------------------------- compare */
.cmp-pick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: end; margin-bottom: 26px; }
.field label { display: block; font: 600 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ply); margin-bottom: 6px; }
.panel .field label { color: var(--panel-dim); }
.panel .field select { background: #fff; color: var(--panel-text); border-color: var(--panel-line); }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; font-size: .92rem; }
.cmp-table th, .cmp-table td { border: 1px solid var(--panel-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--panel-text); color: #fff; font-family: var(--head); font-size: 1.05rem; }
.cmp-table thead th a { color: #fff; }
.cmp-table thead th small { display: block; font: 500 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #C8CED4; }
.cmp-table tbody th { width: 170px; background: var(--panel-2); font: 600 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--panel-dim); }
.cmp-table td { font-family: var(--mono); font-size: .84rem; }
.cmp-table td.txt { font-family: var(--body); font-size: .92rem; }
.cmp-table tr.diff td { background: #FFF8F3; }

/* ---------------------------------------------------------------- chooser */
.q { border: 1px solid var(--panel-line); background: #fff; padding: 16px 18px 10px; margin: 0 0 16px; }
.q legend { font: 700 1.1rem/1.3 var(--head); padding: 0 6px; }
.q legend span { font: 600 .74rem/1 var(--mono); color: var(--laser-ink); margin-right: 8px; }
.q label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; cursor: pointer; }
.q input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--laser-ink); flex: 0 0 auto; }
.q label small { display: block; color: var(--panel-dim); font-size: .88rem; }
.verdict { border: 1px solid var(--panel-line); border-top: 4px solid var(--laser); background: #fff; padding: 22px; margin-bottom: 26px; }
.verdict.printer { border-top-color: var(--acrylic); }
.verdict.both { border-top-color: var(--ply); }
.verdict h2 { margin-bottom: .3em; }

/* ---------------------------------------------------------------- materials + accessories */
.mat-group { margin-bottom: 44px; }
.mat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mat { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--panel-line); scroll-margin-top: 20px; }
.mat:target { box-shadow: 0 0 0 3px var(--laser); }
.mat .chip-sw { width: 64px; height: 64px; border: 1px solid rgba(0,0,0,.2); }
.mat h3 { margin: 0 0 4px; }
.mat .verdict-tag { font: 700 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px 3px; display: inline-block; margin-bottom: 8px; }
.verdict-tag.safe { background: #E3F4EA; color: var(--ok-ink); }
.verdict-tag.caution { background: #FFF1D6; color: #7A4B00; }
.verdict-tag.never { background: #16181B; color: #FF8A5B; }
.mat .machines { font: 500 .82rem/1.45 var(--mono); color: var(--panel-dim); margin: 0 0 8px; }
.mat ul { margin: .4em 0 .8em; padding-left: 1.2em; }
.mat .src { font-size: .82rem; color: var(--panel-dim); }
.mat .src a { color: var(--panel-dim); }
.mat .amz { margin-top: 6px; }
.mat.never { border-color: #16181B; border-left: 6px solid #16181B; }
@media (max-width: 520px) { .mat { grid-template-columns: 1fr; } .mat .chip-sw { width: 100%; height: 26px; } }
.jump { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0 0 26px; font: 600 .85rem/1.4 var(--mono); }
.jump a { text-decoration: none; border-bottom: 1px dashed currentColor; }

/* glossary */
.gloss { display: grid; gap: 0; margin: 0; }
.gloss > div { display: grid; gap: 4px 28px; padding: 16px 0; border-bottom: 1px dashed var(--panel-line); scroll-margin-top: 20px; }
@media (min-width: 760px) { .gloss > div { grid-template-columns: 230px minmax(0, 1fr); } }
.gloss dt { font: 700 1.1rem/1.3 var(--head); }
.gloss dt small { display: block; font: 500 .7rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--panel-dim); }
.gloss dd { margin: 0; }
.gloss > div:target { background: #FFF4EE; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; }
.letters a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--panel-line); background: #fff; text-decoration: none; font: 600 .9rem/1 var(--mono); }

/* ---------------------------------------------------------------- footer */
.site-foot { background: #0E0F11; border-top: 1px solid var(--line); margin-top: 0; font-size: .93rem; color: var(--dim); }
.site-foot::before { content: ""; display: block; height: 16px; background: linear-gradient(90deg, var(--bg-3) 50%, transparent 50%) 0 0 / 56px 16px repeat-x; }
.foot-grid { display: grid; gap: 28px; padding: 34px 0 20px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.site-foot h2 { font: 600 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ply); margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.site-foot li { padding: 3px 0; break-inside: avoid; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--laser-hi); }
.foot-legal { border-top: 1px dashed var(--line-2); padding: 16px 0 28px; font: 500 .78rem/1.6 var(--mono); }
.foot-legal p { margin: 0 0 6px; }

/* ---------------------------------------------------------------- misc */
.notice { border: 1px dashed var(--ply-dim); padding: 12px 14px; font-size: .92rem; color: var(--dim); }
.panel .notice { color: var(--panel-dim); }
.kit-credits { color: var(--panel-text); }
.kit-credits-list li { border-bottom: 1px solid var(--panel-line); padding-bottom: 12px; }
.grid-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-links a { display: block; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; color: var(--text); }
.grid-links a strong { display: block; font-family: var(--head); font-size: 1.08rem; }
.grid-links a span { font-size: .88rem; color: var(--dim); }
.grid-links a:hover { border-color: var(--laser); text-shadow: none; }
.err-404 { padding: 60px 0 80px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  a:hover, .btn:hover, .jobs a:hover .job-title { text-shadow: none; }
  .strip li:hover .pic img { transform: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-head, .indie, .site-foot, .filters, .cmp-bar, .buybox { display: none; }
  .panel { background: #fff; }
}
