/* ========================================================================
   LogisticEquip — Industrial Editorial Design System
   ======================================================================== */

/* Reset & Base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Color palette: industrial steel + safety orange */
  --c-ink:        #0B1F33;   /* primary dark (steel navy) */
  --c-ink-soft:   #1A2E42;   /* cards / surfaces on dark */
  --c-steel:      #2A4055;   /* mid-tone steel */
  --c-line:       #D9DDE2;   /* hairline rules */
  --c-line-dark:  #2C3E52;   /* hairline on dark */
  --c-paper:      #F7F5F2;   /* warm off-white */
  --c-paper-2:    #EFEBE5;   /* slightly darker paper */
  --c-white:      #FFFFFF;
  --c-mute:       #6B7280;   /* secondary text */
  --c-accent:     #FF6A1A;   /* safety orange */
  --c-accent-dk:  #E85A0E;
  --c-success:    #1F7A4D;

  /* Typography */
  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  /* Layout */
  --container: 1240px;
  --radius: 4px;
  --shadow-1: 0 1px 2px rgba(11,31,51,0.06), 0 2px 6px rgba(11,31,51,0.04);
  --shadow-2: 0 4px 12px rgba(11,31,51,0.08), 0 12px 36px rgba(11,31,51,0.06);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t-base: 250ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--c-ink); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent); }

button { font: inherit; cursor: pointer; border: 0; background: transparent; }

ul, ol { list-style: none; }

/* Typography ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
}

.eyebrow--ink { color: var(--c-ink); }
.eyebrow--mute { color: var(--c-mute); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--c-steel); }
p.lead { font-size: 1.125rem; line-height: 1.55; color: var(--c-ink); }

strong { color: var(--c-ink); font-weight: 600; }

/* Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--s-9) 0; }
.section--sm { padding: var(--s-7) 0; }
.section--dark { background: var(--c-ink); color: var(--c-paper); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--c-white); }
.section--dark p { color: rgba(247,245,242,0.75); }
.section--paper2 { background: var(--c-paper-2); }

.divider {
  height: 1px;
  background: var(--c-line);
  margin: 0;
}

/* Header / Topbar ------------------------------------------------------- */
.topbar {
  background: var(--c-ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--c-line-dark);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1.5rem;
}

.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--c-accent); }

.topbar__contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.topbar__contact span {
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

.topbar__contact .sep {
  color: rgba(255,255,255,0.3);
  margin: 0 0.25rem;
}

.topbar__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid var(--c-line-dark);
  border-radius: 50%;
  transition: all var(--t-fast);
}

.topbar__social a:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

.topbar__social svg { width: 14px; height: 14px; }

/* Nav header */
.nav {
  background: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-line);
  transition: padding 0.25s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  transition: padding 0.25s ease;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.nav__logo:hover { color: var(--c-ink); }

.nav__logo-mark {
  display: inline-block;
  width: 64px;
  height: 64px;
  background-image: url('../img/logo-mark-dark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: width 0.25s ease, height 0.25s ease;
}

/* Scrolled state — smaller logo, tighter padding */
.nav--scrolled .nav__inner { padding: 0.3rem 0; }
.nav--scrolled .nav__logo-mark {
  width: 36px;
  height: 36px;
}
.nav--scrolled .nav__logo { font-size: 1.1rem; }

/* Mobile: mark height matches the cap-height of the wordmark text.
   At font-size 1.05rem / font-weight 900, Archivo cap-height ≈ 18px.
   Set mark to 22px so it's visually the same height as the capital letters. */
@media (max-width: 768px) {
  .nav__logo {
    font-size: 1.05rem;
    gap: 0.45rem;
  }
  .nav__logo-mark {
    width: 22px;
    height: 22px;
  }
  .nav__inner { padding: 0.55rem 0; }

  /* Scrolled on mobile — even tighter */
  .nav--scrolled .nav__logo-mark { width: 18px; height: 18px; }
  .nav--scrolled .nav__logo { font-size: 0.95rem; }
  .nav--scrolled .nav__inner { padding: 0.35rem 0; }
}

/* When the logo is in a dark context (footer), swap to white variant */
.footer .nav__logo-mark,
.nav__logo--dark .nav__logo-mark {
  background-image: url('../img/logo-mark-white.png');
}

.nav__logo-tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  padding: 0.4rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--c-accent);
  transition: width var(--t-base);
}

.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__link.is-active { color: var(--c-ink); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__dropdown-toggle svg { width: 12px; height: 12px; transition: transform var(--t-fast); }
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 240px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-accent);
  box-shadow: var(--shadow-2);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-base);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: var(--c-ink);
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
}

.nav__dropdown-menu a:hover {
  background: var(--c-paper);
  border-left-color: var(--c-accent);
  color: var(--c-ink);
}

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: 3px;
}

.nav__toggle span {
  width: 18px; height: 2px;
  background: var(--c-ink);
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--c-ink);
}

.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--t-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 16px; height: 16px; transition: transform var(--t-base); }

.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.btn--primary:hover {
  background: var(--c-accent-dk);
  border-color: var(--c-accent-dk);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232,90,14,0.25);
}

.btn--ink {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

.btn--ink:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}

.btn--outline:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn--outline-light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

.btn--lg { padding: 1.1rem 1.75rem; font-size: 1rem; }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--c-ink);
  color: var(--c-white);
  overflow: hidden;
  padding: var(--s-9) 0 var(--s-10);
}

/* Decorative grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,106,26,0.18), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero__content { position: relative; z-index: 2; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--c-accent);
}

.hero h1 {
  color: var(--c-white);
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 800;
}

.hero__desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 32em;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line-dark);
}

.hero__stat-num {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero__stat-num sup { color: var(--c-accent); font-size: 0.5em; vertical-align: top; margin-left: 2px; }

.hero__stat-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Hero visual — diagram of a stack rack built in CSS/SVG */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  background: var(--c-ink-soft);
  border: 1px solid var(--c-line-dark);
  padding: 1.5rem;
  border-radius: 2px;
}

.hero__visual-frame::before {
  content: 'SPEC.01';
  position: absolute;
  top: -10px; left: 1.5rem;
  background: var(--c-ink);
  padding: 0 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--c-accent);
}

.hero__visual-frame::after {
  content: 'PORTABLE STEEL STACK RACK / MOD. R-STX';
  position: absolute;
  bottom: -10px; right: 1.5rem;
  background: var(--c-ink);
  padding: 0 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.hero__visual svg {
  width: 100%;
  height: 100%;
}

/* Hero rack image — real product diagram with annotation overlay */
.hero__rack-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

.hero__visual-frame picture {
  position: absolute;
  inset: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero__annotations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* Marquee ticker -------------------------------------------------------- */
.ticker {
  background: var(--c-accent);
  color: var(--c-ink);
  overflow: hidden;
  border-top: 1px solid var(--c-accent-dk);
  border-bottom: 1px solid var(--c-accent-dk);
  padding: 0.85rem 0;
}

.ticker__track {
  display: flex;
  gap: 3rem;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker__item {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.ticker__item::after {
  content: '✕';
  color: var(--c-ink);
  opacity: 0.5;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Page header (smaller hero for inner pages) ---------------------------- */
.page-head {
  background: var(--c-ink);
  color: var(--c-white);
  padding: var(--s-9) 0 var(--s-7);
  position: relative;
  overflow: hidden;
}

.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-head__inner { position: relative; z-index: 2; }

.page-head h1 { color: var(--c-white); max-width: 18ch; margin: 0.5rem 0 1.25rem; }
.page-head p  { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 56ch; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs span:not(:last-child)::after { content: '/'; margin-left: 0.5rem; color: rgba(255,255,255,0.3); }

/* Section header ------------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: var(--s-7);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
}

.section-head__num {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--c-accent);
}

.section-head__title { margin-top: 0.5rem; }
.section-head__desc  { color: var(--c-steel); max-width: 56ch; }

/* USP / features grid -------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}

.feature {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-white);
  position: relative;
  transition: background var(--t-base);
}

.feature:hover { background: var(--c-paper-2); }

.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--c-accent);
  transition: width var(--t-base);
}

.feature:hover::before { width: 100%; }

.feature__num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--c-mute);
  margin-bottom: 1.5rem;
}

.feature__icon {
  width: 56px; height: 56px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-paper-2);
  border-radius: 3px;
  color: var(--c-accent);
}

.feature:hover .feature__icon {
  background: var(--c-ink);
}

.feature__icon svg { width: 28px; height: 28px; }

.feature__title { margin-bottom: 0.75rem; }
.feature__desc  { color: var(--c-steel); font-size: 0.95rem; }

/* Diagram variant — uses real rack illustrations instead of icons */
.feature-grid--diagrams .feature {
  display: flex;
  flex-direction: column;
}

.feature__diagram {
  background: var(--c-paper-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  height: 280px;
  position: relative;
  overflow: hidden;
  transition: background var(--t-base);
}

.feature:hover .feature__diagram {
  background: #EAE6DE;
}

.feature__diagram picture {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.feature__diagram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.feature:hover .feature__diagram img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* Product cards -------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-ink);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  background: var(--c-paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__media svg {
  width: 70%; height: 70%;
}

/* Photo variant — uses real warehouse photos */
.product-card__media--photo {
  background: var(--c-ink);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.product-card__media--photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: brightness(0.92);
}

.product-card:hover .product-card__media--photo img {
  transform: scale(1.03);
  filter: brightness(1);
}

/* Photo gallery grid -------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.photo-grid__item {
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-ink);
  height: 280px;
}

.photo-grid__item--wide {
  grid-column: span 2;
  height: 380px;
}

.photo-grid__item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.photo-grid__item:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

/* Photo mosaic — uniform small tiles, 4-column grid ------------------- */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}

.photo-mosaic__item {
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-ink);
  aspect-ratio: 4 / 3;
}

.photo-mosaic__item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.88);
}

.photo-mosaic__item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

@media (max-width: 900px) {
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid__item,
  .photo-grid__item--wide { grid-column: span 1; height: 240px; }
}

/* Diagram variant — uses the real rack PNG/WebP */
.product-card__media--diagram {
  background: linear-gradient(135deg, var(--c-paper-2) 0%, #E8E2DA 100%);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media--diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,31,51,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,51,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.product-card__media--diagram picture {
  display: block;
  height: 100%;
  position: relative;
  z-index: 2;
}

.product-card__media--diagram img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(11,31,51,0.1));
}

/* Color swatch inside tag pill */
.tag-swatch {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.15);
  margin-right: 0.4rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Two-col diagram media (used on "why used" section) */
.two-col__media--diagram,
.two-col__media--diagram-light {
  background: linear-gradient(135deg, var(--c-paper-2) 0%, #E8E2DA 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* Light variant for use over already-light sections */
.two-col__media--diagram-light {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
}

.two-col__media--diagram::before,
.two-col__media--diagram-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,31,51,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,51,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.two-col__media--diagram picture,
.two-col__media--diagram-light picture {
  display: block;
  height: 100%;
  max-height: 480px;
  position: relative;
  z-index: 2;
}

.two-col__media--diagram img,
.two-col__media--diagram-light img {
  height: 100%;
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 12px rgba(11,31,51,0.12));
}

/* Two-col photo variant — real warehouse photos */
.two-col__media--photo {
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-ink);
  min-height: 360px;
}

.two-col__media--photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.two-col__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

.two-col__media--photo:hover img { filter: brightness(1); }
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
}

.product-card__badge--new   { background: var(--c-success); }
.product-card__badge--used  { background: var(--c-ink); }
.product-card__badge--rental{ background: var(--c-accent); }

.product-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.product-card__spec {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-mute);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-card__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--c-ink);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.tag {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  background: var(--c-paper-2);
  color: var(--c-steel);
  border-radius: 2px;
}

.product-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__cta-link {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card__cta-link:hover { color: var(--c-accent); }
.product-card__cta-link:hover svg { transform: translateX(3px); }
.product-card__cta-link svg { width: 14px; height: 14px; transition: transform var(--t-fast); }

.product-card__price {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--c-mute);
}

/* Two-column content ---------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col--reverse > :first-child { order: 2; }

.two-col__media {
  aspect-ratio: 4 / 3;
  background: var(--c-ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.two-col__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.two-col__media svg { width: 75%; height: 75%; position: relative; z-index: 2; }

.two-col__list {
  margin: 1.5rem 0;
}

.two-col__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
}

.two-col__list li:last-child { border-bottom: 0; }

.two-col__list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23FF6A1A' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M3 9.5l4 4 8-9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* Spec table ----------------------------------------------------------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

.spec-table thead th {
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.85rem 1.25rem;
}

.spec-table tbody tr:hover { background: var(--c-paper-2); }

.spec-table td:first-child {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--c-ink);
}

.spec-wrap {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  overflow: hidden;
}

/* CTA strip ------------------------------------------------------------ */
.cta-strip {
  background: var(--c-ink);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,106,26,0.2), transparent 65%);
  pointer-events: none;
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: var(--s-8) 0;
  position: relative;
  z-index: 2;
}

.cta-strip h2 { color: var(--c-white); }
.cta-strip p  { color: rgba(255,255,255,0.75); margin: 1rem 0 0; }

.cta-strip__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.cta-strip__phone {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.cta-strip__phone a {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--c-accent);
  letter-spacing: -0.01em;
  margin-top: 0.25rem;
}

/* Blog cards ----------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.post-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.post-card__media {
  aspect-ratio: 16 / 9;
  background: var(--c-ink);
  position: relative;
  overflow: hidden;
}

.post-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.post-card__media svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50%; height: 50%;
}

/* Photo variant — real blog hero images in post cards */
.post-card__media--photo {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.post-card__media--photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.post-card__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__media--photo img {
  transform: scale(1.04);
}

.post-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.post-card__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 0.75rem;
}

.post-card__meta .cat { color: var(--c-accent); }

.post-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-accent); }

.post-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.post-card__read {
  margin-top: auto;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.post-card__read svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.post-card__read:hover svg { transform: translateX(3px); }

/* Article (single post) ------------------------------------------------ */
.article {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.article__body { max-width: 70ch; }

.article__body h2 {
  font-size: 1.85rem;
  margin: 2.5rem 0 1rem;
}

.article__body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.article__body p { margin-bottom: 1.25rem; line-height: 1.75; }

.article__body ul,
.article__body ol { margin: 0 0 1.25rem 1.5rem; }

.article__body ul li,
.article__body ol li { margin-bottom: 0.5rem; color: var(--c-steel); }

.article__body ul { list-style: none; margin-left: 0; }
.article__body ul li {
  position: relative;
  padding-left: 1.5rem;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 2px;
  background: var(--c-accent);
}

.article__body ol { counter-reset: list; list-style: none; margin-left: 0; }
.article__body ol li {
  counter-increment: list;
  position: relative;
  padding-left: 2.25rem;
}
.article__body ol li::before {
  content: counter(list, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-accent);
  font-weight: 600;
}

.article__body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--f-display);
  font-size: 1.35rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--c-ink);
  background: var(--c-paper-2);
}

.article__meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mute);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--c-line);
}

.article__meta .cat { color: var(--c-accent); }

.article__sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-block {
  border: 1px solid var(--c-line);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-block h4 {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-line);
}

.sidebar-block ul li {
  padding: 0.5rem 0;
}

.sidebar-block ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
}

.sidebar-block--cta {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

.sidebar-block--cta h4 { color: var(--c-accent); border-color: var(--c-line-dark); }
.sidebar-block--cta p  { color: rgba(255,255,255,0.75); margin: 0.5rem 0 1.25rem; font-size: 0.9rem; }

/* Form ----------------------------------------------------------------- */
.form {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__group--full { grid-column: 1 / -1; }

.form__label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
  font-weight: 500;
}

.form__label .req { color: var(--c-accent); }

.form__input,
.form__select,
.form__textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 0.85rem 1rem;
  border-radius: 2px;
  width: 100%;
  transition: all var(--t-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: 0;
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(11,31,51,0.08);
}

.form__textarea { resize: vertical; min-height: 130px; }

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B1F33' stroke-width='1.5'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.form__radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.form__radio {
  position: relative;
}

.form__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form__radio label {
  display: block;
  padding: 0.95rem 1rem;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  text-align: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
  border-radius: 2px;
}

.form__radio input:checked + label {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

.form__radio label:hover { border-color: var(--c-ink); }

.form__hint {
  font-size: 0.8rem;
  color: var(--c-mute);
}

.form__submit {
  margin-top: 0.5rem;
  justify-self: start;
}

.form__status {
  padding: 1rem 1.25rem;
  border-radius: 2px;
  font-size: 0.95rem;
  display: none;
}

.form__status--success {
  background: rgba(31,122,77,0.1);
  border-left: 3px solid var(--c-success);
  color: var(--c-success);
}

.form__status--error {
  background: rgba(232,90,14,0.1);
  border-left: 3px solid var(--c-accent-dk);
  color: var(--c-accent-dk);
}

.form__status.is-active { display: block; }

/* Contact panel sidebar */
.contact-aside {
  background: var(--c-ink);
  color: var(--c-white);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-aside::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,106,26,0.2), transparent 60%);
}

.contact-aside > * { position: relative; z-index: 2; }

.contact-aside h3 { color: var(--c-white); margin-bottom: 1rem; }
.contact-aside p  { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

.contact-aside__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--c-line-dark);
}

.contact-aside__label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.4rem;
}

.contact-aside__value a {
  color: var(--c-white);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
}

.contact-aside__value a:hover { color: var(--c-accent); }

/* FAQ accordion -------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--c-line);
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-ink);
  transition: color var(--t-fast);
}

.faq__q:hover { color: var(--c-accent); }

.faq__q-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  position: relative;
  background: var(--c-paper-2);
  border-radius: 2px;
  transition: all var(--t-base);
}

.faq__q-icon::before,
.faq__q-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--c-ink);
  transition: all var(--t-base);
}

.faq__q-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__q-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }

.faq__item.is-open .faq__q-icon { background: var(--c-accent); }
.faq__item.is-open .faq__q-icon::before,
.faq__item.is-open .faq__q-icon::after { background: var(--c-white); }
.faq__item.is-open .faq__q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}

.faq__a-inner {
  padding: 0 0 1.5rem;
  max-width: 75ch;
  color: var(--c-steel);
}

.faq__item.is-open .faq__a { max-height: 500px; }

/* Footer --------------------------------------------------------------- */
.footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.7);
  padding: var(--s-8) 0 var(--s-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-line-dark);
}

.footer__brand p {
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  max-width: 36ch;
}

.footer__heading {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer__links li { margin-bottom: 0.7rem; }
.footer__links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}
.footer__links a:hover { color: var(--c-accent); }

.footer__contact li {
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.footer__contact a { color: rgba(255,255,255,0.85); }
.footer__contact a:hover { color: var(--c-accent); }

.footer__contact .label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.15rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

.footer__bottom a { color: rgba(255,255,255,0.7); }
.footer__bottom a:hover { color: var(--c-accent); }

/* Utility -------------------------------------------------------------- */
.center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 2rem; }
.mt-6 { margin-top: 2rem; }

.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Reveal animation ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col--reverse > :first-child { order: 0; }
  .article { grid-template-columns: 1fr; }
  .article__sidebar { position: static; }
  .cta-strip__inner { grid-template-columns: 1fr; }
  .cta-strip__actions { align-items: flex-start; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  .topbar__inner { flex-direction: column; gap: 0.6rem; padding: 0.75rem 0; }
  .topbar__contact { gap: 0.5rem 1rem; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 88%; max-width: 360px;
    height: 100vh;
    background: var(--c-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--t-base);
    box-shadow: var(--shadow-2);
    z-index: 200;
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-line);
    font-size: 1.05rem;
  }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-top: 0;
    box-shadow: none;
    padding-left: 1rem;
    min-width: 0;
  }
  .nav__toggle { display: inline-flex; }

  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,31,51,0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base);
  }
  .nav__overlay.is-open { opacity: 1; visibility: visible; }

  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: var(--s-7) 0; }
  .hero { padding: var(--s-7) 0 var(--s-8); }
  .hero__stats { grid-template-columns: 1fr; gap: 1rem; }
  .form { padding: 1.5rem; }
  .form__row { grid-template-columns: 1fr; }
  .form__radio-group { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Reduce motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Inventory table ----------------------------------------------------- */
.inventory {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.inventory__header {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr 0.8fr 0.9fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* 3-column variant — used when quantity & FOB columns are removed */
.inventory__header--3col,
.inventory__header--3col ~ .inventory__row {
  grid-template-columns: 1.6fr 1.1fr 1fr 0.9fr;
}

.inventory__row {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr 0.8fr 0.9fr;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  align-items: center;
  border-top: 1px solid var(--c-line);
  transition: background var(--t-fast);
}

.inventory__row:hover { background: var(--c-paper-2); }

.inventory__sku {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.inventory__sku-note {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-top: 2px;
}

.inventory__qty {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-ink);
}

.inventory__qty--high { color: var(--c-success); }
.inventory__qty--low  { color: var(--c-accent); }

.inventory__cell {
  font-size: 0.9rem;
  color: var(--c-steel);
}

.inventory__cell--mono {
  font-family: var(--f-mono);
  font-size: 0.82rem;
}

.inventory__swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.inventory__swatch::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 2px;
  background: var(--swatch, var(--c-mute));
  border: 1px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.inventory__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-success);
}

.inventory__status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-success);
  animation: pulse 2s ease-in-out infinite;
}

/* Availability tier variants */
.inventory__status--high    { color: var(--c-success); }
.inventory__status--high::before    { background: var(--c-success); }

.inventory__status--mid     { color: #B68119; }
.inventory__status--mid::before     { background: #B68119; }

.inventory__status--low     { color: var(--c-accent); }
.inventory__status--low::before     { background: var(--c-accent); }

.inventory__status--inquire { color: var(--c-mute); }
.inventory__status--inquire::before { background: var(--c-mute); animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.inventory__cta {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  background: var(--c-white);
  transition: all var(--t-fast);
  white-space: nowrap;
  justify-self: end;
}

.inventory__cta:hover {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

.inventory__cta svg { width: 12px; height: 12px; }

.inventory__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--c-paper-2);
  border-top: 1px solid var(--c-line);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.inventory__summary strong {
  color: var(--c-ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .inventory__header { display: none; }
  .inventory__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    padding: 1.25rem 1.25rem;
  }
  .inventory__header--3col ~ .inventory__row {
    grid-template-columns: 1fr 1fr;
  }
  .inventory__row > * { font-size: 0.85rem; }
  .inventory__sku { grid-column: 1 / -1; font-size: 1.1rem; margin-bottom: 0.25rem; }
  .inventory__qty::before { content: 'Qty: '; color: var(--c-mute); font-weight: 400; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .inventory__swatch::after { content: attr(data-color-label); }
  .inventory__cell--fob::before { content: 'FOB: '; color: var(--c-mute); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .inventory__cta { grid-column: 1 / -1; justify-self: stretch; justify-content: center; margin-top: 0.5rem; }
  .inventory__status { font-size: 0.7rem; }
  .inventory__summary { flex-direction: column; gap: 0.5rem; padding: 1.25rem; }
}

/* Featured strip — slightly more compact card variant */
.product-grid--compact { grid-template-columns: repeat(4, 1fr); }
.product-grid--compact .product-card__body { padding: 1.1rem; }
.product-grid--compact .product-card__title { font-size: 1.05rem; }
.product-grid--compact .product-card__media { aspect-ratio: 5/3; }

@media (max-width: 1024px) {
  .product-grid--compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid--compact { grid-template-columns: 1fr; }
}

/* HubSpot form override ------------------------------------------------
   The form is rendered by HubSpot's JS embed and dropped inside the
   .hs-form-frame container. HubSpot ships its own styling; the rules below
   force it to inherit the industrial navy/orange look from the rest of the
   site. Rules use plenty of specificity because HubSpot's inline styles
   are stubborn, and the iframe (if HubSpot renders one) can't be styled,
   so we target the inline embed mode that the modern v2 script produces.
   ---------------------------------------------------------------------- */

.hs-form-frame {
  font-family: var(--f-body) !important;
  color: var(--c-ink) !important;
  width: 100%;
  max-width: 100%;
}

/* Loading state — show a subtle skeleton while the embed JS bootstraps */
.hs-form-frame:empty {
  min-height: 480px;
  background:
    linear-gradient(90deg, transparent, rgba(11,31,51,0.04), transparent) no-repeat,
    var(--c-white);
  background-size: 200% 100%;
  background-position: -100% 0;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  animation: hs-shimmer 1.6s ease-in-out infinite;
  position: relative;
}

.hs-form-frame:empty::after {
  content: 'Loading quote form…';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
}

@keyframes hs-shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Once HubSpot renders, give the inner form a card look matching .form */
.hs-form-frame .hs-form,
.hs-form-frame form {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 2.5rem;
  border-radius: 2px;
  display: grid;
  gap: 1.25rem;
}

/* Field rows */
.hs-form-frame .hs-form-field {
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Labels */
.hs-form-frame label,
.hs-form-frame .hs-form-field > label {
  font-family: var(--f-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--c-ink) !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}

.hs-form-frame .hs-form-required {
  color: var(--c-accent) !important;
  margin-left: 0.25rem;
}

/* Inputs, selects, textareas */
.hs-form-frame input[type="text"],
.hs-form-frame input[type="email"],
.hs-form-frame input[type="tel"],
.hs-form-frame input[type="number"],
.hs-form-frame input[type="url"],
.hs-form-frame select,
.hs-form-frame textarea {
  font-family: var(--f-body) !important;
  font-size: 1rem !important;
  color: var(--c-ink) !important;
  background: var(--c-white) !important;
  border: 1px solid var(--c-line) !important;
  padding: 0.85rem 1rem !important;
  border-radius: 2px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: none !important;
  transition: all var(--t-fast);
  line-height: 1.4;
}

.hs-form-frame input:focus,
.hs-form-frame select:focus,
.hs-form-frame textarea:focus {
  outline: 0 !important;
  border-color: var(--c-ink) !important;
  box-shadow: 0 0 0 3px rgba(11,31,51,0.08) !important;
}

.hs-form-frame textarea {
  resize: vertical !important;
  min-height: 130px !important;
}

.hs-form-frame select {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B1F33' stroke-width='1.5'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px !important;
  padding-right: 2.5rem !important;
}

/* Checkboxes and radios */
.hs-form-frame input[type="checkbox"],
.hs-form-frame input[type="radio"] {
  accent-color: var(--c-accent);
  width: 18px; height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.hs-form-frame ul.inputs-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hs-form-frame ul.inputs-list li {
  margin: 0.5rem 0 !important;
}

.hs-form-frame ul.inputs-list label {
  font-family: var(--f-body) !important;
  font-size: 0.95rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-weight: 400 !important;
  color: var(--c-ink) !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem;
}

/* Submit button */
.hs-form-frame .hs-submit,
.hs-form-frame .hs_submit {
  margin-top: 0.5rem !important;
}

.hs-form-frame input[type="submit"],
.hs-form-frame button[type="submit"],
.hs-form-frame .hs-button {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border: 2px solid var(--c-accent) !important;
  border-radius: 2px !important;
  padding: 1.1rem 1.75rem !important;
  cursor: pointer;
  transition: all var(--t-base) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  width: auto !important;
}

.hs-form-frame input[type="submit"]:hover,
.hs-form-frame button[type="submit"]:hover,
.hs-form-frame .hs-button:hover {
  background: var(--c-accent-dk) !important;
  border-color: var(--c-accent-dk) !important;
  color: var(--c-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232,90,14,0.25);
}

/* Error states */
.hs-form-frame .hs-error-msgs,
.hs-form-frame .hs-error-msg {
  list-style: none !important;
  padding: 0 !important;
  margin: 0.35rem 0 0 !important;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--c-accent-dk) !important;
}

.hs-form-frame .invalid.error,
.hs-form-frame input.invalid,
.hs-form-frame textarea.invalid,
.hs-form-frame select.invalid {
  border-color: var(--c-accent) !important;
  background: rgba(232,90,14,0.04) !important;
}

/* Success / thank-you message after submit */
.hs-form-frame .submitted-message,
.hs-form-frame .hs-submitted-message {
  background: var(--c-white) !important;
  border: 1px solid var(--c-line) !important;
  border-left: 4px solid var(--c-success) !important;
  padding: 2rem 2.5rem !important;
  font-family: var(--f-body) !important;
  font-size: 1.05rem !important;
  color: var(--c-ink) !important;
  border-radius: 2px;
}

.hs-form-frame .submitted-message h1,
.hs-form-frame .submitted-message h2,
.hs-form-frame .submitted-message h3 {
  font-family: var(--f-display) !important;
  color: var(--c-ink) !important;
  margin-bottom: 0.75rem !important;
}

/* Help text under fields */
.hs-form-frame .hs-field-desc,
.hs-form-frame legend {
  font-size: 0.8rem !important;
  color: var(--c-mute) !important;
  margin-top: 0.25rem;
}

/* Multi-column rows on wider screens (HubSpot uses .form-columns-2 etc.) */
.hs-form-frame .form-columns-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hs-form-frame .form-columns-2 > .hs-form-field {
  width: auto !important;
  float: none !important;
}

@media (max-width: 600px) {
  .hs-form-frame .form-columns-2 { grid-template-columns: 1fr; }
  .hs-form-frame .hs-form,
  .hs-form-frame form { padding: 1.5rem; }
}

/* HubSpot wrapper resets */
.hs-form-frame .hs-richtext,
.hs-form-frame .hs-richtext p {
  font-family: var(--f-body) !important;
  color: var(--c-steel) !important;
  font-size: 0.95rem;
}

.hs-form-frame .legal-consent-container {
  font-size: 0.85rem !important;
  color: var(--c-mute) !important;
  margin-top: 1rem;
}

/* Print ---------------------------------------------------------------- */
@media print {
  .topbar, .nav, .footer, .cta-strip, .ticker { display: none; }
}
