/* Anhder Electric LLC truck gate theme
   Palette:
   SPANFORK  #E5E6DE  body
   WIREMAN   #2E362E  text
   FUSEBLOW  #A32F11  accent
   ANHDER    #20261E  wells and footer
   CONDUIT   #C2C9D0  panels and cards
   LINEMAN   #91937B  tertiary
   TARP      #726C80  strap chips only */

:root {
  --spanfork: #E5E6DE;
  --wireman: #2E362E;
  --fuseblow: #A32F11;
  --anhder: #20261E;
  --conduit: #C2C9D0;
  --lineman: #91937B;
  --tarp: #726C80;
  --rule: #C7CBBE;
  --rule-dark: #3C463C;
  --ledge: #2A312A;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--spanfork);
  color: var(--wireman);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--fuseblow); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--wireman);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- GATE BOOKMARK NAV (hanging tabs) ---------- */
.gatebookmark {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto 0;
  flex-wrap: wrap;
}

.gatebookmark-brand {
  align-self: stretch;
  display: flex;
  align-items: center;
  background: var(--anhder);
  color: var(--spanfork);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  margin-right: 14px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
}

.gatebookmark-tab {
  display: block;
  background: var(--conduit);
  color: var(--wireman);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px 10px;
  border-radius: 0 0 5px 5px;
  border-top: 3px solid var(--fuseblow);
  font-weight: 600;
}

.gatebookmark-tab:hover,
.gatebookmark-tab.is-active {
  background: var(--fuseblow);
  color: var(--spanfork);
  text-decoration: none;
}

.gatebookmark-tab--drop1 { margin-top: 0; }
.gatebookmark-tab--drop2 { margin-top: 6px; }
.gatebookmark-tab--drop3 { margin-top: 12px; }
.gatebookmark-tab--drop4 { margin-top: 9px; }
.gatebookmark-tab--drop5 { margin-top: 15px; }

.gatebookmark-tab--w1 { min-width: 74px; text-align: center; }
.gatebookmark-tab--w2 { min-width: 92px; text-align: center; }
.gatebookmark-tab--w3 { min-width: 88px; text-align: center; }
.gatebookmark-tab--w4 { min-width: 80px; text-align: center; }
.gatebookmark-tab--w5 { min-width: 70px; text-align: center; }

/* ---------- PASS WINDOW HERO ---------- */
.passwindow {
  position: relative;
  border-top: 6px solid var(--anhder);
  background: var(--spanfork);
  overflow-x: hidden;
}

.passwindow-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 54px 24px 66px;
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 40px;
  align-items: center;
}

.passwindow-copy { position: relative; }

.passwindow-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fuseblow);
  font-weight: 700;
  border-bottom: 2px solid var(--fuseblow);
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.passwindow-headline {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  margin: 0 0 4px;
}

.passwindow-headline span { display: block; }

.passwindow-display {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--fuseblow);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-top: 6px;
}

.passwindow-lede {
  font-size: 1.06rem;
  color: var(--wireman);
  max-width: 40ch;
  margin-top: 18px;
}

.passwindow-lede strong { color: var(--anhder); }

/* full-width functional CTA bar */
.passwindow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--fuseblow);
  color: var(--spanfork);
  padding: 16px 22px;
  margin-top: 26px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border-left: 8px solid var(--anhder);
}

.passwindow-bar:hover {
  text-decoration: none;
  background: var(--anhder);
  color: var(--spanfork);
}

.passwindow-bar .passwindow-arrow { font-size: 1.3rem; line-height: 1; }

/* inline secondary link */
.passwindow-inline {
  font-weight: 700;
  border-bottom: 2px solid var(--fuseblow);
}

/* right side: CSS service window */
.passwindow-stage {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.passwindow-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 340px;
  background: var(--conduit);
  border: 10px solid var(--anhder);
  border-radius: 18px;
  box-shadow: 0 18px 0 0 var(--lineman);
}

.passwindow-frame::before {
  content: "";
  position: absolute;
  inset: 22px 22px auto 22px;
  height: 34%;
  background: var(--anhder);
  border-radius: 10px;
}

.passwindow-sill {
  position: absolute;
  left: -26px;
  right: -26px;
  bottom: -20px;
  height: 22px;
  background: var(--lineman);
  border-radius: 6px;
  border-bottom: 4px solid var(--anhder);
}

/* barrier arm */
.passwindow-arm {
  position: absolute;
  top: 8%;
  right: -18%;
  width: 62%;
  height: 12px;
  background: var(--fuseblow);
  border-radius: 6px;
  transform: rotate(-13deg);
  transform-origin: right center;
  border: 2px solid var(--anhder);
}

.passwindow-arm::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    90deg,
    var(--anhder) 0,
    var(--anhder) 10px,
    var(--fuseblow) 10px,
    var(--fuseblow) 24px
  );
  border-radius: 4px;
}

/* ticket spike */
.passwindow-spike {
  position: absolute;
  right: 30px;
  bottom: 26px;
  width: 8px;
  height: 150px;
  background: var(--anhder);
  border-radius: 4px 4px 0 0;
}

.passwindow-spike::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -6px;
  width: 20px;
  height: 20px;
  background: var(--fuseblow);
  border-radius: 50%;
  border: 3px solid var(--anhder);
}

.passwindow-spike::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -22px;
  width: 52px;
  height: 16px;
  background: var(--lineman);
  border-radius: 4px;
  border: 2px solid var(--anhder);
}

/* gate cards on the spike */
.passwindow-card {
  position: absolute;
  right: 20px;
  background: var(--spanfork);
  border: 2px solid var(--anhder);
  border-radius: 4px;
  padding: 8px;
}

.passwindow-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--conduit);
  border: 2px solid var(--anhder);
}

.passwindow-card--a {
  width: 108px;
  height: 128px;
  bottom: 118px;
  transform: rotate(-6deg);
  background: var(--fuseblow);
}

.passwindow-card--b {
  width: 108px;
  height: 96px;
  bottom: 92px;
  transform: rotate(4deg);
  background: var(--spanfork);
}

.passwindow-card--c {
  width: 108px;
  height: 72px;
  bottom: 128px;
  right: 128px;
  transform: rotate(-3deg);
  background: var(--conduit);
}

/* ---------- GATE CARD CHECKER ---------- */
.gatechecker {
  background: var(--spanfork);
  border-top: 2px solid var(--rule);
  padding: 72px 0 82px;
}

.gatechecker-head {
  max-width: 1160px;
  margin: 0 auto 34px;
  padding: 0 24px;
}

.gatechecker-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 10px;
}

.gatechecker-head p {
  max-width: 62ch;
  color: var(--wireman);
}

.gatechecker-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--rule-dark);
}

.gatechecker-cell {
  padding: 30px 26px 32px;
  border-right: 2px solid var(--rule-dark);
  border-bottom: 2px solid var(--rule-dark);
  position: relative;
}

.gatechecker-cell:nth-child(3n) { border-right: 0; }
.gatechecker-cell:nth-last-child(-n+3) { border-bottom: 0; }

.gatechecker-cell--wash { background: var(--conduit); }

.gatechecker-mark {
  display: inline-block;
  background: var(--tarp);
  color: var(--spanfork);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.gatechecker-cell h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.gatechecker-cell p {
  font-size: 0.96rem;
  margin-bottom: 0;
  color: var(--wireman);
}

/* ---------- TICKET STUB STRIP ---------- */
.ticketstub {
  background: var(--anhder);
  color: var(--spanfork);
  padding: 26px 0;
  position: relative;
  overflow-x: hidden;
}

.ticketstub::before,
.ticketstub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background-image: radial-gradient(
    circle at 9px 9px,
    var(--fuseblow) 0,
    var(--fuseblow) 7px,
    var(--anhder) 7px
  );
  background-size: 18px 18px;
  background-repeat: repeat-x;
}

.ticketstub::before { top: -9px; }
.ticketstub::after { bottom: -9px; }

.ticketstub-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.ticketstub-sentence {
  margin: 0;
  font-size: 1.06rem;
  color: var(--spanfork);
  letter-spacing: 0.01em;
}

.ticketstub-sentence a { color: var(--spanfork); border-bottom: 2px solid var(--fuseblow); }

/* ---------- GATE LEDGE FOOTER ---------- */
.gateledge {
  background: var(--anhder);
  color: var(--spanfork);
  margin-top: 0;
}

.gateledge-ledge {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--rule-dark);
  flex-wrap: wrap;
}

.gateledge-brand {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--spanfork);
  white-space: nowrap;
}

.gateledge-blurb {
  color: var(--conduit);
  font-size: 0.94rem;
  margin: 0;
  max-width: 60ch;
}

.gateledge-links {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  gap: 54px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule-dark);
}

.gateledge-links a {
  color: var(--spanfork);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.gateledge-links a:hover { color: var(--spanfork); text-decoration: underline; }

.gateledge-base {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px 30px;
  font-size: 0.85rem;
  color: var(--conduit);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
}

.gateledge-base .gateledge-bolt { color: var(--fuseblow); font-weight: 700; }
.gateledge-base a { color: var(--conduit); }
.gateledge-base a:hover { color: var(--spanfork); }
.gateledge-dot { color: var(--lineman); margin: 0 6px; }

/* ---------- generic content sections for secondary pages ---------- */
.page-intro {
  background: var(--spanfork);
  border-top: 6px solid var(--anhder);
  padding: 52px 0 20px;
}

.page-intro h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 22ch;
}

.page-intro p {
  max-width: 66ch;
  font-size: 1.05rem;
}

.prose-section {
  padding: 44px 0;
}

.prose-section h2 { font-size: 1.7rem; }

.prose-section p { max-width: 70ch; }

.prose-list {
  max-width: 70ch;
  padding-left: 20px;
  color: var(--wireman);
}

.prose-list li { margin-bottom: 8px; }

.service-block {
  border-left: 6px solid var(--fuseblow);
  padding: 4px 0 4px 22px;
  margin-bottom: 30px;
  max-width: 74ch;
}

.service-block h2 { font-size: 1.5rem; margin-bottom: 8px; }

.process-steps {
  max-width: 74ch;
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.process-steps li {
  position: relative;
  padding: 0 0 20px 52px;
  border-left: 2px solid var(--rule-dark);
  margin-left: 16px;
}

.process-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -18px;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--fuseblow);
  color: var(--spanfork);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  padding: 34px 0 70px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 14px 0 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--rule-dark);
  border-radius: 4px;
  background: var(--conduit);
  color: var(--wireman);
  font-size: 0.98rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--fuseblow);
  outline-offset: 1px;
}

.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 15px 20px;
  background: var(--fuseblow);
  color: var(--spanfork);
  border: 0;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.contact-form button:hover { background: var(--anhder); }

.contact-note {
  font-size: 0.85rem;
  color: var(--wireman);
  margin-top: 12px;
}

.contact-details {
  background: var(--conduit);
  border: 2px solid var(--rule-dark);
  border-radius: 6px;
  padding: 26px 26px 12px;
}

.contact-details h3 { font-size: 1.15rem; margin-top: 14px; }

.contact-details dl {
  margin: 0;
}

.contact-details dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fuseblow);
  font-weight: 700;
}

.contact-details dd {
  margin: 2px 0 16px;
  color: var(--wireman);
}

.faq-item {
  border-top: 2px solid var(--rule);
  padding: 18px 0;
  max-width: 74ch;
}

.faq-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.faq-item p { margin: 0; }

.section-alt { background: var(--conduit); }

/* reveal animation */
.reveal { transform: translateY(16px); transition: transform 0.5s ease; }
.reveal.is-in { transform: none; }
.no-js .reveal { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .passwindow-inner { grid-template-columns: 1fr; }
  .passwindow-stage { min-height: 380px; order: 2; }
  .gatechecker-grid { grid-template-columns: repeat(2, 1fr); }
  .gatechecker-cell:nth-child(3n) { border-right: 2px solid var(--rule-dark); }
  .gatechecker-cell:nth-child(2n) { border-right: 0; }
  .gatechecker-cell:nth-last-child(-n+3) { border-bottom: 2px solid var(--rule-dark); }
  .gatechecker-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .gateledge-links { gap: 26px; }
}

@media (max-width: 640px) {
  .gatebookmark { gap: 3px; }
  .gatebookmark-brand { margin-right: 6px; padding: 8px 12px; font-size: 0.82rem; }
  .gatebookmark-tab { font-size: 0.72rem; padding: 7px 9px 8px; min-width: 0; }
  .gatebookmark-tab--drop2,
  .gatebookmark-tab--drop3,
  .gatebookmark-tab--drop4,
  .gatebookmark-tab--drop5 { margin-top: 4px; }
  .gatechecker-grid { grid-template-columns: 1fr; }
  .gatechecker-cell { border-right: 0; }
  .gatechecker-cell:nth-last-child(-n+2) { border-bottom: 2px solid var(--rule-dark); }
  .gatechecker-cell:last-child { border-bottom: 0; }
  .passwindow-arm { right: -6%; width: 52%; }
  .gateledge-links { gap: 18px; font-size: 0.8rem; }
  .gateledge-base { font-size: 0.78rem; }
}
