:root {
  --cream: #FAF5F1;
  --ivory: #FDFAF6;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --ruby: #B23A55;
  --ruby-deep: #8E2C43;
  --ruby-dark: #6E1F34;
  --rose-mist: #F3DCE1;
  --hairline: #E8DDD6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
  background: #FAF5F1;
  overflow-x: hidden;
}

a {
  color: var(--ruby);
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--ruby);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ruby);
  color: var(--ivory);
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-primary {
  background: var(--ruby);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--ruby-deep);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--ruby);
  color: var(--ruby);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ruby);
  color: var(--ivory);
}

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

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- gauge navigation ---------- */

.gauge-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 2px solid var(--ruby);
}

.gauge-nav.scrolled {
  border-bottom-color: var(--ruby-dark);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-glyph {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 20px;
  flex: 0 0 auto;
}

.brand-glyph::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 3px solid var(--ruby);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

.brand-glyph::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 15px;
  width: 3px;
  height: 12px;
  background: var(--ruby);
  transform: rotate(40deg);
  transform-origin: bottom center;
}

.brand-glyph .gauge-tick {
  position: absolute;
  top: 13px;
  width: 2px;
  height: 7px;
  background: var(--ruby);
}

.brand-glyph .tick-l {
  left: 1px;
  transform: rotate(28deg);
}

.brand-glyph .tick-r {
  right: 1px;
  transform: rotate(-28deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--ink);
}

.brand-caption {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ruby);
  font-weight: 800;
  text-transform: uppercase;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ruby);
}

.nav-link.active {
  color: var(--ruby);
}

.nav-link .mini-gauge {
  position: relative;
  width: 18px;
  height: 11px;
  display: inline-block;
  flex: 0 0 auto;
}

.nav-link .mini-gauge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ruby);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
  transition: background 0.2s ease;
}

.nav-link .mini-gauge::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 9px;
  width: 2px;
  height: 7px;
  background: var(--ruby);
  transform: rotate(38deg);
  transform-origin: bottom center;
}

.nav-link.active .mini-gauge::before {
  background: var(--ruby);
}

.nav-link.active .mini-gauge::after {
  background: var(--ivory);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 10px 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--ruby);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- meter hero ---------- */

.meter-hero {
  padding: 84px 0 96px;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
}

.hero-chip {
  display: inline-block;
  background: var(--ruby);
  color: var(--ivory);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
}

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

.meter-panel {
  background: var(--ivory);
  border: 2px solid var(--ruby);
  border-radius: 16px;
  padding: 38px 32px 28px;
  box-shadow: 12px 14px 0 0 var(--rose-mist);
}

.hero-gauge {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
}

.hero-gauge .gauge-rim {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--ruby) 0deg 2deg, transparent 2deg 14deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 5px));
}

.hero-gauge .gauge-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--ruby);
  background: var(--ivory);
}

.hero-gauge .gauge-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 205deg, var(--ruby) 0deg, var(--ruby) 60deg, transparent 60deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 66%, #000 67%);
  mask: radial-gradient(farthest-side, transparent 66%, #000 67%);
}

.hero-gauge .gauge-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 42%;
  background: var(--ink);
  transform: translateX(-50%) rotate(38deg);
  transform-origin: bottom center;
}

.hero-gauge .gauge-pivot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ruby);
}

.gauge-label {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--ruby-deep);
}

.power-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.power-bar .led {
  width: 13px;
  height: 30px;
  border: 2px solid var(--ruby);
  border-radius: 3px;
}

.power-bar .led.on {
  background: var(--ruby);
}

.panel-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- section shared ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ruby);
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 48px;
}

/* ---------- power grid ---------- */

.power-grid {
  padding: 96px 0;
  background: var(--cream);
}

.power-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.power-panel {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-top: 5px solid var(--ruby);
  border-radius: 10px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.power-panel:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 0 var(--rose-mist);
}

.led-seg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
  margin-bottom: 20px;
}

.led-seg i {
  display: block;
  width: 16px;
  height: 16px;
  background: var(--ruby);
  border-radius: 2px;
}

.led-seg i:nth-child(2) {
  background: var(--rose-mist);
}

.power-panel h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.power-panel p {
  font-size: 15px;
  color: var(--ink-soft);
}

.power-panel p + p {
  margin-top: 10px;
}

/* ---------- signal strip ---------- */

.signal-strip {
  background: var(--ruby);
  padding: 56px 0;
  color: var(--ivory);
}

.signal-strip .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.signal-kicker {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rose-mist);
}

.signal-line {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 820px;
  color: var(--ivory);
}

.signal-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.signal-items span {
  background: var(--ivory);
  color: var(--ruby);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- watt panels ---------- */

.watt-panels {
  padding: 96px 0;
  background: var(--cream);
}

.watt-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.watt-panel {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 30px 26px;
  text-align: center;
}

.watt-num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--ruby);
  line-height: 1.05;
  letter-spacing: -1px;
}

.watt-unit {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ruby-deep);
  margin-top: 6px;
  margin-bottom: 14px;
}

.watt-panel p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- trade band ---------- */

.trade-band {
  padding: 96px 0;
  background: var(--ivory);
  border-top: 2px solid var(--hairline);
  border-bottom: 2px solid var(--hairline);
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}

.trade-block {
  border-left: 4px solid var(--ruby);
  padding: 6px 0 6px 24px;
}

.trade-block h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.trade-block p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- cta band ---------- */

.cta-band {
  padding: 80px 0;
  background: var(--cream);
  border-top: 2px solid var(--hairline);
}

.cta-band .container {
  text-align: center;
}

.cta-band h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- plug footer ---------- */

.plug-footer {
  background: var(--cream);
  border-top: 2px solid var(--ruby);
  padding: 48px 0 36px;
}

.footer-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ruby);
}

.footer-contact {
  font-size: 14px;
  font-weight: 700;
  color: var(--ruby);
  letter-spacing: 0.3px;
}

.footer-contact a {
  color: var(--ruby);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--ruby-deep);
}

.footer-row2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.footer-glyph {
  position: absolute;
  left: 24px;
  top: 50%;
  width: 18px;
  height: 9px;
  background: var(--ruby);
  border-radius: 50% 50% 0 0;
  transform: translateY(-50%);
}

.footer-legal {
  font-size: 12px;
  color: var(--ink-soft);
}

.footer-legal a {
  color: var(--ink);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ruby);
}

/* ---------- secondary page hero ---------- */

.page-hero {
  padding: 72px 0 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}

.page-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.page-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ---------- services page ---------- */

.service-list {
  padding: 80px 0 40px;
  background: var(--cream);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 56px;
}

.service-card {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--ruby);
  border-radius: 10px;
  padding: 34px 30px;
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ruby-deep);
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--ink-soft);
}

.service-card p + p {
  margin-top: 10px;
}

.process-overview {
  padding: 72px 0;
  background: var(--ruby);
  color: var(--ivory);
}

.process-overview .eyebrow {
  color: var(--rose-mist);
}

.process-overview .section-title {
  color: var(--ivory);
}

.process-overview .section-lede {
  color: var(--rose-mist);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  background: var(--ruby-deep);
  border: 1px solid #a13b58;
  border-radius: 10px;
  padding: 26px 22px;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ivory);
}

.process-step h3::before {
  content: "0" counter(step);
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--rose-mist);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--ivory);
}

/* ---------- contact page ---------- */

.contact-section {
  padding: 80px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 36px 32px;
}

.contact-form h3,
.contact-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-form .form-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ruby-deep);
  margin: 18px 0 8px;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1.5px solid var(--hairline);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ruby);
}

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

.form-actions {
  margin-top: 22px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ruby-deep);
  min-height: 22px;
}

.contact-info-card {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--ruby);
  border-radius: 12px;
  padding: 30px 28px;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.contact-info-card a {
  color: var(--ruby);
  text-decoration: none;
  font-weight: 700;
}

.contact-info-card a:hover {
  color: var(--ruby-deep);
}

.contact-info-card strong {
  color: var(--ink);
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hairline);
  font-size: 15px;
  color: var(--ink-soft);
}

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

.hours-list li strong {
  color: var(--ink);
}

.faq-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 48px 0 18px;
}

.faq-list {
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--hairline);
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--ivory);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--ruby);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--ink-soft);
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .power-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .trade-grid {
    grid-template-columns: 1fr;
  }

  .watt-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ruby);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }

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

  .nav-link {
    padding: 14px 8px;
    border-top: 1px solid var(--hairline);
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .hero-title {
    font-size: 38px;
  }

  .section-title {
    font-size: 30px;
  }

  .page-title {
    font-size: 34px;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .signal-line {
    font-size: 21px;
  }
}

@media (max-width: 560px) {
  .power-grid-wrap,
  .watt-wrap,
  .process-list {
    grid-template-columns: 1fr;
  }

  .footer-row2 {
    justify-content: flex-start;
    padding-left: 40px;
  }
}
