/* Kimmel Supply LLC — shared styles
   Seed 3-1-1-4-5-8-5: vivid safety colours (hi-vis orange, safety yellow, lime, steel) · bright white base,
   strong orange accent · split hero · slab headings + sans body · pill-button nav ·
   each catalog category in its own full-width coloured band · thick 3px outlines, no shadows ·
   motif: pegboard dots */

@font-face { font-family: "Kimmel Slab"; src: url("fonts/kimmel-slab.woff") format("woff"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --ink: #1f2630;
  --muted: #4b5462;
  --orange: #ff6a13;
  --orange-text: #b8430a;
  --yellow: #ffcf1a;
  --lime: #9bd12a;
  --steel: #4a5563;
  --concrete: #eef0f2;
  --line: 3px solid var(--ink);
  --slab: "Kimmel Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --peg: radial-gradient(circle, rgba(31, 38, 48, 0.16) 2.2px, transparent 2.8px) 0 0 / 22px 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--slab); font-weight: 800; line-height: 1.05; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 6.6vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }

a { color: var(--orange-text); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
section { padding-block: clamp(3rem, 6vw, 4.75rem); }
.flush-top { padding-top: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.55rem 1rem; background: var(--yellow); border: var(--line); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- header with outlined pills ---------- */
.site-header { border-bottom: var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 0.8rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: var(--ink); text-decoration: none; }
.brand img { width: 68px; height: auto; flex: none; }
.brand-name { font-family: var(--slab); font-weight: 800; font-size: 1.6rem; line-height: 1.05; }
.brand:hover .brand-name { color: var(--orange-text); }
.pills ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.pills a {
  display: inline-block;
  padding: 0.38rem 1.05rem;
  border: var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}
.pills a:hover { background: var(--yellow); }
.pills a[aria-current="page"] { background: var(--orange); }

/* ---------- shared parts ---------- */
.tag { display: inline-block; margin: 0 0 1.2rem; padding: 0.3rem 0.85rem; border: var(--line); background: var(--yellow); font-weight: 700; font-size: 0.95rem; }
.kicker { margin: 0 0 0.45rem; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); }
.lede { font-size: clamp(1.12rem, 2vw, 1.3rem); color: var(--muted); max-width: 42ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.35rem;
  border: var(--line);
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; color: var(--ink);
  max-width: 100%; overflow-wrap: anywhere;
}
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: var(--yellow); color: var(--ink); }
.btn-white { background: var(--white); }
.btn-white:hover { background: var(--concrete); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- home: split hero ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero-art { width: 100%; max-width: 620px; justify-self: end; }

.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.lines a { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.2rem 1.15rem 1.1rem; border: var(--line); color: var(--ink); text-decoration: none; background: var(--white); }
.lines a:hover { background: var(--concrete); }
.lines .bar { display: block; height: 10px; margin: -1.2rem -1.15rem 0.6rem; border-bottom: var(--line); }
.lines img { width: 56px; height: 56px; }
.lines .line-name { font-family: var(--slab); font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.lines .line-count { font-size: 0.92rem; color: var(--muted); }

.spot-band { background: var(--yellow); border-block: var(--line); }
.spot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.spot-band .kicker { color: var(--ink); }
.spot .offer { margin: 0; padding: 1.2rem 1.4rem; border: var(--line); background: var(--white); font-family: var(--slab); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; }

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.svc li { padding: 1rem 0; border-top: var(--line); }
.svc strong { font-family: var(--slab); font-size: 1.08rem; }

.willcall { background: var(--steel) var(--peg); color: var(--white); border-block: var(--line); }
.willcall h2 { color: var(--white); }
.willcall-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 3rem; align-items: center; }
.willcall p.note { margin: 0; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.willcall .btn-row { margin-top: 0; }
.willcall :focus-visible { outline-color: var(--yellow); }

/* ---------- catalog: one full-width coloured band per category ---------- */
.page-head { padding-block: clamp(2.75rem, 6vw, 4rem) clamp(1.75rem, 3vw, 2.5rem); background: var(--white) var(--peg); border-bottom: var(--line); }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.32rem 0.8rem; border: var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { background: var(--yellow); }
.jump img { width: 22px; height: 22px; }

.featured-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.featured-list li { display: flex; flex-direction: column; padding: 1.35rem; border: var(--line); }
.featured-list p { color: var(--muted); }
.featured-list .offer { margin: auto 0 0; padding: 0.6rem 0.8rem; border: var(--line); background: var(--yellow); font-family: var(--slab); font-weight: 800; font-size: 1.12rem; line-height: 1.25; }

.cat-band { border-top: var(--line); scroll-margin-top: 1rem; }
.cat-band:last-of-type { border-bottom: var(--line); }
.band-orange { background: var(--orange); }
.band-steel { background: var(--steel); color: var(--white); }
.band-yellow { background: var(--yellow); }
.band-lime { background: var(--lime); }
.band-steel h2, .band-steel h3 { color: var(--white); }
.band-steel :focus-visible { outline-color: var(--yellow); }
.cat-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cat-head .icon-box { display: grid; place-items: center; width: 76px; height: 76px; flex: none; background: var(--white); border: var(--line); }
.cat-head img { width: 56px; height: 56px; }
.cat-head h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: 0.01em; }
.cat-head .count { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 2rem; align-items: start; padding: 1.05rem 0; border-top: 3px solid rgba(31, 38, 48, 0.35); scroll-margin-top: 1rem; }
.band-steel .item { border-top-color: rgba(255, 255, 255, 0.35); }
.item h3 { margin-bottom: 0.2rem; }
.item .desc { margin: 0; color: #2a313b; }
.band-steel .item .desc { color: #e3e7ec; }
.item .price { margin: 0; min-width: 9rem; max-width: 18rem; padding: 0.45rem 0.8rem; border: var(--line); background: var(--white); color: var(--ink); text-align: right; line-height: 1.3; }
.price .amt { font-family: var(--slab); font-weight: 800; font-size: 1.3rem; }
.price .unit { font-weight: 700; font-size: 0.92rem; }
.price .qual { display: block; font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.price .amt.quote { font-size: 1.02rem; }
.price .call { display: block; margin-top: 0.25rem; font-weight: 700; font-size: 0.88rem; color: var(--orange-text); }

.account { padding: clamp(1.5rem, 4vw, 2.25rem); border: var(--line); background: var(--white) var(--peg); }

/* ---------- about ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2rem 0 0; padding: 0; border: var(--line); background: var(--white); }
.facts div { padding: 1rem 1.2rem; }
.facts div + div { border-left: var(--line); }
.facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); }
.facts dd { margin: 0.15rem 0 0; font-family: var(--slab); font-weight: 800; font-size: 1.12rem; line-height: 1.3; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.story .first { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.5; font-weight: 500; }
.story-aside { padding: 1.4rem; border: var(--line); background: var(--yellow); }
.story-aside img { width: 64px; height: 64px; }
.story-aside .kicker { color: var(--ink); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.why li { padding: 1.35rem; border: var(--line); }
.why li:nth-child(1) { border-top: 10px solid var(--orange); }
.why li:nth-child(2) { border-top: 10px solid var(--yellow); }
.why li:nth-child(3) { border-top: 10px solid var(--lime); }
.why strong { font-family: var(--slab); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 5vw, 3.5rem); align-items: start; }
.dock { padding: 1.5rem; border: var(--line); background: var(--white) var(--peg); }
.dock address { font-style: normal; font-family: var(--slab); font-weight: 800; font-size: 1.3rem; line-height: 1.35; margin-bottom: 1rem; }
.dock dl { margin: 0; }
.dock div { padding: 0.55rem 0; border-top: 3px solid var(--concrete); }
.dock dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dock dd { margin: 0; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; border: var(--line); }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.7rem; font-family: var(--slab); font-weight: 800; font-size: 1.25rem; }
.hours th, .hours td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #cfd4da; }
.hours thead th { background: var(--orange); border-bottom: var(--line); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { white-space: nowrap; }
.hours .closed { color: var(--muted); }
.hours .note { display: block; font-size: 0.92rem; color: var(--muted); }
.stage-note { margin-top: 1rem; padding: 1rem 1.15rem; border: var(--line); background: var(--yellow); }
.map-frame { display: block; width: 100%; height: 380px; border: var(--line); background: var(--concrete); }
.map-link { margin-top: 0.9rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink) var(--peg); color: #d4d9e0; font-size: 0.97rem; border-top: 10px solid var(--orange); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 2rem; padding-block: 2.5rem 1.6rem; }
.footer-name { margin: 0 0 0.35rem; font-family: var(--slab); font-weight: 800; font-size: 1.5rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.12rem 0; }
.footer-bottom { margin: 0; padding-block: 1rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .spot, .willcall-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-list, .why { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand img { width: 58px; }
  .brand-name { font-size: 1.4rem; }
  .pills ul { gap: 0.3rem; }
  .pills a { padding: 0.32rem 0.75rem; font-size: 0.9rem; }
  .lines { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .item { grid-template-columns: 1fr; }
  .item .price { justify-self: start; text-align: left; max-width: none; }
  .cat-head .icon-box { width: 60px; height: 60px; }
  .cat-head img { width: 44px; height: 44px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div, .facts div:nth-child(3) { border-left: 0; border-top: var(--line); }
  .hours th, .hours td { padding: 0.65rem 0.75rem; }
  .hours tbody th { white-space: normal; }
  .map-frame { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
