@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* West Virginia Transformer Buyers | Industrial design system */
:root {
  color-scheme: dark;
  --ink: #09131a;
  --ink-deep: #060d12;
  --navy: #101e27;
  --panel: #162730;
  --panel-light: #1b303a;
  --line: rgba(220, 232, 236, .16);
  --text: #f7f9f8;
  --muted: #bdcbd0;
  --amber: #f4a733;
  --amber-light: #ffc15e;
  --heading-font: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body-font: 'IBM Plex Sans', Arial, sans-serif;
  --content: 1280px;
  --gutter: clamp(1.25rem, 4.8vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration-color: rgba(244, 167, 51, .7); text-underline-offset: .2em; }
a:hover { color: var(--amber-light); }
button, input, select, textarea { font: inherit; }
button, [type='button'], [type='submit'] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber-light); outline-offset: 4px; }
::selection { color: #071116; background: var(--amber-light); }

h1, h2, h3, h4, p, ul, ol { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--text);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.3rem, 6.9vw, 7.15rem); }
h2 { font-size: clamp(2.55rem, 4.7vw, 5rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
p { margin-bottom: 1.1em; }

/* Utility header and navigation */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 38px;
  padding: .45rem var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #071016;
  color: #c9d6d9;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.topbar a { color: #f5c36e; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
  padding: .85rem var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #0a151c;
}
.site-header > .section-inner, .site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}
.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .75rem;
  max-width: 22rem;
  color: #fff;
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 1.55vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: .98;
  text-decoration: none;
  text-transform: uppercase;
}
.logo:hover { color: #fff; }
.logo-mark {
  display: inline-flex;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  color: var(--amber);
}
.logo-mark:empty:not(img) {
  background: url('/assets/logo-mark.svg') center / contain no-repeat;
}
.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.1vw, 2rem);
}
.main-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: inherit; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  color: #f1f4f3;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current='page'] { color: var(--amber-light); }
.nav-cta, .main-nav .nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.15rem;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #10191d;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-cta:hover, .main-nav .nav-cta:hover { border-color: var(--amber-light); background: var(--amber-light); color: #10191d; }

/* Hero: gradients are an overlay, never a replacement for the real photo. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(35rem, 54vw, 46rem);
  background-color: #14242a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 20, .97) 0%, rgba(7, 17, 22, .9) 29%, rgba(8, 19, 24, .63) 54%, rgba(8, 17, 21, .12) 100%), linear-gradient(0deg, rgba(7, 16, 21, .66), transparent 45%);
  content: '';
  pointer-events: none;
}
.hero > img, .hero > picture {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero > img, .hero > picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--content) + var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 7.5rem) var(--gutter) clamp(5rem, 8vw, 7rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.3rem;
  color: var(--amber-light);
  font-family: var(--body-font);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { flex: 0 0 2.2rem; height: 2px; background: var(--amber); content: ''; }
.hero h1 { max-width: 100%; margin-bottom: .23em; font-size: clamp(3.2rem, 5.7vw, 5.4rem); overflow-wrap: normal; hyphens: auto; text-transform: uppercase; }
.hero-copy { max-width: 39rem; margin-bottom: 1.8rem; color: #e1e8e8; font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button, button[type='submit'], input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .9rem 1.4rem;
  border: 1px solid var(--amber);
  border-radius: 0;
  background: var(--amber);
  color: #111a1c;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover, button[type='submit']:hover, input[type='submit']:hover { border-color: var(--amber-light); background: var(--amber-light); color: #10191d; }
.button-outline { border-color: rgba(255, 255, 255, .67); background: rgba(5, 13, 17, .26); color: #fff; }
.button-outline:hover { border-color: #fff; background: #fff; color: #10191d; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.3rem; color: #d4dfdf; font-size: .76rem; font-weight: 600; letter-spacing: .045em; line-height: 1.5; }
.hero-meta > * { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta > *::before { color: var(--amber); content: '◆'; font-size: .5rem; }

/* Four-benefit band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: #172831;
}
.stat-band > .section-inner, .stat-band > .container {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  padding: 0;
}
.stat-item { position: relative; min-width: 0; padding: 1.65rem 1.45rem 1.65rem 1.5rem; border-right: 1px solid var(--line); color: #e0e9e9; font-size: .9rem; font-weight: 600; line-height: 1.38; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: 0; }
.stat-item strong, .stat-item b, .stat-item .number { display: block; margin-bottom: .25rem; color: #fff; font-family: var(--heading-font); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 700; line-height: 1.1; }
.stat-item p { margin: 0; }

/* Content */
.section { padding: clamp(5rem, 8vw, 8.5rem) 0; }
.section:nth-of-type(even) { background: #0e1c24; }
.section-inner { width: min(100%, calc(var(--content) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.section-heading { max-width: 53rem; margin-bottom: clamp(2.25rem, 4vw, 4rem); }
.section-heading h2, h2.section-heading { margin-bottom: .3em; text-transform: uppercase; }
.section-heading p:not(.eyebrow) { max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.13rem); }
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.split > *, .feature-grid > *, .process-grid > *, .link-grid > *, .form-grid > * { min-width: 0; }
.prose { color: #d0dcde; font-size: 1.03rem; line-height: 1.8; }
.prose h2, .prose h3, .prose h4 { margin: 1.1em 0 .45em; color: #fff; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose li { margin-bottom: .55rem; padding-left: .2rem; }
.prose li::marker { color: var(--amber); }
.prose a { color: #f8be66; }
.feature-grid, .process-grid, .link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card, .process-step { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); background: #14242d; }
.feature-card h3, .process-step h3 { margin-bottom: .45em; }
.feature-card p, .process-step p { margin-bottom: 0; color: #c4d1d4; font-size: .95rem; line-height: 1.65; }
.feature-card a, .process-step a { color: #ffc15e; font-weight: 700; }
.feature-card::before { display: block; width: 2.6rem; height: 3px; margin-bottom: 1.6rem; background: var(--amber); content: ''; }
.process-grid { counter-reset: steps; }
.process-step { counter-increment: steps; }
.process-step::before { display: block; margin-bottom: 1.5rem; color: var(--amber); content: '0' counter(steps) ' /'; font-family: var(--heading-font); font-size: 1.2rem; font-weight: 700; letter-spacing: .05em; }
.link-grid { gap: 1px; }
.link-grid > a, .page-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 1rem 1.2rem;
  background: #14242d;
  color: #eff4f3;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.link-grid > a::after, .page-links a::after { flex: 0 0 auto; color: var(--amber); content: '↗'; }
.link-grid > a:hover, .page-links a:hover { background: #203740; color: #fff; }
.page-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 0; list-style: none; }
.page-links li { min-width: 0; }
.page-links li a { height: 100%; }

/* Quote form */
.quote-section { position: relative; padding: clamp(5rem, 8vw, 8.5rem) 0; background: #0a151b; }
.quote-panel { padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid rgba(245, 184, 90, .25); border-top: 4px solid var(--amber); background: #192b34; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.quote-panel h2, .quote-panel h3 { margin-bottom: .3em; }
.quote-panel > p { max-width: 48rem; color: #c9d7d8; }
.quote-form { margin-top: 1.8rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full, .form-grid > .full { grid-column: 1 / -1; }
.field label, .quote-form label { color: #f5f8f7; font-size: .84rem; font-weight: 700; line-height: 1.35; }
.quote-form input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='hidden']), .quote-form select, .quote-form textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid #7f949b;
  border-radius: 0;
  background: #f7faf9;
  color: #111d22;
  font-size: 1rem;
  line-height: 1.4;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #5c6d73; opacity: 1; }
.quote-form textarea { min-height: 142px; resize: vertical; }
.quote-form select { cursor: pointer; }
.quote-form input[type='file'] { min-height: 54px; padding: .55rem; font-size: .9rem; }
.quote-form input[type='file']::file-selector-button { margin-right: .8rem; padding: .5rem .75rem; border: 0; background: #d6e0df; color: #102029; font-weight: 700; cursor: pointer; }
.quote-form input:focus-visible, .quote-form select:focus-visible, .quote-form textarea:focus-visible { outline: 3px solid var(--amber-light); outline-offset: 2px; }
.quote-form button[type='submit'], .quote-form input[type='submit'] { min-width: 15rem; margin-top: 1.4rem; }
.form-note { margin-top: 1rem; color: #c5d2d4; font-size: .8rem; line-height: 1.55; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

/* FAQs and footer */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details, .faq-list > div { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding-right: 2rem; color: #f7f9f8; font-family: var(--heading-font); font-size: 1.55rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
.faq-list summary::marker { color: var(--amber); }
.faq-list details p, .faq-list > div p { max-width: 56rem; margin: 1rem 0 0; color: #c5d2d4; }
.faq-list h3 { margin-bottom: .45rem; }
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: #060e13; color: #b8c9cc; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; width: min(100%, calc(var(--content) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.footer-inner > * { min-width: 0; }
.footer .logo { color: #fff; }
.footer p { max-width: 35rem; }
.footer h2, .footer h3, .footer h4 { color: #fff; font-family: var(--body-font); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; padding: 0; list-style: none; }
.footer-links a, .footer a:not(.logo) { color: #d3dfe0; text-decoration: none; }
.footer a:hover { color: var(--amber-light); }

/* The content gutters reserve a clear right-hand rail for this fixed tab. */
.sticky-quote {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 160px;
  padding: 1rem .8rem;
  border: 1px solid #ffc764;
  background: var(--amber);
  box-shadow: 0 5px 22px rgba(0, 0, 0, .3);
  color: #111a1c;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}
.sticky-quote:hover { background: var(--amber-light); color: #111a1c; }
.sticky-quote:focus-visible { outline-offset: -5px; outline-color: #12252d; }
.mobile-call { display: none; }

@media (min-width: 761px) {
  :root { --gutter: clamp(4rem, 4.8vw, 4.5rem); }
}
@media (max-width: 1050px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .75rem; }
  .feature-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* Keep every section and form clear of the fixed 40px action rail. */
  .topbar, .site-header { padding-right: 3.8rem; }
  .hero-inner, .section-inner, .footer-inner { padding-right: 3.8rem; }
  .stat-band { padding-right: 3.8rem; }
  .stat-band > .section-inner, .stat-band > .container { padding-right: 0; }
  .quote-section > .quote-panel { width: auto; margin-inline: var(--gutter) 3.8rem; }
  .topbar { flex-wrap: wrap; gap: .25rem .8rem; padding-block: .5rem; font-size: .68rem; }
  .site-header { gap: .8rem 1rem; min-height: 72px; padding-block: .8rem; }
  .site-header > .section-inner, .site-header > .container { flex-wrap: wrap; }
  .logo { max-width: 72%; font-size: 1.12rem; }
  .logo-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .main-nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; justify-content: flex-start; gap: .25rem 1.1rem; padding-top: .35rem; }
  .main-nav a { flex: 0 0 auto; min-height: 35px; display: inline-flex; align-items: center; white-space: nowrap; }
  .nav-cta, .main-nav .nav-cta { min-height: 42px; padding: .65rem .8rem; font-size: .72rem; }
  .hero { min-height: 35rem; background-position: 60% center; }
  .hero::before { background: linear-gradient(90deg, rgba(6, 15, 20, .94) 0%, rgba(7, 17, 22, .82) 58%, rgba(8, 18, 22, .48) 100%), linear-gradient(0deg, rgba(7, 16, 21, .8), transparent 60%); }
  .hero-inner { padding-top: 5rem; padding-bottom: 5rem; }
  .hero h1 { max-width: 100%; font-size: clamp(2.6rem, 9.5vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-meta { margin-top: 1.7rem; }
  .stat-band, .stat-band > .section-inner, .stat-band > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 1.25rem 1rem; border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(odd) { padding-left: 0; }
  .stat-item:nth-child(even) { border-right: 0; }
  .stat-item:nth-last-child(-n+2) { border-bottom: 0; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .link-grid, .page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-quote { min-width: 40px; min-height: 144px; padding: .8rem .65rem; font-size: .69rem; }
}
@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }
  .topbar { font-size: .64rem; }
  .hero { min-height: 33rem; }
  .hero-inner { padding-top: 4rem; padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(2.25rem, 9.2vw, 3rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .feature-grid, .process-grid, .link-grid, .page-links, .form-grid { grid-template-columns: 1fr; }
  .field.full, .form-grid > .full { grid-column: auto; }
  .quote-form button[type='submit'], .quote-form input[type='submit'] { width: 100%; min-width: 0; }
  .quote-panel { padding: 1.4rem; }
  .stat-item { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
