/* Red Barn Mechanical — work order / bay ticket. Hazard chrome. No highway-stock hero. */
:root {
  --black: #101010;
  --panel: #1c1c1c;
  --yellow: #f5d000;
  --steel: #c8c8c2;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: var(--black);
  color: var(--steel);
  line-height: 1.45;
}
a { color: var(--yellow); }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; background: var(--yellow); color: #111; padding: 8px; z-index: 20; }

.hazard {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    #111 0 10px,
    var(--yellow) 10px 20px
  );
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--yellow);
  color: #111;
  font-family: Oswald, Impact, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mark { color: #111; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.top nav { display: flex; gap: 18px; font-size: 0.85rem; }
.top nav a { color: #111; text-decoration: none; }
.bay-call { color: #111; text-decoration: none; font-weight: 700; }

.ticket {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  min-height: 520px;
  border-bottom: 8px solid var(--yellow);
}
.ticket-copy {
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wo {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.ticket h1 {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.lede { margin: 0 0 22px; max-width: 42ch; color: #e8e8e0; }
.call {
  display: inline-block;
  background: var(--yellow);
  color: #111;
  text-decoration: none;
  padding: 14px 20px;
  font-family: Oswald, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: max-content;
}
.punch {
  background: var(--panel);
  padding: 32px 28px;
  border-left: 2px solid #2a2a2a;
}
.punch h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin: 0 0 12px;
  font-size: 1rem;
}
.punch ul { margin: 0 0 22px; padding: 0; list-style: none; }
.punch li {
  padding: 7px 0;
  border-bottom: 1px dashed #3a3a3a;
  font-size: 0.92rem;
}
.punch p { margin: 0; font-size: 0.82rem; color: #9a9a94; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: #2a2a2a;
}
.cell { background: var(--panel); padding: 22px 18px; min-height: 160px; }
.cell h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.cell p { margin: 0; font-size: 0.88rem; }
.cell.photo { padding: 0; }
.cell.photo img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }

.map { display: grid; grid-template-columns: 1fr 1.2fr; }
.map div { padding: 32px 24px; }
.map h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 8px;
}
.map img { width: 100%; height: 260px; object-fit: cover; }
.after {
  padding: 20px 22px;
  background: var(--yellow);
  color: #111;
  font-weight: 600;
}
.foot { padding: 18px 20px 28px; font-size: 0.78rem; color: #8a8a84; }

@media (max-width: 800px) {
  .top nav { display: none; }
  .ticket, .grid, .map { grid-template-columns: 1fr; }
  .ticket-copy { padding: 28px 18px 32px; }
}
