/* ============================================================
   PureBold Trade — design system
   Light mode. Red spent only on action, price and active state.
   Display: Archivo (expanded). Body: Montserrat. Data: IBM Plex Mono.
   ============================================================ */

:root {
  --red: #fd2d2d;
  --red-dark: #d91f1f;
  --red-tint: #fff0f0;
  --ink: #17191e;
  --ink-soft: #2b2f36;
  --slate: #626976;
  --paper: #ffffff;
  --fog: #f4f5f7;
  --line: #e7e9ed;

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(23, 25, 30, 0.05), 0 8px 28px rgba(23, 25, 30, 0.07);
  --shadow-lift: 0 2px 4px rgba(23, 25, 30, 0.06), 0 18px 44px rgba(23, 25, 30, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-weight: 800;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
/* rounded red bar — geometry borrowed from the PB monogram strokes */
.eyebrow::before {
  content: "";
  width: 26px;
  height: 6px;
  border-radius: 3px;
  background: var(--red);
  flex: none;
}

.lede { font-size: 18px; color: var(--slate); max-width: 56ch; }

.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand img { height: 34px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-word em { font-style: normal; color: var(--red); }

.main-nav { display: flex; gap: 26px; margin-left: 8px; }
.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease;
}
.tel-chip:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw, 62px);
  font-stretch: 116%;
  font-weight: 900;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--red); }
.hero .lede { margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta div { font-family: var(--font-mono); }
.hero-meta .num { font-size: 21px; font-weight: 600; color: var(--ink); display: block; }
.hero-meta .lab { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }

/* bento mosaic */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 170px;
  gap: 14px;
}
.bento a { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.bento a:first-child { grid-row: span 2; }
.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bento a:hover img { transform: scale(1.045); }
.bento .tile-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
}
.bento .stat-tile {
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  font-family: var(--font-mono);
}
.bento .stat-tile .num { font-size: 30px; font-weight: 600; line-height: 1.1; }
.bento .stat-tile .lab { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-top: 6px; }

/* ---------- Stock ticker (signature) ---------- */

.manifest {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #e8eaee;
  overflow: hidden;
  position: relative;
}
.manifest::before {
  content: "IN STOCK";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 18px 0 24px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.manifest-track {
  display: flex;
  width: max-content;
  animation: manifest-scroll 55s linear infinite;
  padding: 13px 0;
}
.manifest:hover .manifest-track { animation-play-state: paused; }
.manifest-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
  padding: 0 34px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.manifest-item .p { color: #ff7b7b; }
.manifest-item::after { content: "·"; color: var(--red); margin-left: 34px; font-weight: 700; }
@keyframes manifest-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .manifest-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Sections ---------- */

section.band { padding: 84px 0; }
section.band-fog { background: var(--fog); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}
.section-head h2 { font-size: clamp(28px, 3vw, 38px); }
.section-head .lede { margin-top: 12px; }
.section-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 3px;
  white-space: nowrap;
  flex: none;
}
.section-link:hover { color: var(--red); }

/* ---------- Category tiles ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  grid-column: span 2;
}
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 25, 30, 0) 40%, rgba(23, 25, 30, 0.78) 100%);
}
.cat-card .cat-info { position: relative; z-index: 1; padding: 22px; color: #fff; width: 100%; }
.cat-card .cat-name {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cat-card .cat-name::after { content: "→"; font-size: 18px; transition: transform 0.25s ease; }
.cat-card:hover .cat-name::after { transform: translateX(5px); }
.cat-card .cat-count {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}

/* ---------- Product cards ---------- */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.prod-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.prod-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
  border-color: transparent;
}
.prod-card .ph {
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: var(--fog);
}
.prod-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.prod-card:hover .ph img { transform: scale(1.05); }
.prod-card .pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card .pc-sku { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--slate); }
.prod-card .pc-name { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 16.5px; color: var(--ink); line-height: 1.25; }
.prod-card .pc-spec { font-size: 12.5px; color: var(--slate); }
.prod-card .pc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
}
.prod-card .pc-price { font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--red); }
.prod-card .pc-quote {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.prod-card:hover .pc-quote { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Filter chips (catalogue) ---------- */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); margin-left: auto; }

/* ---------- Split (wholesale) section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split .img-side { border-radius: var(--radius); overflow: hidden; }
.split .img-side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.check-list { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--red);
  margin-top: 9px;
}

/* ---------- Stats strip ---------- */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stat-card .num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.stat-card .num em { font-style: normal; color: var(--red); }
.stat-card .lab {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 8px;
  display: block;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 66px 0 50px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4vw, 52px); font-stretch: 116%; font-weight: 900; margin-bottom: 16px; }
.page-hero .lede { max-width: 62ch; }

/* ---------- Product detail ---------- */

.crumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  padding: 22px 0 0;
}
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 36px 0 84px;
  align-items: start;
}
.pdp-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--fog);
  position: sticky;
  top: 98px;
}
.pdp-img img { width: 100%; aspect-ratio: 1 / 0.95; object-fit: cover; }
.pdp-info .pc-sku { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--slate); }
.pdp-info h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 14px; }
.pdp-price { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--red); }
.pdp-price small { font-size: 13px; color: var(--slate); font-weight: 400; margin-left: 10px; }
.pdp-desc { margin: 22px 0; color: var(--ink-soft); }
.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0 30px; font-size: 14px; }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table td:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  width: 42%;
}
.pdp-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.related { padding-bottom: 90px; }
.related h2 { font-size: 26px; margin-bottom: 28px; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  background: var(--red-tint);
  border: 1.5px solid var(--red);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.form-success.show { display: block; }
.form-success strong { font-family: var(--font-display); font-stretch: 110%; font-size: 18px; display: block; margin-bottom: 6px; }
.form-success p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Quote modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 25, 30, 0.55);
  backdrop-filter: blur(3px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  padding: 34px;
  position: relative;
}
.modal h3 { font-size: 24px; margin-bottom: 6px; }
.modal .modal-sub { font-size: 14px; color: var(--slate); margin-bottom: 24px; }
.modal .modal-sub .mono { color: var(--red); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--fog);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}
.modal-close:hover { background: var(--line); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.info-card .ic-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.info-card a { text-decoration: none; }
.info-card a:hover { color: var(--red); }
.info-card p, .info-card a { font-size: 15.5px; color: var(--ink-soft); }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Process (about) ---------- */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  counter-increment: step;
}
.process-card::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.process-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.process-card p { font-size: 14px; color: var(--slate); }

/* ---------- Prose (legal pages) ---------- */

.prose { max-width: 760px; padding: 50px 0 90px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15px; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  /* oversized PB stroke, ghosted */
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 300px;
  height: 300px;
  border: 44px solid rgba(253, 45, 45, 0.22);
  border-radius: 50%;
}
.cta-banner h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.cta-banner p { color: #b9bec7; font-size: 15.5px; max-width: 48ch; }
.cta-banner .btn { flex: none; position: relative; z-index: 1; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b9bec7;
  margin-top: 90px;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer .brand-word { color: #fff; }
.footer-about { font-size: 14px; margin-top: 16px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a919c;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #d5d9df; text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--red); }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col .mono { font-size: 13px; }
.footer-bottom {
  border-top: 1px solid #2b2f36;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8a919c;
}
.footer-bottom a { color: #8a919c; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; }

/* ---------- Reveal on scroll ---------- */

/* gated behind html.js so content is never hidden without JavaScript */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 1; }
  .cat-card:last-child { grid-column: span 2; }
  .stats-strip, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .pdp-img { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 44px 34px; }

  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    gap: 4px;
  }
  .site-header.nav-open .main-nav a { padding: 12px 2px; border-bottom: none; font-size: 16px; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card .pc-quote { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .stats-strip, .process-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }
  section.band { padding: 60px 0; }
  .bento { grid-auto-rows: 130px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 420px) {
  .prod-grid { grid-template-columns: 1fr; }
  .stats-strip, .process-grid { grid-template-columns: 1fr; }
}
