/* Electrical Wire Buyers Michigan — industrial field manual design system
   HTML5 + CSS only. No JavaScript is used or required anywhere on this site. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1f3a;
  --navy-deep: #061426;
  --navy-soft: #16304f;
  --gold: #c9a349;
  --gold-light: #e3c378;
  --paper: #f6f4ef;
  --paper-dark: #ece8de;
  --white: #ffffff;
  --ink: #16202c;
  --steel: #4f5f72;
  --steel-light: #8c99a7;
  --line: #d8d2c6;
  --line-navy: rgba(255, 255, 255, 0.18);
  --rust: #a4562c;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  --shadow: 0 1px 0 rgba(11, 31, 58, 0.06), 0 12px 28px -18px rgba(11, 31, 58, 0.4);
}

*,
*::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(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

p,
ul,
ol {
  margin: 0 0 1.05em;
}

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

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 600;
  color: var(--navy);
}

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

h1 {
  font-size: clamp(2.15rem, 7.4vw, 4.3rem);
  letter-spacing: -0.005em;
}

h2 {
  font-size: clamp(1.65rem, 4.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  letter-spacing: 0.01em;
}

h4 {
  font-size: 1.06rem;
  letter-spacing: 0.04em;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  text-decoration: none;
  transition: top 120ms ease;
}

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

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

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

.utility {
  background: var(--navy-deep);
  color: #cfd8e3;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}

.utility a {
  color: #e8edf3;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 163, 73, 0.45);
}

.utility a:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-light);
}

.utility .dot {
  color: var(--gold);
  margin-inline: 8px;
}

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

.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: relative;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  margin-right: auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.brand-line1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-line2 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 9px 11px;
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #dbe3ec;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.header-call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-decoration: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 163, 73, 0.5);
  padding: 7px 13px;
  white-space: nowrap;
}

.header-call-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.header-call-number {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.header-call:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.header-call:hover .header-call-label {
  color: var(--navy-deep);
}

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

.btn {
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: var(--white);
}

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

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

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

.btn-row > .btn {
  min-width: 220px;
}

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

.hero {
  position: relative;
  background: var(--navy-deep);
  color: #e6ecf3;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 20, 38, 0.96) 0%, rgba(8, 25, 46, 0.9) 42%, rgba(8, 25, 46, 0.55) 72%, rgba(6, 20, 38, 0.72) 100%),
    radial-gradient(120% 90% at 82% 18%, rgba(201, 163, 73, 0.16), transparent 60%);
}

.hero-wire {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 18%, transparent 18% 22%, var(--gold) 22% 40%, transparent 40% 44%, var(--gold) 44% 62%, transparent 62% 66%, var(--gold) 66% 100%);
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 26px;
  padding-block: 40px 52px;
}

.hero-copy {
  max-width: 31rem;
}

.hero .btn {
  font-size: 1.04rem;
  letter-spacing: 0.05em;
  padding-inline: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 10px;
  white-space: normal;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

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

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}

.hero-lede {
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
  color: #d3dce7;
  max-width: 40ch;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-navy);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b9c5d3;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex: 0 0 6px;
}

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

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.hero-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93a2b4;
}

/* ---------- Size strip ---------- */

.size-strip {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a9b6c6;
}

.size-strip .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
  overflow: hidden;
}

.size-strip-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.size-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.size-strip li {
  margin: 0;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--navy);
  color: #dbe3ec;
  border-bottom: 3px solid var(--gold);
  padding-block: 26px 34px;
}

.crumbs {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb0c4;
  margin-bottom: 18px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li {
  margin: 0;
  display: flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--gold);
}

.crumbs a {
  color: #c6d2df;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.crumbs a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 6.4vw, 3.5rem);
}

.page-lede {
  max-width: 62ch;
  color: #ccd7e3;
  font-size: 1.06rem;
}

.page-hero .btn-row {
  margin-top: 20px;
}

.page-hero-split {
  display: grid;
  gap: 22px;
}

.page-hero-media img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.section {
  padding-block: clamp(38px, 6vw, 68px);
}

.section-tint {
  background: var(--paper-dark);
  border-block: 1px solid var(--line);
}

.section-white {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-navy {
  background: var(--navy);
  color: #d7e0ea;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.rail {
  display: grid;
  gap: 18px;
}

.rail > *,
.two-col > *,
.hero-inner > *,
.quote-layout > *,
.page-hero-copy > *,
.footer-grid > *,
.closing-inner > * {
  min-width: 0;
}

.rail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.rail-meta .num {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1;
}

.section-navy .rail-meta {
  color: #9db0c6;
}

.rail-meta .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-navy .rail-meta .rule {
  background: rgba(255, 255, 255, 0.18);
}

.lede {
  font-size: 1.12rem;
  color: var(--steel);
  max-width: 66ch;
}

.section-navy .lede {
  color: #b9c6d5;
}

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

.two-col {
  display: grid;
  gap: 18px 32px;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.card-grid > li {
  margin: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 20px 20px 22px;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04);
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

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

.card h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.card p {
  color: var(--steel);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.card .card-link {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 3px;
}

.card .card-link:hover {
  border-bottom-color: var(--navy);
}

.card-num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- Plain link list ---------- */

.link-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2px 26px;
}

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

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}

.link-list a::after {
  content: "→";
  font-family: var(--sans);
  color: var(--gold);
  font-size: 0.95rem;
}

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

.link-list .meta {
  display: block;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--steel);
}

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

.steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 74px;
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.steps h3 {
  font-size: 1.16rem;
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--steel);
  font-size: 0.97rem;
}

/* ---------- Data table ---------- */

.table-scroll {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

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

caption {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
}

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

th {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-dark);
  color: var(--navy);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.mono,
.mono {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- Photo band ---------- */

.photo-band {
  position: relative;
  background: var(--navy-deep);
}

.photo-band img {
  width: 100%;
  height: clamp(200px, 42vw, 420px);
  object-fit: cover;
  opacity: 0.92;
}

.photo-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 14px;
  background: linear-gradient(to top, rgba(6, 20, 38, 0.92), rgba(6, 20, 38, 0));
  color: #e6edf5;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Callout ---------- */

.callout {
  border-left: 4px solid var(--gold);
  background: var(--white);
  padding: 18px 20px;
  margin: 26px 0;
}

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

.callout h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.section-navy .callout {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--gold);
  color: #d7e0ea;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  padding: 0 0 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 10px;
}

.gallery figcaption {
  padding-inline: 12px;
}

.gallery figcaption {
  margin-top: 9px;
  font-size: 0.82rem;
  color: var(--steel);
  line-height: 1.35;
}

/* ---------- Form ---------- */

.quote-section {
  background: var(--navy);
  color: #d7e0ea;
  border-top: 4px solid var(--gold);
  padding-block: clamp(38px, 6vw, 64px);
}

.quote-section h2 {
  color: var(--white);
}

.quote-section .lede {
  color: #bbc8d7;
}

.quote-layout {
  display: grid;
  gap: 26px;
}

.quote-side {
  font-size: 0.96rem;
}

.quote-side h3 {
  color: var(--gold-light);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.quote-side ul {
  padding-left: 18px;
  color: #b9c6d5;
}

.quote-side a {
  color: var(--white);
}

.quote-panel {
  background: var(--white);
  color: var(--ink);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.55);
  padding: clamp(18px, 4vw, 30px);
}

.quote-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 16px;
}

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

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

.field label,
.field-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

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

.field input,
.field select,
.field textarea {
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9beca;
  border-radius: 0;
  padding: 12px 12px;
  min-height: 50px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

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

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

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--steel);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(201, 163, 73, 0.55);
  outline-offset: 1px;
  border-color: var(--navy);
}

.field input[type="file"] {
  padding: 10px;
  background: var(--paper);
  border-style: dashed;
  border-color: #98a2b1;
  font-size: 0.92rem;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--steel);
  line-height: 1.45;
}

.fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 0 0;
  padding: 14px 0 0;
}

.fieldset legend {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 8px 0 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--steel);
  line-height: 1.5;
}

.consent input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin-top: 2px;
  flex: 0 0 22px;
  accent-color: var(--navy);
}

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

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

.privacy-line {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--steel);
}

.privacy-line a {
  color: var(--navy);
}

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

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

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

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  list-style: none;
}

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

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

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

.faq summary:hover {
  color: var(--rust);
}

.faq .answer {
  padding: 0 0 18px;
  max-width: 74ch;
  color: #33414f;
}

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

/* ---------- Related ---------- */

.related {
  background: var(--paper-dark);
  border-top: 1px solid var(--line);
  padding-block: clamp(32px, 5vw, 54px);
}

/* ---------- Closing CTA ---------- */

.closing {
  background: var(--navy-deep);
  color: #d7e0ea;
  padding-block: clamp(34px, 5vw, 56px);
  border-top: 4px solid var(--gold);
}

.closing h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.closing p {
  color: #b9c6d5;
  max-width: 60ch;
}

.closing-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

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

.site-footer {
  background: var(--navy);
  color: #b3c1d1;
  padding-block: 40px 26px;
  font-size: 0.94rem;
}

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

.site-footer h2,
.site-footer h3 {
  font-size: 0.94rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 12px;
}

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

.site-footer li {
  margin-bottom: 7px;
}

.site-footer a {
  color: #c3d0de;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-contact .mail {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--gold-light);
  word-break: break-word;
}

.footer-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 10px;
  font-size: 0.8rem;
  color: #93a4b8;
}

/* ---------- Sticky / floating controls ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.6);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-family: var(--display);
  font-size: 1.06rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
}

.mobile-bar .bar-call {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.mobile-bar .bar-quote {
  background: var(--gold);
  color: var(--navy-deep);
}

.float-quote {
  display: none;
}

@media (max-width: 899px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

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

@media (min-width: 900px) and (max-width: 1279px) {
  /* keep the fixed gold tab clear of page content on narrower desktops */
  .wrap {
    padding-right: 62px;
  }
}

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

  .float-quote {
    position: fixed;
    right: 0;
    top: 45%;
    z-index: 90;
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: var(--gold);
    color: var(--navy-deep);
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 22px 12px;
    border-left: 2px solid var(--navy-deep);
    transition: background-color 120ms ease;
  }

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

/* ---------- Responsive layout ---------- */

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    padding-block: 44px 54px;
  }
}

@media (min-width: 760px) {
  .rail {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 12px 34px;
  }

  .rail-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 18px;
    align-self: start;
  }

  .rail-meta .rule {
    width: 40px;
    flex: 0 0 1px;
    height: 1px;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 10px 36px;
  }

  .page-hero-split {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }

  .quote-layout {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
  }

  .closing-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px 30px;
  }

  .steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 40px;
    padding-block: 42px 52px;
  }

  .hero-media {
    margin-top: 0;
  }

  .hero-media img {
    aspect-ratio: 5 / 4;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-call {
    padding: 6px 10px;
  }

  .header-call-number {
    font-size: 1rem;
  }

  .utility .utility-left {
    display: none;
  }

  .utility .wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-line1 {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ---------- Print ---------- */

@media print {
  .mobile-bar,
  .float-quote,
  .utility,
  .site-nav {
    display: none;
  }
}


/* ---------- Photo mosaic ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.mosaic figure {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
}

.mosaic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.mosaic figure:hover img {
  transform: scale(1.03);
}

.mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(6, 20, 38, 0.9), transparent);
  color: #eef3f8;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
}

.mosaic .span-2 {
  grid-column: span 2;
}

.mosaic .span-2 img {
  aspect-ratio: 16 / 9;
}

@media (min-width: 760px) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .mosaic .span-2 {
    grid-column: span 2;
  }
}

/* ---------- Wire rule divider ---------- */

.wire-rule {
  height: 22px;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 120px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 11c10-9 20-9 30 0s20 9 30 0 20-9 30 0 20 9 30 0' fill='none' stroke='%23c9a349' stroke-width='2'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ---------- Sell-now band ---------- */

.sellnow {
  position: relative;
  background: var(--navy);
  color: #e7edf5;
  overflow: hidden;
}

.sellnow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(201, 163, 73, 0.18), transparent 60%);
  pointer-events: none;
}

.sellnow-inner {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
  padding-block: clamp(34px, 5vw, 56px);
}

.sellnow h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.sellnow p {
  color: #c3d0de;
  max-width: 52ch;
}

.sellnow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 163, 73, 0.14);
  border: 1px solid rgba(201, 163, 73, 0.5);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.sellnow-media img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 860px) {
  .sellnow-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
  }
}

/* ---------- Mobile navigation (HTML only) ---------- */

.nav-mobile {
  display: none;
  position: static;
}

.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

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

.nav-mobile summary::before {
  content: "";
  width: 16px;
  height: 11px;
  background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--white), var(--white)), linear-gradient(var(--white), var(--white));
  background-size: 100% 2px, 100% 2px, 100% 2px;
  background-position: 0 0, 0 4.5px, 0 9px;
  background-repeat: no-repeat;
}

.nav-mobile details[open] summary {
  background: rgba(255, 255, 255, 0.08);
}

.nav-mobile ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  margin: 0;
  padding: 8px 16px 16px;
  list-style: none;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
}

.nav-mobile li {
  margin: 0;
}

.nav-mobile a {
  display: block;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbe3ec;
  font-family: var(--display);
  font-size: 1.14rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .nav-mobile {
    display: block;
  }

  .site-header {
    border-bottom-width: 2px;
  }

  .header-inner {
    gap: 10px;
  }
}

/* ---------- Phone polish ---------- */

@media (max-width: 640px) {
  body {
    font-size: 1.08rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .hero-inner {
    padding-block: 30px 40px;
    gap: 22px;
  }

  .page-hero {
    padding-block: 22px 28px;
  }

  .section {
    padding-block: 36px;
  }

  .btn {
    min-height: 58px;
    font-size: 1.1rem;
  }

  .btn-row > .btn {
    min-width: 0;
    width: 100%;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 54px;
    font-size: 1.06rem;
  }

  .mobile-bar a {
    min-height: 56px;
    font-size: 1.1rem;
  }

  .mobile-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .link-list {
    grid-template-columns: 1fr;
  }
}


/* ---------- Header balance on small phones ---------- */

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

  .brand {
    min-width: 0;
  }

  .brand-line1 {
    font-size: 0.92rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .brand-line2 {
    font-size: 0.66rem;
    letter-spacing: 0.32em;
  }

  .brand-text {
    white-space: nowrap;
  }

  .utility-left {
    font-size: 0.6rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 20, 38, 0.94) 0%, rgba(8, 25, 46, 0.9) 55%, rgba(6, 20, 38, 0.95) 100%),
      radial-gradient(120% 90% at 82% 18%, rgba(201, 163, 73, 0.14), transparent 60%);
  }
}

.hero-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-hero .hero-note {
  color: #b9c7d6;
}

.page-hero .hero-note strong {
  color: var(--gold-light);
}
