/* ============================================================
   Lambda Service Desk — Night-Shift Switchboard Theme
   Switchboard room wall, patch cords, jack plates, call lamps,
   bakelite console, rotary dial phone, dispatch logbook.
   Palette locked to the spec:
     body bg    #1C1A16  (warm bakelite black switchboard wall)
     text       #F4EFE2  (call cream)
     accent     #77824E  (cord moss)
     live       #9CAF6E  (terminal green)
     panel      #26221B  (bakelite panel)
     jack plate #332E24
     dial      #E8E0CC
     trunk      #141210
   All surfaces opaque. No rgba, no gradient-on-text.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: #F4EFE2;
  background: #1C1A16;
  background-image:
    radial-gradient(circle at 40% 30%, #241F18 0%, #1C1A16 58%),
    linear-gradient(180deg, #211D17 0%, #1C1A16 40%, #141210 100%);
  background-attachment: scroll;
  overflow-x: hidden;
}

a { color: #9CAF6E; text-decoration: none; }
a:focus-visible { outline: 2px solid #9CAF6E; outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; }

/* Hidden decorative watermark sweep, kept invisible */
.deco { visibility: hidden; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   PATCH-CORD NAVIGATION (.patchcord)
   Two bands: a lamp strip and a jack-plate bar; sticky top.
   ============================================================ */
.patchcord {
  position: sticky;
  top: 0;
  z-index: 100;
}

.patchcord .lampstrip {
  background: #141210;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border-bottom: 1px solid #2C271F;
}

.patchcord .lampstrip .lampline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.patchcord .lampstrip .lampcap {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #E8E0CC;
  display: inline-block;
  position: relative;
}

.patchcord .lampstrip .lampcap::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #9CAF6E;
}

.patchcord .lampstrip .lampcap.midblink::after { background: #8FA260; }

.patchcord .lampstrip .lineid {
  font-size: 10px;
  letter-spacing: 3px;
  color: #6E6a5a;
  font-family: "Courier New", monospace;
}

.patchcord .cordbar {
  background: #26221B;
  border-bottom: 1px solid #332E24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  flex-wrap: wrap;
}

.patchcord .brandblock {
  display: flex;
  align-items: center;
  gap: 12px;
}

.patchcord .jackglyph {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #332E24;
  border: 1px solid #4A4335;
  position: relative;
  flex: 0 0 auto;
}

.patchcord .jackglyph .hole {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #141210;
  border: 2px solid #77824E;
}
.patchcord .jackglyph .hole.h1 { top: 7px; left: 9px; }
.patchcord .jackglyph .hole.h2 { top: 20px; left: 9px; }
.patchcord .jackglyph .hole.h3 { bottom: 7px; left: 9px; }
.patchcord .jackglyph .plug { position: absolute; right: 7px; width: 10px; height: 14px; background: #77824E; border-radius: 3px; top: 7px; }
.patchcord .jackglyph .plug::after { content: ""; position: absolute; left: 2px; width: 10px; height: 9px; border: 2px solid #9CAF6E; border-left: none; border-bottom: none; transform: rotate(38deg); top: -4px; }

.patchcord .brandname {
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #F4EFE2;
}

.patchcord .brandsub {
  font-size: 11px;
  letter-spacing: 3px;
  color: #9CAF6E;
  text-transform: uppercase;
}

.patchcord .cordnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.patchcord .navtab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #332E24;
  border-radius: 6px 6px 0 0;
  padding: 9px 15px 11px;
  color: #F4EFE2;
  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  border-bottom: 3px solid #3f3930;
}

.patchcord .navtab:hover,
.patchcord .navtab.iscurrent { background: #3A3429; color: #9CAF6E; border-bottom-color: #77824E; }

.patchcord .navtab .cordloop {
  width: 14px;
  height: 18px;
  border: 2px solid #77824E;
  border-radius: 0 0 8px 8px;
  border-top: none;
  display: inline-block;
}

.patchcord .lineschip {
  background: #26221B;
  border: 1px solid #415a4a;
}

.patchcord .navtoggle {
  display: none;
  background: #77824E;
  color: #141210;
  border: none;
  font-family: "Courier New", monospace;
  font-size: 14px;
  padding: 8px 13px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 1px;
}

@media (max-width: 860px) {
  .patchcord .navtoggle { display: inline-flex; }
  .patchcord .cordnav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 6px; }
  .patchcord .cordnav.open { display: flex; }
  .patchcord .navtab { justify-content: space-between; border-radius: 6px; border-bottom: 2px solid #3f3930; }
}

/* ============================================================
   HERO — CONSOLE-SWITCH (.consoleswitch)
   ============================================================ */
.consoleswitch {
  background: #141210;
  text-align: center;
  padding: 72px 24px 0;
}

.consoleswitch .eyeblock {
  font-family: "Courier New", monospace;
  font-size: 16px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #9CAF6E;
  margin: 0 0 20px;
}

.consoleswitch h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  margin: 0 auto 20px;
  color: #F4EFE2;
  max-width: 18em;
  line-height: 1.12;
}

.consoleswitch .herolede {
  font-size: 19px;
  max-width: 46em;
  margin: -14px auto 10px;
  color: #E8E0CC;
}

.consoleswitch .consoleband {
  max-width: 1150px;
  margin: 40px auto 0;
  background: #26221B;
  border: 1px solid #3a3429;
  border-radius: 18px 18px 0 0;
  border-bottom: none;
  padding: 22px 18px 0;
  position: relative;
}

/* deck interior seam lines */
.consoleswitch .deckrow {
  background: #332E24;
  border-radius: 8px 8px 0 0;
  margin: -2px auto 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-around;
}

.consoleswitch .slotpair { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.consoleswitch .phone { background: #26221B; border: 1px solid #4A4335; border-radius: 10px; padding: 10px; width: 120px; text-align: center; }
.consoleswitch .phone .dialface { width: 60px; height: 60px; border-radius: 50%; background: #E8E0CC; margin: 0 auto; position: relative; }
.consoleswitch .phone .dialface::after { content: ""; position: absolute; inset: 0; margin: auto; width: 2px; height: 2px; }
.consoleswitch .phone .handsethint { width: 46px; height: 8px; background: #4A4335; border-radius: 6px; margin: 6px auto 0; }

.consoleswitch .logbook { background: #E8E0CC; width: 110px; border-radius: 4px; padding: 6px; }
.consoleswitch .logbook .lgline { height: 5px; background: #6E6a5a; margin: 4px 0; border-radius: 2px; }
.consoleswitch .logbook .lgline..short { width: 60%; }

/* call lamps along the top of the console */
.consoleswitch .deeplamps {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}
.consoleswitch .deeplamp {
  width: 16px; height: 16px; border-radius: 60% 60% 6px 6px;
  background: #E8E0CC; border: 1px solid #6E6a5a; position: relative;
}
.consoleswitch .deeplamp.glow::after { content:""; position:absolute; inset:0; border-radius: inherit; box-shadow: inset 0 0 0 1px transparent; }

/* Kick strip stats row */
.consoleswitch .kickstrip {
  background: #141210;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 14px 0 26px;
}

.consoleswitch .kstat { font-family: "Courier New", monospace; font-size: 15px; text-align:center; padding: 4px 18px; color:#E8E0CC; }
.consoleswitch .kstat strong { display:block; font-size: 26px; color:#9CAF6E; letter-spacing:1px; }
.consoleswitch .kseg { color:#77824E; align-self:center; font-size:20px; }

/* ============================================================
   SECTION headings shared
   ============================================================ */
.homeintro { padding: 60px 24px 0; text-align:center; background:#1C1A16; }
.homeintro h2 { color:#9CAF6E; letter-spacing:3px; text-transform:uppercase; font-size:15px; font-family:"Courier New",monospace; margin:0 0 8px; }

/* ============================================================
   LINE BOARD — LINE-JACK ROWS  (.boardrow)
   Six full-width horizontal rows (not cards).
   ============================================================ */
.lineboard { background: #1C1A16; padding: 10px 0 0; }

.boardrow {
  background: #26221B;
  border: 1px solid #332E24;
  border-radius: 12px;
  margin: 22px auto;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  max-width: 1200px;
}

.boardrow.ap .col .chipsvc { border-color: #4a560f; background:#1C1A16; }

/* indented every second row with a moss jack */
.boardrow.even { margin-left: 0; }
@media (min-width: 720px) {
  .boardrow:nth-child(even) { transform: translateX(44px); }
  .boardrow:nth-child(even) .jackcol { order: 2; }
  .boardrow:nth-child(even) .content { order: 1; border-right: none; border-left: 1px solid #352f26; }
}

.boardrow .jackcol {
  flex: 0 0 118px;
  background: #332E24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 6px;
  text-align: center;
  gap: 8px;
}

.boardrow .jackcol .linecode { font-family: "Courier New", monospace; letter-spacing: 2px; color: #77824E; font-weight: 700; }
.boardrow .jackcol .sock { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #E8E0CC; position: relative; }
.boardrow .jackcol .sock::after { content:""; position:absolute; inset:0; margin:auto; width:8px; height:8px; border-radius:50%; background:#141210; }

@media (min-width: 720px) {
  .boardrow .jackcol .crosschip { display: none; }
}

.boardrow .chipsvc {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #9CAF6E;
  border: 1px solid #4A560f;
  border-radius: 4px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.boardrow .content {
  flex: 1;
  padding: 26px 28px;
  border-left: 1px solid #352f26;
}

.boardrow .content h3,
.sectionh h3 { color: #F4EFE2; margin: 0 0 6px; font-size: 27px; font-family: Georgia, serif; }

.boardrow .content p { color: #E8E0CC; margin: 8px 0; }
.boardrow .content .meta { font-size: 13px; color: #8B8D80; }
.boardrow .detailslink { display:inline-block; margin-top: 8px; font-family: "Courier New", monospace; font-size: 13px; color: #9CAF6E; letter-spacing: 2px; }
.boardrow .detailslink:hover { color: #77824E; }

/* per-row moss jack illustration (doubling loop) */
.jackpin { position: absolute; width: 8px; height: 30px; background: #332E24; bottom: 0; }
.jackpin.pin1 { left: -14px; }
.jackpin.pin2 { right: 14px; }

/* ============================================================
   PATCH-THROUGH FLOW
   ============================================================ */
.patchflowband { background: #141210; padding: 10px 0 40px; }
.flowrail {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.patchflow { margin-top: 26px; border-top: 2px dashed #445a3a; padding-top: 22px; }

.stations {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.stationblk { flex: 1 1 170px; min-width: 150px; text-align: center; position: relative; }
.stationblk .stnum {
  display: inline-flex; align-items:center; justify-content:center;
  width: 42px; height: 42px; font-size: 12px;
  border-radius: 6px; background: #26221B; border: 1px solid #4A560f;
  font-family:"Courier New",monospace; letter-spacing:3px; color: #9CAF6E; font-weight: 700;
}
.stationblk .stname { display: block; font-family: "Courier New", monospace; font-size: 13px; margin-top: 6px; color:#F4EFE2; letter-spacing: 1px; }
.stationblk p { font-size: 14px; color:#E8E0CC; margin: 6px auto 0; max-width: 190px; }
.stationblk .sta cap { color: #E8E0CC; }

.lanereturn { margin-top: 22px; font-family:"Courier New",monospace; font-size:13px; color:#77824E; letter-spacing:3px; text-transform:uppercase; border-top:2px solid #5d6a44; padding:14px 0 0; }

/* moving plug replaced by a static planted plug over LIVE station */
#pstatus { font-size: 14px; color:#E8E0CC; }

/* ============================================================
   STATEMENT / PLEDGE on CORD-MOSS
   ============================================================ */
.pledgeband { background: #77824E; color: #141210; }
.pledgewrap { max-width: 1200px; margin: 0 auto; padding: 46px 24px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px;}
.pledgeband .bigfigure { font-family:"Courier New",monospace; font-size: 72px; font-weight:700; line-height:1; color:#12110F; letter-spacing:1px; }
.pledgeband .bigunit { font-size: 20px; color:#101010; letter-spacing:6px; }
.pledgeband p.pledgetext { max-width: 34em; margin: 8px auto 0; color:#1E1B12; font-size:19px; }

/* ============================================================
   HOLD-NOTE accent band (terminal-green)
   ============================================================ */
.holdnote { background:#9CAF6E; color:#141210; }
.holdwrap { max-width:1200px; margin:0 auto; padding: 32px 24px; display:flex; flex-direction: column; text-align:center; align-items:center; gap:8px;}
.holdnote .stamp { display:inline-block; border:2px solid #141210; color:#141210; font-family:"Courier New",monospace; letter-spacing:4px; padding:4px 12px; font-size:12px; border-radius:3px; }
.holdnote p { max-width: 52em; margin:0; font-size: 18px; color:#212012; }
.holdnote .bookbtn { display:inline-block; background:#141210; color:#9CAF6E; padding:13px 26px; font-family:"Courier New",monospace; letter-spacing:2px; font-size:15px; border-radius:6px; margin-top:6px; }
.holdnote .bookbtn:hover { background:#26221B; }

/* ============================================================
   HOME BEYOND — text richness block (not decorative)
   ============================================================ */
.homedepth { background:#1C1A16; padding: 54px 24px; }
.deepgrid { max-width: 1200px; margin:0 auto; display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 26px; }
.dcol p { color:#E8E0CC; margin: 0 0 14px; font-size:16px; }
.dcol h3 { color:#9CAF6E; font-family:"Courier New",monospace; font-size:15px; letter-spacing:3px; text-transform:uppercase; margin:6px 0 10px;}
.sectionh { text-align:center;}
.ruleband { text-align:center; max-width: 1200px; margin: 0 auto; padding: 50px 24px; }

/* ============================================================
   CALL TO ACTION LEAD  (.ctaband)
   ============================================================ */
.ctaband {
  background:#141210;
  padding: 34px 0;
}
.ctawrap { max-width:1200px; margin:0 auto; padding: 0 24px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; }
.ctaband h3 { color:#F4EFE2; margin:0 0 6px; font-size: 24px;}
.ctaband p { margin:0; color:#E8E0CC; }
.primarybtn { display:inline-block; background:#77824E; color:#141210; font-family:"Courier New",monospace; letter-spacing:2px; font-size:15px; padding:13px 28px; border-radius:6px; }
.primarybtn:hover { background:#9CAF6E; }
.secondarybtn { display:inline-block; border:1px solid #77824E; color:#9CAF6E; font-family:"Courier New",monospace; letter-spacing:2px; font-size:15px; padding:12px 26px; border-radius:6px; margin-left:10px;}
.secondarybtn:hover { background:#26221B; }

/* profile meta table used on services */
.metatable { width:100%; max-width: 900px; margin: 8px auto 0; border-collapse: collapse; text-align:left;}
.metatable td { padding: 8px 12px; border-top:1px solid #332E24; color:#E8E0CC; vertical-align: top; }
.metatable td:first-child { font-family:"Courier New",monospace; letter-spacing:1px; color:#9CAF6E; width:40%;}

/* ============================================================
   FEATURE SERVICE CTA on the services page
   ============================================================ */
.py-sub { margin-top: 34px; }
.procsteps { max-width:1200px; margin: 26px auto 0; padding:0 24px; display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px;}
.procstep { background:#26221B; border:1px solid #3a3429; border-radius:8px; padding: 16px; }
.procstep .stnum { color:#77824E; font-family:"Courier New",monospace; letter-spacing: 2px;}
.procstep h4 { color:#F4EFE2; margin:4px 0; font-size: 18px;}
.procstep p { color:#E8E0CC; font-size:14px; margin: 6px 0 0;}

/* Internal page title */
.pg-hero { background:#141210; padding: 54px 24px 34px; text-align:center;}
.pg-hero .part { font-family:"Courier New",monospace; color:#9CAF6E; letter-spacing: 6px; text-transform:uppercase; font-size:14px;}
.pg-hero h1 { color:#F4EFE2; font-size: 42px; margin:8px 0 10px; }
.pg-hero p { color:#E8E0CC; max-width:58em; margin:0 auto; font-size:17px;}

/* contact form area */
.formcard { max-width: 820px; margin:0 auto; background:#26221B; border:1px solid #3a3429; border-radius: 12px; padding: 26px; }
.formcard label { display:block; font-family:"Courier New",monospace; letter-spacing:2px; font-size:13px; color:#9CAF6E; margin: 14px 0 5px; }
.formcard input, .formcard textarea {
  width:100%; padding: 11px 13px; background:#141210; color:#F4EFE2;
  border:1px solid #3f3a2f; border-radius:6px; font-family: Georgia, serif; font-size:16px;
}
.formcard input:focus, .formcard textarea:focus { outline: none; border-color:#77824E; background:#1C1A16; }
.formcard .sendbtn { margin-top:18px; background:#77824E; color:#141210; border:none; cursor:pointer; font-size:16px; padding:13px 30px; }
.formcard .sendbtn:hover { background:#9CAF6E; }
.formhint { font-size:13px; color:#9FA58f; margin-top: 10px; }

.faqwrap { max-width: 980px; margin: 0 auto; padding: 40px 24px; }
.faqitem { border-top:1px solid #332E24; padding: 12px 4px; }
.faqitem summary { cursor:pointer; font-family:"Courier New",monospace; color:#9CAF6E; letter-spacing:1px; font-size:15px; }
.faqitem p { color:#E8E0CC; margin:8px 0 0; }

.locband p, .hours p { margin:8px 0; color:#E8E0CC;}
.locband strong { color:#F4EFE2; }

/* ============================================================
   FOOTER — TRUNK-LINE (.trunkline)
   ============================================================ */
.trunkline { background: #141210; color: #E8E0CC; position: relative; z-index: 1; margin-top: 40px;}

/* punch-block rail at the top of the footer */
.trunkline .rail {
  background:#1C1A16;
  border-bottom:1px solid #26221B;
}
.railinner { max-width:1200px; margin:0 auto; padding: 6px 24px 0; text-align:center;}
.punchrow { display:flex; justify-content:space-around; gap:4px; max-width:420px; margin: 0 auto 4px;}
.punch { flex: 1; height: 12px; background:#141210; border:1px solid #3a3429; border-radius:2px; }
.punch.punch-on { background:#26221B; border-color:#394a2b; }
.footcord { margin: 8px auto 0; max-width: 300px; }
.footcordline { height: 4px; border-radius:3px; background: #77824E; position:relative; }
.footcordline::after { content:""; position:absolute; right:26px; top:-5px; width:9px; height:20px; background:#332E24; border:1px solid #4a4335; border-radius:3px; font-size:12px; }

.trunkline .trunkbody { background:#141210; padding: 16px 0 0; }
.trunkline .columns {
  max-width:1200px; margin:0 auto; padding: 0 24px;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
  flex-wrap: wrap;
}
.trunkline .col h4 { font-family:"Courier New",monospace; color:#9CAF6E; font-size:13px; letter-spacing:4px; text-transform:uppercase; margin:10px 0 8px;}
.trunkline .col a, .trunkline .col li { display:block; color:#E8E0CC; font-size:15px; padding: 3px 0;}
.trunkline .col a:hover { color:#9CAF6E; }
.trunkline .col ul { list-style:none; margin:0; padding:0; }
.trunkline .col li.muted { color:#8b8d80; font-size:14px;}

.panelbox { background:#26221B; border:1px solid #3a3429; border-radius:10px; padding: 12px 18px; height:100%;}

.basebrand {
  background:#77824E; color:#141210;
}
.baseinner { max-width:1200px; margin:0 auto; padding: 20px 24px; text-align:center;}
.baseinner .companyline { font-family:"Courier New",monospace; letter-spacing:2px; font-weight:700; font-size:19px; text-transform:uppercase;}
.baseinner .addline { font-size:15px; margin-top:4px; }
.baseinner .mixemi { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:6px; font-size:14px;}
.baseinner .mixemi a { color:#141210; text-decoration: underline; }
.baseinner .cr { font-size: 13px; color: #E8E0CC; background: #77824E; display:inline-block; }

/* ============================================================
   Scroll reveal system
   ============================================================ */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* generic py */
.py-64 { padding: 60px 0; }
.py-40 { padding: 40px 0; }
.py-28 { padding: 28px 0; }

/* word-count decorations from the hero: mobile refinements */
@media (max-width: 640px) {
  .boardrow:nth-child(even) { transform: none; }
  .boardrow { flex-direction: column; }
  .boardrow .jackcol { flex-direction: row; flex: none; border-left: none; }
  .boardrow .content { border-left: none; }
  .consoleswitch .consoleband { padding-bottom: 8px; }
  .consoleswitch .deeplamps { flex-wrap: wrap; }
}
