/* ==========================================================================
   BFDN ENTERPRISES, INC - patch bay board stylesheet
   Palette:
   BAY-BLACK      #191B1E  body background (anodized patch bay chassis)
   PATCH-CREAM    #F1ECDD  primary text
   CORD-CITRON    #D8B93A  accent (bright citron patch cord insulation)
   PLUG-STEEL     #7C848A  jacks and fittings
   JACK-FACE      #E8E2D0  raised callout plates (ink #221E16 text)
   WIRING-GREEN   #5F7A52  small tag sleeves on cord ends ONLY
   RACK-BOTTOM    #101214  footer
   CHASSIS-GREY   #2A2E33  panel bands
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

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

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  line-height: 1.25;
  color: #F1ECDD;
}

p {
  margin: 0 0 1.1em;
}

/* ---------- number strip navigation (.numstrip) --------------------------- */

.numstrip {
  background-color: #2A2E33;
  border-bottom: 3px solid #7C848A;
  padding: 18px 24px 14px;
}

.numstrip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.brandplate {
  background-color: #E8E2D0;
  color: #221E16;
  padding: 10px 18px;
  border-radius: 4px;
  border: 2px solid #7C848A;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brandplate-name {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #221E16;
}

.cordglyph {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid #D8B93A;
  border-radius: 50%;
  border-right-color: #E8E2D0;
  transform: rotate(20deg);
}

.numstrip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.numjack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 3px solid #7C848A;
  border-radius: 28px;
  color: #F1ECDD;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 0.95rem;
  background-color: #191B1E;
}

.numjack:hover {
  text-decoration: none;
  border-color: #D8B93A;
  color: #D8B93A;
}

.numjack-pos {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #7C848A;
}

.numjack-active {
  background-color: #D8B93A;
  border-color: #D8B93A;
  color: #221E16;
}

.numjack-active .numjack-pos {
  color: #221E16;
}

.numjack-active:hover {
  color: #221E16;
}

.numstrip-rule {
  height: 2px;
  background-color: #7C848A;
  max-width: 1180px;
  margin: 14px auto 0;
}

/* ---------- hero: patching field (.patchbay) ------------------------------ */

.patchbay {
  position: relative;
  background-color: #191B1E;
  padding: 46px 24px 58px;
  border-bottom: 2px solid #2A2E33;
  overflow-x: hidden;
}

.patchbay-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  min-height: 560px;
}

.introplate {
  position: relative;
  z-index: 3;
  background-color: #E8E2D0;
  color: #221E16;
  border: 3px solid #7C848A;
  border-radius: 6px;
  max-width: 520px;
  padding: 28px 30px 26px;
  box-shadow: 8px 8px 0 #101214;
}

.introplate h1 {
  font-size: 2.4rem;
  margin: 0 0 14px;
  color: #221E16;
}

.citron-word {
  color: #D8B93A;
}

.introplate p {
  color: #221E16;
  font-size: 1.02rem;
}

.introplate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-citron {
  display: inline-block;
  background-color: #D8B93A;
  color: #191B1E;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border-radius: 4px;
  border: 2px solid #221E16;
  font-size: 0.92rem;
}

.btn-citron:hover {
  text-decoration: none;
  background-color: #E8E2D0;
}

.btn-outline {
  display: inline-block;
  background-color: #E8E2D0;
  color: #221E16;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border-radius: 4px;
  border: 2px solid #221E16;
  font-size: 0.92rem;
}

.btn-outline:hover {
  text-decoration: none;
  background-color: #D8B93A;
}

.jackfield {
  position: absolute;
  top: 20px;
  right: 0;
  width: 640px;
  max-width: 100%;
  padding: 22px 20px;
  background-color: #2A2E33;
  border: 3px solid #7C848A;
  border-radius: 8px;
  z-index: 1;
}

.ringrow {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ringrow-a { justify-content: flex-start; }
.ringrow-b { justify-content: center; }
.ringrow-c { justify-content: space-between; }
.ringrow-d { justify-content: flex-end; }

.jack {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #191B1E;
  border: 5px solid #7C848A;
  box-shadow: inset 0 0 0 3px #101214;
  display: inline-block;
}

.jack-hot {
  border-color: #D8B93A;
}

.cord {
  position: absolute;
  border: 6px solid #D8B93A;
  border-radius: 50%;
  border-top-color: #2A2E33;
  border-left-color: #2A2E33;
  z-index: 2;
  pointer-events: none;
}

.cord-one {
  width: 260px;
  height: 300px;
  top: 70px;
  left: 80px;
  transform: rotate(8deg);
}

.cord-two {
  width: 210px;
  height: 360px;
  top: 120px;
  left: 280px;
  transform: rotate(-14deg);
  border-top-color: #2A2E33;
  border-bottom-color: #2A2E33;
}

.cord-three {
  width: 300px;
  height: 200px;
  top: 230px;
  left: 140px;
  transform: rotate(16deg);
  border-left-color: #2A2E33;
  border-right-color: #2A2E33;
}

.tagsleeve {
  position: absolute;
  background-color: #5F7A52;
  color: #F1ECDD;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 3px;
  border: 2px solid #191B1E;
  z-index: 4;
}

.tagsleeve-a { top: 66px; left: 320px; }
.tagsleeve-b { top: 430px; left: 360px; }
.tagsleeve-c { top: 250px; left: 120px; }

.brassplate {
  position: absolute;
  bottom: 6px;
  right: 10px;
  z-index: 5;
  background-color: #D8B93A;
  color: #221E16;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 4px;
  border: 3px solid #7C848A;
  box-shadow: 3px 3px 0 #101214;
}

/* ---------- cordrows: connecting rows ------------------------------------- */

.cordrows {
  background-color: #191B1E;
  padding: 62px 24px 40px;
  border-bottom: 2px solid #2A2E33;
}

.cordrows-inner {
  max-width: 1180px;
  margin: 0 auto;
  border-left: 4px solid #7C848A;
  padding-left: 26px;
}

.section-head {
  margin-bottom: 40px;
  max-width: 760px;
}

.section-head h2 {
  font-size: 2rem;
  margin: 0 0 12px;
}

.section-head p {
  font-size: 1.02rem;
  color: #F1ECDD;
}

.schedule-entry {
  background-color: #E8E2D0;
  color: #221E16;
  border: 3px solid #7C848A;
  border-radius: 6px;
  padding: 22px 26px 20px;
  margin-bottom: 26px;
  position: relative;
  max-width: 880px;
}

.schedule-entry h3 {
  color: #221E16;
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.schedule-entry p {
  color: #221E16;
  margin-bottom: 12px;
}

.sched-left { margin-right: auto; }
.sched-right { margin-left: auto; }
.sched-wide { max-width: 1000px; }
.sched-invert {
  background-color: #2A2E33;
  border-color: #D8B93A;
}

.sched-invert h3 { color: #F1ECDD; }
.sched-invert p { color: #F1ECDD; }

.cordarc {
  display: inline-block;
  width: 30px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
  border: 4px solid #D8B93A;
  border-radius: 50%;
  border-bottom-color: #E8E2D0;
}

.arc-b {
  transform: rotate(40deg);
  border-bottom-color: #E8E2D0;
  border-left-color: #E8E2D0;
}

.arc-c {
  transform: rotate(-30deg);
  border-right-color: #E8E2D0;
}

.arc-d { transform: rotate(90deg); }
.arc-e {
  transform: rotate(-60deg);
  border-left-color: #E8E2D0;
}

.arc-f { transform: rotate(15deg); }

.crosscode {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #221E16;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sched-invert .crosscode { color: #F1ECDD; }

.tagsleeve-chip {
  background-color: #5F7A52;
  color: #F1ECDD;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border: 2px solid #191B1E;
}

.testlamps {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.lamp {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #7C848A;
  border: 3px solid #101214;
  display: inline-block;
}

.lamp-lit { background-color: #D8B93A; }

/* ---------- accent strip: thin cord line ---------------------------------- */

.cordline {
  background-color: #191B1E;
  padding: 46px 24px 52px;
  text-align: center;
}

.cordline-inner {
  max-width: 940px;
  margin: 0 auto;
  position: relative;
}

.cordline-text {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 1.05rem;
  color: #F1ECDD;
  margin-bottom: 26px;
}

.cordsag {
  height: 46px;
  border: 6px solid #D8B93A;
  border-top-color: #191B1E;
  border-left-color: #191B1E;
  border-right-color: #191B1E;
  border-radius: 50%;
  position: relative;
}

.cordsag-tag {
  position: absolute;
  top: 20px;
  background-color: #5F7A52;
  color: #F1ECDD;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  border: 2px solid #191B1E;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
}

.cordsag-tag-a { left: 24%; }
.cordsag-tag-b { left: 68%; }

/* ---------- tool strap footer (.strapbase) -------------------------------- */

.strapbase {
  background-color: #101214;
  color: #F1ECDD;
  padding: 0 24px 34px;
  position: relative;
}

.toolstrap {
  max-width: 1180px;
  margin: 0 auto;
  background-color: #2A2E33;
  border: 3px solid #7C848A;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.punchtool {
  width: 12px;
  height: 64px;
  background-color: #7C848A;
  border-radius: 6px;
  border: 3px solid #191B1E;
  position: relative;
}

.punchtool-tip {
  width: 22px;
  height: 16px;
  background-color: #D8B93A;
  border: 3px solid #191B1E;
  border-radius: 3px;
}

.cordhook {
  width: 34px;
  height: 34px;
  border: 5px solid #D8B93A;
  border-radius: 50%;
  border-left-color: #2A2E33;
}

.strap-stitch {
  flex: 1;
  height: 3px;
  border-top: 3px dashed #7C848A;
  min-width: 60px;
}

.strapbase-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-top: 34px;
}

.strap-brand {
  background-color: #E8E2D0;
  color: #221E16;
  border-radius: 6px;
  border: 3px solid #7C848A;
  padding: 20px 22px;
}

.strap-brand h3 {
  color: #221E16;
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.strap-brand p {
  color: #221E16;
  font-size: 0.94rem;
  margin-bottom: 0;
}

.strap-group {
  background-color: #E8E2D0;
  color: #221E16;
  border-radius: 6px;
  border: 3px solid #7C848A;
  padding: 18px 20px;
}

.strap-group h4 {
  color: #221E16;
  margin: 0 0 10px;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.strap-group li {
  margin-bottom: 7px;
}

.strap-group a {
  color: #221E16;
  font-size: 0.94rem;
  border-bottom: 2px solid #D8B93A;
}

.strap-group a:hover {
  color: #101214;
  text-decoration: none;
}

.strapbase-base {
  max-width: 1180px;
  margin: 26px auto 0;
  border-top: 2px solid #2A2E33;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  align-items: center;
  font-size: 0.9rem;
  color: #F1ECDD;
}

.strapbase-base a {
  color: #D8B93A;
}

.base-loop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- interior page blocks (services, contact) ---------------------- */

.pageband {
  background-color: #191B1E;
  padding: 44px 24px 16px;
}

.pageband-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.pageband h1 {
  font-size: 2.3rem;
  margin: 0 0 12px;
}

.pageband p {
  font-size: 1.04rem;
  max-width: 820px;
}

.svc-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}

.svc-block {
  background-color: #E8E2D0;
  color: #221E16;
  border: 3px solid #7C848A;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 26px;
  max-width: 920px;
}

.svc-block h2 {
  color: #221E16;
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.svc-block p {
  color: #221E16;
}

.svc-alt {
  margin-left: auto;
  background-color: #2A2E33;
  border-color: #D8B93A;
}

.svc-alt h2 { color: #F1ECDD; }
.svc-alt p { color: #F1ECDD; }
.svc-alt .crosscode { color: #F1ECDD; }

.processband {
  background-color: #191B1E;
  padding: 20px 24px 44px;
}

.processband-inner {
  max-width: 1180px;
  margin: 0 auto;
  border-left: 4px solid #7C848A;
  padding-left: 26px;
}

.processband h2 {
  font-size: 1.8rem;
  margin: 0 0 14px;
}

.process-step {
  background-color: #E8E2D0;
  color: #221E16;
  border: 3px solid #7C848A;
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 18px;
}

.process-step h3 {
  color: #221E16;
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.process-step p {
  color: #221E16;
  margin-bottom: 0;
}

.ctaband {
  background-color: #2A2E33;
  padding: 40px 24px;
  text-align: center;
  border-top: 3px solid #7C848A;
  border-bottom: 3px solid #7C848A;
}

.ctaband-inner {
  max-width: 860px;
  margin: 0 auto;
}

.ctaband h2 {
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.ctaband p {
  font-size: 1.04rem;
  margin-bottom: 20px;
}

/* ---------- contact form -------------------------------------------------- */

.contactband {
  background-color: #191B1E;
  padding: 30px 24px 48px;
}

.contactband-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.formplate {
  background-color: #E8E2D0;
  color: #221E16;
  border: 3px solid #7C848A;
  border-radius: 6px;
  padding: 26px 28px;
}

.formplate h2 {
  color: #221E16;
  font-size: 1.5rem;
  margin: 0 0 16px;
}

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

.field-row label {
  display: block;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #221E16;
  margin-bottom: 6px;
}

.field-row input,
.field-row textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #221E16;
  background-color: #F1ECDD;
  border: 2px solid #7C848A;
  border-radius: 4px;
}

.field-row textarea {
  min-height: 130px;
  resize: vertical;
}

.formnote {
  font-size: 0.86rem;
  color: #221E16;
  margin-top: 12px;
}

.infoplate {
  background-color: #2A2E33;
  border: 3px solid #7C848A;
  border-radius: 6px;
  padding: 24px 26px;
}

.infoplate h2 {
  font-size: 1.4rem;
  margin: 0 0 14px;
}

.infoplate address {
  font-style: normal;
  margin-bottom: 16px;
  line-height: 1.8;
}

.infoplate a {
  color: #D8B93A;
}

.hourslist {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.hourslist li {
  padding: 6px 0;
  border-bottom: 1px solid #7C848A;
  font-size: 0.96rem;
}

.faqband {
  background-color: #191B1E;
  padding: 20px 24px 52px;
}

.faqband-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faqband h2 {
  font-size: 1.7rem;
  margin: 0 0 18px;
}

.faq-item {
  background-color: #E8E2D0;
  color: #221E16;
  border: 3px solid #7C848A;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow-x: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background-color: #E8E2D0;
  color: #221E16;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
}

.faq-q:hover {
  background-color: #D8B93A;
}

.faq-a {
  padding: 0 20px 18px;
  color: #221E16;
}

.faq-a p {
  color: #221E16;
  margin: 0;
}

.faq-a[hidden] {
  display: none;
}

/* ---------- scroll reveal ------------------------------------------------- */

html.js .reveal-pre {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal-pre.is-shown {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 980px) {
  .jackfield {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 30px;
  }
  .patchbay-inner {
    min-height: 0;
  }
  .cord {
    display: none;
  }
  .contactband-inner {
    grid-template-columns: 1fr;
  }
  .strapbase-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .introplate h1 {
    font-size: 1.8rem;
  }
  .numstrip-links {
    flex-direction: column;
    width: 100%;
  }
  .numjack {
    width: 100%;
  }
  .jack {
    width: 26px;
    height: 26px;
  }
}
