*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #1c1e22;
  color: #c8cdd4;
  line-height: 1.65;
  min-height: 100vh;
  padding-left: 140px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --bg: #1c1e22;
  --panel: #262a30;
  --ink: #eef0f3;
  --muted: #8b929c;
  --orange: #e85d04;
  --steel: #5c6b7a;
  --line: #343a42;
  --mono: ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
}

/* ——— DRAWER LABELS mid-left (staggered metal pulls — not full rail, not constellation) ——— */
.drawers {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.drawers a {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: none;
  padding: 12px 16px 12px 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 108px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  transition: all 0.15s;
  position: relative;
}
.drawers a:nth-child(2) { margin-left: 12px; }
.drawers a:nth-child(3) { margin-left: 6px; }
.drawers a::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}
.drawers a span { padding-left: 12px; }
.drawers a:hover {
  color: var(--ink);
  border-color: var(--orange);
}
.drawers a.on {
  background: var(--orange);
  border-color: var(--orange);
  color: #1c1e22;
}
.drawers a.on::before { background: #1c1e22; }

.plate {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 90;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.plate strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

/* ——— BENCH: text stack + mid photo band ——— */
.bench {
  padding: 72px 36px 48px;
  max-width: 640px;
}
.bench .k {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.bench h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.bench .lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 44ch;
}
.band {
  margin: 0 -36px 28px;
  height: 200px;
  overflow: hidden;
  background: var(--panel);
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  opacity: 0.9;
}
.bench p {
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 48ch;
}

/* ——— STOCK: spec sheet rows ——— */
.stock {
  padding: 72px 36px 64px;
  max-width: 700px;
}
.stock .k {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.stock h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
}
.spec {
  border: 1px solid var(--line);
  background: var(--panel);
}
.spec .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec .row:last-child { border-bottom: none; }
.spec .row .sku {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.spec .row .desc {
  color: var(--muted);
}
.spec .row .desc strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.stock-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 48ch;
}

/* ——— TICKET: work-order sheet ——— */
.ticket-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 48px;
}
.wo {
  width: 100%;
  max-width: 440px;
  background: #f0ebe3;
  color: #1c1e22;
  border: 1px solid #b0a898;
  box-shadow: 4px 6px 0 rgba(0,0,0,0.25);
}
.wo .head {
  background: #2a2e34;
  color: #f0ebe3;
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wo .head .no { color: var(--orange); font-weight: 700; }
.wo .body {
  padding: 24px 22px;
}
.wo h1 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.wo .addr {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #4a4540;
}
.wo .addr a {
  color: #c44d00;
  font-weight: 700;
}
.wo label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a655c;
  margin-bottom: 3px;
}
.wo input,
.wo textarea {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px dashed #b0a898;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #1c1e22;
}
.wo input:focus,
.wo textarea:focus {
  outline: none;
  border-bottom-color: #c44d00;
}
.wo textarea {
  min-height: 80px;
  border: 1px dashed #b0a898;
  padding: 10px;
  resize: vertical;
}
.wo button {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: #1c1e22;
  color: #f0ebe3;
  border: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.wo button:hover { background: #c44d00; }

.ft {
  padding: 16px 36px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.ft strong { color: var(--ink); }

@media (max-width: 700px) {
  body { padding-left: 0; padding-bottom: 100px; }
  .drawers {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    justify-content: stretch;
    gap: 0;
    background: var(--panel);
    border-top: 1px solid var(--line);
  }
  .drawers a {
    flex: 1;
    min-width: 0;
    margin-left: 0 !important;
    border-left: none;
    border-right: 1px solid var(--line);
    border-bottom: none;
    border-top: none;
    text-align: center;
    box-shadow: none;
    padding: 14px 8px;
  }
  .drawers a:last-child { border-right: none; }
  .drawers a::before { display: none; }
  .drawers a span { padding-left: 0; }
  .plate { right: 12px; top: 12px; }
  .band { margin: 0 -20px 28px; }
  .bench, .stock { padding-left: 20px; padding-right: 20px; }
}
