/* industrialwirebuyers.com
   Design: "Reel & Spool" — see ideas.md. Industrial signage livery.
   RULES: square corners (except round call button + reel mark); weight over
   decoration; all-caps condensed headings; monospace for anything numeric;
   offset left spine, never centered; photo as full-bleed ground.
   Palette: graphite #15171A shell, reel yellow #F5C518 signature,
   bone #F7F5F1 paper, red-orange #D2482A reserved for the call action only. */

:root {
  --graphite: #15171A;
  --graphite-2: #22262B;
  --graphite-3: #3A4048;
  --yellow: #F5C518;
  --yellow-dim: #C99F0F;
  --bone: #F7F5F1;
  --bone-2: #ECE8E1;
  --ink: #191B1E;
  --ink-2: #4A5057;
  --call: #D2482A;
  --rule: 4px;
  --spine: 3px;
  --wrap: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; border: 0; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  a { transition: text-decoration-thickness 120ms var(--ease-out); }
}
a:hover { text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: Oswald, "Arial Narrow", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.06;
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.35rem); }
p { margin: 0 0 1.05rem; }

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

/* ---------- stencil label chip ---------- */
.chip {
  display: inline-block;
  background: var(--yellow);
  color: var(--graphite);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 9px;
  text-decoration: none;
}
.chip--dark { background: var(--graphite); color: var(--yellow); }
.chip--ghost { background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 2px var(--graphite); }

.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

/* ---------- masthead ---------- */
.mast { background: var(--graphite); border-bottom: var(--rule) solid var(--yellow); }
.mast__in { display: flex; align-items: center; gap: 14px; padding: 14px 22px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand__txt { display: block; line-height: 1; }
.brand__sm {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem;
  letter-spacing: .22em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.brand__lg {
  display: block;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: .02em;
  color: var(--bone);
  text-transform: uppercase;
}

/* nav stays on ONE row on phones — horizontal scroll, never wrap */
.nav {
  background: var(--graphite-2);
  border-bottom: 1px solid var(--graphite-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav__in { display: flex; flex-wrap: nowrap; gap: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.nav a {
  flex: 0 0 auto;
  color: var(--bone-2);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 11px 15px;
  white-space: nowrap;
  border-right: 1px solid var(--graphite-3);
}
.nav a:first-child { border-left: 1px solid var(--graphite-3); }
.nav a:hover { background: var(--yellow); color: var(--graphite); }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--graphite); }

/* ---------- breadcrumbs ---------- */
.crumbs {
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 0 0;
  color: var(--ink-2);
}
.crumbs a { color: var(--ink-2); }
.crumbs span { opacity: .55; padding: 0 6px; }

/* ---------- hero: photo as ground ---------- */
.hero { position: relative; background: var(--graphite); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,11,13,.90) 0%, rgba(10,11,13,.62) 42%, rgba(10,11,13,.20) 72%, rgba(10,11,13,.30) 100%);
}
.hero__in {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 30px 22px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.hero h1 { color: var(--bone); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lede { color: #D7D3CC; font-size: 1.06rem; max-width: 44ch; }
.hero__promise { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- quote form (in hero, every page) ---------- */
.qf { background: var(--bone); border: var(--rule) solid var(--yellow); padding: 16px 16px 14px; }
.qf h2 { font-size: 1.18rem; margin-bottom: 2px; }
.qf__sub { font-family: "JetBrains Mono", monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 11px; }
.qf label { display: block; font-family: "JetBrains Mono", monospace; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 8px 0 3px; }
.qf input, .qf select, .qf textarea {
  width: 100%;
  font: inherit;
  font-size: .94rem;
  padding: 9px 10px;
  border: 2px solid var(--graphite-3);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.qf textarea { min-height: 62px; resize: vertical; }
.qf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn {
  display: inline-block;
  width: 100%;
  margin-top: 13px;
  padding: 13px 16px;
  background: var(--graphite);
  color: var(--yellow);
  border: 0;
  border-radius: 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 140ms var(--ease-out), background-color 140ms var(--ease-out); }
}
.btn:hover { background: var(--yellow); color: var(--graphite); }
.btn:active { transform: scale(.97); }
.qf__alt { font-family: "JetBrains Mono", monospace; font-size: .7rem; text-align: center; margin: 9px 0 0; color: var(--ink-2); }
.qf__alt a { color: var(--ink); }

/* ---------- body sections on the offset spine ---------- */
main { display: block; }
.band { padding: 40px 0; border-top: var(--rule) solid var(--graphite); }
.band--bone2 { background: var(--bone-2); }
.band--dark { background: var(--graphite); color: var(--bone); border-top-color: var(--yellow); }
.band--dark h2, .band--dark h3 { color: var(--bone); }
.band--dark a { color: var(--yellow); }

.spine { border-left: var(--spine) solid var(--yellow); padding-left: 20px; max-width: 74ch; }
.spine--wide { max-width: none; }
.band--dark .spine { border-left-color: var(--yellow); }

.split { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 30px; align-items: start; }

figure { margin: 0; }
figure img { width: 100%; height: 260px; object-fit: cover; }
figcaption { font-family: "JetBrains Mono", monospace; font-size: .66rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); padding-top: 7px; }
.band--dark figcaption { color: #A7ADB4; }

/* specifics / checklist grid */
.cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 0; }
.cols li { padding: 11px 0 11px 15px; border-top: 1px solid rgba(0,0,0,.16); border-left: var(--spine) solid var(--yellow); margin: 0 0 0 0; }
.band--dark .cols li { border-top-color: rgba(255,255,255,.16); }

/* link grid for states / products */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px; }
.card {
  display: block;
  background: var(--graphite);
  color: var(--bone);
  text-decoration: none;
  padding: 15px 16px;
  border-left: var(--spine) solid var(--yellow);
}
@media (prefers-reduced-motion: no-preference) {
  .card { transition: background-color 140ms var(--ease-out); }
}
.card:hover { background: var(--yellow); color: var(--graphite); }
.card strong { display: block; font-family: Oswald, "Arial Narrow", sans-serif; font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .02em; }
.card span { display: block; font-family: "JetBrains Mono", monospace; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .74; margin-top: 3px; }

/* FAQ — details/summary, no JS */
.faq { border-top: 1px solid rgba(0,0,0,.18); }
.faq details { border-bottom: 1px solid rgba(0,0,0,.18); }
.faq summary {
  cursor: pointer;
  padding: 14px 0 14px 15px;
  border-left: var(--spine) solid var(--yellow);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " +"; font-family: "JetBrains Mono", monospace; color: var(--yellow-dim); }
.faq details[open] summary::after { content: " \2212"; }
.faq p { padding: 0 0 14px 18px; margin: 0; max-width: 74ch; }

/* ---------- floating call button: ONE, round, bottom right ---------- */
.callfab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--call);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: no-preference) {
  .callfab { transition: transform 140ms var(--ease-out); }
}
.callfab:active { transform: scale(.97); }
.callfab svg { width: 27px; height: 27px; fill: #fff; }

/* ---------- footer ---------- */
.foot { background: var(--graphite); color: #B9BFC6; border-top: var(--rule) solid var(--yellow); padding: 34px 0 26px; font-size: .92rem; }
.foot h3 { color: var(--bone); font-size: .95rem; margin-bottom: 9px; }
.foot a { color: #D9DEE4; }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 2px 0; }
.foot__guides { border-top: 1px solid var(--graphite-3); margin-top: 28px; padding-top: 20px; }
.foot__guides h3 { margin-bottom: 11px; }
.foot__guides ul { columns: 4; column-gap: 26px; }
.foot__guides li { break-inside: avoid; }
@media (max-width: 900px) { .foot__guides ul { columns: 2; } }
@media (max-width: 560px) { .foot__guides ul { columns: 1; } }
.foot__legal { border-top: 1px solid var(--graphite-3); margin-top: 24px; padding-top: 14px; font-family: "JetBrains Mono", monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: #8E959D; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__in, .split { grid-template-columns: 1fr; }
  .hero__in { padding-top: 22px; gap: 22px; }
  figure img { height: 210px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .qf__row { grid-template-columns: 1fr; }
  .brand__lg { font-size: 1.18rem; }
  .brand img { width: 36px; height: 36px; }
  .callfab { width: 58px; height: 58px; right: 14px; bottom: 14px; }
}


/* Compact link columns — used on hubs so card-grid text does not repeat
   across pages. Same visual family as .cols, tighter. */
.cols--links{columns:3;column-gap:26px}
.cols--links li{break-inside:avoid;padding:5px 0 5px 14px}
.cols--links a{font-weight:600}
@media(max-width:900px){.cols--links{columns:2}}
@media(max-width:560px){.cols--links{columns:1}}
