/* Pennsylvania Electrical Transformer Buyers | industrial editorial system */
:root {
  color-scheme: light;
  --ink: #171b1c;
  --charcoal: #1e2324;
  --black: #101415;
  --muted: #535e60;
  --line: #d8ddda;
  --paper: #fff;
  --panel: #f0f2ef;
  --orange: #f25a22;
  --orange-dark: #b63b0b;
  --max: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --space: clamp(4.5rem, 8vw, 7.75rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { background: #ffc19e; color: var(--black); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.09; letter-spacing: -.035em; }
.wrap, .topbar-inner, .header-inner, .hero-content, .footer-grid, .footer-bottom {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Compact utility bar and identity */
.topbar { background: var(--black); color: #f3f5f3; font-size: .75rem; font-weight: 650; }
.topbar-inner { min-height: 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.topbar-note { letter-spacing: .025em; }
.topbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; }
.topbar-actions a { color: #fff; text-decoration: none; }
.topbar-actions a:hover { color: #ffb18e; }
.brand-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-mark { display: inline-flex; align-items: center; gap: .75rem; flex: 0 1 auto; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-icon { display: grid; place-items: center; flex: 0 0 auto; width: 2.65rem; height: 2.65rem; background: var(--orange); color: var(--black); font-size: 1.35rem; font-weight: 900; line-height: 1; }
.brand-icon svg, .brand-icon img { width: 65%; height: 65%; object-fit: contain; }
.brand-words { display: flex; flex-direction: column; min-width: 0; line-height: 1.08; }
.brand-main { font-size: clamp(.87rem, 2vw, 1.1rem); font-weight: 850; letter-spacing: -.035em; }
.brand-sub { margin-top: .3rem; color: #555e5d; font-size: .63rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: .4rem 1.5rem; font-size: .86rem; font-weight: 750; }
.main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-dark); }
.main-nav .btn-primary, .main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: var(--black); }
.mobile-toggle { flex-shrink: 0; color: var(--ink); font-size: .8rem; font-weight: 800; letter-spacing: .04em; }
.mobile-toggle summary, button.mobile-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid #b8c0bb; background: #fff; color: var(--ink); list-style: none; }
.mobile-toggle summary::-webkit-details-marker { display: none; }
.mobile-toggle[open] summary { border-color: var(--ink); }
.mobile-toggle[open] .main-nav { padding: 1rem; }

/* Image-led hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 37rem; overflow: hidden; background: #252c2c; color: #fff; }
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 16, .95) 0%, rgba(10, 15, 16, .8) 47%, rgba(10, 15, 16, .35) 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(9, 13, 14, .42), transparent 45%); pointer-events: none; }
.hero-content { position: relative; padding-block: clamp(5rem, 10vw, 9rem); }
.eyebrow, .section-kicker { display: block; margin: 0 0 1rem; color: var(--orange-dark); font-size: .75rem; font-weight: 850; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: #ff9b70; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 1.6rem; height: 3px; margin-right: .65rem; vertical-align: middle; background: var(--orange); }
.eyebrow::before { flex: 0 0 1.6rem; margin-right: 0; }
.hero-title { max-width: 13ch; font-size: clamp(2.8rem, 6.5vw, 6.25rem); font-weight: 850; letter-spacing: -.055em; line-height: .99; text-wrap: balance; }
.hero-copy { max-width: 37rem; margin-top: 1.5rem; color: #eef0ed; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.35rem; padding: .85rem 1.3rem; border: 1px solid transparent; border-radius: 0; font-size: .84rem; font-weight: 800; letter-spacing: .025em; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--black); }
.btn-primary:hover { background: #ff8a58; border-color: #ff8a58; color: var(--black); }
.btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero .btn-outline, .dark-section .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .75); }
.hero .btn-outline:hover, .dark-section .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero-index { position: absolute; right: var(--gutter); bottom: 1.5rem; color: #fff; font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* The promise stays a two-by-two grid at every width. */
.promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--charcoal); color: #fff; }
.promise-card { position: relative; min-width: 0; padding: clamp(1.3rem, 2.5vw, 2.2rem); border-right: 1px solid #46504d; border-bottom: 1px solid #46504d; }
.promise-card:nth-child(2n) { border-right: 0; }
.promise-card:nth-last-child(-n + 2) { border-bottom: 0; }
.promise-card h2, .promise-card h3, .promise-card h4 { margin-bottom: .5rem; font-size: clamp(1rem, 1.5vw, 1.3rem); }
.promise-card p { color: #d4dad5; font-size: .88rem; line-height: 1.5; }
.promise-card svg { width: 1.6rem; height: 1.6rem; margin-bottom: .85rem; color: #ff8655; }
.trust-strip { padding: 1.2rem var(--gutter); border-bottom: 1px solid var(--line); background: #f3f5f2; color: #3a4541; font-size: .78rem; font-weight: 750; letter-spacing: .055em; text-align: center; text-transform: uppercase; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 2rem; }

/* Content rhythm */
.breadcrumb { padding-block: 1.15rem; color: #606c67; font-size: .77rem; font-weight: 650; }
.breadcrumb a { color: #3d4a45; }
.section { padding-block: var(--space); }
.section-heading { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-title { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 850; letter-spacing: -.045em; text-wrap: balance; }
.section-intro { max-width: 44rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.7; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.prose { max-width: 70ch; color: #394442; font-size: 1rem; line-height: 1.8; }
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 .65em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.prose h3 { font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 1rem 0 1.5rem; }
.prose li + li { margin-top: .45rem; }
.prose a, .text-link { color: #a53409; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.prose a:hover, .text-link:hover { color: #692000; }
.info-panel { padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 4px solid var(--orange); background: var(--panel); }
.info-panel h2, .info-panel h3 { margin-bottom: .8rem; font-size: 1.35rem; }
.info-panel p, .info-panel li { color: #3f4b47; }
.info-panel ul { padding-left: 1.2rem; }

/* Numbered cards and service links */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 2.5vw, 2.2rem); border: 1px solid var(--line); background: #fff; }
.card-num { display: block; margin-bottom: 2.5rem; color: #a9360b; font-size: .75rem; font-weight: 850; letter-spacing: .13em; }
.card-title { margin-bottom: .8rem; font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.card-copy { color: var(--muted); font-size: .96rem; line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; margin-top: auto; padding-top: 1.5rem; color: #a53409; font-size: .82rem; font-weight: 850; text-decoration: none; }
.card-link:hover { color: #692000; text-decoration: underline; }
.link-grid, .area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.link-grid a, .area-grid a { display: block; padding: 1rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 750; line-height: 1.35; text-decoration: none; }
.link-grid a:hover, .area-grid a:hover { color: #a53409; }
.steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: steps; }
.step { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.1rem; background: var(--orange); color: var(--black); font-size: .8rem; font-weight: 900; }
.step h2, .step h3, .step h4 { margin-bottom: .7rem; font-size: 1.25rem; }
.step p { color: var(--muted); }
.highlight-block { padding: clamp(1.75rem, 4vw, 3.5rem); border-left: 5px solid var(--orange); background: var(--panel); }
.highlight-block h2, .highlight-block h3 { margin-bottom: .8rem; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.dark-section { background: var(--charcoal); color: #fff; }
.dark-section .section-intro, .dark-section .prose, .dark-section .step p { color: #d6ded8; }
.dark-section .section-kicker { color: #ff9b70; }
.dark-section .prose h2, .dark-section .prose h3, .dark-section .prose h4 { color: #fff; }
.dark-section a:not(.btn):not(.card-link) { color: #fff; }
.dark-section .step { border-color: #59625e; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding-right: 2rem; color: var(--ink); font-weight: 800; line-height: 1.4; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; color: #a53409; font-size: 1.35rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item h2, .faq-item h3 { margin-bottom: .7rem; font-size: 1.1rem; }
.faq-item p { max-width: 75ch; margin-top: .8rem; color: var(--muted); }
.callout { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: clamp(2rem, 4.5vw, 4rem); background: var(--orange); color: var(--black); }
.callout h2, .callout h3 { font-size: clamp(1.7rem, 3.5vw, 3rem); }
.callout p { max-width: 44rem; margin-top: .7rem; }
.callout .btn-primary { background: var(--black); border-color: var(--black); color: #fff; }
.callout .btn-primary:hover { background: #34413d; border-color: #34413d; }

/* Photography supplied by the page */
.photo-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.photo-card { min-width: 0; overflow: hidden; background: #dde1dc; }
.photo-card img { width: 100%; height: 100%; min-height: 11rem; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: .8rem 1rem; background: var(--panel); color: #414b47; font-size: .8rem; }
figure.photo-card { margin: 0; }

/* Footer and persistent actions */
.footer { padding-top: clamp(3.5rem, 6vw, 6rem); background: var(--black); color: #e0e5e0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; padding-bottom: 3rem; }
.footer-brand { grid-column: 1 / -1; max-width: 24rem; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-sub { color: #bdc7c1; }
.footer-brand p { margin-top: 1rem; color: #bdc7c1; font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-links h2, .footer-links h3, .footer-links h4 { margin-bottom: .5rem; color: #fff; font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { color: #d7dfd8; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #ffad88; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.5rem 6rem; border-top: 1px solid #3d4641; color: #bbc5bd; font-size: .75rem; }
.float-stack { position: fixed; z-index: 30; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.float-quote, .float-call { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .7rem 1rem; border: 1px solid transparent; box-shadow: 0 5px 20px rgba(0, 0, 0, .22); font-size: .8rem; font-weight: 850; line-height: 1.2; text-decoration: none; }
.float-quote { background: var(--orange); color: var(--black); }
.float-call { background: var(--black); border-color: #59605b; color: #fff; }
.float-quote:hover { background: #ff8a58; }
.float-call:hover { background: #34413d; }
.float-stack svg { width: 1rem; height: 1rem; }

/* Dialog and quote form */
.quote-modal { width: min(44rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: 0 1rem 4rem rgba(0, 0, 0, .35); }
.quote-modal::backdrop { background: rgba(8, 12, 12, .76); }
.modal-box { position: relative; padding: clamp(1.5rem, 4vw, 3rem); }
.modal-box h2 { padding-right: 2rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.modal-box > p { margin-top: .75rem; color: var(--muted); }
.close-modal { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; }
.close-modal:hover { background: var(--panel); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field > span { color: #29332f; font-size: .8rem; font-weight: 800; }
.field input, .field select, .field textarea, .form-grid input:not([type="checkbox"]):not([type="radio"]), .form-grid select, .form-grid textarea { width: 100%; min-height: 3rem; padding: .75rem; border: 1px solid #aeb8b0; border-radius: 0; background: #fff; color: var(--ink); }
.field textarea, .form-grid textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #68736d; opacity: 1; }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; min-height: auto; }
.full { grid-column: 1 / -1; }
.form-note { color: #58645d; font-size: .8rem; line-height: 1.5; }
.contact-list { display: grid; gap: .9rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.contact-list a { color: #a53409; font-weight: 750; }

@media (max-width: 767px) {
  .topbar-inner { padding-block: .55rem; }
  .topbar-note { font-size: .69rem; line-height: 1.3; }
  .topbar-actions { justify-content: flex-end; font-size: .7rem; }
  .header-inner { flex-wrap: wrap; padding-block: .8rem; }
  .header-inner > .main-nav { flex-basis: 100%; justify-content: flex-start; gap: .2rem 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .35rem; }
  .mobile-toggle[open] .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0, 0, 0, .12); }
  .mobile-toggle[open] .main-nav a { padding-inline: .4rem; }
  .hero { min-height: 35rem; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10, 15, 16, .92), rgba(10, 15, 16, .57)), linear-gradient(0deg, rgba(10, 15, 16, .48), transparent); }
  .hero-content { padding-block: 5.5rem; }
  .hero-index { display: none; }
  .promise-card { padding: 1.25rem 1rem; }
  .promise-card p { font-size: .8rem; }
  .float-stack { right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); flex-direction: row; }
  .float-quote, .float-call { padding: .65rem .8rem; font-size: .75rem; }
}
@media (min-width: 768px) {
  .mobile-toggle { display: none; }
  details.mobile-toggle:has(.main-nav) { display: block; }
  details.mobile-toggle[open] .main-nav { position: absolute; top: 100%; right: var(--gutter); display: flex; flex-direction: column; align-items: stretch; min-width: 15rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0, 0, 0, .12); }
  .split-grid { grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .8fr); gap: clamp(3rem, 6vw, 6rem); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .link-grid, .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .callout { flex-direction: row; align-items: center; justify-content: space-between; }
  .callout .button-row { flex-shrink: 0; margin-top: 0; }
  .footer-grid { grid-template-columns: minmax(15rem, 2fr) repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding-bottom: 2rem; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Persistent contact controls */
.topbar { position: sticky; top: 0; z-index: 50; }
.float-text { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .7rem 1rem; border: 1px solid #59605b; background: #202625; color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.22); font-size: .8rem; font-weight: 850; line-height: 1.2; text-decoration: none; }
.float-text:hover { background: #34413d; }
@media (max-width: 767px) { .float-stack { flex-direction: column; } .float-text { padding: .6rem .75rem; font-size: .7rem; min-height: 2.5rem; } }

@media (max-width: 767px) { .header-inner > .main-nav { display: none; } }
@media (min-width: 768px) { .header-inner > details.mobile-toggle { display: none; } }

.hero--inner .hero-title { max-width: 19ch; font-size: clamp(2.5rem, 4.7vw, 4.5rem); }
.hero--inner .hero-copy { max-width: 40rem; }
@media (max-width: 767px) {
  .hero--inner .hero-title { font-size: clamp(2.25rem, 9vw, 3rem); }
  .float-stack { gap: .3rem; }
  .float-quote, .float-text { max-width: 8.2rem; min-height: 2.5rem; padding: .5rem .55rem; font-size: .68rem; text-align: center; }
  .float-call { min-height: 2.5rem; padding: .55rem .7rem; }
  .float-call span:not([aria-hidden]) { display: none; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .header-inner > .main-nav { display: none; }
  .header-inner > details.mobile-toggle { display: block; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .float-stack { gap: .3rem; }
  .float-quote, .float-text { max-width: 8.2rem; min-height: 2.5rem; padding: .5rem .55rem; font-size: .68rem; text-align: center; }
  .float-call { min-height: 2.5rem; padding: .55rem .7rem; }
  .float-call span:not([aria-hidden]) { display: none; }
}
