@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --ink: light-dark(#203731, #fffaeb);
  --paper: light-dark(#fffaf0, #191c3b);
  --stock: light-dark(#ecf0dc, #24264d);
  --panel: light-dark(#fffdf6, #252849);
  --desk: light-dark(#edf2dc, #222645);
  --stroke: light-dark(#203731, #7e88ae);
  --line: light-dark(#586c61, #7782a8);
  --grid: light-dark(#44663f14, #75b7d21e);
  --shade: light-dark(#203731, #101126);
  --accent: light-dark(#ffb612, #f3f186);
  --accent-ink: light-dark(#203731, #191c3b);
  --button: light-dark(#203731, #42c4de);
  --button-ink: light-dark(#fffaf0, #191c3b);
  --feature: light-dark(#203731, #131631);
  --feature-ink: light-dark(#fffaf0, #fffaeb);
  --feature-label: light-dark(#ffda65, #fa78a9);
  --detail: light-dark(#946500, #fa78a9);
  --field: light-dark(#fffdf8, #1a1d3b);
  --checked: light-dark(#f8e7a9, #3c5474);
  --focus: light-dark(#845507, #f3f186);
  --glyph-ink: #203731;
  --display: Bricolage, Inter, sans-serif;
}
:root[data-appearance="light"] { color-scheme: light; }
:root[data-appearance="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 Inter, Arial, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(89%, 80rem); margin-inline: auto; }
.skip, .sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { top: 1rem; left: 1rem; width: auto; height: auto; padding: .75rem; z-index: 10; background: var(--paper); clip-path: none; }

header { background: var(--paper); border-bottom: 2px solid var(--stroke); }
.footer, .footer-controls, nav, .brand { display: flex; align-items: center; }
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .35rem;
}
.brand { display: inline-flex; flex: none; text-decoration: none; }
.brand img { width: clamp(6.7rem, 10vw, 8.6rem); }
.mast .brand img { width: clamp(6.15rem, 9vw, 7.35rem); }
nav { gap: clamp(1rem, 2.4vw, 2.2rem); font-size: .875rem; font-weight: 650; }
nav a { text-decoration: none; }
.mast-nav { gap: clamp(1rem, 1.75vw, 1.6rem); }
.mast-nav-link { padding-block: .55rem; white-space: nowrap; }
nav a:hover, .text-link:hover, .service-body a:hover { text-decoration: underline; text-underline-offset: .22em; }
.theme-toggle {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--paper);
}
.theme-toggle:not([hidden]) { display: grid; place-items: center; }
.theme-toggle:hover { background: var(--stock); }
.theme-moon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  box-shadow: -.23rem .15rem 0 currentColor;
  transform: translate(.13rem, -.09rem);
}
.theme-sun {
  display: none;
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  background: radial-gradient(circle, currentColor 30%, transparent 33%);
}
.theme-sun::before, .theme-sun::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(currentColor, currentColor) center top / .085rem .18rem no-repeat,
    linear-gradient(currentColor, currentColor) center bottom / .085rem .18rem no-repeat,
    linear-gradient(currentColor, currentColor) left center / .18rem .085rem no-repeat,
    linear-gradient(currentColor, currentColor) right center / .18rem .085rem no-repeat;
}
.theme-sun::after { transform: rotate(45deg); }
.theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: block; }
.nav-cta, .primary { display: inline-flex; align-items: center; justify-content: center; gap: .95em; min-height: 44px; border: 2px solid var(--stroke); border-radius: .55rem; font-weight: 740; text-decoration: none; }
.nav-cta { padding: .45rem .9rem; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.primary { background: var(--button); color: var(--button-ink); box-shadow: 3px 3px 0 var(--shade); padding: .77rem 1.15rem; }
.primary:hover, .nav-cta:hover { transform: translateY(-2px); text-decoration: none; }
.hero {
  background-color: var(--stock);
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 2px solid var(--stroke);
}
.hero-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(2rem, 4.7vw, 5.5rem); padding-block: clamp(3.9rem, 6vw, 6.2rem); }
.eyebrow, .micro { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-weight: 700; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .62rem; font-size: .76rem; line-height: 1.25; letter-spacing: .10em; }
.place-pin { display:inline-block; position:relative; width: .85rem; height: .85rem; margin: 0 .15rem .18rem .13rem; border-radius: 65% 65% 65% 0; transform:rotate(-45deg); background:var(--button); }
.place-pin::after { content:""; position:absolute; top:29%; left:29%; width:42%; height:42%; border-radius:50%; background:var(--stock); }
.registration { width:1.02rem; height:1.02rem; display:inline-block; background:linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor,currentColor) center / 2px 100% no-repeat; }
h1, h2, h3, .sample-meta strong, .ticket-head strong { font-family: var(--display); }
h1, h2 { word-spacing: .065em; }
h1 { font-size: clamp(4.8rem, 8.55vw, 8.25rem); line-height: .88; letter-spacing: -.041em; font-weight: 800; margin: .22em 0 .23em; }
h1 em {
  display: inline-block;
  color: var(--accent);
  font-style: normal;
  letter-spacing: -.026em;
  filter:
    drop-shadow(-1px 0 0 var(--shade))
    drop-shadow(0 -1px 0 var(--shade))
    drop-shadow(1px 1px 0 var(--shade))
    drop-shadow(2px 3px 0 var(--shade));
}
.lead { max-width: 29rem; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.actions { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); margin-top: 1.65rem; flex-wrap: wrap; }
.text-link { font-size: .94rem; font-weight: 700; text-underline-offset: .25em; }
.sample { overflow: hidden; transform: rotate(1.35deg); background: var(--panel); border: 2px solid var(--stroke); border-radius: 1rem; box-shadow: 6px 7px 0 var(--shade); scroll-margin-top: 1.5rem; }
.sample-image { position: relative; background: #f69a57; }
.sample-image img { width: 100%; aspect-ratio: 1.51; object-fit: cover; }
.sample-tag { font-family: ui-monospace, monospace; letter-spacing: .03em; position: absolute; top: .9rem; left: 1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .65rem; border: 1.6px solid var(--stroke); border-radius: .35rem; background: var(--panel); font-size: .75rem; font-weight: 740; box-shadow: 1px 1px 0 var(--shade); }
.sample-tag::before { content: ""; width: .62rem; height: .63rem; border-block: 3px solid var(--detail); box-sizing: border-box; }
.sample figcaption { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .92rem 1.2rem; border-top: 2px solid var(--stroke); }
.sample-meta { display: grid; gap: .18rem; }
.micro { display: block; font-size: .75rem; line-height: 1.25; letter-spacing: .11em; }
.sample-meta strong { font-size: clamp(1.1rem, 1.7vw, 1.56rem); line-height: 1.13; letter-spacing: -.045em; }
.sample-controls, .filters { display: flex; align-items: center; gap: .28rem; }
.sample-controls button, .filters button { background: transparent; border: 1.5px solid transparent; border-radius: 2rem; white-space: nowrap; font-size: .81rem; font-weight: 650; padding: .34rem .65rem; min-height: 2.2rem; }
.sample-controls { padding: .16rem; gap: .06rem; border: 1.5px solid var(--stroke); border-radius: 2rem; }
.sample-controls button[aria-pressed="true"], .filters button[aria-pressed="true"] { background: var(--button); color: var(--button-ink); }
.sample-controls button:hover, .filters button:hover { border-color: var(--ink); }
.shop { padding-block: clamp(3.35rem, 6vw, 5.8rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
h2 { font-size: clamp(3.1rem, 5.5vw, 5.2rem); line-height: .94; font-weight: 800; letter-spacing: -.053em; }
.section-head h2, .brief h2 { margin-top: .28em; }
.filters { flex-wrap: wrap; }
.filters button { border-color: var(--stroke); padding-inline: .82rem; }
.shop-grid { display: grid; align-items: start; grid-template-columns: .86fr 1.14fr; gap: clamp(1.8rem, 4vw, 4rem); }
.desk { background: var(--desk); border: 2px solid var(--stroke); border-radius: .9rem; overflow: hidden; }
.desk-photo { border-bottom: 2px solid var(--stroke); }
.desk-photo img { aspect-ratio: 1.36; object-fit: cover; }
.desk figcaption { padding: 1.35rem 1.5rem 1.5rem; }
.desk h3 { font-size: clamp(1.7rem, 2.5vw, 2.45rem); font-weight: 800; letter-spacing: -.065em; line-height: 1; margin: .32em 0; }
.desk p { max-width: 41ch; font-size: .94rem; }
.service-menu { border-top: 2px solid var(--stroke); }
.service { border-bottom: 1.5px solid var(--line); }
.service[hidden] { display: none; }
.service summary { display: flex; align-items: center; gap: 1rem; padding: .87rem .15rem; list-style: none; }
.service summary::-webkit-details-marker { display: none; }
.service summary:hover .service-name b { text-decoration: underline; text-underline-offset: .17em; }
.service-name { flex: 1; }
.service-name b { display: block; font: 760 clamp(1.1rem, 1.55vw, 1.48rem)/1.18 var(--display); letter-spacing: -.048em; }
.service-name small { display: block; font-size: .82rem; margin-top: .17rem; line-height: 1.45; }
.opener { position: relative; flex: none; width: 1.45rem; height: 1.45rem; }
.opener::before, .opener::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: .85rem; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.opener::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .opener::after { display: none; }
.glyph { --ink: var(--glyph-ink); --paper: #fffaf0; display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border: 1.5px solid var(--ink); border-radius: .62rem; background: #a3d6f0; }
.glyph::before { content: ''; display: block; width: 1.2rem; height: 1.2rem; background: var(--ink); }
.layers::before { transform: skew(-18deg) rotate(-10deg); height: .65rem; border: 2px solid var(--ink); background: var(--paper); box-shadow: 2px 3px var(--ink); }
.glyph.sun { background: #ffd569; }
.glyph.sun::before { border: 2px dotted var(--ink); background: var(--ink); background-clip: content-box; padding: 2px; border-radius: 50%; width: .9rem; height: .9rem; }
.spark { background: #ffae97; } .spark::before { clip-path: polygon(50% 0,62% 36%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 36%); }
.stack { background: #9edbc5; } .stack::before { height: 1.3rem; clip-path: polygon(50% 0,99% 24%,50% 47%,1% 24%,1% 38%,50% 62%,99% 38%,99% 51%,50% 77%,1% 51%,1% 65%,50% 92%,99% 65%,99% 80%,50% 100%,0 78%,0 24%); }
.paper { background: #c7b9ed; } .paper::before { width: .87rem; height: 1.13rem; border: 2px solid var(--ink); transform: rotate(-12deg); background: linear-gradient(var(--paper) 40%, var(--ink) 40% 50%, var(--paper) 50% 63%, var(--ink) 63% 73%, var(--paper) 73%); }
.tee { background: #f9c1d2; } .tee::before { clip-path: polygon(29% 4%,40% 12%,60% 12%,71% 4%,100% 26%,84% 49%,72% 39%,72% 96%,28% 96%,28% 39%,16% 49%,0 26%); }
.roll { background: #ffce77; } .roll::before { width: .96rem; height: .76rem; transform: rotate(-23deg); border-radius: 35% 18% 18% 35%; border: 2px solid var(--ink); background: linear-gradient(90deg,var(--paper) 26%,var(--ink) 26% 39%,var(--paper) 39%); }
.service-body { margin: -.05rem 2.1rem 1.1rem 3.65rem; font-size: .91rem; }
.service-body a { display: inline-block; font-weight: 680; padding: .55rem 0 .15rem; text-underline-offset: .22em; }
.brief { padding-block: clamp(3.4rem, 6.5vw, 6.25rem); background: var(--feature); color: var(--feature-ink); border-block: 2px solid var(--stroke); }
.brief-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: start; gap: clamp(2rem, 5vw, 6rem); }
.brief .eyebrow { color: var(--feature-label); }
.brief h2 { color: var(--feature-ink); }
.brief-intro > p:last-child { font-size: 1.06rem; max-width: 35ch; margin-top: 1.5rem; }
.job-ticket { padding: clamp(1.25rem, 3vw, 2.4rem); color: var(--ink); background: var(--panel); border: 2px solid var(--stroke); border-radius: .75rem; box-shadow: 5px 6px 0 var(--accent); }
.ticket-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.1rem; border-bottom: 1.5px dashed var(--line); }
.ticket-head strong { font-size: 1.8rem; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.perforations { width: 2.4rem; height: .6rem; margin-left: auto; background: radial-gradient(circle, var(--ink) 2px, transparent 2.5px) 0 center / .7rem 100%; }
.job-ticket fieldset { border: none; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
.job-ticket legend, .job-ticket > label, .fields label { font-size: .9rem; font-weight: 680; }
.job-ticket legend { padding: 0 0 .45rem; }
.choices { display: flex; flex-wrap: wrap; gap: .42rem; }
.choices label { display: flex; align-items: center; position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: block; border: 1px solid var(--line); border-radius: .55rem; padding: .41rem .65rem; font-size: .79rem; line-height: 1.35; }
.choices span::before { content: '+'; font-weight: 750; margin-right: .38em; }
.choices input:checked + span { border-color: var(--ink); background: var(--checked); box-shadow: inset 0 0 0 1px var(--ink); }
.choices input:checked + span::before { content: '✓'; }
.choices input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; margin-bottom: .85rem; }
.fields small { font-weight: 400; }
.fields label, .job-ticket > label { display: block; }
.fields input, textarea { display: block; width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: .45rem; padding: .55rem .7rem; margin-top: .3rem; background: var(--field); font-size: .94rem; font-weight: 400; }
input::placeholder, textarea::placeholder { color: var(--ink); opacity: .7; }
textarea { resize: vertical; }
.job-ticket .primary { margin-top: 1rem; }
.form-status { margin-top: .75rem; font-size: .85rem; font-weight: 620; }
.form-status:empty { display: none; }
.footer { justify-content: space-between; gap: 1.25rem; padding-block: 1.65rem; }
.footer-controls { gap: clamp(1rem, 3vw, 2.4rem); }
.footer-controls nav a { white-space: nowrap; }
.shop-signature p { font-size: .82rem; margin-top: .55rem; }
.shop-signature p span { margin-inline: .28em; color: var(--line); }
@media (max-width: 920px) {
  .hero-grid { gap: 2rem; grid-template-columns: .86fr 1.14fr; }
  .sample figcaption { flex-wrap: wrap; }
  .sample-controls button { padding-inline: .5rem; }
  .shop-grid { gap: 1.8rem; grid-template-columns: .82fr 1.18fr; }
  .actions { gap: .9rem 1.15rem; }
}
@media (max-width: 740px) {
  .wrap { width: min(89%, 37rem); }
  .hero-grid, .shop-grid, .brief-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.7rem 3.2rem; gap: 2.15rem; }
  h1 { font-size: clamp(3.65rem, 19vw, 7.2rem); }
  .sample { transform: rotate(.9deg); }
  .sample figcaption { padding: .8rem .9rem; }
  .section-head { flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1.35rem; }
  .shop-grid { gap: 1.8rem; }
  .desk { grid-row: 2; }
  .desk-photo img { aspect-ratio: 1.5; }
  .brief-grid { gap: 1.75rem; }
  .brief-intro > p:last-child { margin-top: 1rem; }
  .footer { align-items: flex-start; flex-direction: column; }
  .footer-controls { justify-content: space-between; width: 100%; gap: .75rem; flex-wrap: wrap; }
  .footer-controls nav { gap: .85rem; }
  .footer-controls .theme-toggle { margin-inline-start: auto; }
  .filters button, .sample-controls button { min-height: 2.5rem; }
}
@media (max-width: 560px) {
  .mast-nav-link { display: none; }
}
@media (max-width: 420px) {
  .mast { gap: .6rem; }
  .nav-cta { min-height: 2.55rem; padding: .38rem .65rem; font-size: .78rem; }
  .sample figcaption { align-items: flex-start; gap: .48rem; }
  .sample-meta strong { font-size: 1.15rem; }
  .sample-controls button { padding-inline: .44rem; min-height: 1.95rem; font-size: .75rem; }
  .service summary { gap: .7rem; }
  .service-body { margin-left: 3.35rem; }
  .fields { gap: .55rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .primary, .nav-cta { transition: transform .15s ease; }
}

