/* Electrical Wire Buyers Alabama — single stylesheet.
   Mobile-first, no JavaScript, no inline styles. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-400.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/archivo-600.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/archivo-800.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
}

:root {
  --orange: #ec6415;
  --orange-dark: #c94f08;
  --orange-soft: #fdeee4;
  --ink: #181818;
  --ink-soft: #3d3a37;
  --grey: #6b6660;
  --paper: #ffffff;
  --panel: #f5f2ed;
  --line: #ded8d0;
  --radius: 2px;
  --wrap: 1180px;
  --bar-h: 74px;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo Black", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Plex Mono", "Courier New", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease, background-color 120ms ease;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 7.6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  letter-spacing: 0;
  line-height: 1.15;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.5em;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 60;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Top contact strip ---------- */
.topstrip {
  background: var(--ink);
  color: #efeae4;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topstrip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}

.topstrip a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.topstrip a:hover,
.topstrip a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.topstrip .topstrip-note {
  color: #c9c2ba;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: 1 1 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--orange);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 3px solid #fff;
}

.brand-mark::before {
  inset: 8px;
}

.brand-mark::after {
  inset: 16px;
  border-width: 5px;
}

.brand-text {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.26em;
  color: var(--orange-dark);
  margin-top: 4px;
}

.header-call {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: right;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.3;
}

.header-call b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
}

/* CSS-only mobile navigation */
.nav-toggle {
  border: 2px solid var(--ink);
  padding: 8px 10px;
  background: #fff;
  flex: 0 0 auto;
}

.nav-toggle summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
}

.nav-toggle summary::-webkit-details-marker {
  display: none;
}

.nav-toggle summary::after {
  content: "";
  width: 14px;
  height: 10px;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}

.nav-toggle[open] summary::after {
  border-top-color: var(--ink);
  border-bottom-color: var(--ink);
  height: 12px;
}

.nav-mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 8px 20px 18px;
}

.nav-mobile li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.nav-mobile a {
  display: block;
  padding: 13px 2px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.nav-mobile a:hover {
  color: var(--orange-dark);
}

.nav-desktop {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--ink);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.btn-row .btn {
  flex: 1 1 220px;
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid {
  display: grid;
  gap: 26px;
  padding: 30px 0 34px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 26px;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero-lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px dashed var(--line);
  background: var(--panel);
  padding: 6px 9px;
}

.chip--orange {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.hero-figure {
  margin: 0;
  position: relative;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.hero-figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 8px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Sections ---------- */
.section {
  padding: 42px 0;
}

.section--panel {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--tight {
  padding: 30px 0;
}

.section-head {
  margin-bottom: 26px;
  max-width: 46rem;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--orange-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
}

/* Split editorial layout */
.split {
  display: grid;
  gap: 30px;
}

.prose h2 {
  margin-top: 0.2em;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose > :last-child {
  margin-bottom: 0;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 46px;
  height: 4px;
  background: var(--orange);
}

.card h3 {
  margin: 12px 0 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 14px;
}

.card-link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--orange);
  align-self: flex-start;
  padding-bottom: 3px;
}

.card-link:hover {
  color: var(--orange-dark);
}

.card .chip {
  align-self: flex-start;
}

/* ---------- Feature / process list ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
  margin: 0;
}

.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--orange-dark);
  display: block;
  margin-bottom: 8px;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* Checklist grid */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  margin: 0;
  padding-left: 26px;
  position: relative;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border: 3px solid var(--orange);
  border-radius: 50%;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 420px;
}

caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 10px 12px 0;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: var(--panel);
}

td:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Photo band ---------- */
.photo-band {
  margin: 0;
  position: relative;
}

.photo-band img {
  width: 100%;
  height: 52vw;
  max-height: 440px;
  object-fit: cover;
}

.photo-band figcaption {
  background: var(--ink);
  color: #efeae4;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item h3 {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Quote form ---------- */
.quote {
  scroll-margin-top: 20px;
}

.quote-card {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 22px 18px 26px;
  position: relative;
}

.quote-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 84px;
  height: 6px;
  background: var(--orange);
}

.quote-head {
  margin-bottom: 18px;
}

.quote-head h2,
.quote-head h3 {
  margin-bottom: 8px;
}

.quote-head p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.field label .req {
  color: var(--orange-dark);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9b1a7;
  border-radius: var(--radius);
  padding: 13px 12px;
  min-height: 50px;
  width: 100%;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(236, 100, 21, 0.22);
  outline-offset: 0;
}

.field-hint {
  font-size: 0.83rem;
  color: var(--grey);
  margin: 0;
}

.form-note {
  font-size: 0.82rem;
  color: var(--grey);
  margin: 14px 0 0;
}

.form-divider {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 22px 0;
}

.form-section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 12px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.file-field input[type="file"] {
  border: 1px dashed #b9b1a7;
  background: var(--panel);
  padding: 16px 12px;
  font-size: 15px;
}

.form-submit {
  margin-top: 20px;
}

.form-submit .btn {
  width: 100%;
  min-height: 56px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: #fff;
}

.cta-band .wrap {
  padding-top: 38px;
  padding-bottom: 38px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  color: #fff5ee;
  max-width: 40rem;
  margin-bottom: 18px;
}

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

.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cta-band .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-band .btn--ghost:hover,
.cta-band .btn--ghost:focus-visible {
  background: #fff;
  color: var(--ink);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 11px 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs li {
  margin: 0;
  color: var(--grey);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #b3aaa0;
}

.breadcrumbs a {
  color: var(--ink);
  text-decoration: none;
}

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

/* ---------- Related links ---------- */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.link-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

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

.link-list span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 3px;
}

/* ---------- Contact block ---------- */
.contact-block {
  border-left: 5px solid var(--orange);
  padding: 4px 0 4px 18px;
}

.contact-block p {
  margin-bottom: 6px;
}

.contact-block a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--orange-dark);
}

.contact-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9d2ca;
  margin-top: 0;
  padding: 40px 0 30px;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.site-footer a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 18px;
}

.footer-nav li {
  margin: 0 0 8px;
  break-inside: avoid;
  font-size: 0.9rem;
}

.footer-note {
  border-top: 1px solid #3a3835;
  margin-top: 30px;
  padding-top: 18px;
  font-size: 0.8rem;
  color: #a9a29a;
  display: grid;
  gap: 8px;
}

.footer-note p {
  margin: 0;
}

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 2px solid var(--ink);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
}

.mobile-bar .btn {
  min-height: 48px;
  padding: 10px 6px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* ---------- Desktop floating CTA ---------- */
.float-cta {
  display: none;
}

/* ---------- Misc ---------- */
.notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: #fff;
  padding: 16px 18px;
  font-size: 0.95rem;
}

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

.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0 0;
}

.stat {
  border-top: 3px solid var(--ink);
  padding-top: 10px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--orange-dark);
}

.stat span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.mt-0 {
  margin-top: 0;
}

.small {
  font-size: 0.88rem;
  color: var(--grey);
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .field--full {
    grid-column: 1 / -1;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-figure img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
    font-size: 17.5px;
  }

  .mobile-bar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
    margin-left: auto;
  }

  .nav-desktop ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-desktop li {
    margin: 0;
    position: relative;
  }

  .nav-desktop a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    display: inline-block;
  }

  .nav-desktop a:hover,
  .nav-desktop a[aria-current="page"] {
    border-color: var(--orange);
  }

  .header-call {
    display: block;
    margin-left: 22px;
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 46px;
    padding: 52px 0 56px;
  }

  .hero-figure img {
    aspect-ratio: 4 / 3.4;
  }

  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 54px;
    align-items: start;
  }

  .split--even {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

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

  .quote-card {
    padding: 30px 30px 34px;
  }

  .form-submit .btn {
    width: auto;
    min-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 34px;
  }

  .float-cta {
    display: inline-flex;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 45;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  }

  .photo-band img {
    height: 420px;
  }
}

@media (min-width: 1100px) {
  .hero-grid {
    gap: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .mobile-bar,
  .float-cta,
  .nav-toggle,
  .site-header .nav-desktop {
    display: none;
  }

  body {
    padding-bottom: 0;
    font-size: 11pt;
  }

  .hero-figure img {
    max-height: 220px;
    object-fit: cover;
  }
}

/* ---------- Aside note ---------- */
.aside-note {
  align-self: start;
}

.aside-note .notice {
  border-left-width: 5px;
}

.aside-note .notice a {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- City and link grids ---------- */
.city-list {
  display: grid;
  gap: 0 26px;
}

.city-list li {
  padding: 9px 0;
}

.link-list--grid {
  display: grid;
  gap: 0 26px;
}

.sitemap-grid {
  display: grid;
  gap: 28px;
}

.sitemap-group h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

@media (min-width: 640px) {
  .city-list,
  .link-list--grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 900px) {
  .city-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .link-list--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Reading column ---------- */
.section-body {
  max-width: 52rem;
}

.section-body .section-head {
  max-width: 46rem;
}

.prose {
  max-width: 46rem;
}

/* ---------- Section rail layout ---------- */
.section-rail {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.rail-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--orange-dark);
}

.rail-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.section-grid .section-body h2 {
  margin-top: 0;
}

.section-body {
  max-width: 48rem;
}

@media (min-width: 900px) {
  .section-grid {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 10px 46px;
    align-items: start;
  }

  .section-grid.with-aside {
    grid-template-columns: 156px minmax(0, 1fr) 300px;
    gap: 10px 40px;
  }

  .section-rail {
    display: block;
    position: sticky;
    top: 24px;
    border-top: 3px solid var(--orange);
    padding-top: 12px;
  }

  .rail-num {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
  }

  .rail-label {
    display: block;
    margin-top: 8px;
    line-height: 1.4;
  }

  .section-body {
    max-width: 44rem;
  }
}

/* ---------- Header fit tuning ---------- */
.nav-desktop a {
  white-space: nowrap;
}

.header-call b {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .topstrip .topstrip-note {
    display: none;
  }

  .topstrip {
    font-size: 0.68rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .nav-desktop ul {
    gap: 13px;
  }

  .nav-desktop a {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .header-call {
    display: none;
  }
}

@media (min-width: 900px) {
  .float-cta {
    right: 18px;
    bottom: 18px;
    font-size: 0.88rem;
  }
}

@media (min-width: 900px) {
  .hero-figure figcaption {
    padding-right: 240px;
  }
}

/* ---------- Bold orange display headings ---------- */
h1,
h2 {
  color: var(--orange-dark);
}

.rail-num {
  color: var(--orange-dark);
}

.cta-band h1,
.cta-band h2,
.site-footer h1,
.site-footer h2 {
  color: #ffffff;
}

@media (min-width: 900px) {
  .rail-num {
    color: var(--orange-dark);
  }
}
