@import url('../fonts/fonts.css');

/* Electrical Transformer Buyers Ohio
   Conversion page anatomy: eyebrow, headline, deck, offer, photograph, tabs.
   HTML and CSS only. No JavaScript anywhere. */

:root {
  --orange: #F65E1E;
  --orange-dark: #B84C16;
  --ink: #161616;
  --paper: #F9F8F6;
  --hair: #C7C6C4;
  --body: #4F4E4C;
  --white: #FFFFFF;
  --shell: 1200px;
  --sans: "Archivo var", "Archivo", system-ui, sans-serif;
  --text: "Inter var", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--text); font-size: 17px; line-height: 1.65;
  font-synthesis-weight: none; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
img, picture, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0; line-height: 1.08; }
h1 { font-size: clamp(30px, 3.4vw, 44px); }
h2 { font-size: clamp(22px, 2.2vw, 30px); }
h3 { font-size: 18px; line-height: 1.25; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 200; font: 700 13px var(--sans); }
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* top bar */
.topbar { background: var(--ink); color: #EDEBE8; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar__dot { width: 7px; height: 7px; background: var(--orange); display: inline-block; flex: none; }
.topbar__meta { display: flex; gap: 20px; }
.topbar__meta a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar__short { display: none; }

/* masthead */
.masthead { background: var(--white); border-bottom: 1px solid var(--hair); }
.masthead .shell { display: flex; align-items: center; gap: 40px; min-height: 78px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.wordmark__text { font: 700 17px var(--sans); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; display: block; }
.wordmark__text span { display: block; font-size: 11px; letter-spacing: 0.34em; color: var(--orange-dark); margin-top: 3px; }
.wordmark--light, .wordmark--light .wordmark__text { color: #fff; }
.wordmark--light .wordmark__text span { color: var(--orange); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font: 600 12.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--ink); }
.masthead__call { border-left: 1px solid var(--hair); padding-left: 24px; flex: none; }
.masthead__call a { font: 700 19px var(--sans); color: var(--ink); text-decoration: none; }

/* open: eyebrow, h1, deck, cta, photo */
.open { background: var(--white); border-bottom: 1px solid var(--hair); }
.open .shell { padding-top: 40px; padding-bottom: 40px; }
.open__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.open__copy { max-width: 640px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0;
  font: 600 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #8d8b87; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--hair); }
.crumbs a { color: #8d8b87; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.eyebrow { font: 700 12px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; }
.open h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; margin: 0 0 16px; max-width: 20ch; text-wrap: balance; }
.deck { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 54ch; margin: 0 0 24px; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 0; }
.open__fig { margin: 0; }
.open__img { width: 100%; height: 420px; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.open__fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: #77756f; }

/* tabs */
.tabs { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--hair); }
.tabs .shell { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.tabs .shell::-webkit-scrollbar { display: none; }
.tabs a { padding: 15px 0; font: 700 12px var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs a:hover { border-bottom-color: var(--orange); }

/* sections */
.sec { padding: 96px 0; border-bottom: 1px solid var(--hair); }
.sec:last-of-type { border-bottom: 0; }
.label { font: 700 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0 0 16px; }
.sec h2 { margin: 0 0 40px; max-width: 26ch; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.split--reverse { grid-template-columns: 0.8fr 1.2fr; }
.prose p { max-width: 66ch; }
.prose--tight p { max-width: 58ch; }
.prose--wide { column-gap: 56px; }
@media (min-width: 1024px) {
  .prose--wide { columns: 2; }
  .prose--wide p { break-inside: avoid; }
}

.ticks { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--ink); }
.ticks li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--hair);
  font-size: 17px; color: var(--ink); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; background: var(--orange); }

.tablewrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 16px; }
.spec th { width: 32%; text-align: left; vertical-align: top; font: 700 12px var(--sans); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); padding: 14px 18px 14px 0; border-bottom: 1px solid var(--hair); }
.spec td { padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--body); vertical-align: top; }

.fig { margin: 32px 0 0; }
.fig__img { width: 100%; height: auto; display: block; }
.fig--inline img { aspect-ratio: 16 / 10; object-fit: cover; max-height: 360px; }
.fig figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: #77756f; }

/* offer form */
.offer { background: var(--white); border: 1px solid var(--hair); padding: 24px; }
.offer__head { font: 700 20px var(--sans); color: var(--ink); margin: 0 0 4px; letter-spacing: -0.01em; }
.offer__blurb { font-size: 13px; color: #6d6b67; margin: 0 0 16px; }
.offer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fld { display: flex; flex-direction: column; gap: 5px; font: 600 10.5px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #6d6b67; }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld select { font-family: var(--text); font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--hair); border-radius: 2px; padding: 10px 11px; width: 100%; text-transform: none; letter-spacing: 0; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.offer__note { font-size: 12px; color: #77756f; margin: 10px 0 0; }

/* who, tiles, steps, proof */
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.who li { border-top: 2px solid var(--ink); padding-top: 10px; font: 700 15px var(--sans); color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tile { border-top: 2px solid var(--orange); padding-top: 16px; }
.tile__h { font: 700 19px var(--sans); color: var(--ink); margin: 0 0 6px; }
.tile__p { font-size: 15px; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.steps li { border-top: 1px solid var(--hair); padding-top: 16px; }
.steps__n { font: 700 12px var(--sans); letter-spacing: 0.16em; color: var(--ink); display: block; margin-bottom: 8px; }
.steps h3 { margin: 0 0 6px; }
.steps p { font-size: 15px; line-height: 1.55; margin: 0; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.proof__item { border-top: 2px solid var(--ink); padding-top: 14px; }
.proof__h { font: 700 17px var(--sans); color: var(--ink); margin: 0 0 6px; }
.proof__p { font-size: 14px; margin: 0; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; }
.qa__cat { font: 700 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.qa details { border-bottom: 1px solid var(--hair); padding-bottom: 12px; }
.qa summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  font: 600 16px var(--sans); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--orange); font-weight: 700; }
.qa details[open] summary::after { content: "\2013"; }
.qa__a p { font-size: 15px; margin: 10px 0 0; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--hair); color: var(--ink); font: 600 15px var(--sans);
  letter-spacing: -0.01em; text-decoration: none; }
.card:hover { border-color: var(--orange); color: var(--ink); }
.cards--six .card { flex-direction: column; align-items: flex-start; gap: 4px; }
.card em { font-style: normal; font: 400 12.5px var(--text); color: #77756f; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px;
  background: var(--orange); border: 1px solid var(--orange); border-radius: 3px; color: #fff;
  font: 700 13px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; text-decoration: none; }
.btn--block { width: 100%; }
.tel { font: 700 17px var(--sans); color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.tel--light { color: #fff; }

/* closing band */
.closeband { background: var(--ink); }
.closeband .shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 24px; flex-wrap: wrap; }
.closeband__line { font: 700 clamp(22px, 2.4vw, 30px) var(--sans); letter-spacing: -0.02em; color: #fff; margin: 0; max-width: 30ch; }
.closeband__act { display: flex; align-items: center; gap: 24px; }

/* footer */
.footer { background: var(--ink); color: #B9B7B3; font-size: 14px; }
.footer .shell { padding-top: 56px; padding-bottom: 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h2 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer a { color: #B9B7B3; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__blurb { margin: 16px 0; max-width: 34ch; }
.footer__phone { font: 700 20px var(--sans); color: #fff; }
.footer__legal { border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; flex-wrap: wrap; }

/* sticky bar */
.stickybar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--hair); }
.stickybar a { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px;
  font: 700 13px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; text-decoration: none; }
.stickybar__call { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.stickybar__quote { background: var(--orange); color: #fff; }

@media (max-width: 1100px) {
  .open__grid { grid-template-columns: 1fr; gap: 32px; }
  .open__copy { max-width: none; }
  .open__img { height: 260px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; }
  .who { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .shell { padding: 0 20px; }
  .topbar .shell { min-height: 30px; font-size: 10px; }
  .topbar p { display: none; }
  .topbar .shell { justify-content: space-between; }
  .topbar__short { display: inline; }
  .masthead .shell { min-height: 60px; gap: 12px; }
  .nav { display: none; }
  .wordmark { gap: 9px; }
  .wordmark__text { font-size: 14px; }
  .wordmark__text span { font-size: 9px; letter-spacing: 0.26em; }
  .wordmark__mark { width: 30px; height: 30px; }
  .masthead__call { display: none; }
  .open .shell { padding-top: 20px; padding-bottom: 24px; }
  .open__img { height: 260px; }
  .open h1 { font-size: 30px; max-width: none; }
  .deck { font-size: 18px; }
  .cta-row { gap: 16px; }
  .tabs .shell { gap: 24px; }
  .sec { padding: 48px 0 32px; }
  .sec h2 { margin-bottom: 24px; }
  .steps, .tiles, .proof, .faq, .cards, .who { grid-template-columns: 1fr; }
  .cards--six { grid-template-columns: 1fr 1fr; }
  .offer__grid { grid-template-columns: 1fr; }
  .offer { padding: 20px; }
  .closeband .shell { padding: 40px 20px; }
  .stickybar { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
