/* ============================================================
   Tequenovations LLC — Difference Engine Machine Works
   Palette:
     machine-cast body     #22252A
     engine-brass text     #EFE7D2
     figure-wheel brass    #C9A13F
     plate-green           #2B3A36
     frame-deep            #161A1C
     paper-belt            #F4EFD9
     crank-steel           #5C6670
     scheme-red            #A8442E  (carry flags only)
   No rgba. No opacity decimals. No text gradients.
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: #EFE7D2;
  background-color: #22252A;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #C9A13F;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #F4EFD9;
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

/* ---------- reveal machinery (JS-safe, default visible) ---------- */
.reveal-item {
  transition: transform 700ms ease, visibility 700ms ease;
  visibility: visible;
}

.js-reveal-ready .reveal-item {
  visibility: hidden;
  transform: translateY(26px);
}

.js-reveal-ready .reveal-item.is-shown {
  visibility: visible;
  transform: translateY(0);
}

/* ---------- shared shell ---------- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C9A13F;
  margin: 0 0 0.9em;
}

.section-title {
  font-size: 2rem;
  color: #EFE7D2;
}

.section-lede {
  max-width: 720px;
  color: #EFE7D2;
  font-size: 1.05rem;
}

/* ============================================================
   NAVIGATION — SETTING COLUMN RACK
   ============================================================ */
.settingrack {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #161A1C;
  border-bottom: 4px solid #C9A13F;
  box-shadow: 0 4px 0 #2B3A36, 0 10px 22px #101316;
}

.settingrack-ramp {
  height: 8px;
  background-color: #2B3A36;
  border-bottom: 2px solid #5C6670;
  position: relative;
}

.settingrack-ramp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 66%;
  height: 2px;
  background-color: #C9A13F;
  transform: skewX(-28deg);
  transform-origin: left bottom;
}

.settingrack-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 0;
}

.operationplate {
  background-color: #2B3A36;
  border: 3px solid #C9A13F;
  border-radius: 3px;
  padding: 10px 16px 12px;
  position: relative;
  box-shadow: inset 0 0 0 2px #161A1C, 0 4px 0 #101316;
}

.operationplate-brand {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.32rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  color: #C9A13F;
  margin: 0;
  line-height: 1.1;
}

.operationplate-engraving {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #EFE7D2;
  margin: 4px 0 0;
}

.brass-screw {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 2px solid #161A1C;
  box-shadow: inset -1px -1px 0 #5C6670;
}

.brass-screw.nw { top: 4px; left: 4px; }
.brass-screw.ne { top: 4px; right: 4px; }
.brass-screw.sw { bottom: 4px; left: 4px; }
.brass-screw.se { bottom: 4px; right: 4px; }

.settingrack-studs {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slide-stud {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-color: #5C6670;
  width: 66px;
  border-radius: 3px 3px 0 0;
  border-left: 2px solid #161A1C;
  border-right: 2px solid #161A1C;
}

.slide-stud.s1 { height: 78px; }
.slide-stud.s2 { height: 100px; }
.slide-stud.s3 { height: 66px; }
.slide-stud.s4 { height: 112px; }
.slide-stud.s5 { height: 88px; }

.slide-stud-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  background-color: #161A1C;
}

.slide-stud-link {
  display: block;
  width: 60px;
  background-color: #C9A13F;
  color: #161A1C;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 7px 2px;
  margin-bottom: 6px;
  border: 2px solid #161A1C;
  border-radius: 2px;
}

.slide-stud-link:hover,
.slide-stud-link:focus {
  background-color: #F4EFD9;
  color: #161A1C;
  text-decoration: none;
}

.slide-stud-link.is-current {
  background-color: #A8442E;
  color: #F4EFD9;
}

.settingrack-toggle {
  display: none;
  background-color: #C9A13F;
  color: #161A1C;
  border: 3px solid #161A1C;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ============================================================
   HERO — FIGURE WHEEL STACK
   ============================================================ */
.wheelstack {
  background-color: #22252A;
  border-bottom: 6px solid #2B3A36;
  position: relative;
  padding: 64px 0 72px;
}

.wheelstack-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

.wheelstack-copy h1 {
  font-size: 2.85rem;
  color: #EFE7D2;
  margin-bottom: 0.4em;
}

.wheelstack-copy h1 .computed {
  color: #C9A13F;
  display: inline-block;
  border-bottom: 4px solid #C9A13F;
  padding-bottom: 2px;
}

.wheelstack-copy p {
  font-size: 1.08rem;
  color: #EFE7D2;
  max-width: 620px;
}

.wheelstack-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.plate-btn {
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 3px;
  border: 3px solid #161A1C;
  position: relative;
  box-shadow: 0 5px 0 #101316;
}

.plate-btn-brass {
  background-color: #C9A13F;
  color: #161A1C;
}

.plate-btn-brass:hover,
.plate-btn-brass:focus {
  background-color: #F4EFD9;
  color: #161A1C;
  text-decoration: none;
}

.plate-btn-green {
  background-color: #2B3A36;
  color: #EFE7D2;
  border-color: #C9A13F;
}

.plate-btn-green:hover,
.plate-btn-green:focus {
  background-color: #5C6670;
  color: #F4EFD9;
  text-decoration: none;
}

/* the wheel machine itself */
.figwheel-bank {
  position: relative;
  height: 470px;
  padding-right: 60px;
}

.figwheel {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 8px solid #161A1C;
  box-shadow: inset 0 0 0 6px #5C6670, 0 8px 0 #101316;
}

.figwheel-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background-color: #2B3A36;
  border: 4px solid #161A1C;
}

.figwheel-rim {
  position: absolute;
  top: -26px;
  left: 50%;
  margin-left: -46px;
  width: 92px;
  text-align: center;
  background-color: #161A1C;
  color: #C9A13F;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding: 3px 0;
  border: 2px solid #C9A13F;
}

.figwheel-index {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 6px;
  height: 18px;
  margin-left: -3px;
  background-color: #A8442E;
}

.figwheel-a { top: 12px; left: 40px; }
.figwheel-b { top: 118px; left: 148px; }
.figwheel-c { top: 226px; left: 82px; }
.figwheel-d { top: 322px; left: 178px; }

.crank-link {
  position: absolute;
  width: 8px;
  background-color: #5C6670;
  border-left: 2px solid #161A1C;
  border-right: 2px solid #161A1C;
  transform-origin: top center;
}

.link-1 { height: 96px; top: 140px; left: 118px; transform: rotate(38deg); }
.link-2 { height: 92px; top: 248px; left: 172px; transform: rotate(-42deg); }
.link-3 { height: 84px; top: 350px; left: 140px; transform: rotate(30deg); }

.carry-lever {
  position: absolute;
  height: 10px;
  width: 250px;
  background-color: #C9A13F;
  border-top: 3px solid #161A1C;
  border-bottom: 3px solid #161A1C;
  top: 60px;
  left: 60px;
  transform: rotate(-26deg);
  transform-origin: left center;
}

.carry-lever::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #A8442E;
  border: 3px solid #161A1C;
}

.handcrank {
  position: absolute;
  bottom: 6px;
  right: 4px;
  width: 120px;
  height: 120px;
}

.handcrank-shaft {
  position: absolute;
  right: 20px;
  bottom: 52px;
  width: 92px;
  height: 10px;
  background-color: #5C6670;
  border: 2px solid #161A1C;
}

.handcrank-arm {
  position: absolute;
  right: 8px;
  bottom: 52px;
  width: 10px;
  height: 104px;
  background-color: #C9A13F;
  border: 2px solid #161A1C;
  transform: rotate(24deg);
  transform-origin: bottom center;
}

.handcrank-knob {
  position: absolute;
  right: 24px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F4EFD9;
  border: 6px solid #161A1C;
  box-shadow: inset 0 0 0 4px #5C6670;
}

.paper-output {
  position: absolute;
  top: -64px;
  left: 24px;
  width: 128px;
  background-color: #F4EFD9;
  color: #22252A;
  border: 3px solid #161A1C;
  padding: 8px 6px 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  line-height: 1.5;
  box-shadow: 0 6px 0 #101316;
  height: 200px;
  overflow: hidden;
}

.paper-output span {
  display: block;
  letter-spacing: 0.18em;
}

.paper-output .paper-col-head {
  color: #A8442E;
  font-weight: bold;
  border-bottom: 2px solid #161A1C;
  margin-bottom: 4px;
}

/* ============================================================
   CARRY LEVER MECHANISM — services
   ============================================================ */
.carrylever {
  background-color: #161A1C;
  padding: 74px 0 82px;
  border-bottom: 6px solid #2B3A36;
  position: relative;
}

.carrylever-rail {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #5C6670;
  border-top: 2px solid #C9A13F;
  border-bottom: 2px solid #C9A13F;
}

.bank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bank-upper {
  margin-bottom: 46px;
}

.bank-lower {
  margin-left: 9%;
  width: 91%;
}

.mech-plate {
  background-color: #2B3A36;
  border: 3px solid #C9A13F;
  border-radius: 3px;
  padding: 26px 22px 24px;
  position: relative;
  box-shadow: inset 0 0 0 2px #161A1C, 0 7px 0 #101316;
}

.mech-plate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 56px;
  width: 100%;
  height: 4px;
  background-color: #5C6670;
}

.mech-connrod {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 10px;
  height: 82px;
  background-color: #5C6670;
  border: 2px solid #161A1C;
  transform: rotate(24deg);
  transform-origin: top center;
}

.mech-connrod::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 3px solid #161A1C;
}

.mech-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 6px solid #161A1C;
  box-shadow: inset 0 0 0 4px #5C6670;
  color: #161A1C;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.mech-plate h3 {
  font-size: 1.16rem;
  color: #C9A13F;
  margin-bottom: 0.5em;
}

.mech-plate p {
  color: #EFE7D2;
  font-size: 0.98rem;
  margin-bottom: 0.8em;
}

.mech-link {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F4EFD9;
  border-bottom: 2px solid #A8442E;
  padding-bottom: 2px;
}

.carry-flag {
  display: inline-block;
  background-color: #A8442E;
  color: #F4EFD9;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 2px solid #161A1C;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ============================================================
   PROSE / MECHANISM DETAIL BANDS
   ============================================================ */
.mechprose {
  background-color: #22252A;
  padding: 74px 0 82px;
  border-bottom: 6px solid #161A1C;
}

.mechprose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.mechprose-col h2 {
  font-size: 1.72rem;
  color: #C9A13F;
}

.mechprose-col p {
  color: #EFE7D2;
}

.slide-rack {
  background-color: #161A1C;
  border: 3px solid #5C6670;
  border-radius: 4px;
  padding: 20px 20px 8px;
  margin-top: 18px;
}

.slide-rack-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.slide-rack-num {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background-color: #2B3A36;
  color: #C9A13F;
  border: 2px solid #C9A13F;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-rack-bar {
  height: 14px;
  background-color: #5C6670;
  border-top: 2px solid #161A1C;
  border-bottom: 2px solid #161A1C;
}

.slide-rack-bar.r1 { width: 62%; }
.slide-rack-bar.r2 { width: 84%; }
.slide-rack-bar.r3 { width: 48%; }
.slide-rack-bar.r4 { width: 72%; }

.slide-rack-label {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.74rem;
  color: #EFE7D2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* link plates / steel linkages */
.steelleyard {
  background-color: #2B3A36;
  padding: 70px 0 78px;
  border-bottom: 6px solid #161A1C;
}

.steelleyard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.linkage-block {
  border-left: 6px solid #C9A13F;
  padding: 6px 0 6px 20px;
}

.linkage-block h3 {
  color: #C9A13F;
  font-size: 1.2rem;
}

.linkage-block p {
  color: #EFE7D2;
  margin-bottom: 0;
}

.camshaft {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 34px 0 0;
}

.camshaft-shaft {
  height: 8px;
  flex: 1 1 auto;
  background-color: #5C6670;
  border-top: 2px solid #161A1C;
  border-bottom: 2px solid #161A1C;
}

.cam-lobe {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 4px solid #161A1C;
  box-shadow: inset 0 0 0 3px #5C6670;
}

/* ============================================================
   ACCENT STRIP — ENGINE TRIAL
   ============================================================ */
.enginetrial {
  background-color: #C9A13F;
  border-top: 6px solid #161A1C;
  border-bottom: 6px solid #161A1C;
  padding: 26px 0;
}

.enginetrial-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.enginetrial-text {
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  font-weight: bold;
  color: #161A1C;
  margin: 0;
  letter-spacing: 0.02em;
}

.enginetrial-link {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #161A1C;
  color: #C9A13F;
  border: 3px solid #161A1C;
  padding: 12px 22px;
  border-radius: 3px;
}

.enginetrial-link:hover,
.enginetrial-link:focus {
  background-color: #2B3A36;
  color: #F4EFD9;
  text-decoration: none;
}

/* ============================================================
   CTA BAND (services / contact)
   ============================================================ */
.ctaband {
  background-color: #161A1C;
  padding: 66px 0 72px;
  border-top: 6px solid #C9A13F;
  border-bottom: 6px solid #2B3A36;
}

.ctaband h2 {
  font-size: 2rem;
  color: #C9A13F;
}

.ctaband p {
  color: #EFE7D2;
  max-width: 760px;
}

/* ============================================================
   FOOTER — OUTPUT PAPER TRAY
   ============================================================ */
.papertray {
  background-color: #22252A;
}

.papertray-tape {
  background-color: #F4EFD9;
  color: #22252A;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  white-space: nowrap;
  overflow: hidden;
  padding: 8px 0;
  border-top: 4px solid #161A1C;
  border-bottom: 4px solid #161A1C;
}

.papertray-rollers {
  background-color: #2B3A36;
  padding: 40px 0 34px;
}

.papertray-rollers-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.roller-group {
  border-top: 5px solid #C9A13F;
  padding-top: 16px;
}

.roller-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A13F;
  margin-bottom: 12px;
}

.roller-spindle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 3px solid #161A1C;
  box-shadow: inset 0 0 0 3px #5C6670;
}

.roller-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roller-group li {
  margin-bottom: 8px;
}

.roller-group a {
  color: #EFE7D2;
  font-size: 0.94rem;
}

.roller-group a:hover,
.roller-group a:focus {
  color: #C9A13F;
}

.papertray-base {
  background-color: #161A1C;
  border-top: 4px solid #C9A13F;
  padding: 34px 0 30px;
}

.papertray-base-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 34px;
  align-items: start;
}

.baseplate {
  background-color: #2B3A36;
  border: 3px solid #C9A13F;
  border-radius: 3px;
  padding: 20px 20px 18px;
  position: relative;
}

.baseplate .operationplate-brand {
  font-size: 1.1rem;
}

.baseplate-blurb {
  color: #EFE7D2;
  font-size: 0.96rem;
  margin: 10px 0 0;
}

.baseplate-crank {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 54px;
  height: 10px;
  background-color: #5C6670;
  border: 2px solid #161A1C;
}

.baseplate-crank::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #F4EFD9;
  border: 4px solid #161A1C;
}

.tray-sill {
  color: #EFE7D2;
  font-size: 0.92rem;
}

.tray-sill dl {
  margin: 0;
}

.tray-sill dt {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9A13F;
  margin-top: 12px;
}

.tray-sill dd {
  margin: 2px 0 0;
  color: #EFE7D2;
}

.papertray-copyright {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 3px solid #5C6670;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  color: #EFE7D2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.figwheel-glyph {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #C9A13F;
  border: 3px solid #161A1C;
  box-shadow: inset 0 0 0 2px #5C6670;
  vertical-align: middle;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contactbay {
  background-color: #22252A;
  padding: 64px 0 72px;
  border-bottom: 6px solid #161A1C;
}

.contactbay-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.machineform {
  background-color: #2B3A36;
  border: 3px solid #C9A13F;
  border-radius: 3px;
  padding: 28px 26px 26px;
  box-shadow: inset 0 0 0 2px #161A1C, 0 7px 0 #101316;
}

.machineform h2 {
  color: #C9A13F;
  font-size: 1.6rem;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A13F;
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background-color: #F4EFD9;
  color: #22252A;
  border: 3px solid #161A1C;
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  padding: 11px 13px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid #C9A13F;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: #C9A13F;
  color: #161A1C;
  border: 3px solid #161A1C;
  border-radius: 3px;
  padding: 14px 26px;
  cursor: pointer;
  box-shadow: 0 5px 0 #101316;
}

.form-submit:hover,
.form-submit:focus {
  background-color: #F4EFD9;
}

.form-note {
  font-size: 0.86rem;
  color: #EFE7D2;
  margin-top: 14px;
}

.form-status {
  margin-top: 14px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.86rem;
  color: #F4EFD9;
  background-color: #A8442E;
  border: 2px solid #161A1C;
  padding: 10px 12px;
  border-radius: 3px;
}

.contact-card {
  background-color: #161A1C;
  border: 3px solid #5C6670;
  border-radius: 3px;
  padding: 24px 22px;
  margin-bottom: 24px;
}

.contact-card h3 {
  color: #C9A13F;
  font-size: 1.16rem;
}

.contact-card p {
  color: #EFE7D2;
  margin-bottom: 0.6em;
}

.contact-card a {
  color: #EFE7D2;
}

.contact-card a:hover,
.contact-card a:focus {
  color: #C9A13F;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px dotted #5C6670;
  padding: 7px 0;
  color: #EFE7D2;
  font-size: 0.94rem;
}

.hours-list li span:last-child {
  color: #C9A13F;
  font-family: "Courier New", Courier, monospace;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faqbay {
  background-color: #161A1C;
  padding: 64px 0 74px;
  border-bottom: 6px solid #2B3A36;
}

.faq-item {
  background-color: #2B3A36;
  border: 3px solid #C9A13F;
  border-radius: 3px;
  margin-bottom: 14px;
}

.faq-q {
  width: 100%;
  text-align: left;
  background-color: #2B3A36;
  color: #EFE7D2;
  border: 0;
  padding: 16px 20px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q:hover,
.faq-q:focus {
  color: #C9A13F;
}

.faq-mark {
  color: #C9A13F;
  font-size: 1.3rem;
  line-height: 1;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms ease;
}

.faq-item.is-open .faq-a {
  max-height: 460px;
}

.faq-a-inner {
  padding: 0 20px 18px;
  color: #EFE7D2;
  font-size: 0.96rem;
}

/* ============================================================
   SERVICES DETAIL HELPERS
   ============================================================ */
.serviceband {
  background-color: #22252A;
  padding: 70px 0 78px;
  border-bottom: 6px solid #161A1C;
}

.serviceband:nth-of-type(even) {
  background-color: #161A1C;
}

.servicerow {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 54px;
}

.servicerow:last-of-type {
  margin-bottom: 0;
}

.servicenum {
  background-color: #C9A13F;
  color: #161A1C;
  border: 3px solid #161A1C;
  border-radius: 3px;
  padding: 18px 10px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  box-shadow: inset 0 0 0 2px #5C6670;
}

.servicenum strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.servicenum em {
  display: block;
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}

.servicebody h2 {
  color: #C9A13F;
  font-size: 1.6rem;
}

.servicebody p {
  color: #EFE7D2;
}

.process-rack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.process-step {
  background-color: #161A1C;
  border: 3px solid #5C6670;
  border-top: 6px solid #C9A13F;
  border-radius: 3px;
  padding: 18px 16px;
}

.process-step b {
  display: block;
  font-family: "Courier New", Courier, monospace;
  color: #C9A13F;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-step p {
  color: #EFE7D2;
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .wheelstack-grid {
    grid-template-columns: 1fr;
  }

  .figwheel-bank {
    height: 500px;
    margin-top: 20px;
  }

  .bank,
  .bank-lower {
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
    width: 100%;
  }

  .mechprose-grid,
  .steelleyard-grid,
  .contactbay-grid,
  .papertray-base-grid {
    grid-template-columns: 1fr;
  }

  .process-rack {
    grid-template-columns: 1fr 1fr;
  }

  .servicerow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .settingrack-toggle {
    display: block;
  }

  .settingrack-inner {
    flex-wrap: wrap;
    padding-bottom: 14px;
  }

  .settingrack-studs {
    flex-wrap: wrap;
    width: 100%;
    display: none;
    padding-top: 14px;
    justify-content: flex-start;
  }

  .settingrack-studs.is-open {
    display: flex;
  }

  .slide-stud {
    height: 60px;
    width: 30%;
    min-width: 90px;
    flex: 1 1 30%;
  }

  .slide-stud-link {
    width: 100%;
  }

  .wheelstack-copy h1 {
    font-size: 2.1rem;
  }

  .bank,
  .bank-lower {
    grid-template-columns: 1fr;
  }

  .papertray-rollers {
    grid-template-columns: 1fr;
  }

  .process-rack {
    grid-template-columns: 1fr;
  }

  .figwheel-bank {
    height: 430px;
  }

  .figwheel {
    width: 118px;
    height: 118px;
  }

  .figwheel-b { left: 118px; }
  .figwheel-c { left: 62px; }
  .figwheel-d { left: 138px; }
}
