/* EXCELELEC - Excellence Electronic Tech Limited
   Digital Test Lab theme - dark lab bench, oscilloscope green phosphor */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #101314;
  color: #C3C9C4;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: #46C08A;
  text-decoration: none;
}

a:hover {
  color: #F2F6F3;
}

/* ===== GRATICULE NAV ===== */
.graticule-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.graticule-strip {
  height: 12px;
  background-color: #1A1F1D;
  border-bottom: 1px solid #26302D;
  position: relative;
  overflow: hidden;
}

.graticule-strip-inner {
  height: 100%;
  background-image:
    linear-gradient(to right, #26302D 1px, transparent 1px),
    linear-gradient(to bottom, #26302D 1px, transparent 1px);
  background-size: 8px 8px;
}

.trace-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: linear-gradient(to right, #46C08A, #46C08A);
  background-size: 2px 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  clip-path: polygon(0 70%, 12% 70%, 12% 60%, 14% 60%, 14% 60%, 20% 60%, 20% 45%, 22% 45%, 26% 45%, 26% 55%, 30% 55%, 30% 30%, 34% 30%, 38% 30%, 38% 65%, 40% 65%, 46% 65%, 46% 50%, 48% 50%, 52% 50%, 52% 35%, 56% 35%, 58% 35%, 58% 60%, 62% 60%, 62% 45%, 66% 45%, 70% 45%, 70% 55%, 74% 55%, 76% 55%, 80% 55%, 80% 70%, 84% 70%, 84% 40%, 88% 40%, 92% 40%, 92% 60%, 96% 60%, 100% 60%, 100% 100%, 0 100%);
}

.trace-tick {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1px;
  height: 8px;
  background-color: #D96459;
}

.nav-row {
  background-color: #1A1F1D;
  border-bottom: 1px solid #26302D;
}

.nav-row-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.probe-glyph {
  width: 14px;
  height: 42px;
  position: relative;
}

.probe-cap {
  width: 6px;
  height: 10px;
  background-color: #D96459;
  margin: 0 auto;
  border-radius: 2px;
}

.probe-body {
  width: 12px;
  height: 30px;
  margin: 2px auto 0;
  background-color: #22292B;
  border: 1px solid #26302D;
  border-radius: 2px 2px 0 0;
  position: relative;
}

.probe-body::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: #9FB3AC;
  border-radius: 50%;
}

.probe-hook {
  width: 5px;
  height: 6px;
  margin: 0 auto;
  border: 2px solid #C3C9C4;
  border-top: none;
  border-radius: 0 0 5px 0;
  transform: translateX(1px);
}

.brand-name {
  color: #F2F6F3;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #C3C9C4;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 10px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #46C08A;
}

.nav-links a::after {
  content: "";
  display: block;
  height: 1px;
  background-color: #46C08A;
  width: 0;
  transition: width 0.25s ease;
  margin-top: 3px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.dot-sep {
  width: 4px;
  height: 4px;
  background-color: #9FB3AC;
  border-radius: 50%;
  display: inline-block;
  margin: 0 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #46C08A;
  color: #46C08A;
  font-size: 18px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 2px;
}

/* ===== BENCH SCOPE HERO ===== */
.benchscope-hero {
  background-color: #101314;
  padding: 64px 0 72px;
}

.hero-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  flex: 0 0 55%;
}

.eyebrow {
  display: inline-block;
  background-color: #46C08A;
  color: #0A1A14;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-radius: 2px;
}

.hero-headline {
  color: #F2F6F3;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-headline .signal {
  color: #46C08A;
}

.hero-subcopy {
  color: #C3C9C4;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 13px 26px;
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background-color: #46C08A;
  color: #0A1A14;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #F2F6F3;
  color: #101314;
}

.btn-outline {
  background: transparent;
  color: #9FB3AC;
  border: 1px solid #9FB3AC;
}

.btn-outline:hover {
  background: #1A1F1D;
  color: #F2F6F3;
  border-color: #F2F6F3;
}

/* Hero test bench scene (CSS) */
.bench-scene {
  flex: 0 0 45%;
  min-height: 460px;
  position: relative;
}

.scope-instrument {
  position: absolute;
  width: 260px;
  height: 170px;
  background-color: #22292B;
  border: 1px solid #26302D;
  border-radius: 6px;
  right: 20px;
  top: 30px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.scope-screen {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 236px;
  height: 100px;
  background-color: #0B1A13;
  border: 1px solid #46C08A;
  border-radius: 3px;
  overflow: hidden;
}

.graticule {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(70, 192, 138, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(70, 192, 138, 0.35) 1px, transparent 1px);
  background-size: 16px 14px;
}

.trace {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 4px;
  background-color: #46C08A;
  box-shadow: 0 0 8px #46C08A;
}

.trace-led {
  position: absolute;
  top: 122px;
  right: 12px;
}

.on-lamp {
  width: 7px;
  height: 7px;
  background-color: #46C08A;
  border-radius: 50%;
}

.knobs {
  position: absolute;
  bottom: 1px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-around;
}

.knob {
  width: 14px;
  height: 14px;
  background-color: #101314;
  border: 1px solid #9FB3AC;
  border-radius: 50%;
}

/* Multimeter */
.multimeter {
  position: absolute;
  width: 90px;
  height: 150px;
  background-color: #22292B;
  border: 1px solid #26302D;
  border-radius: 8px;
  left: 10px;
  top: 60px;
}

.mm-readout {
  position: absolute;
  left: 8px;
  top: 14px;
  width: 74px;
  height: 30px;
  background-color: #0B1A13;
  border: 1px solid #26302D;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #46C08A;
  font-size: 15px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

.mm-dial {
  position: absolute;
  left: 30px;
  top: 56px;
  width: 28px;
  height: 28px;
  background-color: #101314;
  border: 1px solid #9FB3AC;
  border-radius: 50%;
}

.mm-dial::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 12px;
  width: 2px;
  height: 8px;
  background-color: #D96459;
  transform: rotate(40deg);
  transform-origin: bottom;
}

.mm-dial::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 12px;
  width: 2px;
  height: 7px;
  background-color: #C3C9C4;
  transform: rotate(-60deg);
  transform-origin: bottom;
}

.mm-leads {
  position: absolute;
  bottom: 40px;
  left: 8px;
  height: 8px;
  width: 74px;
}

/* Test probe toward PCB */
.probe-arm {
  position: absolute;
  width: 4px;
  height: 110px;
  background-color: #C3C9C4;
  left: 40px;
  top: 40px;
  transform: rotate(24deg);
}

.probe-arm::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -6px;
  width: 16px;
  height: 8px;
  border: 2px solid #D96459;
  border-top: none;
  border-radius: 0 0 8px 0;
}

/* PCB under magnifier */
.pcb {
  position: absolute;
  width: 170px;
  height: 100px;
  background-color: #14543A;
  border: 1px solid #46C08A;
  border-radius: 4px;
  left: 18px;
  bottom: 30px;
  transform: rotate(-4deg);
}

.pcb .pad {
  position: absolute;
  background-color: #9FB3AC;
  border-radius: 50%;
}

.pcb .chip {
  position: absolute;
  background-color: #0A1A14;
  border: 1px solid #26302D;
  border-radius: 2px;
}

.pcb-lamp {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #D96459;
  border-radius: 50%;
  top: 8px;
  left: 185px;
  transform: rotate(-4deg);
}

/* Component reel feeder */
.reel {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: #22292B;
  border: 1px solid #26302D;
  border-radius: 50%;
  right: 20px;
  bottom: 14px;
}

.reel::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 12px;
  height: 12px;
  background-color: #9FB3AC;
  border-radius: 50%;
}

/* Bed of nails fixture */
.fixture {
  position: absolute;
  width: 90px;
  height: 46px;
  background-color: #22292B;
  border: 1px solid #26302D;
  left: 30px;
  bottom: 0;
}

.pin {
  position: absolute;
  width: 3px;
  height: 8px;
  background-color: #D9C27D;
  border-radius: 1px;
}

/* Pass/fail lamp box */
.passfail {
  position: absolute;
  width: 70px;
  height: 40px;
  background-color: #22292B;
  border: 1px solid #26302D;
  right: 0;
  top: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.lamp {
  width: 18px;
  height: 18px;
  border-radius: 2px;
}

.lamp-pass {
  background-color: #46C08A;
  border: 1px solid #46C08A;
}

.lamp-fail {
  background-color: #101314;
  border: 1px solid #D96459;
}

.passfail-label {
  position: absolute;
  font-size: 6px;
  letter-spacing: 1px;
  color: #C3C9C4;
  bottom: 1px;
  text-align: center;
  width: 100%;
}

/* Notebook */
.notebook {
  position: absolute;
  width: 90px;
  height: 70px;
  background-color: #EBEDEA;
  border: 1px solid #26302D;
  left: 0;
  top: 4px;
  filter: saturate(0.83);
  background-image: linear-gradient(#C9CED0 1px, transparent 1px);
  background-size: 100% 10px;
}

.notebook-line {
  position: absolute;
  top: 38px;
  left: 6px;
  right: 6px;
  height: 4px;
  background-color: #46C08A;
  filter: saturate(0.81);
}

/* Soldering iron */
.iron {
  position: absolute;
  width: 8px;
  height: 76px;
  background-color: #22292B;
  border: 1px solid #26302D;
  right: 90px;
  bottom: 4px;
  transform: rotate(20deg);
}

.iron-tip {
  position: absolute;
  bottom: -4px;
  left: 2px;
  width: 4px;
  height: 14px;
  background-color: #D9C27D;
}

/* ===== SECTION BASE ===== */
.page-section {
  padding: 70px 0;
}

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

.section-tag {
  display: inline-block;
  color: #D96459;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  border-left: 2px solid #D96459;
  padding-left: 10px;
}

.section-heading {
  color: #46C08A;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 40px;
  line-height: 1.2;
}

.section-heading .lighten {
  color: #F2F6F3;
}

/* ===== TEST LOG ROWS ===== */
.testlog-rows {
  background-color: #101314;
}

.log-row {
  display: flex;
  align-items: stretch;
  gap: 22px;
  background-color: #1A1F1D;
  border: 1px solid #26302D;
  border-radius: 4px;
  padding: 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.log-row:hover {
  border-color: #46C08A;
}

.readout-tag {
  flex: 0 0 104px;
  background-color: #0B1A13;
  border: 1px solid #26302D;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 86px;
  position: relative;
}

.readout-value {
  color: #46C08A;
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.readout-unit {
  color: #9FB3AC;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.readout-tag::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 10px;
  width: 3px;
  height: 16px;
  background-color: #D96459;
}

.log-body {
  flex: 1;
}

.log-body h3 {
  color: #F2F6F3;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}

.log-body p {
  color: #C3C9C4;
  font-size: 15px;
  line-height: 1.6;
}

.pass-lamp {
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lamp-panel {
  width: 48px;
  height: 44px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}

.lamp-panel.passed {
  background-color: #46C08A;
  color: #0A1A14;
  border: 1px solid #46C08A;
}

.lamp-panel.failed {
  background-color: #101314;
  color: #D96459;
  border: 1px solid #D96459;
}

/* ===== QA METRIC BAND ===== */
.metric-band {
  background-color: #22292B;
}

.metric-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
}

.metric-cell {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
}

.metric-cell + .metric-cell {
  border-left: 1px solid #9FB3AC;
}

.metric-number {
  color: #46C08A;
  font-size: 44px;
  font-weight: 800;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  line-height: 1.1;
}

.metric-label {
  color: #C3C9C4;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ===== STATEMENT BAND ===== */
.statement-band {
  background-color: #1A1F1D;
}

.statement-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 24px;
  border-left: 4px solid #D96459;
  border-radius: 0;
}

.statement-text {
  color: #F2F6F3;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 18px;
}

.statement-sig {
  color: #9FB3AC;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== CTA BAND ===== */
.cta-band {
  background-color: #101314;
}

.cta-banded {
  text-align: center;
  padding: 30px 24px;
}

.cta-band .section-heading {
  margin-bottom: 16px;
}

.cta-sub {
  color: #C3C9C4;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 30px;
}

/* ===== GRATICULE FOOTER ===== */
.gratfooter {
  background-color: #0B0E0D;
  position: relative;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 40px;
  text-align: center;
}

.lead-coil-strip {
  height: 14px;
  background-color: #101314;
  border-bottom: 1px solid #26302D;
  position: relative;
  z-index: 1;
}

.coil {
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
}

.coil-red {
  border-color: #D96459;
  left: 60px;
}

.coil-black {
  border-color: #46C08A;
  right: 60px;
}

.coil-2 {
  left: 100px;
}

.coil-2b {
  right: 100px;
}

.footer-brand {
  color: #F2F6F3;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 26px;
}

.footer-links a {
  color: #C3C9C4;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 4px 10px;
}

.footer-links a:hover {
  color: #46C08A;
}

.fdot {
  color: #9FB3AC;
}

.scope-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.mm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #9FB3AC;
}

.stamp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px dashed #46C08A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
}

.stamp span {
  color: #46C08A;
  font-family: "Courier New", monospace;
}

.stamp .stamp-top {
  font-size: 8px;
  letter-spacing: 0;
}

.stamp .stamp-check {
  font-size: 16px;
  line-height: 1;
}

.legal-line {
  color: #9FB3AC;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.8;
}

.legal-line a {
  color: #46C08A;
}

.legal-line a:hover {
  color: #F2F6F3;
}

/* watermark (decorative) decorative only */
.gratfooter .deco-wave {
  visibility: hidden;
}

/* Scroll reveal fallback safe class */
.fade-up {
  opacity: 1;
}

/* ===== SECONDARY PAGE HERO (services/contact) ===== */
.page-hero {
  background-color: #101314;
  padding: 56px 0 40px;
}

.page-hero-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero h1 {
  color: #F2F6F3;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero h1 .signal {
  color: #46C08A;
}

.page-hero p {
  color: #C3C9C4;
  font-size: 18px;
  max-width: 760px;
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-intro {
  background-color: #101314;
}

.process-overview {
  background-color: #101314;
  border-top: 1px solid #26302D;
}

.content-layout {
  background-color: #101314;
}

.content-layout:nth-of-type(even) {
  background-color: #1A1F1D;
}

.split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.split-text {
  flex: 1;
}

.split-glow {
  flex: 0 0 38%;
}

.glow-panel {
  background-color: #22292B;
  border: 1px solid #26302D;
  padding: 28px;
  border-radius: 4px;
}

.glow-panel h4 {
  color: #46C08A;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border-bottom: 1px solid #26302D;
  padding-bottom: 10px;
}

.glow-list {
  list-style: none;
}

.glow-list li {
  color: #C3C9C4;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px dashed #26302D;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.glow-list li:last-child {
  border-bottom: none;
}

.glow-list .gdot {
  color: #46C08A;
  font-weight: 700;
  flex: 0 0 auto;
}

.mini-heading {
  color: #F2F6F3;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-left: 18px;
}

.mini-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #46C08A;
}

.content-p {
  color: #C3C9C4;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-sub {
  color: #C3C9C4;
  font-size: 17px;
  max-width: 820px;
  line-height: 1.6;
}

/* Contact form */
.form-page {
  background-color: #101314;
}

.form-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.form-card {
  flex: 1;
  background-color: #1A1F1D;
  border: 1px solid #26302D;
  border-radius: 4px;
  padding: 30px;
}

.side-panel {
  flex: 0 0 340px;
}

.contact-field {
  margin-bottom: 20px;
}

.contact-field label {
  display: block;
  color: #F2F6F3;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  background-color: #22292B;
  border: 1px solid #26302D;
  color: #EBEDEA;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  border-radius: 2px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #46C08A;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  color: #46C08A;
  font-size: 15px;
  min-height: 22px;
}

.info-box {
  background-color: #22292B;
  border: 1px solid #26302D;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 18px;
}

.info-box h4 {
  color: #46C08A;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.info-box p {
  color: #C3C9C4;
  font-size: 15px;
  line-height: 1.7;
}

.info-box a {
  color: #46C08A;
}

/* Page bottom spacer (avoid huge empty gap) */
.spacer {
  height: 70px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 0 12px;
    border-top: 1px solid #26302D;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 14px;
    padding: 10px 8px;
  }

  .dot-sep {
    display: none;
  }

  .nav-row-inner {
    flex-wrap: wrap;
  }

  .hero-wrap {
    flex-direction: column;
  }

  .hero-copy {
    flex: 1 1 100%;
  }

  .bench-scene {
    flex: 1 1 100%;
    min-height: 400px;
    margin-top: 10px;
  }

  .metric-row {
    flex-direction: column;
  }

  .metric-cell + .metric-cell {
    border-left: none;
    border-top: 1px solid #9FB3AC;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 36px;
  }

  .log-row {
    flex-direction: column;
  }

  .readout-tag,
  .pass-lamp {
    flex: 1 1 auto;
  }

  .pass-lamp {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .split {
    flex-direction: column;
  }

  .split-glow {
    flex: 1 1 100%;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .section-heading {
    font-size: 27px;
  }
}
