/* Pin & Tumbler (tallahassee.top) — "Lock Cylinder" visual.
   Zinc-grey plate (#e4e7ea) + steel-blue accent (#33566b) + near-black ink (#1b2429).
   Motif: key-teeth bands, pin-stack ticks, engineering ruled lines, hardware tag colors
   (door steel, window blue-steel, alarm signal amber, lock brass). Squared corners only.
   Technical sans for body, monospace for keycodes and labels. No rounding. No emoji. */

:root {
  --bg: #e4e7ea;
  --panel: #ffffff;
  --ink: #1b2429;
  --muted: #5c6870;
  --line: #c3c9ce;
  --accent: #33566b;
  --accent-d: #26424f;
  --grid: rgba(27, 36, 41, .055);
  --door: #3d5566;
  --win: #4c6b7a;
  --alm: #b06a1f;
  --lck: #8a6a33;
  --mono: "SFMono-Regular", "Consolas", "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-d); text-decoration: underline; }

/* ---- header: segmented key-shaft band over a steel bar ---- */
.cyl-head { background: var(--panel); border-bottom: 1px solid var(--line); }
.cyl-head::before {
  content: ""; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 14px, var(--line) 14px 16px);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.cyl-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.cyl-mark { display: inline-flex; color: var(--accent); }
.sign { display: flex; flex-direction: column; line-height: 1.2; }
.sign-name { font-weight: 700; letter-spacing: .2px; }
.sign-tag {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  letter-spacing: .6px; text-transform: uppercase;
}
.cyl-nav { display: flex; gap: 22px; }
.cyl-nav a {
  color: var(--ink); font-size: 14px; font-weight: 600; padding: 3px 0;
  border-bottom: 2px solid transparent;
}
.cyl-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }

/* ---- hero: engineering ruled lines ---- */
.cyl-hero {
  background:
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 22px),
    var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.kick {
  font-family: var(--mono); color: var(--accent); font-size: 12px;
  letter-spacing: 2.5px; font-weight: 700; margin-bottom: 12px;
}
.cyl-hero h1 { font-size: 35px; line-height: 1.14; font-weight: 700; margin-bottom: 14px; max-width: 780px; }
.sub { max-width: 700px; color: var(--muted); font-size: 17px; }

/* ---- category slabs ---- */
section { padding: 28px 0; }
.slab { }
.rail-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 14px;
}
.slab-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.slab-head h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.slab-bar { display: inline-block; width: 14px; height: 14px; background: var(--accent); }
.slab-bar.c-win { background: var(--win); }
.slab-bar.c-alm { background: var(--alm); }
.slab-bar.c-lck { background: var(--lck); }
.slab-more { font-size: 13px; font-weight: 600; }

/* ---- rail (opening nav) ---- */
.rail-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rail-cell {
  display: flex; flex-direction: column; gap: 4px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--door);
  padding: 14px 16px;
}
.rail-cell:hover { text-decoration: none; border-color: var(--accent); }
.rail-cell .cell-count { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.rail-cell .cell-name { font-weight: 700; font-size: 16px; }
.rail-cell.c-win { border-left-color: var(--win); }
.rail-cell.c-alm { border-left-color: var(--alm); }
.rail-cell.c-lck { border-left-color: var(--lck); }
.rail-inline { padding-top: 4px; }

/* ---- the measure wall + hardening plates ---- */
.plate-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plate {
  display: flex; flex-direction: column; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--door);
}
.plate:hover { border-color: var(--accent); text-decoration: none; }
.plate-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-bottom: 1px solid var(--line);
}
.plate-top::after {
  content: ""; width: 6px; height: 6px; background: var(--line);
  box-shadow: 10px 0 0 var(--line), 20px 0 0 var(--line);
}
.plate-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.c-door { color: var(--door); }
.c-win { color: var(--win); }
.c-alm { color: var(--alm); }
.c-lck { color: var(--lck); }
.plate-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.plate-title { font-weight: 700; font-size: 16px; line-height: 1.32; }
.plate-facts {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--line); padding-top: 10px;
}
.frow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.frow .fk {
  flex: 0 0 auto; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; color: var(--muted);
}
.frow .fv { text-align: right; color: var(--ink); }
.plate-note { font-size: 13px; color: var(--muted); }

/* ---- page head ---- */
.page-head { padding: 34px 0 10px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.lede { color: var(--muted); margin-top: 8px; }

/* ---- entry layout: spec sheet + notes ---- */
.spec-grid { display: grid; grid-template-columns: 320px 1fr; gap: 26px; padding-top: 22px; padding-bottom: 40px; }
.spec-sheet { align-self: start; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.spec-cap {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.spec-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spec-body { font-variant-numeric: tabular-nums; }
.spec-line { display: flex; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-line:last-child { border-bottom: 0; }
.spec-key {
  flex: 0 0 42%; padding: 9px 14px; color: var(--muted); border-right: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
}
.spec-val { flex: 1; padding: 9px 14px; }
.spec-line.is-legend { background: rgba(51, 86, 107, .08); box-shadow: inset 4px 0 0 var(--accent); }
.spec-line.is-legend .spec-val { font-weight: 600; }

.notes { background: var(--panel); border: 1px solid var(--line); padding: 26px 30px; }
.notes-legal h2 { font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.notes-legal p { margin-bottom: 12px; }
.step { margin-bottom: 24px; }
.step:last-child { margin-bottom: 0; }
.step h2 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step-no {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent);
  border: 1px solid var(--accent); padding: 1px 6px;
}
.notes p { margin-bottom: 12px; color: #2a3138; }
.notes p:last-child { margin-bottom: 0; }
.cross-list { list-style: none; }
.cross-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.cross-list li:last-child { border-bottom: 0; }

/* ---- footer ---- */
.cyl-foot { background: var(--panel); border-top: 1px solid var(--line); margin-top: 24px; }
.cyl-foot::before {
  content: ""; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 14px, var(--line) 14px 16px);
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 28px 20px; }
.foot-brand { flex: 1 1 340px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.foot-nav { display: flex; gap: 16px; }
.foot-nav a { color: var(--ink); font-size: 14px; font-weight: 600; }
.copyright { flex: 1 1 100%; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .plate-wall { grid-template-columns: repeat(2, 1fr); }
  .rail-track { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plate-wall, .rail-track { grid-template-columns: 1fr; }
  .head-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .cyl-nav { gap: 14px; }
  .cyl-hero h1 { font-size: 27px; }
  .notes { padding: 20px 18px; }
}
