/*
 * New Jersey Electrical Transformer Buyers
 * Shared, mobile-first industrial editorial system.
 * Imagery is supplied by the HTML; this sheet does not load external assets.
 */

:root {
  color-scheme: light;
  --ink: #171a1b;
  --ink-2: #252a2c;
  --ink-3: #363c3e;
  --paper: #ffffff;
  --panel: #f1f2f0;
  --panel-deep: #e5e7e4;
  --line: #d3d7d3;
  --muted: #555e5c;
  --orange: #ff752e;
  --orange-hover: #ff9159;
  --orange-text: #a53b11;
  --orange-light: #ff985e;
  --content-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --space-section: clamp(4.25rem, 7.5vw, 7.75rem);
  --topbar-height: 2.75rem;
  --action-rail-height: calc(4.5rem + env(safe-area-inset-bottom));
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: "Arial Narrow", "Liberation Sans Narrow", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 1rem);
  scroll-padding-bottom: 6rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* A dedicated viewport rail keeps fixed contact controls clear of all content.
   The body remains the scroll container only on pages with floating actions. */
html:has(.floating-actions) {
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}

body:has(.floating-actions) {
  height: calc(100vh - var(--action-rail-height));
  height: calc(100dvh - var(--action-rail-height));
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scroll-padding-bottom: 1rem;
}

main {
  background: var(--paper);
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

button {
  cursor: pointer;
}

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

::selection {
  color: var(--ink);
  background: #ffb184;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display-font);
  line-height: 1.08;
  overflow-wrap: break-word;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

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

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

/* Utility bar and masthead */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid #3b4142;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

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

.topbar p {
  margin: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

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

.site-header {
  position: relative;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
  min-height: 6rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  max-width: 17rem;
  font-family: var(--display-font);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span,
.brand-copy small {
  color: #59615f;
  font-family: var(--body-font);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.2;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.65vw, 1.75rem);
}

.site-header nav ul {
  display: flex;
  align-items: center;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a:not(.button) {
  display: inline-block;
  padding-block: 0.55rem;
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a:not(.button):hover,
.site-header nav a[aria-current="page"] {
  color: var(--orange-text);
}

.mobile-nav-toggle {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 1px solid #b5bbb8;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}

/* Photographic heroes: the image and shade are separate layers. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(35rem, 55vw, 43rem);
  overflow: hidden;
  color: #fff;
  background: var(--ink-2);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 19, 20, 0.95) 0%, rgba(15, 19, 20, 0.84) 36%, rgba(15, 19, 20, 0.44) 70%, rgba(15, 19, 20, 0.22) 100%),
    linear-gradient(0deg, rgba(15, 19, 20, 0.28), transparent 50%);
}

.hero-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
  margin-inline: auto;
  padding-block: clamp(5rem, 8vw, 8rem);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.3rem;
  color: var(--orange-text);
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 3px;
  background: var(--orange);
}

.hero .eyebrow {
  color: #ffc19e;
}

.hero-title {
  max-width: 12.5ch;
  margin: 0 0 1.5rem;
  font-family: var(--display-font);
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: #f1f3f2;
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--body-font);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: currentColor;
}

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

.hero .button-secondary,
.section-dark .button-secondary,
.section--dark .button-secondary,
.split-panel .button-secondary,
.footer .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.hero .button-secondary:hover,
.section-dark .button-secondary:hover,
.section--dark .button-secondary:hover,
.split-panel .button-secondary:hover,
.footer .button-secondary:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button-ghost {
  min-height: 2.75rem;
  padding-inline: 0;
  color: inherit;
  border-bottom-color: currentColor;
}

.button-ghost:hover {
  color: var(--orange-text);
}

.hero .button-ghost:hover,
.section-dark .button-ghost:hover,
.section--dark .button-ghost:hover {
  color: var(--orange-light);
}

/* Trust strip */
.proof-bar {
  color: #fff;
  background: var(--ink-2);
  border-bottom: 4px solid var(--orange);
}

.proof-bar .container,
.proof-bar .proof-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-bar:has(> .proof-item) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: max(var(--gutter), calc((100% - var(--content-width)) / 2));
}

.proof-item {
  min-width: 0;
  padding: 1.5rem 1.75rem;
  border-left: 1px solid #4b5152;
  font-size: 0.85rem;
  line-height: 1.4;
}

.proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.proof-item span {
  color: #d3d8d6;
}

/* Editorial sections */
.section {
  padding-block: var(--space-section);
  background: var(--paper);
}

.section-light,
.section--light,
.section-muted,
.section--muted {
  background: var(--panel);
}

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

.section-dark .section-kicker,
.section--dark .section-kicker {
  color: #ffc19e;
}

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.display-title {
  margin: 0 0 1.25rem;
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-lead {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.3vw, 1.17rem);
  line-height: 1.72;
}

.section-dark .section-lead,
.section--dark .section-lead {
  color: #d5dbd8;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.8fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.intro-copy {
  max-width: 48rem;
  font-size: 1.06rem;
}

.intro-copy p,
.article-content p {
  margin-bottom: 1.25rem;
}

.intro-aside {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 4px solid var(--orange);
  background: var(--panel);
}

.intro-aside h2,
.intro-aside h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 2.7vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.card h2,
.card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.card p {
  color: var(--muted);
}

.card a:not(.button) {
  color: var(--orange-text);
  font-weight: 800;
}

.card-number {
  display: block;
  margin-bottom: 2.25rem;
  color: var(--orange-text);
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  min-width: 0;
  padding: 1.5rem 1rem 0 0;
  border-top: 3px solid var(--orange);
}

.process-step h2,
.process-step h3 {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.process-step > span:first-child,
.process-step .step-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--orange-text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section-dark .process-step > span:first-child,
.section--dark .process-step > span:first-child,
.section-dark .process-step .step-number,
.section--dark .process-step .step-number {
  color: var(--orange-light);
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background: var(--ink-2);
}

.split-panel h2,
.split-panel h3 {
  letter-spacing: -0.035em;
}

.split-panel .section-kicker {
  color: #ffc19e;
}

.split-panel img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.coverage-grid > * {
  min-width: 0;
  padding: 1.25rem 1.4rem;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.coverage-grid > a {
  text-decoration: none;
}

.coverage-grid > a:hover {
  color: var(--orange-text);
  background: #fbf7f4;
}

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

.link-list li {
  margin: 0;
}

.link-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.link-list a::after {
  content: "\2197";
  flex: 0 0 auto;
  color: var(--orange-text);
}

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

/* Conversion band */
.cta-band {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--ink);
  background: var(--orange);
}

.cta-band > .container,
.cta-band .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2,
.cta-band .display-title {
  max-width: 19ch;
  margin-bottom: 0.6rem;
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  letter-spacing: -0.04em;
}

.cta-band p {
  max-width: 45rem;
}

.cta-band .button-primary {
  flex-shrink: 0;
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.cta-band .button-primary:hover {
  color: #fff;
  background: #343a3b;
  border-color: #343a3b;
}

.cta-band .button-secondary {
  color: var(--ink);
  border-color: var(--ink);
}

.cta-band .button-secondary:hover {
  color: #fff;
  background: var(--ink);
}

/* Breadcrumbs and long-form pages */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.6rem;
  color: #5d6663;
  font-size: 0.8rem;
  font-weight: 700;
}

.breadcrumb a {
  color: inherit;
}

.hero .breadcrumb {
  color: #e3e8e5;
}

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

.article-content {
  min-width: 0;
  max-width: 49rem;
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-content h2,
.article-content h3 {
  margin: 2.5rem 0 1rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.article-content h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

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

.article-content a:not(.button) {
  color: var(--orange-text);
  font-weight: 700;
}

.article-content li + li {
  margin-top: 0.45rem;
}

.article-section {
  scroll-margin-top: calc(var(--topbar-height) + 1rem);
}

.article-section + .article-section {
  margin-top: 3.25rem;
  padding-top: 0.1rem;
  border-top: 1px solid var(--line);
}

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

.article-aside > * + * {
  margin-top: 1.25rem;
}

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

.fact-list li,
.fact-list > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list li + li {
  margin-top: 0;
}

.fact-list strong,
.fact-list dt {
  color: var(--ink);
  font-weight: 800;
}

.fact-list dd {
  margin: 0.2rem 0 0;
}

.note {
  margin-block: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--orange);
  background: var(--panel);
  color: var(--ink);
}

/* Forms and quote panels */
.quote-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 4px solid var(--orange);
  background: var(--panel);
  color: var(--ink);
  scroll-margin-block: calc(var(--topbar-height) + 1rem) 6rem;
}

.quote-panel h2,
.quote-panel h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  letter-spacing: -0.035em;
}

.quote-form {
  scroll-margin-block: calc(var(--topbar-height) + 1rem) 6rem;
}

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

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

.form-field.full,
.form-field.full-width,
.form-field.form-field--full,
.form-field:has(textarea),
.form-grid > .small-note,
.form-grid > .button {
  grid-column: 1 / -1;
}

.form-field label,
.form-field > span,
.quote-form legend {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.35;
}

.quote-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 3.1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #aab2ad;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #66706b;
  opacity: 1;
}

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

.quote-form input[type="checkbox"],
.quote-form input[type="radio"] {
  accent-color: #a53b11;
}

.quote-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-form .button {
  margin-top: 0.5rem;
}

.small-note {
  color: #555e5c;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* Native disclosure and modal components */
.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  display: block;
  padding: 1.35rem 3rem 1.35rem 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--orange-text);
  font-family: var(--body-font);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details > :not(summary) {
  max-width: 47rem;
  margin: 0 0 1.35rem;
  color: var(--muted);
}

dialog#quote,
#quote dialog {
  position: fixed;
  inset: 0;
  width: min(44rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(90vh, 55rem);
  max-height: min(90dvh, 55rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-top: 5px solid var(--orange);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.4);
  overscroll-behavior: contain;
}

dialog#quote::backdrop,
#quote dialog::backdrop {
  background: rgba(9, 12, 12, 0.8);
}

.dialog-inner {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.dialog-inner > h2,
.dialog-inner > h1 {
  padding-right: 3rem;
}

.dialog-inner h1,
.dialog-inner h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.04em;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.25rem;
  border: 1px solid #b8bfba;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--panel);
}

body:has(dialog[open]) {
  overflow: hidden;
}

body:has(dialog[open]) .floating-actions,
body:has(.quote-form:focus-within) .floating-actions {
  visibility: hidden;
  pointer-events: none;
}

/* Footer and floating contact controls */
.footer {
  padding-block: clamp(4rem, 6vw, 6rem) 2rem;
  color: #e4e9e6;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 1.65fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3.5rem;
}

.footer .brand {
  color: #fff;
}

.footer .brand-copy span,
.footer .brand-copy small {
  color: #bec7c2;
}

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

.footer p {
  max-width: 28rem;
  color: #bec7c2;
  font-size: 0.9rem;
}

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

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

.footer-links a,
.footer a:not(.brand):not(.button) {
  color: #e4e9e6;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer a:not(.brand):not(.button):hover {
  color: var(--orange-light);
  text-decoration: underline;
}

.footer .small-note {
  color: #bec7c2;
}

.floating-actions {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
}

.float-quote,
.float-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

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

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

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

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

.float-text {
  display: inline;
}

/* Narrower desktop and tablet */
@media (max-width: 1050px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 1rem;
  }

  .mobile-nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-header nav {
    flex: 0 0 100%;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .site-header nav ul {
    flex-wrap: wrap;
    gap: 0.2rem 1.25rem;
  }

  /* Without an ARIA state, links remain available as a no-JS fallback. */
  .site-header:has(.mobile-nav-toggle[aria-expanded="false"]) nav {
    display: none;
  }

  .site-header:has(.mobile-nav-toggle[aria-expanded="true"]) nav {
    display: flex;
  }

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

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

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 2.75rem;
    gap: 0.3rem 0.75rem;
  }

  .topbar {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .top-actions {
    gap: 0.2rem 0.65rem;
  }

  .header-inner {
    min-height: 5rem;
  }

  .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 34rem;
    align-items: flex-end;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(15, 19, 20, 0.97) 0%, rgba(15, 19, 20, 0.87) 43%, rgba(15, 19, 20, 0.45) 100%);
  }

  .hero-inner {
    padding-block: 6.5rem 4.5rem;
  }

  .hero-title {
    max-width: 13ch;
    font-size: clamp(2.7rem, 10vw, 4.5rem);
  }

  .proof-bar .container,
  .proof-bar .proof-inner,
  .proof-bar:has(> .proof-item) {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child {
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid #4b5152;
  }

  .proof-item:first-child {
    border-top: 0;
  }

  .intro-grid,
  .article-layout,
  .split-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .cta-band > .container,
  .cta-band .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-actions {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .float-quote,
  .float-call {
    min-height: 3rem;
    padding: 0.7rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    flex-wrap: wrap;
    padding-block: 0.5rem;
  }

  .top-actions {
    margin-left: auto;
  }

  .brand-copy {
    max-width: 12rem;
  }

  .hero-actions .button {
    width: 100%;
  }

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

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

  .coverage-grid > * {
    padding: 1rem;
  }

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

  dialog#quote,
  #quote dialog {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body:has(.floating-actions) {
    scroll-behavior: auto;
  }

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

/* Persistent, right-edge contact stack and the requested two-by-two promise panel. */
.proof-bar .container,
.proof-bar .proof-inner,
.proof-bar:has(> .proof-item) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-item, .proof-item:first-child { padding: 1.35rem 1.5rem; border-left: 0; border-top: 1px solid #4b5152; }
.proof-item:nth-child(-n+2) { border-top: 0; }
.proof-item:nth-child(even) { border-left: 1px solid #4b5152; }
html:has(.floating-actions) { height: auto; overflow: visible; }
body:has(.floating-actions) { height: auto; overflow-y: visible; }
body:has(dialog[open]) { overflow: hidden; }
.floating-actions { position: fixed; right: 0; top: 50%; bottom: auto; transform: translateY(-50%); display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.float-quote, .float-call, .float-text { display: flex; align-items: center; justify-content: center; min-height: 3rem; max-width: 10.5rem; padding: .7rem .85rem; border: 1px solid #15191a; box-shadow: 0 4px 18px rgba(0,0,0,.18); font: 800 .7rem/1.2 Arial, sans-serif; letter-spacing: .035em; text-align: center; text-decoration: none; text-transform: uppercase; }
.float-text { color: #fff; background: #303638; }
.float-text:hover { background: #47504e; }
@media (max-width: 600px) {
 .floating-actions { right: 0; top: 50%; bottom: auto; gap: 2px; }
 .float-quote, .float-text { writing-mode: vertical-rl; padding: .7rem .5rem; max-width: 2.5rem; }
 .float-call { width: 2.5rem; min-height: 2.8rem; padding: .45rem; }
}
.proof-bar .small-note { grid-column: 1 / -1; margin: 0 0 1.1rem; color: #d3d8d6; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; display: inline-block; margin-right: .35rem; opacity: .7; }
@media (max-width: 600px) {
  /* Keep reading and tap targets clear of the 40px fixed action rail. */
  .hero-inner, .section .container, .proof-bar .container, .cta-band .container, .footer .container {
    width: calc(100% - (var(--gutter) * 2) - 2.5rem);
    margin-left: var(--gutter);
    margin-right: calc(var(--gutter) + 2.5rem);
  }
}
.hero-safety { margin: 1rem 0 0; color: #eef1ef; max-width: 34rem; font-size: .77rem; line-height: 1.5; }
.skip-link:focus { clip: auto !important; position: fixed !important; top: .5rem; left: .5rem; width: auto !important; height: auto !important; padding: .8rem 1rem !important; z-index: 1000; color: #15191a; background: #fff; }
