/* =========================================================
   Kronos Industries — site styles
   Dark industrial theme built around the brand orange cog.
   ========================================================= */

:root {
  /* Color tokens */
  --bg: #0a0c0f;
  --bg-2: #0f1216;
  --surface: #151920;
  --surface-2: #1c2129;
  --surface-3: #242a33;
  --border: #2a313b;
  --border-strong: #3a424e;
  --text: #f2f4f7;
  --text-muted: #a9b1bd;
  --text-faint: #7d8693;
  --brand: #f36523;
  --brand-hi: #ff7d3f;
  --brand-lo: #c84d14;
  --brand-glow: rgba(243, 101, 35, 0.35);
  --on-brand: #140903;
  --success: #3ccf8e;
  --danger: #ff6b6b;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 600ms;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.25);
  --shadow-2: 0 8px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
  --shadow-3: 0 24px 60px rgba(0,0,0,.55);

  /* z-index scale */
  --z-bg: -1; --z-base: 1; --z-header: 40; --z-drawer: 60; --z-modal: 100;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: 3px solid var(--brand-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: var(--s-3); left: var(--s-3); z-index: var(--z-modal);
  background: var(--brand); color: var(--on-brand); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  transform: translateY(-200%); transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--container)); } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 700; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; text-transform: uppercase; text-wrap: balance; }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: 0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 60ch; }
.accent { color: var(--brand); }
.italic-display { font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand);
  margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2); --btn-fg: var(--text); --btn-bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: 999px; font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease,
              transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) ease;
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover { --btn-bd: var(--text-faint); background: var(--surface-3); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-primary { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand); box-shadow: 0 6px 24px -6px var(--brand-glow); }
.btn-primary:hover { background: var(--brand-hi); --btn-bd: var(--brand-hi); box-shadow: 0 10px 32px -6px var(--brand-glow); }
.btn-ghost { --btn-bg: transparent; }
.btn-sm { min-height: 40px; padding: 0 var(--s-4); font-size: 0.9rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* ---------- Background cog layer ---------- */
.gear-bg {
  position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(243,101,35,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(243,101,35,.07), transparent 60%),
    var(--bg);
}
.gear-bg::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
}
.gear-bg svg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); will-change: transform; }
.gear-bg .g-outline { fill: none; stroke: var(--brand); stroke-width: 1.4; }
.gear-bg .g-brand { fill: url(#brandFill); stroke: var(--brand); stroke-width: 1.6; }
.gear-bg .g-hub { fill: none; stroke: var(--brand); stroke-width: 1; stroke-dasharray: 3 7; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: background-color var(--dur) ease, border-color var(--dur) ease, backdrop-filter var(--dur) ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,12,15,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 150px; height: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s-1); }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text-muted);
  border-radius: 999px; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 18px; height: 2px; margin-left: -9px;
  background: var(--brand); border-radius: 2px;
}
.nav-cta { display: none; align-items: center; gap: var(--s-3); }
.nav-phone { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; font-weight: 600; color: var(--text-muted); font-size: .92rem; min-height: 44px; }
.nav-phone:hover { color: var(--text); }
.nav-phone svg { width: 16px; height: 16px; color: var(--brand); }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.nav-links a, .nav-phone { white-space: nowrap; }
@media (min-width: 1100px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle { display: none; }
  .brand img { width: 170px; }
}
@media (max-width: 1279px) { .nav-phone { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer); display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(10,12,15,.97); backdrop-filter: blur(10px);
  padding: 0 16px max(24px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.drawer nav ul { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-1); }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.drawer nav a[aria-current="page"] { color: var(--brand); }
.drawer-foot { display: grid; gap: var(--s-3); }

/* ---------- Sections ---------- */
main { position: relative; z-index: var(--z-base); }
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; gap: var(--s-7); } }
.panel { background: linear-gradient(180deg, rgba(21,25,32,.86), rgba(15,18,22,.92)); border-block: 1px solid var(--border); backdrop-filter: blur(2px); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 64px; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-6); } }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: var(--s-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); color: var(--text-muted); font-size: .92rem; font-weight: 500; }
.hero-badges span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-badges svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* Hero visual: product photo collage in front, smaller interactive cog behind (top-right) */
.hero-visual { position: relative; width: min(100%, 540px); margin-inline: auto; padding-top: 150px; }
.hero-cog-wrap {
  position: absolute; top: -6px; right: -6%; z-index: 0;
  display: grid; place-items: center; aspect-ratio: 1; width: 52%;
}
.hero-photos {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  width: 86%; padding-bottom: 28px; pointer-events: none;
}
.hero-photo {
  position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: var(--surface);
  box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4);
}
.hero-photo:nth-child(even) { transform: translateY(28px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em; color: var(--text);
  background: rgba(10,12,15,.78); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.hero-photo:first-child figcaption { border-color: rgba(243,101,35,.6); }
@media (max-width: 640px) {
  .hero-visual { padding-top: 110px; }
  .hero-cog-hint { top: 18%; right: auto; left: -90%; }
  .hero-cog-wrap { right: 0; }
  .hero-photos { gap: 10px; }
  .hero-photo figcaption { font-size: .72rem; left: 8px; bottom: 8px; padding: 3px 8px; }
}
.hero-cog-wrap::before { /* glow */
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,101,35,.35), rgba(243,101,35,0) 65%);
  filter: blur(20px);
}
.hero-cog {
  position: relative; width: 86%; height: 86%; cursor: grab; touch-action: none; user-select: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) drop-shadow(0 0 30px rgba(243,101,35,.25));
}
.hero-cog:active { cursor: grabbing; }
.hero-cog-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(243,101,35,.28); }
.hero-cog-ring.r2 { inset: 7%; border-style: solid; border-color: rgba(255,255,255,.05); }
.hero-cog-hint {
  position: absolute; top: 34%; right: 100%; z-index: 2;
  display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint);
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(10,12,15,.6);
}
.hero-cog-hint svg { width: 14px; height: 14px; color: var(--brand); }
.rpm { font-variant-numeric: tabular-nums; color: var(--text-muted); min-width: 5.5ch; display: inline-block; text-align: right; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(21,25,32,.7); backdrop-filter: blur(6px); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--s-5); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 900px) {
  .stat { padding: var(--s-6); border-bottom: 0; border-right: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
}
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num .unit { color: var(--brand); }
.stat-label { margin-top: var(--s-2); color: var(--text-muted); font-size: .92rem; }

/* ---------- Value props ---------- */
.values { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.value {
  position: relative; padding: var(--s-6); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
}
.value .num { position: absolute; top: 14px; right: 20px; font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; line-height: 1; color: rgba(255,255,255,.04); }
.icon-box { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(243,101,35,.12); color: var(--brand); border: 1px solid rgba(243,101,35,.28); margin-bottom: var(--s-5); }
.icon-box svg { width: 26px; height: 26px; }
.value h3 { margin-bottom: var(--s-3); }
.value p { color: var(--text-muted); }

/* ---------- Supply grid ---------- */
.supply-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .supply-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } }
@media (min-width: 1024px) { .supply-grid { grid-template-columns: repeat(3, 1fr); } }
.supply-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start;
  padding: var(--s-5); border-radius: var(--radius); background: rgba(21,25,32,.78);
  border: 1px solid var(--border); transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out), background-color var(--dur) ease;
  overflow: hidden;
}
.supply-card::after { /* pointer-follow sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--dur) ease;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(243,101,35,.12), transparent 60%);
}
.supply-card:hover { border-color: rgba(243,101,35,.5); transform: translateY(-2px); background: rgba(28,33,41,.9); }
.supply-card:hover::after { opacity: 1; }
.supply-card .icon-box { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.supply-card .icon-box svg { width: 22px; height: 22px; }
.supply-card h3 { font-size: 1.3rem; margin-bottom: var(--s-1); }
.supply-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.supply-card.cta-card { background: linear-gradient(135deg, var(--brand), var(--brand-lo)); border-color: transparent; color: var(--on-brand); }
.supply-card.cta-card p { color: rgba(20,9,3,.82); }
.supply-card.cta-card .icon-box { background: rgba(20,9,3,.12); border-color: rgba(20,9,3,.2); color: var(--on-brand); }
.supply-card.cta-card a { color: var(--on-brand); font-weight: 700; }

/* ---------- Process ---------- */
.process { display: grid; gap: var(--s-4); counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.step { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.step-num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); }
.step-cog { width: 40px; height: 40px; color: var(--brand); opacity: .9; }
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--text-muted); font-size: .96rem; }
.step strong { color: var(--text); font-weight: 600; }
@media (min-width: 900px) {
  .step:not(:last-child)::after { /* connector */
    content: ""; position: absolute; top: 52px; right: calc(-1 * var(--s-5)); width: var(--s-5); height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 10px);
  }
}

/* ---------- Catalog cards ---------- */
.catalog-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.catalog-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.catalog-card:hover { transform: translateY(-4px); border-color: rgba(243,101,35,.55); box-shadow: var(--shadow-3); }
.catalog-cover { position: relative; aspect-ratio: 750 / 970; overflow: hidden; background: #fff; }
.catalog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.catalog-card:hover .catalog-cover img { transform: scale(1.04); }
.catalog-body { display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-4) var(--s-5); flex: 1; align-content: start; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.catalog-body h3 { font-size: 1.35rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; background: rgba(243,101,35,.12); color: var(--brand-hi); border: 1px solid rgba(243,101,35,.3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill.muted { background: var(--surface-2); color: var(--text-muted); border-color: var(--border); }
.catalog-actions { display: flex; gap: var(--s-2); margin-top: auto; padding-top: var(--s-2); }
.catalog-actions .btn { flex: 1; padding: 0 var(--s-3); }
.catalog-actions .btn-icon { flex: 0 0 auto; width: 44px; padding: 0; }
.card-link::before { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole-card hit area */
.catalog-actions { position: relative; z-index: 1; }

.catalog-toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; margin-bottom: var(--s-6); }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; }
.search input {
  width: 100%; min-height: 48px; padding: 0 var(--s-4) 0 46px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.search input::placeholder { color: var(--text-faint); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(243,101,35,.2); }
.sort-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  min-height: 40px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text-muted); font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: all var(--dur-fast) ease;
}
.chip:hover { color: var(--text); border-color: var(--text-faint); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.empty-state { display: none; text-align: center; padding: var(--s-8) var(--s-4); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--text-muted); }
.empty-state.show { display: block; }
.empty-state h3 { color: var(--text); margin-bottom: var(--s-2); }
.empty-state .btn { margin-top: var(--s-5); }

/* ---------- We source anything ---------- */
.source-card {
  position: relative; overflow: hidden; display: grid; gap: var(--s-6);
  padding: clamp(24px, 5vw, 64px); border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(243,101,35,.16), transparent 65%),
    linear-gradient(180deg, rgba(28,33,41,.92), rgba(15,18,22,.95));
  border: 1px solid var(--border);
}
.source-card::after { /* faint cog watermark */
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -140px; opacity: .06; pointer-events: none;
  background: url("../img/cog.svg") center / contain no-repeat;
}
.source-intro { position: relative; display: grid; gap: var(--s-4); max-width: 760px; }
.source-intro .eyebrow { margin-bottom: 0; }

.quick-ask { position: relative; display: grid; gap: var(--s-3); padding: clamp(16px, 3vw, 28px); border-radius: var(--radius-lg); background: rgba(10,12,15,.6); border: 1px solid var(--border-strong); }
.quick-label { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.quick-row { display: grid; gap: var(--s-3); }
@media (min-width: 720px) { .quick-row { grid-template-columns: 1fr auto; } }
.quick-row input {
  width: 100%; min-height: 56px; padding: 0 var(--s-5); font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 999px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.quick-row input::placeholder { color: var(--text-faint); }
.quick-row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(243,101,35,.2); }
.quick-row .btn { min-height: 56px; }
.quick-help { font-size: .88rem; color: var(--text-faint); }
.quick-examples { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.quick-try { font-size: .88rem; font-weight: 600; color: var(--text-muted); margin-right: 2px; }
.quick-examples .chip { min-height: 36px; font-size: .86rem; }
.quick-examples .chip:hover { border-color: var(--brand); color: var(--text); }

.source-ways { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .source-ways { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.source-ways li { display: flex; gap: var(--s-4); align-items: flex-start; }
.source-ways .icon-box { margin: 0; flex: none; width: 46px; height: 46px; }
.source-ways .icon-box svg { width: 22px; height: 22px; }
.source-ways h3 { font-size: 1.25rem; margin-bottom: var(--s-1); }
.source-ways p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }

/* highlight the RFQ request field when it is pre-filled */
.field.prefilled textarea { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(243,101,35,.18); }

/* ---------- RFQ / Contact ---------- */
.rfq-grid { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .rfq-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); } }
.contact-list { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-3); }
.contact-item { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); border-radius: var(--radius); background: rgba(21,25,32,.7); border: 1px solid var(--border); text-decoration: none; transition: border-color var(--dur) ease, background-color var(--dur) ease; }
a.contact-item:hover { border-color: rgba(243,101,35,.5); background: rgba(28,33,41,.85); }
.contact-item .icon-box { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-item .icon-box svg { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--text-faint); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact-item span { font-weight: 600; overflow-wrap: anywhere; }
.map { margin-top: var(--s-4); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: rgba(21,25,32,.9); border: 1px solid var(--border); box-shadow: var(--shadow-2); }
.form-card h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: var(--s-2); }
.form-card > p { color: var(--text-muted); margin-bottom: var(--s-6); }
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field .req { color: var(--brand); margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 10px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(243,101,35,.2); }
.field .hint { font-size: .82rem; color: var(--text-faint); }
.field .error { display: none; font-size: .85rem; color: var(--danger); font-weight: 600; align-items: center; gap: 6px; }
.field .error svg { width: 14px; height: 14px; flex: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error { display: flex; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); }
.form-foot small { color: var(--text-faint); max-width: 40ch; }
.form-status { display: none; margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--radius); font-weight: 600; align-items: center; gap: var(--s-3); }
.form-status.show { display: flex; }
.form-status.ok { background: rgba(60,207,142,.1); border: 1px solid rgba(60,207,142,.4); color: var(--success); }
.form-status.err { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); color: var(--danger); }
.form-status svg { width: 20px; height: 20px; flex: none; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; }
.error-summary { display: none; margin-bottom: var(--s-5); padding: var(--s-4); border-radius: var(--radius); border: 1px solid rgba(255,107,107,.5); background: rgba(255,107,107,.08); }
.error-summary.show { display: block; }
.error-summary h4 { font-family: var(--font-body); font-size: 1rem; color: var(--danger); margin-bottom: var(--s-2); }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 72px);
  background:
    linear-gradient(110deg, rgba(10,12,15,.95) 35%, rgba(10,12,15,.6)),
    radial-gradient(600px 300px at 90% 120%, rgba(243,101,35,.35), transparent 70%),
    url("../img/gallery/g02.webp") 70% 60% / cover no-repeat;
  border: 1px solid var(--border);
  display: grid; gap: var(--s-5); align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band p { color: var(--text-muted); margin-top: var(--s-3); max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 150px 0 56px; }
.page-hero .lead { margin-top: var(--s-4); }
.breadcrumb { display: flex; gap: var(--s-2); align-items: center; list-style: none; padding: 0; margin: 0 0 var(--s-5); font-size: .88rem; color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: var(--z-base); background: rgba(8,9,12,.94); border-top: 1px solid var(--border); padding: var(--s-8) 0 var(--s-5); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { font-family: var(--font-display); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--s-4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.footer-grid a { color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer-grid a:hover { color: var(--brand); }
.footer-brand img { width: 170px; margin-bottom: var(--s-4); }
.footer-brand p { color: var(--text-muted); max-width: 36ch; font-size: .95rem; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; color: var(--text-faint); font-size: .86rem; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .made svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Marquee of catalogs names */
.ticker { border-block: 1px solid var(--border); background: rgba(10,12,15,.7); overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: var(--s-7); padding: var(--s-4) 0; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: var(--s-7); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: var(--s-4) var(--s-6); padding-inline: 16px; }
  .ticker-track span[aria-hidden="true"] { display: none; }
}
