/* Utah transformer buyers — shared, asset-independent visual system */
:root {
  color-scheme: light;
  --ink: #1c211f;
  --charcoal: #151a18;
  --charcoal-soft: #252b28;
  --paper: #ffffff;
  --warm: #f4f3ee;
  --warm-deep: #ebeae2;
  --orange: #f06b24;
  --orange-dark: #a73b08;
  --muted: #57615b;
  --line: #d8dcd6;
  --radius: 3px;
  --content-width: 1240px;
  --page-gutter: clamp(1.1rem, 4vw, 2.5rem);
  --shadow: 0 14px 32px rgba(19, 26, 21, .09);
  --sticky-space: 84px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  padding-bottom: calc(var(--sticky-space) + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #91400f; text-decoration-thickness: .08em; text-underline-offset: .19em; }
a:hover { color: #5f2708; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.skip-link { position: fixed; z-index: 200; top: -5rem; left: 1rem; padding: .7rem 1rem; background: #fff; color: #151a18; font-weight: 800; }
.skip-link:focus { top: 1rem; }
:focus { outline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::selection { background: #f5b58f; color: #161b18; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* Top utility line and compact, high-contrast identity */
.topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  padding: .5rem var(--page-gutter);
  background: var(--charcoal);
  color: #e9ede8;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .045em;
  line-height: 1.35;
}
.topline > div, .topline > .wrap {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1.5rem;
}
.topline a { color: #fff; font-weight: 800; }
.topline a:hover { color: #ffbc90; }
.site-header { background: var(--paper); border-bottom: 1px solid #e5e7e3; }
.header-inner {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  min-height: 74px;
  padding: .8rem var(--page-gutter);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--charcoal);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.brand-mark svg { width: 65%; height: 65%; }
.brand-name { max-width: 20rem; font-size: clamp(.77rem, 1.6vw, 1rem); font-weight: 900; line-height: 1.13; letter-spacing: .025em; text-transform: uppercase; }
.brand-name span, .brand-name strong { display: block; }
.header-call { color: var(--ink); font-size: .85rem; font-weight: 800; line-height: 1.2; text-align: right; text-decoration: none; white-space: nowrap; }
.header-call:hover { color: var(--orange-dark); }
.header-call small, .header-call span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.main-nav { background: var(--charcoal-soft); }
.nav-inner {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #8d9690 transparent;
}
.nav-inner a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: .7rem .9rem;
  border-bottom: 3px solid transparent;
  color: #f4f5f1;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.nav-inner a:first-child { padding-left: 0; }
.nav-inner a:hover, .nav-inner a[aria-current="page"] { border-bottom-color: var(--orange); color: #fff; }

/* Large photo-led, left-aligned hero: image remains real HTML content. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 17, 14, .96) 0%, rgba(12, 17, 14, .85) 42%, rgba(12, 17, 14, .35) 78%, rgba(12, 17, 14, .2) 100%), linear-gradient(0deg, rgba(12, 17, 14, .4), transparent 60%);
}
.hero__content {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7.75rem) var(--page-gutter);
}
.hero__text { max-width: 730px; }
.eyebrow, .section-kicker {
  display: block;
  margin: 0 0 1rem;
  color: var(--orange-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffb584; }
.hero .eyebrow::before, .section-kicker::before {
  content: "";
  display: inline-block;
  width: 1.65rem;
  height: 3px;
  margin: 0 .65rem .22em 0;
  background: var(--orange);
}
.hero h1 { max-width: 760px; font-size: clamp(2.6rem, 5.6vw, 5.35rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.02; }
.hero__lead { max-width: 620px; margin: 1.4rem 0 0; color: #f0f1ed; font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 2rem; }
.btn, .quote-form button, .quote-form input[type="submit"] {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #fff;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:hover, .quote-form button:hover, .quote-form input[type="submit"]:hover { background: #39433d; color: #fff; transform: translateY(-2px); }
.btn--primary, .quote-form button, .quote-form input[type="submit"] { border-color: var(--orange); background: var(--orange); color: #141915; }
.btn--primary:hover, .quote-form button:hover, .quote-form input[type="submit"]:hover { border-color: #ff9558; background: #ff9558; color: #141915; }
.btn--light { border-color: #fff; background: transparent; color: #fff; }
.btn--light:hover { border-color: #fff; background: #fff; color: var(--ink); }

/* Buyer promises sit directly below the hero as a practical checklist. */
.promise-strip { background: var(--warm); border-bottom: 1px solid var(--line); }
.promise-inner {
  width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter)));
  margin-inline: auto;
  padding: 1.2rem var(--page-gutter);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.promise {
  min-width: 0;
  min-height: 60px;
  padding: .85rem .9rem .85rem 1rem;
  border-left: 3px solid var(--orange);
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.3;
}
.promise strong, .promise span { display: block; }
.promise span { margin-top: .25rem; color: var(--muted); font-size: .8rem; font-weight: 500; }

/* Shared editorial content */
main { display: block; }
.wrap { width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter))); margin-inline: auto; padding-inline: var(--page-gutter); }
.breadcrumbs { padding-block: 1.05rem; color: #647068; font-size: .79rem; line-height: 1.5; overflow-wrap: anywhere; }
.breadcrumbs a { color: #4d5a52; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.intro-grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4.75rem); }
.section-title { max-width: 840px; margin-bottom: 1.1rem; font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 900; }
.body-copy { max-width: 72ch; color: #3e4942; font-size: 1.05rem; }
.body-copy p + p { margin-top: 1rem; }
.aside-card { align-self: start; padding: clamp(1.35rem, 2.3vw, 2rem); border-top: 5px solid var(--orange); background: var(--warm); }
.aside-card h2, .aside-card h3 { margin-bottom: .75rem; font-size: 1.35rem; }
.aside-card p, .aside-card li { color: #455049; font-size: .95rem; }
.aside-card a { font-weight: 750; }
.feature-band { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: var(--charcoal); color: #f7f7f3; }
.feature-band h2, .feature-band h3 { color: #fff; }
.feature-band .section-kicker { color: #ffb584; }
.feature-band p { color: #e4e9e3; }
.feature-band a:not(.btn) { color: #ffb584; }
.feature-band a:not(.btn):hover { color: #fff; }
.content-grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4.75rem); }
.article { min-width: 0; max-width: 80ch; }
.article h2, .article-section h2 { margin: 0 0 1rem; font-size: clamp(1.65rem, 2.7vw, 2.45rem); }
.article h3, .article-section h3 { margin: 1.5rem 0 .75rem; font-size: 1.2rem; }
.article p, .article li, .article-section p, .article-section li { color: #3e4942; }
.article .feature-band p { color: #e4e9e3; }
.article ul, .article ol, .article-section ul, .article-section ol { padding-left: 1.3rem; }
.article li + li, .article-section li + li { margin-top: .45rem; }
.article-section + .article-section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.checklist { margin: 1.4rem 0; padding: 0 !important; list-style: none; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #b84610; font-weight: 900; }
.info-box { margin-block: 1.5rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--orange); background: var(--warm); }
.info-box h2, .info-box h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.info-box p:last-child { margin-bottom: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-block: 1.5rem; }
.fact { min-width: 0; padding: 1.15rem; border: 1px solid var(--line); background: #fff; }
.fact strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.fact span { display: block; margin-top: .35rem; color: var(--muted); font-size: .85rem; }

/* Editorial links and reusable service index cards */
.link-grid, .service-grid, .services-grid, .service-index, .service-index-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: .85rem;
  margin-block: 1.5rem;
}
ul.link-grid, ul.service-grid, ul.services-grid, ul.service-index, ul.service-index-grid { padding: 0; list-style: none; }
.link-card, .service-card {
  min-width: 0;
  display: block;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.link-card:hover, a.service-card:hover, .link-card:focus-within, .service-card:focus-within { border-color: #c75418; box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.link-card h2, .link-card h3, .service-card h2, .service-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.link-card p, .service-card p { color: #526057; font-size: .92rem; line-height: 1.5; }
.link-card a, .service-card a { font-weight: 750; }

/* FAQ disclosure controls retain native keyboard operation. */
.faq-list { margin-block: 1.5rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; font-size: 1.04rem; font-weight: 800; line-height: 1.4; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; color: var(--orange-dark); font-size: 1.5rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--orange-dark); }
.faq-list details > p, .faq-list details > div { max-width: 75ch; padding: 0 2rem 1.25rem 0; color: #465149; }

/* A generously spaced, readable form with large touch targets. */
.contact-section { padding-block: clamp(2.75rem, 5vw, 5rem); background: var(--warm); }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-grid h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.contact-grid > div > p { max-width: 60ch; }
.form-panel { min-width: 0; padding: clamp(1.25rem, 3vw, 2.25rem); border-top: 5px solid var(--orange); background: #fff; box-shadow: var(--shadow); }
.form-panel h2, .form-panel h3 { margin-bottom: .8rem; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.quote-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: .4rem; min-width: 0; }
.quote-form label { display: block; margin-bottom: .3rem; color: var(--ink); font-size: .88rem; font-weight: 800; line-height: 1.4; }
.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-width: 0;
  min-height: 49px;
  padding: .7rem .8rem;
  border: 1px solid #929c94;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}
.quote-form textarea { min-height: 130px; resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #68736b; opacity: 1; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: #8f390e; outline: 3px solid rgba(240, 107, 36, .38); outline-offset: 1px; }
.quote-form button, .quote-form input[type="submit"] { width: fit-content; max-width: 100%; cursor: pointer; }
.form-note { margin: 0; color: #59655d; font-size: .82rem; line-height: 1.5; }

/* Footer and persistent contact affordances */
.site-footer { padding-block: 3.25rem 1.5rem; background: #111512; color: #dfe5df; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h2, .site-footer h3, .site-footer h4 { margin-bottom: .9rem; color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer p, .site-footer li { color: #c8d1c9; font-size: .9rem; }
.site-footer a { color: #edf1ec; }
.site-footer a:hover { color: #ffb584; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .45rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #414a43; color: #bac4bb; font-size: .79rem; }
.sticky-bar { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; border-top: 1px solid #485149; background: #171c19; color: #fff; box-shadow: 0 -4px 20px rgba(0, 0, 0, .18); }
.sticky-inner { width: min(100%, calc(var(--content-width) + 2 * var(--page-gutter))); min-height: 68px; margin-inline: auto; padding: .55rem var(--page-gutter) max(.55rem, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.sticky-label { margin-right: auto; color: #f2f4ef; font-size: .86rem; font-weight: 800; line-height: 1.25; }
.sticky-call, .sticky-sms { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; border: 1px solid #fff; border-radius: var(--radius); color: #fff; font-size: .85rem; font-weight: 850; line-height: 1.15; text-align: center; text-decoration: none; }
.sticky-call { border-color: var(--orange); background: var(--orange); color: #151a18; }
.sticky-call:hover { border-color: #ff9b60; background: #ff9b60; color: #151a18; }
.sticky-sms:hover { background: #fff; color: #151a18; }
.float-stack { position: fixed; z-index: 90; right: 0; top: 50%; display: grid; gap: 3px; transform: translateY(-50%); }
.float-stack a { min-width: 76px; min-height: 48px; display: flex; align-items: center; justify-content: center; padding: .65rem .75rem; border: 1px solid #5b665d; background: var(--charcoal); color: #fff; font-size: .75rem; font-weight: 850; line-height: 1.2; text-align: center; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.float-stack .float-quote { border-color: var(--orange); background: var(--orange); color: #151a18; }
.float-stack a:hover { border-color: #ffab79; background: #ffab79; color: #151a18; }
.thank-you { max-width: 840px; margin-inline: auto; padding: clamp(4rem, 9vw, 7rem) var(--page-gutter); }
.thank-you h1 { margin-bottom: 1.2rem; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.thank-you p { max-width: 60ch; color: #455049; font-size: 1.1rem; }

@media (min-width: 40rem) {
  .link-grid, .service-grid, .services-grid, .service-index, .service-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56rem) {
  .header-inner { min-height: 88px; }
  .hero { min-height: 570px; }
  .promise-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid { grid-template-columns: minmax(0, 1.65fr) minmax(260px, .8fr); align-items: start; gap: clamp(3rem, 6vw, 6rem); }
  .content-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .36fr); align-items: start; gap: clamp(2.5rem, 5vw, 5rem); }
  .content-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); }
  .contact-grid, .footer-grid { padding-right: calc(var(--page-gutter) + 9rem); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .link-grid, .service-grid, .services-grid, .service-index, .service-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 55.999rem) {
  /* Keep the quick-contact stack at the right edge at every viewport size. */
  .float-stack { top: 45%; gap: 2px; }
  .float-stack a { width: 68px; min-width: 68px; min-height: 42px; max-width: 68px; padding: .45rem .25rem; font-size: .66rem; }
  .hero__content, .wrap, .promise-inner { padding-right: calc(var(--page-gutter) + 70px); }
}
@media (max-width: 39.999rem) {
  :root { --sticky-space: 80px; }
  .topline { font-size: .68rem; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-name { max-width: 12.5rem; }
  .header-call { font-size: .75rem; }
  .header-call small, .header-call span { font-size: .6rem; }
  .nav-inner a { min-height: 44px; padding-inline: .75rem; font-size: .73rem; }
  .hero { min-height: 450px; }
  .hero__shade { background: linear-gradient(90deg, rgba(12, 17, 14, .93), rgba(12, 17, 14, .7) 70%, rgba(12, 17, 14, .55)), linear-gradient(0deg, rgba(12, 17, 14, .45), transparent); }
  .hero__content { padding-block: 4rem; }
  .hero h1 { font-size: clamp(1.95rem, 7.8vw, 2.9rem); overflow-wrap: anywhere; }
  .hero__actions .btn { flex: 1 1 auto; }
  .promise-inner { gap: .5rem; }
  .promise { padding: .75rem; font-size: .8rem; }
  .sticky-inner { justify-content: stretch; gap: .45rem; padding-inline: .65rem; }
  .sticky-label { display: none; }
  .sticky-call, .sticky-sms { flex: 1 1 0; padding-inline: .4rem; font-size: .78rem; }
  .facts-grid { gap: .5rem; }
  .fact { padding: .85rem; }
  .quote-form button, .quote-form input[type="submit"] { width: 100%; }
}
/* When the on-screen keyboard is in use, give the form the full viewport. */
body:has(.quote-form :focus) .float-stack { display: none; }
@media (max-width: 55.999rem) {
  body:has(.quote-form :focus) .sticky-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media (forced-colors: active) {
  .btn, .link-card, .service-card, .sticky-call, .sticky-sms, .float-stack a { border: 1px solid ButtonText; }
  .brand-mark { clip-path: none; }
}
