/* ============================================================
   THE SUPPLY HUB — Website
   Component + layout + responsive styles. Built on tokens.css.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--red-400); outline-offset: 2px; }

/* ---------- layout ---------- */
.tsh-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-muted { background: var(--surface-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-ink { background: var(--ink-800); color: #fff; }

/* responsive grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* two-column splits that collapse on mobile */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split-facts { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- type helpers ---------- */
.eyebrow-rule { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-rule::before { content: ""; height: 2px; width: 40px; background: var(--red-500); display: block; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--red-500); }
.eyebrow-light { color: var(--red-400); }
.eyebrow-light.eyebrow-rule::before { background: var(--red-400); }

.section-head { margin-bottom: 34px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; font-size: 34px; color: var(--ink-800); margin: 14px 0 0; }
.section-ink .section-head h2 { color: #fff; }
.section-head p { margin: 12px 0 0; max-width: 600px; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 700; border: none; cursor: pointer; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; padding: 12px 20px;
  transition: background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red-500); color: #fff; }
.btn-primary:hover { background: var(--red-600); }
.btn-ghost { background: #fff; color: var(--ink-800); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink-800); }
.btn-ink { background: var(--ink-800); color: #fff; }
.btn-ink:hover { background: var(--ink-900); }
.btn-onink { background: #fff; color: var(--ink-800); }
.btn-onink:hover { background: var(--surface-muted); }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 11px; }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 8px; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- links ---------- */
.link { color: var(--red-500); font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--red-600); gap: 9px; transition: gap var(--dur) var(--ease-out); }

/* ---------- pills / chips ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 11.5px; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.pill .ic { width: 13px; height: 13px; }
.pill-success { background: var(--success-bg); color: var(--success); }
.pill-warn { background: var(--warning-bg); color: var(--warning); }
.pill-muted { background: var(--surface-sunken); color: var(--slate-500); }
.pill-red { background: var(--red-500); color: #fff; }
.pill-ink { background: var(--ink-800); color: #fff; }

.chip { font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: #fff; color: var(--ink-700); cursor: pointer; transition: all var(--dur) var(--ease-out); white-space: nowrap; }
.chip:hover { border-color: var(--ink-800); }
.chip.active { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }

.product { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }
.product-media { height: 200px; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--border); padding: 14px; }
.product-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-media .ic { width: 52px; height: 52px; color: var(--slate-400); opacity: .7; }
.product-media .badge { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-tag { font-family: var(--font-display); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink-800); margin: 7px 0 8px; line-height: 1.22; }
.product-brand { font-size: 12.5px; font-weight: 700; color: var(--slate-500); }
.product-desc { font-size: 13.5px; color: var(--slate-600); line-height: 1.55; margin: 0 0 16px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.cat-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer; transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card:hover .cat-go { gap: 9px; color: var(--red-600); }
.cat-media { height: 96px; background: var(--ink-800); display: flex; align-items: center; padding: 0 24px; gap: 16px; }
.cat-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--red-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-icon .ic { width: 26px; height: 26px; }
.cat-media-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.cat-body { padding: 20px 24px 22px; }
.cat-count { font-family: var(--font-display); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); }
.cat-go { display: inline-flex; align-items: center; gap: 6px; color: var(--red-500); font-weight: 700; font-size: 14px; margin-top: 14px; transition: gap var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }

.service-card { display: flex; flex-direction: column; padding: 26px 24px; cursor: pointer; transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }
.service-card:hover .link { gap: 9px; }

/* service detail */
.svc-includes { display: flex; flex-direction: column; gap: 14px; }
.svc-includes li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-700); line-height: 1.5; list-style: none; }
.svc-includes .tick { width: 24px; height: 24px; border-radius: 999px; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.svc-includes .tick .ic { width: 14px; height: 14px; }
.feature-mini .ic { width: 26px; height: 26px; color: var(--red-500); flex-shrink: 0; margin-top: 2px; }

/* ---------- header ---------- */
.topbar { background: var(--ink-800); color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; font-size: 12.5px; }
.topbar-loc { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .02em; }
.topbar-loc .ic { width: 14px; height: 14px; color: var(--red-400); }
.topbar-contact { display: flex; align-items: center; gap: 20px; color: var(--fg-ondark-2); }
.topbar-contact span { display: flex; align-items: center; gap: 6px; }
.topbar-contact .ic { width: 13px; height: 13px; }

.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; padding: 10px 0; }
.header-logo img { height: 112px; display: block; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.navlink { font-family: var(--font-body); font-weight: 700; font-size: 14.5px; color: var(--ink-700); cursor: pointer; padding: 6px 0; position: relative; }
.navlink:hover { color: var(--red-500); }
.navlink.active { color: var(--red-500); }
.navlink.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red-500); }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--border-strong); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink-800); }
.burger .ic { width: 22px; height: 22px; }

.mobile-menu { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-900); color: var(--fg-ondark-2); }
.footer-grid { padding: 56px 0 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { height: 86px; display: block; background: #fff; padding: 12px 16px; border-radius: 12px; }
.footer-blurb { font-size: 13.5px; line-height: 1.7; margin: 18px 0 16px; max-width: 270px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-contact span { display: flex; align-items: center; gap: 9px; }
.footer-contact .ic { width: 15px; height: 15px; color: var(--red-400); flex-shrink: 0; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; }
.foot-link { color: var(--fg-ondark-2); font-size: 13.5px; cursor: pointer; }
.foot-link:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bar-inner { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12.5px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg,#fff 0%, var(--surface-muted) 100%); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 56px 0 0; }
.hero h1 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; font-size: 52px; color: var(--ink-800); }
.hero h1 .accent { color: var(--red-500); }
.hero-lead { margin: 20px 0 28px; max-width: 470px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-pillars { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-pillar { display: flex; gap: 11px; align-items: flex-start; }
.hero-pillar .ic { width: 26px; height: 26px; color: var(--red-500); flex-shrink: 0; }
.hero-pillar .pt { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--red-500); }
.hero-pillar .ps { font-size: 12.5px; color: var(--slate-600); font-weight: 600; }
.hero-photo { align-self: end; }
.hero-photo img { width: 100%; display: block; border-top-left-radius: 16px; border-top-right-radius: 16px; }

.feature-bar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--ink-800); border-radius: 16px; padding: 18px 26px; transform: translateY(26px); box-shadow: var(--shadow-lg); }
.feature-bar .item { display: flex; align-items: center; gap: 11px; color: #fff; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.16); }
.feature-bar .item:first-child { padding-left: 0; border-left: none; }
.feature-bar .item .ic { width: 22px; height: 22px; color: var(--red-400); flex-shrink: 0; }
.feature-bar .item span { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; }

/* page hero (interior pages) */
.page-hero { background: var(--ink-800); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: 44px; margin: 16px 0 0; line-height: 1.04; }
.page-hero p { margin: 16px 0 0; max-width: 560px; color: var(--fg-ondark-2); font-size: 16.5px; line-height: 1.6; }
.page-hero .crumbs { font-size: 12.5px; color: var(--fg-ondark-2); letter-spacing: .04em; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .ghost-mark { position: absolute; right: -40px; bottom: -60px; width: 320px; opacity: .06; pointer-events: none; }

/* hero with a photographic background (Gibraltar / first-aid) */
.page-hero.has-photo {
  padding: 64px 0 68px;
}
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; display: block; border-radius: 16px; box-shadow: var(--shadow-lg); }
.page-hero-media .photo-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(15,28,40,.82); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 7px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; backdrop-filter: blur(4px); }
.page-hero-media .photo-tag .ic { width: 14px; height: 14px; color: var(--red-400); }
.page-hero.has-photo .ghost-mark { display: none; }

/* trust band stats */
.trust-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 46px 0; }
.trust-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.trust-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--red-400); }
.trust-stat .l { font-size: 13px; color: var(--fg-ondark-2); margin-top: 2px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 22px 24px; }
.contact-card .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--red-50); color: var(--red-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .ci .ic { width: 22px; height: 22px; }
.field label { display: block; font-weight: 700; font-size: 13px; color: var(--ink-800); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-800); border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 12px 14px; background: #fff; transition: border-color var(--dur) var(--ease-out); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red-400); }
.field textarea { resize: vertical; min-height: 120px; }

/* value props row */
.vp-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.vp { display: flex; flex-direction: column; gap: 12px; }
.vp .ci { width: 52px; height: 52px; border-radius: 12px; background: var(--red-50); color: var(--red-500); display: flex; align-items: center; justify-content: center; }
.vp .ci .ic { width: 26px; height: 26px; }
.vp h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-800); margin: 0; }
.vp p { margin: 0; font-size: 14.5px; color: var(--slate-600); line-height: 1.6; }

/* step list (services) */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step { padding: 0 22px; border-left: 1px solid var(--border); position: relative; }
.step:first-child { padding-left: 0; border-left: none; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; background: var(--red-500); width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-800); margin: 0 0 8px; }
.step p { margin: 0; font-size: 14px; color: var(--slate-600); line-height: 1.6; }

/* about facts */
.fact-list { display: flex; flex-direction: column; gap: 0; }
.fact { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.fact:last-child { border-bottom: none; }
.fact .k { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--red-500); width: 150px; flex-shrink: 0; }
.fact .v { font-size: 15px; color: var(--ink-700); line-height: 1.6; }

/* CTA strip */
.cta-strip { background: var(--ink-800); border-radius: 18px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-strip h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: 30px; color: #fff; margin: 0; line-height: 1.1; }
.cta-strip p { margin: 12px 0 0; color: var(--fg-ondark-2); font-size: 15.5px; max-width: 460px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .tsh-container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 0; }
  .hero h1 { font-size: 42px; }
  .hero-photo { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .step:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 760px) {
  .topbar-contact { display: none; }
  .topbar-inner { height: auto; min-height: 36px; padding: 7px 0; }
  .topbar-loc { font-size: 12px; line-height: 1.3; }
  .site-nav { display: none; }
  .header-logo img { height: 76px; }
  .burger { display: inline-flex; }
  .mobile-menu { display: block; border-top: 1px solid var(--border); background: #fff; }
  .mobile-menu .links { display: flex; flex-direction: column; padding: 8px 0 14px; }
  .mobile-menu .navlink { padding: 13px 32px; font-size: 16px; border-bottom: 1px solid var(--surface-sunken); }
  .mobile-menu .navlink.active::after { display: none; }
  .mobile-menu .mob-cta { padding: 14px 24px 4px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .split-facts, .form-row { grid-template-columns: 1fr; gap: 28px; }
  .vp-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-bar { grid-template-columns: 1fr 1fr; gap: 18px 0; transform: translateY(22px); padding: 20px; }
  .feature-bar .item { padding-left: 18px; }
  .feature-bar .item:nth-child(3) { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
  .feature-bar .item:nth-child(odd) { padding-left: 0; border-left: none; }
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero.has-photo { padding: 48px 0 52px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-head h2 { font-size: 27px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding-left: 0; border-left: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bar-inner { flex-direction: column; gap: 10px; text-align: center; }
  .cta-strip { padding: 34px 28px; flex-direction: column; align-items: flex-start; }
  .cta-strip h2 { font-size: 25px; }
  .fact { flex-direction: column; gap: 6px; }
  .fact .k { width: auto; }
  .trust-stats { gap: 28px; }
}

@media (max-width: 460px) {
  .tsh-container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .feature-bar { grid-template-columns: 1fr; }
  .feature-bar .item, .feature-bar .item:nth-child(3) { padding-left: 0; border-left: none; }
  .hero-cta .btn { width: 100%; }
}
