/* Presslo site: riveted gauge-panel styling. Palette: cream, umber, plum, orange. */
:root {
  --psl-cream: #E2DFD0;
  --psl-umber: #524C42;
  --psl-plum: #32012F;
  --psl-orange: #F97300;
  --psl-type: "American Typewriter", "Courier New", Courier, Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--psl-umber); }
body {
  margin: 0;
  font-family: var(--psl-type);
  color: var(--psl-plum);
  line-height: 1.6;
  font-size: 1.0625rem;
  background:
    repeating-linear-gradient(90deg, rgba(226,223,208,.035) 0 2px, transparent 2px 9px),
    var(--psl-umber);
}
a { color: var(--psl-plum); text-decoration-thickness: 2px; text-decoration-color: var(--psl-orange); }
a:hover, a:focus { background: var(--psl-orange); color: var(--psl-plum); outline: none; }
:focus-visible { outline: 3px solid var(--psl-orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--psl-cream); padding: .5rem 1rem; z-index: 9; }

/* Deck header: two gauges as navigation */
.deck {
  background: var(--psl-plum);
  color: var(--psl-cream);
  padding: 1.25rem 1rem 1.5rem;
  border-bottom: 4px solid var(--psl-orange);
}
.deck-inner { max-width: 60rem; margin: 0 auto; }
.wordmark { margin: 0; font-size: 2rem; letter-spacing: .25em; font-weight: 700; }
.tagline { margin: .1rem 0 1rem; color: var(--psl-cream); opacity: .9; font-size: .95rem; }
.dials { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.dials li { flex: 1; }
.dial {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  text-decoration: none; color: var(--psl-cream); padding: .5rem; border-radius: 8px;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.dial svg { width: 5.5rem; height: 5.5rem; }
.dial:hover, .dial:focus { background: rgba(249,115,0,.18); color: var(--psl-cream); }
.dial[aria-current="page"] svg .rim { stroke: var(--psl-orange); stroke-width: 5; }
.dial[aria-current="page"]::after { content: ""; width: 2.2rem; height: 3px; background: var(--psl-orange); border-radius: 2px; }

/* Riveted plates */
main { max-width: 60rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.plate {
  position: relative;
  background: var(--psl-cream);
  border-radius: 8px;
  padding: 1.6rem 1.25rem 1.25rem;
  margin: 0 0 1.25rem;
  box-shadow: inset 0 0 0 2px rgba(50,1,47,.25), 0 3px 0 rgba(0,0,0,.25);
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 15%, var(--psl-umber) 55%);
}
.plate::before { left: 9px; }
.plate::after { right: 9px; }
.plate.dotted { box-shadow: inset 0 0 0 2px var(--psl-plum); outline: 2px dotted var(--psl-umber); outline-offset: -8px; }
.stencil {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--psl-umber);
  margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem;
}
.stencil::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--psl-orange); }
h2 { margin: 0 0 .6rem; font-size: 1.45rem; line-height: 1.25; }
h3 { margin: 1rem 0 .3rem; font-size: 1.1rem; }
p { margin: 0 0 .8rem; }
.lede { font-size: 1.15rem; }

.readout {
  display: inline-block; background: var(--psl-plum); color: var(--psl-cream);
  padding: .35rem .8rem; border-radius: 8px; letter-spacing: .06em; font-size: .95rem;
}
.readout b { color: var(--psl-orange); }

.steps { counter-reset: psl-step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: psl-step; position: relative; padding: 0 0 .9rem 2.6rem; }
.steps li::before {
  content: counter(psl-step); position: absolute; left: 0; top: 0;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; text-align: center; line-height: 1.9rem;
  background: var(--psl-plum); color: var(--psl-cream); font-weight: 700; font-size: .9rem;
  box-shadow: 0 0 0 3px var(--psl-orange);
}

.units { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .3rem 0 .9rem; list-style: none; }
.units li { border: 2px solid var(--psl-plum); border-radius: 8px; padding: .05rem .55rem; font-size: .92rem; }

details { border-top: 2px dashed rgba(82,76,66,.45); padding: .7rem 0; }
details:last-of-type { border-bottom: 2px dashed rgba(82,76,66,.45); }
summary { cursor: pointer; font-weight: 700; list-style: none; padding-left: 1.6rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "▸"; position: absolute; left: 0; color: var(--psl-umber); }
details[open] summary::before { content: "▾"; }
details p { margin: .5rem 0 0 1.6rem; }

.valve {
  display: inline-block; margin-top: .4rem; padding: .7rem 1.2rem; border-radius: 8px;
  background: var(--psl-orange); color: var(--psl-plum); font-weight: 700; text-decoration: none;
  box-shadow: 0 3px 0 var(--psl-plum);
}
.valve:hover, .valve:focus { background: var(--psl-plum); color: var(--psl-cream); }

.ledger { width: 100%; border-collapse: collapse; margin: .4rem 0 .9rem; font-size: .97rem; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: .55rem .4rem; border-bottom: 1px solid rgba(82,76,66,.4); }
.ledger th { width: 38%; color: var(--psl-umber); font-weight: 700; }
.ledger .yes { color: var(--psl-plum); font-weight: 700; }

.footplate { text-align: center; color: var(--psl-cream); font-size: .9rem; padding: 0 1rem 2rem; }
.footplate a { color: var(--psl-cream); }
.footplate a:hover, .footplate a:focus { color: var(--psl-plum); }

@media (min-width: 46rem) {
  .deck-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
  .dials { width: 22rem; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .split > .plate { margin-bottom: 0; }
  .split + .plate, .plate + .split { margin-top: 1.25rem; }
  .plate { padding: 1.9rem 1.8rem 1.5rem; }
}
.needle { transform-origin: 50px 50px; transform: rotate(var(--psl-angle, 20deg)); }
@media (prefers-reduced-motion: no-preference) {
  .needle { animation: psl-settle 1.4s ease-out both; }
  @keyframes psl-settle { 0% { transform: rotate(-120deg); } 55% { transform: rotate(118deg); } 70% { transform: rotate(112deg); } 100% { transform: rotate(var(--psl-angle, 20deg)); } }
}
