/* ============================================================
   CASEY HYER, LLC — Helpdesk Work Order Theme
   LIGHT palette, ticket-teal accent
   ============================================================ */

:root {
  --deskpaper-white: #F4F6F5;
  --slate-ink: #22282C;
  --ticket-teal: #1F6E6B;
  --clipboard-grey: #2E3538;
  --resolve-deep: #1A2022;
  --mint-routing: #7FB0A8;
  --paper-soft: #FBFDFC;
  --slate-body: #55606A;
  --desk-mist: #C4CFD2;
  --rule-line: #3A4448;
  --deeper-desk: #13181A;
  --stamp-red: #A64A3A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: #F4F6F5;
  color: #22282C;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ============ TICKET-STRIPE NAV ============ */
.ticketnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #2E3538;
  box-shadow: 0 4px 14px rgba(19, 24, 26, 0.18);
}
.ticketnav .stub-strip {
  height: 16px;
  background-color: #13181A;
  border-bottom: 1px dashed var(--rule-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  overflow: hidden;
}
.stub-strip .perf-dashes {
  display: flex;
  gap: 14px;
}
.stub-strip .dent {
  width: 26px;
  height: 4px;
  background-color: #1F6E6B;
  border-radius: 2px;
}
.stub-strip .dent.paper {
  background-color: #C4CFD2;
}
.stub-strip .mint-dot {
  width: 8px;
  height: 8px;
  background-color: #7FB0A8;
  border-radius: 50%;
}
.stub-strip .gauge {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FBFDFC;
}
.brand .ticket-glyph {
  width: 30px;
  height: 42px;
  background-color: #1F6E6B;
  border: 1px solid #7FB0A8;
  border-radius: 3px;
  position: relative;
  padding: 5px;
}
.brand .ticket-glyph .glyph-line {
  height: 3px;
  background-color: #FBFDFC;
  border-radius: 2px;
  margin-bottom: 4px;
}
.brand .ticket-glyph .glyph-line.short {
  width: 60%;
}
.brand a {
  color: #FBFDFC;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 3px;
}
.brand a span { color: #7FB0A8; }

.main-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-links a {
  color: #C4CFD2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 2px;
  position: relative;
}
.main-links a:hover {
  color: #7FB0A8;
}
.main-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #1F6E6B;
}
.main-links .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #7FB0A8;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle .bar {
  width: 26px;
  height: 3px;
  background-color: #FBFDFC;
  border-radius: 2px;
}

/* ============ WORK-ORDER HERO ============ */
.workorderhero {
  background-color: #F4F6F5;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: flex;
  gap: 56px;
  align-items: center;
}
.hero-text { width: 55%; }
.hero-scene { width: 45%; }

.eyebrow-chip {
  display: inline-block;
  background-color: #1F6E6B;
  color: #FBFDFC;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.workorderhero h1 {
  color: #22282C;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
}
.workorderhero h1 .teal {
  color: #1F6E6B;
}
.hero-inner .lede {
  color: #55606A;
  font-size: 18px;
  line-height: 1.7;
  margin: 22px 0 30px;
  max-width: 540px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background-color: #1F6E6B;
  color: #FBFDFC;
}
.btn-primary:hover {
  box-shadow: 0 6px 18px rgba(31, 110, 107, 0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  border: 1px solid #22282C;
  color: #22282C;
}
.btn-secondary:hover {
  background-color: #22282C;
  color: #F4F6F5;
}

/* --- CSS Helpdesk Bench Scene --- */
.bench-scene { position: relative; }
.bench { position: relative; }

/* Work order sheet */
.work-order {
  background-color: #FBFDFC;
  border: 1px solid #C4CFD2;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(19, 24, 26, 0.12);
  padding: 0 0 14px 0;
  max-width: 320px;
  margin: 0 0 0 auto;
  transform: rotate(-1.5deg);
  position: relative;
  z-index: 2;
}
.wo-header {
  background-color: #1F6E6B;
  padding: 9px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wo-header .wo-tag {
  color: #FBFDFC;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.wo-header .wo-seal {
  color: #7FB0A8;
  font-size: 14px;
  font-weight: 800;
}
.barcode {
  margin: 12px 14px;
  height: 16px;
  background: repeating-linear-gradient(90deg,
    #22282C 0px, #22282C 2px,
    #FBFDFC 2px, #FBFDFC 3px,
    #22282C 3px, #22282C 4px,
    #FBFDFC 4px, #FBFDFC 6px,
    #22282C 6px, #22282C 9px,
    #FBFDFC 9px, #FBFDFC 10px);
}
.wo-fields { padding: 0 14px; }
.wo-field {
  border-bottom: 1px dotted #C4CFD2;
  padding: 7px 0;
  font-size: 12px;
  color: #55606A;
}
.wo-field b { color: #22282C; font-weight: 700; margin-right: 6px; }
.wo-tear { 
  margin: 12px 14px 6px;
  border-top: 2px dashed #1F6E6B;
  position: relative;
}
.wo-tear .stub {
  margin-top: 10px;
  text-align: right;
  font-size: 10px;
  letter-spacing: 2px;
  color: #7FB0A8;
  text-transform: uppercase;
}

/* Priority stamp */
.priority-stamp {
  position: absolute;
  right: -6px;
  top: -18px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(166, 74, 58, 0.14);
  border: 2px solid #A64A3A;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  z-index: 3;
}
.priority-stamp .stamp-inner {
  text-align: center;
  color: #A64A3A;
  border: 1px solid #A64A3A;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.priority-stamp .stamp-inner b {
  font-size: 16px;
  letter-spacing: 1px;
  display: block;
}
.priority-stamp .stamp-inner span {
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Status board */
.status-board {
  position: absolute;
  left: -14px;
  top: 44px;
  background-color: #2E3538;
  border-radius: 4px;
  padding: 12px;
  width: 152px;
  z-index: 1;
  transform: rotate(2deg);
  box-shadow: 0 8px 20px rgba(19, 24, 26, 0.25);
}
.board-labels {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.board-labels div {
  flex: 1;
  font-size: 8px;
  text-align: center;
  padding: 3px 0;
  border-radius: 2px;
  background-color: #1A2022;
  color: #C4CFD2;
  font-weight: 700;
  letter-spacing: 1px;
}
.board-labels div.on { background-color: #1F6E6B; color: #FBFDFC; }
.board-cards { display: flex; gap: 4px; }
.board-card {
  flex: 1;
  height: 30px;
  background-color: #FBFDFC;
  border: 1px solid #55606A;
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
}
.board-card.fixed .tick {
  width: 8px;
  height: 8px;
  background-color: #7FB0A8;
  border-radius: 1px;
}
.board-card .tick { color: #7FB0A8; font-size: 9px; }

/* Server rack */
.server-rack {
  position: absolute;
  left: 4px;
  bottom: -66px;
  background-color: #22282C;
  border: 1px solid #55606A;
  border-radius: 4px;
  padding: 8px;
  width: 150px;
  z-index: 3;
}
.rack-unit {
  height: 20px;
  margin-bottom: 5px;
  border-bottom: 2px solid #55606A;
  padding: 0 4px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.rack-unit:last-child { margin-bottom: 0; }
.rack-unit .led {
  width: 5px;
  height: 5px;
  margin-top: 3px;
  border-radius: 2px;
  background-color: #7FB0A8;
}
.rack-unit .led.dim {
  background-color: #1F6E6B;
}

/* Cable coil */
.cable-coil {
  position: absolute;
  left: -34px;
  bottom: -94px;
  z-index: 4;
}
.coil {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #55606A;
  border: 8px solid #2E3538;
}
.coil-hole {
  width: 72px;
  height: 30px;
  position: relative;
  margin-top: -18px;
  margin-left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: -34px 0 0 16px;
  background-color: #F4F6F5;
}
.coil-wrap {
  position: absolute;
  width: 72px;
  top: 40px;
}
.rj45 {
  position: relative;
  margin-top: -38px;
  left: 76px;
  width: 40px;
  height: 22px;
  background-color: #2E3538;
  border-radius: 2px;
}
.rj45::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 3px;
  width: 26px;
  height: 14px;
  border-left: 2px solid #7FB0A8;
  border-right: 2px solid #7FB0A8;
}
.rj45-tail {
  position: absolute;
  top: 34px;
  left: 4px;
  width: 64px;
  height: 6px;
  background: repeating-linear-gradient(90deg, #55606A 0 3px, #F4F6F5 3px 6px);
}

/* Label printer */
.label-print {
  position: absolute;
  right: 0;
  bottom: -96px;
  z-index: 3;
}
.printer-body {
  width: 90px;
  height: 42px;
  background-color: #2E3538;
  border-radius: 4px;
  border-top: 3px solid #7FB0A8;
  position: relative;
}
.printer-slit { position: absolute; top: 8px; left: 8px; right: 8px; height: 4px; background-color: #1A2022; }
.printer-label {
  position: absolute;
  top: -26px;
  left: 22px;
  width: 64px;
  height: 26px;
  background-color: #FBFDFC;
  border-left: 2px solid #1F6E6B;
  border-right: 2px solid #1F6E6B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F6E6B;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.printer-teal-text { margin-top: 4px; font-size: 6px; color: #55606A; text-align: center; }

/* Monitor + sticky note */
.monitor-rig {
  position: absolute;
  bottom: -138px;
  left: 150px;
  z-index: 0;
}
.monitor-stand { width: 6px; height: 30px; background-color: #22282C; margin: 0 auto; }
.monitor-base { width: 60px; height: 6px; background-color: #22282C; border-radius: 2px; margin: 0 auto; }
.monitor-screen {
  width: 118px;
  height: 78px;
  background-color: #13181A;
  border: 5px solid #2E3538;
  border-radius: 4px;
  position: relative;
  margin-bottom: 4px;
}
.screen-line {
  height: 3px;
  background-color: #1F6E6B;
  border-radius: 2px;
  margin: 10px 8px 5px 8px;
  width: 60%;
}
.screen-line.wide { width: 85%; background-color: #7FB0A8; }
.sticky-note {
  position: absolute;
  top: -10px;
  right: -16px;
  width: 40px;
  height: 44px;
  background-color: #7FB0A8;
  border-left: 2px solid #55606A;
  font-size: 8px;
  color: #55606A;
  padding: 10px 6px;
  transform: rotate(6deg);
  box-shadow: 0 3px 6px rgba(19,24,26,0.2);
}
.sticky-note b { font-size: 9px; color: #FBFDFC; display: block; }

/* status chips legend line under scene */
.scene-caption {
  margin-top: 190px;
  padding-top: 8px;
}

/* ============ FIX-LOG ROWS ============ */
.fixlog {
  background-color: #F4F6F5;
  padding: 20px 0 60px;
}
.fixlog-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-head {
  margin-bottom: 34px;
}
.section-head .kicker {
  color: #1F6E6B;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 {
  color: #1F6E6B;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-head .sub {
  color: #55606A;
  font-size: 17px;
  margin-top: 12px;
  max-width: 720px;
}

.fix-row {
  background-color: #FBFDFC;
  border: 1px solid #3A4448;
  border-left: 4px solid #1F6E6B;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(19, 24, 26, 0.06);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 26px;
  margin-bottom: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fix-row:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 22px rgba(19, 24, 26, 0.1);
}
.priority-chip {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #1F6E6B;
  color: #1F6E6B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.priority-chip.mint {
  border-color: #7FB0A8;
  color: #55606A;
}
.priority-chip.p2 { transform: rotate(-6deg); }
.priority-chip.p3 { transform: rotate(5deg); }

.fix-body { flex: 1; }
.fix-body h3 {
  color: #22282C;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.fix-body p {
  color: #55606A;
  font-size: 15.5px;
}
.check-chip {
  flex-shrink: 0;
  width: 128px;
  background-color: #F4F6F5;
  border: 1px solid #3A4448;
  border-radius: 3px;
  padding: 10px 12px;
}
.check-chip .check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #55606A;
  padding: 2px 0;
}
.check-chip .box {
  width: 12px;
  height: 12px;
  border: 1px solid #3A4448;
  border-radius: 2px;
  background-color: #FBFDFC;
}
.check-chip .box.ticked {
  background-color: #1F6E6B;
  position: relative;
}
.check-chip .box.ticked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #FBFDFC;
  border-bottom: 2px solid #FBFDFC;
  transform: rotate(40deg);
}
.check-chip .status-word {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1F6E6B;
  margin-top: 7px;
  text-transform: uppercase;
  border-top: 1px solid #3A4448;
  padding-top: 6px;
}

/* ============ RESOLVED METRIC BAND ============ */
.metricband {
  background-color: #1A2022;
  padding: 58px 0;
}
.metricband-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.metric-cell {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid #7FB0A8;
}
.metric-cell:last-child { border-right: none; }
.metric-num {
  color: #7FB0A8;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.metric-label {
  color: #C4CFD2;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}

/* ============ STATEMENT BAND ============ */
.statement {
  background-color: #2E3538;
  padding: 64px 0;
}
.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  border-left: 4px solid #1F6E6B;
}
.statement-inner p.big {
  color: #FBFDFC;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 500;
  font-style: italic;
}
.statement-inner .attribution {
  color: #C4CFD2;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 22px;
}

/* ============ CTA BAND ============ */
.ctaband {
  background-color: #F4F6F5;
  padding: 66px 0 78px;
  text-align: center;
}
.ctaband-inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.ctaband h2 {
  color: #1F6E6B;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.ctaband p {
  color: #55606A;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ PATCH-CORD FOOTER ============ */
.patchfooter {
  background-color: #13181A;
  position: relative;
  padding-top: 8px;
}
.patchfooter .content-layer {
  position: relative;
  z-index: 1;
  padding: 0 24px 34px 24px;
}
.led-rack {
  height: 16px;
  border-bottom: 1px solid #2E3538;
  display: flex;
  align-items: center;
  padding: 0 24px;
  margin-bottom: 44px;
  position: relative;
}
.led-rack .led-line {
  display: flex;
  gap: 22px;
  margin-right: 34px;
}
.rack-dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background-color: #7FB0A8;
  margin: 0 auto;
}
.led-rack::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(127,176,168,0.5), rgba(46,53,56,0.5) 40%, rgba(19,24,26,0.5));
}
.foot-center {
  text-align: center;
}
.foot-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #FBFDFC;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 22px;
}
.foot-brand .ticket-glyph { background-color: #1F6E6B; width: 24px; height: 32px; padding: 4px; border-radius: 3px; }
.foot-brand .ticket-glyph .glyph-line { height: 3px; background:#FBFDFC; margin-bottom: 4px; }
.foot-brand .ticket-glyph .glyph-line.short { width: 55%; }
.foot-brand span { color: #7FB0A8; }
.foot-links-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 28px;
}
.foot-links-row a {
  color: #C4CFD2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.foot-links-row a:hover { color: #7FB0A8; }
.cord-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}
.tie {
  width: 8px;
  height: 22px;
  background-color: #2E3538;
  border-radius: 3px;
  border: 1px solid #55606A;
}
.cord {
  height: 10px;
  width: 160px;
  background: repeating-linear-gradient(90deg, #55606A 0 6px, #1A2022 6px 12px);
  border-radius: 50%;
  border: 2px solid #2E3538;
}
.plug {
  width: 30px;
  height: 12px;
  background-color: #2E3538;
  border: 1px solid #7FB0A8;
  border-radius: 1px;
}
.foot-legal {
  color: #C4CFD2;
  font-size: 14px;
  text-align: center;
  line-height: 1.9;
  border-top: 1px solid #2E3538;
  padding-top: 20px;
}
.foot-legal a { color: #C4CFD2; }
.foot-legal a:hover { color: #7FB0A8; }

/* deco watermark - keep hidden */
.led-rack.left {
  margin-bottom: 34px;
}

/* ============ FADE-UP SCROLL REVEAL ============ */
/* default visible (no-JS safe) */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .main-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2E3538;
    padding: 18px 24px 26px;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 10px 18px rgba(19,24,26,0.2);
  }
  .main-links.open { display: flex; }
  .main-links .dot { display: none; }
  .main-links a { font-size: 15px; }
  .hero-inner { flex-direction: column; gap: 40px; padding: 48px 24px; }
  .hero-text, .hero-scene { width: 100%; }
  .workorderhero h1 { font-size: 40px; }
  .metricband-inner { flex-wrap: wrap; }
  .metric-cell { flex: 1 1 50%; border-bottom: 1px solid #7FB0A8; border-right: 1px solid #7FB0A8; }
  .metric-cell:nth-child(2n) { border-right: none; }
  .metric-num { font-size: 40px; }
  .bench-scene { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .fix-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .check-chip { width: 100%; }
  .workorderhero h1 { font-size: 34px; }
  .scene-caption { margin-top: 210px; }
  .foot-links-row { gap: 18px; flex-direction: column; align-items: center; }
  .metric-cell { flex: 1 1 100%; border-right: none !important; }
  .brand a { font-size: 18px; }
}
