/* ==========================================================================
   Dev Crow Egg — Direction A "Forge"
   Precision engineering lab: graphite, steel, one molten-filament accent.
   ========================================================================== */

:root {
  /* Graphite & steel */
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --panel: #121519;
  --panel-2: #171b20;
  --panel-3: #1e2329;
  --line: #20252b;
  --line-2: #2b3138;
  --line-3: #3b434c;
  --steel-500: #69737e;
  --steel-400: #8e979f;
  --steel-300: #adb5bc;
  --steel-200: #c9ced3;
  --steel-100: #e7eaed;
  --white: #f5f6f7;

  /* Molten filament — used sparingly */
  --molten: #ff5f1f;
  --molten-hi: #ff8a42;
  --molten-lo: #b83a0b;
  --molten-glow: rgba(255, 95, 31, 0.45);

  --f-display: "Inter Tight", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "Inter Tight", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "IBM Plex Sans Arabic", ui-monospace, monospace;

  --ease-mech: cubic-bezier(0.75, 0, 0.15, 1);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 68px;

  --grid-a: rgba(160, 175, 190, 0.055);
  --grid-b: rgba(160, 175, 190, 0.025);
}

html:lang(ar) {
  --f-display: "IBM Plex Sans Arabic", "Inter Tight", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Inter Tight", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--steel-200);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html:lang(ar) body { font-size: 16.5px; line-height: 1.8; }
html:lang(ar) * { letter-spacing: 0 !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--molten-hi); outline-offset: 3px; }
::selection { background: var(--molten); color: #0b0b0c; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 100; inset-inline-start: 16px; top: -80px;
  background: var(--molten); color: #0b0b0c; padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }

/* Blueprint grid surfaces */
.blueprint {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-a) 1px, transparent 1px),
    linear-gradient(var(--grid-b) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-b) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-400);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; flex: none; }
.eyebrow--hot::before { background: var(--molten); border-color: var(--molten); box-shadow: 0 0 10px var(--molten-glow); }
.h2 {
  font: 600 clamp(38px, 5.2vw, 78px)/0.96 var(--f-display);
  letter-spacing: -0.042em; color: var(--white); margin-top: 18px;
  text-wrap: balance;
}
html:lang(ar) .h2 { line-height: 1.2; font-weight: 700; }
.lede { font-size: 17px; line-height: 1.6; color: var(--steel-300); max-width: 46ch; margin-top: 18px; text-wrap: pretty; }
.meta { font: 500 12px/1.5 var(--f-mono); color: var(--steel-500); letter-spacing: 0.06em; text-transform: uppercase; }
.price { font: 500 15px/1 var(--f-mono); color: var(--steel-100); letter-spacing: 0.02em; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding-inline: 22px;
  font: 600 15px/1 var(--f-body); letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px;
  transition: transform 0.2s var(--ease-snap), background-color 0.25s, border-color 0.25s, box-shadow 0.35s, color 0.25s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease-mech); }
.btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn svg.flip { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg.flip { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--molten); color: #0b0b0c; }
.btn--primary:hover { background: var(--molten-hi); box-shadow: 0 0 0 4px rgba(255, 95, 31, 0.16), 0 12px 40px -10px var(--molten-glow); }
.btn--ghost { border-color: var(--line-3); color: var(--steel-100); }
.btn--ghost:hover { border-color: var(--steel-300); background: rgba(255, 255, 255, 0.03); }
.btn--sm { height: 40px; padding-inline: 16px; font-size: 14px; gap: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-200);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-mech); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

.chip {
  display: inline-flex; align-items: center; height: 22px; padding-inline: 7px;
  border: 1px solid var(--line-3); color: var(--steel-300);
  font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.1em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(10, 11, 13, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--steel-100); white-space: nowrap; }
.brand__mark { width: 24px; height: 30px; flex: none; }
.brand__name { font: 600 16px/1 var(--f-display); letter-spacing: -0.015em; font-family: "Inter Tight", sans-serif; }
.brand__tag { font: 500 10px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.12em; border-inline-start: 1px solid var(--line-3); padding-inline-start: 10px; }
.nav { display: flex; gap: 2px; margin-inline-start: 22px; }
.nav a {
  position: relative; padding: 10px 12px;
  font: 500 14px/1 var(--f-body); color: var(--steel-300); transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1px; background: var(--steel-100);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-mech);
}
[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--white); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.search {
  display: flex; align-items: center; gap: 9px; height: 40px; width: 230px; padding-inline: 12px;
  border: 1px solid var(--line-2); background: rgba(14, 16, 19, 0.7); transition: border-color 0.2s;
}
.search svg { width: 15px; height: 15px; color: var(--steel-500); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13.5px; color: var(--steel-100); }
.search input::placeholder { color: var(--steel-500); }
.search:focus-within { border-color: var(--steel-400); }
.search kbd { font: 500 10px/1 var(--f-mono); color: var(--steel-500); border: 1px solid var(--line-3); padding: 3px 5px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--steel-200); transition: border-color 0.2s, color 0.2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--steel-400); color: var(--white); }
.cart-count {
  position: absolute; top: -7px; inset-inline-end: -7px; min-width: 18px; height: 18px; padding-inline: 4px;
  background: var(--molten); color: #0b0b0c; font: 600 10.5px/18px var(--f-mono); text-align: center;
}
.cart-count.is-zero { background: var(--steel-500); }
.lang { display: flex; height: 40px; border: 1px solid var(--line-2); }
.lang button { padding-inline: 11px; font: 500 12px/1 var(--f-mono); color: var(--steel-400); letter-spacing: 0.06em; transition: color 0.2s, background-color 0.2s; }
.lang button + button { border-inline-start: 1px solid var(--line-2); }
.lang button:lang(ar), .lang button[data-lang="ar"] { font: 500 13px/1 "IBM Plex Sans Arabic", sans-serif; }
.lang button[aria-pressed="true"] { background: var(--steel-100); color: #0b0b0c; }
.lang button:not([aria-pressed="true"]):hover { color: var(--white); }
.menu-btn { display: none; }

.drawer {
  position: fixed; z-index: 49; inset: var(--header-h) 0 0 0; background: var(--bg);
  padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.35s var(--ease-mech), visibility 0s linear 0.35s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.35s var(--ease-mech); }
.drawer .search { width: 100%; height: 48px; margin-bottom: 16px; }
.drawer a.drawer__link {
  display: flex; justify-content: space-between; align-items: baseline; padding-block: 16px;
  border-bottom: 1px solid var(--line); font: 600 30px/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--steel-100);
}
.drawer a.drawer__link span { font: 500 11px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.1em; }

@media (max-width: 1180px) {
  .nav, .header-tools .search { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 520px) {
  :root { --header-h: 60px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 15px; }
  .header-inner { gap: 10px; }
  .header-tools { gap: 6px; }
  .lang button { padding-inline: 8px; }
}

/* ---------- Ruler divider ---------- */
.ruler {
  height: 12px; border-top: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(90deg, var(--line-3) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px);
  background-size: 100% 10px, 100% 5px; background-repeat: no-repeat;
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(84px, 10vw, 148px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 56px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head .meta { text-align: end; }
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .meta { text-align: start; }
}

/* ==========================================================================
   HERO — live print
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 700px; overflow: hidden; background: var(--bg); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 72% 58%, rgba(255, 95, 31, 0.07), transparent 60%),
    radial-gradient(90% 80% at 70% 40%, rgba(120, 135, 150, 0.08), transparent 70%);
}
[dir="rtl"] .hero__bg {
  background:
    radial-gradient(60% 70% at 28% 58%, rgba(255, 95, 31, 0.07), transparent 60%),
    radial-gradient(90% 80% at 30% 40%, rgba(120, 135, 150, 0.08), transparent 70%);
}
.hero__grid { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(80% 90% at 60% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(80% 90% at 60% 50%, #000 30%, transparent 85%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}
.hero__dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero__dims line { stroke: var(--steel-500); stroke-width: 1; }
.hero__dims .z line { stroke: var(--molten); }
.hero__dims text { font: 500 11px var(--f-mono); fill: var(--steel-300); letter-spacing: 0.08em; }
.hero__dims .z text { fill: var(--molten-hi); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: var(--header-h); pointer-events: none; }
.hero__copy { max-width: min(660px, 47%); pointer-events: auto; }
.hero__title {
  font: 600 clamp(64px, 9.4vw, 150px)/0.88 var(--f-display);
  letter-spacing: -0.052em; color: var(--white); margin-block: 26px 28px;
}
html:lang(ar) .hero__title { font-weight: 700; line-height: 1.12; font-size: clamp(56px, 8vw, 128px); }
.hero__title .l { display: block; }
.print-word { position: relative; display: inline-block; padding-inline-end: 0.04em; }
.print-word .ghost { color: transparent; -webkit-text-stroke: 1.2px var(--steel-500); }
.print-word .fill {
  position: absolute; inset: 0; color: transparent;
  background: repeating-linear-gradient(to bottom, #f1f3f5 0 0.056em, #7f878f 0.056em 0.072em);
  -webkit-background-clip: text; background-clip: text;
  clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0);
}
.print-word .edge { position: absolute; inset: 0; transform: translateY(calc((1 - var(--p, 0)) * 100%)); pointer-events: none; }
.print-word .edge::before {
  content: ""; position: absolute; inset-inline: -0.06em; top: -1px; height: 2px; background: var(--molten);
  box-shadow: 0 0 14px 2px var(--molten-glow), 0 0 3px var(--molten-hi);
  opacity: var(--edge-o, 1); transition: opacity 0.4s;
}
.hero__sub { max-width: 44ch; font-size: 18px; line-height: 1.55; color: var(--steel-300); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hud {
  position: absolute; z-index: 1; pointer-events: none;
  inset-block: calc(var(--header-h) + 26px) 34px; inset-inline: 49% var(--gutter);
  font: 500 11px/1.5 var(--f-mono); color: var(--steel-500); letter-spacing: 0.08em; text-transform: uppercase;
}
.hud .c { position: absolute; width: 18px; height: 18px; border: 0 solid var(--line-3); }
.hud .c1 { top: 0; inset-inline-start: 0; border-top-width: 1px; border-inline-start-width: 1px; }
.hud .c2 { top: 0; inset-inline-end: 0; border-top-width: 1px; border-inline-end-width: 1px; }
.hud .c3 { bottom: 0; inset-inline-start: 0; border-bottom-width: 1px; border-inline-start-width: 1px; }
.hud .c4 { bottom: 0; inset-inline-end: 0; border-bottom-width: 1px; border-inline-end-width: 1px; }
.hud__tl, .hud__tr, .hud__bl, .hud__br { position: absolute; display: grid; gap: 4px; }
.hud__tl { top: 16px; inset-inline-start: 20px; }
.hud__tr { top: 16px; inset-inline-end: 20px; text-align: end; }
.hud__bl { bottom: 16px; inset-inline-start: 20px; }
.hud__br { bottom: 16px; inset-inline-end: 20px; text-align: end; justify-items: end; }
.hud b { color: var(--steel-200); font-weight: 500; }
.hud .row { display: flex; gap: 16px; }
.hud .hot { color: var(--molten-hi); }
.hud .dot { display: inline-block; width: 6px; height: 6px; background: var(--molten); margin-inline-end: 8px; box-shadow: 0 0 8px var(--molten); animation: blink 1.2s steps(2, jump-none) infinite; }
.hud__name { color: var(--steel-100); font: 500 13px/1.3 var(--f-body); text-transform: none; letter-spacing: 0; }
.hud__bar { width: 168px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.hud__bar i { position: absolute; inset: 0; background: var(--molten); transform-origin: left center; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .hud__bar i { transform-origin: right center; }
.hud__scroll { display: inline-flex; align-items: center; gap: 8px; color: var(--steel-400); }
.hud__scroll svg { width: 10px; height: 14px; }
@keyframes blink { 50% { opacity: 0.25; } }

@media (max-width: 899px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__inner { align-items: flex-start; padding-top: calc(var(--header-h) + 36px); padding-bottom: 470px; }
  .hero__copy { max-width: 100%; }
  .hero__title { margin-block: 20px 22px; }
  .hero__sub { font-size: 16.5px; }
  .hero__ctas { margin-top: 26px; }
  .hud { inset-block: auto 22px; height: 430px; inset-inline: var(--gutter); }
  .hud__tl .row { flex-direction: column; gap: 2px; }
  .hud__bar { width: 110px; }
  .hero__grid { -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 60%); mask-image: linear-gradient(to bottom, transparent 30%, #000 60%); }
}
@media (max-width: 420px) {
  .hero__ctas .btn { flex: 1 1 auto; padding-inline: 16px; }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.how-rail::before {
  content: "";
  position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--molten);
  transform-origin: left center; transform: scaleX(var(--rail, 0)); box-shadow: 0 0 14px var(--molten-glow);
}
[dir="rtl"] .how-rail::before { transform-origin: right center; }
.step { position: relative; padding-block: 36px 8px; padding-inline-end: 32px; }
.step__node {
  position: absolute; top: -6px; inset-inline-start: 0; width: 11px; height: 11px; background: var(--bg);
  border: 1px solid var(--steel-500); transition: background-color 0.3s, border-color 0.3s, box-shadow 0.4s;
}
.step.is-on .step__node { background: var(--molten); border-color: var(--molten); box-shadow: 0 0 0 4px rgba(255, 95, 31, 0.14), 0 0 18px var(--molten-glow); }
.step__num { font: 500 12px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.12em; transition: color 0.3s; }
.step.is-on .step__num { color: var(--molten-hi); }
.step__icon { width: 64px; height: 64px; margin-block: 30px 26px; color: var(--steel-200); }
.step__icon .acc { stroke: var(--steel-500); transition: stroke 0.4s; }
.step.is-on .step__icon .acc { stroke: var(--molten); }
.step h3 { font: 600 23px/1.15 var(--f-display); color: var(--steel-100); letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--steel-400); font-size: 15px; max-width: 30ch; }
.step__tag { display: inline-block; margin-top: 20px; font: 500 11px/1 var(--f-mono); color: var(--steel-400); letter-spacing: 0.1em; padding: 6px 8px; border: 1px solid var(--line-2); }
@media (max-width: 899px) {
  .how-rail { grid-template-columns: 1fr; border-top: 0; border-inline-start: 1px solid var(--line-2); }
  .how-rail::before { top: 0; bottom: 0; inset-inline-start: -1px; inset-inline-end: auto; width: 2px; height: auto; transform-origin: center top; transform: scaleY(var(--rail, 0)); }
  [dir="rtl"] .how-rail::before { transform-origin: center top; }
  .step { padding-block: 0 52px; padding-inline: 32px 0; }
  .step__node { top: 2px; inset-inline-start: -6px; }
  .step__icon { margin-block: 20px 18px; width: 52px; height: 52px; }
}

/* ==========================================================================
   CARDS — shared
   ========================================================================== */
.art {
  position: relative; overflow: hidden; background-color: var(--panel);
  background-image:
    linear-gradient(var(--grid-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-a) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
}
.art svg { width: 100%; height: 100%; }
.art__print { position: absolute; inset: 0; display: grid; place-items: center; }
.art__scan { position: absolute; inset: 0; pointer-events: none; transform: translateY(102%); }
.art__scan::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--molten);
  box-shadow: 0 0 16px 2px var(--molten-glow); opacity: 0;
}
.art__label { position: absolute; z-index: 1; font: 500 10.5px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.12em; text-transform: uppercase; }
.art__label--tl { top: 14px; inset-inline-start: 14px; }
.art__label--tr { top: 14px; inset-inline-end: 14px; }
.art__label--bl { bottom: 14px; inset-inline-start: 14px; }
.art__label--br { bottom: 14px; inset-inline-end: 14px; }

/* SVG art palette */
.art-s { fill: none; stroke: #8f99a3; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.art-t { fill: none; stroke: #59626c; stroke-width: 0.8; }
.art-d { fill: none; stroke: #6a747e; stroke-width: 0.8; }
.art-f0 { fill: #0f1215; }
.art-f1 { fill: #22272d; }
.art-f2 { fill: #323940; }
.art-f3 { fill: #48515a; }
.art-f4 { fill: #66707a; }
.art-txt { font: 500 9px var(--f-mono); fill: #8f99a3; letter-spacing: 0.08em; }
html:lang(ar) .art-txt { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .is-printable:hover .art__print, .is-printable:focus-within .art__print { animation: print-in 1.05s steps(22, end) both; }
  .is-printable:hover .art__scan, .is-printable:focus-within .art__scan { animation: scan-up 1.05s steps(22, end) both; }
  .is-printable:hover .art__scan::before, .is-printable:focus-within .art__scan::before { animation: scan-fade 1.05s linear both; }
}
@keyframes print-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scan-up { from { transform: translateY(100%); } to { transform: translateY(0%); } }
@keyframes scan-fade { 0% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }

.add-btn {
  position: relative; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-3); color: var(--steel-200); transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.add-btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-mech); }
.add-btn:hover { border-color: var(--molten); color: var(--molten-hi); }
.add-btn:hover svg { transform: rotate(90deg); }
.add-btn.is-added { background: var(--molten); border-color: var(--molten); color: #0b0b0c; }

/* ---------- Collection ---------- */
.coll { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s; }
.ccard:hover { border-color: var(--line-3); }
.ccard .art { flex: 1; min-height: 300px; border-bottom: 1px solid var(--line); }
.ccard--feature { grid-column: 1 / span 7; grid-row: span 2; }
.ccard--feature .art { min-height: 520px; }
.ccard--side { grid-column: span 5; }
.ccard--side .art { min-height: 250px; }
.ccard--wide { grid-column: 1 / -1; flex-direction: row; }
.ccard--wide .art { flex: 1.25; min-height: 300px; border-bottom: 0; border-inline-end: 1px solid var(--line); }
.ccard--wide .ccard__body { flex: 1; justify-content: center; }
.ccard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.ccard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ccard__name { font: 600 25px/1.1 var(--f-display); letter-spacing: -0.025em; color: var(--steel-100); font-family: "Inter Tight", var(--f-display); }
.ccard--feature .ccard__name { font-size: 32px; }
.ccard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ccard__sub { font: 500 11px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }
.ccard__desc { color: var(--steel-400); font-size: 15px; max-width: 44ch; }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ccard__foot .left { display: flex; align-items: center; gap: 14px; }
.ccard:hover .link-arrow svg { transform: translateX(4px); }
[dir="rtl"] .ccard:hover .link-arrow svg { transform: scaleX(-1) translateX(4px); }
@media (max-width: 1023px) {
  .ccard--feature { grid-column: 1 / -1; grid-row: auto; }
  .ccard--feature .art { min-height: 420px; }
  .ccard--side { grid-column: span 6; }
}
@media (max-width: 680px) {
  .ccard--side { grid-column: 1 / -1; }
  .ccard--wide { flex-direction: column; }
  .ccard--wide .art { border-inline-end: 0; border-bottom: 1px solid var(--line); min-height: 260px; }
  .ccard--feature .art { min-height: 340px; }
  .ccard--feature .ccard__name { font-size: 26px; }
}

/* ---------- Seller cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease-mech); }
.pcard:hover { border-color: var(--line-3); }
.pcard .art { aspect-ratio: 6 / 5; border-bottom: 1px solid var(--line); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px; flex: 1; }
.pcard__name { font: 600 17px/1.25 var(--f-display); letter-spacing: -0.015em; color: var(--steel-100); font-family: "Inter Tight", var(--f-display); }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__seller { font: 500 11.5px/1.4 var(--f-mono); color: var(--steel-500); letter-spacing: 0.04em; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.pcard__foot .left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard__body { padding: 12px; }
  .pcard__name { font-size: 15px; }
  .pcard__seller { font-size: 10.5px; }
  .add-btn { width: 34px; height: 34px; }
  .pcard .chip { display: none; }
}

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 236px; padding: 22px; transition: background-color 0.3s;
}
.cat + .cat { border-inline-start: 1px solid var(--line); }
.cat:hover { background: var(--panel); }
.cat__icon { width: 56px; height: 56px; color: var(--steel-300); transition: color 0.3s; }
.cat__icon path, .cat__icon rect, .cat__icon circle, .cat__icon ellipse, .cat__icon line, .cat__icon polyline, .cat__icon polygon { vector-effect: non-scaling-stroke; }
.cat:hover .cat__icon { color: var(--white); }
.cat__name { font: 600 19px/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--steel-100); }
.cat__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cat__arrow { width: 16px; height: 16px; color: var(--steel-500); transition: transform 0.4s var(--ease-mech), color 0.3s; flex: none; }
[dir="rtl"] .cat__arrow { transform: scaleX(-1); }
.cat:hover .cat__arrow { color: var(--molten-hi); transform: translate(3px, -3px); }
[dir="rtl"] .cat:hover .cat__arrow { transform: scaleX(-1) translate(3px, -3px); }
.cat::before { content: ""; position: absolute; top: -1px; inset-inline-start: -1px; width: 0; height: 2px; background: var(--molten); transition: width 0.45s var(--ease-mech); }
.cat:hover::before { width: calc(100% + 2px); }
@media (max-width: 1023px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .cat:nth-child(4) { border-inline-start: 0; }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { min-height: 168px; padding: 16px; gap: 24px; }
  .cat:nth-child(n) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .cat:nth-child(-n + 2) { border-top: 0; }
  .cat:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .cat__icon { width: 44px; height: 44px; }
  .cat__name { font-size: 16px; }
}

/* ---------- Seller band ---------- */
.band { position: relative; border-block: 1px solid var(--line); overflow: hidden; }
.band__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.band__title { font: 600 clamp(44px, 6.4vw, 100px)/0.92 var(--f-display); letter-spacing: -0.05em; color: var(--white); margin-top: 18px; }
html:lang(ar) .band__title { line-height: 1.15; font-weight: 700; }
.band__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px var(--steel-400); }
.band__text { font-size: 19px; color: var(--steel-300); max-width: 40ch; margin-top: 26px; text-wrap: pretty; }
.band__text strong { color: var(--white); font-weight: 600; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.split { background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.split__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.split__big { font: 600 clamp(64px, 8vw, 120px)/0.85 var(--f-display); letter-spacing: -0.06em; color: var(--white); margin-block: 30px 6px; font-family: "Inter Tight", var(--f-display); }
.split__big span { color: var(--molten); }
.split__cap { color: var(--steel-400); font-size: 15px; }
.split__bar { display: flex; height: 44px; margin-top: 34px; border: 1px solid var(--line-3); }
.split__bar > div { position: relative; display: flex; align-items: center; padding-inline: 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.split__min { flex: 73; background: repeating-linear-gradient(-45deg, #1d2227 0 6px, #191d22 6px 12px); color: var(--steel-400); }
.split__you { flex: 24.3; background: var(--molten); color: #0b0b0c; }
.split__us { flex: 2.7; background: var(--steel-400); padding-inline: 0 !important; }
.split__legend { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 14px; font: 500 11.5px/1.5 var(--f-mono); color: var(--steel-400); }
.split__legend b { display: block; color: var(--steel-100); font-weight: 500; font-size: 14px; }
.split__legend .you b { color: var(--molten-hi); }
.split__note { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line-3); font: 500 11px/1.6 var(--f-mono); color: var(--steel-500); letter-spacing: 0.04em; }
@media (max-width: 960px) { .band__inner { grid-template-columns: 1fr; } }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 16px; padding: 30px 24px; }
.trust li + li { border-inline-start: 1px solid var(--line); }
.trust svg { width: 30px; height: 30px; flex: none; color: var(--steel-300); }
.trust span { font: 500 15px/1.35 var(--f-body); color: var(--steel-100); }
@media (max-width: 1023px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-inline-start: 0; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .trust li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .trust li { padding: 20px 4px; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand .brand__name { font-size: 20px; }
.foot-tag { margin-top: 20px; font: 600 clamp(26px, 2.6vw, 36px)/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--steel-100); max-width: 14ch; }
.foot-col h2 { font: 500 11px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { color: var(--steel-300); font-size: 15px; transition: color 0.2s; }
.foot-col a:hover { color: var(--white); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 7vw, 96px); padding-block: 22px; border-top: 1px solid var(--line); font: 500 11.5px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.06em; }
.foot-base .lang { height: 34px; }
.foot-plate {
  font: 700 clamp(56px, 13.2vw, 210px)/0.8 "Inter Tight", sans-serif; letter-spacing: -0.06em; color: transparent;
  -webkit-text-stroke: 1px var(--line-3); white-space: nowrap; margin-top: clamp(40px, 6vw, 80px); user-select: none;
  overflow: hidden; text-align: center; padding-bottom: 0.08em;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.page-top { padding-top: calc(var(--header-h) + 28px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-500); }
.crumbs a:hover { color: var(--steel-100); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line-3); }
.crumbs [aria-current] { color: var(--steel-200); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(24px, 3vw, 48px); margin-top: 22px; align-items: start; }
.viewer { position: relative; height: calc(100svh - var(--header-h) - 92px); min-height: 560px; max-height: 860px; background: #0d0f12; border: 1px solid var(--line); overflow: hidden; }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer__dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.4s; }
.viewer__dims.is-off { opacity: 0; }
.viewer__dims line, .viewer__dims path { stroke: var(--steel-400); stroke-width: 1; fill: none; }
.viewer__dims .ext { stroke: var(--steel-500); stroke-dasharray: 2 3; }
.viewer__dims rect { fill: #0d0f12; stroke: var(--line-3); }
.viewer__dims text { font: 500 11px var(--f-mono); fill: var(--steel-100); letter-spacing: 0.06em; }
.viewer .hud { inset: 0; }
.viewer .hud .c { width: 16px; height: 16px; }
.viewer .hud .c1 { top: 12px; inset-inline-start: 12px; }
.viewer .hud .c2 { top: 12px; inset-inline-end: 12px; }
.viewer .hud .c3 { bottom: 12px; inset-inline-start: 12px; }
.viewer .hud .c4 { bottom: 12px; inset-inline-end: 12px; }
.viewer .hud__tl { top: 26px; inset-inline-start: 28px; }
.viewer .hud__tr { top: 26px; inset-inline-end: 28px; }
.viewer__tools { position: absolute; z-index: 3; bottom: 24px; inset-inline-start: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tool {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 12px;
  background: rgba(13, 15, 18, 0.8); border: 1px solid var(--line-3); color: var(--steel-300);
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s;
}
.tool:hover { color: var(--white); border-color: var(--steel-400); }
.tool .led { width: 7px; height: 7px; border: 1px solid var(--steel-500); }
.tool[aria-pressed="true"] { color: var(--steel-100); }
.tool[aria-pressed="true"] .led { background: var(--molten); border-color: var(--molten); box-shadow: 0 0 8px var(--molten); }
.viewer__hint { position: absolute; z-index: 2; bottom: 30px; inset-inline-end: 28px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--steel-500); text-transform: uppercase; }

.buy { position: sticky; top: calc(var(--header-h) + 20px); }
.buy__title { font: 600 clamp(38px, 3.6vw, 54px)/0.98 var(--f-display); letter-spacing: -0.04em; color: var(--white); margin-top: 16px; font-family: "Inter Tight", var(--f-display); }
.buy__by { margin-top: 12px; color: var(--steel-400); font-size: 15px; }
.buy__by a { color: var(--steel-100); border-bottom: 1px solid var(--line-3); }
.buy__price { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; padding-block: 18px; border-block: 1px solid var(--line); }
.buy__price .price { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.buy__price .meta { margin-inline-start: auto; }
.buy__row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.buy__label { font: 500 11px/1.3 var(--f-mono); color: var(--steel-500); letter-spacing: 0.12em; text-transform: uppercase; }
.material { display: flex; align-items: center; gap: 10px; }
.material b { font: 600 15px/1 var(--f-mono); color: var(--steel-100); }
.material span { font-size: 13.5px; color: var(--steel-500); }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; border: 0; padding: 0; margin: 0; }
.swatch { display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.swatch input {
  appearance: none; -webkit-appearance: none; margin: 0; width: 40px; height: 40px; cursor: pointer;
  background: var(--sw); border: 1px solid rgba(255, 255, 255, 0.14); outline-offset: 3px;
  transition: box-shadow 0.25s, transform 0.25s var(--ease-snap);
}
.swatch input:checked { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--molten); }
.swatch input:focus-visible { outline: 2px solid var(--molten-hi); }
.swatch span { font: 500 10.5px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.06em; }
.swatch input:checked + span { color: var(--steel-100); }
.pod { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line-2); background: var(--panel); font-size: 14.5px; color: var(--steel-200); }
.pod svg { width: 22px; height: 22px; flex: none; color: var(--molten-hi); }
.buy__actions { display: flex; gap: 10px; margin-top: 20px; }
.qty { display: flex; border: 1px solid var(--line-3); height: 52px; }
.qty button { width: 44px; display: grid; place-items: center; color: var(--steel-300); transition: color 0.2s, background-color 0.2s; }
.qty button:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.qty button svg { width: 14px; height: 14px; }
.qty input { width: 44px; text-align: center; background: none; border: 0; border-inline: 1px solid var(--line-2); font: 500 15px/1 var(--f-mono); color: var(--steel-100); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy__actions .btn { flex: 1; }
.buy__status { min-height: 22px; margin-top: 10px; font: 500 12px/1.6 var(--f-mono); color: var(--molten-hi); letter-spacing: 0.04em; }

.pdp-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.pdp-info h2 { font: 500 11px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 22px; }
.pdp-desc p { font-size: 19px; line-height: 1.6; color: var(--steel-200); max-width: 46ch; text-wrap: pretty; }
.pdp-desc p + p { margin-top: 16px; font-size: 16px; color: var(--steel-400); }
.specs { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.specs dt { font: 500 11.5px/1.5 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); }
.specs dd { font: 500 15px/1.5 var(--f-mono); color: var(--steel-100); }
@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; }
  .viewer { height: 62svh; min-height: 420px; }
  .buy { position: static; }
  .pdp-info { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .viewer__hint { display: none; }
  .viewer .hud__tr { display: none; }
  .buy__row { grid-template-columns: 1fr; gap: 10px; }
  .specs div { grid-template-columns: 120px 1fr; }
}

/* ==========================================================================
   SELL PAGE
   ========================================================================== */
.sell-hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; }
.sell-hero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sell-hero h1 { font: 600 clamp(52px, 6.6vw, 104px)/0.9 var(--f-display); letter-spacing: -0.05em; color: var(--white); margin-top: 22px; text-wrap: balance; }
html:lang(ar) .sell-hero h1 { line-height: 1.15; font-weight: 700; }
.sell-hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px var(--steel-400); }
.sell-hero__sub { margin-top: 26px; font-size: 18px; color: var(--steel-300); max-width: 46ch; }
.nos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nos li { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding-inline: 12px; border: 1px solid var(--line-2); font: 500 12px/1 var(--f-mono); color: var(--steel-200); letter-spacing: 0.06em; text-transform: uppercase; }
.nos svg { width: 12px; height: 12px; color: var(--molten-hi); }
.sell-hero .hero__ctas { margin-top: 34px; }
.geo { position: relative; border: 1px solid var(--line); background: var(--panel); }
.geo svg { width: 100%; height: auto; }
.geo .grat { stroke: rgba(160, 175, 190, 0.08); stroke-width: 1; fill: none; }
.geo .grat-dot { fill: rgba(160, 175, 190, 0.18); }
.geo .route { fill: none; stroke: var(--line-3); stroke-width: 1.2; }
.geo .packet { fill: none; stroke: var(--molten); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 10 400; filter: drop-shadow(0 0 4px var(--molten)); }
.geo .node { fill: var(--bg); stroke: var(--steel-300); stroke-width: 1.2; }
.geo .hub { fill: var(--molten); }
.geo .hub-ring { fill: none; stroke: var(--molten); stroke-width: 1; opacity: 0.5; }
.geo .geo-name { font: 600 13px "Inter Tight", var(--f-body); fill: var(--steel-100); }
.geo .geo-coord { font: 500 9.5px var(--f-mono); fill: var(--steel-500); letter-spacing: 0.06em; }
.geo .geo-hub { font: 600 13px var(--f-mono); fill: var(--molten-hi); letter-spacing: 0.1em; }
.geo__cap { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); font: 500 11px/1.4 var(--f-mono); color: var(--steel-500); letter-spacing: 0.08em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .geo .packet { animation: packet 3.4s linear infinite; }
  .geo .hub-ring { animation: ring 2.4s var(--ease-mech) infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes packet { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }
@keyframes ring { from { transform: scale(0.6); opacity: 0.8; } to { transform: scale(2.2); opacity: 0; } }
@media (max-width: 960px) { .sell-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .geo .geo-coord { display: none; }
  .geo .geo-name { font-size: 22px; }
  .geo .geo-hub { font-size: 22px; }
}

.steps6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); counter-reset: s; }
.steps6 li { position: relative; padding: 30px 28px 34px 0; padding-inline: 0 28px; border-bottom: 1px solid var(--line); }
.steps6 li:nth-child(3n + 2), .steps6 li:nth-child(3n + 3) { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.steps6 .n { font: 500 12px/1 var(--f-mono); color: var(--steel-500); letter-spacing: 0.12em; }
.steps6 h3 { margin-top: 44px; font: 600 24px/1.15 var(--f-display); letter-spacing: -0.02em; color: var(--steel-100); max-width: 18ch; }
.steps6 p { margin-top: 10px; font-size: 15px; color: var(--steel-400); max-width: 34ch; }
.steps6 .tagrow { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 899px) {
  .steps6 { grid-template-columns: 1fr 1fr; }
  .steps6 li:nth-child(n) { padding-inline: 0 20px; border-inline-start: 0; }
  .steps6 li:nth-child(even) { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps6 { grid-template-columns: 1fr; }
  .steps6 li:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .steps6 h3 { margin-top: 18px; }
}

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-2); background: var(--panel); }
.calc__in { padding: clamp(22px, 3vw, 40px); border-inline-end: 1px solid var(--line-2); display: grid; gap: 30px; align-content: start; }
.calc__out { padding: clamp(22px, 3vw, 40px); background: var(--bg-2); display: flex; flex-direction: column; }
.calc__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px clamp(22px, 3vw, 40px); border-bottom: 1px solid var(--line-2); grid-column: 1 / -1; font: 500 11px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-500); }
.calc__bar .rates { color: var(--molten-hi); border: 1px solid rgba(255, 95, 31, 0.4); padding: 5px 8px; }
.field { display: grid; gap: 12px; }
.field__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__label { font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-400); }
.field__val { font: 500 22px/1 var(--f-mono); color: var(--white); letter-spacing: -0.01em; }
.field__val small { font-size: 12px; color: var(--steel-500); margin-inline-start: 4px; }
.field__range { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); color: var(--steel-500); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-3); }
.seg label { position: relative; display: grid; gap: 4px; padding: 14px 16px; cursor: pointer; transition: background-color 0.2s; }
.seg label + label { border-inline-start: 1px solid var(--line-3); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg b { font: 600 17px/1 var(--f-mono); color: var(--steel-200); }
.seg span { font: 500 11px/1.3 var(--f-mono); color: var(--steel-500); }
.seg label:has(input:checked) { background: var(--steel-100); }
.seg label:has(input:checked) b { color: #0b0b0c; }
.seg label:has(input:checked) span { color: #3d444b; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--molten-hi); outline-offset: 2px; }
input[type="range"] {
  --fill: 50%; --dirg: to right;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0;
}
[dir="rtl"] input[type="range"] { --dirg: to left; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(var(--dirg), var(--molten) 0 var(--fill), var(--line-3) var(--fill) 100%);
}
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-3); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--molten); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; background: var(--bg);
  border: 2px solid var(--molten); box-shadow: 0 0 0 4px rgba(255, 95, 31, 0.12), 0 0 14px var(--molten-glow);
  transition: transform 0.2s var(--ease-snap);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--molten); border-radius: 0; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--molten-hi); outline-offset: 3px; }
.ticks { height: 6px; background: repeating-linear-gradient(90deg, var(--line-3) 0 1px, transparent 1px calc(10% - 0.1px)); margin-top: -6px; opacity: 0.8; }
.price-in { display: flex; align-items: center; height: 56px; border: 1px solid var(--line-3); background: var(--bg-2); transition: border-color 0.2s; }
.price-in:focus-within { border-color: var(--steel-300); }
.price-in.is-bad { border-color: var(--molten); }
.price-in span { padding-inline: 16px; font: 500 13px/1 var(--f-mono); color: var(--steel-500); border-inline-end: 1px solid var(--line-2); height: 100%; display: grid; place-items: center; }
.price-in input { flex: 1; min-width: 0; height: 100%; padding-inline: 16px; background: none; border: 0; outline: 0; font: 500 22px/1 var(--f-mono); color: var(--white); }
.price-in button { height: 100%; padding-inline: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-400); border-inline-start: 1px solid var(--line-2); }
.price-in button:hover { color: var(--white); }
.calc__msg { min-height: 20px; font: 500 12.5px/1.5 var(--f-mono); color: var(--steel-500); }
.calc__msg.is-bad { color: var(--molten-hi); }
.bom { width: 100%; border-collapse: collapse; font: 500 13px/1.4 var(--f-mono); }
.bom caption { text-align: start; font: 500 11px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-500); padding-bottom: 14px; }
.bom th { text-align: start; font-weight: 500; color: var(--steel-300); padding-block: 10px; border-bottom: 1px dashed var(--line-2); }
.bom td { text-align: end; padding-block: 10px; border-bottom: 1px dashed var(--line-2); color: var(--steel-100); white-space: nowrap; }
.bom td.calc-f { color: var(--steel-500); font-size: 11.5px; text-align: start; padding-inline: 12px; }
.bom tr.sum th, .bom tr.sum td { border-bottom: 1px solid var(--line-3); color: var(--steel-200); }
.minbox { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.minbox .k { font: 500 11.5px/1.4 var(--f-mono); color: var(--steel-400); letter-spacing: 0.12em; text-transform: uppercase; }
.minbox .k small { display: block; text-transform: none; letter-spacing: 0.02em; color: var(--steel-500); margin-top: 4px; }
.minbox .v { font: 600 clamp(44px, 5vw, 64px)/0.9 "Inter Tight", var(--f-display); color: var(--white); letter-spacing: -0.04em; white-space: nowrap; }
.minbox .v small { font: 500 14px var(--f-mono); color: var(--steel-500); letter-spacing: 0; margin-inline-end: 8px; }
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 22px; background: var(--line-2); border: 1px solid var(--line-2); }
.earn > div { background: var(--bg-2); padding: 16px; }
.earn .k { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); }
.earn .v { margin-top: 8px; font: 500 24px/1 var(--f-mono); color: var(--steel-100); white-space: nowrap; }
.earn .you .v { color: var(--molten-hi); }
.earn .wide { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.earn .wide .v { margin-top: 0; font-size: 16px; }
.mbar { display: flex; height: 8px; margin-top: 18px; background: var(--line-2); }
.mbar i { display: block; height: 100%; transition: flex-grow 0.35s var(--ease-mech); }
.mbar .m { background: repeating-linear-gradient(-45deg, #2b3238 0 4px, #222830 4px 8px); }
.mbar .y { background: var(--molten); }
.mbar .u { background: var(--steel-300); }
.mlegend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font: 500 10.5px/1.4 var(--f-mono); color: var(--steel-500); letter-spacing: 0.06em; text-transform: uppercase; }
.mlegend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; vertical-align: -1px; background: var(--c); }
@media (max-width: 899px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__in { border-inline-end: 0; border-bottom: 1px solid var(--line-2); }
}

/* Rules */
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ban { border-top: 1px solid var(--line-2); }
.ban li { display: flex; align-items: center; gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); font: 600 clamp(20px, 2vw, 26px)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--steel-100); }
.ban svg { width: 28px; height: 28px; flex: none; color: var(--molten); }
.ban .meta { margin-inline-start: auto; }
.qc { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.qc li { display: flex; gap: 14px; align-items: center; background: var(--bg); padding: 14px 16px; font: 500 13px/1.4 var(--f-mono); color: var(--steel-300); }
.qc li b { color: var(--steel-500); font-weight: 500; min-width: 28px; }
.qc svg { width: 16px; height: 16px; color: var(--steel-200); margin-inline-start: auto; flex: none; }
@media (max-width: 899px) { .rules { grid-template-columns: 1fr; } }

/* CTA band */
.cta-end { text-align: center; }
.cta-end h2 { font: 600 clamp(44px, 7vw, 112px)/0.92 var(--f-display); letter-spacing: -0.05em; color: var(--white); text-wrap: balance; }
html:lang(ar) .cta-end h2 { line-height: 1.2; font-weight: 700; }
.cta-end p { margin: 22px auto 0; color: var(--steel-400); max-width: 50ch; }
.cta-end .hero__ctas { justify-content: center; }

/* ---------- Reveal (only when JS + motion OK) ---------- */
.motion-ok [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ---------- Toast / live region ---------- */
.toast {
  position: fixed; z-index: 60; bottom: 20px; inset-inline-end: 20px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--steel-100); color: #0b0b0c; font: 500 13px/1.3 var(--f-mono); letter-spacing: 0.02em;
  transform: translateY(16px); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease-mech), opacity 0.25s, visibility 0s linear 0.35s;
}
.toast i { width: 8px; height: 8px; background: var(--molten); }
.toast.is-on { transform: none; opacity: 1; visibility: visible; transition: transform 0.35s var(--ease-mech), opacity 0.25s; }

@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; }
}

/* Section rulers + misc */
.section > .ruler { position: absolute; top: 0; inset-inline: 0; }
.section--flush-top { padding-top: 0; }
.foot-note { color: var(--steel-500); }

/* Hero entrance — CSS so it never stalls behind a busy WebGL frame */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.95s var(--ease-snap) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .hud > * { animation: hud-in 0.5s steps(4, end) 0.35s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes hud-in { from { opacity: 0; } to { opacity: 1; } }
.specs--buy { margin-top: 26px; }
.specs--buy div { grid-template-columns: 120px 1fr; padding-block: 11px; }
.specs--buy dd { font-size: 13.5px; }
.pdp-info { align-items: center; }
.drawing { min-height: 460px; border: 1px solid var(--line); }
.drawing svg { position: absolute; inset: 40px 24px 24px; width: calc(100% - 48px); height: calc(100% - 64px); }
@media (max-width: 1023px) { .drawing { min-height: 380px; } }

/* ---------- RTL refinements ---------- */
.print-word { white-space: nowrap; }
html:lang(ar) .hero__title { font-size: clamp(48px, 6.4vw, 104px); }
.art svg { direction: ltr; }
.hud b { unicode-bidi: isolate; direction: ltr; }
html[dir="rtl"] :is(.meta, .chip, .art__label, .specs dd, .bom td, .field__val, .field__range span, .step__tag, .hud span, .viewer__dims text) { unicode-bidi: plaintext; }

/* ---------- Mobile hero refinements ---------- */
@media (max-width: 600px) {
  .hero__dims { display: none; }
  .hero__inner { padding-bottom: 420px; }
  .hud { height: 390px; inset-block-end: 16px; }
  .hud__tl, .hud__tr { top: 12px; }
  .hud__bl, .hud__br { bottom: 12px; }
  .hud__tl { inset-inline-start: 14px; } .hud__tr { inset-inline-end: 14px; }
  .hud__bl { inset-inline-start: 14px; } .hud__br { inset-inline-end: 14px; }
}
@media (max-width: 560px) {
  .bom td.calc-f { white-space: normal; padding-inline: 8px; font-size: 10.5px; }
  .earn .v { font-size: 19px; }
  .calc__bar { flex-wrap: wrap; }
}
.calc__in { grid-template-columns: minmax(0, 1fr); }
.price-in input { width: 100%; }

/* Sticky pin for the scroll-scrubbed print (desktop, motion OK) */
.hero-track { position: relative; }
.hero-track.is-scroll { height: 240vh; }
.hero-track.is-scroll .hero { position: sticky; top: 0; height: 100vh; }

/* ==========================================================================
   SELL — file-based estimate, note, material guide
   ========================================================================== */
.filefield { border: 0; padding: 0; margin: 0; min-width: 0; }
.filefield > legend { margin-bottom: 12px; }
.drop {
  display: grid; justify-items: center; gap: 6px; padding: 22px 16px; text-align: center;
  border: 1px dashed var(--line-3); color: var(--steel-300);
  background:
    linear-gradient(var(--grid-a) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, var(--grid-a) 1px, transparent 1px) 0 0 / 16px 16px;
  transition: border-color 0.2s, background-color 0.2s;
}
.drop svg { width: 30px; height: 30px; color: var(--steel-300); }
.drop svg .acc { stroke: var(--molten); }
.drop.is-over { border-color: var(--molten); background-color: rgba(255, 95, 31, 0.05); }
.drop__t { font: 600 16px/1.3 var(--f-display); color: var(--steel-100); letter-spacing: -0.01em; }
.drop__s { font: 500 11px/1.5 var(--f-mono); color: var(--steel-500); letter-spacing: 0.08em; text-transform: uppercase; }
html:lang(ar) .drop__s { text-transform: none; font-family: var(--f-body); font-size: 12.5px; }
.samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.sample {
  position: relative; display: grid; gap: 4px; align-content: start; padding: 12px 10px 11px;
  border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.sample input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sample svg { width: 26px; height: 26px; color: var(--steel-400); margin-bottom: 4px; transition: color 0.2s; }
.sample__n { font: 600 13px/1.25 var(--f-display); color: var(--steel-200); }
.sample__f { font: 500 9.5px/1.3 var(--f-mono); color: var(--steel-500); overflow-wrap: anywhere; unicode-bidi: isolate; }
.sample:hover { border-color: var(--steel-500); }
.sample:has(input:checked) { border-color: var(--molten); background: var(--panel-3); }
.sample:has(input:checked) svg { color: var(--molten-hi); }
.sample:has(input:checked) .sample__n { color: var(--white); }
.sample:has(input:focus-visible) { outline: 2px solid var(--molten-hi); outline-offset: 2px; }
.estimate {
  position: relative; overflow: hidden; margin-top: 10px; padding: 14px 16px 15px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-inline-start: 2px solid var(--molten);
}
.estimate__k { display: block; font: 500 10.5px/1.4 var(--f-mono); color: var(--steel-400); letter-spacing: 0.12em; text-transform: uppercase; }
html:lang(ar) .estimate__k { text-transform: none; font-family: var(--f-body); font-size: 12.5px; }
.estimate__v { margin-top: 6px; font: 500 17px/1.4 var(--f-mono); color: var(--steel-200); }
html:lang(ar) .estimate__v { font-family: var(--f-body); }
.estimate__v b { color: var(--white); font: 600 22px/1 var(--f-mono); }
.estimate__s { margin-top: 4px; font: 500 11.5px/1.5 var(--f-mono); color: var(--steel-500); }
html:lang(ar) .estimate__s { font-family: var(--f-body); font-size: 12.5px; }
.estimate__bar { position: absolute; inset-inline: 0; bottom: 0; height: 2px; overflow: hidden; }
.estimate__bar i { position: absolute; inset: 0; background: var(--molten); box-shadow: 0 0 10px var(--molten-glow); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .estimate__bar i { transform-origin: right center; }
.estimate.is-slicing .estimate__bar i { animation: slice 0.7s steps(14, end) both; }
.estimate.is-slicing .estimate__v { animation: slice-in 0.7s steps(7, end) both; }
@keyframes slice { 0% { transform: scaleX(0); opacity: 1; } 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes slice-in { 0% { opacity: 0.2; } 100% { opacity: 1; } }
.field__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-300); border-bottom: 1px solid var(--line-3); padding-bottom: 4px; }
html:lang(ar) .field__link { text-transform: none; font-family: var(--f-body); font-size: 13px; }
.field__link svg { width: 12px; height: 12px; transition: transform 0.35s var(--ease-mech); }
.field__link:hover { color: var(--white); border-color: var(--steel-300); }
.field__link:hover svg { transform: translateY(2px); }
.calc__note { padding: 18px 18px 20px; border: 1px solid var(--line-2); border-inline-start: 2px solid var(--steel-500); background: var(--bg-2); }
.calc__note p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--steel-300); text-wrap: pretty; }
@media (max-width: 560px) {
  .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimate__v { font-size: 15px; }
  .estimate__v b { font-size: 19px; }
}

/* Material guide */
.mat { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mat__kcol { width: 21%; }
.mat thead th { text-align: start; vertical-align: bottom; padding: 0 28px 22px; border-inline-start: 1px solid var(--line); }
.mat__name {
  display: block; font: 700 clamp(56px, 7vw, 112px)/0.86 "Inter Tight", sans-serif; letter-spacing: -0.055em; color: transparent;
  background: repeating-linear-gradient(to bottom, #f1f3f5 0 0.056em, #7f878f 0.056em 0.072em);
  -webkit-background-clip: text; background-clip: text; padding-bottom: 0.04em;
}
.mat__rate { display: block; margin-top: 14px; font: 500 12px/1 var(--f-mono); color: var(--steel-400); letter-spacing: 0.08em; }
.mat tbody th {
  text-align: start; vertical-align: top; padding-block: 20px; padding-inline: 0 20px; border-top: 1px solid var(--line-2);
  font: 500 11px/1.5 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-500);
}
html:lang(ar) .mat tbody th { text-transform: none; font-family: var(--f-body); font-size: 13px; }
.mat tbody td { vertical-align: top; padding: 20px 28px; border-top: 1px solid var(--line-2); border-inline-start: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--steel-200); }
.mat tbody tr.mat__one td { font: 600 clamp(19px, 1.8vw, 24px)/1.25 var(--f-display); letter-spacing: -0.02em; color: var(--white); padding-block: 24px; }
html:lang(ar) .mat tbody tr.mat__one td { line-height: 1.5; }
.mat tbody tr.mat__price td { font: 500 15px/1.4 var(--f-mono); color: var(--white); }
html:lang(ar) .mat tbody tr.mat__price td { font-family: var(--f-body); }
.mat tbody tr:last-child > * { border-bottom: 1px solid var(--line-2); }
.mat tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }
.heat { position: relative; display: block; height: 6px; margin-top: 16px; background: var(--line-2); direction: ltr; }
.heat::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--a) * 100%); background: var(--steel-500); }
.heat i { position: absolute; top: -2px; bottom: -2px; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); background: var(--molten); box-shadow: 0 0 12px var(--molten-glow); }
.heat-scale { display: flex; justify-content: space-between; margin-top: 7px; font: 500 10px/1 var(--f-mono); color: var(--steel-500); direction: ltr; }
.heat-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font: 500 10.5px/1.4 var(--f-mono); color: var(--steel-500); letter-spacing: 0.08em; text-transform: uppercase; justify-content: flex-end; }
html:lang(ar) .heat-legend { text-transform: none; font-family: var(--f-body); font-size: 12px; }
.heat-legend span::before { content: ""; display: inline-block; width: 14px; height: 4px; margin-inline-end: 8px; vertical-align: middle; }
.heat-legend .hl1::before { background: var(--steel-500); }
.heat-legend .hl2::before { background: var(--molten); }
.mat-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mat-note { position: relative; padding: 18px 20px; border: 1px solid var(--line-2); background: var(--panel); color: var(--steel-300); font-size: 15.5px; line-height: 1.6; }
.mat-note b { color: var(--white); font-weight: 600; }
.mat-note--warn { border-color: rgba(255, 95, 31, 0.35); }
.mat-note--warn svg { width: 18px; height: 18px; color: var(--molten-hi); display: inline-block; vertical-align: -3px; margin-inline-end: 8px; }
@media (max-width: 760px) {
  .mat, .mat thead, .mat tbody, .mat tr, .mat caption { display: block; }
  .mat colgroup { display: none; }
  .mat thead tr, .mat tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mat thead td { display: none; }
  .mat thead th { display: block; padding: 0 14px 16px; }
  .mat thead th:first-of-type { border-inline-start: 0; padding-inline-start: 0; }
  .mat tbody th { display: block; grid-column: 1 / -1; padding: 16px 0 8px; }
  .mat tbody td { display: block; border-top: 0; padding: 0 14px 18px; font-size: 14.5px; }
  .mat tbody th + td { border-inline-start: 0; padding-inline-start: 0; }
  .mat tbody tr:last-child > * { border-bottom: 0; }
  .mat tbody tr { border-top: 1px solid var(--line-2); }
  .mat-notes { grid-template-columns: 1fr; }
  .heat-legend { justify-content: flex-start; }
}

/* ---------- See it in your room (shared module: ../shared/room-view) ---------- */
:root {
  --rv-bg: #0a0b0d;
  --rv-surface: #171b20;
  --rv-text: #f5f6f7;
  --rv-muted: #8e979f;
  --rv-line: #2b3138;
  --rv-accent: #ff5f1f;
  --rv-accent-text: #0b0b0c;
  --rv-radius: 2px;
  --rv-font: var(--f-body);
  --rv-font-display: var(--f-display);
}
.room-cta { margin-top: 10px; }
.btn--room { width: 100%; justify-content: center; gap: 12px; }
.btn--room svg { width: 20px; height: 20px; color: var(--molten-hi); }
.btn--room:hover svg { transform: none; }
.room-cta__note { margin-top: 8px; font: 500 11px/1.5 var(--f-mono); color: var(--steel-500); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
html:lang(ar) .room-cta__note { font-family: var(--f-body); letter-spacing: 0; text-transform: none; font-size: 12.5px; }
