/* Haslam Supply LLC: steel greys on bright white with one safety-orange accent */
@font-face {
  font-family: "Anvil Slab";
  src: url("fonts/anvil-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anvil Slab";
  src: url("fonts/anvil-slab-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --char: #1f2226;
  --char-2: #2b2f33;
  --steel: #6b7480;
  --steel-2: #4a525c;
  --fog: #eef0f2;
  --line: #d9dde1;
  --paper: #ffffff;
  --orange: #f26a1b;
  --orange-ink: #a8420a;
  --orange-wash: #fdeadc;
  --head: "Anvil Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--char);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 0.5em; color: var(--char); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--orange); color: var(--char); font-weight: 700;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* solid bar header */
.site-header { background: var(--char); border-bottom: 5px solid var(--orange); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 12px; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a {
  display: block; padding: 9px 18px; border-radius: 999px; color: #fff; text-decoration: none;
  font-weight: 500; border: 2px solid transparent;
}
.main-nav a:hover { border-color: #6b7480; }
.main-nav a[aria-current="page"] { background: var(--orange); color: var(--char); font-weight: 700; }

/* pills: buttons and tags */
.tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  background: var(--orange-wash); color: var(--char); border-radius: 999px;
  padding: 6px 16px; font-weight: 700; font-size: 0.9rem;
}
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.label {
  display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px;
  background: var(--char); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 700;
  background: var(--orange); color: var(--char); border: 2px solid var(--orange);
}
.btn:hover { background: #ff8a45; border-color: #ff8a45; }
.btn-line { background: transparent; color: var(--char); border-color: var(--char); }
.btn-line:hover { background: var(--char); color: #fff; border-color: var(--char); }
.price-pill {
  display: inline-block; white-space: nowrap; padding: 5px 14px; border-radius: 999px;
  background: var(--char); color: #fff; font-weight: 700; font-size: 0.98rem;
}

/* split hero */
.hero { background: var(--paper) url("assets/motif-pegboard.svg") 0 0 / 28px 28px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 56px 0 60px; }
.hero .lede { font-size: 1.15rem; color: var(--steel-2); max-width: 34em; }
.hero-art { width: 100%; border-radius: 22px; box-shadow: 0 18px 40px rgba(31, 34, 38, 0.14); }
.glance { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 6px; }
.glance li { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.97rem; }
.glance strong { min-width: 15.5em; }

.section { padding: 64px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--steel-2); }

/* department tiles */
.depts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.depts a {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; height: 100%;
  padding: 24px 14px; border: 2px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--char);
}
.depts a:hover { border-color: var(--orange); }
.depts img { width: 84px; height: 84px; padding: 10px; border-radius: 50%; background: var(--fog); }
.d-name { font-family: var(--head); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.d-meta { font-size: 0.9rem; color: var(--steel-2); }

/* full-width bands */
.band { padding: 60px 0; }
.band.char { background: var(--char-2); color: #fff; }
.band.fog { background: var(--fog); }
.band.orange { background: var(--orange); color: var(--char); }
.band.char h2, .band.char h3 { color: #fff; }
.band.char .label { background: var(--orange); color: var(--char); }
.band.orange .label { background: var(--char); color: #fff; }
.band.char a:not(.btn) { color: #ffb98c; }

.counter { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.counter p { color: #d9dde1; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding: 14px 18px 14px 52px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); }
.ticks li::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange);
}
.ticks strong { color: #fff; }
.band.fog .ticks li, .section .ticks li { background: var(--paper); border: 2px solid var(--line); }
.band.fog .ticks strong, .section .ticks strong { color: var(--char); }

.spot { display: grid; grid-template-columns: auto 1fr; gap: 0; border-radius: 24px; overflow: hidden; border: 2px solid var(--char); }
.spot-flag { background: var(--orange); width: 120px; display: grid; place-items: center; }
.spot-flag img { width: 72px; height: 72px; padding: 8px; background: var(--paper); border-radius: 50%; }
.spot-body { padding: 30px 34px; }
.spot-body p { color: var(--steel-2); font-size: 1.08rem; }

/* products: page head */
.page-head { background: var(--paper) url("assets/motif-pegboard.svg") 0 0 / 28px 28px; border-bottom: 1px solid var(--line); }
.page-head-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 50px 0; }
.page-head .lede { font-size: 1.1rem; color: var(--steel-2); margin: 0; }
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--char);
  color: var(--char); text-decoration: none; font-weight: 500; background: var(--paper);
}
.jump a:hover { background: var(--char); color: #fff; }

/* products: each department in its own band */
.dept { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.dept-side { position: sticky; top: 20px; }
.dept-side img { width: 92px; height: 92px; padding: 12px; border-radius: 50%; background: var(--paper); margin-bottom: 16px; }
.dept-side h2 { font-size: 1.7rem; margin-bottom: 10px; }
.count { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; background: var(--paper); color: var(--char); }
.band.fog .count { background: var(--char); color: #fff; }
.sheet { list-style: none; margin: 0; padding: 6px 26px; background: var(--paper); border-radius: 22px; color: var(--char); }
.sheet li { display: grid; grid-template-columns: 1fr auto; gap: 6px 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sheet li:last-child { border-bottom: 0; }
.sheet h3, .band.char .sheet h3, .band.orange .sheet h3 { margin: 0; color: var(--char); }
.sheet p { margin: 4px 0 0; color: var(--steel-2); font-size: 0.97rem; }
.sheet .price { text-align: right; }
.sheet .quote .price-pill { background: var(--orange-wash); color: var(--char); white-space: normal; text-align: center; }
.call-link { display: block; margin-top: 6px; font-size: 0.9rem; font-weight: 700; color: var(--orange-ink); white-space: nowrap; }
.band.char .sheet a.call-link { color: var(--orange-ink); }
.band.char .dept-side p, .band.orange .dept-side p { margin: 10px 0 0; }

.offers { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offers li { border: 2px solid var(--line); border-top: 8px solid var(--orange); border-radius: 18px; padding: 22px 24px; background: var(--paper); }
.offers h3 { margin-bottom: 6px; }
.offers p { margin: 0 0 10px; color: var(--steel-2); }
.offers p:last-child { margin-bottom: 0; }

/* about */
.facts-card { background: var(--char); color: #fff; border-radius: 22px; padding: 28px 30px; }
.facts-card h2 { color: #fff; font-size: 1.4rem; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #4a525c; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: #ffb98c; font-weight: 700; }
.facts dd { margin: 0; }
.story p { font-size: 1.08rem; }
.story p.first { font-family: var(--head); font-weight: 700; font-size: 1.4rem; line-height: 1.4; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: why; }
.why li { background: var(--paper); border-radius: 20px; padding: 24px; counter-increment: why; }
.why li::before {
  content: counter(why, decimal-leading-zero); display: inline-block; margin-bottom: 12px; padding: 3px 14px;
  border-radius: 999px; background: var(--orange); color: var(--char); font-weight: 700; font-family: var(--head);
}
.why strong { display: block; font-family: var(--head); font-size: 1.15rem; margin-bottom: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.card { border: 2px solid var(--line); border-radius: 22px; padding: 28px; background: var(--paper); }
.details { margin: 0 0 20px; display: grid; gap: 14px; }
.details div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; }
.details dt { font-weight: 700; color: var(--steel-2); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--head); font-weight: 800; font-size: 1.4rem; margin-bottom: 12px; }
.hours thead th { background: var(--char); color: #fff; text-align: left; padding: 10px 14px; font-weight: 700; }
.hours thead th:first-child { border-radius: 999px 0 0 999px; }
.hours thead th:last-child { border-radius: 0 999px 999px 0; }
.hours tbody th, .hours tbody td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tbody th { font-weight: 700; }
.hours tbody td { white-space: nowrap; }
.map-frame { width: 100%; height: 400px; border: 0; border-radius: 22px; background: var(--fog); display: block; }
.map-link { margin: 16px 0 0; }

/* footer */
.site-footer { background: var(--char); color: #d9dde1; padding: 48px 0 26px; border-top: 5px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 30px; }
.footer-name { font-family: var(--head); font-weight: 800; color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #ffb98c; }
.footer-bottom { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid #3a3f45; font-size: 0.9rem; color: #b6bcc4; }

@media (max-width: 980px) {
  .depts { grid-template-columns: repeat(3, 1fr); }
  .dept { grid-template-columns: 1fr; gap: 20px; }
  .dept-side { position: static; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; }
  .dept-side img { grid-row: span 2; margin: 0; width: 76px; height: 76px; }
  .dept-side h2 { margin: 0; }
  .dept-side .count { justify-self: start; }
}
@media (max-width: 820px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .brand { justify-content: center; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .main-nav a { text-align: center; padding: 8px 10px; background: rgba(255, 255, 255, 0.07); }
  .hero-grid, .page-head-grid, .counter, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid { padding: 36px 0 40px; }
  .why, .offers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section, .band { padding: 44px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .depts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .depts li:last-child { grid-column: 1 / -1; }
  .glance strong { min-width: 0; width: 100%; }
  .sheet { padding: 4px 18px; }
  .sheet li { grid-template-columns: 1fr; }
  .sheet .price { text-align: left; }
  .spot { grid-template-columns: 1fr; }
  .spot-flag { width: auto; padding: 18px; }
  .spot-body { padding: 24px 22px; }
  .facts div, .details div { grid-template-columns: 1fr; gap: 2px; }
  .card, .facts-card { padding: 22px; }
  .map-frame { height: 320px; }
}
.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;
}
