/* ==========================================================================
   IANZAI — design system
   Industrial glass: graphite surfaces, hairline rules, molten-amber accent,
   monospaced numbers for anything a buyer might put in a spreadsheet.
   ========================================================================== */

:root {
  --ink-950: #070809;
  --ink-900: #0a0c10;
  --ink-850: #0e1116;
  --ink-800: #12161c;
  --ink-700: #171c24;

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --chalk: #edeff2;
  --mist: #a3aab5;
  --dim: #6e7683;

  --amber: #ff8a3c;
  --amber-soft: #ffb173;
  --amber-deep: #e06a1c;
  --steel: #9db6ce;
  --mint: #3dd68c;
  --alert: #ff6b6b;

  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 260ms;

  --radius: 16px;
  --radius-sm: 10px;
  --shell: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* [hidden] must beat any component display rule — mobile nav, RFQ count and the
   success panel all rely on it. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fixed atmosphere: a faint engineering grid + two light sources. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 45% at 78% -5%, rgba(255, 138, 60, 0.13), transparent 60%),
    radial-gradient(50% 40% at 8% 12%, rgba(120, 160, 210, 0.09), transparent 60%),
    linear-gradient(180deg, #08090b 0%, #070809 60%, #060708 100%);
  pointer-events: none;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(255, 138, 60, 0.3);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--amber);
  color: #0a0a0a;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
}

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

/* ------------------------------------------------------------------ type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.eyebrow span {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.lede {
  color: var(--mist);
  font-size: 17px;
  line-height: 1.7;
  max-width: 58ch;
}

.muted {
  color: var(--dim);
  font-size: 13px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: -0.01em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-soft);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 138, 60, 0.3);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.text-link:hover {
  color: #fff;
  border-color: #fff;
}
.text-link svg {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 9, 0.74);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
  background: rgba(7, 8, 9, 0.92);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--amber);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-size: 15px;
  letter-spacing: 0.24em;
  font-weight: 500;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: 30px;
  margin-right: auto;
}
.main-nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--mist);
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.main-nav a:hover {
  color: var(--chalk);
}
.main-nav a.is-active {
  color: var(--chalk);
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.cart-link:hover {
  color: var(--chalk);
}
.cart-link svg {
  width: 18px;
  height: 18px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--amber);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--chalk);
  transition: transform var(--dur) var(--ease);
}
.nav-toggle span:first-child {
  top: 16px;
}
.nav-toggle span:last-child {
  top: 22px;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 12px 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(7, 8, 9, 0.98);
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-size: 15px;
}
.mobile-nav a:last-child {
  color: var(--amber);
  border-bottom: 0;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 180ms var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: linear-gradient(100deg, var(--amber) 0%, #ffb066 100%);
  color: #140c05;
  box-shadow: 0 10px 30px -12px rgba(255, 138, 60, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -14px rgba(255, 138, 60, 0.7);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--chalk);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(255, 138, 60, 0.5);
  color: #fff;
  background: rgba(255, 138, 60, 0.06);
}
.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 12.5px;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -260px;
  background: radial-gradient(circle, rgba(255, 138, 60, 0.16), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.99;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero .lede {
  margin-top: 24px;
  max-width: 50ch;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.hero-stats dd {
  font-size: 14.5px;
  color: var(--chalk);
  font-family: var(--font-mono);
}

/* blueprint panel */
.blueprint-panel {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 55%),
    radial-gradient(120% 90% at 70% 0%, rgba(255, 138, 60, 0.09), transparent 55%), #0b0e13;
  padding: 16px;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  transition: transform 700ms var(--ease);
}
.blueprint-panel:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.panel-head,
.panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  padding: 4px 6px;
}
.panel-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.panel-foot {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 2px;
}
.panel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  align-self: center;
}
.panel-head span:nth-child(2) {
  flex: 1;
  margin-left: 8px;
  color: var(--mist);
}
.panel-live {
  color: var(--amber);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(12, 15, 20, 0.86);
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  box-shadow: 0 18px 40px -22px #000;
}
.float-chip span {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.float-chip strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--chalk);
}
.float-chip small {
  font-size: 10px;
  color: var(--dim);
}
.chip-a {
  left: -26px;
  bottom: 74px;
}
.chip-b {
  right: -22px;
  top: 64px;
}

/* --------------------------------------------------------------- trust */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust-item {
  background: #08090b;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trust-item strong {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--chalk);
  font-weight: 500;
}
.trust-item span {
  font-size: 12px;
  color: var(--dim);
}

/* -------------------------------------------------------------- sections */

.section {
  padding: 96px 0;
}
.section-alt {
  background: rgba(255, 255, 255, 0.017);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--mist);
  max-width: 62ch;
}
.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}
.section-head.split p {
  padding-bottom: 6px;
}

/* category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.category-card {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    background var(--dur) var(--ease);
  min-height: 190px;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  border-color: rgba(255, 138, 60, 0.42);
  transform: translateY(-3px);
  background: linear-gradient(160deg, rgba(255, 138, 60, 0.07), rgba(255, 255, 255, 0.012));
}
.category-count {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}
.category-card h3 {
  font-size: 22px;
  margin: 14px 0 8px;
}
.category-card p {
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.category-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.category-go svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur) var(--ease);
}
.category-card:hover .category-go svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------- moq explainer */

.moq-demo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.moq-table-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  padding: 10px 10px 0;
  overflow: hidden;
}
.moq-head,
.moq-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.moq-head {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}
.moq-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--mist);
}
.moq-row span:last-child {
  text-align: right;
  color: var(--chalk);
}
.moq-row.is-hot {
  background: rgba(255, 138, 60, 0.09);
  color: var(--chalk);
  border-left: 2px solid var(--amber);
  padding-left: 14px;
}
.moq-foot {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.65;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-left: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  transform: rotate(-45deg);
}
.check-list strong {
  color: var(--chalk);
  font-weight: 500;
}
.check-list.compact {
  gap: 10px;
  margin-top: 18px;
}
.check-list.compact li {
  font-size: 13.5px;
}

/* ------------------------------------------------------------ product card */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-card:hover {
  border-color: rgba(255, 138, 60, 0.4);
  transform: translateY(-4px);
}
.card-media {
  position: relative;
  display: block;
  background:
    radial-gradient(90% 80% at 50% 20%, rgba(120, 150, 185, 0.12), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px), #0a0d11;
  background-size: auto, 22px 22px, 22px 22px, auto;
  border-bottom: 1px solid var(--line);
  padding: 8px;
}
.card-media .art {
  display: block;
  width: 100%;
  height: auto;
}
.card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}
.moq-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--chalk);
  background: rgba(10, 13, 17, 0.86);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 9px;
  backdrop-filter: blur(8px);
}
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-kicker {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.9;
}
.card-body h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 9px 0 8px;
  letter-spacing: -0.01em;
}
.card-body h3 a:hover {
  color: var(--amber-soft);
}
.card-summary {
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.price-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}
.price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--chalk);
  display: block;
  margin: 2px 0;
}
.price .per {
  font-size: 10px;
  color: var(--dim);
  margin-left: 2px;
}
.price-note {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dim);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease);
}
.product-card:hover .card-link svg {
  transform: translateX(3px);
  color: var(--amber);
}

/* ------------------------------------------------------------- capability */

.capability-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.capability-copy h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  margin-bottom: 18px;
}
.capability-copy p {
  color: var(--mist);
  margin-bottom: 26px;
}
.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  padding-top: 3px;
}
.process-list strong {
  font-weight: 500;
  font-size: 15px;
}
.process-list p {
  color: var(--dim);
  font-size: 13px;
  margin-top: 4px;
}

/* ---------------------------------------------------------------- quality */

.quality-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 140% at 15% 0%, rgba(255, 138, 60, 0.1), transparent 55%), #080a0d;
  padding: 56px 0;
}
.quality-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.quality-inner h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}
.quality-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.quality-numbers > div {
  border-left: 1px solid var(--line-2);
  padding-left: 16px;
}
.quality-numbers dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.quality-numbers dd {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--chalk);
  margin: 6px 0 2px;
}
.quality-numbers span {
  font-size: 11px;
  color: var(--dim);
}

/* -------------------------------------------------------------------- cta */

.cta-section {
  padding: 72px 0 96px;
}
.cta-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border: 1px solid rgba(255, 138, 60, 0.28);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(255, 138, 60, 0.1), rgba(255, 255, 255, 0.02) 55%),
    #0a0c10;
}
.cta-card h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 12px;
}
.cta-card p {
  color: var(--mist);
  max-width: 58ch;
  font-size: 14px;
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: none;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 26px;
  background: #060708;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p {
  color: var(--dim);
  font-size: 13px;
  margin-top: 18px;
  max-width: 34ch;
  line-height: 1.7;
}
.footer-standards {
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.16em;
  color: var(--mist) !important;
  margin-top: 16px !important;
}
.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid li,
.footer-grid li a {
  font-size: 13px;
  color: var(--mist);
}
.footer-grid li a:hover {
  color: var(--amber-soft);
}
.footer-contact li {
  line-height: 1.6;
}
.footer-contact li:first-child a {
  color: var(--chalk);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--dim);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- page head */

.page-head {
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-head-tight {
  padding-bottom: 36px;
}
.page-head h1 {
  font-size: clamp(34px, 4vw, 56px);
  max-width: 20ch;
  margin-bottom: 18px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--amber);
}
.breadcrumb span:last-child {
  color: var(--mist);
}
.page-head-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}
.page-head-meta {
  text-align: right;
  flex: none;
}
.page-head-meta .big-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  color: var(--chalk);
}
.page-head-meta span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- catalogue */

.catalogue {
  padding: 44px 0 96px;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 44px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.search-form label,
.filter-group h2 {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
  font-weight: 400;
}
.search-row {
  display: flex;
  gap: 6px;
}
.search-row input {
  flex: 1;
  min-width: 0;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 12px;
  color: var(--chalk);
  font-size: 13px;
}
.search-row input::placeholder {
  color: #545c67;
}
.search-row .btn {
  height: 40px;
  padding: 0 14px;
}

.filter-list {
  display: flex;
  flex-direction: column;
}
.filter-list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--mist);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.filter-list a:hover {
  color: var(--chalk);
  background: rgba(255, 255, 255, 0.04);
}
.filter-list a.is-active {
  color: var(--chalk);
  background: rgba(255, 138, 60, 0.1);
  box-shadow: inset 2px 0 0 var(--amber);
}
.filter-list a span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dim);
}
.filter-note {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--dim);
}
.filter-note strong {
  display: block;
  color: var(--chalk);
  font-weight: 500;
  margin-bottom: 6px;
}
.filter-note p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.filter-note .text-link {
  font-size: 12px;
}

.catalogue-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filters-toggle {
  display: none;
}
.active-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 138, 60, 0.35);
  border-radius: 999px;
  background: rgba(255, 138, 60, 0.08);
  font-size: 12px;
  color: var(--amber-soft);
}
.chip span {
  font-size: 14px;
  line-height: 1;
}

.empty-state {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 56px 32px;
  text-align: center;
}
.empty-state h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 22px;
}

/* ---------------------------------------------------------------- product */

.product-page {
  padding: 34px 0 0;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 26px 0 88px;
  align-items: start;
}
.product-media {
  position: sticky;
  top: 104px;
}
.media-frame {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 70% at 60% 15%, rgba(140, 170, 200, 0.1), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px), #0a0d11;
  background-size: auto, 26px 26px, 26px 26px, auto;
  padding: 14px;
  overflow: hidden;
}
.media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--mist);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(10, 13, 17, 0.8);
}
.media-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
}
.rfq-line-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
}
.media-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.media-notes > div {
  background: #080a0d;
  padding: 12px 14px;
}
.media-notes span {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.media-notes strong {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--mist);
}
.spec-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 4px;
}
.spec-download:hover {
  color: var(--amber);
  border-color: var(--amber);
}
.spec-download svg {
  width: 15px;
  height: 15px;
}

.media-extra {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.media-extra h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
  font-weight: 400;
}
.doc-inline {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.doc-inline li {
  font-size: 11px;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.02);
}
.media-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 14px;
}
.media-facts dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.media-facts dd {
  font-size: 12px;
  color: var(--chalk);
  line-height: 1.5;
}

.product-info h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
  margin: 10px 0 16px;
}
.product-summary {
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 60ch;
}

.quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.quick-specs > div {
  background: #080a0d;
  padding: 12px 14px;
}
.quick-specs dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.quick-specs dd {
  font-size: 12.5px;
  color: var(--chalk);
  line-height: 1.45;
}

.option-block {
  margin-bottom: 26px;
}
.option-block h2 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
  font-weight: 400;
}
.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tag {
  font-size: 12px;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
}

/* quote panel */
.quote-panel {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  padding: 20px;
}
.quote-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.quote-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}
.quote-moq {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
}
.quote-step-note {
  font-size: 11px;
  color: var(--dim);
}
.quote-step-note strong {
  color: var(--mist);
  font-family: var(--font-mono);
  font-weight: 400;
}

.qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0 10px;
}
.qty-row label {
  font-size: 12px;
  color: var(--mist);
}
.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: #0a0d12;
}
.stepper button {
  width: 38px;
  height: 40px;
  background: transparent;
  border: 0;
  color: var(--mist);
  font-size: 18px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.stepper button:hover {
  background: rgba(255, 138, 60, 0.12);
  color: var(--amber);
}
.stepper input {
  width: 96px;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--chalk);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.qty-presets button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 7px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--mist);
  cursor: pointer;
}
.qty-presets button:hover,
.qty-presets button.is-active {
  border-color: rgba(255, 138, 60, 0.5);
  color: var(--amber-soft);
  background: rgba(255, 138, 60, 0.07);
}
.qty-hint {
  margin: 10px 0 16px;
  font-size: 11.5px;
  color: var(--dim);
  min-height: 18px;
}
.qty-hint.is-warn {
  color: var(--amber-soft);
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.tier-table th {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.tier-table th:nth-child(2),
.tier-table th:nth-child(3),
.tier-table td:nth-child(2),
.tier-table td:nth-child(3) {
  text-align: right;
}
.tier-table td {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
  padding: 9px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tier-table tr.is-active td {
  color: var(--chalk);
  background: rgba(255, 138, 60, 0.09);
}
.tier-table tr.is-active td:first-child {
  box-shadow: inset 2px 0 0 var(--amber);
}

.quote-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line-2);
}
.quote-total span {
  font-size: 11px;
  color: var(--dim);
}
.quote-total strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 400;
  color: var(--chalk);
  margin-top: 2px;
}
.quote-total .quote-basis {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mist);
  white-space: nowrap;
}
.quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.quote-actions .btn {
  height: 44px;
  font-size: 13px;
  padding: 0 12px;
}
.quote-fine {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.55;
}

/* product detail */
.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.detail-copy h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 16px;
}
.detail-copy p {
  color: var(--mist);
  font-size: 14px;
  white-space: pre-line;
}
.detail-copy h3 {
  font-size: 14px;
  margin: 26px 0 4px;
}
.spec-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table caption {
  text-align: left;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}
.spec-table th,
.spec-table td {
  padding: 11px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}
.spec-table th {
  font-weight: 400;
  color: var(--dim);
  width: 38%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.spec-table td {
  color: var(--chalk);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.faq-grid h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  position: relative;
  font-size: 14.5px;
  color: var(--chalk);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 17px;
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 16px;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-body {
  padding: 0 32px 20px 0;
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ------------------------------------------------------------ data tables */

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th,
.data-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: top;
}
.data-table thead th {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
  background: rgba(255, 255, 255, 0.025);
}
.data-table tbody th {
  color: var(--chalk);
  font-weight: 500;
  width: 22%;
}
.data-table tbody td {
  color: var(--mist);
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover td,
.data-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.02);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.info-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.1em;
}
.info-card h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}
.info-card p {
  color: var(--mist);
  font-size: 13px;
  line-height: 1.65;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.doc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}
.doc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(255, 138, 60, 0.3);
  border-radius: 999px;
  padding: 4px 9px;
}
.doc-card h3 {
  font-size: 16px;
  margin: 14px 0 8px;
}
.doc-card p {
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.65;
}

.trace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.trace-grid h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 16px;
}
.trace-grid p {
  color: var(--mist);
  font-size: 14px;
}
.trace-flow li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.trace-flow li:first-child {
  border-top: 1px solid var(--line);
}
.trace-flow span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  padding-top: 2px;
}
.trace-flow strong {
  font-size: 14px;
  font-weight: 500;
}
.trace-flow p {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 2px;
}

/* ------------------------------------------------------------------ rfq */

.rfq-steps {
  display: flex;
  gap: 22px;
  flex: none;
}
.rfq-steps li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  min-width: 76px;
}
.rfq-steps li span {
  color: var(--dim);
  font-size: 9px;
}
.rfq-steps li.is-active {
  color: var(--chalk);
  border-color: var(--amber);
}
.rfq-steps li.is-active span {
  color: var(--amber);
}

.rfq-section {
  padding: 40px 0 96px;
}
.rfq-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}
.rfq-lines-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.rfq-lines-head h2 {
  font-size: 15px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
}
.rfq-lines {
  display: flex;
  flex-direction: column;
}
.rfq-line {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.rfq-line-media {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0d11;
  padding: 4px;
}
.rfq-line-media .art {
  display: block;
  width: 100%;
  height: auto;
}
.rfq-line-body h3 {
  font-size: 14.5px;
  margin-bottom: 4px;
}
.rfq-line-body h3 a:hover {
  color: var(--amber-soft);
}
.rfq-line-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.rfq-line-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.rfq-line-qty label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.rfq-line-qty input {
  width: 92px;
  height: 32px;
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  padding: 0 8px;
}
.rfq-line-qty input:focus {
  border-color: rgba(255, 138, 60, 0.6);
  outline: none;
}
.rfq-line-total {
  text-align: right;
}
.rfq-line-total strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
}
.rfq-line-total span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dim);
}
.rfq-remove {
  background: transparent;
  border: 0;
  color: var(--dim);
  font-size: 11px;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 6px;
  border-bottom: 1px dashed transparent;
}
.rfq-remove:hover {
  color: var(--alert);
  border-color: rgba(255, 107, 107, 0.4);
}
.rfq-empty {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}
.rfq-empty h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.rfq-empty p {
  color: var(--dim);
  font-size: 13px;
  margin-bottom: 18px;
}
.rfq-loading {
  padding: 30px 0;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.rfq-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-2);
  margin-top: 18px;
}
.rfq-summary span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.rfq-summary strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--chalk);
  margin-top: 4px;
}

.rfq-form-wrap {
  position: sticky;
  top: 100px;
}
.rfq-form,
.rfq-success,
.contact-form,
.login-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  padding: 26px;
}
.rfq-form h2,
.contact-form h2,
.rfq-success h2 {
  font-size: 19px;
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 7px;
}
.field label span {
  color: var(--amber);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 13px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #4f5661;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 138, 60, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 138, 60, 0.1);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e7683' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(255, 107, 107, 0.65);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.55;
  margin: 4px 0 16px;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--amber);
}
.form-error {
  border: 1px solid rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.08);
  color: #ffb3b3;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12.5px;
  margin-bottom: 12px;
  line-height: 1.55;
}
.form-note {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.6;
}
.form-context {
  font-size: 12px;
  color: var(--mist);
  margin: -8px 0 16px;
}
.form-context strong {
  color: var(--amber-soft);
  font-weight: 400;
}

.rfq-success {
  text-align: left;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(61, 214, 140, 0.4);
  background: rgba(61, 214, 140, 0.1);
  color: var(--mint);
  margin-bottom: 16px;
}
.success-mark svg {
  width: 22px;
  height: 22px;
}
.rfq-success p {
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
}
.rfq-success strong[data-reference] {
  font-family: var(--font-mono);
  color: var(--chalk);
  font-size: 15px;
}
.success-summary {
  margin: 18px 0;
  border-top: 1px solid var(--line);
}
.success-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}
.success-summary strong {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--chalk);
  text-align: right;
}
.success-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.success-actions .btn {
  height: 42px;
  font-size: 13px;
}

.rfq-info {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.rfq-info h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}
.numbered {
  counter-reset: n;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.numbered li {
  counter-increment: n;
  position: relative;
  padding-left: 42px;
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.65;
}
.numbered li::before {
  content: "0" counter(n);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  border: 1px solid rgba(255, 138, 60, 0.3);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.numbered strong {
  color: var(--chalk);
  font-weight: 500;
}

/* --------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-bottom: 7px;
}
.contact-value {
  display: block;
  font-size: 16px;
  color: var(--chalk);
}
a.contact-value:hover {
  color: var(--amber-soft);
}
.contact-address {
  font-size: 14px;
  line-height: 1.6;
  max-width: 34ch;
}
.contact-block p {
  color: var(--dim);
  font-size: 12.5px;
  margin-top: 6px;
  line-height: 1.6;
}
.checklist-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.checklist-grid h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin-bottom: 14px;
}
.checklist-grid > div > p {
  color: var(--mist);
  font-size: 14px;
}

/* ----------------------------------------------------------------- admin */

/* The console is an internal tool: no marketing nav, no cart, no footer. */
body[data-page^="admin"] .main-nav,
body[data-page^="admin"] .header-actions .btn,
body[data-page^="admin"] .cart-link,
body[data-page^="admin"] .site-footer {
  display: none !important;
}
body[data-page^="admin"] .admin-shell {
  min-height: calc(100vh - 76px);
}

.login-wrap {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 60px 24px;
}
.login-card {
  width: 100%;
  max-width: 420px;
}
.login-card h1 {
  font-size: 26px;
  margin-bottom: 12px;
}
.login-card > p.muted {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.login-form .field {
  margin-bottom: 16px;
}
.login-note {
  font-size: 11px;
  color: var(--dim);
  margin-top: 16px;
  line-height: 1.6;
}
.login-note code,
.admin-hint code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--mist);
}
.login-card .text-link {
  margin-top: 20px;
  font-size: 12px;
}

.admin-shell {
  padding: 44px 0 96px;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.admin-head h1 {
  font-size: 32px;
}
.admin-actions {
  display: flex;
  gap: 8px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
.admin-stat {
  background: #080a0d;
  padding: 18px 20px;
}
.admin-stat span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.admin-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 400;
  margin-top: 6px;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.tab {
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 12px 16px;
  color: var(--dim);
  font-size: 13px;
  cursor: pointer;
}
.tab.is-active {
  color: var(--chalk);
  border-color: var(--amber);
}
.panel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-tabs button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--dim);
  cursor: pointer;
}
.filter-tabs button.is-active {
  border-color: rgba(255, 138, 60, 0.5);
  color: var(--amber-soft);
  background: rgba(255, 138, 60, 0.08);
}
.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.012);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}
.admin-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: var(--mist);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-table .num {
  text-align: right;
  font-family: var(--font-mono);
}
.admin-table input[type="number"],
.admin-table input[type="text"] {
  width: 92px;
  height: 32px;
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 0 8px;
  text-align: right;
}
.admin-table input[type="text"] {
  width: 100%;
  min-width: 300px;
  text-align: left;
  color: var(--mist);
}
.admin-table th:nth-child(3),
.admin-table th:nth-child(4) {
  text-align: right;
}
.admin-table select {
  height: 30px;
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--chalk);
  font-size: 11.5px;
  padding: 0 8px;
}
.admin-table .row-action {
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 11.5px;
  color: var(--chalk);
  cursor: pointer;
}
.admin-table .row-action:hover {
  border-color: rgba(255, 138, 60, 0.5);
  color: var(--amber-soft);
}
.admin-table .sku-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--chalk);
}
.admin-table .product-name {
  color: var(--chalk);
}
.admin-loading {
  text-align: center;
  padding: 40px !important;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
}
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--mist);
}
.badge-new {
  border-color: rgba(255, 138, 60, 0.5);
  color: var(--amber-soft);
  background: rgba(255, 138, 60, 0.1);
}
.badge-quoted {
  border-color: rgba(157, 182, 206, 0.4);
  color: var(--steel);
}
.badge-won {
  border-color: rgba(61, 214, 140, 0.4);
  color: var(--mint);
}
.admin-hint {
  font-size: 11.5px;
  color: var(--dim);
  margin-top: 12px;
}
.inquiry-detail-row td {
  background: rgba(255, 255, 255, 0.02);
  padding: 0;
}
.inquiry-detail {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.inquiry-detail h4 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
  font-weight: 400;
}
.inquiry-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inquiry-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--mist);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  padding-bottom: 6px;
}
.inquiry-lines li b {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--chalk);
}
.inquiry-message {
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.7;
  white-space: pre-wrap;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #12161c;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 12.5px;
  color: var(--chalk);
  box-shadow: 0 20px 50px -20px #000;
  opacity: 0;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  z-index: 90;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.is-bad {
  border-color: rgba(255, 107, 107, 0.5);
  color: #ffb3b3;
}

/* -------------------------------------------------------------- 404 / art */

.not-found {
  padding: 120px 0 140px;
}
.not-found h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 18px;
}

.art {
  display: block;
  width: 100%;
  height: auto;
  color: #b9c7d4;
}
.art-line,
.art-solid,
.art-faint,
.art-thread,
.art-accent,
.art-accent-ring,
.art-thread-ring,
.art-solid-stroke,
.art-dash,
.art-frame {
  vector-effect: non-scaling-stroke;
}
.art-line {
  fill: none;
  stroke: #a9b8c6;
  stroke-width: 1.25;
  stroke-linejoin: round;
}
.art-solid {
  fill: rgba(169, 184, 198, 0.09);
  stroke: #b8c6d3;
  stroke-width: 1.25;
  stroke-linejoin: round;
}
.art-faint {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.art-thread {
  fill: none;
  stroke: rgba(190, 205, 218, 0.5);
  stroke-width: 1;
}
.art-accent {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.4;
}
.art-accent-ring {
  fill: none;
  stroke: rgba(255, 138, 60, 0.75);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}
.art-thread-ring {
  fill: none;
  stroke: rgba(255, 138, 60, 0.45);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}
.art-solid-stroke {
  fill: none;
  stroke: #b8c6d3;
  stroke-width: 13;
  stroke-linecap: round;
}
.art-solid-ring {
  fill: rgba(169, 184, 198, 0.05);
  stroke: #b8c6d3;
  stroke-width: 13;
}
.art-accent-fill {
  fill: rgba(255, 138, 60, 0.14);
  stroke: var(--amber);
  stroke-width: 1.2;
}
.art-thread-thick {
  fill: none;
  stroke: rgba(190, 205, 218, 0.6);
  stroke-width: 2;
  stroke-dasharray: 2 5;
}
.art-dim-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.art-dim-text,
.art-label,
.art-mono,
.art-tick-label {
  font-family: var(--font-mono);
}
.art-dim-text {
  fill: #98a3b0;
  font-size: 9px;
  stroke: none;
}
.art-label {
  fill: #909ba8;
  font-size: 9.5px;
  letter-spacing: 1.1px;
  stroke: none;
}
.art-mono {
  fill: rgba(255, 154, 92, 0.9);
  font-size: 8.5px;
  letter-spacing: 0.8px;
  stroke: none;
}
.art-leader {
  fill: none;
  stroke: rgba(255, 138, 60, 0.45);
  stroke-width: 1;
  stroke-dasharray: 2 3;
}
.art-tick {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}
.art-tick-label {
  fill: #4f5864;
  font-size: 7px;
  letter-spacing: 1.1px;
  stroke: none;
}

/* ------------------------------------------------ admin: product editing */

.shell-narrow {
  max-width: 920px;
}
.admin-notice {
  border: 1px solid rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.08);
  color: #a8f0cc;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12.5px;
  margin-bottom: 18px;
}
.admin-head-sub {
  margin-top: 8px;
  font-size: 12px;
}
.admin-search {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
}
.admin-search input {
  flex: 1;
  height: 34px;
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--chalk);
  font-size: 12.5px;
}
.panel-actions {
  display: flex;
  gap: 8px;
}
.admin-filter-row {
  margin-bottom: 16px;
  align-items: center;
}
.admin-filter-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--dim);
}
.admin-filter-row a:hover {
  color: var(--chalk);
  border-color: var(--line-2);
}
.admin-filter-row a.is-active {
  border-color: rgba(255, 138, 60, 0.5);
  color: var(--amber-soft);
  background: rgba(255, 138, 60, 0.08);
}
.filter-sep {
  width: 1px;
  height: 18px;
  background: var(--line-2);
  margin: 0 4px;
}
.admin-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dim);
  flex-wrap: wrap;
}
.pager-links {
  display: flex;
  gap: 8px;
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.admin-table form {
  display: inline;
  margin: 0;
}
.row-action.is-danger {
  color: #ff9d9d;
  border-color: rgba(255, 107, 107, 0.35);
}
.row-action.is-danger:hover {
  border-color: rgba(255, 107, 107, 0.7);
  color: #ffc9c9;
  background: rgba(255, 107, 107, 0.08);
}
.badge-live {
  border-color: rgba(61, 214, 140, 0.45);
  color: var(--mint);
  background: rgba(61, 214, 140, 0.08);
}
.badge-draft {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--dim);
}
.admin-table td.num,
.admin-table th.num {
  font-variant-numeric: tabular-nums;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 30px;
  align-items: start;
}
.admin-aside-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  padding: 22px;
}
.admin-aside-card h2 {
  font-size: 17px;
  margin-bottom: 8px;
}
.admin-aside-card p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.compact-form .field {
  margin-bottom: 12px;
}
.compact-form .btn {
  height: 42px;
}

.admin-form {
  padding-bottom: 64px;
}
.admin-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 8px;
  margin: 0 0 18px;
  background: rgba(255, 255, 255, 0.018);
}
.admin-form legend {
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.admin-form .field-hint {
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.55;
}
.admin-form .field-hint code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 4px;
  border-radius: 3px;
}
.admin-form input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(7, 8, 9, 0.2), rgba(7, 8, 9, 0.96) 40%);
  backdrop-filter: blur(6px);
}
.field-check {
  display: flex;
  align-items: flex-end;
  padding-bottom: 8px;
}
.field-check .consent {
  margin: 0;
  font-size: 12.5px;
  align-items: center;
  color: var(--mist);
}
.field label.consent {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  color: var(--mist);
}
.btn-danger {
  border: 1px solid rgba(255, 107, 107, 0.45);
  color: #ffb3b3;
  background: rgba(255, 107, 107, 0.07);
}
.btn-danger:hover {
  border-color: rgba(255, 107, 107, 0.8);
  color: #fff;
  background: rgba(255, 107, 107, 0.14);
}
.danger-zone {
  margin-top: 32px;
  border: 1px dashed rgba(255, 107, 107, 0.3);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.danger-zone h2 {
  font-size: 15px;
  margin-bottom: 6px;
}
.danger-zone p {
  font-size: 12px;
  color: var(--dim);
  max-width: 56ch;
  line-height: 1.6;
}

/* ------------------------------------------------------- failure / pains */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pain-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pain-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.pain-card h3 {
  font-size: 18px;
  line-height: 1.35;
  max-width: 26ch;
}
.pain-detail {
  color: var(--mist);
  font-size: 13px;
  line-height: 1.65;
}
.pain-fix {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--chalk);
}
.pain-fix span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 6px;
}

/* --------------------------------------------------------- market context */

.market-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(255, 138, 60, 0.07), transparent 60%),
    rgba(255, 255, 255, 0.014);
  padding: 64px 0 52px;
}
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.market-stats > div {
  background: var(--ink-900);
  padding: 22px 20px;
}
.market-stats dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.market-stats dd {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--amber-soft);
}
.market-stats span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--mist);
  line-height: 1.5;
}
.market-source {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: baseline;
}

.market-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 18px;
}
.market-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.market-list dt {
  font-size: 12.5px;
  color: var(--mist);
}
.market-list dd {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--chalk);
}
.market-list span {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--dim);
}

/* -------------------------------------------------------------- families */

.family-foot {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.family-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.family-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ink-900);
  color: var(--chalk);
  font-size: 13.5px;
}
.family-links a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber-soft);
}
.family-links span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  white-space: nowrap;
}

/* --------------------------------------------------------- product notes */

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.order-grid h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 12px;
}
/* Grid items default to min-width:auto, so a nowrap table inside one stretches
   the whole column past the viewport instead of scrolling inside it. */
.order-grid > *,
.detail-grid > *,
.family-foot > *,
.trace-grid > * {
  min-width: 0;
}
.table-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 82ch;
}
.compact-table th,
.compact-table td {
  padding: 11px 14px;
  font-size: 12px;
}
.compact-table tbody th {
  width: 34%;
}
.warn-list li::before {
  content: "×";
  color: var(--alert);
  font-size: 15px;
  line-height: 1;
  top: 2px;
}
.row-sub {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
  max-width: 24ch;
  line-height: 1.5;
}
.compliance-table tbody th {
  width: 20%;
}

@media (max-width: 1024px) {
  .admin-edit-grid {
    grid-template-columns: 1fr;
  }
  .order-grid,
  .family-foot,
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .market-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------------------------------- motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    max-width: 20ch;
  }
  .blueprint-panel {
    transform: none;
  }
  .chip-a {
    left: 12px;
    bottom: 62px;
  }
  .chip-b {
    right: 12px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head.split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .moq-demo,
  .capability-grid,
  .quality-inner,
  .product-layout,
  .detail-grid,
  .faq-grid,
  .rfq-grid,
  .rfq-info,
  .contact-grid,
  .checklist-grid,
  .trace-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .product-media,
  .rfq-form-wrap,
  .filters {
    position: static;
  }
  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }
  .filters-toggle {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 12px;
    color: var(--chalk);
    cursor: pointer;
  }
  .filters-toggle[aria-expanded="true"] {
    border-color: rgba(255, 138, 60, 0.5);
    color: var(--amber-soft);
    background: rgba(255, 138, 60, 0.07);
  }
  .filter-note {
    grid-column: 1 / -1;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .shell {
    padding: 0 22px;
  }
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
    gap: 16px;
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 56px 0 40px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .product-grid,
  .product-grid-3,
  .category-grid,
  .card-grid-3,
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quality-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .page-head {
    padding: 40px 0 32px;
  }
  .page-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .page-head-meta {
    text-align: left;
  }
  .rfq-steps {
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .cta-card {
    padding: 30px 24px;
  }
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .rfq-line {
    grid-template-columns: 96px 1fr;
  }
  .rfq-line-total {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .inquiry-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 0 18px;
  }
  .market-stats,
  .family-links {
    grid-template-columns: 1fr;
  }
  .market-stats dd {
    font-size: 22px;
  }
  .product-grid,
  .product-grid-3,
  .category-grid,
  .card-grid-3,
  .doc-grid,
  .filters {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .quote-actions {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .rfq-line {
    grid-template-columns: 1fr;
  }
  .rfq-line-media {
    max-width: 180px;
  }
  .chip-a,
  .chip-b {
    display: none;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn {
    flex: 1;
  }
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .rfq-form,
  .contact-form,
  .login-card {
    padding: 20px;
  }
}
