/* ══════════════════════════════════════════════════════════════
   B3D — one stylesheet for every page.
   Edit here and the whole site follows.
   ══════════════════════════════════════════════════════════════ */
:root{
  --bar:#0E0E0E;
  --ink:#1A1A1A;
  --muted:#6E6E6E;
  --rule:#3A3A3A;
  --line:#E2E2E2;
  --accent:#C8C8C8;
  /* slate family, sampled from the live site. The bright values are for large
     display type; the -ink values carry anything set small. */
  --slate:#6C8EA2;        --slate-ink:#5B7995;
  --slate-band:#ACC5D5;   --slate-band-ink:#3C5260;
  --name:#5A5C58;
  --sans:"Helvetica Neue",Helvetica,Arial,"Segoe UI",sans-serif;
  --bar-h:44px;
  --stage:900px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);
  font-weight:300;font-size:16px;line-height:1.42;-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column;min-height:100vh}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid #6E6E6E;outline-offset:3px}

/* ── black bars, full bleed ── */
.topbar{background:var(--bar);height:var(--bar-h);position:sticky;top:0;z-index:60;
  display:flex;align-items:stretch;flex:0 0 auto}
.topbar__mark{width:var(--bar-h);flex:0 0 auto;display:grid;place-items:center;
  background:#fff2;text-decoration:none}
.topbar__mark img{height:26px;width:auto}
.topbar__mark .fallback{font-weight:700;font-size:.92rem;color:#fff;letter-spacing:-.04em}
.topbar nav{margin-left:auto;margin-right:auto;display:flex;align-items:stretch;
  padding-inline:18px;overflow-x:auto;scrollbar-width:none}
.topbar nav::-webkit-scrollbar{display:none}
.topbar nav a{display:flex;align-items:center;padding:0 10px;color:#fff;
  font-size:.6rem;font-weight:400;letter-spacing:.055em;text-transform:uppercase;
  text-decoration:none;white-space:nowrap;border-left:1px solid var(--rule);transition:color .15s}
.topbar nav a:first-child{border-left:0}
.topbar nav a:hover{color:var(--accent)}
.topbar nav a[aria-current="page"]{color:#8A8A8A}
@media(max-width:900px){.topbar nav{margin-right:0}.topbar nav a{padding:0 8px;font-size:.56rem}}

.page{flex:1 1 auto}
.stage{max-width:var(--stage);margin:0 auto;
  padding:clamp(16px,2.6vw,30px) 24px clamp(34px,4.6vw,62px);text-align:center}

/* ── type ── */
h1{font-weight:200;font-size:clamp(2rem,5.2vw,4rem);letter-spacing:-.035em;
  line-height:1;margin:0;color:#111}
h1.small{font-size:clamp(1.8rem,4.2vw,3rem)}
h2{font-weight:200;font-size:clamp(1.5rem,3.4vw,2.3rem);letter-spacing:-.03em;
  line-height:1.05;margin:0 0 .7rem;color:#111}
h3{font-weight:400;font-size:1.05rem;letter-spacing:-.01em;margin:0 0 .5rem;color:#111}
.blurb{max-width:52ch;margin:clamp(14px,2vw,24px) auto 0;text-align:left;
  font-size:clamp(1rem,1.6vw,1.12rem);line-height:1.38}
.blurb p{margin:0 0 1em}
.blurb p:last-child{margin-bottom:0}
/* No underline on inline links — they underline on hover instead, so they are
   still findable without cutting through the text. */
.blurb a,.mat a,.matcard a,.split a,.trio a{text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.22);transition:border-color .15s}
.blurb a:hover,.mat a:hover,.matcard a:hover,.split a:hover,.trio a:hover{
  border-bottom-color:currentColor}
.kicker{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);
  margin:clamp(24px,3.2vw,38px) 0 clamp(10px,1.4vw,16px)}

/* ── placeholders and figures ── */
.ph{border:1px dashed #D4D4D4;display:grid;place-items:center;color:#B0B0B0;
  font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;text-align:center;padding:12px}
figure{margin:0}
figcaption{font-size:.78rem;color:var(--muted);margin-top:.6rem}
.hero-mark{max-width:min(300px,48vw);margin:0 auto}
.hero-mark .ph{aspect-ratio:1/.9}
.hero-mark img{width:100%;height:auto}
/* The main image on a section page. One width, one shape, one gap above it,
   so every page opens the same way. 16:9, cropped from the centre — supply any
   size you like and it fills the frame. */
/* The main image under the lede. One rule for every page, so the gap above it
   and the shape of it cannot drift apart. 16:9, cropped from the centre — supply
   any aspect and it will fill without distorting. */
.hero-shot{max-width:560px;margin:clamp(18px,2.2vw,26px) auto 0}
.hero-shot img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;
  background:#fff;display:block}
.hero-shot .ph{aspect-ratio:1/1}
.hero-shot figcaption{margin-top:.55rem}
/* Our Products shows the kickstand whole: the image keeps its own aspect and
   sits inside the square rather than filling it. */
.hero-shot.whole img{aspect-ratio:auto!important;object-fit:contain!important;height:auto!important}
/* the lede sits the same distance above it on every page */
.blurb + .hero-shot{margin-top:clamp(18px,2.2vw,26px)}
.renders{display:flex;justify-content:center;align-items:flex-start;gap:clamp(4px,1vw,14px);
  margin-top:clamp(10px,2vw,26px);flex-wrap:wrap}
.renders figure{flex:0 1 min(330px,46vw)}
.renders .ph{aspect-ratio:4/3}
.renders img{width:100%;height:auto}
/* the CAD render is 1909x1547 and the print 875x768 — near enough square
   that letting them size naturally keeps the pair visually balanced. */
.renders figure:first-child{flex:0 1 min(360px,48vw)}
.renders figure:last-child{flex:0 1 min(320px,44vw)}

/* ── two columns of prose, text and picture ── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3.2vw,40px);
  text-align:left;margin-top:clamp(14px,2vw,24px)}
.split.wide{grid-template-columns:1fr 1.2fr}
.split.flip .pic{order:2}
.split .ph{aspect-ratio:4/3}
.split p{margin:0 0 .8em;font-size:.99rem;line-height:1.45}
.split p:last-child{margin-bottom:0}
.split ul{margin:.4em 0 .8em;padding:0;list-style:none;font-size:.98rem;line-height:1.55;color:var(--muted)}
.split li::before{content:"\2013  "}
@media(max-width:820px){.split,.split.wide{grid-template-columns:1fr}.split.flip .pic{order:0}}

/* ── three across ── */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.8vw,34px);
  text-align:left;margin-top:clamp(14px,2vw,24px)}
.trio p{margin:0;font-size:.95rem;line-height:1.45;color:var(--muted)}
@media(max-width:820px){.trio{grid-template-columns:1fr}}
/* .trio.narrow — stacked, same width as the paragraphs (contact page) */
.trio.narrow{grid-template-columns:1fr;margin-left:auto;margin-right:auto;gap:clamp(14px,1.8vw,20px);
  max-width:calc(52ch * (clamp(1rem,1.6vw,1.12rem) / 1rem))} /* = .blurb's 52ch at .blurb's font size */
.trio.narrow h3{margin-bottom:.25rem}

/* ── tile gallery ── */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(10px,1.4vw,16px);text-align:left}
.tiles .ph{aspect-ratio:4/3}
.tiles img{width:100%;aspect-ratio:4/3;object-fit:cover}
@media(max-width:860px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.tiles{grid-template-columns:1fr}}

/* ── buttons ── */
.actions{margin-top:clamp(22px,3vw,34px);display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.actions a{font-size:.66rem;letter-spacing:.11em;text-transform:uppercase;text-decoration:none;
  padding:.95em 1.7em;border:1px solid var(--ink);color:var(--ink);
  transition:background .15s,color .15s}
.actions a:hover{background:var(--ink);color:#fff}
.actions a.solid{background:var(--ink);color:#fff}
.actions a.solid:hover{background:#000}

.footbar{background:var(--bar);color:#8A8A8A;flex:0 0 auto;padding:22px 24px;
  font-size:.7rem;letter-spacing:.04em}
.footbar .in{max-width:var(--stage);margin:0 auto;display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.footbar a{color:#C8C8C8;text-decoration:none}
.footbar a:hover{color:#fff}
.footbar .sp{margin-left:auto}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}

/* ── material pages ── */
.summary{width:100%;border-collapse:collapse;margin-top:clamp(18px,2.6vw,28px);
  font-size:.88rem;text-align:left}
.summary th,.summary td{padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.summary th{font-weight:500;font-size:.66rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--muted);border-bottom:1px solid var(--ink);white-space:nowrap}
.summary td:first-child{font-weight:500;white-space:nowrap}
.summary tr:hover td{background:#FAFAFA}
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}

.mat{text-align:left;padding-block:clamp(22px,3vw,36px)}

.mat h3{font-weight:300;font-size:clamp(1.25rem,2.4vw,1.6rem);letter-spacing:-.02em;margin:0 0 .7rem}
.mat .abbr{color:var(--muted);font-size:.95rem}
.mat .body{display:grid;grid-template-columns:1fr 300px;gap:clamp(20px,3.4vw,44px);align-items:start}
.mat p{margin:0 0 .8em;font-size:.99rem;line-height:1.45;max-width:62ch}
.mat p:last-child{margin-bottom:0}
.props{width:100%;border-collapse:collapse;font-size:.86rem;margin-top:1.1rem}
.props th,.props td{padding:7px 0;border-bottom:1px solid var(--line);text-align:left}
.props th{font-weight:400;color:var(--muted);font-size:.8rem}
.props td{text-align:right;white-space:nowrap}
.props caption{text-align:left;font-size:.64rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted);padding-bottom:8px}
@media(max-width:820px){.mat .body{grid-template-columns:1fr}}

.topbar .tools{position:relative;display:flex;align-items:stretch;border-left:1px solid var(--rule)}
.topbar .tools > a{border-left:0!important}
.topbar .tools > a.on{color:#8A8A8A}
.topbar .tools i{font-style:normal;font-size:.72em;margin-left:.35em;opacity:.7}
.topbar .tools__menu{position:absolute;top:100%;left:0;min-width:190px;background:var(--bar);
  display:flex;flex-direction:column;opacity:0;visibility:hidden;transition:opacity .12s}
.topbar .tools:hover .tools__menu,.topbar .tools:focus-within .tools__menu{opacity:1;visibility:visible}
.topbar .tools__menu a{border-left:0!important;border-top:1px solid var(--rule);padding:13px 16px}
@media(max-width:900px){.topbar .tools__menu{display:none}}

/* ── service-page voice: slate headings, slate body, black-headed tables ── */
.slatehead{color:var(--slate)}
.band-q{background:var(--slate-band);margin-block:clamp(20px,3vw,34px)}
.band-q .in{max-width:var(--stage);margin:0 auto;padding:clamp(16px,2.6vw,26px) 24px;text-align:left}
.band-q h2{color:var(--slate-band-ink);font-weight:200;margin:0;
  font-size:clamp(1.4rem,3.2vw,2.1rem);letter-spacing:-.025em}

.mat h3{color:var(--name);font-weight:400;font-size:clamp(1.1rem,2vw,1.3rem);letter-spacing:0}
.mat h3 .abbr{color:#9A9A96;font-weight:300}
.mat p{color:var(--slate-ink)}
.props caption{color:var(--slate-ink);font-weight:400}
.props{border:1px solid var(--line)}
.props thead th{background:#000;color:#BFC9D4;font-weight:500;font-size:.68rem;
  letter-spacing:.05em;padding:9px 10px;border:0;text-align:center}
.props tbody td{text-align:center;padding:9px 10px;border:0;border-right:1px solid var(--line);
  color:var(--ink);font-size:.86rem}
.props tbody td:last-child{border-right:0}
.summary thead th{background:#000;color:#BFC9D4;border-bottom:0;padding:10px}
.summary td{color:var(--slate-ink)}
.summary td:first-child{color:var(--name);font-weight:500}

/* ── framed tiles ── */
.tiles figure{background:#fff;border:1px solid var(--line);padding:8px}
.tiles figure img{display:block}
.tiles figcaption{padding:0 2px;line-height:1.38}
.tiles .is-expandable{cursor:zoom-in;position:relative;transition:border-color .15s,box-shadow .15s}
.tiles .is-expandable:hover{border-color:#9A9A9A;box-shadow:0 6px 22px rgba(0,0,0,.09)}
.tiles .is-expandable::after{content:"\2922";position:absolute;top:14px;right:14px;
  width:26px;height:26px;display:grid;place-items:center;border-radius:3px;
  background:rgba(14,14,14,.72);color:#fff;font-size:13px;opacity:0;transition:opacity .15s;
  pointer-events:none}
.tiles .is-expandable:hover::after,.tiles .is-expandable:focus-visible::after{opacity:1}

/* ── the expanded view ── */
.expand{position:fixed;inset:0;z-index:200;background:rgba(10,10,10,.94);
  display:none;align-items:center;justify-content:center;padding:clamp(38px,6vw,72px)}
.expand.is-open{display:flex}
.expand__fig{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;
  align-items:center;gap:14px}
.expand__fig img{max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;
  background:#fff}
.expand__fig figcaption{color:#D8D8D8;font-size:.86rem;text-align:center;max-width:60ch;line-height:1.5}
.expand__fig figcaption b{color:#fff;font-weight:500}
.expand__x,.expand__nav{position:absolute;background:none;border:0;color:#fff;cursor:pointer;
  font-family:inherit;line-height:1;padding:10px 14px;opacity:.72;transition:opacity .15s}
.expand__x:hover,.expand__nav:hover{opacity:1}
.expand__x{top:12px;right:16px;font-size:30px}
.expand__nav{top:50%;transform:translateY(-50%);font-size:44px}
.expand__prev{left:6px} .expand__next{right:6px}
.expand__count{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);
  color:#9A9A9A;font-size:.72rem;letter-spacing:.12em}
@media(max-width:620px){.expand{padding:52px 8px}.expand__nav{font-size:32px}}
@media(prefers-reduced-motion:reduce){.tiles .is-expandable{transition:none}}

/* a machine and its output, side by side */
.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:1.1rem}
.pair figure{margin:0}
.pair img{width:100%;height:auto;background:#fff}
.pair figcaption{font-size:.74rem;line-height:1.55;margin-top:.7rem}
@media(max-width:520px){.pair{grid-template-columns:1fr}}

/* ── material cards: photo, description, specs, pros and cons ── */
.matcard{display:grid;grid-template-columns:230px 1fr;gap:clamp(18px,3vw,36px);
  text-align:left;padding-block:clamp(24px,3.2vw,40px);border-top:1px solid var(--line)}
.matcard:first-of-type{border-top:0}
.matcard .shot .ph{aspect-ratio:1/1}
.matcard .shot img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#fff}
.matcard h3{font-weight:500;font-size:clamp(1.15rem,2.2vw,1.42rem);color:var(--name);
  letter-spacing:-.01em;margin:0 0 .15rem}
.matcard .full{font-size:.82rem;color:#9A9A96;margin:0 0 .8rem}
.matcard p{margin:0 0 .8em;font-size:.97rem;line-height:1.45;color:var(--slate-ink);max-width:62ch}
.specs{display:flex;flex-wrap:wrap;gap:0;margin:1rem 0 1.1rem;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.specs div{flex:1 1 140px;padding:9px 14px 9px 0}
.specs span{display:block;font-size:.6rem;letter-spacing:.13em;text-transform:uppercase;
  color:#A4A4A0;margin-bottom:2px}
.specs b{font-weight:400;font-size:.92rem;color:var(--ink)}
.pc{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.4vw,30px)}
.pc h4{margin:0 0 .4rem;font-size:.62rem;letter-spacing:.15em;text-transform:uppercase;font-weight:500}
.pc .pro h4{color:#2E7D4F}
.pc .con h4{color:#B0543F}
.pc ul{margin:0;padding:0;list-style:none;font-size:.9rem;line-height:1.45;color:var(--slate-ink)}
.pc li{padding-left:15px;position:relative;margin:.22em 0}
.pc .pro li::before{content:"+";position:absolute;left:0;color:#2E7D4F}
.pc .con li::before{content:"\2013";position:absolute;left:0;color:#B0543F}
@media(max-width:760px){.matcard{grid-template-columns:1fr}.matcard .shot{max-width:200px}}
@media(max-width:520px){.pc{grid-template-columns:1fr}}

/* pictures at the top of each column in a two-column split */
.split section > figure{margin:0 0 .9rem}
.split section > figure img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#fff}
.split section > figure figcaption{font-size:.74rem;margin-top:.4rem}
.split section > .pair{gap:14px;margin-bottom:1.6rem}
.split section > .pair img{aspect-ratio:1/1;object-fit:cover}
.split section > .pair figcaption{font-size:.72rem;line-height:1.55;margin-top:.7rem}

/* the UNRULY mark on the products page — a link, so it gets a hover cue */
.brand-mark{display:block;width:min(108px,28vw);margin:clamp(18px,2.6vw,30px) auto 0;
  border-bottom:0!important;opacity:.92;transition:opacity .15s}
.brand-mark:hover{opacity:1}
.brand-mark img{width:100%;height:auto}

/* Centring is for single lines only — a heading, a kicker, a row of buttons.
   Anything that wraps is left-aligned, because a ragged left edge makes the eye
   hunt for the start of every line. */
figcaption{text-align:left}
.stage > p:not(.kicker){text-align:left;max-width:52ch;margin-left:auto;margin-right:auto}

/* A quiet link in the eye hole of the printed housing on the home page.
   Invisible, no hover cue, but reachable by keyboard and announced to screen
   readers — hidden from casual view, not from people who need it.
   To move it: change --x and --y (percentages across and down the image). */
.hotspot-host{position:relative;display:block}
.hotspot{position:absolute;left:var(--x,80%);top:var(--y,78%);
  width:var(--d,9%);aspect-ratio:1/1;transform:translate(-50%,-50%);
  border-radius:50%;border-bottom:0!important;cursor:default}
.hotspot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}