/* ==========================================================================
   Royal Trading — design system
   ========================================================================== */

:root {
  /* Ground */
  --bg:        #05060a;
  --bg-2:      #090b13;
  --bg-3:      #0d1019;

  /* Glass surfaces */
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  /* Ink */
  --text:      #e9edf6;
  --text-2:    #b3bccf;
  --muted:     #7e8799;

  /* Molten accent — the foundry pour */
  --accent:    #ff7a1a;
  --accent-2:  #ffb547;
  --accent-dim:rgba(255, 122, 26, 0.14);

  /* Cool accent — the engineering drawing */
  --cyan:      #3ad8f5;
  --cyan-dim:  rgba(58, 216, 245, 0.12);

  --ok:        #35d39a;
  --warn:      #ffcf5c;

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Metrics */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --shell: 1240px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }

p { margin: 0 0 1.1em; color: var(--text-2); }

::selection { background: var(--accent); color: #0a0a0a; }

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

/* --------------------------------------------------------------- shell -- */

.shell {
  width: min(100% - 3rem, var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head--center .eyebrow::before { display: none; }

.lede { font-size: 1.08rem; color: var(--text-2); }

.grad-text {
  background: linear-gradient(120deg, var(--accent-2) 0%, var(--accent) 45%, #ff5f6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------------------------------------- backdrops -- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 78% -10%, rgba(255, 122, 26, 0.16), transparent 60%),
    radial-gradient(50rem 34rem at 8% 12%,  rgba(58, 216, 245, 0.10), transparent 62%),
    radial-gradient(46rem 30rem at 50% 108%, rgba(255, 90, 60, 0.10), transparent 60%);
}

.grid-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.35;
  mask-image: radial-gradient(75% 60% at 50% 0%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 20%, transparent 90%);
}

/* ----------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.nav.is-stuck {
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: min(100% - 3rem, var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }

.brand__mark { width: 34px; height: 34px; flex: none; }

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav__link {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--text); }

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.nav__cta { margin-left: 0.6rem; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: background 0.2s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}

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

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* -------------------------------------------------------------- button -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }

.btn--primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #14100b;
  box-shadow: 0 8px 26px -10px rgba(255, 122, 26, 0.75);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(255, 122, 26, 0.9);
}

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

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-dim);
}

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

.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

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

.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-bottom: 1.6rem;
}

.hero__tag b {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #14100b;
  font-weight: 700;
  font-size: 0.68rem;
}

.hero h1 { margin-bottom: 0.55em; }

.hero__lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 54ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
  overflow: hidden;
}

.hero__stat { background: var(--bg-2); padding: 1.15rem 1.2rem; }

.hero__stat dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.hero__stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Hero technical drawing panel */

.hero__panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(255, 122, 26, 0.07), transparent 55%),
    var(--bg-2);
  padding: 1.5rem;
  overflow: hidden;
}

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

.hero__panel-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.9rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.hero__panel-head b { color: var(--cyan); font-weight: 500; }

.blueprint { position: relative; width: 100%; height: auto; color: var(--cyan); }

.blueprint .bp-frame  { stroke: currentColor; stroke-width: 1.6; opacity: 0.9; }
.blueprint .bp-cover  { stroke: var(--accent); stroke-width: 1.6; }
.blueprint .bp-detail { stroke: currentColor; stroke-width: 0.9; opacity: 0.45; }
.blueprint .bp-dim    { stroke: rgba(255,255,255,0.35); stroke-width: 0.7; stroke-dasharray: 3 3; }
.blueprint text {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

.blueprint .bp-sweep {
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 181, 71, 0.8));
  animation: sweep 4.5s var(--ease) infinite;
}

@keyframes sweep {
  0%, 100% { opacity: 0; transform: translateY(0); }
  15%      { opacity: 1; }
  85%      { opacity: 0.15; }
  100%     { transform: translateY(96px); }
}

/* ---------------------------------------------------------- ticker bar -- */

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 0.9rem 0;
}

.ticker__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: drift 38s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker__item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

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

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

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  padding: 1.6rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--accent), transparent 45%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover { transform: translateY(-4px); background: var(--bg-3); }
.card:hover::after { opacity: 0.7; }

.card__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

/* Product family card */

.cat-card { display: flex; flex-direction: column; padding: 0; }

.cat-card__art {
  position: relative;
  padding: 1.75rem 1.6rem 0.5rem;
  color: var(--cyan);
  background:
    radial-gradient(24rem 12rem at 50% 0%, rgba(58, 216, 245, 0.09), transparent 70%);
}

.cat-art { width: 100%; height: auto; max-height: 130px; }
.cat-art .ln-1 { stroke: var(--accent);  stroke-width: 1.7; }
.cat-art .ln-2 { stroke: currentColor;   stroke-width: 1.4; opacity: 0.85; }
.cat-art .ln-3 { stroke: currentColor;   stroke-width: 0.9; opacity: 0.4; }
.cat-art [class^="ln-"] { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.cat-card:hover .cat-art .ln-1 { stroke: var(--accent-2); }

.cat-card__body { padding: 0.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }

.cat-card__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.cat-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.cat-card p { font-size: 0.92rem; margin-bottom: 1.1rem; }

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

.cat-card__more {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.25s var(--ease);
}

.cat-card:hover .cat-card__more { gap: 0.7rem; }

/* --------------------------------------------------------------- chips -- */

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-2);
  background: var(--surface);
}

.chip.tone-1 { border-color: rgba(58,216,245,.35);  color: #8ee9fb; }
.chip.tone-2 { border-color: rgba(85,220,190,.35);  color: #86e8cf; }
.chip.tone-3 { border-color: rgba(255,207,92,.35);  color: #ffd97a; }
.chip.tone-4 { border-color: rgba(255,150,60,.4);   color: #ffb072; }
.chip.tone-5 { border-color: rgba(255,110,60,.45);  color: #ff9a72; }
.chip.tone-6 { border-color: rgba(255,80,90,.45);   color: #ff8b93; }

/* --------------------------------------------------------------- table -- */

.spec {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  overflow: hidden;
  margin-bottom: 2.25rem;
}

.spec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.spec__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.spec__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  white-space: nowrap;
}

table.data th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 0.7rem 1.1rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

table.data td {
  padding: 0.66rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.15s; }
table.data tbody tr:hover td { background: rgba(255, 255, 255, 0.028); color: var(--text); }

table.data td:first-child {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--accent-2);
  font-weight: 500;
}

.spec__note {
  padding: 0.85rem 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--muted);
  white-space: normal;
}

/* Matrix table — pit opening against cover count */

table.matrix { width: 100%; border-collapse: collapse; font-size: 0.85rem; }

table.matrix th,
table.matrix td {
  padding: 0.6rem 0.85rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
}

table.matrix thead th {
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
}

table.matrix tbody th {
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-2);
}

table.matrix td { color: var(--text-2); }
table.matrix td:hover { background: var(--accent-dim); color: var(--text); }

table.matrix .matrix__corner {
  background: var(--bg-2);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Comparison table */

table.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

table.compare th,
table.compare td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.compare thead th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-bottom-color: var(--line-2);
}

table.compare thead th:nth-child(2) { color: var(--muted); }
table.compare thead th:nth-child(3) { color: var(--accent-2); }

table.compare tbody th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  width: 20%;
}

table.compare td { color: var(--text-2); }
table.compare td:last-child { color: var(--text); }

/* ----------------------------------------------------------- load bars -- */

.loads { display: grid; gap: 0.75rem; }

.load {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.load:hover { border-color: var(--line-2); transform: translateX(4px); }

.load__class {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.load__meter {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 0.55rem;
  overflow: hidden;
}

.load__meter i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--accent-2), var(--accent));
  width: 0;
  transition: width 1.1s var(--ease);
}

.load.is-shown .load__meter i { width: var(--pct); }

.load__where { font-weight: 600; color: var(--text); font-size: 0.98rem; }
.load__detail { font-size: 0.86rem; color: var(--muted); margin: 0.15rem 0 0; }
.load__kn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------- steps -- */

.steps { display: grid; gap: 1.1rem; counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}

.step__n {
  counter-increment: step;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--accent-dim);
}

.step__n::before { content: counter(step, decimal-leading-zero); }

.step h3 { font-size: 1.08rem; margin-bottom: 0.7rem; }

.step ol, .step ul { margin: 0; padding-left: 1.15rem; }
.step li { color: var(--text-2); margin-bottom: 0.5rem; font-size: 0.93rem; }
.step li:last-child { margin-bottom: 0; }
.step li::marker { color: var(--accent); }

/* ---------------------------------------------------------------- form -- */

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

.field { display: grid; gap: 0.45rem; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: #5b6376; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field--error input,
.field--error textarea { border-color: #ff6b6b; }

.field__error { font-size: 0.8rem; color: #ff8b93; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notice {
  display: flex;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  border-radius: var(--r);
  border: 1px solid;
  font-size: 0.93rem;
  margin-bottom: 1.6rem;
}

.notice--ok {
  border-color: rgba(53, 211, 154, 0.4);
  background: rgba(53, 211, 154, 0.08);
  color: #9df0cd;
}

.notice--bad {
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.08);
  color: #ffb0b0;
}

.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ------------------------------------------------------------ contacts -- */

.contact-list { display: grid; gap: 0.9rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.contact-item:hover { border-color: var(--accent); transform: translateY(-2px); }

.contact-item__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  color: var(--accent-2);
}

.contact-item__icon svg { width: 18px; height: 18px; }

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-item__value { font-weight: 600; color: var(--text); word-break: break-word; }

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

.cta {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(40rem 20rem at 50% 0%, rgba(255, 122, 26, 0.16), transparent 70%),
    var(--bg-2);
}

.cta h2 { margin-bottom: 0.6rem; }
.cta p { max-width: 56ch; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 1.9rem; }

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

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer li a { font-size: 0.9rem; color: var(--text-2); transition: color 0.2s; }
.footer li a:hover { color: var(--accent-2); }

.footer__about p { font-size: 0.9rem; max-width: 40ch; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ------------------------------------------------------------- crumbs --- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs span { opacity: 0.4; }

/* --------------------------------------------------------------- pager -- */

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.pager__link {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.pager__link:hover { border-color: var(--accent); transform: translateY(-2px); }
.pager__link--next { text-align: right; }

.pager__dir {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

.pager__name { font-family: var(--font-display); font-weight: 600; }

/* -------------------------------------------------------------- reveal -- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

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

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  .shell, .nav__inner { width: min(100% - 2rem, var(--shell)); }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1.25rem 1.5rem 2rem;
    background: rgba(5, 6, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__link { padding: 0.75rem 0.5rem; font-size: 1rem; }
  .nav__link.is-active::after { left: 0.5rem; right: auto; width: 22px; }
  .nav__cta { margin: 0.75rem 0 0; }
  .btn--nav { width: 100%; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager__link--next { text-align: left; }
  .load { grid-template-columns: 1fr; gap: 0.5rem; }
  .step { grid-template-columns: 1fr; gap: 0.9rem; }
  table.compare tbody th { width: auto; }
  table.compare, table.compare tbody, table.compare tr, table.compare td, table.compare th { display: block; }
  table.compare thead { display: none; }
  table.compare tr { border-bottom: 1px solid var(--line-2); padding: 0.5rem 0; }
  table.compare td { border: 0; padding: 0.35rem 0; }
  table.compare td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  table.compare tbody th { border: 0; padding: 0.35rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .load__meter i { width: var(--pct); }
}

@media print {
  .nav, .footer, .cta, .aurora, .grid-veil, .ticker { display: none; }
  body { background: #fff; color: #000; }
  .spec, .card { border-color: #ccc; background: #fff; }
  table.data td, table.data th { color: #000; background: #fff; }
}

/* Product-page drawing panel — the family artwork at full size */

.panel-art {
  position: relative;
  color: var(--cyan);
  padding: 1.75rem 0.5rem 1rem;
}

.panel-art .cat-art { max-height: none; height: auto; }
.panel-art .cat-art .ln-1 { stroke-width: 1.5; }

.panel-art::after {
  content: 'NOT TO SCALE';
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-align: center;
}
