/* =============================================================
   Kern Oilfield Supply Co. — B2B Equipment Rental & Parts Catalog
   Bakersfield, CA · 4 yards · Est. 1962 · 3rd generation Marsh family
   ----
   Design DNA: Off-white paper catalog + parts-counter ticket.
   IBM Plex Serif display headlines (carbon-paper invoice gravitas)
   IBM Plex Sans body (clean, technical)
   IBM Plex Mono SKU readouts (catalog & parts ticket aesthetic)
   Navy ink + signal red marker + warm catalog yellow + kraft tan.
   Top-row hours/phone strip, center SKU search bar nav,
   rectangular thin-red-border buttons. Inventory grid w/ avail
   indicators, recently-rented ticker, yard map, account-login CTA.

   Distinct from Patterson (dark/orange/Oswald) and Diamond H
   (cream/cobalt/slab serif/overlay nav). This is paper + IBM Plex
   + center search-bar nav + parts-ticket button geometry.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Palette — researched against Grainger, McMaster-Carr, Mid-Continent
     Oil & Gas Supply, Tractor Supply parts-counter aesthetics. */
  --paper: #F4F0E8;
  --paper-2: #ECE6D7;
  --paper-3: #E4DCC8;
  --paper-soft: #FAF6EE;
  --kraft: #C9B79C;
  --kraft-deep: #A89372;
  --kraft-light: #DCC9AC;
  --ink: #142A47;          /* deep navy ink */
  --ink-2: #1E3656;
  --ink-soft: #2C476C;
  --ink-mute: #58606B;     /* soft gray muted text */
  --ink-faint: #8A8F98;
  --signal: #B33A2E;       /* parts-counter red marker */
  --signal-deep: #8E2A20;
  --signal-light: #D14635;
  --amber: #E8A317;        /* warm catalog yellow */
  --amber-deep: #C68A0E;
  --amber-light: #F4B937;
  --green-ok: #4A7A3D;     /* "in stock" green */
  --green-low: #C68A0E;    /* "low" amber */
  --red-out: #B33A2E;      /* "out" red */
  --hair: rgba(20, 42, 71, 0.14);
  --hair-strong: rgba(20, 42, 71, 0.28);
  --hair-light: rgba(20, 42, 71, 0.06);
  --hair-paper: rgba(244, 240, 232, 0.18);
  --shadow-card: 0 1px 0 rgba(20, 42, 71, 0.08), 0 2px 8px rgba(20, 42, 71, 0.04);
  --shadow-lift: 0 2px 0 rgba(20, 42, 71, 0.10), 0 8px 24px rgba(20, 42, 71, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* faint paper grain via gradient mesh */
  background-image:
    radial-gradient(circle at 12% 18%, rgba(201, 183, 156, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 88% 78%, rgba(20, 42, 71, 0.04) 0%, transparent 60%);
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
@media (max-width: 800px) { .container { padding: 0 20px; } }

/* =============================================================
   Type system — IBM Plex Serif display, Sans body, Mono SKU
   ============================================================= */
.serif, h1, h2, h3, h4 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.08;
}
.h-mega {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.02;
}
.h-mega .red { color: var(--signal); }
.h-mega .italic { font-style: italic; font-weight: 400; color: var(--ink-soft); }
.h-mega .underline-mark {
  display: inline-block;
  position: relative;
}
.h-mega .underline-mark::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 0.18em;
  background: var(--amber);
  z-index: -1;
  opacity: 0.85;
}
.h-section {
  font-size: clamp(1.875rem, 3.8vw, 2.875rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.08;
}
.h-section .red { color: var(--signal); }
.h-section .italic { font-style: italic; font-weight: 400; color: var(--ink-soft); }

.h-card {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.125rem, 1.55vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.h-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-feature-settings: "ss01", "zero";
}
.sku {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.spec {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 64ch;
}

p { color: var(--ink-soft); }
p + p { margin-top: 1em; }

/* =============================================================
   Top hours/phone strip — like a real parts-counter site
   ============================================================= */
.top-strip {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--hair-paper);
}
.top-strip-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 9px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.88;
}
.top-strip-item .pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(232, 163, 23, 0.18);
}
.top-strip-item.live .pip {
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.22);
  animation: livepulse 2s ease-in-out infinite;
}
@keyframes livepulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.55; }
}
.top-strip-item strong { font-weight: 600; opacity: 1; }
.top-strip-item a { text-decoration: none; }
.top-strip-spacer { flex: 1; }
.top-strip-action {
  color: var(--amber-light);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.top-strip-action::before { content: '→ '; }
@media (max-width: 800px) {
  .top-strip-inner { padding: 9px 20px; gap: 14px; font-size: 11px; }
  .top-strip-spacer, .top-strip-item.desktop { display: none; }
}

/* =============================================================
   Main nav — logo left · SKU search center · account/quote right
   ============================================================= */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(244, 240, 232, 0.96);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
@media (max-width: 1100px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-search { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 800px) {
  .nav-inner { padding: 12px 20px; gap: 14px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--amber);
  pointer-events: none;
}
.logo-mark span {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-text .tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* SKU search bar (center of nav) */
.nav-search {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--ink);
  background: var(--paper-soft);
  height: 44px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.nav-search-prefix {
  background: var(--ink);
  color: var(--amber);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-search-prefix svg { width: 14px; height: 14px; stroke: currentColor; }
.nav-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  min-width: 0;
}
.nav-search input::placeholder {
  color: var(--ink-faint);
  font-style: italic;
}
.nav-search-go {
  background: var(--signal);
  color: var(--paper);
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-search-go:hover { background: var(--signal-deep); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 12px;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--signal); }
.nav-link.account {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--hair-strong);
  padding: 8px 12px;
}
.nav-link.account:hover { border-color: var(--ink); background: var(--paper-2); }
@media (max-width: 900px) { .nav-link.desktop { display: none; } }

/* Secondary nav row — category links */
.nav-categories {
  background: var(--paper-2);
  border-bottom: 1px solid var(--hair);
}
.nav-categories-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-categories-inner::-webkit-scrollbar { display: none; }
.nav-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 18px;
  white-space: nowrap;
  border-right: 1px solid var(--hair);
  transition: all 0.15s;
  position: relative;
}
.nav-cat:first-child { border-left: 1px solid var(--hair); }
.nav-cat:hover { color: var(--signal); background: var(--paper); }
.nav-cat.active {
  color: var(--paper);
  background: var(--ink);
}
.nav-cat .ct {
  font-size: 9.5px;
  opacity: 0.6;
  margin-left: 6px;
}
@media (max-width: 800px) {
  .nav-categories-inner { padding: 0 20px; }
  .nav-cat { padding: 12px 14px; }
}

/* =============================================================
   Hero — photo left, structured spec readout right
   ============================================================= */
.hero {
  padding: 56px 0 80px;
  border-bottom: 1px solid var(--hair);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-left {
  position: relative;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(20, 42, 71, 0.78), rgba(20, 42, 71, 0.45)),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  background-blend-mode: multiply, normal;
  overflow: hidden;
  border: 1px solid var(--hair-strong);
}
.hero-photo::before {
  /* photo layer */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(20, 42, 71, 0.35) 0%, rgba(20, 42, 71, 0.18) 35%, rgba(20, 42, 71, 0.62) 100%),
    url('https://images.unsplash.com/photo-1653352639753-8debcc830014?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1080');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-photo::after {
  /* halftone grain */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(244, 240, 232, 0.06) 1px, transparent 0);
  background-size: 4px 4px;
  z-index: 1;
  pointer-events: none;
}
.hero-photo-stamp {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--signal);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1.5px solid var(--paper);
}
.hero-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--paper);
}
.hero-photo-caption .caption-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.hero-photo-caption .caption-text {
  font-family: 'IBM Plex Serif', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero-photo-caption .caption-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: right;
  opacity: 0.85;
}
.hero-photo-caption .caption-meta strong { color: var(--amber); }

.hero-right {
  padding-top: 8px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-eyebrow .marker {
  width: 36px;
  height: 2px;
  background: var(--signal);
}
.hero-eyebrow .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-eyebrow .label strong { color: var(--signal); font-weight: 600; }

.hero-title { margin-bottom: 24px; }
.hero-lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 32px;
}

/* Spec readout — like a parts-ticket data block */
.spec-readout {
  background: var(--paper-soft);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--ink);
  padding: 0;
  margin-bottom: 32px;
}
.spec-readout-head {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.spec-readout-head .stamp {
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 2px 8px;
  font-size: 9.5px;
}
.spec-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px dashed var(--hair);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  align-items: center;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .key {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.spec-row .val {
  color: var(--ink);
  font-weight: 500;
}
.spec-row .val strong { color: var(--signal); }
.spec-row .pip {
  font-size: 10px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-row .pip.ok { background: rgba(74, 122, 61, 0.12); color: var(--green-ok); }

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =============================================================
   Buttons — parts-ticket geometry, thin red border, mono labels
   ============================================================= */
.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1.5px solid var(--signal);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.18s ease;
  cursor: pointer;
  position: relative;
}
.btn::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid var(--hair);
  z-index: -1;
  transition: all 0.18s ease;
}
.btn:hover {
  background: var(--signal);
  color: var(--paper);
  transform: translate(-2px, -2px);
}
.btn:hover::after {
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  border-color: var(--signal-deep);
}
.btn .arrow {
  font-family: monospace;
  font-size: 14px;
  margin-left: auto;
}

.btn-solid {
  background: var(--signal);
  color: var(--paper);
}
.btn-solid:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn-solid:hover::after { border-color: var(--ink-2); }

.btn-ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover {
  background: var(--signal);
  border-color: var(--signal);
}

.btn-ghost {
  background: transparent;
  border-color: var(--hair-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Will-call counter callout under hero (also seen sitewide) */
.hero-counter {
  margin-top: 32px;
  padding: 16px 0 0;
  border-top: 1px dashed var(--hair);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.hero-counter strong { color: var(--ink); font-weight: 600; }
.hero-counter .sep { color: var(--hair-strong); }

/* =============================================================
   Counter strip — stats row separator (years/SKU/yards/delivery)
   ============================================================= */
.counter-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 0;
  border-top: 4px solid var(--amber);
}
.counter-strip-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .counter-strip-inner { grid-template-columns: repeat(2, 1fr); } }
.counter-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--hair-paper);
  position: relative;
}
.counter-cell:last-child { border-right: none; }
@media (max-width: 800px) {
  .counter-cell:nth-child(2n) { border-right: none; }
  .counter-cell:nth-child(-n+2) { border-bottom: 1px solid var(--hair-paper); }
}
.counter-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 12px;
}
.counter-value {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.counter-value .unit {
  font-size: 0.5em;
  color: var(--amber);
  margin-left: 4px;
  font-weight: 500;
}
.counter-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: rgba(244, 240, 232, 0.65);
  margin-top: 8px;
  line-height: 1.4;
}

/* =============================================================
   Section scaffolding
   ============================================================= */
section { padding: 96px 0; position: relative; }
@media (max-width: 800px) { section { padding: 72px 0; } }
.section-tight { padding: 64px 0; }

.section-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}
.section-head .eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head .eyebrow-row .marker {
  width: 36px;
  height: 2px;
  background: var(--signal);
}
.section-head .eyebrow-row .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-head .section-title { max-width: 22ch; }
.section-head .section-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  line-height: 1.5;
}
.section-head .section-meta strong { color: var(--signal); }

/* =============================================================
   Featured-in-stock inventory grid (12 SKU cards)
   ============================================================= */
.inv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
@media (max-width: 1100px) { .inv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .inv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .inv-grid { grid-template-columns: 1fr; } }

.inv-card {
  background: var(--paper);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: background 0.18s;
  position: relative;
}
.inv-card:hover { background: var(--paper-soft); }
.inv-card-photo {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--paper-3), var(--kraft-light)),
    var(--paper-3);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
.inv-card-photo .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.inv-card:hover .inv-card-photo .img { transform: scale(1.04); }
.inv-card-photo .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 42, 71, 0.18));
}
.inv-card-photo .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 4px 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.inv-card-photo .avail {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  padding: 4px 8px;
  border: 1px solid var(--hair-strong);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.inv-card-photo .avail .dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.inv-card-photo .avail.ok { color: var(--green-ok); }
.inv-card-photo .avail.ok .dot { background: var(--green-ok); box-shadow: 0 0 0 2px rgba(74,122,61,0.18); }
.inv-card-photo .avail.low { color: var(--amber-deep); }
.inv-card-photo .avail.low .dot { background: var(--amber); box-shadow: 0 0 0 2px rgba(232,163,23,0.22); }
.inv-card-photo .avail.out { color: var(--red-out); }
.inv-card-photo .avail.out .dot { background: var(--red-out); }

.inv-card-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.inv-card-sku {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 6px;
}
.inv-card-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.inv-card-specs {
  list-style: none;
  margin-bottom: 16px;
}
.inv-card-specs li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  padding: 3px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted var(--hair);
  letter-spacing: 0.02em;
}
.inv-card-specs li:last-child { border-bottom: none; }
.inv-card-specs li strong { color: var(--ink); font-weight: 500; }

.inv-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}
.inv-card-price {
  font-family: 'IBM Plex Serif', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.inv-card-price .per {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 2px;
}
.inv-card-add {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 7px 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.inv-card-add:hover { background: var(--signal); }

/* =============================================================
   Recently rented ticker
   ============================================================= */
.ticker-band {
  background: var(--paper-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.ticker-label {
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--signal);
  padding: 6px 14px;
  margin-left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--paper);
  animation: livepulse 1.4s ease-in-out infinite;
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: tickerScroll 50s linear infinite;
  white-space: nowrap;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ticker-item .ts {
  color: var(--ink-faint);
  font-size: 10.5px;
}
.ticker-item .sku {
  color: var(--signal);
  font-weight: 600;
  font-size: 11px;
}
.ticker-item .yard {
  color: var(--ink-mute);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =============================================================
   Rental categories — table of contents layout
   ============================================================= */
.cat-toc {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .cat-toc { grid-template-columns: 1fr; gap: 32px; }
}
.cat-toc-aside {
  position: sticky;
  top: 130px;
  align-self: start;
}
.cat-toc-aside .h-eyebrow { margin-bottom: 14px; }
.cat-toc-aside p { color: var(--ink-mute); font-size: 14px; max-width: 32ch; }

.cat-list {
  border-top: 1px solid var(--hair-strong);
}
.cat-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
  transition: background 0.15s;
}
.cat-row:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.cat-row-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--signal);
}
.cat-row-body { display: flex; flex-direction: column; gap: 4px; }
.cat-row-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.125rem, 1.5vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.cat-row-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.cat-row-tags {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}
.cat-row-tags span + span::before { content: ' · '; color: var(--hair-strong); }
.cat-row-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.5;
  color: var(--ink-mute);
}
.cat-row-meta .skus { color: var(--ink); font-weight: 600; }
.cat-row-meta .skus::after { content: ' SKUs'; opacity: 0.5; font-weight: 400; }
.cat-row-meta .arrow {
  font-family: monospace;
  font-size: 18px;
  color: var(--signal);
  margin-top: 4px;
}

/* =============================================================
   Yard map / 4 locations grid
   ============================================================= */
.yards {
  background: var(--paper-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.yards-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) { .yards-grid { grid-template-columns: 1fr; gap: 32px; } }

.yard-map {
  background: var(--paper-soft);
  border: 1px solid var(--hair-strong);
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(0deg, transparent 95%, var(--hair) 95%),
    linear-gradient(90deg, transparent 95%, var(--hair) 95%);
  background-size: 40px 40px;
}
.yard-map::before {
  /* Kern county shape suggestion via gradient blob */
  content: '';
  position: absolute;
  top: 12%;
  left: 10%;
  right: 8%;
  bottom: 14%;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201, 183, 156, 0.55), rgba(201, 183, 156, 0.18) 60%, transparent 75%);
  border: 1px dashed var(--hair-strong);
  border-radius: 38% 62% 55% 45% / 50% 45% 55% 50%;
}
.yard-map-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--paper);
  padding: 6px 10px;
  border: 1px solid var(--hair-strong);
}
.yard-map-region {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
}
.yard-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
}
.yard-pin .dot {
  width: 14px;
  height: 14px;
  background: var(--signal);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(179, 58, 46, 0.16);
  position: relative;
}
.yard-pin.hq .dot {
  width: 18px;
  height: 18px;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(20, 42, 71, 0.18);
}
.yard-pin .dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pinpulse 2.4s ease-out infinite;
  border: 2px solid var(--signal);
  opacity: 0;
}
.yard-pin.hq .dot::after { border-color: var(--ink); }
@keyframes pinpulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.yard-pin .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 2px 7px;
  border: 1px solid var(--hair-strong);
  white-space: nowrap;
}
.yard-pin.hq .lbl { background: var(--ink); color: var(--amber); border-color: var(--ink); }

.yards-list { display: flex; flex-direction: column; gap: 16px; }
.yard-card {
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
}
.yard-card.hq { border-color: var(--ink); border-left-width: 3px; }
.yard-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--paper-3);
  line-height: 1;
}
.yard-card.hq .yard-card-num { color: var(--amber); }
.yard-card-body { display: flex; flex-direction: column; gap: 6px; }
.yard-card-name {
  font-family: 'IBM Plex Serif', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.yard-card-name .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 2px 7px;
}
.yard-card-addr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.yard-card-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 4px;
}
.yard-card-phone {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
}
.yard-card-phone .sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--signal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =============================================================
   Account/login CTA panel
   ============================================================= */
.account-cta {
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--amber);
  border-bottom: 4px solid var(--amber);
}
.account-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .account-cta-grid { grid-template-columns: 1fr; gap: 32px; } }
.account-cta-left .h-section { color: var(--paper); }
.account-cta-left .h-section .red { color: var(--amber); }
.account-cta-left p { color: rgba(244, 240, 232, 0.75); }
.account-cta-left .feats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 24px;
}
.account-cta-left .feats li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 232, 0.85);
  padding-left: 18px;
  position: relative;
}
.account-cta-left .feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.account-form {
  background: var(--paper);
  color: var(--ink);
  padding: 32px;
  border: 1px solid var(--amber);
  position: relative;
}
.account-form::before {
  content: 'ACCT';
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--amber);
  color: var(--ink);
  padding: 4px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.account-form-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.account-form-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 22px;
}
.account-form-field {
  margin-bottom: 14px;
}
.account-form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 5px;
}
.account-form-field input,
.account-form-field select {
  width: 100%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  padding: 11px 12px;
  border: 1px solid var(--hair-strong);
  background: var(--paper-soft);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.account-form-field input:focus,
.account-form-field select:focus { border-color: var(--ink); }
.account-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.account-form-helper {
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
}
.account-form-helper a { color: var(--signal); border-bottom: 1px solid var(--signal); }

/* =============================================================
   Editorial split — about/heritage block
   ============================================================= */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1000px) { .editorial { grid-template-columns: 1fr; gap: 40px; } }
.editorial-photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(20, 42, 71, 0.1), rgba(20, 42, 71, 0.45)),
    var(--paper-3);
  background-blend-mode: multiply, normal;
  border: 1px solid var(--hair-strong);
  position: relative;
  overflow: hidden;
}
.editorial-photo .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.editorial-photo .stamp {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--paper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(20, 42, 71, 0.85);
  padding: 10px 14px;
  border-left: 2px solid var(--amber);
}
.editorial-photo .stamp strong { color: var(--amber); font-weight: 600; }
.editorial-body .h-section { margin-bottom: 24px; }
.editorial-body p { font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.editorial-body .pull {
  border-left: 3px solid var(--signal);
  padding: 6px 0 6px 18px;
  margin: 28px 0;
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.editorial-body .pull-attr {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 10px;
  display: block;
}
.editorial-body .pull-attr strong { color: var(--signal); }

/* =============================================================
   Process strip — order/will-call/deliver (3 cells)
   ============================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr; } }
.process-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--hair);
  position: relative;
}
.process-cell:last-child { border-right: none; }
@media (max-width: 800px) {
  .process-cell { border-right: none; border-bottom: 1px solid var(--hair); }
  .process-cell:last-child { border-bottom: none; }
}
.process-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--signal);
  margin-bottom: 14px;
}
.process-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.process-desc {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
}
.process-time {
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px dashed var(--hair);
  display: flex;
  justify-content: space-between;
}
.process-time strong { color: var(--ink); }

/* =============================================================
   FAQ accordion (simple, no JS dependency)
   ============================================================= */
.faq-list { border-top: 1px solid var(--hair-strong); }
.faq-item {
  border-bottom: 1px solid var(--hair);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
}
.faq-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--signal);
}
.faq-body .q {
  font-family: 'IBM Plex Serif', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.faq-body .a {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.faq-body .a + .a { margin-top: 10px; }
@media (max-width: 700px) {
  .faq-item { grid-template-columns: 1fr; gap: 8px; }
}

/* =============================================================
   Final CTA / counter-open band
   ============================================================= */
.final-cta {
  background:
    linear-gradient(135deg, rgba(20, 42, 71, 0.92), rgba(20, 42, 71, 0.78)),
    url('https://images.unsplash.com/photo-1694674818352-f6061a0561a1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1080');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply, normal;
  color: var(--paper);
  padding: 96px 0;
  border-top: 1px solid var(--hair);
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) {
  .final-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}
.final-cta h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.final-cta h2 .amber { color: var(--amber); }
.final-cta p { color: rgba(244, 240, 232, 0.78); max-width: 50ch; font-size: 16px; }
.final-cta-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}
.final-cta-phone {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: -0.015em;
  line-height: 1;
}
.final-cta-phone .sub {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.65);
  margin-top: 8px;
}

/* =============================================================
   Footer — SKU index navigation, like a parts catalog index
   ============================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 28px;
  border-top: 4px solid var(--amber);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand .logo-mark { background: var(--paper); }
.footer-brand .logo-mark::before { border-color: var(--signal); }
.footer-brand .logo-mark span { color: var(--ink); }
.footer-brand .logo-text .name { color: var(--paper); }
.footer-brand .logo-text .tagline { color: rgba(244, 240, 232, 0.6); }
.footer-brand p {
  color: rgba(244, 240, 232, 0.6);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 28ch;
}

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  color: rgba(244, 240, 232, 0.7);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--amber); }
.footer-col .sku-ix {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-col .sku-ix .code {
  color: var(--signal-light);
  font-weight: 600;
  margin-right: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--hair-paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 232, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: rgba(244, 240, 232, 0.65); }
.footer-bottom a:hover { color: var(--amber); }
.footer-bottom .seal {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 240, 232, 0.18);
  padding: 5px 11px;
  font-size: 10px;
}

/* =============================================================
   ABOUT page — heritage tree, family timeline
   ============================================================= */
.about-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--hair);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about-hero h1 { margin-bottom: 24px; }
.about-hero .lead { max-width: 52ch; }
.about-hero-meta {
  border-top: 1px solid var(--hair-strong);
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.about-hero-meta .cell .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.about-hero-meta .cell .v {
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.about-hero-meta .cell .v .unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--signal);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0.08em;
}

/* Timeline (vertical) */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hair-strong);
}
.tl-item {
  position: relative;
  padding-bottom: 44px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--paper);
  border: 2px solid var(--signal);
  border-radius: 50%;
}
.tl-item.major::before {
  background: var(--signal);
  width: 15px;
  height: 15px;
  left: -41px;
}
.tl-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--signal);
  margin-bottom: 6px;
}
.tl-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.tl-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 52ch;
}

/* Team / family card */
.fam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
@media (max-width: 900px) { .fam-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fam-grid { grid-template-columns: 1fr; } }
.fam-card {
  background: var(--paper);
  padding: 28px 26px 24px;
}
.fam-card .gen {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 16px;
}
.fam-card .name {
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.fam-card .role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.fam-card .bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.fam-card .yrs {
  margin-top: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 14px;
  border-top: 1px dashed var(--hair);
}
.fam-card .yrs strong { color: var(--ink); }

/* Stat row for about */
.stat-strip {
  background: var(--paper-2);
  padding: 56px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
}
@media (max-width: 800px) { .stat-strip-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.stat-card { border-left: 3px solid var(--signal); padding-left: 20px; }
.stat-card.amber { border-color: var(--amber); }
.stat-card.ink { border-color: var(--ink); }
.stat-card .val {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.022em;
  margin-bottom: 8px;
}
.stat-card .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   SERVICES page — category deep-dive table layout
   ============================================================= */
.svc-hero {
  padding: 72px 0;
  border-bottom: 1px solid var(--hair);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.svc-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  padding: 72px 0;
  border-bottom: 1px solid var(--hair);
}
@media (max-width: 1000px) { .svc-detail { grid-template-columns: 1fr; gap: 36px; } }
.svc-detail:nth-child(even) { background: var(--paper-2); }

.svc-detail-aside .svc-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--signal);
  margin-bottom: 14px;
}
.svc-detail-aside h2 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.svc-detail-aside h2 .red { color: var(--signal); }
.svc-detail-aside p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.svc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.svc-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--hair-strong);
  padding: 5px 9px;
  background: var(--paper);
}

/* Inventory table for service detail */
.inv-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--hair);
  font-family: 'IBM Plex Mono', monospace;
}
.inv-table thead th {
  background: var(--ink);
  color: var(--amber);
  padding: 12px 14px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.inv-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--hair);
  font-size: 12.5px;
  color: var(--ink-soft);
  vertical-align: top;
}
.inv-table tbody tr:last-child td { border-bottom: none; }
.inv-table tbody tr:hover { background: var(--paper-soft); }
.inv-table .row-sku {
  font-weight: 600;
  color: var(--signal);
  letter-spacing: 0.04em;
}
.inv-table .row-name {
  color: var(--ink);
  font-weight: 500;
  font-family: 'IBM Plex Sans', sans-serif;
}
.inv-table .row-name small {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 3px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.inv-table .row-rate {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.inv-table .row-rate .per {
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 10.5px;
}
.inv-table .row-avail {
  white-space: nowrap;
}
.inv-table .av-pip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.inv-table .av-pip .dot { width: 7px; height: 7px; border-radius: 50%; }
.inv-table .av-pip.ok { color: var(--green-ok); }
.inv-table .av-pip.ok .dot { background: var(--green-ok); }
.inv-table .av-pip.low { color: var(--amber-deep); }
.inv-table .av-pip.low .dot { background: var(--amber); }
.inv-table .av-pip.out { color: var(--red-out); }
.inv-table .av-pip.out .dot { background: var(--red-out); }

/* Delivery/freight info box */
.info-box {
  background: var(--paper-soft);
  border: 1px solid var(--hair-strong);
  border-left: 3px solid var(--amber);
  padding: 22px 24px;
  margin: 56px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.info-box .ico {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 18px;
}
.info-box .body h4 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 18px;
  margin-bottom: 6px;
}
.info-box .body p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }

/* Spacer utility */
.spacer-lg { height: 64px; }
.spacer-md { height: 32px; }
.spacer-sm { height: 16px; }

/* =============================================================
   Misc / responsive polish
   ============================================================= */
@media (max-width: 600px) {
  .hero-photo { aspect-ratio: 1 / 1; }
  .spec-row { grid-template-columns: 110px 1fr auto; gap: 10px; font-size: 11px; }
  .editorial-photo { aspect-ratio: 1 / 1; }
}

::selection {
  background: var(--amber);
  color: var(--ink);
}
