/* Accurate Cutting Solutions — the site, built 2026-11-03 on round six; the turning panel rebuilt 2026-11-04 on round one's piece.
   Two mono label styles carry every small label outside the panel:
   .eyebrow / .block-label = 700 16px, .06em;  the plain label (numbers, captions, ledger) = 400 16px, .04em. */
:root {
  --paper: #ece3cf;
  --paper-light: #f5efdf;
  --paper-deep: #d8cdb6;
  --ink: #273132;
  --ink-soft: #555e59;
  --copper: #a95f3d;
  --red: #9c392d;
  --blue: #274e58;
  --blue-deep: #1e383e;
  --focus: #12677b;
  --rule: rgba(39, 49, 50, .23);
  --mono: "Consolas", "Courier New", monospace;
  --sans: "Arial", "Helvetica Neue", sans-serif;
  --display: "Arial Narrow", "Helvetica Neue", "Arial", sans-serif;
  --gutter: 6%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: #cfc4ad;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 5px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
::selection { color: var(--paper-light); background: var(--red); }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--blue-deep);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  overflow: clip;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 14% 4%, rgba(255,255,255,.5), transparent 26%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(62,54,39,.012) 3px 4px);
  border-inline: 1px solid rgba(39,49,50,.18);
}

.site-header {
  min-height: 92px;
  padding: 17px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--rule);
}
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 13px; color: var(--blue); text-decoration: none; }
.brand img { width: 49px; height: 49px; }
.brand-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.site-nav a {
  min-height: 44px;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  font: 700 16px/1.2 var(--sans);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:not(.nav-contact) { border-bottom: 1px solid transparent; }
.site-nav a:not(.nav-contact):hover { border-bottom-color: var(--copper); }
.site-nav .nav-contact { padding: 13px 17px; gap: 16px; color: var(--paper-light); background: var(--blue); border: 1px solid var(--blue); }
.menu-toggle { display: none; }
.button-filled { transition: transform .18s ease, opacity .18s ease; }
.button-filled:hover { transform: translateY(-2px); opacity: .88; }

.hero {
  position: relative;
  min-height: 850px;
  padding: 58px var(--gutter) 48px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 48%, black);
}
.hero-copy { position: relative; z-index: 2; padding: 25px 0 35px; }
.eyebrow, .label-style {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font: 700 16px/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.block-label {
  margin: 0 0 18px;
  padding: 0;
  color: var(--ink);
  font: 700 16px/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nowrap { white-space: nowrap; }
.index-dot { width: 8px; height: 8px; flex: 0 0 auto; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 5px rgba(156,57,45,.1); }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; }
h1 {
  margin: 0 0 22px -.055em;
  font-size: clamp(76px, 8.4vw, 126px);
  line-height: .81;
  letter-spacing: -.075em;
}
h1 em { color: var(--red); font-style: normal; font-weight: 300; letter-spacing: -.065em; }
.hero-price { margin-bottom: 23px; font-size: 20px; font-weight: 700; line-height: 1.45; }
.hero-intro { max-width: 490px; margin-bottom: 30px; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button {
  min-height: 52px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid currentColor;
  font: 700 16px/1.3 var(--sans);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.button-primary { color: var(--paper-light); background: var(--red); border-color: var(--red); }
.button-primary span { color: #f2c5a7; }
.button-outline { color: var(--ink); background: transparent; }
.button-outline:hover { background: rgba(39,49,50,.07); }
.text-link { min-height: 44px; padding: 10px 0; display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }
.text-link span, .hero-materials a span { color: var(--red); }
.hero-materials { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-materials a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font: 16px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }

/* FIG. 01, the turning panel: round one's piece back at the top, made true to the shop's own panel.
   The script builds the model from flat faces in one 3D scene (no images); the drawing frame is round one's, centred on the turn. */
.hero-drawing { position: relative; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.drawing-label { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 0 14px; font: 16px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.drawing-label span { color: var(--red); }
.model-viewport { --model-scale: 1; position: relative; height: 560px; min-width: 0; overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.model-viewport.is-turning { cursor: grabbing; }
.model-viewport:focus-visible { outline-offset: -3px; }
.construction-lines { position: absolute; top: 50%; left: 50%; width: calc(580px * var(--model-scale)); height: calc(520px * var(--model-scale)); max-width: none; color: var(--ink-soft); transform: translate(-50%, -50%); pointer-events: none; }
.construction-lines .marks { font: 11px var(--mono); letter-spacing: .1em; }
.model-scene { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1050px; perspective-origin: 50% 50%; pointer-events: none; }
.panel-model { position: relative; width: 235px; height: 290px; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-31deg); }
.panel-group { position: absolute; inset: 0; transform-style: preserve-3d; }
.face { position: absolute; top: 0; left: 0; transform-origin: 0 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: auto; }
.shade { position: absolute; inset: 0; background: #18211f; opacity: 0; pointer-events: none; }
.sheet-face { border: 1px solid rgba(39,49,50,.78); background: radial-gradient(circle at 22% 18%, rgba(255,255,255,.75), transparent 27%), linear-gradient(125deg, #e6e2d6 0%, #a9b0ad 30%, #e8e2d2 49%, #8d9998 72%, #d5d2c7 100%); }
.sheet-return { border: 1px solid rgba(39,49,50,.72); background: linear-gradient(90deg, #b8bcb4, #e8e3d5 42%, #a5aeab 78%, #cfcdc2); }
.cut-skin { background: #e2ddd0; }
.core-floor { border: 1px solid rgba(58,46,35,.55); background: linear-gradient(135deg, #c48c62, #b7825c 55%, #a8744f); }
.cut-core { background: #9c6544; }
.back-floor { border: 1px solid rgba(39,49,50,.6); background: linear-gradient(110deg, #526568 25%, #708487 50%, #526568 75%); }
.frame-face { border: 1px solid rgba(39,49,50,.72); background: linear-gradient(90deg, #8e9e9f, #d3d7cf 48%, #93a2a3); }
.frame-top { background: linear-gradient(180deg, #d5d8cf 0 34%, #7c8e90 34% 42%, #c3c9c2 42% 100%); }
.clip-face { border: 1px solid rgba(39,49,50,.78); background: linear-gradient(90deg, #6f8486, #bfc6c0 50%, #758a8c); }
.clip-top { background: linear-gradient(180deg, #c6ccc5 0 55%, #5f7476 55% 66%, #aeb7b2 66% 100%); }
.cast-shadow { position: absolute; top: 0; left: 0; transform-origin: 0 0; border-radius: 30px; background: rgba(39,42,37,.07); box-shadow: 0 0 30px 12px rgba(39,42,37,.08); pointer-events: none; }
.leader-lines { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.leader-lines line { stroke: var(--ink-soft); stroke-width: 1.2; }
.leader-lines circle { fill: var(--paper); stroke: var(--ink-soft); stroke-width: 1.2; }
.model-note { position: absolute; z-index: 5; top: 0; left: 0; min-height: 36px; padding: 6px 2px; display: flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--ink-soft); background: var(--paper); border: 0; border-bottom: 1px solid transparent; font: 16px/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.model-note:hover { color: var(--ink); border-bottom-color: var(--copper); }
.model-note.is-selected { color: var(--ink); border-bottom-color: var(--blue); }
.note-letter { color: var(--red); font-weight: 700; }
.part-explainer { position: absolute; z-index: 8; top: 0; left: 0; width: 270px; padding: 10px 12px 12px; color: var(--ink); background: var(--paper-light); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 18px; line-height: 1.45; }
.is-measuring .model-note, .is-measuring .part-explainer { pointer-events: none; }
.words-name { display: block; margin-bottom: 4px; color: var(--ink-soft); font: 16px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.part-line { order: 1; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule); font-size: 18px; line-height: 1.45; }
.part-line .words-name { display: inline; margin: 0 10px 0 0; color: var(--red); }
.part-line.is-hint { color: var(--ink-soft); }
.model-controls { margin-top: 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.view-buttons { grid-column: 2; display: flex; gap: 8px; }
.view-buttons button { min-height: 44px; padding: 10px 16px; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--rule); font: 16px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.view-buttons button:hover { color: var(--ink); border-color: var(--ink-soft); }
.view-buttons button[aria-pressed="true"] { color: var(--paper-light); background: var(--blue); border-color: var(--blue); }
.turn-back { grid-column: 3; justify-self: start; min-height: 44px; padding: 8px 0; color: var(--ink); background: transparent; border: 0; font-size: 16px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 5px; visibility: hidden; }
.turn-back.is-shown { visibility: visible; }
.drawing-instruction { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; color: var(--ink-soft); font: 16px/1.5 var(--mono); letter-spacing: .02em; }

.section-pad { padding: 92px var(--gutter); }
.section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 30px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { font-size: clamp(45px, 5.2vw, 76px); line-height: .94; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 530px; color: var(--ink-soft); line-height: 1.65; }
/* How an order moves: four steps on one drawn line, each step's node sitting on the line. */
.order-flow { margin-bottom: 64px; }
.flow-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; counter-reset: none; }
.flow-step { position: relative; min-width: 0; padding: 30px 28px 0 0; border-top: 1px solid var(--ink); }
.flow-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--red); border-radius: 50%; }
.flow-step::after { content: ""; position: absolute; top: -2px; left: 4px; width: 3px; height: 3px; background: var(--red); border-radius: 50%; }
.flow-number { display: block; margin-bottom: 10px; color: var(--red); font: 16px/1.4 var(--mono); letter-spacing: .04em; }
.flow-name { font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; }
.flow-note { margin-top: 12px; color: var(--ink-soft); }
.flow-link { min-height: 44px; margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.flow-link span { color: var(--red); }

/* The machines, beside the shop's own floor photos. */
.shop-floor { margin-bottom: 64px; }
.machine-list { margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.machine-list li { min-width: 0; min-height: 76px; padding: 14px 16px 14px 0; display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; gap: 4px 10px; }
.machine-list li + li { padding-left: 16px; border-left: 1px solid var(--rule); }
.machine-number { flex: 0 0 100%; color: var(--red); font: 16px/1.4 var(--mono); letter-spacing: .04em; }
.machine-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.machine-count { color: var(--ink-soft); font: 16px/1.3 var(--mono); letter-spacing: .04em; }
.shop-photos { display: flex; gap: 14px; }
/* Each photo grows by its own shape over an 18 px base (its padding and border), so all three stand the same height. */
.shop-photo { flex: var(--ratio) 1 18px; min-width: 0; }
.shop-photo-button { position: relative; width: 100%; padding: 8px; display: block; color: var(--ink); background: var(--paper-light); border: 1px solid var(--ink); box-shadow: 5px 6px 0 rgba(39,49,50,.1); }
.shop-photo-button:hover { outline: 2px solid var(--copper); outline-offset: 3px; }
.shop-photo-button picture { display: block; aspect-ratio: var(--ratio); background: var(--paper-deep); }
.shop-photo-button img { width: 100%; height: 100%; object-fit: contain; }
.shop-photo figcaption { padding-top: 10px; display: flex; gap: 12px; align-items: baseline; font-size: 18px; font-weight: 700; line-height: 1.35; }
.caption-index { flex: 0 0 auto; color: var(--red); font: 400 16px/1.4 var(--mono); letter-spacing: .04em; }

.service-ledger { border-top: 1px solid var(--ink); }
.service-ledger details { border-bottom: 1px solid var(--rule); }
.service-ledger summary {
  min-height: 88px;
  display: grid;
  grid-template-columns: 70px 1fr 24px;
  align-items: center;
  gap: 14px;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.service-ledger summary::-webkit-details-marker { display: none; }
.service-number { color: var(--red); font: 16px/1.2 var(--mono); letter-spacing: .04em; }
.summary-action { position: relative; width: 24px; height: 24px; justify-self: end; }
.summary-action::before, .summary-action::after { content: ""; position: absolute; top: 11px; left: 2px; width: 20px; height: 1px; background: currentColor; transition: transform .2s ease; }
.summary-action::after { transform: rotate(90deg); }
details[open] .summary-action::after { transform: rotate(0); }
.service-detail { padding: 0 0 28px 84px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.service-detail p { max-width: 680px; color: var(--ink-soft); }
.service-detail a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 16px; font-weight: 700; }

.materials {
  color: #e8e3d4;
  background-color: var(--blue-deep);
  background-image: linear-gradient(rgba(232,227,212,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(232,227,212,.055) 1px, transparent 1px);
  background-size: 54px 54px;
}
.materials .eyebrow { color: #c6cec5; }
.materials-heading { margin-bottom: 46px; }
/* One column per material at every width. Under each drawing and name come its own answers to the buyer's
   questions, each question said once across both; then each material's work; then the ACM system across the width. */
.materials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.question-column, .material-item { display: contents; }
.question-column h3 {
  grid-column: 1 / -1;
  padding: 30px 0 8px;
  color: #e8e3d4;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.question-what { grid-row: 4; }
.question-cut { grid-row: 6; }
.question-shapes { grid-row: 8; }
.question-finish { grid-row: 10; }
.material-diagram { position: relative; grid-row: 1; height: 340px; min-width: 0; scroll-margin-top: 24px; }
.material-acm > * { grid-column: 1; }
.material-cement > * { grid-column: 2; }
.material-code { grid-row: 2; margin: 14px 0 10px; color: #d78c64; font: 16px/1.5 var(--mono); letter-spacing: .04em; }
.material-item > h3 { grid-row: 3; margin-bottom: 12px; font-family: var(--display); font-size: 37px; line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; }
.material-item > .material-work-link { grid-row: 12; justify-self: start; align-self: start; margin-top: 20px; }
/* The ACM system: its sentence beside its four points, its parts under both. */
.material-acm > .material-intro { grid-row: 13; grid-column: 1 / -1; margin-top: 40px; padding-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: 28px; border-top: 1px solid rgba(232,227,212,.35); }
.material-intro { min-width: 0; color: #d0d4c9; }
.material-intro > p { color: #e8e3d4; }
.material-intro > .system-points { margin-top: 0; }
.material-intro > .system-parts { grid-column: 1 / -1; margin-top: 26px; }
.material-intro > .system-parts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.system-points { margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; color: #e8e3d4; font: 16px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.system-points li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.system-points li::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; background: #d78c64; }
.system-parts { margin-top: 14px; border-top: 1px solid rgba(232,227,212,.24); border-bottom: 1px solid rgba(232,227,212,.24); }
.system-parts summary { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 12px; list-style: none; color: #e8e3d4; font-size: 18px; font-weight: 700; cursor: pointer; }
.system-parts summary::-webkit-details-marker { display: none; }
.system-parts .summary-action { color: #d78c64; }
.system-parts ul { margin: 0; padding: 0 0 16px; display: grid; gap: 6px; list-style: none; color: #d0d4c9; font-size: 18px; line-height: 1.5; }
.system-parts ul li { position: relative; padding-left: 18px; }
.system-parts ul li::before { content: ""; position: absolute; top: .62em; left: 0; width: 6px; height: 6px; background: #d78c64; }
.material-work-link { min-height: 44px; margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; color: #e8e3d4; font-size: 16px; font-weight: 700; }
.material-work-link span { color: #d78c64; }
.answer-tag { display: none; }
.material-answer { min-width: 0; padding: 12px 0 22px; border-bottom: 1px solid rgba(232,227,212,.24); color: #e8e3d4; }
.material-answer > p, .material-answer summary { font-size: 18px; font-weight: 700; line-height: 1.45; }
.material-answer summary { min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: start; gap: 12px; list-style: none; cursor: pointer; }
.material-answer summary::-webkit-details-marker { display: none; }
.material-answer .summary-action { color: #d78c64; }
.material-answer details p { margin-top: 12px; color: #d0d4c9; font-size: 18px; font-weight: 400; line-height: 1.55; }
.answer-what { grid-row: 5; }
.answer-cut { grid-row: 7; }
.answer-shapes { grid-row: 9; }
.answer-finish { grid-row: 11; }
.materials-note { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #d0d4c9; }
.materials-note a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #e8e3d4; white-space: nowrap; font-size: 16px; font-weight: 700; }

.acm-scene { position: absolute; inset: 15px 0 35px; display: grid; place-items: center; perspective: 1000px; }
.acm-stack { position: relative; width: 190px; height: 145px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-31deg); }
.acm-layer { position: absolute; inset: 0; border: 1px solid rgba(232,227,212,.65); transform-style: preserve-3d; }
.acm-face { transform: translateZ(75px); background: linear-gradient(125deg, #e6e2d6, #a9b0ad 42%, #e8e2d2 65%, #8d9998); box-shadow: 18px 24px 24px rgba(0,0,0,.2); }
.acm-core { transform: translateZ(0); background: #b7825c; }
.acm-back { transform: translateZ(-75px); background: #526568; }
.acm-core-edge { position: absolute; top: 100%; left: 0; width: 100%; height: 18px; background: #98603f; border: 1px solid rgba(232,227,212,.35); transform-origin: top; transform: rotateX(90deg); }
.acm-leaders { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.acm-leaders line { stroke: #a8b8b2; stroke-width: 1; }
.acm-leaders circle { fill: var(--blue-deep); stroke: #d78c64; stroke-width: 1.5; }
.acm-label { position: absolute; z-index: 3; color: #e8e3d4; font: 16px/1.3 var(--mono); letter-spacing: .04em; }
.acm-label-face { top: 12px; right: 0; }
.acm-label-core { bottom: 55px; left: 0; }
.acm-label-back { right: 0; bottom: 12px; }
.cement-diagram > svg:first-child { width: 100%; height: 270px; }
.cement-board { stroke: #d7d9cc; stroke-width: 1.4; }
.cement-face { fill: rgba(232,227,212,.12); }
.cement-edge { fill: rgba(232,227,212,.3); }
.cement-end { fill: rgba(232,227,212,.2); }
.cement-leader { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cement-leader line { stroke: #a8b8b2; stroke-width: 1; }
.cement-leader circle { fill: var(--blue-deep); stroke: #d78c64; stroke-width: 1.5; }
.cement-label { position: absolute; z-index: 3; bottom: 20px; left: 0; color: #e8e3d4; font: 16px/1.3 var(--mono); letter-spacing: .04em; }

.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 46px; }
/* The work: the opening "walls" (Kimi's hall), dressed as round one's drawing sheets on gridded paper. */
.work {
  background-image: linear-gradient(rgba(39,49,50,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(39,49,50,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
}
/* All seven on the walls, three across: "Choose a job" takes the two columns beside the fourth, in the middle row. */
.work-hall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.hall-intro { grid-column: span 2; align-self: center; text-align: center; }
.hall-intro .eyebrow { justify-content: center; color: var(--red); }
.hall-intro h3 { margin-bottom: 18px; font-family: var(--display); font-size: 40px; line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; }
.hall-intro > p:not(.eyebrow) { margin-bottom: 24px; color: var(--ink-soft); }
/* A button centres its content; a wall sheet keeps its name at the top however tall its row is. */
.wall-job {
  min-width: 0;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(39,49,50,.1);
  text-align: left;
}
.wall-job:hover { outline: 2px solid var(--copper); outline-offset: 3px; }
/* A photo's mat: drafting paper with a fine grid, so a frame reads as a sheet even before its photo arrives. */
.sheet-frame, .job-stage, .lightbox-stage, .rail-thumb {
  background-color: var(--paper-deep);
  background-image: linear-gradient(rgba(39,49,50,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(39,49,50,.09) 1px, transparent 1px);
  background-size: 12px 12px;
}
.sheet-frame { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.sheet-frame picture { display: block; width: 100%; height: 100%; }
/* On the walls every photo fills its sheet, so the sheets read as one set; a job's own view shows the whole photo. */
.sheet-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Round one's registration corners, drawn over the photo. */
.sheet-frame::after, .stage-photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  --corner: rgba(245,239,223,.92);
  background:
    linear-gradient(var(--corner), var(--corner)) left top / 18px 1px no-repeat,
    linear-gradient(var(--corner), var(--corner)) left top / 1px 18px no-repeat,
    linear-gradient(var(--corner), var(--corner)) right top / 18px 1px no-repeat,
    linear-gradient(var(--corner), var(--corner)) right top / 1px 18px no-repeat,
    linear-gradient(var(--corner), var(--corner)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--corner), var(--corner)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--corner), var(--corner)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--corner), var(--corner)) right bottom / 1px 18px no-repeat;
}
.sheet-title { padding-top: 11px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: baseline; }
.sheet-number { color: var(--red); font: 16px/1.4 var(--mono); letter-spacing: .04em; }
.sheet-name { min-width: 0; font-size: 18px; font-weight: 700; line-height: 1.3; text-transform: uppercase; overflow-wrap: break-word; }
.sheet-meta { display: block; margin-top: 4px; color: var(--ink-soft); font: 16px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.work-status { margin-top: 24px; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--paper-light); border: 1px solid var(--red); }
.work-status p { max-width: 640px; }
.work-status button { min-height: 46px; padding: 9px 14px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font-size: 16px; font-weight: 700; }
.back-button, .link-button {
  min-height: 44px;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 5px;
}
/* One job, brought to the centre: round one's large photo with its caption, Kimi's neighbours at its sides. */
.job-bar { margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.job-heading { margin-bottom: 24px; text-align: center; }
.job-position { margin-bottom: 8px; color: var(--red); font: 700 16px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.job-heading h3 { font-family: var(--display); font-size: 43px; line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: break-word; }
.job-heading h3:focus { outline: none; }
.job-heading h3:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.job-meta { margin-top: 8px; color: var(--ink-soft); font: 16px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
/* A job's city and what the shop made show only once the shop has filled them in. */
.job-facts { max-width: 640px; margin: 12px auto 0; }
.job-facts-city { color: var(--blue); font: 700 16px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.job-facts-made { margin-top: 2px; font-size: 20px; line-height: 1.4; }
.sheet-facts { display: block; margin-top: 4px; color: var(--blue); font: 700 16px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.job-browser {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  grid-template-areas: "previous figure next" ". tools .";
  align-items: center;
  gap: 18px 20px;
}
.job-figure { grid-area: figure; min-width: 0; }
.job-photo-tools { grid-area: tools; }
.job-previous { grid-area: previous; }
.job-next { grid-area: next; }
.job-stage { --stage-max: 560px; position: relative; min-height: 300px; padding: 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); }
.stage-photo { position: relative; max-width: 100%; padding: 0; display: block; color: var(--ink); background: transparent; border: 0; }
button.stage-photo:hover { outline: 2px solid var(--copper); outline-offset: 3px; }
.stage-photo picture { display: block; }
.stage-photo img { display: block; width: 100%; height: auto; }
.job-caption { padding: 14px 0 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 6px 18px; border-bottom: 1px solid var(--rule); }
.job-photo-count { grid-column: 1; grid-row: 1; color: var(--red); font: 16px/1.5 var(--mono); letter-spacing: .04em; white-space: nowrap; }
.job-caption .link-button { grid-column: 3; grid-row: 1; white-space: nowrap; }
.job-caption.is-single { grid-template-columns: minmax(0, 1fr) auto; }
.job-caption.is-single .link-button { grid-column: 2; }
/* The photo strip on one line under the caption, Previous and Next photo at its two ends below it. */
.job-photo-tools { display: grid; grid-template-columns: auto auto; grid-template-areas: "rail rail" "previous next"; align-items: center; justify-content: space-between; gap: 12px; }
.job-photo-tools .photo-rail { grid-area: rail; }
#previous-photo { grid-area: previous; justify-self: start; }
#next-photo { grid-area: next; justify-self: end; }
.photo-step, .lightbox-controls button {
  min-height: 46px;
  padding: 9px 13px;
  flex: 0 0 auto;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.photo-step:hover, .lightbox-controls button:hover { border-color: var(--ink); background: var(--paper-deep); }
.photo-rail { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.rail-thumb { height: 54px; padding: 4px; display: block; border: 1px solid var(--rule); }
.rail-thumb picture { display: block; height: 100%; }
.rail-thumb img { display: block; width: auto; height: 100%; }
.rail-thumb[aria-current="true"] { padding: 3px; border: 2px solid var(--blue); }
.rail-thumb:hover { border-color: var(--ink); }
.job-neighbour {
  min-width: 0;
  min-height: 132px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  text-align: left;
}
.job-neighbour:hover { border-color: var(--ink); background: var(--paper-deep); }
.neighbour-copy { min-width: 0; flex: 1 1 auto; }
.neighbour-copy small { display: block; margin-bottom: 5px; color: var(--ink-soft); font: 16px/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.neighbour-copy strong { display: block; font-size: 16px; line-height: 1.25; overflow-wrap: break-word; }
.neighbour-arrow { flex: 0 0 auto; color: var(--red); }
.job-next { text-align: right; }

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; border-top: 1px solid var(--rule); }
.contact-main > p:not(.eyebrow) { max-width: 530px; margin: 28px 0; color: var(--ink-soft); }
/* What to send for a quote: the shop's own list, as boxes a builder can tick while gathering. */
.quote-list { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.quote-list legend { float: left; width: 100%; margin-bottom: 12px; }
.quote-item { position: relative; clear: both; min-height: 52px; padding: 11px 0 11px 42px; display: flex; align-items: center; border-top: 1px solid var(--rule); font-size: 18px; line-height: 1.4; cursor: pointer; }
.quote-item:last-of-type { border-bottom: 1px solid var(--rule); }
.quote-item input { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0; opacity: 0; cursor: pointer; }
.quote-box { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin-top: -13px; display: grid; place-items: center; background: var(--paper-light); border: 1px solid var(--ink); pointer-events: none; }
.quote-box svg { width: 18px; height: 18px; opacity: 0; fill: none; stroke: var(--red); stroke-width: 2.4; }
.quote-item input:checked + .quote-box svg { opacity: 1; }
.quote-item input:focus-visible + .quote-box { outline: 3px solid var(--focus); outline-offset: 3px; }
.quote-item:hover .quote-box { background: var(--paper-deep); }
.quote-status { clear: both; padding-top: 12px; color: var(--ink-soft); font-size: 18px; line-height: 1.45; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-ledger { align-self: center; min-width: 0; background: rgba(245,239,223,.48); border: 1px solid var(--ink); font-style: normal; box-shadow: 7px 7px 0 rgba(39,49,50,.07); }
.ledger-heading { padding: 13px 19px; color: var(--paper-light); background: var(--blue); font: 700 16px/1.4 var(--mono); letter-spacing: .06em; }
.ledger-row { padding: 17px 19px; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: 10px; border-bottom: 1px solid var(--rule); }
.ledger-row > span { color: var(--ink-soft); font: 16px/1.55 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.ledger-row p, .ledger-row a { font-size: 18px; line-height: 1.55; }
.ledger-row a { min-height: 44px; display: inline-flex; align-items: center; }
.copy-button { width: calc(100% - 38px); min-height: 46px; margin: 15px 19px 7px; color: var(--ink); background: transparent; border: 1px solid var(--rule); font: 16px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.copy-button:hover { background: var(--paper-deep); }
.copy-button span { margin-left: 12px; color: var(--red); }
.copy-status { min-height: 26px; padding: 0 19px 10px; color: var(--ink-soft); font-size: 18px; line-height: 1.4; }
/* The footer sits on the page's two columns, so its second column starts where the contact card does. */
.site-footer { min-height: 105px; padding: 28px var(--gutter); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 30px; color: #d8ddcf; background: var(--blue-deep); }
.footer-brand { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; font: 700 16px/1.4 var(--mono); letter-spacing: .06em; }
.footer-detail { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p { font-size: 18px; line-height: 1.5; }
.back-top { min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 700; }
.sheet-label { min-height: 43px; padding: 11px var(--gutter); display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); border-top: 1px solid var(--rule); font: 16px/1.4 var(--mono); letter-spacing: .04em; }

/* The enlargement reads as a sheet from the same blueprint set. */
dialog { padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; box-shadow: 12px 14px 0 rgba(0,0,0,.2); }
dialog::backdrop { background: rgba(20,31,32,.78); }
body.modal-open { overflow: hidden; }
.photo-lightbox[open] { display: flex; flex-direction: column; }
.dialog-close { flex: 0 0 auto; min-width: 88px; min-height: 46px; padding: 8px 12px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font-size: 16px; white-space: nowrap; }
.dialog-close:hover { background: var(--paper-deep); }
.dialog-close span { margin-left: 10px; color: var(--red); font-size: 23px; line-height: 1; }
/* The enlargement takes the whole screen, up to each photo's own pixels: one slim heading row, the photo, its caption. */
.photo-lightbox { width: calc(100% - 24px); max-width: none; height: calc(100svh - 24px); max-height: none; }
.photo-lightbox[open] { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "heading controls close" "figure figure figure"; align-items: center; column-gap: 16px; }
.lightbox-heading { grid-area: heading; min-width: 0; padding: 14px 0 12px 20px; }
.lightbox-heading .eyebrow { margin-bottom: 2px; color: var(--red); }
.lightbox-heading .eyebrow:empty { display: none; }
.lightbox-heading h2 { font-size: 30px; line-height: 1; overflow-wrap: break-word; }
.photo-lightbox .dialog-close { grid-area: close; margin-right: 20px; }
.lightbox-controls { grid-area: controls; display: flex; gap: 10px; }
.lightbox-figure { grid-area: figure; align-self: stretch; min-height: 0; padding: 0 20px 14px; display: flex; flex-direction: column; border-top: 1px solid var(--rule); padding-top: 12px; }
.lightbox-stage { flex: 1 1 auto; min-height: 120px; padding: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--rule); }
.lightbox-stage.is-panning { display: grid; place-content: safe center; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.lightbox-stage picture { display: block; flex: 0 0 auto; }
.lightbox-stage img { display: block; width: 100%; height: auto; }
.lightbox-caption { flex: 0 0 auto; padding: 10px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.45; }
.lightbox-hint { display: block; color: var(--ink); font-weight: 700; }
.noscript { padding: 20px var(--gutter); color: var(--ink); background: var(--paper-light); }

@media (max-width: 1080px) {
  h1 { font-size: clamp(70px, 8.2vw, 92px); }
  .model-viewport { --model-scale: .78; height: 600px; }
  .part-explainer { width: 240px; }
  .materials-grid { gap: 0 20px; }
  .acm-scene { transform: scale(.8); }
  .job-browser { grid-template-columns: 150px minmax(0, 1fr) 150px; column-gap: 14px; }
  .job-neighbour { padding: 9px; }
  .flow-name { font-size: 22px; }
}

/* Header, hall, steps and the job view change shape before the phone: a tablet held upright gets the menu. */
@media (max-width: 900px) {
  .ledger-row { grid-template-columns: 88px minmax(0, 1fr); }
  .site-header { flex-wrap: wrap; }
  .menu-toggle { min-width: 92px; min-height: 44px; padding: 8px 0 8px 8px; display: flex; align-items: center; justify-content: flex-end; gap: 11px; color: var(--ink); background: transparent; border: 0; font: 700 16px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .menu-icon { position: relative; width: 20px; height: 16px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; top: 7px; left: 0; width: 20px; height: 1px; background: var(--ink); transition: transform .18s ease; }
  .menu-icon::before { transform: translateY(-5px); }
  .menu-icon::after { transform: translateY(5px); }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
  .site-nav { display: none; width: 100%; padding-top: 10px; align-items: stretch; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 46px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .site-nav .nav-contact { margin-top: 10px; padding: 13px; justify-content: center; border-bottom: 0; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .machine-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .machine-list li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .shop-photos { flex-wrap: wrap; }
  .shop-photo:first-child { flex-basis: 100%; }
  .work-hall { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 14px; }
  .hall-intro { grid-column: 1 / -1; margin: 10px 0; }
  /* The seventh has no partner in two columns, so it closes the wall across both. */
  .wall-7 { grid-column: 1 / -1; }
  .job-browser { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "figure figure" "tools tools" "previous next"; }
  .job-photo-tools { max-width: 640px; width: 100%; margin-inline: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 610px; }
  .hero-drawing { margin-top: 30px; }
  .model-viewport { --model-scale: 1; height: 600px; }
  .materials-heading h2 { max-width: 600px; }
  .materials-grid { gap: 0 16px; }
  .contact { grid-template-columns: 1fr; }
}

/* A wide screen that is short: the whole drawing, its two buttons and its words line come onto the first screen.
   The hero gives up its extra height and some top padding, and the drawing is drawn smaller in steps, its box keeping
   the same proportion to the drawing (560 px at full size). How it turns and comes apart doesn't change. */
@media (min-width: 821px) and (max-height: 939px) {
  .hero { min-height: 0; padding-top: 24px; }
  .hero-drawing { justify-content: flex-start; }
  .model-viewport { --model-scale: .92; height: 515px; }
}
@media (min-width: 821px) and (max-height: 863px) { .model-viewport { --model-scale: .8; height: 448px; } }
@media (min-width: 821px) and (max-height: 795px) { .model-viewport { --model-scale: .72; height: 420px; } }
/* Up to 1080 px wide the drawing's column is narrow, so its words line and instruction take more lines. */
@media (min-width: 821px) and (max-width: 1080px) and (max-height: 863px) { .model-viewport { --model-scale: .7; height: 420px; } }
@media (min-width: 821px) and (max-width: 1080px) and (max-height: 795px) { .model-viewport { --model-scale: .66; height: 400px; } }
@media (min-width: 821px) and (max-height: 750px) { .model-viewport { --model-scale: .64; height: 358px; } }
@media (min-width: 821px) and (max-height: 705px) { .model-viewport { --model-scale: .56; height: 314px; } }

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .site-header { min-height: 80px; padding-block: 14px; gap: 15px; flex-wrap: wrap; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 17px; }
  /* On a phone the turning panel comes up onto the first screen, under the headline: the hero's copy steps aside
     (display: contents), so its pieces and the drawing share one column: tag line, headline, panel, then the rest. */
  .hero { min-height: 0; padding-top: 45px; padding-bottom: 44px; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-grid { background-size: 48px 48px; mask-image: none; opacity: .3; }
  .hero-copy { display: contents; }
  .hero-copy > * { position: relative; z-index: 2; }
  .hero h1 { margin-bottom: 0; }
  .hero-price, .hero-intro, .hero-actions, .hero-materials { order: 1; }
  .hero-price { margin-top: 43px; }
  .eyebrow { margin-bottom: 20px; }
  h1 { font-size: clamp(62px, 17vw, 84px); }
  .hero-intro { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-materials { margin-top: 25px; }
  .hero-drawing { margin-top: 43px; }
  .drawing-label { margin-bottom: 8px; }
  .model-viewport { --model-scale: .64; height: 540px; }
  .part-line { order: 0; margin-top: 6px; }
  .model-note { min-height: 44px; }
  .model-controls { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .view-buttons button { padding-inline: 12px; }
  .drawing-instruction { flex-direction: column; }
  .section-pad { padding-top: 64px; padding-bottom: 64px; }
  .section-heading { display: block; margin-bottom: 36px; }
  h2 { font-size: clamp(43px, 12vw, 64px); }
  .section-heading h2 { margin-bottom: 25px; }
  .order-flow, .shop-floor { margin-bottom: 48px; }
  .flow-steps { grid-template-columns: 1fr; row-gap: 28px; }
  .flow-step { padding: 22px 0 0; }
  .flow-name { font-size: 22px; }
  .machine-list li { min-height: 72px; padding-right: 10px; }
  .machine-list li:nth-child(even) { padding-left: 12px; }
  .shop-photos { gap: 12px; }
  .shop-photo-button { padding: 6px; }
  .service-ledger summary { min-height: 78px; grid-template-columns: 43px 1fr 24px; gap: 8px; font-size: 25px; }
  .service-detail { padding: 0 0 24px 51px; display: block; }
  .service-detail a { margin-top: 14px; }
  .materials-heading { margin-bottom: 34px; }
  .materials-heading h2 { margin-top: 26px; }
  .question-column h3 { padding-top: 24px; }
  /* On the phone the ACM system is one column, and each answer carries its material's name. */
  .material-acm > .material-intro { margin-top: 32px; padding-top: 24px; display: block; }
  .material-intro > .system-points { margin-top: 16px; }
  .material-intro > .system-parts ul { grid-template-columns: minmax(0, 1fr); }
  /* In a half-width column a link may wrap; its arrow stays with its last word. */
  .material-item > .material-work-link { display: inline-block; padding: 10px 0; }
  .answer-tag { display: block; margin-bottom: 6px; color: #d78c64; font: 16px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
  .material-diagram { height: 290px; }
  .acm-scene { transform: scale(.67); }
  .acm-label-face { top: 3px; }
  .acm-label-core { bottom: 44px; }
  .acm-label-back { bottom: 3px; }
  .acm-label { max-width: 150px; line-height: 1.35; }
  .cement-diagram > svg:first-child { height: 225px; }
  .cement-label { bottom: 6px; }
  .material-code { min-height: 48px; margin-top: 5px; }
  .material-item > h3 { min-height: 78px; font-size: 29px; }
  .material-answer { padding: 12px 0 18px; }
  /* Each ACM opener sits with its own answer: its "+" beside the ACM tag, and the answer across the column's whole width. */
  .material-answer summary { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tag action" "text text"; gap: 6px 10px; }
  .material-answer summary .answer-tag { grid-area: tag; margin: 0; }
  .material-answer summary .summary-action { grid-area: action; justify-self: start; align-self: center; }
  .material-answer summary > span:not([class]) { grid-area: text; }
  .materials-note { align-items: flex-start; flex-direction: column; gap: 12px; }
  .work-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
  .work { background-size: 48px 48px; }
  .hall-intro h3 { font-size: 34px; }
  .wall-job { padding: 7px 7px 10px; }
  .sheet-frame::after, .stage-photo::after { inset: 7px; }
  .sheet-title { grid-template-columns: 1fr; gap: 2px; }
  .sheet-name { font-size: 16px; text-wrap: balance; }
  .job-heading h3 { font-size: 34px; }
  .job-browser { column-gap: 12px; }
  .job-stage { --stage-max: 480px; min-height: 220px; padding: 8px; }
  .job-caption, .job-caption.is-single { grid-template-columns: auto minmax(0, 1fr); }
  .job-caption .link-button, .job-caption.is-single .link-button { grid-column: 2; grid-row: 1; justify-self: end; }
  .job-neighbour { min-height: 116px; }
  .job-photo-tools { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  #previous-photo, #next-photo { justify-self: stretch; }
  .photo-step { padding-inline: 6px; }
  .contact { display: block; }
  .contact-main { margin-bottom: 38px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; }
  .ledger-row { grid-template-columns: 1fr; gap: 2px; padding-inline: 15px; }
  .ledger-row a { width: 100%; }
  .copy-button { width: calc(100% - 30px); margin-inline: 15px; }
  .site-footer { padding-block: 30px; }
  .footer-detail { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sheet-label { align-items: flex-start; flex-direction: column; gap: 4px; }
  .dialog-close { min-width: 76px; padding-inline: 8px; }
  .photo-lightbox { width: calc(100% - 16px); height: calc(100svh - 16px); }
  .photo-lightbox[open] { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "heading close" "figure figure" "controls controls"; column-gap: 10px; }
  .lightbox-heading { padding: 12px 0 10px 12px; }
  .lightbox-heading h2 { font-size: 25px; }
  .photo-lightbox .dialog-close { margin-right: 12px; }
  .lightbox-figure { padding: 10px 10px 0; }
  .lightbox-stage { padding: 6px; }
  .lightbox-controls { padding: 10px; gap: 8px; border-top: 1px solid var(--rule); }
  .lightbox-controls button { flex: 1; padding-inline: 5px; }
  .lightbox-caption { max-height: 30svh; overflow-y: auto; padding-bottom: 8px; }
}

@media (max-width: 370px) {
  .brand-name { font-size: 16px; }
  .menu-toggle { min-width: 82px; }
  h1 { font-size: 64px; }
  .model-viewport { --model-scale: .58; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
