/* ==========================================================================
   Electrical Wire Buyers Denver
   White paper, black ink, one red action. Industrial spec-sheet layout.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}

:root {
  --paper: #ffffff;
  --paper-warm: #f7f6f3;
  --paper-grey: #efeeea;
  --ink: #111111;
  --ink-soft: #353432;
  --steel: #6b6a66;
  --line: #dddbd5;
  --line-strong: #bfbdb6;
  --red: #c8102e;
  --red-dark: #97091f;
  --red-wash: #fdf1f2;
  --black: #0d0d0d;
  --max: 1220px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 18px 40px -32px rgba(17, 17, 17, 0.55);
}

*,
*::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.62;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-sticky-bar {
  padding-bottom: 5.1rem;
}

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

img {
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.18em;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6.4vw, 4.4rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

h4 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p {
  margin: 0 0 1.1em;
}

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

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

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 600;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.25rem;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  color: #fff;
}

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

.narrow {
  max-width: 46rem;
}

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

/* ---------- Utility bar + header ---------- */

.util-bar {
  background: var(--black);
  color: #f2f1ee;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.util-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  min-height: 2.45rem;
  padding-block: 0.4rem;
}

.util-bar p {
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  color: #cfcdc7;
}

.util-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.util-bar a:hover {
  color: #ff9aa6;
}

.util-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

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

.header-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.9rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

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

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

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.brand-city {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.18rem;
}

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

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-desktop li {
  margin: 0;
}

.nav-desktop a {
  display: inline-block;
  padding: 0.5rem 0;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

.header-cta {
  flex-shrink: 0;
}

.nav-mobile {
  display: none;
  margin-left: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

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

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

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

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

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

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

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

.btn-block {
  width: 100%;
}

.btn-arrow::after {
  content: '\2192';
  font-size: 1.05em;
  transition: transform 140ms ease;
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.2rem;
}

.link-arrow::after {
  content: '\2192';
  transition: transform 140ms ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ---------- Section rhythm ---------- */

.section {
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
}

.section-tight {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

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

.section-ink {
  background: var(--black);
  color: #f4f3f0;
}

.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.section-ink a {
  color: #fff;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
  max-width: 54rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: '';
  width: 1.9rem;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-ink .eyebrow {
  color: #ff8794;
}

.section-ink .eyebrow::before {
  background: #ff8794;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 46rem;
}

.section-ink .lede {
  color: #c9c7c1;
}

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

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: center;
  padding-block: clamp(2rem, 4.5vw, 3.8rem);
}

.hero-copy h1 {
  margin-bottom: 0.5em;
  font-size: clamp(2.05rem, 4.5vw, 3.45rem);
  letter-spacing: -0.022em;
  max-width: 20ch;
}

.hero-copy h1 .accent {
  color: var(--red);
}

.hero-copy .lede {
  margin-bottom: 1.7rem;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
}

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

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

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

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.hero-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 82%;
  background: var(--ink);
  color: #f2f1ee;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--red);
}

.hero-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.8rem;
  text-transform: uppercase;
}

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

.breadcrumbs {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.79rem;
  letter-spacing: 0.04em;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.45rem;
  color: var(--line-strong);
}

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

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

/* ---------- Page hero (interior) ---------- */

.page-hero {
  padding-block: clamp(2rem, 4.2vw, 3.4rem) clamp(1.8rem, 3.4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--paper-warm) 100%);
}

.page-hero .eyebrow {
  margin-bottom: 0.9rem;
}

.page-hero h1 {
  max-width: 26ch;
  margin-bottom: 0.45em;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
}

.page-hero .lede {
  max-width: 52rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* ---------- Editorial grid ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: start;
}

.split-wide-right {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
}

.rail {
  position: sticky;
  top: 6.5rem;
}

.prose {
  max-width: 60ch;
}

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

.prose h2:first-child {
  margin-top: 0;
}

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

.prose > p {
  color: var(--ink-soft);
}

.figure {
  margin: 0;
}

.figure img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
}

.figure-tall img {
  aspect-ratio: 3 / 4;
}

.figure-wide img {
  aspect-ratio: 16 / 9;
}

.figure-square img {
  aspect-ratio: 1 / 1;
}

/* ---------- Numbered rail list / spec blocks ---------- */

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

.spec-list li {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.85rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.spec-list dt,
.spec-list .spec-label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 0.15rem;
}

/* ---------- Category cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.85rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem 1.3rem 2.35rem;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.card:hover {
  background: var(--paper-warm);
  border-color: var(--line-strong);
  color: var(--ink);
}

.card::after {
  content: '\2192';
  position: absolute;
  right: 1.35rem;
  bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--red);
  transition: transform 140ms ease;
}

.card:hover::after {
  transform: translateX(4px);
}

.card-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--red);
}

.card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding-right: 1.6rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--steel);
}

.card-link-note {
  margin-top: auto;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Chips ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-block;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chip-red {
  border-color: var(--red);
  color: var(--red);
}

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

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.3rem, 2.6vw, 2rem) 0;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  align-items: start;
}

.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
}

.steps h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.steps p {
  margin: 0;
  color: #bcbab4;
  font-size: 0.96rem;
}

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

.callout {
  border-left: 4px solid var(--red);
  background: var(--red-wash);
  padding: 1.25rem 1.4rem;
  font-size: 0.95rem;
}

.callout h3 {
  margin-top: 0;
  font-size: 1rem;
}

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

.note {
  border: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 1.15rem 1.3rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.note strong {
  color: var(--ink);
}

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

.photo-band {
  position: relative;
  margin: 0;
  background: var(--black);
}

.photo-band img {
  display: block;
  width: 100%;
  height: clamp(15rem, 34vw, 26rem);
  object-fit: cover;
  opacity: 0.92;
}

.photo-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, 0.86) 100%);
  color: #e8e6e1;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.photo-band figcaption .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.faq-groups {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

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

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

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--red);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.faq-item[open] summary::after {
  content: '\2013';
}

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

.faq-answer {
  padding: 0 2.2rem 1.2rem 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

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

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

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}

.form-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}

.form-intro {
  margin-bottom: 1.5rem;
}

.form-intro h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.form-intro p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

fieldset {
  border: 0;
  margin: 0 0 1.6rem;
  padding: 0;
}

legend {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 0 0.55rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

legend .legend-num {
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

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

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

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

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.field .hint {
  font-size: 0.76rem;
  color: var(--steel);
  font-weight: 400;
  line-height: 1.4;
}

.req {
  color: var(--red);
  font-weight: 700;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='number'],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

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% - 1.1rem) 1.35rem, calc(100% - 0.75rem) 1.35rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink-soft);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: var(--red);
  background: var(--red-wash);
}

.error-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-dark);
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.45rem;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line-strong);
  font-size: 0.86rem;
  cursor: pointer;
  background: #fff;
  line-height: 1.35;
}

.radio-option:hover {
  border-color: var(--ink);
}

.radio-option input {
  margin: 0.2rem 0 0;
  accent-color: var(--red);
  flex-shrink: 0;
}

.radio-option:has(input:checked) {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
  background: var(--red-wash);
}

.file-drop {
  border: 1px dashed var(--line-strong);
  background: var(--paper-warm);
  padding: 1rem;
}

input[type='file'] {
  width: 100%;
  font-size: 0.9rem;
}

input[type='file']::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  padding-top: 0.4rem;
}

.form-footer .btn {
  min-height: 3.35rem;
  padding-inline: 1.9rem;
}

.form-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--steel);
  max-width: 26rem;
}

.form-alert {
  border: 2px solid var(--red);
  background: var(--red-wash);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}

.form-alert h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--red-dark);
}

.form-alert ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.form-alert a {
  color: var(--red-dark);
}

.form-success {
  border: 2px solid var(--ink);
  background: #fff;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.ref-code {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.8rem;
  margin: 0.2rem 0 1rem;
}

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

/* ---------- Contact blocks ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.85rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
}

.contact-card h3 {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.contact-card p {
  margin: 0 0 0.4rem;
}

.contact-card .big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  word-break: break-word;
}

.contact-card a {
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--red);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--red);
  color: #fff;
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.35em;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
}

.cta-band p {
  color: #ffe3e6;
  max-width: 40rem;
  margin-bottom: 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

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

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

/* ---------- Area list ---------- */

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 0.85rem;
}

.area-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background-color 150ms ease;
}

.area-card:hover {
  background: var(--paper-warm);
  border-color: var(--line-strong);
  color: var(--ink);
}

.area-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.area-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.45;
}

.area-card span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-top: 0.3rem;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #fff;
}

caption {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

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

thead th {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line-strong);
}

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

td.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

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

.site-footer {
  background: var(--black);
  color: #d8d6d1;
  padding-top: clamp(2.5rem, 5vw, 3.8rem);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.85fr));
  gap: 2rem 2.4rem;
  padding-bottom: 2.4rem;
}

.footer-brand .brand-name,
.footer-brand .brand-city {
  color: #fff;
}

.footer-brand .brand-city {
  color: #ff8794;
}

.footer-brand p {
  color: #a9a7a2;
  font-size: 0.9rem;
  max-width: 21rem;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: #ff8794;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col li {
  margin: 0;
}

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

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

.footer-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.15rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.78rem;
  color: #8f8d88;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-bottom a {
  color: #b9b7b1;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Floating + sticky CTAs ---------- */

.floating-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.1rem 0.5rem;
  writing-mode: vertical-rl;
  box-shadow: -4px 0 18px -12px rgba(0, 0, 0, 0.7);
}

.floating-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: #fff;
  border-top: 2px solid var(--ink);
  padding: 0.55rem 0.8rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.55rem;
  box-shadow: 0 -8px 24px -18px rgba(0, 0, 0, 0.7);
}

.sticky-bar .btn {
  flex: 1 1 0;
  min-height: 2.95rem;
  padding-inline: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ---------- Misc ---------- */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mb-0 { margin-bottom: 0; }

.stack > * + * {
  margin-top: 1rem;
}

.text-soft {
  color: var(--steel);
}

.small {
  font-size: 0.85rem;
}

.lede-strong {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--ink);
  font-weight: 500;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.tag-row li {
  margin: 0;
}

.tag-row li + li::before {
  content: '\2022';
  color: var(--line-strong);
  margin-right: 0.6rem;
}

.related-links {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}

.related-links a::after {
  content: '\2192';
  color: var(--red);
  flex-shrink: 0;
}

.related-links a:hover {
  color: var(--red);
}

.error-code {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.85;
  color: var(--red);
  margin: 0;
}

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

@media (max-width: 1080px) {
  .nav-desktop ul {
    gap: 0.85rem;
  }

  .nav-desktop a {
    font-size: 0.76rem;
  }

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

@media (max-width: 940px) {
  body.has-sticky-bar {
    padding-bottom: 5.6rem;
  }

  .floating-cta {
    display: none;
  }

  .sticky-bar {
    display: flex;
  }

  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-mobile {
    display: block;
    position: relative;
  }

  .nav-mobile summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border: 2px solid var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

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

  .nav-mobile summary::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(45deg) translateY(-2px);
  }

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

  .nav-mobile[open] summary::after {
    transform: rotate(225deg) translateY(-2px);
  }

  .nav-mobile-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    width: min(20rem, calc(100vw - 2 * var(--gutter)));
    background: #fff;
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px -30px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem 1rem;
    z-index: 99;
  }

  .nav-mobile-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

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

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

  .nav-mobile-panel a {
    display: block;
    padding: 0.85rem 0.15rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 3rem;
  }

  .nav-mobile-panel .nav-cta a {
    color: var(--red);
  }

  .hero-inner,
  .split,
  .split-wide-right,
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    background: #fff;
  }

  .hero-media {
    order: -1;
  }

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

  .hero-copy h1 {
    max-width: none;
  }

  .rail {
    position: static;
  }

  .steps li {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0.4rem 1.2rem;
  }

  .steps p {
    grid-column: 2;
  }
}

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

  .util-bar p {
    display: none;
  }

  .util-bar .container {
    justify-content: center;
  }

  .util-links {
    gap: 0.9rem;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }

  .util-links a:last-child {
    display: none;
  }

  .util-bar .container {
    min-height: 2.15rem;
    padding-block: 0.3rem;
  }

  .header-main {
    min-height: 4rem;
    gap: 0.4rem;
  }

  .brand {
    gap: 0.5rem;
    min-width: 0;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 0.7rem;
    letter-spacing: -0.015em;
  }

  .brand-city {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .nav-mobile summary {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.65rem;
    min-height: 2.6rem;
    gap: 0.35rem;
  }

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

  .spec-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

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

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

  .cta-band .btn {
    width: 100%;
  }

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

  .form-card {
    padding: 1.15rem;
  }

  .figure figcaption {
    font-size: 0.72rem;
  }
}

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

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

@media print {
  .site-header,
  .sticky-bar,
  .floating-cta,
  .cta-band,
  .site-footer {
    display: none;
  }

  body {
    color: #000;
  }
}
