/* ===========================================================
   Tijon Company, Inc. — "Machine Shop / Spec Sheet" design system
   Heavy-industrial: condensed type, mono specs, hazard stripes,
   hairline steel panels. Deliberately NOT the superior template.
   =========================================================== */

:root {
  --ink:        #14181b;   /* near-black graphite */
  --graphite-900:#171c20;
  --graphite-800:#1f262b;  /* painted steel panel */
  --graphite-700:#2b343a;
  --steel-500:  #5c6870;   /* muted steel text on dark */
  --steel-300:  #97a1a8;

  --paper:      #eeece5;   /* cool concrete page */
  --paper-2:    #e3e0d7;   /* deeper concrete panel */
  --fg:         #1a1e21;
  --fg-soft:    #4f5a62;
  --fg-faint:   #79838a;

  --amber:      #f5a01c;   /* safety hi-vis */
  --amber-deep: #b9760d;   /* readable on concrete */

  --line:       #cbc7bb;         /* hairline on concrete */
  --line-strong:#b3aea0;
  --line-dark:  rgba(255,255,255,0.14);

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 60px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Condensed industrial display */
h1, h2, h3, .cond {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0;
}
/* Monospace = spec numbers, sizes, way-finding labels */
.mono, .idx, .spec, .eyebrow, .nav a, .btn {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber-deep);
}
.eyebrow.on-dark { color: var(--amber); }

/* Hazard-stripe divider motif */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 16px, var(--ink) 16px 32px);
}
.hazard.thin { height: 6px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--amber); color: var(--ink); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- Buttons (squared, letterspaced) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  padding: 14px 24px; border-radius: 2px; border: 2px solid transparent;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .18s, color .18s, border-color .18s;
}
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffb43a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--graphite-900); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 70px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand .mark { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .06em; color: #fff; line-height: 1; }
.brand .mark b { color: var(--amber); }
.brand .sub { font-family: "IBM Plex Mono", monospace; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel-300); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #d7dce0; text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav a:hover { color: var(--amber); }
.nav .nav-cta {
  color: var(--ink); background: var(--amber); padding: 10px 16px; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
}
.nav .nav-cta:hover { color: var(--ink); background: #ffb43a; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { background: var(--graphite-900); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 64px),
              repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero .eyebrow { display: block; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); color: #fff; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lede { font-size: 1.14rem; color: #c4ccd1; max-width: 46ch; margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Machined "nameplate" spec panel */
.nameplate { background: var(--graphite-800); border: 1px solid var(--line-dark); border-top: 4px solid var(--amber); }
.nameplate .np-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-dark); }
.nameplate .np-head span { font-family: "IBM Plex Mono", monospace; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel-300); }
.nameplate dl { margin: 0; padding: 6px 20px 16px; }
.nameplate .row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line-dark); }
.nameplate .row:last-child { border-bottom: 0; }
.nameplate dt { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); align-self: center; }
.nameplate dd { margin: 0; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-weight: 700; font-size: 1.35rem; color: #fff; text-align: right; line-height: 1; }
.nameplate dd b { color: var(--amber); }

/* ---------- Capability strip ---------- */
.capstrip { background: var(--amber); color: var(--ink); }
.capstrip .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 14px var(--gutter); }
.capstrip span { font-family: "IBM Plex Mono", monospace; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.capstrip span::before { content: "◆"; color: rgba(20,24,27,.5); font-size: .6em; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section.dark { background: var(--graphite-900); color: #e7eaec; }
.section.concrete { background: var(--paper-2); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Section header: index + condensed title + rule */
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; }
.sec-head .idx { font-family: "IBM Plex Mono", monospace; font-size: .8rem; font-weight: 500; color: var(--amber-deep); letter-spacing: .1em; padding-top: 6px; white-space: nowrap; }
.section.dark .sec-head .idx { color: var(--amber); }
.sec-head .sh-body { flex: 1; }
.sec-head .eyebrow { display: block; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); color: var(--ink); }
.section.dark .sec-head h2 { color: #fff; }
.sec-head .rule { flex: none; }
.sec-head .lead { color: var(--fg-soft); max-width: 62ch; margin: 14px 0 0; }
.section.dark .sec-head .lead { color: var(--steel-300); }

/* ---------- Company ---------- */
.company { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.company p { color: var(--fg-soft); margin: 0 0 18px; }
.company p strong { color: var(--fg); }
.creed { background: var(--graphite-900); color: #fff; border-left: 5px solid var(--amber); padding: 30px 30px 32px; }
.creed .tag { font-family: "IBM Plex Mono", monospace; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.creed h3 { font-size: 1.9rem; margin: 12px 0 12px; color: #fff; }
.creed p { color: var(--steel-300); margin: 0; font-size: 1.02rem; }
.pillars { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pillars .no { font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: var(--amber-deep); padding-top: 3px; }
.pillars strong { display: block; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .02em; }
.pillars span.sub { color: var(--fg-soft); font-size: .96rem; }

/* ---------- Product spec catalog ---------- */
.catalog { border-top: 2px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 84px 1fr 1fr; gap: clamp(20px, 4vw, 54px); padding: 34px 0; border-bottom: 1px solid var(--line-strong); }
.section.dark .spec-row { border-bottom-color: var(--line-dark); }
.spec-row .no { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: .9; color: var(--amber-deep); }
.section.dark .spec-row .no { color: var(--amber); }
.spec-row h3 { font-size: 1.8rem; color: var(--ink); margin-bottom: 12px; }
.section.dark .spec-row h3 { color: #fff; }
.spec-row p { margin: 0; color: var(--fg-soft); }
.section.dark .spec-row p { color: var(--steel-300); }
.spec-row .sizes { align-self: start; }
.spec-row .sizes .lab { font-family: "IBM Plex Mono", monospace; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint); display: block; margin-bottom: 12px; }
.section.dark .spec-row .sizes .lab { color: var(--steel-500); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: "IBM Plex Mono", monospace; font-size: .82rem; border: 1px solid var(--line-strong); padding: 6px 11px; color: var(--fg); }
.section.dark .tags span { border-color: var(--line-dark); color: #fff; }

/* ---------- Inventory grid (stocked items) ---------- */
.inventory { border: 1px solid var(--line-strong); border-bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.inventory .item { border-bottom: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.inventory .item:nth-child(3n) { border-right: 0; }
.inventory .item .chk { flex: none; width: 26px; height: 26px; border: 2px solid var(--amber-deep); display: grid; place-items: center; color: var(--amber-deep); }
.inventory .item .chk .ic { width: 15px; height: 15px; stroke-width: 3; }
.inventory .item .name { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-weight: 600; font-size: 1.15rem; letter-spacing: .015em; }
.inventory .item .code { font-family: "IBM Plex Mono", monospace; font-size: .62rem; color: var(--fg-faint); letter-spacing: .12em; display: block; }

/* ---------- Partners ---------- */
.partners-cta { text-align: center; border: 1px solid var(--line); background: var(--paper); padding: clamp(36px, 5vw, 56px); }
.partners-cta p { color: var(--fg-soft); max-width: 56ch; margin: 0 auto 24px; }

/* ---------- Location split ---------- */
.locgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-dark); }
.panel { padding: clamp(28px, 4vw, 40px); }
.panel + .panel { border-left: 1px solid var(--line-dark); }
.panel h3 { font-size: 1.5rem; color: #fff; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.panel h3 .idx { font-family: "IBM Plex Mono", monospace; font-size: .72rem; color: var(--amber); letter-spacing: .1em; }
.route { margin-bottom: 26px; }
.route:last-child { margin-bottom: 0; }
.route h4 { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 0 0 10px; }
.route ol { margin: 0; padding-left: 20px; color: var(--steel-300); }
.route ol li { margin: 5px 0; }
.addr { list-style: none; margin: 0 0 24px; padding: 0; }
.addr li { display: flex; gap: 12px; align-items: flex-start; color: #e7eaec; padding: 6px 0; }
.addr .ic { color: var(--amber); margin-top: .28em; flex: none; }
.addr a { color: #fff; text-decoration: none; font-weight: 600; }
.hours { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-dark); font-family: "IBM Plex Mono", monospace; font-size: .82rem; }
.hours .day { color: var(--steel-300); letter-spacing: .06em; text-transform: uppercase; }
.hours .time { color: #fff; }
.hours .closed { color: var(--steel-500); }
.maplink { display: inline-block; margin-top: 22px; font-family: "IBM Plex Mono", monospace; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); text-decoration: none; border-bottom: 1px solid var(--amber); padding-bottom: 3px; }

/* ---------- CTA band ---------- */
.cta { background: var(--amber); color: var(--ink); }
.cta .wrap { padding: clamp(52px, 7vw, 78px) var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--ink); }
.cta p { margin: 12px 0 0; color: #4a3410; max-width: 44ch; }
.cta .cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta .call-big { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 2.6rem; color: var(--ink); text-decoration: none; line-height: 1; }
.cta .call-big .ic { width: .8em; height: .8em; }
.cta .btn-primary { background: var(--ink); color: #fff; }
.cta .btn-primary:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-900); color: var(--steel-300); padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-brand .mark { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .06em; color: #fff; }
.footer-brand .mark b { color: var(--amber); }
.footer-brand p { margin: 14px 0 0; max-width: 34ch; font-size: .95rem; }
.site-footer h4 { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ic { color: var(--amber); flex: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .06em; color: var(--steel-500); text-transform: uppercase; }

/* ---------- Floating call ---------- */
.float-call { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; background: var(--amber); color: var(--ink); text-decoration: none; font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 13px 18px; border-radius: 2px; box-shadow: 0 8px 22px rgba(0,0,0,.35); align-items: center; gap: 8px; }
.float-call .ic { width: 1.1em; height: 1.1em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .nameplate { max-width: 520px; }
  .company { grid-template-columns: 1fr; }
  .creed { order: -1; }
  .inventory { grid-template-columns: repeat(2, 1fr); }
  .inventory .item:nth-child(3n) { border-right: 1px solid var(--line-strong); }
  .inventory .item:nth-child(2n) { border-right: 0; }
  .cta .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--graphite-800); border-bottom: 1px solid var(--line-dark); padding: 10px var(--gutter) 20px; gap: 2px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line-dark); }
  .nav .nav-cta { justify-content: center; margin-top: 10px; }
  .nav-toggle { display: block; }
  .sec-head { flex-direction: column; gap: 6px; }
  .spec-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .spec-row .no { font-size: 2rem; }
  .inventory { grid-template-columns: 1fr; }
  .inventory .item, .inventory .item:nth-child(3n), .inventory .item:nth-child(2n) { border-right: 0; }
  .locgrid { grid-template-columns: 1fr; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line-dark); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-call { display: inline-flex; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
