/* Washington DC Electrical Transformer Buyers
   A restrained industrial system: graphite, warm paper, and safety orange. */

:root {
  color-scheme: light;
  --ink: #192124;
  --ink-deep: #101719;
  --ink-soft: #293337;
  --paper: #f4f3ee;
  --paper-deep: #e9eae4;
  --white: #fff;
  --muted: #566064;
  --line: #d5d9d5;
  --orange: #c83e0b;
  --orange-hover: #a93108;
  --orange-light: #ff9b68;
  --content: 73.75rem;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --radius: 0.2rem;
  --shadow: 0 1rem 2.5rem rgb(16 23 25 / 10%);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Narrow", "Liberation Sans Narrow", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
  scroll-padding-bottom: 8rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #e45a1e;
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.7rem, 7.2vw, 6.25rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.15rem, 4.3vw, 4.1rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p {
  margin-bottom: 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
}

/* Header: a compact utility line over a solid, legible brand/navigation bar. */
.topbar {
  background: #0c1113;
  color: #d5dcd9;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.35;
}

.topbar-inner {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  min-height: 2.2rem;
  margin-inline: auto;
  padding-block: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1rem;
}

.topbar a {
  color: #fff;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--ink-deep);
  color: #fff;
  border-top: 1px solid rgb(255 255 255 / 8%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.header-inner {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  padding-block: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.brand {
  display: inline-flex;
  flex: 1 1 13rem;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.05;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.3vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.brand-sub {
  margin-top: 0.3rem;
  color: #c5cecb;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.main-nav {
  order: 3;
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.main-nav a {
  color: #e7ecea;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #ffad81;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.nav-call:hover {
  background: var(--orange-hover);
}

/* Image-backed page hero. The pseudo-element ensures legible type over any photo. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(29rem, 58vw, 43rem);
  background-color: #263235;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(10 17 19 / 92%) 0%, rgb(10 17 19 / 79%) 43%, rgb(10 17 19 / 38%) 100%),
              linear-gradient(0deg, rgb(10 17 19 / 35%), transparent 50%);
  content: "";
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

/* Also supports an overlay element used as a content wrapper. */
.hero-overlay:has(.hero-content) {
  position: relative;
  inset: auto;
  width: 100%;
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  padding-block: clamp(4.25rem, 9vw, 7.75rem);
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  display: block;
  flex: 0 0 1.6rem;
  width: 1.6rem;
  height: 3px;
  background: currentColor;
  content: "";
}

.hero .eyebrow,
.section-dark .kicker {
  color: #ffad81;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-copy {
  max-width: 39rem;
  margin-bottom: 1.8rem;
  color: #e4eae7;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.35rem;
  max-width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  border-color: var(--orange-hover);
  background: var(--orange-hover);
  color: #fff;
}

.btn-primary:focus-visible,
.nav-call:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px var(--ink);
}

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

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.hero .btn-outline,
.section-dark .btn-outline,
.cta-band .btn-outline,
.footer .btn-outline {
  border-color: rgb(255 255 255 / 80%);
  color: #fff;
}

.hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.cta-band .btn-outline:hover,
.footer .btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.btn-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  border-color: #394549;
  background: #394549;
  color: #fff;
}

/* Four proof points remain an intentional 2 x 2 composition. */
.promise-strip {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  background: var(--paper-deep);
  border-bottom: 1px solid #d6d9d4;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  border: 1px solid #d2d7d1;
  background: #d2d7d1;
}

.promise {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: clamp(0.55rem, 2vw, 1rem);
  padding: clamp(0.95rem, 2.4vw, 1.5rem);
  background: #fff;
}

.promise-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  background: #fff1e9;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.promise-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.promise-copy {
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.promise-copy strong,
.promise-copy b,
.promise-copy h3,
.promise-copy h4 {
  display: block;
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.89rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.promise-copy p {
  margin: 0;
}

/* Main sections and editorial layouts. */
.section {
  padding-block: clamp(4.25rem, 8vw, 7rem);
}

.section-alt {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  max-width: 49rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head > p:not(.kicker):not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-dark .section-head > p:not(.kicker):not(.eyebrow) {
  color: #d0d9d5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.split > *,
.card-grid > *,
.list-grid > *,
.process-grid > *,
.contact-layout > *,
.article-layout > * {
  min-width: 0;
}

.intro-copy {
  max-width: 39rem;
}

.intro-copy p,
.article-main p {
  color: #465155;
}

.section-dark .intro-copy p {
  color: #d0d9d5;
}

.image-frame {
  position: relative;
  min-width: 0;
  background: var(--ink-soft);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-caption {
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--orange);
  background: var(--ink-deep);
  color: #e5eae7;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.5;
}

.card-grid,
.list-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: #b9c0bb;
  border-top-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card h3 {
  max-width: 20ch;
}

.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.service-card a:not(.btn) {
  font-weight: 750;
}

.card-number {
  margin-bottom: 1.35rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
}

.card-arrow {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: var(--ink);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.link-list li {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  position: relative;
  display: block;
  padding: 0.95rem 1.5rem 0.95rem 0;
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.link-list a::after {
  position: absolute;
  top: 50%;
  right: 0.15rem;
  color: var(--orange);
  content: "↗";
  transform: translateY(-50%);
}

.link-list a:hover {
  color: var(--orange);
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #bec6c0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.pill:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.process-card {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--orange);
}

.process-card h3 {
  font-size: 1.35rem;
}

.process-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-dark .process-card p {
  color: #d0d9d5;
}

/* Contact and form elements. */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.quote-panel {
  min-width: 0;
  padding: clamp(1.3rem, 4vw, 2.5rem);
  border: 1px solid #d7dbd5;
  border-top: 5px solid var(--orange);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label,
.form-field > span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.4;
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3.1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #aeb9b3;
  border-radius: 0.15rem;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #697672;
  opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgb(200 62 11 / 28%);
  outline-offset: 1px;
}

.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--orange);
}

.form-submit {
  margin-top: 0.25rem;
}

.help-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Article, breadcrumb and disclosure patterns. */
.breadcrumb {
  padding-block: 0.9rem;
  color: #5d6965;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.breadcrumb ol,
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 0.6rem;
  color: #9aa49f;
  content: "/";
}

.breadcrumb a:hover {
  color: var(--orange);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-main h2:not(:first-child) {
  margin-top: 2.75rem;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.article-main h3:not(:first-child) {
  margin-top: 2rem;
}

.article-main li {
  margin-bottom: 0.45rem;
}

.article-main a:not(.btn) {
  color: #a9340b;
  font-weight: 700;
}

.article-main pre,
.article-main table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.article-aside {
  padding: 1.5rem;
  border-top: 4px solid var(--orange);
  background: var(--paper);
}

.article-aside h3 {
  font-size: 1.35rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details,
details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 1.2rem 2.25rem 1.2rem 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--orange);
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

details[open] > summary::after {
  content: "−";
}

details > :not(summary) {
  margin-right: 2rem;
}

details > p:last-child {
  padding-bottom: 1.2rem;
}

.notice {
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--orange);
  background: #f7eee8;
  color: var(--ink);
  font-size: 0.92rem;
}

.cta-band {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: var(--ink-soft);
  color: #fff;
  border-top: 5px solid var(--orange);
}

.cta-band h2 {
  max-width: 20ch;
}

.cta-band p {
  max-width: 42rem;
  color: #dce3df;
}

.cta-band .hero-actions {
  margin-top: 1.5rem;
}

/* Footer */
.footer {
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  background: #0f1618;
  color: #d1d9d5;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.footer-grid > * {
  min-width: 0;
}

.footer h2,
.footer h3,
.footer h4 {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 0.55rem;
}

.footer a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer a:hover {
  color: #ffad81;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #aebbb5;
  font-size: 0.75rem;
}

/* Fixed contact actions: the body and scroll padding leave room to reach the end
   of the page. On small screens the redundant side rail is removed. */
.sticky-bar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid rgb(255 255 255 / 18%);
  background: var(--ink-deep);
  color: #fff;
  box-shadow: 0 -0.4rem 1.5rem rgb(0 0 0 / 14%);
}

.sticky-inner {
  display: flex;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-inline: auto;
  padding-block: 0.55rem;
}

.sticky-inner > * {
  min-width: 0;
}

.sticky-text {
  color: #e4eae7;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sticky-text strong {
  display: block;
  color: #fff;
  font-size: 0.87rem;
}

.sticky-inner .btn,
.sticky-inner .nav-call {
  flex: 0 0 auto;
  min-height: 2.9rem;
  padding: 0.7rem 0.95rem;
}

.float-stack {
  display: none;
}

/* Keep a keyboard or on-screen keyboard from being covered while entering data. */
body:has(input:focus, select:focus, textarea:focus) .sticky-bar,
body:has(input:focus, select:focus, textarea:focus) .float-stack {
  visibility: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .promise {
    flex-direction: column;
  }

  .header-inner {
    gap: 0.7rem;
  }

  .brand {
    flex-basis: 11rem;
  }

  .sticky-text {
    font-size: 0.7rem;
  }

  .sticky-inner .btn,
  .sticky-inner .nav-call {
    font-size: 0.72rem;
  }
}

@media (min-width: 760px) {
  body {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  }

  .card-grid,
  .list-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-wide,
  .form-submit {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .sticky-inner {
    min-height: 4.75rem;
  }
}

@media (min-width: 1050px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding-block: 1rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .main-nav {
    order: 0;
    flex: 0 1 auto;
    justify-content: flex-end;
    gap: 0.65rem 1.25rem;
    padding: 0;
    border: 0;
  }

  .nav-call {
    flex: 0 0 auto;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  }
}

@media (min-width: 1250px) {
  .float-stack {
    position: fixed;
    z-index: 25;
    top: 42%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }

  .float-quote,
  .float-call {
    display: inline-flex;
    width: 2.65rem;
    min-height: 5.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 0.4rem;
    background: var(--orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    writing-mode: vertical-rl;
    box-shadow: 0 0.25rem 0.8rem rgb(0 0 0 / 18%);
    transition: background-color 180ms ease;
  }

  .float-call {
    background: var(--ink);
  }

  .float-quote:hover {
    background: var(--orange-hover);
  }

  .float-call:hover {
    background: #394549;
  }

  .float-text {
    writing-mode: vertical-rl;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Markup-specific finishes and persistent, thumb-friendly contact shortcuts. */
.hero-sms { display: inline-block; margin-top: 1.15rem; color: #fff; font-size: .82rem; font-weight: 750; text-underline-offset: .3em; }
.hero-sms:hover { color: #ffad81; }
.hero-index { position:absolute; right:var(--gutter); bottom:1.25rem; color:rgba(255,255,255,.7); font-size:.62rem; letter-spacing:.16em; font-weight:750; }
.text-link { display:inline-block; margin-top:.6rem; color:var(--orange); font-size:.76rem; font-weight:850; letter-spacing:.07em; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.lead-paragraph { font-size:1.13rem; font-weight:600; line-height:1.7; }
.image-caption { display:block; }
.card-top { display:flex; justify-content:space-between; align-items:start; gap:1rem; }
.card-top .card-arrow { margin:0; }
.service-card:has(img) { padding:0; overflow:hidden; }
.service-card > img { width:100%; height:12rem; object-fit:cover; }
.card-body { display:flex; flex-direction:column; flex:1; }
.service-card:has(img) .card-body { padding:1.5rem; }
.card-link { margin-top:auto; padding-top:1rem; color:var(--orange); font-size:.72rem; font-weight:850; letter-spacing:.08em; }
.section-action { margin-top:2rem; }
.area-block { padding:2rem; background:var(--paper); border-left:4px solid var(--orange); }
.area-label { display:block; margin-bottom:1.25rem; font-size:.75rem; font-weight:800; letter-spacing:.12em; }
.list-link { display:flex; justify-content:space-between; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--line); font-weight:750; text-decoration:none; }
.list-link span:last-child { color:var(--orange); }
.list-link:hover { color:var(--orange); }
.cta-band .container { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:2rem; }
.quote-section { background:#f4f3ee; }
.contact-phone { display:inline-block; margin:.7rem 0; color:var(--ink); font-family:var(--display); font-weight:800; font-size:clamp(1.7rem,3vw,2.5rem); text-decoration:none; }
.contact-intro a:not(.contact-phone) { overflow-wrap:anywhere; }
.panel-heading { display:flex; align-items:start; justify-content:space-between; margin-bottom:1.2rem; }
.panel-heading > span { font-size:1.6rem; color:var(--orange); }
.panel-heading h3 { font-size:1.8rem; }
.form-disclaimer { margin-top:.8rem; color:var(--muted); font-size:.75rem; }
.footer-grid > div:not(:first-child) > a { display:block; margin:.55rem 0; }
.footer-brand { margin-bottom:1.4rem; }
.footer-buyer { color:#ffad81; font-size:.7rem; font-weight:800; letter-spacing:.08em; }
.breadcrumb > span { margin:0 .55rem; }
.sticky-phone,.sticky-sms { display:inline-flex; align-items:center; gap:.35rem; text-decoration:none; font-size:.8rem; font-weight:800; line-height:1.2; }
.sticky-phone { padding:.8rem 1rem; background:var(--orange); color:#fff; }
.sticky-sms { color:white; }
.sticky-sms:hover { color:#ffad81; }
.float-stack { position:fixed; z-index:25; top:43%; right:0; display:flex; flex-direction:column; align-items:flex-end; gap:.22rem; }
.float-quote,.float-call,.float-text { display:inline-flex; align-items:center; justify-content:center; background:var(--orange); color:#fff; text-decoration:none; box-shadow:0 .25rem .8rem rgb(0 0 0 / 18%); font-weight:800; }
.float-quote { min-height:8rem; padding:.65rem .45rem; writing-mode:vertical-rl; font-size:.7rem; letter-spacing:.025em; }
.float-call { width:2.35rem; height:2.35rem; font-size:1.1rem; background:var(--ink); }
.float-text { min-height:8.5rem; padding:.6rem .45rem; writing-mode:vertical-rl; background:var(--ink); font-size:.65rem; }
.float-quote:hover,.float-call:hover,.float-text:hover { background:var(--orange-hover); }
@media (max-width:759px) {
  .sticky-text { display:none; }
  .sticky-inner { min-height:3.6rem; justify-content:space-between; }
  .sticky-phone { padding:.7rem .65rem; font-size:.75rem; }
  .sticky-sms { font-size:.72rem; }
  .float-stack { top:39%; }
  .float-quote,.float-text { padding:.45rem .28rem; font-size:.58rem; min-height:6.7rem; }
  .float-call { width:1.85rem; height:1.85rem; }
  .hero-index { display:none; }
}
@media (min-width:760px) { .process-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* Keep long technical page titles intact while retaining a readable image overlay. */
.hero::before { background:linear-gradient(0deg, rgb(10 17 19 / 24%), transparent 55%); }
.hero-interior h1 { max-width:20ch; font-size:clamp(2.45rem,5.2vw,4.8rem); overflow-wrap:normal; hyphens:auto; }
@media (max-width:759px) { .hero-interior h1 { font-size:clamp(2.3rem,9vw,3.4rem); max-width:18ch; } }
