@import url("/assets/fonts/fonts.css");

/* ==========================================================================
   Electrical Wire Buyers Montana
   Design: "Precision Mill Spec" — Swiss technical documentation meets
   American industrial trade print. White paper, safety yellow, deep gold.
   ========================================================================== */

:root {
  --ink: #14140f;
  --ink-2: #2c2c25;
  --muted: #5b5b50;
  --paper: #ffffff;
  --paper-2: #f7f5ef;
  --paper-3: #efebe0;
  --line: #e2ddcf;
  --line-strong: #cfc8b6;
  --yellow: #ffd100;
  --yellow-deep: #f0c200;
  --gold: #8a6a00;
  --gold-light: #d4af37;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --shadow: 0 18px 40px -24px rgba(20, 20, 15, 0.45);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  padding-bottom: 74px; /* room for the mobile action bar */
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration-color: var(--gold-light);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--gold);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 7.2vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
}

h2 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.05;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
  max-width: 66ch;
}

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

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 200;
  font-weight: 600;
}

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

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

/* ---------- Typographic devices ---------- */

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

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

.rule {
  height: 7px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line-strong) 0 1px,
    transparent 1px 24px
  );
  background-size: 100% 7px;
  background-repeat: no-repeat;
  border-top: 1px solid var(--line-strong);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 15px 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease,
    transform 120ms ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.btn-primary:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
  color: var(--ink);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -3px 0 0 var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding-block: 10px;
}

.wordmark {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  line-height: 1;
}

.wordmark-top {
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wordmark-bottom {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 2px 6px 1px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-call {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .header-call {
    display: none;
  }

  .wordmark-top {
    font-size: 0.98rem;
  }

  .header-inner {
    gap: 10px;
  }

  .mobile-nav summary {
    padding: 0 10px;
    font-size: 0.76rem;
  }
}

.header-call span {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.header-quote {
  display: none;
}

/* Mobile navigation (native details/summary, no JavaScript) */

.mobile-nav {
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  background: var(--paper);
}

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

.mobile-nav summary::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.mobile-nav[open] summary {
  background: var(--ink);
  color: var(--paper);
}

.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(86vw, 330px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 70;
}

.mobile-nav nav a {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

.mobile-nav nav a:hover {
  background: var(--paper-2);
}

.desktop-nav {
  display: none;
}

@media (min-width: 1180px) {
  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }

  .desktop-nav a {
    padding: 10px 11px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-2);
    border-bottom: 3px solid transparent;
  }

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

  .header-quote {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 18px;
    font-size: 0.86rem;
  }

  .header-call span {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf5 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--gold-light) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.55;
}

.hero-grid {
  display: grid;
  gap: 30px;
  padding-block: 34px 40px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-2);
  border-left: 4px solid var(--yellow);
  padding: 7px 12px;
  margin-bottom: 18px;
}

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

.hero h1 em {
  font-style: normal;
  display: inline;
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%, var(--yellow) 94%, transparent 94%);
}

.hero-sub {
  font-size: 1.09rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 54ch;
}

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

.hero-media::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--gold-light);
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), calc(100% - 38px) 100%, 0 100%);
  background: var(--paper-3);
}

.hero-media figcaption {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}

.hero-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.spec-chip {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 5px 9px;
  color: var(--ink-2);
  background: var(--paper);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    padding-block: 62px 74px;
  }

  .hero-sub {
    font-size: 1.18rem;
  }

  .btn-row .btn {
    flex: 0 1 auto;
  }
}

/* ---------- Fact strip ---------- */

.fact-strip {
  background: var(--ink);
  color: var(--paper);
}

.fact-strip ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-strip li {
  margin: 0;
  padding: 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.fact-strip li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
  flex: 0 0 auto;
  transform: translateY(-2px) rotate(45deg);
}

.fact-strip li span {
  color: #b9b7ab;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

@media (min-width: 780px) {
  .fact-strip ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .fact-strip li {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 18px;
  }

  .fact-strip li:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: 52px;
}

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

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

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
  max-width: 62ch;
}

.section-head .eyebrow {
  margin-bottom: 0;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.link-arrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 3px;
}

.link-arrow::after {
  content: "\2192";
  font-family: var(--body);
  font-weight: 500;
  margin-left: 6px;
  display: inline-block;
}

.link-arrow:hover {
  border-bottom-color: var(--ink);
}

@media (min-width: 900px) {
  .section {
    padding-block: 82px;
  }

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

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-media {
  margin: 0;
  overflow: hidden;
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.32rem;
}

.card-body p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.55;
}

.card-index {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.region-card .card-more,
.card-more {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.card-more::after {
  content: " →";
  color: var(--gold);
}

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

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

/* ---------- Family list (five wire families) ---------- */

.family {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  gap: 14px;
}

.family:first-of-type {
  border-top: 3px solid var(--ink);
}

.family-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.family-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  min-width: 34px;
}

.family h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.family p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.family-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.family-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.family-links a:hover {
  border-color: var(--gold);
  background: var(--yellow);
}

@media (min-width: 900px) {
  .family {
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    padding: 32px 0;
    align-items: start;
  }

  .family-head {
    grid-column: 1;
    flex-direction: row;
  }

  .family > p {
    grid-column: 1;
  }

  .family-links {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-content: start;
  }

  .family-links a {
    justify-content: flex-start;
  }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 0.8;
  color: var(--gold);
}

.step h3 {
  margin: 0 0 0.35em;
  font-size: 1.45rem;
}

.step p {
  margin: 0 0 0.6em;
  color: var(--ink-2);
  font-size: 0.99rem;
}

.step-detail {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
}

@media (min-width: 760px) {
  .step {
    grid-template-columns: 96px 1fr;
    padding: 30px 0;
  }

  .step-num {
    font-size: 3.4rem;
  }
}

/* ---------- Audience list ---------- */

.audience-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.audience-grid a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audience-grid .aud-name {
  font: inherit;
  color: var(--ink);
  letter-spacing: inherit;
  text-transform: inherit;
}

.audience-grid .aud-items {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  max-width: 34ch;
  text-align: left;
}

.audience-grid a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

@media (min-width: 900px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
  }
}

/* ---------- Coverage ---------- */

.coverage-grid {
  display: grid;
  gap: 16px;
}

.region-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 140ms ease;
}

.region-card:hover {
  border-color: var(--gold);
}

.region-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.region-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.region-card .region-counties {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 760px) {
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Quote band ---------- */

.quote-band {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--yellow);
}

.quote-band .wrap {
  padding-block: 48px;
  display: grid;
  gap: 26px;
}

.quote-band h2 {
  color: var(--paper);
  margin-bottom: 0.4em;
}

.quote-band p {
  color: #d9d6c9;
  margin-bottom: 0;
  max-width: 52ch;
}

.quote-band .eyebrow {
  color: var(--yellow);
}

.quote-band .eyebrow::before {
  background: var(--yellow);
}

.quote-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--paper);
}

.quote-band .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.quote-band .band-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-decoration: none;
}

.quote-band .band-phone span {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8a597;
  margin-bottom: 4px;
}

@media (min-width: 900px) {
  .quote-band .wrap {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 48px;
    padding-block: 66px;
  }

  .quote-band-actions {
    justify-self: end;
    width: 100%;
    max-width: 360px;
  }
}

/* ---------- FAQ ---------- */

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

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

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-answer {
  padding: 0 0 22px;
  max-width: 72ch;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Prose / article ---------- */

.article-grid {
  display: grid;
  gap: 36px;
  padding-block: 32px 48px;
}

.article-body > * {
  max-width: 70ch;
}

.article-body h2 {
  margin-top: 1.6em;
  padding-top: 0.55em;
  border-top: 1px solid var(--line);
}

.article-body h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.article-body h3 {
  margin-top: 1.4em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.1em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body li::marker {
  color: var(--gold);
}

.category-hero {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-top: 26px;
}

.article-body img {
  margin: 1.4em 0;
  border: 1px solid var(--line);
}

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

.checklist li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.8em;
  font-size: 0.95rem;
}

.spec-table caption {
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 8px;
}

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

.spec-table th {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 34%;
}

/* ---------- Sidebar quote card ---------- */

.side-card {
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  background: var(--paper-2);
  padding: 24px;
}

.side-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4em;
}

.side-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
}

.side-card .btn {
  width: 100%;
  margin-top: 8px;
}

.side-card .side-phone {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.side-card .side-fine {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 980px) {
  .article-grid--sidebar {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 56px;
    align-items: start;
  }

  .article-aside {
    position: sticky;
    top: 92px;
  }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 11px 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumbs li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--gold-light);
}

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

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

/* ---------- Page header (interior) ---------- */

.page-head {
  padding-block: 34px 30px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf5 100%);
}

.page-head h1 {
  margin-bottom: 0.35em;
  max-width: 20ch;
}

.page-head .lede {
  margin-bottom: 0;
}

.page-head .hero-kicker {
  margin-bottom: 14px;
}

@media (min-width: 900px) {
  .page-head {
    padding-block: 52px 44px;
  }

  .page-head h1 {
    font-size: clamp(2.8rem, 5.2vw, 4rem);
  }
}

/* ---------- Forms ---------- */

.quote-form {
  max-width: 760px;
}

.form-section {
  border: 0;
  border-top: 3px solid var(--ink);
  margin: 0 0 30px;
  padding: 20px 0 0;
}

.form-section legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0 12px 0 0;
}

.form-section .section-note {
  margin: 0 0 18px;
  font-size: 0.93rem;
  color: var(--muted);
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

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

.field label,
.field .label-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field .hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.field .req {
  color: var(--gold);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem; /* 16px: prevents mobile zoom */
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 13px 12px;
  min-height: 50px;
  appearance: none;
}

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

textarea {
  min-height: 130px;
  resize: vertical;
}

input[type="file"] {
  width: 100%;
  background: var(--paper-2);
  border: 2px dashed var(--line-strong);
  padding: 18px 14px;
  font-size: 0.95rem;
  min-height: 60px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}

input::placeholder,
textarea::placeholder {
  color: #8b897d;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 6px;
}

.field label.check-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}

.field label.check-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  accent-color: var(--yellow-deep);
  flex: 0 0 auto;
}

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

.form-submit {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.form-submit .btn {
  width: 100%;
  font-size: 1.1rem;
  min-height: 62px;
}

.form-submit .form-fine {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.form-alt {
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
  }

  .form-submit {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .form-submit .form-fine {
    max-width: 300px;
  }
}

/* ---------- Message pages (server-rendered) ---------- */

.message-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-block: 56px;
}

.message-wrap {
  max-width: 720px;
}

.message-wrap h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.error-list {
  border-left: 5px solid var(--yellow);
  background: var(--paper-2);
  padding: 18px 18px 18px 34px;
  margin: 1.4em 0;
}

.error-list li {
  margin-bottom: 0.5em;
}

.message-hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.message-alt {
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.page-message .site-header {
  position: static;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #e8e5d9;
  padding-block: 44px 90px;
  margin-top: 0;
  border-top: 6px solid var(--yellow);
}

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

.footer-brand .wordmark-top {
  display: block;
  color: var(--paper);
  font-size: 1.3rem;
}

.footer-brand .wordmark-bottom {
  display: inline-block;
  margin-top: 7px;
}

.footer-brand p {
  color: #a8a597;
  font-size: 0.93rem;
  margin: 14px 0 0;
  max-width: 34ch;
}

.footer-contact {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}

.footer-contact a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.footer-contact a:hover {
  color: var(--yellow);
}

.footer-col h2 {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--yellow);
  margin: 0 0 14px;
}

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

.footer-col li {
  margin: 0 0 9px;
}

.footer-col a {
  color: #d5d2c5;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
}

.footer-fine {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #96948a;
  max-width: none;
  line-height: 1.7;
}

.footer-fine a {
  color: #c9c6b9;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .site-footer {
    padding-bottom: 44px;
  }
}

/* ---------- Sticky mobile action bar ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  background: var(--paper);
  border-top: 2px solid var(--yellow);
  box-shadow: 0 -8px 24px rgba(20, 20, 15, 0.16);
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 10px;
}

.mobile-cta .cta-call {
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.mobile-cta .cta-quote {
  background: var(--yellow);
  color: var(--ink);
}

@media (min-width: 900px) {
  .mobile-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ---------- Desktop floating quote ---------- */

.float-quote {
  display: none;
}

@media (min-width: 1200px) {
  .float-quote {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: flex;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 5px solid var(--yellow);
    box-shadow: 0 16px 40px -18px rgba(20, 20, 15, 0.5);
  }

  .float-quote a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 14px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .float-quote .float-call {
    font-size: 0.95rem;
    border-right: 1px solid var(--line);
  }

  .float-quote .float-call span {
    display: block;
    font-family: var(--body);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 3px;
  }

  .float-quote .float-cta {
    background: var(--yellow);
    font-size: 0.88rem;
  }

  .float-quote .float-cta:hover {
    background: var(--yellow-deep);
  }

  .page-quote .float-quote,
  body:has(.article-aside) .float-quote {
    display: none;
  }
}

/* ---------- Utility ---------- */

.stack-40 > * + * {
  margin-top: 40px;
}

.grid-2 {
  display: grid;
  gap: 30px;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 26px;
}

.panel h3 {
  margin-top: 0;
}

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

.panel--yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.panel--yellow .eyebrow {
  color: var(--ink);
}

.panel--yellow .eyebrow::before {
  background: var(--ink);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list li {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 1px solid var(--line-strong);
  padding: 5px 9px;
  background: var(--paper);
}

.city-list {
  columns: 2;
  column-gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-list li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.city-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  display: block;
  padding-bottom: 8px;
  font-weight: 500;
}

.city-list a:hover {
  border-bottom-color: var(--gold);
}

@media (min-width: 760px) {
  .city-list {
    columns: 3;
  }
}

@media (min-width: 1080px) {
  .city-list {
    columns: 4;
  }
}

.next-prev {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.next-prev a {
  text-decoration: none;
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.next-prev a:hover {
  border-color: var(--gold);
}

.next-prev small {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 4px;
}

@media (min-width: 700px) {
  .next-prev {
    grid-template-columns: 1fr 1fr;
  }

  .next-prev a:last-child {
    text-align: right;
  }
}

@media print {
  .site-header,
  .mobile-cta,
  .float-quote,
  .quote-band,
  .site-footer {
    display: none;
  }
}

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

  * {
    transition: none !important;
  }
}
